What's new

Asus RT-N66u with TomatoUSB firmware

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Has anyone got their TomatoUSB PPTP VPN Server working? I can't get my phone to connect to it via 3/4g.

Are you sure that it is running?
The PPTP server is working just fine for me when I get it running, as I mentioned problems has been that scripts don't execute as they should.
Maybe you should verify that.

UPDATE:
The above was running Shibby with Poptop PPTP server which I installed via Optware.
Now I'm trying Toastman's built in PPTP server and it seems to work just.
 
Last edited:
I have now tried Toastman too.
With Toastman I experience the same weird results of scripts only executing randomly.
Only thing that I can think of now is that the pure fact that I have a micro sd card physically present is the reason for these issues.
Removing the card is the only thing I have not yet tested.
Since thE_29 also experience problems with a sd card present maybe that is the reason.
I can't think of anything else. Either that or my unit must be physically broken.
It would be nice if someone else who put a micro sd card in their router could make some tests.
 
Hmm true. But it seems Shibby is communicating at that other site too.
I'm gonna try to make an account on that polish forum and hopefully get a hold of him because there is still no reply elsewhere.

It's weird not more people is reacting to this which seems to be a serious low level bug. I guess these faults might affect the over all performance and stability of the router even if not playing with Optware etc.

It would be great if others could try to replicate these issues so that we can rule out local issues that thE_29 and I might have.

UPDATE:
I made an acc there now and I have sent Shibby a private msg. Hope he replies soon. :)

UPDATE 2:
Got a reply from Shibby who says that test script runs just fine for him so now I'm really confused.
I have tried three different Shibby builds with erased NVRAM in between.
Maybe I have a faulty unit. Bad RAM maybe.

O no.. I dont hope that my unit is also damaged...

Can someone else try running that script?!

Edit: yep, i also have a micro-sd (16GB) in the router.. :/
 
@ thE_29 What brand and speed is your card?

EDIT:
I received answer from Shibby, he is not using any internal sdcard.
 
Last edited:
Are you sure that it is running?
The PPTP server is working just fine for me when I get it running, as I mentioned problems has been that scripts don't execute as they should.
Maybe you should verify that.

UPDATE:
The above was running Shibby with Poptop PPTP server which I installed via Optware.
Now I'm trying Toastman's built in PPTP server and it seems to work just.

It works within the LAN ip but not outside of it. I did checked to make sure that port 1723 and 47 is being forwarded to my router's lan ip. I even tried turning off encryption. This is using Toastman's latested builds with built-in pptp server/client gui.

I also tried adding the script under firewall and it still does not work from outside the lan ip.

#!/bin/sh
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -p gre -j ACCEPT
iptables -A INPUT -i ppp+ -j ACCEPT
iptables -A FORWARD -i ppp+ -j ACCEPT
iptables -A FORWARD -o ppp+ -j ACCEPT

iptables -t nat -I PREROUTING -p tcp --dport 1723 -j ACCEPT
iptables -I INPUT -p tcp --dport 1723 -j ACCEPT
iptables -I INPUT -i ppp+ -j ACCEPT
iptables -I FORWARD -i ppp+ -j ACCEPT

Can you post a pic of your settings?
 
Last edited:
My setup using the built in PPTP in Toastman.

Local IP Address/Netmask: 10.0.0.1 / 255.255.255.0
Remote IP Address Range: 10.0.0.200-10.0.0.205<---outside my dhcp range
Broadcast Relay Mode: Disabled
Encryption: MPPE-128
DNS Servers: 10.0.0.120<--- my local dns, works for me but I read somewhere that local IP wont work here due to some bug.
WINS Servers: 0.0.0.0
MTU: 1450
MRU: 1450

Earlier on Shibby I used Poptop installed via Optware and the following script.

#!/bin/sh
iptables -A INPUT -p gre -j ACCEPT
iptables -A INPUT -p tcp --dport 1723 -j ACCEPT
iptables -A INPUT -i ppp+ -j ACCEPT
iptables -A FORWARD -i ppp+ -j ACCEPT
iptables -A FORWARD -o ppp+ -j ACCEPT

But when activating the built in PPTP in Toastman it automatically makes all iptables adjutments.
Seems something else is blocking port 1723 for you, maybe your ISP.
 
Last edited:
O no.. I dont hope that my unit is also damaged...

Can someone else try running that script?!

Edit: yep, i also have a micro-sd (16GB) in the router.. :/

I'm joining to this thread, if found the same issue. I'm not using any SD cards, using unit RT-N66U. Shibby ver: Tomato v1.28.0000 MIPSR2-088V K26 USB Mega-VPN

Attached USB disk through USB HUB.

-- Script:
[root@rt-n66u /opt]$ cat /tmp/test.sh
#!/bin/sh

echo $*
-- Result:
[root@rt-n66u /opt]$ /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /tmp/test.sh asd
tmp/test.sh
[root@rt-n66u /opt]$ /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /tmp/test.sh asd
tmp/test.sh



One thing I noticed if you explicitly start with /bin/sh then then the command will result the expected output:

[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd


Any of you found anything else?
 
I'm joining to this thread, if found the same issue. I'm not using any SD cards, using unit RT-N66U. Shibby ver: Tomato v1.28.0000 MIPSR2-088V K26 USB Mega-VPN

Attached USB disk through USB HUB.

-- Script:
[root@rt-n66u /opt]$ cat /tmp/test.sh
#!/bin/sh

echo $*
-- Result:
[root@rt-n66u /opt]$ /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /tmp/test.sh asd
tmp/test.sh
[root@rt-n66u /opt]$ /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /tmp/test.sh asd
tmp/test.sh



One thing I noticed if you explicitly start with /bin/sh then then the command will result the expected output:

[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd
[root@rt-n66u /opt]$ /bin/sh /tmp/test.sh asd
asd


Any of you found anything else?

Awesome, very nice find :) Thanx a lot for the info. This is all fishy for sure but your find at least makes things work.
 
PPTP server

Hi guys,

First post here, thanks for all info!

I just installed tomato-K26USB-1.28.RT-N-MIPSR2-088V-AIO.trx

Everything works fine however I can't find where I could setup a PPTP Server.

Did I install the wrong firmware? I though the All-In-One had everything in it hehe.

Regards,
Ben
 
Awesome, very nice find :) Thanx a lot for the info. This is all fishy for sure but your find at least makes things work.

I think this FW has a memory leak somewhere. I even used to get "Segmentation failure" messages with the same test.sh script sometimes :) Plus random reboots.

Also how you fix the issue with 'update-alternatives' ? that also fails often because of the uncertainty of the parameter :)

Were you able to hack the '/bin/sh prefix' into the ipkg script?
Is this 'hint' working for you as well guys?
 
Were you able to hack the '/bin/sh prefix' into the ipkg script?
Is this 'hint' working for you as well guys?

It seems that calling a script from within another script works.
In the config folder I have scripts that just start the main scripts by using the /bin/sh prefix.

I have noticed "Segmentation Failures" too as well as kernel messages like this.

Mar 31 00:39:00 RT-N66U user.alert kernel: CPU 0 Unable to handle kernel paging request at virtual address ef06e000, epc == 80087034, ra == 80087024
Mar 31 00:39:00 RT-N66U user.warn kernel: Oops[#1]:
Mar 31 00:39:00 RT-N66U user.warn kernel: Cpu 0
Mar 31 00:39:00 RT-N66U user.warn kernel: $ 0 : 00000000 00000000 00020001 ef06e000
Mar 31 00:39:00 RT-N66U user.warn kernel: $ 4 : ef06e000 00020000 00000000 00000000
Mar 31 00:39:00 RT-N66U user.warn kernel: $ 8 : 802fffb0 2e746e75 6d627375 746e756f
Mar 31 00:39:00 RT-N66U user.warn kernel: $12 : 00000001 87ff9c08 87ff9c10 342e312d
Mar 31 00:39:00 RT-N66U user.warn kernel: $16 : 00000000 0000006d 87a5b800 87de1dc0
Mar 31 00:39:00 RT-N66U user.warn kernel: $20 : 00000080 00000000 802e0000 80270000
Mar 31 00:39:00 RT-N66U user.warn kernel: $24 : 00000001 8001d898
Mar 31 00:39:00 RT-N66U user.warn kernel: $28 : 87af2000 87af3dd8 7ff097c8 80087024
Mar 31 00:39:00 RT-N66U user.warn kernel: Hi : 000001c1
Mar 31 00:39:00 RT-N66U user.warn kernel: Lo : 0001b0b9
Mar 31 00:39:00 RT-N66U user.warn kernel: epc : 80087034 Tainted: P
Mar 31 00:39:00 RT-N66U user.warn kernel: ra : 80087024 Status: 1100fc03 KERNEL EXL IE
Mar 31 00:39:01 RT-N66U user.warn kernel: Cause : 00000008
Mar 31 00:39:01 RT-N66U user.warn kernel: BadVA : ef06e000
Mar 31 00:39:01 RT-N66U user.warn kernel: PrId : 00019749
Mar 31 00:39:01 RT-N66U user.warn kernel: Modules linked in: nls_cp850 tun ip6table_mangle ip6table_filter xt_IMQ imq usblp ohci_hcd ehci_hcd sdhci mmc_block mmc_core hfsplus hfs vfat fat ext2 ext3 jbd mbcache usb_storage sd_mod scsi_wait_scan scsi_mod leds_usb led_class ledtrig_usbdev usbcore nf_nat_pptp nf_conntrack_pptp nf_nat_proto_gre nf_conntrack_proto_gre nf_nat_ftp nf_conntrack_ftp nf_nat_sip nf_conntrack_sip nf_nat_h323 nf_conntrack_h323 wl(P) et(P) igs(P) emf(P)
Mar 31 00:39:01 RT-N66U user.warn kernel: Process hotplug (pid: 1180, threadinfo=87af2000, task=8137b400)
Mar 31 00:39:01 RT-N66U user.warn kernel: Stack : 87a5b830 87a5b800 00000000 800bd1a4 87a5b800 87af3f30 87af3e18 87af3f30
Mar 31 00:39:01 RT-N66U user.warn kernel: 802aa700 800bcafc 000200d2 00000000 00000000 00000010 87a5b802 00000000
Mar 31 00:39:01 RT-N66U user.warn kernel: 6e69622f 0068732f 000200d2 00000000 7ff09a98 80067794 87af3e2c 00000010
Mar 31 00:39:01 RT-N66U user.warn kernel: 000200d2 00000000 87a5b930 879b0000 87a5b87c 00000000 0001ffda 00000000
Mar 31 00:39:01 RT-N66U user.warn kernel: 7ff09a98 7ff0bbd8 87a5b87c 00000001 0001fea5 00000000 7ff09a94 812d6fa0
Mar 31 00:39:01 RT-N66U user.warn kernel: ...
Mar 31 00:39:01 RT-N66U user.warn kernel: Call Trace:[<802b0000>][<80003204>][<80003204>]
Mar 31 00:39:01 RT-N66U user.warn kernel: Code: 00402021 00501821 24a20001 <80710000> 00402821 ae420104 26100001 24021000 1202ffe5

These errors doesn't necessarily pop up in relation to script execution but just every now and then.
Since I know to little about linux they don't really say anything to me.
But I don't think it's healty. :)

These issues affect Shibby as well as Toastman so I guess they need to obtain a new source.

Do you think this is related to having USB sticks or Sd Cards added to the unit?

Do you still get the errors when removing everything from the USB-bus?
 
Hi all. Just bought a RT-N66U a few weeks ago and now Ive just updated it with Tomato 1.28 by Shibby. It gave me a serious headache when I noticed how much you can alter. ;)

Is there any guide to follow to get the most out of the wifi? important is to get the speed of the 2.4ghz going because my main comp only supports that (N-standard)

Kind Regards / NIklas
 
Hi guys,

First post here, thanks for all info!

I just installed tomato-K26USB-1.28.RT-N-MIPSR2-088V-AIO.trx

Everything works fine however I can't find where I could setup a PPTP Server.

Did I install the wrong firmware? I though the All-In-One had everything in it hehe.

Regards,
Ben

Anyone ? :)
 
If picked the right one, it should have it as one of the options. If not, then you picked the wrong one. I am currently using one of Toastman builds.

Below is the url to file..

http://www.4shared.com/file/8-9fjw2o/tomato-K26USB-12804971MIPSR2-T.html

Oh cool!

I didn't know the difference between the one from shibby and the one from Toastman.

Since I already flashed the shibby build, can I just reflash my router to the Toastman build?

Do I have to use the ASUS firmware recovery software or I can just login in my router and use the built-in upgrade fonction in Tomato ?

Thanks!
Ben
 
Oh cool!

I didn't know the difference between the one from shibby and the one from Toastman.

Since I already flashed the shibby build, can I just reflash my router to the Toastman build?

Do I have to use the ASUS firmware recovery software or I can just login in my router and use the built-in upgrade fonction in Tomato ?

Thanks!
Ben

Just grab the new file, load it and erase NVRAM and start reconfiguring. Once flashed, recovery soft isn't needed.
 
Just grab the new file, load it and erase NVRAM and start reconfiguring. Once flashed, recovery soft isn't needed.

Just flashed my router.

Everything seems fine!

However, my wireless connection drop when I connect to it.

I see my SSID, i click on it, it connects but 5-10 seconds after, it fails. I have to wait about 1-2min before the connection reconnect and after that everything is stable.

I try to erase NVRAM but it didn't change anything.

I have this problem with all my device, imac, laptop, ipad, etc !
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top