LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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
 
Search this Thread
Old 09-21-2003, 05:01 AM   #256
Zealous
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Pretty close, but....


Great thread, finnegan and bostonben you've done some great work!

By using this thread I've gotten my dodgy no-name card (i think it's from cameo.com.tw) on the net, but there's a few niggling issues with it.

I'm running rh8 with the 2.4.18-14 kernel. I compiled the v1.3 (gcc3.x.x) version of the drivers from the realtek site. I do all the standard insmod blah in my wlanup, and it works fine. Got 64bit wep going and all that. Web works, pinging local network works fine (for some reason pinging outside local is quirky). It all seems to work ok, except that it's very slow.

Hotplug decided to load the driver all by itself, which I thought was nice of it:

Sep 21 19:37:40 localhost kernel: ******** RTL8180 Wireless Lan Driver 2003-06-11 loaded********
Sep 21 19:37:40 localhost kernel: PCI: Setting latency timer of device 01:00.0 to 64
Sep 21 19:37:40 localhost kernel: RTL8180: 01:00.0: region #0 IS a PIO resource!
Sep 21 19:37:40 localhost kernel: RTL8180: request_region(0x00004000,0x00000100) !
Sep 21 19:37:40 localhost kernel: RTL8180: STA is NOT acting as AP!
Sep 21 19:37:40 localhost kernel: RTL8180: LITTLE_ENDIAN memory access
Sep 21 19:37:40 localhost kernel: RTL8180: station mode eeprom info
Sep 21 19:37:40 localhost kernel: RTL8180: EEpromAddressSize = 8!
Sep 21 19:37:40 localhost kernel: RTL8180: eepromID = 0x8129
Sep 21 19:37:40 localhost kernel: RTL8180: EEPROMVersion = 0x0102
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 0 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 1 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 2 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 3 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 4 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 5 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 6 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 7 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 8 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 9 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 10 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 11 = 0xe0
Sep 21 19:37:40 localhost /etc/hotplug/net.agent: invoke ifup wlan0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 12 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: Tx Power Level, channel 13 = 0xe0
Sep 21 19:37:40 localhost kernel: RTL8180: ChannelPlan = 0x0000
Sep 21 19:37:40 localhost kernel: RTL8180: RFChipID = 0x0003
Sep 21 19:37:40 localhost kernel: RTL8180: EEPROMVersion > 0x0101
Sep 21 19:37:40 localhost kernel: RTL8180: AntennaDiversity = TRUE
Sep 21 19:37:40 localhost kernel: RTL8180: CSThreshold = 0x000b
Sep 21 19:37:40 localhost kernel: RTL8180: DigitalPhy = FALSE
Sep 21 19:37:40 localhost kernel: RTL8180: DefaultAntennaB = FALSE
Sep 21 19:37:40 localhost kernel: RTL8180: CSMethod = RCR_EnCS1
Sep 21 19:37:40 localhost kernel: RTL8180: wlan driver loaded. ioaddr=0x4000, irq=10, MAC_addr=0:40:f4:5e:42:47

And when I run wlanup:
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [ssid2scan]
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [networktype]
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [channel]
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [wepmode]
Sep 21 19:38:33 localhost kernel: RTL8180: Set wepmode = ON <WEP40>
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [wepdkeyid]
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP default key id = 0
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [wepkey40_1]
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [1]th default key = aaaaaaaaaa <in hex>
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [1]th default key = aa aa aa aa aa <in hex>
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [wepkey40_2]
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [2]th default key = bbbbbbbbbb <in hex>
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [2]th default key = bb bb bb bb bb <in hex>
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [wepkey40_3]
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [3]th default key = cccccccccc <in hex>
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [3]th default key = cc cc cc cc cc <in hex>
Sep 21 19:38:33 localhost kernel: RTL8180: Use RTL private command [wepkey40_4]
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [4]th default key = dddddddddd <in hex>
Sep 21 19:38:33 localhost kernel: RTL8180: Set WEP40 [4]th default key = dd dd dd dd dd <in hex>
Sep 21 19:38:34 localhost kernel: RTL8180: ------ Enable wlan driver ------
Sep 21 19:38:34 localhost kernel: RTL8180: WLAN driver version 1.3
Sep 21 19:38:34 localhost kernel: RTL8180: wireless LAN controller RTL8180 + philips RF.
Sep 21 19:38:34 localhost kernel: RTL8180: PHILIPS_Config()
Sep 21 19:38:34 localhost kernel: RTL8180: PHILIPS_Config() - Analog mode
Sep 21 19:38:34 localhost kernel: RTL8180: ENABLE_RTL_DCST
Sep 21 19:38:34 localhost kernel: RTL8180: Set dot11PrivacyInvoked = 1.
Sep 21 19:38:34 localhost kernel: RTL8180: encryptmode = RTL_ENC_WEP
Sep 21 19:38:34 localhost kernel: RTL8180: wepkeymode = WEP_MODE_ON_40
Sep 21 19:38:34 localhost kernel: RTL8180: Turn on hardware WEP. SCR = 0x3
Sep 21 19:38:34 localhost kernel: RTL8180: Select a BSS and Join it at channel 6.
Sep 21 19:38:34 localhost kernel: RTL8180: ----------------------------------------------------------
Sep 21 19:38:34 localhost kernel: RTL8180: wlan0 Link status:
Sep 21 19:38:34 localhost kernel: RTL8180: Channel number = 6
Sep 21 19:38:34 localhost kernel: RTL8180: beacon period = 100
Sep 21 19:38:34 localhost kernel: RTL8180: BSSID = 0x00:0x40:0xf4:0x80:0xf2:0xab
Sep 21 19:38:34 localhost kernel: RTL8180: SSID = AP
Sep 21 19:38:34 localhost kernel: RTL8180: Capability = 0x11
Sep 21 19:38:34 localhost kernel: RTL8180: AID = 0x02
Sep 21 19:38:34 localhost kernel: RTL8180: Operational rate = 0x0F <bit 0~3 = 1~11 Mbps>
Sep 21 19:38:34 localhost kernel: RTL8180: ----------------------------------------------------------

So everything is looking ok, I set the ip statically and tell it where the default gateway is, and we're all good. But then for some reason I get this message in /var/log/messages every couple of seconds:

Sep 21 19:38:35 localhost kernel: RTL8180: Roaming...
Sep 21 19:38:35 localhost kernel: RTL8180: Select a BSS and Join it at channel 6.
Sep 21 19:38:35 localhost kernel: RTL8180: wlan_sta_tbl_add return false!
Sep 21 19:38:35 localhost kernel: RTL8180: ----------------------------------------------------------
Sep 21 19:38:35 localhost kernel: RTL8180: wlan0 Link status:
Sep 21 19:38:35 localhost kernel: RTL8180: Channel number = 6
Sep 21 19:38:35 localhost kernel: RTL8180: beacon period = 100
Sep 21 19:38:35 localhost kernel: RTL8180: BSSID = 0x00:0x40:0xf4:0x80:0xf2:0xab
Sep 21 19:38:35 localhost kernel: RTL8180: SSID = AP
Sep 21 19:38:35 localhost kernel: RTL8180: Capability = 0x11
Sep 21 19:38:35 localhost kernel: RTL8180: AID = 0x02
Sep 21 19:38:35 localhost kernel: RTL8180: Operational rate = 0x0F <bit 0~3 = 1~11 Mbps>
Sep 21 19:38:35 localhost kernel: RTL8180: ----------------------------------------------------------

I think this is slowing me down drastically. I use synergy to use a single keyboard/mouse across 3 computers and when the cursor is on the laptop running the rtl8180 the cursor pauses every second or two.

I hope there's some way I can turn off this roaming feature, any help would be greatly appreciated.
 
Old 09-21-2003, 10:48 AM   #257
capedc
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Success...d'oh partial success anyway. My link light lights up, blinking on and off. So something is happening but I still cannot connect. What is wrong...getting closer but not close enough...i guess.

Does this mean that the link is active, why would I not be connecting. or is it a weak connection.

BTW, thank god for this thread or I would be in deep trouble. Thanks in advance
 
Old 09-23-2003, 12:18 PM   #258
Ledneh
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Oi, I've been getting that "wlan_sta_tbl_add return false!" problem, too! Needless to say, its driving me just slightly nuts, especially considering trying to disable the card at this point, unplug it, really anything but switching off the computer makes the kernel go nuts.

This seems to happen in my (very, very default) Gentoo installation, but NOT when I boot from my Knoppix CD and start it up. Hmm. :/
 
Old 09-23-2003, 01:46 PM   #259
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I've been swapping emails with a guy from Georgia Tech over this card lately. Between that and the fact that I've gotten buggy results myself accross different laptops with identical kernels and gccs, I've come to a few "theoretic" conclusions:

1. Distro and kernel have nothing to do with the functionality of the card, the pre-compiled RH 9.0 binaries fail just as often as a not with the usual "initializing" bug, etc...

2. The gcc 3.x version works more often then the 2.95 version... that's really a guess, but by track record the later of the two seems to hork constantly.

3. Juggling the memory allocations in /etc/pcmcia/config.opts seems to be able to mitigate the big crash bug somewhat.

That's it... everything else is guesswork. I'm going to mail the guys at Realtek again and see if its possible for them to open the precompiled core of the driver. Who knows...

Cheers,

Finegan
 
Old 09-23-2003, 04:51 PM   #260
Ledneh
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
About my previous post--the one with the ""wlan_sta_tbl_add return false!" and repeated initialization forever in /var/log/messages--just for shits 'n' giggles, I changed back from kernel 2.4.22-ck2 (vanilla 2.4.22 with ck's patch set) to 2.4.20-gentoo-r5 (vanilla 2.4.20 with Gentoo performance patches), and voila, the error disappeared (it timed out once, but with a different error, then connected--from there, it was just a matter if ifconfig-ing my way to victory )

So just a thought to keep in mind: maybe the drivers are FUBAR'd with kernels higher than 2.4.20?

(edit) Actually, I lied about the ifconfig part; I had to use dhcp, since all my attempts to get a static IP from my router failed. The point is, the card connected. I'm probably just making some dumb omission like the I am.(/edit)
 
Old 09-23-2003, 04:55 PM   #261
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Nah, I've gotten this to work with 2.4.23-pre4, the ac-X tree of 2.4.22, the xfs patch sets of vanilla 2.4.20, 21, and 22 and not gotten it to work on different laptops with the same kernel and .config file. Its pure voodoo.

Cheers,

Finegan
 
Old 09-23-2003, 05:57 PM   #262
Ledneh
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Really? Well, dammit. Now I officially hate this fugging thing for its strange voodoo-ness. Well, maybe something in the ck patches broke it. *shrug*

Think it'd work more reliably if I hit it a few times, like my old console TV?

By the way, finegan, you ever see that endless reconnecting with that "wlan_sta_tbl_add return false!" error? If you have any advice on that count, it'd be mucho appreciated.
 
Old 09-23-2003, 06:28 PM   #263
Zealous
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
yer I'm running 2.4.18 and everything works fine, except for the wlan_std_blah error
 
Old 09-23-2003, 07:00 PM   #264
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
Quote:
Originally posted by Ledneh
By the way, finegan, you ever see that endless reconnecting with that "wlan_sta_tbl_add return false!" error? If you have any advice on that count, it'd be mucho appreciated.
Nope, can't think of what Gentoo may have added too... there aren't any big patches I can think of that are applied against wireless_extensions... I'm about to try out my RTL8180 on a 2.4.20-xfs-r3 gentoo kernel, hopefully I can reproduce it, I'm in the middle of my first big emerge right now though... so it'll probably be a few hours.

Cheers,

Finegan
 
Old 09-23-2003, 07:28 PM   #265
darrellk
LQ Newbie
 
Registered: Sep 2003
Location: Sussex, UK
Posts: 5

Rep: Reputation: 0
Ledneh,

you could try the crazy procedure which eventually got mine working - I was getting similar errors to you at one point. details are posted earlier in this thread (dated the 17th September).

Good Luck.

BTW, does anyone else have any idea why what I did worked?

Darrell
 
Old 09-24-2003, 01:21 AM   #266
wrapp
LQ Newbie
 
Registered: Aug 2003
Posts: 5

Rep: Reputation: 0
It seems the current driver is not working. Different posting say it works while most installations don't work. The closed part of the driver seems to be BIOS dependent, power management etc. .
Global success seems to be only available if this part becomes open source so that some driver gurus are able to have a look on it. For 54 MBit/s chips Atheros released his specification. Why realtek isn't doing the same way? I think the 11MBit/s chips will loose within one year - the new faster standard coming up.

Wolfgang
 
Old 09-24-2003, 02:52 AM   #267
Zealous
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Looking at the stuff in /proc/rtl8180, there's a reference to wlan_sta_tbl in /proc/rtl8180/ap_status. wlan_sta_tbl[1] shows the mac of the AP etc. I'd guess that wlan_sta_tbl is an array of wlan stations and wlan_sta_tbl_add is a function for adding another one to the table. Looking in /proc/rtl8180/bssdb shows that it says "Scanning in progress...". So once again, I'd hazard a guess that the card is looking for more stations and keeps trying to add the same station, so the wlan_sta_tbl_add function returns false.

Of course, this guessing is all pointless because I can't guess how to stop it looking for more APs.
 
Old 09-24-2003, 08:02 PM   #268
Zealous
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Received a reply from realtek on this issue:

"If the card detects the beacom from AP is less than normal (signal is weak), it will try to roam to other AP (the signal is strong). But if there is no AP to connect, it will be back to the original one. Our driver will show “wlan_sta_tbl_add return false!” when this behavior appears. It is normal and we will remove this message in next version. Thank you for your information."

I also requested they opensource the driver in my reply but they didn't say anything about that
 
Old 09-24-2003, 09:45 PM   #269
Ledneh
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
I hope they fix it so it actually CONNECTS to the 'weak-signal' AP instead of just trying again and again to find another one--without an error message, now.
 
Old 09-24-2003, 10:04 PM   #270
kcalvert
LQ Newbie
 
Registered: Sep 2003
Posts: 1

Rep: Reputation: 0
Can anyone post a Step-By-Step on how to get a wireless card using the Realtek 8180 chipset working with Redhat 8/9?

I have read through the entire thread and I am now a little better off than where I am but I am still not on the wireless network.

I'm beginning to get dissapointed.

I have the Zonet XEW1300 wireless PCI card that is based on the Realtek 8180 chipset and have both Redhat 8 and 9 but I have tried to get the card up and running on both versions of Redhat with no success.

Could anyone please help me out? Any help would be greatly appreciated.

Thanks in advance.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linksys WPC11 version 4 aover25 Linux - Wireless Networking 5 02-12-2006 10:01 PM
WPC11 version 3 chiatello Linux - Networking 0 10-28-2003 08:32 PM
Linksys WPC11 version 4 kronixx Linux - Networking 1 06-07-2003 09:25 PM
WPC11 Version 4 StarCat Linux - Networking 1 05-03-2003 11:13 AM
Linksys WPC11 Version 3 haqtiq Linux - Networking 3 01-15-2003 10:33 PM


All times are GMT -5. The time now is 03:33 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration