Re: Determining eth -> driver mapping

From: Stephen Patterson (s.patterson_at_freeuk.com)
Date: 09/27/03

  • Next message: Stefan Waidele jun.: "Re: Cron"
    Date: 27 Sep 2003 09:47:30 GMT
    To: debian-user@lists.debian.org
    
    

    On Sat, 27 Sep 2003 00:10:08 +0200, michf@post.tau.ac.il wrote:
    > I would rather try to detect which interface is mapped to the driver
    > instead of assuming the active one is always on eth0.
    > Is there a way to do that?

    AFAIK there isn't a way to tell that, but if your network drivers are
    all modules, you can prompt the system to always load rtl8139 for eth0
    anda different module for eth1. You do this by adding aliases to
    /etc/modutils/aliases and running update-module.

    This is what I have on my firewall.
    alias eth0 8139too
    alias eth1 3c509

    -- 
    Stephen Patterson http://patter.mine.nu/
    steveSPAM@.patter.mine.nu  remove SPAM to reply        
    Linux Counter No: 142831 GPG Public key: 252B8B37        
    Last one down the pub's an MCSE
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Stefan Waidele jun.: "Re: Cron"

    Relevant Pages

    • Problems with B44, Wont receive until module reloaded, and ifconfigured by hand
      ... switched to 2.4.22, and its b44 driver. ... But if I am connected to another network, so I have to change the ip, it ... ifconfig eth0 down; rmmod b44; modprobe b44; ...
      (Linux-Kernel)
    • core 2, smp, network is totaly broken
      ... RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize ... divert: not allocating divert_blk for non-ethernet device lo ... i8042 AUX port at 0x60,0x64 irq 12 ... divert: allocating divert_blk for eth0 ...
      (linux.redhat)
    • Re: Computer weirdness, part Deux...
      ... driver: http://www.nvidia.com/object/sysutility_1.0. ... I plugged in the my Netgear MR314 4 port wireless router, ... A few days later I got a Netgear MA311 card from Amazon. ... I enter 'ifdown eth0'. ...
      (alt.os.linux.suse)
    • NIC problems, speed or driver?
      ... The install automatically loaded the 3c59x driver: ... eth0: Dropping NETIF_F_SG since no checksum feature. ... Transmit error, Tx status register d0. ...
      (comp.os.linux.networking)
    • Re: dhcp not working on machine
      ... dhcp is not working on one of my machines. ... alias eth0 8139too ... driver and that you should try the 8139too driver. ...
      (Fedora)