openSUSE Forums > Archives > Novell Archives » 10.3 and XI-626 (Intersil Prism 2.5) wlan0_rename

Go Back   openSUSE Forums > Archives > Novell Archives
Forums FAQ Members List Search Today's Posts Mark Forums Read


Novell Archives Archived content from Novell openSUSE support forums

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-Nov-2007, 15:46
xorcz
Guest
 
Posts: n/a
Default 10.3 and XI-626 (Intersil Prism 2.5) wlan0_rename


Hi, I installed the old PCI wifi card XI-626, i would like to use in
Master mode. It seems that OpenSuse 10.3 can not configure the
interface properly. First it creates the interface eth1 (which is ok,
eth0 is internal LAN working fine). I configured it in Yast a
corresponding eth1 was created. On next reboot, there appears wifi0,
which is renamed to eth1, and wlan0 to wlan0_rename. So no wireless
interface is not brought up. I can configure them save and then yet
another interfaces wlan0_rename are shown in Yast. Interface is not
brought up during boot, however there is ifcfg-eth1 (i know, it should
not be needed] and ifcfg-wlan0_rename.

I also tried blacklisting orinoco, orinoco_pci a hermes, but it does
not change anything. lsmod shows it uses hostap_pci as it should be.

/var/log/boot.omsg
<6>hostap_pci: Registered netdevice wifi0
<7>wifi0: Original COR value: 0x0
<7>prism2_hw_init: initialized in 196 ms
<6>wifi0: NIC: id=0x8013 v1.0.0
<6>wifi0: PRI: id=0x15 v1.1.1
<6>wifi0: STA: id=0x1f v1.8.0
<6>wifi0: Intersil Prism2.5 PCI: mem=0xca000000, irq=16
<7>wifi0: registered netdevice wlan0
<6>wifi0 renamed to eth1
<6>udev: renamed network interface wifi0 to eth1
<6>wlan0 renamed to wlan0_rename

/var/log/boot.msg
<6>wifi0: NIC: id=0x8013 v1.0.0
<6>wifi0: PRI: id=0x15 v1.1.1
<6>wifi0: STA: id=0x1f v1.8.0
<6>wifi0: Intersil Prism2.5 PCI: mem=0xca000000, irq=16
<7>wifi0: registered netdevice wlan0
<6>wifi0 renamed to eth1
<6>udev: renamed network interface wifi0 to eth1
<6>wlan0 renamed to wlan0_rename

/dev/.udev/failed/ contains
\\x2fdevices\\x2fpci0000\:00\\x2f0000\:00\:09.0\\x 2f0000\:05\:06.0\\x2fnet\\x2fwlan0

I also tried deleting interfaces according to 'OpenSUSE.us : Cleaning
up network config after upgrade... (Solved!)'
(http://tinyurl.com/3bjozq)... but they are still appearing again.


--
OpenSuse 10.3 x86_64, KDE, AMD Athlon64 3000+, ASUS A8N, ATI X300 fglrx
------------------------------------------------------------------------
xorcz's Profile: http://forums.novell.com/member.php?userid=1078
View this thread: http://forums.novell.com/showthread.php?t=300929

  #2 (permalink)  
Old 25-Nov-2007, 16:03
Larry Finger
Guest
 
Posts: n/a
Default Re: 10.3 and XI-626 (Intersil Prism 2.5) wlan0_rename

xorcz wrote:
> Hi, I installed the old PCI wifi card XI-626, i would like to use in
> Master mode. It seems that OpenSuse 10.3 can not configure the
> interface properly. First it creates the interface eth1 (which is ok,
> eth0 is internal LAN working fine). I configured it in Yast a
> corresponding eth1 was created. On next reboot, there appears wifi0,
> which is renamed to eth1, and wlan0 to wlan0_rename. So no wireless
> interface is not brought up. I can configure them save and then yet
> another interfaces wlan0_rename are shown in Yast. Interface is not
> brought up during boot, however there is ifcfg-eth1 (i know, it should
> not be needed] and ifcfg-wlan0_rename.
>
> I also tried blacklisting orinoco, orinoco_pci a hermes, but it does
> not change anything. lsmod shows it uses hostap_pci as it should be.
>
> /var/log/boot.omsg
> <6>hostap_pci: Registered netdevice wifi0
> <7>wifi0: Original COR value: 0x0
> <7>prism2_hw_init: initialized in 196 ms
> <6>wifi0: NIC: id=0x8013 v1.0.0
> <6>wifi0: PRI: id=0x15 v1.1.1
> <6>wifi0: STA: id=0x1f v1.8.0
> <6>wifi0: Intersil Prism2.5 PCI: mem=0xca000000, irq=16
> <7>wifi0: registered netdevice wlan0
> <6>wifi0 renamed to eth1
> <6>udev: renamed network interface wifi0 to eth1
> <6>wlan0 renamed to wlan0_rename
>
> /var/log/boot.msg
> <6>wifi0: NIC: id=0x8013 v1.0.0
> <6>wifi0: PRI: id=0x15 v1.1.1
> <6>wifi0: STA: id=0x1f v1.8.0
> <6>wifi0: Intersil Prism2.5 PCI: mem=0xca000000, irq=16
> <7>wifi0: registered netdevice wlan0
> <6>wifi0 renamed to eth1
> <6>udev: renamed network interface wifi0 to eth1
> <6>wlan0 renamed to wlan0_rename
>
> /dev/.udev/failed/ contains
> \\x2fdevices\\x2fpci0000\:00\\x2f0000\:00\:09.0\\x 2f0000\:05\:06.0\\x2fnet\\x2fwlan0
>
> I also tried deleting interfaces according to 'OpenSUSE.us : Cleaning
> up network config after upgrade... (Solved!)'
> (http://tinyurl.com/3bjozq)... but they are still appearing again.


What is in the file /etc/udev/rules.d/70-persistent-network.rules? That file controls network renaming.

Larry
  #3 (permalink)  
Old 26-Nov-2007, 11:16
xorcz
Guest
 
Posts: n/a
Default Re: 10.3 and XI-626 (Intersil Prism 2.5) wlan0_rename


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

# PCI device 0x10de:0x0057 (forcedeth)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:13:d4:be:93:66",
NAME="eth0"

# PCI device 0x1260:0x3873 (orinoco_pci)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:60:b3:6b:6b:c1",
NAME="eth1"


--
OpenSuse 10.3 x86_64, KDE, AMD Athlon64 3000+, ASUS A8N, ATI X300 fglrx
------------------------------------------------------------------------
xorcz's Profile: http://forums.novell.com/member.php?userid=1078
View this thread: http://forums.novell.com/showthread.php?t=300929

  #4 (permalink)  
Old 26-Nov-2007, 11:58
Larry Finger
Guest
 
Posts: n/a
Default Re: 10.3 and XI-626 (Intersil Prism 2.5) wlan0_rename

xorcz wrote:
> There is:
> # This file was automatically generated by the
> /lib/udev/write_net_rules
> # program run by the persistent-net-generator.rules rules file.
> #
> # You can modify it, as long as you keep each rule on a single line.
>
> # PCI device 0x10de:0x0057 (forcedeth)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:13:d4:be:93:66",
> NAME="eth0"
>
> # PCI device 0x1260:0x3873 (orinoco_pci)
> SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:60:b3:6b:6b:c1",
> NAME="eth1"


Assuming that the second line refers to your wireless card (check the MAC address), then try adding
', ATTR{type} == 1' after the NAME clause. When one uses mac80211, a master interface is created
with type == 0x801. This combination screws up the renaming - perhaps something like that is
happening on your system.

Larry
  #5 (permalink)  
Old 26-Nov-2007, 12:06
xorcz
Guest
 
Posts: n/a
Default Re: 10.3 and XI-626 (Intersil Prism 2.5) wlan0_rename


Solved. I changed 70-persistent-network.rules:
driver to (hostap_pci), name of interface to wlan0 and created
ifcfg-wlan0. Works fine. Thanks Larry


--
OpenSuse 10.3 x86_64, KDE, AMD Athlon64 3000+, ASUS A8N, ATI X300 fglrx
------------------------------------------------------------------------
xorcz's Profile: http://forums.novell.com/member.php?userid=1078
View this thread: http://forums.novell.com/showthread.php?t=300929

 

Bookmarks


Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2