-
WPC11 ver4 using wep
In my hunt for info about this card I came across a very helpfull forum on www.linuxquestions.org. It took a while to get right but here is the short version of what I did to get the card working.
First I use the WPC11 ver 4 card (bought the card from WallyWorld on sale) on an HP N5440 laptop, so your experience may be a little different from mine. Secondly I have used the card running from the Knoppix live CD 7-26.
Now the config. stuff. This is assuming you have preconfigured your WAP using WEP. I insert the card before I boot because its autodetected. The I downloaded the latest driver from
HERE (I used the Suse version of the driver, some other people have had trouble with it but it works fine for me)
After downloading the driver I extracted everything into the /tmp directory from the Knoppix home directory. Then I edited the the begining of the make file so that is matches the kernel version. It looks like this.
VERSION = 2
PATCHLEVEL = 4
SUBLEVEL = 20
EXTRAVERSION = -xfs
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL) $(EXTRAVERSION)
INCLUDEPATH=-I /usr/src/linux/include/
After editing the make file I edited line 128 in the r8180_type.h file to look like this
/*================================================= ====================================
type definition.
================================================== ===================================*/
typedef struct timer_list timer_t;
After editing the two files I created my own WLAN script using kwrite. It looks like this. (replace the x's with the hex version of your WEP key)
#!/bin/sh
NETWORK_NAME=dewwifi
WEP_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxx
IP_ADDR=192.168.1.180
IP_MASK=255.255.255.0
IP_GATEWAY=192.168.1.1
/sbin/insmod rtl8180_24x.o
/sbin/iwpriv wlan0 wlan_para ssid2scan=$NETWORK_NAME
/sbin/iwpriv wlan0 wlan_para networktype=infra
/sbin/iwpriv wlan0 wlan_para authtype=sharedkey
/sbin/iwpriv wlan0 wlan_para wepmode=wep104
/sbin/iwpriv wlan0 wlan_para wepdkeyid=0
/sbin/iwpriv wlan0 wlan_para wepkey104_1=$WEP_KEY
/sbin/iwpriv wlan0 enable
/sbin/ifconfig wlan0 $IP_ADDR netmask $IP_MASK
/sbin/route add -net 0.0.0.0 gw $IP_GATEWAY
Basiclly I opened kwrite and pasted the info with my WEP key replacing the "x's" and saved the file wifi.sh in the tmp directory.
Now I open the Konsole window type su to become root and enter the tmp directory and run make. Then i run the wifi script by typing "sh wifi.sh".
The card should be active now but at this point the IP address has been staticly assigned. If you set your WAP to have static addresses you should be fine. But if your using DHCP you have to use netcardconfig, chose the wlan0 card and say yes to the DHCP broad cast.
This was extremely long but I hope it helps.
Dewayne
[/url]
-
hi, it all seems to work allright.. except, that i dont seem to be connected to the AP. I cant ping etc... i use knoppix, to test on my laptop since it doesnt have a harddrive yet :P
any ideas on what i could try?
Similar Threads
-
By m0s5h in forum Networking
Replies: 0
Last Post: 05-19-2004, 01:30 AM
-
By PAlvarez in forum Networking
Replies: 6
Last Post: 02-02-2004, 11:47 PM
-
By cyclops214 in forum Hardware & Booting
Replies: 1
Last Post: 01-17-2004, 03:57 PM
-
By cgoodier in forum Networking
Replies: 11
Last Post: 10-13-2003, 01:07 AM
-
By Gulliver in forum Hardware & Booting
Replies: 5
Last Post: 01-23-2003, 07:50 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
AMD EPYC 7282 CPU Processor 16 Cores 32 Threads 2.8GHZ up to 3.2GHZ 120W no lock
$75.00
Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...
$419.99
Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1
$39.99
Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...
$619.99
AMD Ryzen 5 4500 6-Core 3.6GHz Socket AM4 65W CPU Desktop Processor
$79.00
Intel Core i9-13900KF Unlocked Desktop Processor - 24 Cores (8P+16E) & 32 Thread
$539.99
Intel Core i7-3770 3.40GHz 8MB Quad Core Socket LGA1155 CPU Processor SR0PK
$35.00
Intel - Core i7-14700K 14th Gen 20-Core 28-Thread - 4.3GHz (5.6GHz Turbo) Soc...
$444.99
AMD Ryzen 7 5800X Processor (4.7GHz, 8 Cores, Socket AM4) Box - 100-100000063WOF
$159.99
AMD Ryzen 7 7700 Processor (5.3 GHz, 8 Cores, Socket AM5) Boxed -...
$259.99