Speedy1205
Regular Contributor
so now you will add it to the script so it will do it automatically when you restart the Router.
in therminal:
vi /jffs/scripts/services-start
when its empty than insert the following there:
if there is already some inside, than only put this at the end of the file:
Save and ready, next boot will enable the internet automatically.
By the way you have to thank su_root for the command or connection string
in therminal:
vi /jffs/scripts/services-start
when its empty than insert the following there:
Code:
#!/bin/sh
# FIX for USB Modem in new Version
echo -e "AT^NDISDUP=1,1,\"internet\"\r" > /dev/ttyUSB1
sleep 5
udhcpc -i usb0 -p /var/run/udhcpc1.pid -s /tmp/udhcpc
if there is already some inside, than only put this at the end of the file:
Code:
# FIX for USB Modem in new Version
echo -e "AT^NDISDUP=1,1,\"internet\"\r" > /dev/ttyUSB1
sleep 5
udhcpc -i usb0 -p /var/run/udhcpc1.pid -s /tmp/udhcpc
Save and ready, next boot will enable the internet automatically.
By the way you have to thank su_root for the command or connection string