Host AP on Ubuntu...

Fawad Nazir fawad.nazir at gmail.com
Tue May 16 23:20:38 UTC 2006


> > In the file : /etc/hotplug/blacklist
> > I have added:
> > orinoco_cs
> > orinoco
> >
> > But still when ever i plug in my PCMCIA card, it picks up the same
> > driver. I have also tried to do :$modprobe -r <driver name>, these
> > driver do get unloaded but when ever i plug the PCMCIA card again,
> > this driver again get loaded automatically.
>
> It may be the correct driver - who knows?  You still haven't said
> what card/chipset you're using.  What steps did you actually take
> from the link I posted yesterday and what happened when you tried to
> use that that driver (error messages, /var/log/syslog output etc)?

I am using Ubuntu Linux v.2.6.16.5
My Wireless Adaptor is "Veritech VAC2511-D IEEE 802.11b complient",
its a Intersil Prism 2.5 Chipset.

Now i will explain you in detail. My email may go very long:

When i restart my machine with this card inserted it is automatically
loaded with orinoco_cs driver.
The output of iwconfig shows:
eth0      IEEE 802.11b  ESSID:""  Nickname:"Prism  I"
          Mode:Managed  Access Point: 00:00:00:00:00:00   Bit Rate:11 Mb/s
          Sensitivity:1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/92  Signal level=-68 dBm  Noise level=-122 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

When i check the driver it shows:
fawad at Ubuntu-01:~$ ls -al /sys/class/net/eth0/device/driver
lrwxrwxrwx  1 root root 0 2006-05-17 09:11
/sys/class/net/eth0/device/driver ->
../../../../../bus/pcmcia/drivers/orinoco_cs

Now, i unload unload orinoco_cs driver and load hostap_cs driver. Then
insert the card again:
Now iwconfig shows:

Warning: Driver for device wifi0 has been compiled with version 19
of Wireless Extension, while this program supports up to version 18.
Some things may be broken...

wifi0     IEEE 802.11b  ESSID:"test"
          Mode:Master  Access Point: 00:00:00:00:00:00   Bit Rate:11 Mb/s
          Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr:off
          Power Management:off

wlan0     IEEE 802.11b  ESSID:"test"
          Mode:Master  Access Point: 00:00:00:00:00:00   Bit Rate:11 Mb/s
          Sensitivity=1/3
          Retry min limit:8   RTS thr:off   Fragment thr: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

And the driver is also correct:

lrwxrwxrwx  1 root root 0 2006-05-17 09:14
/sys/class/net/wlan0/device/driver ->
../../../../../bus/pcmcia/drivers/hostap_cs

Now the problem is:

The output of dmesg:
[4295822.606000] pccard: PCMCIA card inserted into slot 0
[4295822.606000] pcmcia: registering new device pcmcia0.0
[4295822.608000] hostap_cs: setting Vcc=33 (constant)
[4295822.608000] hostap_cs: setting Vcc=33 (from config)
[4295822.608000] Checking CFTABLE_ENTRY 0x01 (default 0x01)
[4295822.608000] IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
[4295822.608000] io->flags = 0x0046, io.base=0x0000, len=64
[4295822.610000] hostap_cs: Registered netdevice wifi0
[4295822.610000] wifi0: Interrupt, but dev not OK
[4295822.650000] hostap_cs: index 0x01: Vcc 3.3, irq 3, io 0x3100-0x313f
[4295822.849000] prism2_hw_init: initialized in 199 ms
[4295822.851000] wifi0: NIC: id=0x800c v1.0.0
[4295822.851000] wifi0: PRI: id=0x15 v1.1.0
[4295822.851000] wifi0: STA: id=0x1f v1.4.9
[4295822.852000] wifi0: defaulting to bogus WDS frame as a workaround
for firmware bug in Host AP mode WDS
[4295822.857000] wifi0: registered netdevice wlan0
[4295823.045000] orinoco 0.15rc3 (David Gibson
<hermes at gibson.dropbear.id.au>, Pavel Roskin <proski at gnu.org>, et al)
[4295823.054000] orinoco_cs 0.15rc3 (David Gibson
<hermes at gibson.dropbear.id.au>, Pavel Roskin <proski at gnu.org>, et al)
[4295823.060000] pcmcia: registering new device pcmcia0.1
[4295823.065000] hostap_cs: setting Vcc=33 (constant)
[4295823.065000] hostap_cs: setting Vcc=2 (from config)
[4295823.065000] Checking CFTABLE_ENTRY 0x01 (default 0x01)
[4295823.065000]   Vcc mismatch - skipping this entry
[4295823.066000] 0.1: GetNextTuple: No more items
[4295823.066000] prism2_config() failed

There are few errors in the last few lines of the dmesg output. This
is because, when ever i insert my card again, the orinoco_cs drivers
are also automatically loaded i dont know how/why (I unloaded then
before i insert the card, but still they get loaded automatically when
i insert the card)?

I personally think, this is why i am getting some errors in the above
command. As you can also see these following lines  in dmesg output;

[4295823.045000] orinoco 0.15rc3 (David Gibson
<hermes at gibson.dropbear.id.au>, Pavel Roskin <proski at gnu.org>, et al)
[4295823.054000] orinoco_cs 0.15rc3 (David Gibson
<hermes at gibson.dropbear.id.au>, Pavel Roskin <proski at gnu.org>, et al)
[4295823.060000] pcmcia: registering new device pcmcia0.1

I also tried to blacklist these drivers, as mentioned in my last
email. But still this does not work.

I will be thankful, if could please look how can i getrid of this
error in dmesg.
Now as you said i have sent a detail email. If you need any more
information please let me know.

Best Regards,
Fawad.

> David Hart <ubuntu at tonix.org>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>


-- 
Fawad Nazir




More information about the ubuntu-users mailing list