LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 02-06-2004, 02:28 PM   #16
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15

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.

Alan
 
Old 02-06-2004, 04:27 PM   #17
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
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?
 
Old 02-06-2004, 05:31 PM   #18
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
Before we give up and reinstall/remake the driver try "ifconfig wlan0 192.168.2.34" and then do "ifconfig" and post back.

Alan
 
Old 02-06-2004, 07:25 PM   #19
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
At least we know it can ping itself, but thats about it.

Code:
[root@localhost root]# ifconfig wlan0 192.168.2.23
SIOCSIFFLAGS: No such device
[root@localhost root]# ifconfig
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:282 errors:0 dropped:0 overruns:0 frame:0
          TX packets:282 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:21614 (21.1 Kb)  TX bytes:21614 (21.1 Kb)
 
[root@localhost root]# ping 192.168.2.23
PING 192.168.2.23 (192.168.2.23) 56(84) bytes of data.
64 bytes from 192.168.2.23: icmp_seq=1 ttl=64 time=0.064 ms
64 bytes from 192.168.2.23: icmp_seq=2 ttl=64 time=0.044 ms
64 bytes from 192.168.2.23: icmp_seq=3 ttl=64 time=0.045 ms
64 bytes from 192.168.2.23: icmp_seq=4 ttl=64 time=0.050 ms
64 bytes from 192.168.2.23: icmp_seq=5 ttl=64 time=0.045 ms
64 bytes from 192.168.2.23: icmp_seq=6 ttl=64 time=0.045 ms
64 bytes from 192.168.2.23: icmp_seq=7 ttl=64 time=0.047 ms
64 bytes from 192.168.2.23: icmp_seq=8 ttl=64 time=0.051 ms
64 bytes from 192.168.2.23: icmp_seq=9 ttl=64 time=0.047 ms
 
Old 02-06-2004, 08:30 PM   #20
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
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.

Alan
 
Old 02-06-2004, 11:05 PM   #21
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
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.
 
Old 02-06-2004, 11:15 PM   #22
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
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?
 
Old 02-07-2004, 10:39 AM   #23
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
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???
 
Old 02-07-2004, 11:41 AM   #24
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
What is some things to spot or to look for, when finding the kernel off of the cd?

If possible, could you check on a ftp site and see if you can find it? (Mandrake 9.2)

Last edited by Rnastyracer; 02-07-2004 at 11:49 AM.
 
Old 02-07-2004, 12:05 PM   #25
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
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.

Good Luck
Alan
 
Old 02-07-2004, 12:16 PM   #26
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks man, I will try this and post the results.
 
Old 02-07-2004, 08:57 PM   #27
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
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!
 
Old 02-07-2004, 11:29 PM   #28
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
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.

Alan
 
Old 02-08-2004, 01:54 PM   #29
Rnastyracer
Member
 
Registered: Dec 2002
Posts: 44

Original Poster
Rep: Reputation: 15
I thought I did everything in the readme

Code:
usb.c: USB disconnect on device 00:1f.2-1 address 4
hub.c: new USB device 00:1f.2-1, assigned address 5
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)
 
Old 02-08-2004, 02:11 PM   #30
aclaunch
Member
 
Registered: Sep 2003
Posts: 91

Rep: Reputation: 15
Did you do this:
FOR USB USERS:

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:

modprobe prism2_pci [or prism2_usb/prism2_plx]
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=<your APs SSID> authtype=opensystem
ifconfig wlan0 <yourIP> netmask <yourNetmask> broadcast <yourBroadcast>
route add default gw <yourGateway>

Also, don't forget to set up your resolv.conf to point at your DNS server.



If so, what is the output of dmesg and if config??

Alan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to install acx100 chipset pci wireless adapter pathak Linux - Wireless Networking 0 05-09-2005 05:45 AM
Easy to install wireless adapter el_pajaro! Linux - Wireless Networking 1 01-12-2005 09:40 PM
Wireless Notebook adapter install ccflashback Linux - Wireless Networking 2 11-20-2004 04:40 PM
How to install usb wireless adapter in linux? jarrywhu Linux - Wireless Networking 0 09-01-2004 08:56 AM
Linksys Wireless USB Network Adapter, How do I Install? Kevin Nash Red Hat 0 02-07-2004 11:41 PM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration