kernel renames wlan to eth
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2005
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    kernel renames wlan to eth

    I am just wondering what is going on with all this device names renaming.
    hostap always used to use wlanX device names.. but well in F8 this is some kind of different - at least on SMP system, the kernel asks for device wlan0 to be renamed to eth. I thought it is udev magic, so I played with 70-persistent-net.rules, but it has no efect. Then I tried the udevmonitor and I see:
    UEVENT[1203878535.039740] add /module/hostap (module)
    UDEV [1203878535.042915] add /module/hostap (module)
    UEVENT[1203878535.057209] add /module/hostap_pci (module)
    UEVENT[1203878535.057845] add /bus/pci/drivers/hostap_pci (drivers)
    UEVENT[1203878535.058343] add /class/net/wifi1 (net)
    UDEV [1203878535.066578] add /bus/pci/drivers/hostap_pci (drivers)
    UDEV [1203878535.069191] add /module/hostap_pci (module)
    UDEV [1203878535.212557] add /class/net/wifi1 (net)
    UEVENT[1203878535.269178] add /class/net/wlan0 (net)
    UEVENT[1203878535.278823] move /class/net/eth1 (net)
    UDEV [1203878539.946245] add /class/net/eth1 (net)
    UDEV [1203878539.994233] move /class/net/eth1 (net)

    So this has nothing to do with udev, it's kernel who is asking for device to be renamed. But why?
    I am not 100% sure, but I think I tried the same card on F8 i686 machine but with only one cpu, and there device appeared to be wlan0.

  2. #2
    Join Date
    Nov 2004
    Location
    Seymour, Indiana
    Posts
    2,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Post the card brand, model, and revision.
    Also post the info from the following commands on F8.
    /sbin/lspci -v ( you only need to post the portion on the ehternet in question.)
    /sbin/ifconfig -a
    /sbin/lsmod
    /sbin/iwconfig

    Maybe the contents of /etc/modprobe.conf

    Brian
    Distribution: RHEL 5.1 with Pieces of this and that.
    Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
    Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.

  3. #3
    Join Date
    Apr 2005
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I welcome your answer. I checked modprobe.conf already before posting, but there is nothing of interest
    Code:
    alias snd-card-0 snd-intel8x0
    options snd-card-0 index=0
    options snd-intel8x0 index=0
    #alias wlan0 ath5k
    alias eth0 3c59x
    ath5k I removed when I switched to madwifi.


    Card in the question is Zcom XI-626
    Code:
    lspci -v
    02:0a.0 Network controller: Intersil Corporation Prism 2.5 Wavelan chipset (rev 01)
            Subsystem: Intersil Corporation Prism 2.5 Wavelan chipset
            Flags: medium devsel, IRQ 16
            Memory at f6000000 (32-bit, prefetchable) [size=4K]
            Capabilities: [dc] Power Management version 2
            Kernel driver in use: hostap_pci
            Kernel modules: hostap_pci, orinoco_pci
    
    ifconfig -a
    
    ath0      Link encap:Ethernet  HWaddr 00:0E:8E:0F:EB:72
              inet addr:10.10.15.6  Bcast:10.10.15.127  Mask:255.255.255.128
              inet6 addr: fe80::20e:8eff:fe0f:eb71/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:66514 errors:0 dropped:0 overruns:0 frame:0
              TX packets:39723 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:63554202 (60.6 MiB)  TX bytes:3296645 (3.1 MiB)
    
    eth0      Link encap:Ethernet  HWaddr 00:B0:D0:F3:F9:E2
              inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
              inet6 addr: fe80::2b0:d0ff:fef3:f9e0/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:19673 errors:0 dropped:0 overruns:1 frame:0
              TX packets:23452 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:1957183 (1.8 MiB)  TX bytes:12849407 (12.2 MiB)
              Interrupt:18 Base address:0x6c00
    
    eth1      Link encap:Ethernet  HWaddr 00:60:B3:6A:5E:25
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::260:b3ff:fe6a:5e22/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:1085 overruns:0 frame:0
              TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 b)  TX bytes:4240 (4.1 KiB)
              Interrupt:16
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:137 errors:0 dropped:0 overruns:0 frame:0
              TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:17694 (17.2 KiB)  TX bytes:17694 (17.2 KiB)
    
    wifi0     Link encap:UNSPEC  HWaddr 00-0E-8E-0F-EB-72-A8-E6-00-00-00-00-00-00-00-00
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:1326415 errors:0 dropped:0 overruns:0 frame:510381
              TX packets:45324 errors:39893 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:199
              RX bytes:241145006 (229.9 MiB)  TX bytes:4538187 (4.3 MiB)
              Interrupt:17
    
    wifi1     Link encap:UNSPEC  HWaddr 00-60-B3-6A-5E-25-A8-E6-00-00-00-00-00-00-00-00
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:745755 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:23 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:57121659 (54.4 MiB)  TX bytes:0 (0.0 b)
              Interrupt:16
    
    iwconfig
    lo        no wireless extensions.
    
    eth0      no wireless extensions.
    
    wifi0     no wireless extensions.
    
    ath0      IEEE 802.11a  ESSID:"FreeNet.r"  Nickname:""
              Mode:Managed  Frequency:5.7 GHz  Access Point: 00:0B:6B:3C:7A:48
              Bit Rate:6 Mb/s   Tx-Power:16 dBm   Sensitivity=1/1
              Retry:off   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality=31/70  Signal level=-56 dBm  Noise level=-87 dBm
              Rx invalid nwid:789593  Rx invalid crypt:0  Rx invalid frag:0
              Tx excessive retries:0  Invalid misc:0   Missed beacon:0
    
    wifi1     IEEE 802.11b  ESSID:"FreeNet.V"  Nickname:""
              Mode:Master  Frequency:2.452 GHz  Access Point: 00:60:B3:6A:5E:25
              Bit Rate:11 Mb/s   Sensitivity=1/3
              Retry short limit:8   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
    
    eth1      IEEE 802.11b  ESSID:"FreeNet.V"  Nickname:""
              Mode:Master  Frequency:2.452 GHz  Access Point: 00:60:B3:6A:5E:25
              Bit Rate:11 Mb/s   Sensitivity=1/3
              Retry short limit:8   RTS thr:off   Fragment thr:off
              Encryption key:off
              Power Management:off
              Link Quality:0  Signal level:0  Noise level:0
              Rx invalid nwid:0  Rx invalid crypt:425  Rx invalid frag:0
              Tx excessive retries:11139  Invalid misc:393531   Missed beacon:0
    In lsmod there is bunch of modules, of interest is just hostap, no orinoco which is used to use ethX convention.
    There is another card - atheros ath0, but it should have no influence on the topic.
    The output of iwconfig can rise another questions like why atheros has hi Rx invalid nwid (probably due to frequency collisions), or why wifi0 wich is ath0 is showing no wireless extension, but this is really not something I care about.

    As far I do not see anything that should drive the kernel to rename the device. The only thing I can think of is that there is some patch or compile option. Both I briefly checked - there is a huge wireless patch in Fedora kernel and I do not see anything special in kernel config.

    Any other idea welcomed.

  4. #4
    Join Date
    Nov 2004
    Location
    Seymour, Indiana
    Posts
    2,509
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No other ideas. As for the frequency the ath0 interface is connecting to a wireless A router which type a is 5ghz. So my guess your router can do A,B,and G at least. Normally if a Atheros based nic is multimode for 2.4 and 5 ghz it will usually try 5ghz first then the other unless specified.

    Brian
    Distribution: RHEL 5.1 with Pieces of this and that.
    Kernel 2.6.23.9, KDE 3.5.8 and KDE 4.0 beta, Plus Development src.rpm, ATI fglrx64_7_1_0-8.433-1 rpm with 3D and DRI working.
    Acer 5100-5840 with webcam, ati, sdcard reader, sound, atheros based wireless, all working. Only thing not working is the memory stick reader.

  5. #5
    Join Date
    Apr 2005
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I hope this is where the problem is https://www.redhat.com/archives/fedo.../msg00132.html
    Seems simple, but to find the correct combination is not that easy: https://www.redhat.com/archives/fedo.../msg00134.html

Similar Threads

  1. Fedora 8, new kernel, what needs to be fixed for wlan ?
    By jaevans in forum Servers & Networking
    Replies: 15
    Last Post: 28th December 2007, 05:25 PM
  2. Kernel update - wlan do not work??
    By vels in forum Using Fedora
    Replies: 1
    Last Post: 21st July 2007, 11:47 PM
  3. wlan doesn't work after kernel update
    By elz in forum Servers & Networking
    Replies: 3
    Last Post: 4th April 2005, 02:25 PM
  4. kernel 2.6.10-1.737_FC3 and linux-wlan-ng
    By [Simon] in forum Hardware & Laptops
    Replies: 0
    Last Post: 13th January 2005, 08:16 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •