I am having to sometimes type:
route add -net 0.0.0.0 netmask 0.0.0.0 gw 10.64.64.64 ppp0
to get my 3G card working..................how can I make this line pernament so that on boot-up the line is always there so I will never have to type it in again!!
Many thanks
How to make 'route add' setting persist?
Anywhere on it's own new line
Here is an example of mine:
-----------------------------------------
-------------------------------------------
Here is an example of mine:
-----------------------------------------
Code: Select all
#this file called from rc.local0
#you can edit this file
#When firewall is installed, will append lines to this file...
cd /
tar -zxvf /root/madwifi.tar.gz
depmod
modprobe ath_pci
iwconfig ath0 mode managed
sleep 5
rm /etc/dhcpc/dhcpcd-ath0.*
dhcpcd -t 20 -h puppypc ath0
swapon /mnt/home/puppy.swp
smbmount //192.168.1.100/"My Documents" /root/mnt/windowsxp
if [ -x /etc/rc.d/rc.firewall ]; then
/etc/rc.d/rc.firewall start
fi
trapster
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog
Maine, USA
Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog