LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-15-2005, 02:47 AM   #1
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
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

Last edited by Berhanie; 02-15-2005 at 02:49 AM.
 
Old 02-17-2005, 07:59 AM   #2
edafe
Member
 
Registered: Feb 2005
Posts: 44

Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Remapping eth0 for wireless card dmh11686 Slackware 1 02-18-2005 12:38 PM
Remapping ipw2100 from eth0 to eth1 mike-g2 Linux - Wireless Networking 3 02-12-2005 06:40 PM
Eth0 to WLAN0 how do i rename it? XeoNoX Linux - Wireless Networking 5 02-22-2004 05:54 AM
Starting wlan0 instead of eth0 eo697 Linux - Networking 2 10-12-2003 05:02 PM
route wlan0 to eth0 hwood7587 Linux - Networking 1 07-13-2003 06:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration