[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Tibook Wireless Card dissapeared



At Tue, 20 Jun 2006 18:05:13 -0400, Josh Narins wrote:
> 
> Ny wireless card is now eth2. It works as eth2.
> 
> How in heck did it become eth2?
> 
> I remember, oh, about a year ago, eth0 and eth1 (wire and wireless) once
> swapped places, I figured that one out myself.
> 
> Any explanations appreciated,

Might come from an update to udev...?

In any case, some time ago I had this problem too which was annoying
since my /etc/network/interfaces didn't work anymore.  The problem was
that udev gave my wireless card a device name and made a new
rules-file, which was supposed to give the same device name to my
wireless card at the next boot, but there seemed to be something wrong
with it, or it didn't work like I wanted it to work.

It changed the following file:
/etc/udev/rules.d/z25_persistent-net.rules

I make it use the device names I wanted, and now it looks like this:

###############
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# UNKNOWN device (/class/net/wlan0)
ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:12:34:cd:fe:03", NAME="wlan0"

# PCI device 106b:0032 (gem)
ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:24:31:02:74:4e", NAME="eth0"
###############

As you probably already guessed, the "SYSFS{address}" is the
MAC-address. IIRC, I just changed the 'name'. I don't know whether
this is the correct way to change this, but it works for me.

Just a guess that you might have experienced something similar.

Ruben



Reply to: