how to set ip address in shell?

  • LeoZhang
  • Student
  • Student
  • No Avatar
  • Joined: Jul 09, 2004
  • Posts: 80
  • Loc: China
  • Status: Offline

Post April 9th, 2005, 8:02 pm

as captioned
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 9th, 2005, 8:02 pm

  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post April 10th, 2005, 5:30 am

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.
"It's always a long day, 86,400 won't fit into a short."
  • MISC/A++
  • Expert
  • Expert
  • User avatar
  • Joined: Sep 08, 2004
  • Posts: 508
  • Loc: UnderGround
  • Status: Offline

Post April 11th, 2005, 6:34 am

use the netconfig command

This might help too:
Click Here
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Joined: Jan 23, 2004
  • Posts: 2673
  • Loc: Somewhere outside the box in Sarasota, FL.
  • Status: Offline

Post April 11th, 2005, 7:09 am

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?
"It's always a long day, 86,400 won't fit into a short."

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 91 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
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.