• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Correct useage of ifconfig

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
thebusies
Asked:
thebusies
  • 2
  • 2
1 Solution
 
sunnycoderCommented:
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
 
thebusiesAuthor Commented:
Cannot see the response please re-send
0
 
sunnycoderCommented:
try refreshing the page .. there is "reload this question" link in the left pane
0
 
thebusiesAuthor Commented:
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now