Backup for a static adsl-connectionForum: Networking Topic: Backup for a static adsl-connection started by: meo Posted by meo on Dec. 14 2004,17:55
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 Posted by roberts on Dec. 14 2004,21:36
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 Posted by meo on Dec. 15 2004,11:02
Thanks a lot "roberts"!I'll try this right away. Keep having fun, meo Posted by meo on Dec. 15 2004,11:35
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 Posted by clivesay on Dec. 28 2004,15:02
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 Posted by roberts on Dec. 28 2004,15:07
Sure what do you want 6 or half a dozen!Personally, I don't like to have to add entries all over the filesystem when I can easily use one. Makes for a smaller simpler filetool.lst. Posted by clivesay on Dec. 28 2004,15:12
Yeah, I know. I am just thinking of the kids that will get computers. They will not have a clue about bootlocal.sh or how to use it! If it means that I have a long filetool.lst to simplify for them then so be it. It's a necessary evil I think. Chris |