LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-17-2003, 05:20 PM   #76
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57

Hey, I want to get in on this mess, has anyone purchased this kid OEM or solo, or is it just currently bundled with an access point?

Cheers,

Finegan
 
Old 06-17-2003, 05:44 PM   #77
bkflamer
LQ Newbie
 
Registered: Jun 2003
Location: Dublin Ireland
Distribution: Redhats 6-7-8-9
Posts: 5

Rep: Reputation: 0
I'm in Ireland and I bought one of these solo. The "brand" name is e-tech (www.e-tech.nu) and their model number is WLPC03.

On their website they say there is no Linux support for this particular card, but I downloaded the Suse driver from the realtek website, built it ontop of a stock RedHat 9 and it worked (eventually).

Note that the Suse driver on the realtek website (rtl8180_24x_suse82.zip) seems to be the most recent, updated sometime in May. The RedHat driver, last updated in March, simply doesn't work for me. It just doesn't see my Airport access point. The Suse driver works fine.

Also note that I was pulling my hair out for a while trying to get WEP working. The driver was reliably crashing whenever I tried to enable it. It turns out that I believed the "help" command and tried to set encmode=wep. encmode isn't a recoginsed parameter anymore and attempting to set it seems to screw up the driver. After attempting to set encmode, then doing an enable, the driver ran for a few seconds, whinged about getting some deauthentication frames and then locked the machine solid, flashing the CAPS LED.

My working set of cofig commands are:

/sbin/insmod rtl8180_24x.o
/sbin/iwpriv wlan0 wlan_para ssid2scan=NETWORK_NAME
/sbin/iwpriv wlan0 wlan_para networktype=infra
key=1122334455
/sbin/iwpriv wlan0 wlan_para authtype=sharedkey
/sbin/iwpriv wlan0 wlan_para wepmode=wep40
/sbin/iwpriv wlan0 wlan_para wepdkeyid=0
/sbin/iwpriv wlan0 wlan_para wepkey40_1=$key
/sbin/iwpriv wlan0 wlan_para wepkey40_2=$key
/sbin/iwpriv wlan0 wlan_para wepkey40_3=$key
/sbin/iwpriv wlan0 wlan_para wepkey40_4=$key
/sbin/iwpriv wlan0 enable
/sbin/ifconfig wlan0 IPADDRESS netmask MASK
echo "$(/sbin/ifconfig wlan0)"

Obviously replacing NETWORK_NAME IPADDRESS and MASK with the relevant values for your setup. Also change the key to the correct WEP key.
 
Old 06-18-2003, 09:24 AM   #78
tychob
LQ Newbie
 
Registered: Jun 2003
Location: Tucson, AZ
Distribution: Fedora 9
Posts: 10

Rep: Reputation: 0
Hello again,

After a clean install of RH9 I am posting from the laptop using the WPC11 v4. Did all the same things as with Mandrake 9.1 but, for whatever reason, RedHat works. Just a ./wlanup now gets me on-line. Can't really figure out why but I love it. RH9 works with the card very easily. Anyway, you CAN make the card work with linux.

Paul
 
Old 06-18-2003, 09:34 AM   #79
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Rep: Reputation: 15
What exactly did you do

Did you recompile the driver? Did you do an insmod for priv_part.o? What does your wlanup script look like? Are you using dhcp? I have RH9 and I'm having trouble getting it to work properly.

BFK
 
Old 06-18-2003, 10:16 AM   #80
tychob
LQ Newbie
 
Registered: Jun 2003
Location: Tucson, AZ
Distribution: Fedora 9
Posts: 10

Rep: Reputation: 0
Hello, BFK;

Yes, I fixed the Makefile and the typedef as discussed in earlier posts, did a make and had a happy module. <Check post #28 for the typedef fix)

No, you do not need to insmod priv_part.o if you rebuild the module.

# wlanup script#Load module
/sbin/insmod /home/phart/wlan0/rtl8180_24x.o

