Help getting PCMCIA WiFi card working again
Ken Caruso
ken at ipl31.net
Thu Dec 21 02:24:48 PST 2006
On Thu, 2006-12-21 at 02:12 -0800, Daevid Vincent wrote:
> My Senao/EnGenius 200mW WiFi card was working fine for a few years, and now,
> after some upgrade and a power-outage that caused a reboot, it's not. I
> cannot figure out for the life of me what is wrong now. It's been two days
> of constant debugging and I'm out of ideas. I'm trying to use the kernel
> 2.6.15-gentoo-r1 hostap and pcmcia drivers as per the suggestions I've read
> that have depricated the alternatives. It's frustrating, because the card
> appears to be recognized and I don't see any errors anywhere to debug
> further.
Your net.wlan0 script is trying to bring up net.wlan0. The drivers you
are using created an interface of "wlan0ap".
I think "ifconfig wlan0ap up" will probably get it going. You will want
to change your init script to reflect the change in interface names. I
suspect the hostap drivers got updated a long a time ago and you just
never noticed without a reboot.
-Ken
>
> daevid ~ # /etc/init.d/net.wlan0 start
> * Starting wlan0
> * Bringing up wlan0
> * 10.10.10.1/24
> * network interface wlan0 does not exist
> * Please verify hardware or kernel module (driver)
>
>
> daevid ~ # ifconfig
> eth0 Link encap:Ethernet HWaddr 00:03:47:3B:65:87
> inet addr:24.17.255.202 Bcast:255.255.255.255 Mask:255.255.252.0
> UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:5739 errors:0 dropped:0 overruns:0 frame:0
> TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:363967 (355.4 Kb) TX bytes:35779 (34.9 Kb)
>
> eth1 Link encap:Ethernet HWaddr 00:03:47:3B:65:88
> inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
> RX packets:27 errors:0 dropped:0 overruns:0 frame:0
> TX packets:50 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:4112 (4.0 Kb) TX bytes:7001 (6.8 Kb)
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:12 errors:0 dropped:0 overruns:0 frame:0
> TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:1096 (1.0 Kb) TX bytes:1096 (1.0 Kb)
>
>
> daevid ~ # iwconfig
> eth0 no wireless extensions.
>
> eth1 no wireless extensions.
>
> lo no wireless extensions.
>
> wifi0 IEEE 802.11b ESSID:"test"
> Mode:Master Access Point: Not-Associated Bit Rate:11 Mb/s
> Sensitivity=1/3
> Retry min limit:8 RTS thr:off Fragment thr:off
> Encryption key:off
> Power Management:off
>
> wlan0ap IEEE 802.11b ESSID:"test"
> Mode:Master Access Point: Not-Associated Bit Rate:11 Mb/s
> Sensitivity=1/3
> Retry min 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:0 Rx invalid frag:0
> Tx excessive retries:0 Invalid misc:0 Missed beacon:0
>
>
>
> daevid ~ # lsmod
> Module Size Used by
> hostap_cs 61080 1
> hostap 112260 1 hostap_cs
> tuner 43556 0
> tvaudio 22300 0
> bttv 157264 0
> video_buf 17412 1 bttv
> v4l2_common 4992 1 bttv
> btcx_risc 4232 1 bttv
> tveeprom 14096 1 bttv
> videodev 7424 1 bttv
> nvidia 4547284 0
>
>
> daevid ~ # cat /etc/udev/rules.d/10-wireless.rules
> KERNEL=="eth*", SYSFS{address}=="00:02:6f:09:b2:b4", NAME="wlan0"
>
> daevid ~ # dmesg
> hostap_cs: 0.4.4-kernel (Jouni Malinen <jkmaline at cc.hut.fi>)
> hostap_cs: setting Vcc=33 (constant)
> hostap_cs: CS_EVENT_CARD_INSERTION
> hostap_cs: setting Vcc=33 (from config)
> Checking CFTABLE_ENTRY 0x01 (default 0x01)
> IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
> io->flags = 0x0046, io.base=0x0000, len=64
> hostap_cs: Registered netdevice wifi0
> hostap_cs: index 0x01: Vcc 3.3, irq 5, io 0x0100-0x013f
> prism2_hw_init: initialized in 376 ms
> wifi0: NIC: id=0x800c v1.0.0
> wifi0: PRI: id=0x15 v1.1.0
> wifi0: STA: id=0x1f v1.4.9
> wifi0: defaulting to bogus WDS frame as a workaround for firmware bug in
> Host AP mode WDS
> wifi0: registered netdevice wlan0
>
>
> daevid ~ # esearch pcmcia
> * sys-apps/pcmcia-cs
> Latest version available: 3.2.8-r2
> Latest version installed: 3.2.8-r2
>
> * sys-apps/pcmcia-cs-cis
> Latest version available: 3.2.8-r1
> Latest version installed: [ Not Installed ]
>
> * sys-apps/pcmcia-cs-modules
> Latest version available: 3.2.8
> Latest version installed: [ Not Installed ]
>
> * sys-apps/pcmcia-cs-pnptools
> Latest version available: 3.2.8
> Latest version installed: [ Not Installed ]
>
> * sys-apps/pcmciautils
> Latest version available: 013
> Latest version installed: 013
>
> * virtual/pcmcia
> Latest version available: 2.6.13
> Latest version installed: 3.2.8-r2
>
> daevid ~ # esearch udev
> * sys-fs/udev
> Latest version available: 103
> Latest version installed: 103
>
> daevid ~ # pccardctl info
> PRODID_1="INTERSIL"
> PRODID_2="HFA384x/IEEE"
> PRODID_3="Version 01.02"
> PRODID_4=""
> MANFID=0156,0002
> FUNCID=6
>
> daevid ~ # pccardctl ls
> Socket 0 Bridge: [yenta_cardbus] (bus ID: 0000:00:08.0)
> Socket 0 Device 0: [hostap_cs] (bus ID: 0.0)
>
> daevid ~ # pccardctl status
> Socket 0:
> 3.3V 16-bit PC Card
> Subdevice 0 (function 0) bound to driver "hostap_cs"
>
> _______________________________________________
> Talk mailing list
> Talk at seattlewireless.net
> http://seattlewireless.net/mailman/listinfo/talk
More information about the Talk
mailing list