[Angstrom-distro-users] Orinoco vs. Hostap drivers clash (Akita + D-Link DCF 660W)

Walt Scrivens walts at gate.net
Tue Oct 23 22:05:15 CEST 2007


I decided to have one more go at Angstrom as I stated earlier in this  
thread.
Here is what happened, and three questions:

I did a clean install of Spitz 20071017 on my C3200.
Then I replaced /etc/wpa_supplicant.conf:

#/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
        ssid="MySSID"
        proto=WPA
        pairwise=TKIP
        psk=(64 hex digits here)
        priority=1
}

And modified /etc/network/interfaces to add the lines:
iface wlan0 inet dhcp
     wpa-conf /etc/wpa_supplicant.conf
     wpa-drivers hostap

At that point,
#ifup wlan0

started the interface and all was well.
QUESTION - I had to use a root shell to do all this.  Is that normal?
Here is some information about the configuration:
#hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x801b v1.0.0 (PRISM III PCMCIA (SST parallel flash))
PRIID: id=0x0015 v1.1.1
STAID: id=0x001f v1.7.4 (station firmware)

#ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:10:7A:71:99:F9
           inet addr:192.168.1.129  Bcast:192.168.1.255  Mask: 
255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:58 errors:0 dropped:10 overruns:0 frame:0
           TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:0
           RX bytes:4243 (4.1 KiB)  TX bytes:4883 (4.7 KiB)
           Interrupt:137


#pccardctl ident
Socket 0:
   3.3V 16-bit PC Card
   Subdevice 0 (function 0) bound to driver "ide-cs"
Socket 1:
   3.3V 16-bit PC Card
   Subdevice 0 (function 0) bound to driver "hostap_cs"

#pccardctl info
PRODID_1="HITACHI"
PRODID_2="microdrive"
PRODID_3=""
PRODID_4=""
MANFID=0319,0000
FUNCID=4
PRODID_1="AmbiCom"
PRODID_2="WL1100C 802.11b CF-Card"
PRODID_3="2.2"
PRODID_4=""
MANFID=d601,0002
FUNCID=6

BUT-------------------------------

After returning from standby,
#ifup wlan0

gives several screenfuls of error messages, which for some reason  
won't redirect to a file, but the are of the form:
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device

which is very similar to the problems I encountered the last time I  
tried Angstrom.

#ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:00:00:00:00:00
           UP BROADCAST 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:0
           RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
           Interrupt:137

pccardctl gave the same results as above.

QUESTION - does anyone have any advice on how to fix this?
QUESTION - Should I consider this a bug and report it?  I'm never  
quite sure if it's a bug or operator error.

Walt

On Oct 22, 2007, at 10:18 AM, Kelly Price wrote:

> On 10/22/07, Graeme Gregory <dp at xora.org.uk> wrote:
>>>> Orinoco drivers get loaded instead of Hostap on Sharp Zaurus
>>>> SL-C1000 Akita with the recent test build image
>>>> Angstrom-x11-pimlico-image-glibc-ipk-2007.9-test-20071016-akita-
>>>> installkit.tgz.
>>>>
>> Avoiding all the fighting, this is probably card specific, can you
>> do a pccardctl ident when your card is plugged in. We have a special
>> patch in linux-rp that removes id's that are duplicated in both
>> orinoco and hostap and it probably just needs updated.
>>
>
> I also encounter this problem on my Akita and a AmbiCom WCL1100C-CF --
> orinoco is loaded instead of hostap.  Of course, I don't know a card
> that can only be used by orinoco now -- I exclusively use hostap.
>
> -- 
> Kelly "STrRedWolf" Price
> http://strredwolf.furrynet.com
>
> _______________________________________________
> Angstrom-distro-users mailing list
> Angstrom-distro-users at linuxtogo.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro- 
> users




More information about the Angstrom-distro-users mailing list