Networking :: Backup for a static adsl-connection
Hello everybody!
I have now a static adsl-connection and need some help to know which files I need to backup. I know that I need etc/resolv.conf but I guess some other files are needed to so that my connection works from boot-up. Help needed! Thanks in advance!
Have fun out there,
meo
For a static IP I use the following. It works if liveCD or hard drive installed.
It uses the already backup'ed /opt/bootlocal.sh, so I don't need to add files from all over the filespace.
I add these command to /opt/bootlocal.sh
ifconfig eth0 ip 192.168.0.15 netmask 255.255.255.0
route add default gw 192.168.0.1
echo nameserver actual_ip_goes_here > /etc/resolv.conf
echo nameserver actual_ip_goes_here >> /etc/resolv.conf
Substitute your IP for the 192.168.0.x and your ISP's nameserver's IP
for actual_ip_goes_here
Keep things simple.
HTH
Thanks a lot "roberts"!
I'll try this right away.
Keep having fun,
meo
Thanks again!
It works like a charm. I really appreciate the nice community that is included in the DSL-forums. To me DSL is the number one distro and a lot of it has to do with the friendly and cunning community. So keep on with the good work!
Have fun Y'all,
meo
Wouldn't it be simpler to add /etc/resolve.cnf to filetool.lst after you have setup your connection or am I missing something here?
Chris
Next Page...
original here.