Page 8 of 21

Re: Version 1.5.10

Posted: Tue May 28, 2013 1:05 pm
by firstreflex
Hi,
I tried the new release 1.5.10 wiht my TP-Link TL-WDR4300 7 days ago, it works perfectly. Yesterday, I tried to setup OpenVPN for the first time, anh now, it doesn't work anymore. I have no more internet and I can't access with WebUI. I tried to reset by pushing the reset button but the probleme was not resolved. Can somebody tell me how to reload et restart the firmware ?

Thank a lot

Re: Version 1.5.10

Posted: Tue May 28, 2013 2:06 pm
by homolka
Unplug the router's power cord.
Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required).

Turn Router:
SYS LED begins to flash, press and hold the QSS button until the SYS LED flashes quickly

telnet 192.168.1.1

mtd -r erase rootfs_data

Wait for restart

Re: Version 1.5.10

Posted: Tue May 28, 2013 3:53 pm
by firstreflex
Thank you for your quick response. I'll try it tonight

Re: Version 1.5.10

Posted: Tue May 28, 2013 10:13 pm
by pmerrill
reddily wrote:Great work!
I upgraded by simply SCP'ing the sysupgrade.bin file to the router and running mtd to write the flash device.
So you went directly from DD-WRT to Gargoyle without going back to stock? What were the exact commands? Do you think it will work on a TP-Link 4300 running DD-WRT with the same commands?

Re: Version 1.5.10

Posted: Wed May 29, 2013 6:30 am
by reddily
pmerrill wrote:
reddily wrote:Great work!
I upgraded by simply SCP'ing the sysupgrade.bin file to the router and running mtd to write the flash device.
So you went directly from DD-WRT to Gargoyle without going back to stock? What were the exact commands? Do you think it will work on a TP-Link 4300 running DD-WRT with the same commands?
From an Ubuntu laptop I scp'ed the file up to the router:

Code: Select all

scp ${sysupgr_file} root@${router_addr}:/tmp
then I wrote the file to the storage device:

Code: Select all

mtd -r write ${sysupgr_file} linux
With the '-r' option the router will reboot after the write (replace my pseudo variables with your actual filenames and addresses).

I can't be certain that'll work on the TP-Link device - I don't have one - but I expect it to as the environment is the same: DD-WRT running, an MTD device, upgrade to Gargoyle.

Re: Version 1.5.10

Posted: Wed May 29, 2013 7:07 am
by maguvu
reddily wrote:
pmerrill wrote:
reddily wrote:Great work!
I upgraded by simply SCP'ing the sysupgrade.bin file to the router and running mtd to write the flash device.
So you went directly from DD-WRT to Gargoyle without going back to stock? What were the exact commands? Do you think it will work on a TP-Link 4300 running DD-WRT with the same commands?


http://forums.whirlpool.net.au/archive/1360475

Re: Version 1.5.10

Posted: Wed May 29, 2013 7:11 am
by firstreflex
homolka wrote:Unplug the router's power cord.
Configure your PC with a static IP address between 192.168.1.2 and 192.168.1.254. E. g. 192.168.1.2 (gateway and DNS is not required).

Turn Router:
SYS LED begins to flash, press and hold the QSS button until the SYS LED flashes quickly

telnet 192.168.1.1

mtd -r erase rootfs_data

Wait for restart

Thank you very much, this method solved my problem.

Re: Version 1.5.10

Posted: Wed May 29, 2013 7:13 am
by pmerrill
Thanks for the commands. I assume it's the .bin upgrade file? Did you also reset the router with a 30/30/30 before you did the upgrade?

Re: Version 1.5.10

Posted: Wed May 29, 2013 7:30 am
by reddily
pmerrill wrote:Thanks for the commands. I assume it's the .bin upgrade file? Did you also reset the router with a 30/30/30 before you did the upgrade?
Nope, just jumped straight in. I'm a touch cynical about that 30-30-30 stuff - if the power's off what does it matter how long the middle period is? I found DD-WRT and its forum a bit too much full of myth and magic rather than sound, tried and tested practice.

Re: Version 1.5.10

Posted: Wed May 29, 2013 7:39 am
by reddily
jdroh wrote:reddily, can you verify my issue with iOS?

I was having trouble getting 256 bit ( Blowfish ) encryption handshaking to work properly with the iOS client (OpenVPN 1.0.1 build 88)
I haven't had time to reconfig & test this out for you but I doubt that Gargoyle's OpenVPN supports a 256bit Blowfish cipher. I read that AES is particularly suited to iThings with their ARM processors. See the output from cmd below:

root:~# openvpn --show-ciphers
<snip>
DESX-CBC 192 bit default key (fixed)
BF-CBC 128 bit default key (variable)
BF-CFB 128 bit default key (variable)
BF-OFB 128 bit default key (variable)
RC2-40-CBC 40 bit default key (variable)
<snip>
AES-128-CBC 128 bit default key (fixed)
AES-128-OFB 128 bit default key (fixed)
AES-128-CFB 128 bit default key (fixed)
AES-192-CBC 192 bit default key (fixed)
AES-192-OFB 192 bit default key (fixed)
AES-192-CFB 192 bit default key (fixed)
AES-256-CBC 256 bit default key (fixed)
AES-256-OFB 256 bit default key (fixed)
AES-256-CFB 256 bit default key (fixed)
AES-128-CFB1 128 bit default key (fixed)
AES-192-CFB1 192 bit default key (fixed)
AES-256-CFB1 256 bit default key (fixed)
AES-128-CFB8 128 bit default key (fixed)
AES-192-CFB8 192 bit default key (fixed)
AES-256-CFB8 256 bit default key (fixed)
<snip>