Fedora Linux Support Community & Resources Center
  #1  
Old 19th March 2008, 12:37 PM
Damase Offline
Registered User
 
Join Date: Mar 2008
Posts: 8
Network cards are reversing

With kernel 2.6.23.?-42 my via built in card (is unreliable, I don't use it) is eth0 and d-link is eth1, and I can use my network flawlessly.

With kernel 2.6.24.3-34 my via is eth1 and d-link is eth0, and it will not connect, it thinks there isn't even a cable attached. When I told it to use eth1.bak it complained of an error and wouldn't alter the configuration.

Since I am brand new to Fedora and really have very little experience with linux in general I need to know where to look for these configuration files to begin with and hopefully I can tell the computer manually what eth belongs to what.

TIA
Reply With Quote
  #2  
Old 19th March 2008, 01:36 PM
stevea's Avatar
stevea Online
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,302
It sounds like the device names (eth0/eth1) got switched around. Read the MAC address off of one of the interfaces (HWAddr: if you type ifconfig -a). so you can tell which is which.

This is controlled in two places. The file
/etc/udev/rules.d/70-persistent-net.rules
should associate a MAC adddess with an interface name (ethN) as the drivers are initialized in the kernel.

When you bring the interface up and configure it the driver loaded is associated in /etc/modprobe.conf,
Also the ifrename command lets you toggle the interface names around too.

Then the ifcfg-ethN files in /etc/sysconfig/networking/devices are names for each interface, but they *may* reference the worng interface/driver.


One of these associations is wrong. Confusing huh ?
Reply With Quote
  #3  
Old 19th March 2008, 01:45 PM
Damase Offline
Registered User
 
Join Date: Mar 2008
Posts: 8
Quote:
Originally Posted by stevea
I
One of these associations is wrong. Confusing huh ?
yup, but I'll take my time and sort thru it. So, I will look for mac address assignments while in kernel 2.6.23.?-42, then match them in all those places after I boot using kernel 2.6.24.3-34. Correct?
Reply With Quote
  #4  
Old 19th March 2008, 05:02 PM
Damase Offline
Registered User
 
Join Date: Mar 2008
Posts: 8
re: Network cards are reversing

I cannot find what is causing the problem. But I can use the GUI network interface to fix the problem but as soon as I reboot, or log off It undoes the fix and goes back to being broken. I'll tell how I fix it and maybe someone knows by that process what is going wrong.

Going into System>>Administration>>Network...type in root password...click on Hardware tab change d-link to eth1 and via to eth0 click File>>Save..Click Ok then click Devices tab highlight "eth1.bak" (that's it's nickname)...click "Activate" and then click File>>Save...Ok and exit. Ta da!! network fixed (temporarily). It has to be done in this order or it will not fix as well.

The problem is it doesn't stay fixed and it's not creating the regular files, and I don't their suffixes and the suffixes were not revealed to me in the files when I boot the other kernel. I used ls to see what was in /etc/sysconfig/networking/devices and in /etc/udev/rules.d/70-persistent-net.rules

The only difference between these was in /etc/sysconfig/networking/devices
kernel 2.6.23.1-42 had ifcfg-eth0 ifcfg-eth0.bak ifcfg-eth1 ifcfg-eth1.bak (this is the one that works)
kernel 2.6.24.3-34 had ifcfg-eth0.bak ifcfg-eth1.bak

All the files had d-link as eth1 and via as eth0; so I am lost as to why it is continuing to try to have them the opposite way

TIA
Reply With Quote
  #5  
Old 19th March 2008, 07:15 PM
PabloTwo's Avatar
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 5,128
If you truly don't ever use the built in via ethernet device, you can most likely just go into the bios and disable it there. Once it's been disabled in the bios, the OS won't ever see it and only the D-link card will be recognized and be set to eth0 every time.

Paul
Reply With Quote
  #6  
Old 19th March 2008, 08:31 PM
Damase Offline
Registered User
 
Join Date: Mar 2008
Posts: 8
You helped me out, just didn't work the way we would have expected it to. Disabled via ethernet in the BIOS, upon restart it still wanted to use the .bak files. so I deleted those and it still didn't like using eth0. So , I deleted everything reboot then it had just the d-link on eth1, then I was able to create a new device file with just that and reboot again and ta da --it works!! (so what if it wants to be eth1). I should of remembered that was on. When windows was on this machine it would crash at the BIOS level and I would have to go thru and redo my BIOS. There was always something to forget, and that was one of them.

Anyways thank you very much
Reply With Quote
Reply

Tags
cards, network, reversing

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
more then one network cards minhaj Servers & Networking 3 2nd May 2008 08:12 PM
fc3: reversing up2date pcandpc Using Fedora 4 3rd March 2008 01:44 AM
Reversing ethernet ports vovo4ka Using Fedora 1 18th October 2005 12:38 AM
Reversing the damage hlfmanhlfamzng Using Fedora 1 18th August 2005 12:49 PM
DVD iso d/l reversing? Trojan28 Installation and Live Media 2 28th May 2005 04:11 PM


Current GMT-time: 17:25 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat