The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
change time mode from BST to GMT tomjones HP-UX 3 04-01-2008 12:21 PM
RHAS command mode ? aqeelcu@hotmail Linux 1 05-03-2007 07:36 AM
su command in batch mode Rajesh Gohad Shell Programming and Scripting 3 01-26-2007 12:54 AM
Ip Addresses With Hardware Change golfs4us IP Networking 4 09-28-2006 02:59 PM
lp command with compress mode zita Linux 3 10-10-2005 05:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-04-2004
Super.Anyak Super.Anyak is offline
Registered User
  
 

Join Date: Jun 2004
Location: Maputo - Mozambique
Posts: 4
How do I change IP addresses in command mode...

How do I change IP addresses in command mode? i need to assign custom (non DHCP) addresses from the command line. Actually I also need to know how to change the subnet mask, the gateway and the primary, secondary, ... dns servers.
  #2 (permalink)  
Old 06-04-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
man ifconfig
man route

Cheers
ZB
  #3 (permalink)  
Old 06-04-2004
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,100
We need to know specifically which unix system you are using. "uname -a" should tell you.

Running command like route and ifconfig can change things now, without a reboot.

Also we need to know if you want the changes to persist after a reboot. If so, this involves changes to the startup scripts.

The dns stuff is usually in /etc/resolv.conf.
  #4 (permalink)  
Old 06-04-2004
Super.Anyak Super.Anyak is offline
Registered User
  
 

Join Date: Jun 2004
Location: Maputo - Mozambique
Posts: 4
Yes i'd like changes to be persistent, and i am now running fedora core 1, but i'll post the kernel version later because i am planning to install freeBSD on another machine (just to learn)
  #5 (permalink)  
Old 06-05-2004
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Seeing as Fedora Core is (basically) a follow on from Red Hat, my response to the post
here about setting up persistent networking configuration on RedHat AS should help you out.

As Perderabo points out dns is configured in /etc/resolv.conf

Cheers
ZB
  #6 (permalink)  
Old 06-07-2004
Super.Anyak Super.Anyak is offline
Registered User
  
 

Join Date: Jun 2004
Location: Maputo - Mozambique
Posts: 4
Thks... I'll try it...
  #7 (permalink)  
Old 06-09-2004
Kelam_Magnus's Avatar
Kelam_Magnus Kelam_Magnus is offline Forum Advisor  
Registered User
  
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
dont forget /etc/hosts if you change your server IP...
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 11:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0