View previous topic :: View next topic |
Author |
Message |
DavePrince n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Feb 2006 Posts: 40 Location: Cambridgeshire, UK
|
Posted: Wed Dec 13, 2006 12:01 am Post subject: Network devices swapped. All contact lost. |
|
|
I have a machine with an AsusK8V-X motherboard which has an onboard Marvell gigabit network device. I've never managed to get this to work, but that's never bothered me before as (A) I had a spare old intel 10/100 PCI NIC which just worked out of the box (well, bubble wrap), and (B) my little ADSL modem/switch/router is only 100Mb anyway. So I configured the NIC on eth0 using the e100 module and have had the machine running quite happily for about a year just ignoring the onboard networking.
Last weekend I synced portage and updated the world, added a new TV card, upgraded the kernel (only _r3 to _r4 I think) and reconfigured it to add in DVB support, replaced the GeForce FX 5200 graphics card with a 6600LE, and then reverted the GC change 'cause I couldn't get TV-out working, ... basically something of an upheaval.
Somewhere along the line the network devices have swapped over. The old card is now eth1 and the on board device is eth0, and neither of them work
I've tried changing conf.d/net to use eth1 not eth0, and switching the rc scripts to eth1 as well; I've tried reconfiguring the kernel to get rid of all traces of gigabit networking and the Marvell drivers; I've even had another half-hearted attempt at getting the gigabit device working properly (my best guess at the moment is that it's not auto-negotiating down to 100Mb); but nothing works. I can't get a single ping to/from anywhere.
Unfortunately I'm not particularly savvy at networking. I'd managed to set my little network (2 machines + switch/router) up with static IPs and names but that's about it. I'm not even sure what info would be useful to post. Any help or suggestions would be appreciated. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
erik258 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/18778702754589d89edad52.gif)
Joined: 12 Apr 2005 Posts: 2650 Location: Twin Cities, Minnesota, USA
|
Posted: Wed Dec 13, 2006 5:03 am Post subject: |
|
|
uh, why don't you just switch the network cables to match? or put the removable network card back in the slot it was originally in? _________________ Configuring a Firewall? Try my iptables configuration
LinuxCommando.com is my blog for linux-related scraps and tidbits. Stop by for a visit! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DavePrince n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Feb 2006 Posts: 40 Location: Cambridgeshire, UK
|
Posted: Wed Dec 13, 2006 7:25 am Post subject: |
|
|
erik258 wrote: | uh, why don't you just switch the network cables to match? or put the removable network card back in the slot it was originally in? |
I've switched the cable to the device I've been trying to use; and the network card wasnever moved to start with. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gami Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 02 Jun 2006 Posts: 297
|
Posted: Wed Dec 13, 2006 7:44 am Post subject: |
|
|
Your problem with the network cards appearing in a different order could be the same problems that was mentioned in last weeks Gentoo Linux Newsletter (udev coldplugging and /etc/init.d/modules). Coldplugging as done by recent udev may load kernel modules in a different order than the old coldplug did. The newsletter points to the relevant section in the udev rules documentation. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
DavePrince n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Feb 2006 Posts: 40 Location: Cambridgeshire, UK
|
Posted: Wed Dec 13, 2006 7:56 am Post subject: |
|
|
gami wrote: | Your problem with the network cards appearing in a different order could be the same problems that was mentioned in last weeks Gentoo Linux Newsletter (udev coldplugging and /etc/init.d/modules). Coldplugging as done by recent udev may load kernel modules in a different order than the old coldplug did. The newsletter points to the relevant section in the udev rules documentation. | I do remember having to ditch colplug in favour of, well, colplug in the latest rebuild.
Thanks for the pointers - I'll have a read through them; probably tomorrow though as I'll be out eating turkey tonight. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|