Hi,

Perhaps some of you have come across this oddity before. I have a bash function which displays some network information including my IP address. However, on occasion when run, it returns an error on displaying the IP address as the wlan0 interface is hardcoded in the function. Checking my wireless connection I find it is using the wlan1 interface. This explains the failure with my bash function but can anyone shed some light on why the interface shauld change? Stranger still I could login another day and it will be back using wlan0.

If it helps
lspci -nnk | grep -A2 0280
gives
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285
Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or
Half-size Mini PCIe Card [1a3b:1089]
Kernel driver in use: ath9k
and the contents of my
/etc/udev/rules.d/70-persistent-net.rules
file is the following
# This file maintains persistent names for network interfaces.See udev(7) for syntax.Entries are automatically added by the 75-persistent-net-generator.rules file; however you are also free to add your own entries.
# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.0/0000:02:00.0
(e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:16:d3:b0:58:f1", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x8086:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0 (iwl3945) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:77:02:5c:0e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# PCI device 0x168c:/sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="1c:4b:d6:d1:e3:86", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan1"

I've researched and found that this iwl3945 is the driver for the Intel 3945 chipset. Can someone confirm if this is a free (as in freedom) driver? I believe this chipset requires non-free firmware (source https://wiki.debian.org/iwlegacy). My machine is a Libreboot X60s so was rebuilt with the Atheros AR9285 card so shouldn't contain any non-free components.

Reply via email to