#Set SSID
/sbin/iwpriv wlan0 wlan_para ssid=yournetname
/sbin/iwpriv wlan0 wlan_para ssid2scan=yournetname
/sbin/iwpriv wlan0 wlan_para networktype=infra
/sbin/iwpriv wlan0 wlan_para authtype=sharedkey
/sbin/iwpriv wlan0 wlan_para wepmode=wep40
/sbin/iwpriv wlan0 wlan_para wepdkeyid=0
/sbin/iwpriv wlan0 wlan_para wepkey40_1=yourkey1
/sbin/iwpriv wlan0 wlan_para wepkey40_2=yourkey2
/sbin/iwpriv wlan0 wlan_para wepkey40_3=yourkey3
/sbin/iwpriv wlan0 wlan_para wepkey40_4=yourkey4
#/sbin/iwpriv wlan0 wlan_para hiddenAP=true

#Enable wireless lan driver
/sbin/iwpriv wlan0 enable

#Configure wlan0 for DHCP
/bin/sleep 10s
/sbin/dhclient wlan0

The sleep lets the card get going before trying to use dhclient. Otherwise I get network down errors. Seems things need a few seconds to get all sorted out.

Which answers your question about DHCP.

If you like, I'll send you a zip of the driver fixed for rh9. Let me know and good luck to you.

Paul
 
Old 06-18-2003, 10:20 AM   #81
tychob
LQ Newbie
 
Registered: Jun 2003
Location: Tucson, AZ
Distribution: Fedora 9
Posts: 10

Rep: Reputation: 0
Hello again,

I forgot to mention that you need to go to your AP setup screen, get the dns servers from there, go to the DHCP screen and apply the dns servers there or you wont get past your AP. Trivial, but hard to figure out after an 18 hour day.

Paul
 
Old 06-18-2003, 11:10 AM   #82
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Rep: Reputation: 15
Sort of working

I followed your instructions and it works, but it runs very very slowly, and when I run a dmesg, I get...

RTL8180: Be in station mode in start_xmit!

repeated over and over. It is a little slow when I start it at first, and it grinds to a halt in about 5 minutes. Any ideas what could be causing this?

Thanks,

BFK
 
Old 06-18-2003, 11:56 AM   #83
tychob
LQ Newbie
 
Registered: Jun 2003
Location: Tucson, AZ
Distribution: Fedora 9
Posts: 10

Rep: Reputation: 0
BFK,

Try adding a /etc/sysconfig/network-scripts/ifcfg-wlan0 file as described in post #39. That is the only other thing I did.

Paul
 
Old 06-18-2003, 12:52 PM   #84
bfkeats
Member
 
Registered: Feb 2002
Posts: 38

Rep: Reputation: 15
Still very slow

Hmmm. I have an ifcfg script. I'm out of ideas. If anyone has any, please let me know. Thanks for the help Paul.

BFK
 
Old 06-18-2003, 03:09 PM   #85
tychob
LQ Newbie
 
Registered: Jun 2003
Location: Tucson, AZ
Distribution: Fedora 9
Posts: 10

Rep: Reputation: 0
Anybody got it set up to be recognized on boot and installed by the boot scripts yet? It might be nice to hear those little beeps when it gets plugged in as well.

Paul
 
Old 06-22-2003, 03:08 PM   #86
orankelly
LQ Newbie
 
Registered: Jun 2003
Location: Amsterdam
Distribution: Gentoo
Posts: 3

Rep: Reputation: 0
Hi all.

Having read the full history of this thread, am I right in assuming no one has managed to get this working in MDK9.1 at all? I've been struggling with the driver myself the last while and haven't gotten very far, experiencing much the same problems as other's have mentioned.

Finegan, you're interested in other cards based on the same chipset? I've got a PCMCIA card from Edimax (http://www.edimax.com/) model number EW7106PC.

Edimax also distribute a Linux driver for their card from their website, I guess it's based on the Realtek one. However, don't bother trying: I tried to load the Redhat 7.3 driver into a base Redhat 7.3 install - driver wouldn't load due to unresolved symbols!! Driver's version string states it was compiled against a 'custom' redhat kernel - anyone care to try and determine what the settings were? :-)

oran
 
Old 06-22-2003, 05:59 PM   #87
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I already picked up a member of the family from a Fly-By-Night called LanReady, it'll be here tomorrow, and hopefully shortly after that I'll have an opportunity to contribute to this thread...

Of course, that's after I switch my main laptop back over to Slackware from OpenBSD.

Ditch the pre-compiled binaries... compile that puppy after a "make clean", and make certain to get a copy of the SuSe 8.2 labelled source, none of this should be as distro-specific as it seems to be, the binary-only library that the module compiles upon may have been compiled with the wrong glibc, but it looks like the one that comes with the SuSe set has some bugs worked out.

Cheers,

Finegan
 
Old 06-23-2003, 10:11 AM   #88
orankelly
LQ Newbie
 
Registered: Jun 2003
Location: Amsterdam
Distribution: Gentoo
Posts: 3

Rep: Reputation: 0
Unfortunately (fortunately? I dunno) I am already working off the Suse labelled driver and am compiling it myself. That driver is actually causing my MDK9.1 system to panic. Plus, it doesn't dump because it was in an interrupt handler so I can't even analyse it. I think the word might be 'grrraaahh'. It only panics when I 'enable' the card - I can actually load the driver and configure everything (apparently) okay. Once I enable..BOOOM.

Anyhoo, after 2 kernel panics files began to disappear from my ext3 filesystem (what do you mean you can't find /usr/bin/perl?!?) so I'm going to install RH9 to see if everything plays nice together in that. Guaranteed I'll get the wireless networking going now at the expense of sound or something.

Incidentally, I tried compiling the rh8 driver as well (open source part almost entirely the same, closed source part different). That actually loads too, accepts settings and enables without panicing. All it does though is have the 'Tx/Rx' light flash about 5 times then everything goes quiet again. Messages in syslog indicate the same error others reported of not joining a BSSID.

Somewhere else in this thread someone was enabling debug messages by compiling it in. You can actually do that on the command line by uttering
iwpriv wlan0 msg_level <mask>
(or was it iwpriv wlan0 wlan_para msg_level=<mask>...one of the 2 anyway)

The debug level is a bitmask, so lashing in 255 will pretty much guarantee you get everything on.

oran
 
Old 06-23-2003, 11:50 AM   #89
bostonben
Member
 
Registered: Jun 2003
Location: Boston
Distribution: Red Hat 7.1
Posts: 31

Rep: Reputation: 15
Quote:
Originally posted by orankelly


Somewhere else in this thread someone was enabling debug messages by compiling it in. You can actually do that on the command line by uttering
iwpriv wlan0 msg_level <mask>
...
The debug level is a bitmask, so lashing in 255 will pretty much guarantee you get everything on.

That'd make sense from the code, but that's not what actually
happens:
msglevel 1 turns on RTL_DDEBUG_OUTINFO (0x01)
msglevel 2 turns on RTL_DDEBUG_INFO (0x02)
msglevel 3 turns on RTL_DDEBUG_ERR (0x10) doh!

msglevel 255 acts the same as msglevel 1, as far as I
can tell.

This *is* much easier than compiling it in, though.
 
Old 06-23-2003, 03:01 PM   #90
bkflamer
LQ Newbie
 
Registered: Jun 2003
Location: Dublin Ireland
Distribution: Redhats 6-7-8-9
Posts: 5

Rep: Reputation: 0
Quote:
Originally posted by orankelly
Unfortunately (fortunately? I dunno) I am already working off the Suse labelled driver and am compiling it myself. That driver is actually causing my MDK9.1 system to panic. Plus, it doesn't dump because it was in an interrupt handler so I can't even analyse it. I think the word might be 'grrraaahh'. It only panics when I 'enable' the card - I can actually load the driver and configure everything (apparently) okay. Once I enable..BOOOM.
Hi,
as mentioned in my earlier posts, this is exactly what was happenning to me on my RedHat 9 system. As soon as I enabled the card there was a few seconds of activity and then a panic.

My problem, it may or may not be the same for you, was that because I run a network with WEP, I was trying to set the encmode param as mentioned in the help messages. However, this param no longer exists in the Suse driver. Stop trying to set it and the whole thing works fine.

Brian
 
  


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