LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-01-2008, 06:10 PM   #1
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
rename "wlan0_rename" to "eth0"


Ok so the last 20 times I installed ndiswrapper, it called my wireless card "eth0" but this time I installed it on a amd64 kernel it called it "wlan0_rename"

Code:
lo        no wireless extensions.

eth1      no wireless extensions.

eth0      no wireless extensions.

wlan0_rename  IEEE 802.11g  ESSID:"ESSID"
          Mode:Managed  Frequency:2.462 GHz  Access Point: XX:XX:XX:XX:XX:XX
          Bit Rate=11 Mb/s   Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:BEBB-A9E0-A27A-F879-E7B4-04B4-49
          Link Quality=68/100  Signal level=-42 dBm  Noise level=-71 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
eth1 is my wired connection

eth0 shows up, used to be my wireless

wlan0_rename works, but should be eth0 instead

So how can I make wlan0_rename as eth0 again?
 
Old 02-01-2008, 09:11 PM   #2
TheMadIndian
Member
 
Registered: Dec 2007
Distribution: Fedora Slackware CentOS slax RHEL
Posts: 117

Rep: Reputation: 23
Quote:
Originally Posted by replica9000 View Post
Ok so the last 20 times I installed ndiswrapper, it called my wireless card "eth0" but this time I installed it on a amd64 kernel it called it "wlan0_rename"

Code:
lo        no wireless extensions.

eth1      no wireless extensions.

eth0      no wireless extensions.

wlan0_rename  IEEE 802.11g  ESSID:"ESSID"
          Mode:Managed  Frequency:2.462 GHz  Access Point: XX:XX:XX:XX:XX:XX
          Bit Rate=11 Mb/s   Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:BEBB-A9E0-A27A-F879-E7B4-04B4-49
          Link Quality=68/100  Signal level=-42 dBm  Noise level=-71 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
eth1 is my wired connection

eth0 shows up, used to be my wireless

wlan0_rename works, but should be eth0 instead

So how can I make wlan0_rename as eth0 again?
In modprobe.conf you can change the alias to something like this

alias wlan0 ndiswrapper

from wlan0_rename
 
Old 02-01-2008, 09:21 PM   #3
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Actually while I was looking into the problem, I noticed the b43 driver kicked in and ndiswrapper doesn't seem to work. The b43 seems more stable than the last time I used it so I might stick with that. But it still comes up as wlan0_rename.

during start up it says:
Code:
eth0: unknown hardware address type 801
sky2 eth0: addr xx:xx:xx:xx:xx:xx
udev: renamed network interface eth0 to eth1
udev: renamed network interface wmaster0 to eth0
sky2 eth1: enabling interface
sky2 eth1: Link is up at 100 Mbps, full duplex, flow control both
eth1: no IPv6 routers present
eth1: no IPv6 routers present
 
Old 02-02-2008, 09:03 AM   #4
TheMadIndian
Member
 
Registered: Dec 2007
Distribution: Fedora Slackware CentOS slax RHEL
Posts: 117

Rep: Reputation: 23
Quote:
Originally Posted by replica9000 View Post
Actually while I was looking into the problem, I noticed the b43 driver kicked in and ndiswrapper doesn't seem to work. The b43 seems more stable than the last time I used it so I might stick with that. But it still comes up as wlan0_rename.

during start up it says:
Code:
eth0: unknown hardware address type 801
sky2 eth0: addr xx:xx:xx:xx:xx:xx
udev: renamed network interface eth0 to eth1
udev: renamed network interface wmaster0 to eth0
sky2 eth1: enabling interface
sky2 eth1: Link is up at 100 Mbps, full duplex, flow control both
eth1: no IPv6 routers present
eth1: no IPv6 routers present
whats in modprobe.conf?
 
Old 02-02-2008, 11:32 AM   #5
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by TheMadIndian View Post
whats in modprobe.conf?
I don't have a modprobe.conf. just a folder modprobe.d
 
Old 02-02-2008, 03:48 PM   #6
TheMadIndian
Member
 
Registered: Dec 2007
Distribution: Fedora Slackware CentOS slax RHEL
Posts: 117

Rep: Reputation: 23
Quote:
Originally Posted by replica9000 View Post
I don't have a modprobe.conf. just a folder modprobe.d
what distro is it?
 
Old 02-02-2008, 04:08 PM   #7
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by TheMadIndian View Post
what distro is it?
Debian, I only seem to have this issue on the amd64 kernels.

When I had ndiswrapper installed on the amd64 kernel, it said alternative driver was "ssb" instead of the usual "b43" or "bcm43xx"

Edit: Also, I have ndiswrapper 1.49rc4 working on an older K7 kernel (as eth0), I tried the newer 1.51 and that doesn't seem to work under any kernel. I have not tried 1.49rc4 under the amd64 kernel yet (cuz the amd64 stopped reporting my batter life)

Last edited by replica9000; 02-02-2008 at 04:16 PM.
 
Old 02-20-2008, 02:57 PM   #8
nadavkav
LQ Newbie
 
Registered: Nov 2005
Location: Israel, Kfar Sirkin
Distribution: Fedora,Debian,Ubuntu
Posts: 12

Rep: Reputation: 0
Unhappy

i have the same issue since i updated to kernel 2.6.24 with module b43.
on debian sid (updated)

a little bit uncomfortable :-(
 
Old 02-20-2008, 03:33 PM   #9
nadavkav
LQ Newbie
 
Registered: Nov 2005
Location: Israel, Kfar Sirkin
Distribution: Fedora,Debian,Ubuntu
Posts: 12

Rep: Reputation: 0
apparently, changing a rule in the udev system helped a little bit
in file : /etc/udev/rules.d/z25_persistent-net.rules

from...
Code:
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:12:17:b6:8d:e5", NAME="eth2"
to...
Code:
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:12:17:b6:8d:e5", ATTR{type}=="1", NAME="eth2"
i still get a redundant wmaster0 interface which IS wireless !
ifconfig:
Code:
lo        no wireless extensions.

eth1      no wireless extensions.

wmaster0  no wireless extensions.

eth2      IEEE 802.11g  ESSID:"home"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:18:39:BC:52:67
          Bit Rate=1 Mb/s   Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:off
          Link Quality=71/100  Signal level=-64 dBm  Noise level=-69 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Last edited by nadavkav; 02-20-2008 at 03:36 PM. Reason: change style - now it is more readable :-)
 
Old 03-05-2008, 07:35 PM   #10
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by nadavkav View Post
apparently, changing a rule in the udev system helped a little bit
in file : /etc/udev/rules.d/z25_persistent-net.rules

from...
Code:
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:12:17:b6:8d:e5", NAME="eth2"
to...
Code:
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:12:17:b6:8d:e5", ATTR{type}=="1", NAME="eth2"
i still get a redundant wmaster0 interface which IS wireless !
ifconfig:
Code:
lo        no wireless extensions.

eth1      no wireless extensions.

wmaster0  no wireless extensions.

eth2      IEEE 802.11g  ESSID:"home"
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:18:39:BC:52:67
          Bit Rate=1 Mb/s   Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:off
          Link Quality=71/100  Signal level=-64 dBm  Noise level=-69 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
I tried this in mine. I get a slightly different result but it works.
I only get a 5.5 mb/s max connection even with excellent signal strength.
Greatly speeds up boot time when "waiting for /dev to be fully populated..."

I now have eth0 again instead of wlan0_rename

The only thing is this now shows up under ifconfig:
Code:
wmaster0  Link encap:UNSPEC  HWaddr 00-15-A6-C2-CE-49-65-75-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
EDIT: Changing the value of ATTR{type}=="1" to something other than 1 just changed eth0 to wlan0

Last edited by replica9000; 03-05-2008 at 07:50 PM.
 
Old 03-05-2008, 08:40 PM   #11
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,125

Original Poster
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Quote:
Originally Posted by replica9000 View Post
I only get a 5.5 mb/s max connection even with excellent signal strength.
Ok I think it's the driver itself that causes this, though last I ran a kernel higher than 2.6.23 it was working fine. If I force the router to transmit from auto to a higher set rate, the wireless will match.
 
Old 03-28-2008, 10:39 AM   #12
Trim-X-
LQ Newbie
 
Registered: Mar 2008
Location: Switzerland
Distribution: Debian Lenny (testing)
Posts: 1

Rep: Reputation: 0
Very good, it's work. I've Debian Lenny and today I have installed the kernel 2.6.24-1. I use too the bc43 driver for my wifi card, and I had the same problem.

I want to understand what does this change :

Quote:
apparently, changing a rule in the udev system helped a little bit
in file : /etc/udev/rules.d/z25_persistent-net.rules
from...
Quote:
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:12:17:b6:8d:e5", NAME="eth2"
to...
Code:
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:12:17:b6:8d:e5", ATTR{type}=="1", NAME="eth2"
Can someone explain me please ?

Last edited by Trim-X-; 04-07-2008 at 03:05 PM.
 
  


Reply

Tags
b43, debian, kernel, wireless



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Telling people to use "Google," to "RTFM," or "Use the search feature" Ausar General 77 03-21-2010 11:26 AM
net working eth0 eth1 wlan0 "no connection" "no LAN" "no wi-fi" Cayitano Linux - Newbie 5 12-09-2007 07:11 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
Any way to get "Alice"; "Call of Duty" series and "Descent 3" to work? JBailey742 Linux - Games 13 06-23-2006 01:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration