Are you able to manually assign wireless config to that device?

What follows works for an Aironet PCI card in a Bering box. I don't get that /proc/net/dev/wlan0 device in my Bering box so you will need to change this to even try it.

My card is located as:
/proc/driver/aironet/eth1

So the following works for the above device in the above location. It may work for your wlan0 device but it might not.

Having located the device in /proc you can try assigning individual settings using this format:

echo "SSID" > /proc/driver/aironet/eth1/SSID

and repeat for:
NodeName, Mode, WEP and optionally I think DataRates

If these don't barf, you should get connectivity when you set network configs.

Iwconfig does work for me so I script this lot in my Bering box with this script in /etc/init.d/

#!/bin/sh
#
# wireless.sh: configures wireless iface
#
RCDLINKS="2,S30"
iwconfig eth1 essid WLAN
iwconfig eth1 mode Ad-Hoc
iwconfig eth1 nick Bering
iwconfig eth1 power off
iwconfig eth1 key off
echo ""
iwconfig eth1

If iwconfig is not working for you might work around by replacing the "iwconfig eth1 essid WLAN" in the above scripts lines with:
echo "SSID" > /proc/driver/aironet/eth1/SSID

etc, but with the path changed for whatever works with your card.

The RCDLINKS line fires the script before the network config scripts fire

Hope this helps.


At 10:32 AM 11/22/2002 -0600, [EMAIL PROTECTED] wrote:


I'm kinda struggling here to get going.

I got a DLink DWL 520 802.11b card and
the hostap_pci.o modules likes it.
It gives me a wlan0  in /proc/net/dev.

I could even assign,  ip addr add, an
address to it.

but iwconfig wlan0 gives me no wireless extensions.
  ( wisp scripts indicate this means not in wireless mode)
and iwconfig wlan0  --any command--
    gives me SIOCS____  : Invalid argument errors.

I feel that I am missing something, something in kernel
or an incompatible library.
I did not load the prism2.o module, I thought hostap
would do all.

Just need a little help getting started if anyone has ideas.
Thanks.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to