LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Networking (https://www.linuxquestions.org/questions/slackware-14/networking-60694/)

R0N1N 05-19-2003 03:40 PM

Networking
 
Hello everyone, I need to know if Slackware has an easy way of taking down and bringing back up an interface. I know ifconfig eth0 down does this, but it does not contact the dhcp server to ask for a new IP. Is there anyway to restart networking without doing telinit 1 or rebooting? Do I have to write my own script or is there one included?

I would like the same functionality of winnt/2000 ipconfig.

ipconfig /release
ipconfig /renew

That's really all I need.

Thanks all.

manthram 05-19-2003 03:45 PM

'/etc/rc.d/init.d/network restart'

R0N1N 05-19-2003 04:10 PM

Slackware does not have an /etc/rc.d/init.d directory or a network restart script. That is why I am asking this question.

manthram 05-19-2003 04:20 PM

i am sorry pal i didnt see that you were uing slackware. guess i suddenely got stupid :rolleyes:

slackware the network is handeled by '/etc/rc.d/rc.inet1'
maybe you can just execute the script to renew


All times are GMT -5. The time now is 09:15 PM.