LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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: 13,602

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
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



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 / openSUSE 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration