RouterTech Firmware 2.94 Discussion

All about firmwares for routers. Support for RouterTech firmwares is here too.
Post Reply
User avatar
Kieran
RouterTech Team
RouterTech Team
Posts: 2675
Joined: Fri Jan 20, 2006 11:30 am
Location: London
Contact:

RouterTech Firmware 2.94 Discussion

Post by Kieran » Sat Aug 21, 2010 3:44 pm

This is the place to discuss (thanks, suggestions, criticisms etc.) the v2.94 release of the RouterTech firmware, available for download here

For support, problems, bugs or other such firmware related questions or issues, please start a new thread
Kieran
"Indeed!"
Invaluable links: Forum Rules | Networking Guides | FAQ | Site Search | Forum Search <-- Use it or feel my wrath!
No support via PM, please ask your questions in the forum!
User avatar
mysticalos
Experienced
Experienced
Posts: 237
Joined: Sun Feb 25, 2007 11:46 pm
Location: Georgia, USA
Contact:

Re: RouterTech Firmware 2.94 Discussion

Post by mysticalos » Sat Aug 21, 2010 7:41 pm

i'm still noticing that after a fresh upgrade with default settings, the router seems to be maxing the cpu out trying to connect to internet with a default connection that obvously doesn't work. It takes several minutes to enter right ISP information and connect since routers cpu is so maxed out the router web interface is border unresponsive and takes forever to do anything. been happening since 2.93 on both Dlink G604T with psp bootloader and Solwise with 1350 chip. Goes away as soon as right ISP information is entered and it can actually connect. I don't know if it's stuck in endless loop with default settings or what but it's certainly troublesome.
Kaan
Novice
Novice
Posts: 20
Joined: Tue Jul 27, 2010 9:25 pm

Re: RouterTech Firmware 2.94 Discussion

Post by Kaan » Sat Aug 21, 2010 9:25 pm

So can i connect to pptp based vpns through router now? If so, how?
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: RouterTech Firmware 2.94 Discussion

Post by thechief » Sat Aug 21, 2010 9:45 pm

mysticalos wrote:Goes away as soon as right ISP information is entered and it can actually connect. I don't know if it's stuck in endless loop with default settings or what but it's certainly troublesome.
Yes, it is trying to connect with default settings, and this will continue until the correct settings are entered. The problem disappears if the rj11 lead is only connected to the router after entering the correct ISP connection settings.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: RouterTech Firmware 2.94 Discussion

Post by thechief » Sat Aug 21, 2010 9:52 pm

Kaan wrote:So can i connect to pptp based vpns through router now?
Hopefully, yes. And, hopefully, we have built all that is necessary to do this into the firmware.
Kaan wrote:If so, how?
Dunno. You or someone else will just have to figure it out and tell the rest of us. ;)
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
Kaan
Novice
Novice
Posts: 20
Joined: Tue Jul 27, 2010 9:25 pm

Re: RouterTech Firmware 2.94 Discussion

Post by Kaan » Sat Aug 21, 2010 10:28 pm

One more question, can openvpn on router act as a client?(i looked at the pdf but it only mentions about server) It seems to be easier to use it to connect to my vpn provider than pptp.
rseiler
Regular
Regular
Posts: 77
Joined: Tue Apr 28, 2009 8:54 pm

Re: RouterTech Firmware 2.94 Discussion

Post by rseiler » Sat Aug 21, 2010 10:36 pm

Thanks for the update.

Question about block_rebind.sh. I've tried running it via autoexec.sh, RT_cmd_1, and RT_init_1, but for whatever reason, it never runs those ways. The rt_commands.html document mentions that only a subset of scripts can be run at startup, so is this not one of them? It isn't listed as one of them, but it's not listed higher up in the overall list of scripts either.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: RouterTech Firmware 2.94 Discussion

Post by thechief » Sat Aug 21, 2010 11:23 pm

rseiler wrote:Question about block_rebind.sh. I've tried running it via autoexec.sh, RT_cmd_1, and RT_init_1, but for whatever reason, it never runs those ways.
Have you tried the full paths to the commands?

Code: Select all

setenv autoexec.sh /usr/local/bin/block_rebind.sh
By the way, this should achieve the same effect (not using iptables, but rather telling the http server to only accept connections from one IP address (e.g., 192.168.1.1).

Code: Select all

setenv http_addr 192.168.1.1
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
mysticalos
Experienced
Experienced
Posts: 237
Joined: Sun Feb 25, 2007 11:46 pm
Location: Georgia, USA
Contact:

Re: RouterTech Firmware 2.94 Discussion

Post by mysticalos » Sun Aug 22, 2010 2:00 am

ah i shoulda thought of the simplest work around, unplugging phone cable :).b ut it hasn't always been an issue just with last couple releases. but next update i'll remember to do that :)
Pavel81
Newbie
Newbie
Posts: 7
Joined: Sun Aug 15, 2010 3:34 am

Re: RouterTech Firmware 2.94 Discussion

Post by Pavel81 » Sun Aug 22, 2010 9:40 am

Try to run OpenVPN client on Acorp 420:

Code: Select all

~ # openvpn --config /var/tmp/openvpn/client.ovpn
Sun Aug 22 09:39:23 2010 OpenVPN 2.1.1 mipsel-unknown-linux-gnu [SSL] built on Aug 18 2010
Sun Aug 22 09:39:23 2010 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Aug 22 09:39:23 2010 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Aug 22 09:39:23 2010 WARNING: file '/var/tmp/openvpn/client.key' is group or others accessible
Sun Aug 22 09:39:23 2010 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sun Aug 22 09:39:23 2010 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Sun Aug 22 09:39:23 2010 Socket Buffers: R=[4194304->131072] S=[32767->65534]
Sun Aug 22 09:39:23 2010 UDPv4 link local: [undef]
Sun Aug 22 09:39:23 2010 UDPv4 link remote: 78.108.88.222:1194
Sun Aug 22 09:39:23 2010 TLS: Initial packet from 78.108.88.222:1194, sid=95a325ba 8b9db031
Sun Aug 22 09:39:23 2010 VERIFY OK: depth=1, /C=KG/ST=NA/L=BISHKEK/O=OpenVPN-TEST/Email=me@myhost.mydomain
Sun Aug 22 09:39:23 2010 VERIFY OK: depth=0, /C=KG/ST=NA/O=OpenVPN-TEST/CN=Test-Server/Email=me@myhost.mydomain
Sun Aug 22 09:39:25 2010 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Aug 22 09:39:25 2010 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 22 09:39:25 2010 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
Sun Aug 22 09:39:25 2010 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Aug 22 09:39:25 2010 Control Channel: TLSv1, cipher TLSv1/SSLv3 EDH-RSA-DES-CBC3-SHA, 1024 bit RSA
Sun Aug 22 09:39:25 2010 [Test-Server] Peer Connection Initiated with 78.108.88.222:1194
Sun Aug 22 09:39:27 2010 SENT CONTROL [Test-Server]: 'PUSH_REQUEST' (status=1)
Sun Aug 22 09:39:27 2010 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.8.0.1,route 10.8.0.1,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
Sun Aug 22 09:39:27 2010 OPTIONS IMPORT: timers and/or timeouts modified
Sun Aug 22 09:39:27 2010 OPTIONS IMPORT: --ifconfig/up options modified
Sun Aug 22 09:39:27 2010 OPTIONS IMPORT: route options modified
Sun Aug 22 09:39:27 2010 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sun Aug 22 09:39:27 2010 Note: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Sun Aug 22 09:39:27 2010 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Sun Aug 22 09:39:27 2010 Cannot allocate TUN/TAP dev dynamically
Sun Aug 22 09:39:27 2010 Exiting
Config in the included file. Please help me.
Attachments
client.zip
configuration
(1.65 KiB) Downloaded 581 times
User avatar
TafnaSM
Regular
Regular
Posts: 40
Joined: Sat Apr 10, 2010 4:16 pm
Location: Cairns, QLD, Australia

Re: RouterTech Firmware 2.94 Discussion

Post by TafnaSM » Sun Aug 22, 2010 10:37 am

Pavel81 wrote:Config in the included file. Please help me.
Assuming that the log file is that of your client:
1) Your config file contains "dev tun" instead of "dev tap"
2) Your config file doesn't contains "ns-cert-type server"
3) For client configuration problems you should visit "http://www.openvpn.net". I think this is not the right forum to provide information on OpenVPN problems itself, but for OpenVPN on the router.

Regards,

Stefan Fröhlich
42 ;-)
User avatar
TafnaSM
Regular
Regular
Posts: 40
Joined: Sat Apr 10, 2010 4:16 pm
Location: Cairns, QLD, Australia

Re: RouterTech Firmware 2.94 Discussion

Post by TafnaSM » Sun Aug 22, 2010 11:39 am

Kaan wrote:One more question, can openvpn on router act as a client?(i looked at the pdf but it only mentions about server) It seems to be easier to use it to connect to my vpn provider than pptp.
That shouldn't be a problem. I know that it is possible with a FritzBox, a very common modem in Germany. But because we tried to make OpenVPN on this firmware as easy as possible for the user we provided only config files for the "modem as a server" scenario. To make it work to act as a client you need to modify the .ovpn configuration files on your own.

Regards,

Stefan Fröhlich
42 ;-)
mstombs
RouterTech Team
RouterTech Team
Posts: 3753
Joined: Wed Jan 10, 2007 11:54 pm

Re: RouterTech Firmware 2.94 Discussion

Post by mstombs » Sun Aug 22, 2010 12:05 pm

Thanks for all the hard work thechief, sorry not been able to do much to help. Lets see if if I can leave this one up for 1600 hours with reboot...! I can now confirm email notification and half-bridge script still working fine...
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: RouterTech Firmware 2.94 Discussion

Post by thechief » Sun Aug 22, 2010 2:56 pm

Pavel81 wrote:Try to run OpenVPN client
To be honest, and as TafnaSM has indicated, we've only been concerned with the server side of things on the router. We can answer questions about the server side, since that is what we aim to support - hence the helper scripts that we have included. As for OpenVPN as a client on the router, I doubt I can be of much use there. It would be better to go to the OpenVPN forums.
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
User avatar
thechief
RouterTech Team
RouterTech Team
Posts: 12067
Joined: Wed Feb 01, 2006 10:22 pm
Location: England, the Centre of Africa
Contact:

Re: RouterTech Firmware 2.94 Discussion

Post by thechief » Sun Aug 22, 2010 2:57 pm

mstombs wrote:Thanks for all the hard work thechief, sorry not been able to do much to help. Lets see if if I can leave this one up for 1600 hours with reboot...! I can now confirm email notification and half-bridge script still working fine...
Thanks ;)
The Chief: :afro: Be sure to read the Firmware FAQ and do a Forum Search before posting!
No support via PM. Ask all questions on the open forum.
Post Reply