Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Correct useage of ifconfig

Posted on 2004-04-06
4
Medium Priority
?
373 Views
Last Modified: 2010-04-11
I need to change some details within the network confuguration. I know that I can use ifconfig but the changes are not being made to the system. Can someone please give me the correct format for ifconfig and if I have to restart any services after updating the file
0
Comment
Question by:thebusies
  • 2
  • 2
4 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 750 total points
ID: 10765753
man ifconfig gives you the correct usage
       ifconfig [interface]
       ifconfig interface [aftype] options | address ...

If you need to make the changes permanent, you need to make changes in appropriate files ...e.g. DNS changes go in etc.resolv etc ....

better to use a system utility such as /sbin/netconfig to make the changes
0
 

Author Comment

by:thebusies
ID: 10765844
Cannot see the response please re-send
0
 
LVL 45

Expert Comment

by:sunnycoder
ID: 10765921
try refreshing the page .. there is "reload this question" link in the left pane
0
 

Author Comment

by:thebusies
ID: 10766523
Thanks for that. It worked. I had read the man page but had obviously been a little dyslexic in the application and missed a part of the instruction out.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Tech spooks aren't just for those who are tech savvy, it also happens to those of us running a business. Check out the top tech spooks for business owners.
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question