LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-16-2003, 03:10 PM   #1
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
refreshing network settings...


This might be slackware-specific, it might not. I'm assuming it's not.

Let's say that I have to run a network config program, and then I choose dhcp. What command will run the right program so I don't have to reboot to see the changes take place?
 
Old 12-16-2003, 03:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
ifconfig eth0 down
/etc/rc.d/rc.inet1


Cheers,
Tink
 
Old 12-20-2003, 12:04 PM   #3
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Original Poster
Rep: Reputation: 45
so type that all in? Or just "init 3" or whatever my runlevel is?
 
Old 12-20-2003, 12:40 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by r_jensen11
so type that all in? Or just "init 3" or whatever my runlevel is?
No, init 3 will be for runlevel 3 and restart more services than just network services. If you want to just refresh the network settings do what Tink mentioned.

# ifconfig eth0 down
# /etc/rc.d/rc.inet1
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
network settings... piyushiitk Linux - Newbie 16 11-06-2005 07:10 PM
Network Settings kunkumd Linux - Software 1 05-06-2005 12:53 PM
Network settings jklaroe Slackware 5 06-19-2004 05:17 PM
Network settings resetting?!!! Rico16135 Linux - Networking 0 08-21-2003 12:05 PM
Refreshing a Linux Network zaphanol Linux - Software 4 07-22-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:06 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