LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-06-2003, 01:25 PM   #1
Bungholio
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa
Distribution: Mandrake 9.1
Posts: 23

Rep: Reputation: 15
where are the eth0 config files?


Hi, thanks for looking,

Im running Mandrake 9.1 and when i first installed it, i messed up the networking real bad. Ive gotten my eth0 working again, but my eth1 is going nuts. Ive tried to set all the settings in linuxconf>networking, and in the control panel, but whenever I reboot it still tries to do these weird things (like giving itself a non-lan ip, etc). So Instead of re-installing, I was wondering if anyone could help me try and reset my eth1 settings, so I can configure it properly (hopefully) ...

Thanks for any help!
Allan
 
Old 07-06-2003, 01:45 PM   #2
xblade2003
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
I know in redhat linux 6.1 they exist in /etc/sysconfig/network-scripts. In this directory u should find all the scipts for ur network hardware.

ifcfg-eth0 is the ethernet card 0
ifcfg-eth1 is the ethernet card 1 etc.

if it doesn't exist there type in the following in the xterm window
make sure ur prompt is at /

then type find ./ -name *eth1* -print

this will hopefully work and discover where the file is ok
 
Old 07-06-2003, 01:46 PM   #3
xblade2003
LQ Newbie
 
Registered: Jul 2003
Posts: 9

Rep: Reputation: 0
Ok where is said *eth1* replace the number with 0 to find eth0 file
 
Old 07-06-2003, 02:08 PM   #4
Bungholio
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa
Distribution: Mandrake 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
Hi, thanks for the help, i found the files, and it seems to be set up the way i want already ... guess ill jsut keep trying stuff ...

The odd thing that was happening was when it went to boot up eth1, it takes along time, and then it trys to set the IP for eth1:9 to 169.254.86.106 ... the line looked something (not exaclty) like this; (it repeats 4 times [probing] then archives/sets the ip)

[czip8####]Resolving 169.254.86.106

i see an ifcfg-eth1:0 file in network-scripts, but no ifcfg-eth1:9 file ... I really have no idea what is going on, like i said i checked networking in linux config, and see no trace of that ip address, ive checked all my host stuff and dchp stuff, maybe its not a big problem, but i dont really know ... any ideas?

thanks,
Allan
 
Old 07-06-2003, 09:53 PM   #5
aherrys
Member
 
Registered: Jul 2003
Posts: 64

Rep: Reputation: 15
see if you can find the unknown address in /etc/resolv.conf.

Is your eth1 driver is loaded ?
 
Old 07-07-2003, 01:45 AM   #6
Bungholio
LQ Newbie
 
Registered: Jul 2003
Location: Ottawa
Distribution: Mandrake 9.1
Posts: 23

Original Poster
Rep: Reputation: 15
hi, i reformatted, got fed up with finding out what was wrong, so started from scratch thanks for the help
 
  


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
eth0 config auto ;;;;reboot hermouche Ubuntu 1 09-10-2005 10:35 AM
Eth0 and Eth1 config Bwongar Linux - Networking 1 04-09-2005 09:18 AM
eth0 config lost at boot Jeozp Linux - Networking 3 03-07-2005 11:55 AM
Webmin cannot handle Samba config files that use the config or include directives allelopath Linux - Networking 3 01-18-2005 10:36 AM
Saving eth0 config davee Linux - Networking 3 01-21-2003 10:14 AM


All times are GMT -5. The time now is 08:56 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration