Start up setting.
Hi, I installed Slackware 9.1 on my box, and do few settings to set up the network connection:
#ifconfig eth0 xx.xx.xx.xx broadcast xx.xx.xx.xx netmask xx.xx.xx.xx #route add default gw xx.xx.xx.xx And edited /etc/resolv.conf file. This works fine, and the network runs smoothly. However, when I restart the system, all these network configuration were gone (except for whatever I written in /etc/resolf.conf). How do I solve this problem, so that the network configuration stays, even after a restart? Thanks. :) |
You could use netconfig, a tool for setting up network related stuff. You can also take a look at /etc/rc.d. Especially the rc.inet1 and rc.inet1.conf files.
Hope this helps. |
or you could just add
#ifconfig eth0 xx.xx.xx.xx broadcast xx.xx.xx.xx netmask xx.xx.xx.xx #route add default gw xx.xx.xx.xx to you /etc/rc.d/rc.local file and it will boot up upon start before you log in :) |
Thanks! :) It's all working fine now. Anyway, is there a specific documentation on netconfig?
When I tried netconfig, the first question is to enter the hostname, can I just enter anything? and what if I dont have a domain yet? |
All times are GMT -5. The time now is 12:52 AM. |