how to set ip address in shell?

  • LeoZhang
  • Student
  • Student
  • LeoZhang
  • Posts: 80
  • Loc: China

Post 3+ Months Ago

as captioned
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

I have no idea what you are asking, so I will take a guess.

You want to set up a static IP for a *nix (Unix or Linux) box on your network?

Well, it depends on your specific OS; all seem to have differing "shortcuts", or internal applications to handle this. However, the old standby is of course, ifconfig -- for the short term. (In Suse, it's /etc/sysconfig/network/<interfacename>, in BSD it's /etc/rc.conf, in Fedora they have a window; actually, there's multiple methods even to each distribution. )

I suggest you clarify what it is you are asking for, and in the response provide additional details which may be pertinent.

Cheers.
  • MISC/A++
  • Expert
  • Expert
  • User avatar
  • Posts: 508
  • Loc: UnderGround

Post 3+ Months Ago

use the netconfig command

This might help too:
Click Here
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

MISC/A++ wrote:
use the netconfig command

This might help too:
Click Here

That would be dandy -- if he/she happened to be running a distro that contained said command.

How about we find out what he or she is running, before we get too specific?

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 21 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.