[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: really dumb question



Greg Folkert wrote:
On Mon, 2007-04-16 at 15:55 +0200, steef wrote:
Ralph Katz wrote:
On 04/16/2007 02:50 AM, steef wrote:
Greg Folkert wrote:
On Mon, 2007-04-16 at 07:59 +0200, steef wrote:
hi,

where can i find the driver for a rtl8139 (chip) realtek networkcard
under etch?

[i used to load them under woody from the modconf list, but cannot
find the driver there]
8139too
thanks,  greg, i know that: i didnot ask my question clear enough.
where in etch can i find the driver for that chip? i could not find it
in modconf.
Hi steef,

I use that in my etch box.  For me, etch handled it all automatically.

/lib/modules/2.6.18-4-686/kernel/drivers/net/8139too.ko

It's in the linux-image-2.6.18-4-686 package.
hello ralph and magnus, thanks for your answer.

in my box etch loads the driver automatically too. but i cannot reach the internet

in fact i have two internetcards/chips on my machine. normally i use the onboard nvidia-chip which works fine. for some good reason i need to switch from the nvidia-chip to the RTL-8139 card. dmesg, lsmod and grep show me combined that etch recognizes the RTL-card. Yet i cannot reach the internet. /etc/network/interfaces tells me ethx (of the RTL card) is unconfigured.

so now my question: how can i tell etch to set on the RTL card/ connect me to the internet with the RTL-card, instead of the nvidia-chip?

(tried out among other things ifup ifdown et.)

AH-HAH! Now we get to your real issue.

you will need to edit:

        /etc/udev/rules.d/z25_persistent-net.rules

Here is what mine looks like:

        princess:/etc/udev/rules.d# cat z25_persistent-net.rules
        # This file was automatically generated by the /lib/udev/write_net_rules
        # program, probably run by the persistent-net-generator.rules rules file.
        #
        # You can modify it, as long as you keep each rule on a single line.
# PCI device 0x10b7:0x9200 (3c59x)
        SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:XX:XX:XX:XX", NAME="eth0"
# PCI device 0x8086:0x1229 (e100)
        SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:d0:XX:XX:XX:XX", NAME="eth1"

You probably have two entries. Edit to flop around the one you want to
be eth0. Currently I am using the 3c59x card to do this. I put the other
one in there to use from time to time.

Once you get that taken care of... you should be all good.
thanks greg,

i' ll give it a try. for the first time making rules in udev.

regards,

steef



Reply to: