Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Sorry, that first command is "ifconfig wlan0 192.168.1.10" not "iwconfig ..."
I assume you have a router. In your router setup there are various fields such as channel, mode and SSID. For example Linksys routers use the default SSID of "linksys" so you would write "iwconfig wlan0 mode Managed essid linksys". Generally you should not use the default name for security reasons but change it to something unique (and secret) but this is done in your router setup and then carries over to the wireless setup. Read the man page for iwconfig ("man iwconfig") and you can find out about the various options you can set from the command line of iwconfig.
I don't know what to do now. I was trying to configure my wireless adapter, but everything keeps failing because "unrecognised wireless request" or cannot set in device. What can I do now?
Well, one more thing you might try. Unplug the USB cable, give it a few seconds and then replug it in. Then run "dmesg" and see if it sees the card correctly.
The previous output, to me, says that it doesn't see the card as a device (wlan0) but does recognize that something is there and hence can ping it.
usb.c: USB disconnect on device 00:1f.2-2 address 5
hub.c: new USB device 00:1f.2-2, assigned address 6
Its seeing somthing there. I know this is possible. Don't get me wrong aclaunch, I want to get this working. I will keep trying because I want to switch over to linux. Does Mandrake have anything to do with this problem?
Last edited by Rnastyracer; 02-06-2004 at 11:07 PM.
btw, at the end of this driver, your suppose to enter commands, like the mac address and things like that. For some reason, it never unrecognises the commands. Would you like me to post that?
I'm out of ideas. It looks like the card is not being recognized even though there is a module loaded. I think this is because the module was not built against the proper kernel source code. I recomend that you uninstall the module you built, get the proper Mandrake kernel source code and try again. If the module is built correctly it should recognize the card and give you some output in "dmesg" like this:
(at76c503.c is my driver for my Atmel chipset (wireless card chipset))
at76c503.c: Generic Atmel at76c503/at76c505 routines v0.12beta6
at76c503-fw_skel.c: Atmel at76c503 (RFMD) Wireless LAN Driver v0.12beta6 loadingusb.c: registered new driver at76c503-rfmd
at76c503-fw_skel.c: using compiled-in firmware
at76c503.c: $Id: at76c503.c,v 1.42 2004/01/10 20:31:17 jal2 Exp $ compiled Jan 19 2004 23:16:28
at76c503.c: firmware version 1.101.4 #84 (fcs_len 4)
at76c503.c: device's MAC 00:0c:41:0c:bf:dc, regulatory domain FCC (U.S) (id 16)
at76c503.c: registered wlan0
At that point, once the chipset/card is recognized it can be initialized and you will have a wireless connection.
Good Luck
Alan
PS Anyone else want to jump in here with some ideas???
Go to the following URL ftp://distro.ibiblio.org/pub/Linux/d...e/RPMS.cooker/
and download kernel-source-2.4.22-10mdk.i586.rpm (this is based on your previous message that said "WARNING: the current running kernel is actually version 2.4.22-10mdk.") and try installing this.
Okay, I got a bit further since there were no errors and things in the install of wlan driver. What about this? I disconnected it and then reconnected it.
Code:
usb.c: USB disconnect on device 00:1f.2-1 address 2
hub.c: new USB device 00:1f.2-1, assigned address 3
ident: nic h/w: id=0x8010 1.0.0
ident: pri f/w: id=0x15 1.1.3
ident: sta f/w: id=0x1f 1.7.1
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=1/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/12
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: \x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00
linkstatus=DISCONNECTED (unhandled)
linkstatus=CONNECTED
** WLAN busy-sleeping in interrupt context!
** WLAN busy-sleeping in interrupt context!
** WLAN busy-sleeping in interrupt context!
Read this ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/README about the fact that iwconfig does not work but there are lots of instructions about loading the driver and configuring the interface. It seems now that the card is at least recognized. I would follow these instructions and post back with results.
A) Make sure your kernel usb support is running
B) Plug in the Prism2.x USB device
C) Run 'modprobe prism2_usb prism2_doreset=1' to load the driver into memory.
D) Run 'wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable' to initialize the
driver+MAC functions.
E) Run 'wlanctl-ng wlan0 lnxreq_autojoin ssid=<your ssid> authtype=opensystem'
to enable the MAC in Infrastructure Station mode.
F) Run 'ifconfig wlan0 <your IP address>' and this also:
FOR PCI, PLX, OR USB USERS:
A) You must make sure that the drivers get loaded at boot time and that the
necessary initialization takes place. The simplest way to do this is
to add the following commands to your rc.local file:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.