Results 1 to 2 of 2

Thread: WPC11 ver4 using wep

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Location
    memphis
    Posts
    2

    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]

  2. #2
    Junior Member
    Join Date
    Mar 2004
    Posts
    1
    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

  1. WPC11 V4 and IBM Think Pad
    By m0s5h in forum Networking
    Replies: 0
    Last Post: 05-19-2004, 01:30 AM
  2. Linksys WPC11 and Knoppix
    By PAlvarez in forum Networking
    Replies: 6
    Last Post: 02-02-2004, 11:47 PM
  3. wpc11 v3
    By cyclops214 in forum Hardware & Booting
    Replies: 1
    Last Post: 01-17-2004, 03:57 PM
  4. Linksys wpc11 (v. 2.5), Knoppix 27-06
    By cgoodier in forum Networking
    Replies: 11
    Last Post: 10-13-2003, 01:07 AM
  5. Linksys WPC11 PCMCIA not supported?
    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
  •  


Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox

$340.00



HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar picture

HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar

$304.35



DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS

$712.98



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor

$5.09



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98



Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia picture

Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia

$279.56