I'm using Slackware 10.1 with a 2.4.29 kernel. My USB NIC gets detected as wlan0. Running
Code:
modinfo at76c503-rfmd
gives
Code:
filename: /lib/modules/2.4.29/kernel/drivers/usb/at76c503-rfmd.o
description: "Atmel at76c503 (RFMD) Wireless LAN Driver"
author: "Oliver Kurth <oku@masqmail.cx>, Joerg Albert <joerg.albert@gmx.de>, Alex <alex@foogod.com>"
license: "GPL"
parm: netdev_name char, description "network device name (default is wlan%d)"
I can get the desired remapping with this /etc/modules.conf:
Code:
# ignore the builtin NIC (eth0)
# make sure our usb card becomes eth0 (default is wlan0)
alias tulip off
options at76c503-rfmd netdev_name=eth0
So, everything is o.k. However, I am curious as to why the following in modules.conf doesn't do the job:
Code:
alias tulip off
alias eth0 at76c503-rfmd