LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-23-2003, 01:47 PM   #1
routedashf
LQ Newbie
 
Registered: Nov 2003
Location: Colorado
Distribution: Red Hat Enterprise, SuSE Professional, Debian 3.0
Posts: 4

Rep: Reputation: 0
Netgear MA521 (RTL8180) problem with AirPort AP and Red Hat 9


I have been reading the WPC11 version 4 thread, as I have a MA521 card based on the same chipset. I have tried various iwpriv settings, but I can't get the card to fully connect to the AP. Here is the relevant output from my /var/log/messages.

Nov 23 12:11:26 localhost kernel: ******** RTL8180 Wireless Lan Driver 2003-10-17 loaded********
Nov 23 12:11:26 localhost kernel: RTL8180: 05:00.0: region #0 IS a PIO resource!
Nov 23 12:11:26 localhost kernel: RTL8180: request_region(0x00004800,0x00000100) !
Nov 23 12:11:26 localhost kernel: RTL8180: Turn on RTL_DDEBUG_OUTINFO
Nov 23 12:11:26 localhost kernel: RTL8180: Using RTL private command [ssid]
Nov 23 12:11:26 localhost kernel: RTL8180: RTL8180: Set AP mSsid = <network ssid>
Nov 23 12:11:26 localhost kernel: RTL8180: Using RTL private command [ssid2scan]
Nov 23 12:11:26 localhost kernel: RTL8180: Using RTL private command [networktype]
Nov 23 12:11:26 localhost kernel: RTL8180: Using RTL private command [wepmode]
Nov 23 12:11:26 localhost kernel: RTL8180: Set wepmode = OFF
Nov 23 12:11:27 localhost kernel: RTL8180: ------ Enable wlan driver ------
Nov 23 12:11:27 localhost kernel: RTL8180 WLAN driver version 1.4
Nov 23 12:11:27 localhost kernel: RTL8180: wireless LAN controller RTL8180 + philips RF.
Nov 23 12:11:27 localhost kernel: RTL8180: PHILIPS_Config()
Nov 23 12:11:27 localhost kernel: RTL8180: PHILIPS_Config() - Analog mode
Nov 23 12:11:27 localhost kernel: RTL8180: Set dot11PrivacyInvoked = 0.
Nov 23 12:11:27 localhost kernel: RTL8180: encryptmode = RTL_ENC_NONE
Nov 23 12:11:27 localhost kernel: RTL8180: wepkeymode = WEP_MODE_OFF
Nov 23 12:11:28 localhost kernel: RTL8180: Select a BSS and Join it at channel 6.
Nov 23 12:11:30 localhost kernel: RTL8180: Join Request Timeout 1 times. Select another BSS to Join.

Instead of getting the wlan0 connection status, I see the bolded message. It repeats the Select a BSS and Join Request Timeout over and over until I disable the wlan0 interface.

While this is occurring, here is the output from /proc/rtl8180/status:

$ cat /proc/rtl8180/status
---------------------------------------
Driver status
---------------------------------------

rtl8180_pci_driver version 1.4 loaded.
The Network is configured as Infrastructure mode.
MacAddr = 00:09:5b:22:17:27
ioaddr = 0x4800
irq = 11


---------------------------------------
Wireless Link status
---------------------------------------

Link Fail!

Channel number = 6
beacon period = 100
BSSID = 0x00 0x30 0x65 0x02 0x78 0xc4
SSID = <network ssid>
Capability = 0x01
AID = 0x00
Operational rates = <1><2><5.5><11>Mbps
Current TX operational rates = <1>Mbps
--
While it is trying to connect to the AP, the Link light on the card flashes three times, pauses for a couple seconds and flashes three times, over and over.

I also run Windows 2000 on this laptop and as near as I can tell the settings between Windows and Linux match, yet the card works in Windows. It obviously can see my AP, it just doesn't get the link to it.

I set up the wlanup as a startup script, but here are the relevant parts from it (iwpriv stuff).

/etc/sysconfig/wlan (gets sourced by /etc/init.d/wlan)
SSID=<network ssid>
WEPMODE=off
NETWORKTYPE=infra
CHANNEL=6

/etc/init.d/wlan
# If the modules aren't loaded, load them.
lsmod | grep "^rtl8180_24x" 2>&1>/dev/null
if [ $? != 0 ]; then
insmod /lib/modules/`uname -r`/wlan-ng/rtl8180_24x.o 2>&1>/dev/null
fi
lsmod | grep "^priv_part" 2>&1>/dev/null
if [ $? != 0 ]; then
insmod -f /lib/modules/`uname -r`/wlan-ng/priv_part.o 2>&1>/dev/null
fi
# Turn debugging messages on
iwpriv wlan0 msglevel 1
# Settings for the WAP.
iwpriv wlan0 wlan_para ssid=$SSID
iwpriv wlan0 wlan_para ssid2scan=$SSID
iwpriv wlan0 wlan_para networktype=$NETWORKTYPE
iwpriv wlan0 wlan_para wepmode=$WEPMODE
# Enable the interface
iwpriv wlan0 enable
# This interface should be configured via DHCP:
# Disabling until wlan0 connects to AP
#sleep 10
#dhclient wlan0 2>/dev/null
--
The access point doesn't have WEP enabled, it is configured to channel 6, DHCPd and DHCP(client) enabled. There is a network password but as near as I can tell that is just to administer the device. The most frustrating part is that it works just fine in Windows, and that it sees the SSID and MAC for the AirPort. I've tried authtype={sharedkey|opensystem|both} and none of those options worked. I've tried making up new wlan_para-meters and those didn't work either .

Thank you.
 
Old 12-04-2003, 01:21 PM   #2
silkio
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
Hi Routedashf

I am experiencing the same message as you from my MA521.

"Join Request Timeout 1 times. Select another BSS to Join"

Did you have any luck resolving this issue?

Thanks

Alex
 
Old 12-15-2003, 02:21 PM   #3
berglua
LQ Newbie
 
Registered: Dec 2003
Distribution: Redhat 9
Posts: 12

Rep: Reputation: 0
I have got my Uniden PCMCIA card (same rtl8180 chipset) working on RH9, so try this manually in terminal:

/sbin/insmod rtl8180_24x.o

/sbin/iwpriv wlan0 wlan_para ssid2scan=your_ssid_info

/sbin/iwpriv wlan0 wlan_para networktype=infra

/sbin/iwpriv wlan0 wlan_para channel=your_channel_number

/sbin/iwpriv wlan0 enable

dhclient wlan0


Following those steps in order will successfully activate my card, and give my a good solid connection. But when I placed them all in a script they ran too fast, so I had to add a 1 second pause (sleep 1) between each command.

I haven't gotton around to figuring out where to place this stuff so that it runs during startup yet (I've only been playing with Linux for a week or so), but plan to take care of that soon.

Arne

Last edited by berglua; 12-15-2003 at 02:23 PM.
 
  


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
MA521 (RTL8180) Monitor mode? Armon Linux - Networking 0 03-12-2005 12:05 AM
Netgear MA521 mr_a_ali Linux - Wireless Networking 2 08-19-2004 07:49 AM
need help with netgear MA521 illjawz Linux - Networking 1 12-08-2003 10:24 PM
Red Hat 9.0 NetGear FA311 Nic Problem! Midnight Rain Linux - Networking 1 05-16-2003 10:10 PM
Red Hat 8.0 and NetGear FA311 problem rbaer Linux - Networking 47 11-14-2002 11:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:49 PM.

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