LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Remapping wlan0 to eth0 (https://www.linuxquestions.org/questions/linux-networking-3/remapping-wlan0-to-eth0-290408/)

Berhanie 02-15-2005 02:47 AM

Remapping wlan0 to eth0
 
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


edafe 02-17-2005 07:59 AM

Remapping perhaps not necessary
 
Berhanie,
I think I had a similar problem getting the Host AP driver to work with Slackware. Host AP substitutes wlan for eth.
Maybe you can do something with this:

http://www.edafe.org/slackware/index.html#hostap

Regards,
Edafe


All times are GMT -5. The time now is 06:41 PM.