LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-19-2003, 03:40 PM   #1
R0N1N
Member
 
Registered: Sep 2002
Location: United States
Distribution: Slackware 8.1, 9.0 / Debian 3.0
Posts: 44

Rep: Reputation: 15
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.
 
Old 05-19-2003, 03:45 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
'/etc/rc.d/init.d/network restart'
 
Old 05-19-2003, 04:10 PM   #3
R0N1N
Member
 
Registered: Sep 2002
Location: United States
Distribution: Slackware 8.1, 9.0 / Debian 3.0
Posts: 44

Original Poster
Rep: Reputation: 15
Slackware does not have an /etc/rc.d/init.d directory or a network restart script. That is why I am asking this question.
 
Old 05-19-2003, 04:20 PM   #4
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

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

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
networking mifan Mandriva 3 08-18-2005 08:52 AM
new to networking essoft478 Linux - Networking 2 12-18-2004 04:20 PM
networking thornton Linux - Networking 1 07-10-2004 01:00 AM
Random Networking to Non-Networking o-o Ne0BDP Slackware 3 07-08-2004 01:18 AM
networking garr71 Linux - Networking 2 11-29-2001 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration