LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-25-2002, 09:15 PM   #1
chosmer
Member
 
Registered: Feb 2002
Location: Vermont
Distribution: Fedora Cores
Posts: 39

Rep: Reputation: 15
Question manual network config


I always use netconf (RH6.x) or neat (RH7.2) to configure IP settings. Sometimes when I
change them, they dont take immediately, even when I do a network restart. Is there a way
I can change the configs of my NIC manually? (IE a file to edit?)

Thanks
 
Old 07-25-2002, 09:33 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 10,294

Rep: Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611Reputation: 2611
You can use ifconfig to change the ip/netmask/mtu/whatever on a NIC.

http://man.linuxquestions.org/index....ction=0&type=2

--jeremy
 
Old 07-26-2002, 08:26 AM   #3
chosmer
Member
 
Registered: Feb 2002
Location: Vermont
Distribution: Fedora Cores
Posts: 39

Original Poster
Rep: Reputation: 15
Cool...I found the man page and have used IFconfig to bring the interface up and down....Is this the same thing that happens when I do a Network Restart?

Is Ifconfig the lowest level in which the interface can be addressed? (in other words...does it change something in a file I can edit with a text editor?)
 
Old 07-26-2002, 09:46 AM   #4
dnar
Member
 
Registered: Feb 2002
Location: Perth, Australia
Distribution: FC5 ::: Coyote ::: SCO Unixware :::
Posts: 201

Rep: Reputation: 30
On RedHat, you edit (as root) /etc/sysconfig/network-scripts/ifcfg_eth0 and then restart networking with (as root):
Code:
/etc/init.d/network restart
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Modem config manual choice error Deke1955 Linux - Hardware 0 09-20-2005 09:14 AM
Slack drops 'route' after reboot. Manual config required - but why? fireman949 Linux - Networking 1 09-07-2005 01:15 AM
Manual Config Editing for bttv sound device. cachinnare Suse/Novell 4 12-23-2004 06:13 AM
Help whith network manual configuration zokter Slackware 2 11-05-2003 03:22 AM
Network configuration DHCP/manual pe2338 Linux - Networking 1 08-14-2003 06:21 AM


All times are GMT -5. The time now is 02:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration