LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Wireless problem. Inconsistent naming of interface (https://www.linuxquestions.org/questions/slackware-14/wireless-problem-inconsistent-naming-of-interface-777033/)

arubin 12-20-2009 07:38 AM

Wireless problem. Inconsistent naming of interface
 
I have managed to get wireless working on our laptop with the broadcom drivers.

The problem is that the wireless interface is not being named consistently. Sometimes it is eth0, or eth1 or wlan0. I want it to be wlan0

udev 70-persistent-net-rules on this boot shows
Quote:

# PCI device 0x14e4:0x4311 (wl)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1c:26:1a:8d:8b", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x14e4:0x170c (b44)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:19:b9:80:00:d4", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
I have tried editing this but it is regenerated at boot.

arubin 12-20-2009 09:36 AM

Here is what might have been the problem:

As a first step in trying to sort out the wireless connection I installed broadcom-sta from slackbuilds. That has a module wl.ko which I suspect was interfering.

I have blacklisted wl and created a file in /etc/modprobe.d with the line

alias wlan0 b43

So far this seem to be working and I have wireless as wlan0

ozanbaba 12-20-2009 09:50 AM

for reference, to write a udev rules that persist, you need to create a new file which will overrule other written rules. more information on udev man page and on the nice how-to


All times are GMT -5. The time now is 10:58 PM.