LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-18-2003, 04:01 PM   #16
ucntcme
Member
 
Registered: Jun 2002
Location: Boise, Idaho
Distribution: RedHat 7.2,8.0,9, RHAS2.1
Posts: 41

Rep: Reputation: 15
almost there!


OK, so I've got the module loading, and wlan0 gets configured, but no dice from there.

I'm new to wireless so bear with me if you will.


I've a linksys 802.11b router with an ssid of linksys (figured I'd leave as much default as possible to start with). I've WEP disabled.

when I run iwlist wlan0 channel (for example) I get:
Warning: Driver for device wlan0 has been compiled w/version 0 of Wireless Extension, while this program isusing version 15. SOme things may be broken ...

then it lists the Current Channel as "-0" and no channels.

So I run iwconfig (same warning).

It shows wlan 0 as there.

At this point, I have the router running DHCP, so I can verify I have the PC card working. I'll worry about network configuration later.

So, the router is set with
channel 1
WEP disabled
SSID linksys

How do I go about getting a DHCP address now?
 
Old 05-18-2003, 04:26 PM   #17
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
This is a weird one, the guy who wrote it used the kernel wireless API, but only interaction with one single program, iwpriv

Iwconfig and the rest of them are going to return a lot of incorrect goo. Check the README, us the "wlanup" script as an example of what commands to issue, for instance:

iwpriv wlan0 wlan_para ssid2scan=linksys
iwpriv wlan0 enable
dhcpcd wlan0
or, for RedHat:
dhclient wlan0

That should snag one if indeed this driver works properly, only had an hour or so to mess with the card myself when I saw one about a month ago.

Cheers,

Finegan
 
Old 05-18-2003, 05:34 PM   #18
ucntcme
Member
 
Registered: Jun 2002
Location: Boise, Idaho
Distribution: RedHat 7.2,8.0,9, RHAS2.1
Posts: 41

Rep: Reputation: 15
Unhappy

No go. It doesn't seem to be working, it never receives an IP address.

The router (Linksys BEFW11S4) doesn't show any WLAN activity during this time. I suspect the channel is the issue. Doing more digging ...


ok, looked at dmesg prior to sending. I'm getting "... not in BSS or IBSS, CAN NOT transmit a data frame!"
 
Old 05-18-2003, 05:51 PM   #19
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Try adding in the line:

iwpriv wlan0 wlan_para networktype=infra

That'll put the card in infrastructure mode, known under "iwconfig" as managed, its what you'll need to be in to talk to a stock configured Linksys AP.

Also, to get the full help:

iwpriv wlan0 wlan_para help

And then look at "dmesg", no kidding, it dumps the help file into the ring buffer, isn't that just friggin' weird?!?

Also, I think the current settings can be displayed with:

iwpriv wlan0 wlan_para

or

iwpriv wlan0

Again, like I was saying, this card uses entirely private ioctl settings and I only got to play with one for a little while, so its a bit strange.

Cheers,

Finegan
 
Old 05-18-2003, 06:00 PM   #20
ucntcme
Member
 
Registered: Jun 2002
Location: Boise, Idaho
Distribution: RedHat 7.2,8.0,9, RHAS2.1
Posts: 41

Rep: Reputation: 15
Just great.

dmesg says "No device found"

yes, dumping help there *is* strange.

I'm considering getting a new card at this point.
grrrrr
 
Old 05-18-2003, 06:07 PM   #21
ucntcme
Member
 
Registered: Jun 2002
Location: Boise, Idaho
Distribution: RedHat 7.2,8.0,9, RHAS2.1
Posts: 41

Rep: Reputation: 15
hmmm I'm getting a MAC address from the card, so it must be finding it ... and the address matches the one on the back of the card
 
Old 05-26-2003, 08:15 PM   #22
biggyfries
Member
 
Registered: Apr 2003
Distribution: RH 8/KDE3.1
Posts: 33

Original Poster
Rep: Reputation: 15
Just wanted to let you know that i have not played with this in a while. I still have the card, so i will try to keep playing with it.

thanks for all the help.
 
Old 05-28-2003, 02:28 AM   #23
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Please do man, if you look at one of the other threads here on the WPC11, that got 10000 unique hits, and you're one of the first people that's going to be dealing with a card that is very very very common, shortly.

Cheers,

Finegan
 
Old 05-30-2003, 04:52 AM   #24
ericdude
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
Thanks to Finegan for the kind help with this.
I too was able to retrieve the MAC address of the card, but had little luck since.

I'm eager to get my wireless network going... What can I do to help ? I guess at this point I'd be happy to witness some form of interraction with the router :-)

I'm trying to hack the content of /etc/sysconfig/network-script but must admit I'm not quite sure what I'm doing ! I'll post if I get anywhere, but I could do with some hand-holding

Many thanks again, getting the MAC address is a *huge* step forward !

Eric
 
Old 05-30-2003, 01:17 PM   #25
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Might want to check out this thread, steven999 just got a newer copy of the driver from the author so this may be making a little more progress, best to convene all of the WPC11 version 4 traffic in the same place for the time being too:

http://www.linuxquestions.org/questi...5&pagenumber=2

Cheers,

Finegan
 
Old 05-31-2003, 09:34 PM   #26
ericdude
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
Yeah I've seen this thread... I wasn't sure if it was applicable, as I was suspecting a configuration issue on the upper layers... But after two days of whell-spining, I start to wonder whether the driver could also have its share of responsability...

Still digging but I'm hitting a rock...
 
Old 06-01-2003, 11:17 AM   #27
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
In that thread Steve picked up a newer copy of the driver precompiled for a version of SuSe. I have no idea what version, but you may want to try that one out and see if you can at least get the thing to jump:

http://www.clockwatching.net/~fin/ra...0_24x_SuSE.zip

Cheers,

Finegan
 
Old 06-02-2003, 03:56 PM   #28
ericdude
LQ Newbie
 
Registered: May 2003
Posts: 3

Rep: Reputation: 0
This version doesn't compile on RH 9.0... I'm throwing the towel, and keep on scouting the uuuuuu until a clever soul finds a solution.. Until then, it's back to good ol' 10BaseT

Good thing it's pouring in Boston, at least I can't use the laptop in the garden
 
Old 06-23-2003, 08:36 PM   #29
pijulius
Member
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 33

Rep: Reputation: 15
Same Redhat9 problem

I have the same problem to compile the rtl8180 suse verzion under redhat, i get this:

gcc -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX -I /usr/src/linux/include/ -DRTL_IO_MAP -DRTL_LITTLE_ENDIAN -DRTL_ACT_AS_STA -c -o r8180_pci_init.o r8180_pci_init.c
In file included from r8180_pci_init.c:40:
r8180_if.h:87: parse error before '*' token
r8180_if.h:88: parse error before '*' token
r8180_if.h:89: parse error before '*' token
make: *** [r8180_pci_init.o] Error 1

If i compile the rh8 driver it works, just i get this on a ping to the router:

RTL8180: Be in station mode in start_xmit!
RTL8180: Be in station mode in start_xmit!
RTL8180: Be in station mode in start_xmit!

Please help, i need to run this card.
I use RH9 and the drivers from the realtek webpage:
- rtl8180_24x_suse82.zip
- rtl8180_rh80(05).zip

and nothing works. My wlanup looks like this:
#Load module
/sbin/insmod rtl8180_24x.o

#Set SSID
/sbin/iwpriv wlan0 wlan_para ssid2scan=linksys
/sbin/iwpriv wlan0 wlan_para ssid=linksys

#Enable wireless lan driver
/sbin/iwpriv wlan0 wlan_para networktype=infra
/sbin/iwpriv wlan0 wlan_para wepmode=off
/sbin/iwpriv wlan0 wlan_para channel=6
/sbin/iwpriv wlan0 enable

#Configure wlan0 IP address
/sbin/ifconfig wlan0 172.16.100.104
echo "$(/sbin/ifconfig wlan0)"
route add default gw 172.16.100.1

I don't now what to do, how you guys have compiled it under redhat9 the suse driver?

Thank You

Last edited by pijulius; 06-23-2003 at 08:37 PM.
 
Old 06-23-2003, 09:20 PM   #30
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
http://www.linuxquestions.org/questi...904#post324904

That'll at least get the bugger to compile, join in on that thread for more work with the card.

Cheers,

Finegan
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.1 & Linksys WPC11 ver 4 sall Linux - Wireless Networking 3 04-10-2005 07:52 PM
Linksys WPC11 ver 3 & SuSE 9.1 Pro laughner Linux - Wireless Networking 3 10-29-2004 02:29 PM
Suse 9.0 Pro Linksys WPC11 ver. 3 resolved KennyK Linux - Laptop and Netbook 1 12-27-2003 06:16 PM
WPC11 ver 4 / SuSe 9.0 jamescov Linux - Networking 2 11-17-2003 08:47 PM
suse 8.2 and wpc11 ver 3 sdkvang Linux - Networking 10 11-16-2003 09:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration