Tyr-7BE
07-29-2001, 08:50 PM
Using Slackware 8, how do I swap eth0 and eth1? Right now, via-rhine==eth1 and rtl8139==eth0...I want rtl8139==eth1 and via-rhine==eth0. Is it possible to do this without opening up the hood?
|
Click to See Complete Forum and Search --> : Swapping Interfaces? Tyr-7BE 07-29-2001, 08:50 PM Using Slackware 8, how do I swap eth0 and eth1? Right now, via-rhine==eth1 and rtl8139==eth0...I want rtl8139==eth1 and via-rhine==eth0. Is it possible to do this without opening up the hood? Cuthbert 07-29-2001, 09:58 PM Try: ifconfig eth0 via-rhine ifconfig eth1 8139too (the new rtl8139 driver) Cuthbert 07-29-2001, 10:03 PM You should probably bring the interfaces down before you do that though. Tyr-7BE 07-29-2001, 11:01 PM I tried what you said. Here's the output of ifconfig eth0 via-rhine: bash-2.05# ifconfig eth0 via-rhine via-rhine: Host name lookup failure ifconfig: `--help' gives usage information. I tried "man ifconfig" and there was nothing in there about specifying the driver. I then tried "man rear" because it's funny when it says "no manual entry for rear". I discovered something else. Slack didn't create an eth1 interface. Only eth0. eth0 is currently using rtl8139 driver, and I want it to use the via-rhine driver and point to my other network card. Tyr-7BE 07-29-2001, 11:29 PM Alright...it was something so basic I didn't even think of it. When you have one interface, eth0 will be assigned to whatever ethernet card is up and running. All I had to do was change my initscripts to modprobe via-rhine instead of rtl8139 and plug the cord into the via-rhine, and it worked beautifully. Thanks for the ideas :) justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |