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

Re: eth0_rename



On Thu, Apr 12, 2007 at 09:31:00PM +0100, Hans du Plooy wrote:
> On Thu, 2007-04-12 at 22:07 +0200, Mathias Brodala wrote:
> > Hans du Plooy, 12.04.2007 22:00:
> > > When I load my wireless driver, be it ndiswrapper or bcm43xxx, the
> > > interface comes up as eth0_rename or wlan0_rename, and I see this in
> > > dmesg:
> > > 
> > > ndiswrapper: changing interface name from 'wlan0' to 'wlan0_rename'
> > > usbcore: registered new interface driver ndiswrapper
> > > 
> > > Anybody know why?  It's not too much of a problem, the interface still
> > > works, it just looks out of place.
> > 
> > Do you have ifrename installed? If yes, just get rid of it and run
> > /lib/udev/write_net_rules instead; this will generate udev-based persistent
> > naming rules for your network devices; you can modify them by editing the file
> > /etc/udev/rules.d/z25_persistent-net.rules.
> 
> Hi Thanks.  I have looked at /etc/udev/rules.d/z25_persistent-net.rules
> before - the devicenames in there were correct but for some reason they
> were getting renamed.  It seemed not to be reading that file but nothing
> turned up in the logs.  And I don't have ifrename installed.
> 
> I deleted the z25_persistent-net.rules before and
> ran /lib/udev/write_net_rules all_interfaces - it generated a new file
> with the device names as they currently were (with _rename).  Edited the
> file, restarted udev and now it's right.  Not sure why it didn't work
> right in the first place.
> 

Is it still working after : /etc/init.d/networking restart ?


-- 
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE

Attachment: signature.asc
Description: Digital signature


Reply to: