Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Cc: gnuorder@×××××.com
Subject: [gentoo-user] RE: Switched to UDEV and now I have lost wlan0 and hostapd won't work...
Date: Fri, 24 Feb 2006 20:10:53
Message-Id: 200602241959.k1OJxkaQ021886@robin.gentoo.org
1 > -----Original Message-----
2 > From: gnuorder@×××××.com [mailto:gnuorder@×××××.com]
3 > Sent: Thursday, February 23, 2006 8:14 PM
4 > To: Daevid Vincent
5 >
6 > Daevid Vincent wrote:
7 > > After the essentially forced upgrade, I'm now running kernel
8 > > 2.6.15-gentoo-r1 (udev) from 2.6.9 (devfs).
9 > >
10 > > I have a Senao Engenius 200 mW PCMCIA card in a PCMCIA/PCI
11 > adapter in my
12 > > server -- this card is then the wireless AP for my network.
13 > >
14 > > I can't get my wlan0 to show up like it used to, therefore
15 > hostapd won't
16 > > start.
17 > >
18 > ...
19 > >
20 > > So, what am I missing or not doing right?
21 > >
22 >
23 > I'm having the same trouble with a prism2 PCI card. I've worked on it
24 > all day with no luck.
25 >
26 > I've tried wlan-ng which no longer supports pci. I've tried the
27 > orinoco_pci driver which I dont think I've ever gotten to work on this
28 > card, and I've tried both the hostap_pci drivers from the kernel (V
29 > 0.4.4) and the seperate hostap-drivers (V 0.4.7) and none of them
30 > work.
31 >
32 > I was deep into digging apart udev rules before I remembered that
33 > network devices dont show up in /dev so I'm not sure if it is a udev
34 > problem or something else that was upgraded.
35
36 I had a friend help me, but I believe the jist of it was.
37
38 I didn't have PCMCIA complied into the kernel (it used to be an external
39 ebuild, but now it's IN the 2.6.15 kernel)
40
41 daevid linux # grep PCMCIA .config
42 # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
43 # PCCARD (PCMCIA/CardBus) support
44 # CONFIG_PCMCIA_DEBUG is not set
45 CONFIG_PCMCIA=y
46 CONFIG_PCMCIA_LOAD_CIS=y
47 CONFIG_PCMCIA_IOCTL=y
48 # PCMCIA SCSI adapter support
49 # CONFIG_PCMCIA_AHA152X is not set
50 # CONFIG_PCMCIA_FDOMAIN is not set
51 # CONFIG_PCMCIA_NINJA_SCSI is not set
52 # CONFIG_PCMCIA_QLOGIC is not set
53 # CONFIG_PCMCIA_SYM53C500 is not set
54 # CONFIG_PCMCIA_WAVELAN is not set
55 # CONFIG_PCMCIA_NETWAVE is not set
56 # CONFIG_PCMCIA_RAYCS is not set
57 # CONFIG_PCMCIA_HERMES is not set
58 # CONFIG_PCMCIA_SPECTRUM is not set
59 # CONFIG_PCMCIA_WL3501 is not set
60 # PCMCIA network device support
61 # CONFIG_NET_PCMCIA is not set
62 # PCMCIA character devices
63 # PCMCIA devices
64
65 I think I did have to get some new updated PCMCIA tools.
66 "esearch pcmcia" should get you in the ballpark.
67
68 These are what I have installed. Don't know if I still need the bottom two
69 anymore?
70
71 * sys-apps/pcmciautils
72 Latest version available: 012
73 Latest version installed: 012
74 Size of downloaded files: 40 kB
75 Homepage:
76 http://www.kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html
77 Description: PCMCIA userspace utilities for Linux kernel 2.6.13 and
78 beyond
79 License: GPL-2
80
81 * sys-apps/pcmcia-cs
82 Latest version available: 3.2.8-r2
83 Latest version installed: 3.2.8-r2
84 Size of downloaded files: 1,242 kB
85 Homepage: http://pcmcia-cs.sourceforge.net
86 Description: PCMCIA tools for Linux
87 License: GPL-2
88
89 * virtual/pcmcia
90 Latest version available: 2.6.13
91 Latest version installed: 3.2.8-r2
92 Size of downloaded files: 0 kB
93 Homepage: http://www.gentoo.org/proj/en/base/
94 Description: Virtual for PCMCIA userspace tools
95 License: GPL-2
96
97
98 I also didn't have host_ap complied properly:
99
100 daevid linux # grep HOST .config
101 CONFIG_HOSTAP=y
102 # CONFIG_HOSTAP_FIRMWARE is not set
103 CONFIG_HOSTAP_PLX=y
104 CONFIG_HOSTAP_PCI=y
105 CONFIG_HOSTAP_CS=m
106
107 I also think I had to make a udev rule:
108
109 daevid rules.d # cat /etc/udev/rules.d/10-wireless.rules
110 KERNEL="eth*", SYSFS{address}="00:02:6f:x1:y2:z3", NAME="wlan0"
111
112 It's kinda irritating that you end up with all these extra network
113 interfaces that are all the same :(
114
115 daevid rules.d # iwconfig
116 eth0 no wireless extensions.
117
118 eth1 no wireless extensions.
119
120 lo no wireless extensions.
121
122 wifi0 IEEE 802.11b ESSID:"MATRIX" Nickname:"MATRIX"
123 Mode:Master Frequency:2.437 GHz Access Point: 00:02:6f:x1:y2:z3
124
125 Bit Rate:5.5 Mb/s Sensitivity=1/3
126 Retry min limit:8 RTS thr:off Fragment thr=65534 B
127 Encryption key:off
128 Power Management:off
129
130 wlan0 IEEE 802.11b ESSID:"MATRIX" Nickname:"MATRIX"
131 Mode:Master Frequency:2.437 GHz Access Point: 00:02:6f:x1:y2:z3
132
133 Bit Rate:5.5 Mb/s Sensitivity=1/3
134 Retry min limit:8 RTS thr:off Fragment thr=65534 B
135 Encryption key:off
136 Power Management:off
137 Link Quality:0 Signal level:0 Noise level:0
138 Rx invalid nwid:0 Rx invalid crypt:9442 Rx invalid frag:0
139 Tx excessive retries:150911 Invalid misc:12353035 Missed
140 beacon:0
141
142 wlan0ap IEEE 802.11b ESSID:"MATRIX" Nickname:"MATRIX"
143 Mode:Master Frequency:2.437 GHz Access Point: 00:02:6f:x1:y2:z3
144
145 Bit Rate:5.5 Mb/s Sensitivity=1/3
146 Retry min limit:8 RTS thr:off Fragment thr=65534 B
147 Encryption key:off
148 Power Management:off
149
150 That's all I can recall at the moment. I hope that helps you.
151
152 ÐÆ5ÏÐ
153
154
155 --
156 gentoo-user@g.o mailing list