Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
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?


  Search this Thread
Old 06-07-2004, 02:25 PM   #1
LQ Newbie
Registered: Oct 2003
Posts: 4

Rep: Reputation: 0
WPC11 wireless starts OK, dies, needs manual kickstart

Hi all. Bought a D-Link RTL8180 equipped wireless PCMCIA card over the weekend. Got it up and running after a couple hours thanks to the forums here. Works great at home (no WEP at this time).

Here at work, it took a bit of work to get the WEP up. All is good now. However, while my script activates the link and the network interface, for some reason the interface collapses after 1-2 seconds of operation. I am then forced to ifconfig wlan0 up and route add default gw x.x.x.x to get back to where I was. The link will continue to work normally and indefinitely after that manual activation

I do not have this issue when connecting to my home, non-WEP'd router.

I tried sticking all kinds of sleep lines in, thinking it was just a timing bug. No change.

I'm on a fresh load of RH9 (2.4.20-8) and am using the latest RTL8180 driver off the site. All compiled fine AFAIK.

I'm thinking the issue is either my script, or some goof in the way the RTL8180 driver initializes the WEP.

The relevant part of my wlan script:

echo "Starting wireless interface for WaveLAN Network..."
echo "Preparing PCMCIA socket..."
cardctl eject
sleep 1
cardctl reset
sleep 1
cardctl insert
sleep 2
echo "Activating RTL8180 module..."
/sbin/insmod -f /lib/modules/2.4.20-8/kernel/drivers/net/wireless/rtl8180_24x.o
echo "Activating wireless link..."
/sbin/iwpriv wlan0 wlan_para networktype=infra
/sbin/iwpriv wlan0 wlan_para ssid2scan="WaveLAN Network"
/sbin/iwpriv wlan0 wlan_para ssid="WaveLAN Network"
/sbin/iwpriv wlan0 wlan_para authtype=opensystem
/sbin/iwpriv wlan0 wlan_para encmode=on
/sbin/iwpriv wlan0 wlan_para wepmode=wep40
/sbin/iwpriv wlan0 wlan_para wepkeyid=0
/sbin/iwpriv wlan0 wlan_para wepkey40_1=xxxxxxxxxx
/sbin/iwpriv wlan0 msglevel 1
/sbin/iwpriv wlan0 enable
sleep 1
echo "Activating network interface..."
/sbin/ifconfig wlan0 up
/sbin/route add default gw
echo "Interface activated."
echo "$(/bin/cat /proc/rtl8180/status)"
So there you have it. I can live with it the way it works, but I'd like it to be more automatic.


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
Wireless Dies in XWindows WashURick Linux - Wireless Networking 4 11-03-2005 10:17 AM
bridge starts on boot but dies on logoff? doublez Linux - Networking 0 09-23-2005 11:35 AM
how to I have my box automaticall reconnect to my wireless network after it dies? JackSmith Linux - Newbie 1 06-11-2005 11:58 PM
My Wireless WPC11 Linksys =( Dumpsterm0uth Linux - Hardware 2 01-14-2003 06:38 PM
Linksys WPC11 Wireless in RH 8.0 - Need Help Slinger Linux - General 1 11-14-2002 02:59 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:15 AM.

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