eth0_rename

2007-04-12 Thread Hans du Plooy
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:

wlan0: ethernet device 00:14:a5:2a:04:28 using NDIS driver: bcmwl5,
version: 0x40a2801, NDIS version: 0x501, vendor: '', 14E4:4318.5.conf
wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK;
AES/CCMP with WPA, WPA2, WPA2PSK
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.

Thanks
Hans


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: eth0_rename

2007-04-12 Thread Mathias Brodala
Hi Hans.

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:
 
 wlan0: ethernet device 00:14:a5:2a:04:28 using NDIS driver: bcmwl5,
 version: 0x40a2801, NDIS version: 0x501, vendor: '', 14E4:4318.5.conf
 wlan0: encryption modes supported: WEP; TKIP with WPA, WPA2, WPA2PSK;
 AES/CCMP with WPA, WPA2, WPA2PSK
 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. What to edit should be pretty clear;
if not, have look at this[0] howto.


Regards, Mathias

[0] http://www.reactivated.net/writing_udev_rules.html

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: eth0_rename

2007-04-12 Thread Hans du Plooy
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.

Thanks
Hans


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: eth0_rename

2007-04-12 Thread Franck Joncourt
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


signature.asc
Description: Digital signature


Re: eth0_rename [solved]

2007-04-12 Thread Hans du Plooy
On Thu, 2007-04-12 at 22:53 +0200, Franck Joncourt wrote:
 On Thu, Apr 12, 2007 at 09:31:00PM +0100, Hans du Plooy wrote:
  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 ?

Still working after several reboots :-)

Thanks
Hans


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]