ColinTaylor
Part of the Furniture
OK the /jffs partition seems to have magically reappeared.
Let's look inside it:
Let's look inside it:
Code:
ls -l /jffs/
ls -l /jffs/
OK the /jffs partition seems to have magically reappeared.
Let's look inside it:
Code:ls -l /jffs/
ls -l /jffs/scripts/
Has your script also magically returned?
Code:ls -l /jffs/scripts/
cat /jffs/scripts/nat-start
iptables -S -t mangle
Connection is still a half Mbps.
OK So on the face of it everything should be working.
Let's see if the commands actually ran:
Code:cat /jffs/scripts/nat-start iptables -S -t mangle
I could have swore that I did. Maybe didnt apply or reboot at the right time.You didn't disable "Extend TTL value" and "Spoof TTL value" as I asked you to earlier. Do that, reboot and try again.
mv /jffs/scripts/nat-start /jffs/scripts/firewall-start
OK I think I see the problem. Our script is not running in the correct sequence of events.
I think we need to rename it from nat-start to firewall-start. Do that with this command:
Then reboot again.Code:mv /jffs/scripts/nat-start /jffs/scripts/firewall-start
Goodnight sir. Thank you for your time and help.Hopefully not.
It's late and I can't think straight so I'm off to bed.
All the best.
iptables -t mangle -A POSTROUTING -o usb0 -j TTL --ttl-set 65
iptables -t mangle -A POSTROUTING -o usb1 -j TTL --ttl-set 65
nvram get wan0_ifname
I'm amazed that this worked for so long for myself and hopefully this thread has helped as many people as possible. I still have this same setup, however, yesterday, Verizon informed me that I have exceeded my data usage and they shut off this sim card data. Never had an issue prior to yesterday. I'm assuming that they detected the IMEI and realized that I wasn't using a phone. Is there a way to spoof the IMEI from the cell phone on the Nighthawk M1 and the ASUS router to continue to use the unthrottled data?Thanks to all in this thread and snb. I also wanted to post my steps and results. Hopefully it will help someone and most importantly myself in the future when/if I have to do this again.
Note to self... navigate to scripts folder using cd /jffs/scripts.
I used winscp to play around with editing my script file and also to rename it from nat-start to firewall-start. Someone mentioned this somewhere and it worked well for me.
I connect using lan from my hotspot so I used "nvram get wan0_ifname" from above to find my wan. In my case it's vlan2 and not usb0 as others connecting via usb.
Here is my script. For some reason it didn't work well without the "-o vlan2". Download speed would hover around 50.
#!/bin/sh
modprobe xt_HL
modprobe xt_hl
iptables -t mangle -A POSTROUTING -o vlan2 -j TTL --ttl-set 65
These are set to No.
View attachment 32086
Set this to Yes.
View attachment 32087
Did this via putty:
Type: "nano /jffs/scripts/firewall-start" hit Enter
Paste the 4 lines below or edit if you used winscp to create your script file:
#!/bin/sh
modprobe xt_HL
modprobe xt_hl
iptables -t mangle -A POSTROUTING -o vlan2 -j TTL --ttl-set 65
Ctrl X, then Type "Y" and hit enter
Type "chmod a+rx /jffs/scripts/*" hit enter
Rebooted router
If this all seems rudimentary, again it's mostly for future me.
Now results....
Did a speed test on my cellphone to test 4G speeds, got 116 Down and 26 Up.
Then did a speed test on my laptop made sure to select the same location/server as my cellphone. Got 123 Down and 36 Up.
View attachment 32088
From my results the script is working great and inline with my cellphone.
For what it's worth here's a ping from the router
View attachment 32089
And from cmd
View attachment 32090
Thanks again for everyone that asks questions and most importantly the kind folks that take time out of their day to help out.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!