LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-01-2002, 03:56 PM   #1
BinaryPoet
LQ Newbie
 
Registered: Oct 2002
Location: Atlanta
Distribution: Red Hat 8
Posts: 3

Rep: Reputation: 0
Question Linksys WPC11 ver 3 w/ RH 8 - Help!


I have just installed RH 8 on my Dell Inspiron 8000 with everything (including the Nvidia drivers - pain in the butt!) running well except my wireless connection.

I have a built in NIC (runs fine) and am adding a Linksys WPC11 version 3 wireless card to it. I have tried the orinoco_cs driver but still does not work (solid lights on the WPC11). Also note that I have WEP turned off (for now) and using hard IP's to connect to the wireless router / switch (using the same for the built in NIC).

Can someone walk me through wich driver and the other steps to get this working?

Thanks,

Binary Poet
"A soon to be converted Linux Geek"
 
Old 10-07-2002, 12:19 PM   #2
jbuswell
LQ Newbie
 
Registered: Oct 2002
Location: Ohio
Distribution: RedHat
Posts: 1

Rep: Reputation: 0
Lightbulb Linksys WPC11 requires linux-wlan-ng

Hi

You need linux-wlan-ng to get this to work. Here is what you need to do:

1. unload any wireless kernel modules you have loaded

2. download linux-wlan-ng from www.linux-wlan.org. I used 0.0.16-pre1.

3. Install the kernel-pcmcia-cs source rpm from RH 8.0 Disc 4.

4. Make sure you have the kernel sources from RH 8.0 installed, they should be in /usr/src/linux-2.4. If not install the kernel-sources rpm.

5. Run rpmbuild -ba /usr/src/redhat/SPECS/kernel-pcmcia-cs.spec

6. untar linux-wlan-0.0.16-pre1.tar.gz and type make config from the newly created directory.

7. you want to ONLY build the _cs driver, so say y to that, and n to the pci drivers. When it asks for the kernel sources give it /usr/src/linux-2.4, when it asks for the pcmcia-cs sources, give it /usr/src/redhat/BUILD/pcmcia-cs-3.1.31

8. type make all then make install (should work if you have a good install)

9. edit /etc/pcmcia/wlan-ng.opts to fit your network

10. /etc/rc.d/init.d/pcmcia restart

Then to configure:

iwconfig wlan0
ip link set up wlan0
ip addr add <your_ip/netmask> dev wlan0
ip route add default via <your_gw_up> dev wlan0

If you want to use WEP and you have a LinkSys access point, simply generate the key via the web interface on the access point. Then set the options in the config to match (the SSLID, key id and then defaultkey0-3 in xx:xx:xx:xx:xx notation). You can get the key values straight from the web interface under WEP key on the access point, just key in the same values and you're all set.

I'm typing this from a Dell Inspiron 5000 running RH 8.0 and using the LinkSys WPC-11 to a LinkSys access point.

Enjoy!!
 
Old 10-07-2002, 12:31 PM   #3
BinaryPoet
LQ Newbie
 
Registered: Oct 2002
Location: Atlanta
Distribution: Red Hat 8
Posts: 3

Original Poster
Rep: Reputation: 0
I will give that a try!

Thanks for replying!


B. P.

 
Old 10-08-2002, 01:15 PM   #4
stingx
Member
 
Registered: Oct 2002
Location: NYC
Distribution: Linux Mint 12 Mate
Posts: 54

Rep: Reputation: 15
WPC11 and DHCP

Terrible time getting this card working under linux...I have WEP going, and the card is identified, however, no matter what I do, it will not obtain an IP address, tries 8 times and gives up. Can anyone helo me out? I will post again when I get home from work (including printout of /var/log/messages), etc. I have been trying for too long to give up now. I am hoping someone here can help.

RedHat 8.0
Linksys WPC11 v3
Linksys WAP v2
Linksys 4-port DSL/Cable Router
 
Old 10-08-2002, 02:10 PM   #5
BinaryPoet
LQ Newbie
 
Registered: Oct 2002
Location: Atlanta
Distribution: Red Hat 8
Posts: 3

Original Poster
Rep: Reputation: 0
The first thing I would do is turn off WEP and see if you can connect. I have found taking pieces out of the "puzzle" (problem) and adding them back one by one will normally get you through it....

Is your card being reconized?

BP
 
Old 10-11-2002, 08:20 PM   #6
stingx
Member
 
Registered: Oct 2002
Location: NYC
Distribution: Linux Mint 12 Mate
Posts: 54

Rep: Reputation: 15
Angry Linksys WPC11 on RedHat 8

I have been trying now, like mad, for more than two weeks straight to get a Linksys WPC11 v3 working on RedHat 8.0. I have long since reached the end of my rope and hope that someone here can/will help me to finally get this card to work so that I can remove Win2k from my notebook. Below is a cation from /var/log/messages followed by my wlan-ng.opts file. As you can see it appears everything works except that it cannot obtain a dhcp address (yes I tried static too with no luck)

Oct 11 20:56:05 localhost kernel: Linux Kernel Card Services 3.1.22
Oct 11 20:56:05 localhost kernel: options: [pci] [cardbus] [pm]
Oct 11 20:56:05 localhost kernel: PCI: Found IRQ 9 for device 00:0a.0
Oct 11 20:56:05 localhost kernel: PCI: Found IRQ 10 for device 00:0a.1
Oct 11 20:56:05 localhost kernel: IRQ routing conflict for 00:07.5, have irq 5, want irq 10
Oct 11 20:56:05 localhost kernel: IRQ routing conflict for 00:07.6, have irq 5, want irq 10
Oct 11 20:56:05 localhost kernel: PCI: Sharing IRQ 10 with 00:10.0
Oct 11 20:56:06 localhost kernel: Yenta IRQ list 0808, PCI irq9
Oct 11 20:56:06 localhost kernel: Socket status: 30000006
Oct 11 20:56:06 localhost kernel: Yenta IRQ list 0808, PCI irq10
Oct 11 20:56:06 localhost kernel: Socket status: 30000010
Oct 11 20:56:06 localhost cardmgr[2177]: starting, version is 3.1.31
Oct 11 20:56:06 localhost cardmgr[2177]: watching 2 sockets
Oct 11 20:56:06 localhost cardmgr[2177]: Card Services release does not match
Oct 11 20:56:06 localhost kernel: cs: IO port probe 0x0c00-0x0cff: clean.
Oct 11 20:56:06 localhost kernel: cs: IO port probe 0x0100-0x04ff: excluding 0x378-0x37f 0x4d0-0x4d7
Oct 11 20:56:06 localhost kernel: cs: IO port probe 0x0a00-0x0aff: clean.
Oct 11 20:56:06 localhost kernel: cs: memory probe 0xa0000000-0xa0ffffff: clean.
Oct 11 20:56:06 localhost cardmgr[2177]: socket 1: Bromax OEM 11Mbps 802.11b WLAN Card (Prism 3)
Oct 11 20:56:07 localhost cardmgr[2177]: executing: 'modprobe prism2_cs'
Oct 11 20:56:07 localhost kernel: init_module: prism2_cs.o: 0.1.16-pre1 Loaded
Oct 11 20:56:07 localhost kernel: init_module: dev_info is: prism2_cs
Oct 11 20:56:07 localhost kernel: prism2_cs: index 0x01: Vcc 5.0, irq 3, io 0x0100-0x013f
Oct 11 20:56:07 localhost cardmgr[2177]: executing: './wlan-ng start wlan0'
Oct 11 20:56:07 localhost /etc/hotplug/net.agent: invoke ifup wlan0
Oct 11 20:56:07 localhost kernel: ident: nic h/w: id=0x801b 1.0.0
Oct 11 20:56:07 localhost kernel: ident: pri f/w: id=0x15 1.1.0
Oct 11 20:56:07 localhost kernel: ident: sta f/w: id=0x1f 1.4.2
Oct 11 20:56:07 localhost kernel: MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
Oct 11 20:56:07 localhost kernel: CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
Oct 11 20:56:07 localhost kernel: PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=4/4
Oct 11 20:56:07 localhost kernel: STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
Oct 11 20:56:07 localhost kernel: PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Oct 11 20:56:07 localhost kernel: STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
Oct 11 20:56:07 localhost kernel: STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Oct 11 20:56:07 localhost kernel: Prism2 card SN: 99SA01000000
Oct 11 20:56:08 localhost cardmgr[2177]: + message=lnxreq_hostwep
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=no_value
Oct 11 20:56:08 localhost cardmgr[2177]: + decrypt=false
Oct 11 20:56:08 localhost cardmgr[2177]: + encrypt=false
Oct 11 20:56:08 localhost cardmgr[2177]: + message=dot11req_mibset
Oct 11 20:56:08 localhost cardmgr[2177]: + mibattribute=dot11WEPDefaultKeyID=1
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=success
Oct 11 20:56:08 localhost cardmgr[2177]: + message=dot11req_mibset
Oct 11 20:56:08 localhost cardmgr[2177]: + mibattribute=dot11ExcludeUnencrypted=true
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=success
Oct 11 20:56:08 localhost cardmgr[2177]: + message=dot11req_mibset
Oct 11 20:56:08 localhost cardmgr[2177]: + mibattribute=dot11PrivacyInvoked=true
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=success
Oct 11 20:56:08 localhost cardmgr[2177]: + message=dot11req_mibset
Oct 11 20:56:08 localhost cardmgr[2177]: + mibattribute=dot11WEPDefaultKey0=e2:35:48:55:11:29:2b:b5:1b:cc:3d:cd:22
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=success
Oct 11 20:56:08 localhost cardmgr[2177]: + message=dot11req_mibset
Oct 11 20:56:08 localhost cardmgr[2177]: + mibattribute=dot11WEPDefaultKey1=0b:c8:97:c7:4d:a6:50:e6:57:9b:7c:81:6c
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=success
Oct 11 20:56:08 localhost cardmgr[2177]: + message=dot11req_mibset
Oct 11 20:56:08 localhost cardmgr[2177]: +
mibattribute=dot11WEPDefaultKey2=e8:2a:f9:b9:1c:79:84:f1:2e:5b:db:35:c9
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=success
Oct 11 20:56:08 localhost cardmgr[2177]: + message=dot11req_mibset
Oct 11 20:56:08 localhost cardmgr[2177]: + mibattribute=dot11WEPDefaultKey3=99:33:36:e7:17:6f:9d:a1:5a:94:ab:45:47
Oct 11 20:56:08 localhost cardmgr[2177]: + resultcode=success
Oct 11 20:56:15 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Oct 11 20:56:15 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
Oct 11 20:56:18 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
Oct 11 20:56:18 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
Oct 11 20:56:25 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
Oct 11 20:56:25 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
Oct 11 20:56:38 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
Oct 11 20:56:38 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
Oct 11 20:56:56 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
Oct 11 20:56:56 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
Oct 11 20:57:11 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Oct 11 20:57:11 localhost dhclient: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
Oct 11 20:57:16 localhost dhclient: No DHCPOFFERS received.
Oct 11 20:57:16 localhost dhclient: No DHCPOFFERS received.
Oct 11 20:57:16 localhost cardmgr[2177]: + /sbin/ifup wlan0
Oct 11 20:57:16 localhost cardmgr[2177]: + Error for wireless request "Set Mode" (8B06) :
Oct 11 20:57:16 localhost cardmgr[2177]: + SET failed on device wlan0 ; Function not implemented.
Oct 11 20:57:16 localhost cardmgr[2177]: + Error for wireless request "Set Frequency" (8B04) :
Oct 11 20:57:16 localhost cardmgr[2177]: + SET failed on device wlan0 ; Function not implemented.
Oct 11 20:57:16 localhost cardmgr[2177]: + Error for wireless request "Set Bit Rate" (8B20) :
Oct 11 20:57:16 localhost cardmgr[2177]: + SET failed on device wlan0 ; Function not implemented.
Oct 11 20:57:16 localhost cardmgr[2177]: + Error for wireless request "Set Encode" (8B2A) :
Oct 11 20:57:16 localhost cardmgr[2177]: + SET failed on device wlan0 ; Function not implemented.
Oct 11 20:57:16 localhost cardmgr[2177]: + Error for wireless request "Set ESSID" (8B1A) :
Oct 11 20:57:16 localhost cardmgr[2177]: + SET failed on device wlan0 ; Function not implemented.
Oct 11 20:57:16 localhost cardmgr[2177]: +
Oct 11 20:57:16 localhost cardmgr[2177]: + Determining IP information for wlan0... failed.


/etc/pcmcia/wlan-ng.opts:


case "$ADDRESS" in
wlannoenable,*,*,*)
#=======ENABLE========================================
# Do we want to enable the card at all? Set to 'n' if you don't
# want the card initialized for normal operation. Helpful for
# (re)loading flash or for test purposes.
WLAN_ENABLE=n
;;
*,*,*,*)
#=======ENABLE========================================
# Do we want to enable the card at all? Set to 'n' if you don't
# want the card initialized for normal operation. Helpful for
# (re)loading flash or for test purposes.
WLAN_ENABLE=y

#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
# of your choosing to this variable, separated by
# whitespace. The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments
# the way you want them.

USER_MIBS="p2CnfRoamingMode=1"

#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=false # true|false
lnxreq_hostWEPDecrypt=false # true|false
dot11PrivacyInvoked=true # true|false
dot11WEPDefaultKeyID=1 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP
# is required for all STAs

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=true # keylength to generate
PRIV_GENSTR="12345"

# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0= # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1=
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d

#=======SELECT STATION MODE===================
IS_ADHOC=n # y|n, y - adhoc, n - infrastructure

#=======INFRASTRUCTURE STATION START===================
# SSID is all we have for now
AuthType="opensystem" # opensystem | sharedkey (requires WEP)
# Use DesiredSSID="" to associate with any AP in range
DesiredSSID="bbbbbb"

#=======ADHOC STATION START============================
SSID="bbbbbb" # SSID
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s) OPRATES="2 4 11 22" # Supported rates in BSS (in 500Kb/s)


;;
esac

Any help at this stage would be appreciated more than you could imagine. Thanks.

Pete
 
Old 10-12-2002, 02:57 AM   #7
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Re: Linksys WPC11 on RedHat 8

Quote:
Originally posted by stingx

#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=false # true|false
lnxreq_hostWEPDecrypt=false # true|false
dot11PrivacyInvoked=true # true|false
dot11WEPDefaultKeyID=1 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP
# is required for all STAs

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=true # keylength to generate
PRIV_GENSTR="12345"

# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0= # format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1=
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d


#=======INFRASTRUCTURE STATION START===================
# SSID is all we have for now
AuthType="opensystem" # opensystem | sharedkey (requires WEP)
# Use DesiredSSID="" to associate with any AP in range
DesiredSSID="bbbbbb"

As far as I can tell from your start file, you're running encryption, but have encrypt and decrypt set to false, also you have the authtype set to opensystem when you evidently are running WEP, so it should be sharedkey. You have a blank set behind key 1, so I'm assuming you pulled your key before posting the file... at least that's a guess as it appears in your dmesg: 0b:c8:97:c7:4d:a6:50:e6:57:9b:7c:81:6c.


As the other guy posted, have you tried turing off WEP from the router and see if you can get a standard connection from that? There's caution, and then there's paranoia. Yes people could sniff your packets... it takes a lot of time, effort, and studdy to gain that level of kung-fu, and by then most people don't use it. Try it,at least for testing purposes, just to make certain the drivers are clean.

Cheers,

Finegan
 
Old 10-16-2002, 09:27 PM   #8
stingx
Member
 
Registered: Oct 2002
Location: NYC
Distribution: Linux Mint 12 Mate
Posts: 54

Rep: Reputation: 15
Thumbs up

BAMMMM!!!! Got the sucker to work with WEP. Thanks for all the help.

wewp

Last edited by stingx; 10-17-2002 at 06:24 AM.
 
Old 10-20-2002, 01:49 PM   #9
stingx
Member
 
Registered: Oct 2002
Location: NYC
Distribution: Linux Mint 12 Mate
Posts: 54

Rep: Reputation: 15
Linksys WPC11 v3 on RedHat 8 HOWTO

I thought that I would throw together a simple HOWTO to get the WPC11 going on RH8. I will add a few more items to it before putting it on my website, but it works good enough to post here as it is. Hopefully it will be of help to someone having problems like I had:

Linksys WPC11 v3 on RedHat Linux 8.0 HOWTO
created 10/16/02 by stingx


As a result of numerous days of frustration getting this device to work properly on a Sony
PCG-FX215 notebook running RedHat Linux 8.0, I decided to put this HOWTO together. If you follow the outline provided below, you will successfully have a Linksys WPC11 v3 working flawlessly. Although the steps I provide below are specific for setting up a DHCP network connection, with just a few changes it will work for a static IP connection just as easily.

I will make a few general assumptions here. Specifically, that you have a stock RedHat 8.0 installation with no modifications and that you haven't compiled modules from any other wireless lan project in order to get your Linksys card to work. If you have done either, then I highly recommend that you totally remove these modifications or simply re-install from scratch. OK, enough preamble, let's get to business...

What you need installed from the disk
Make sure that you have installed the kernel-source RPM and kernel-pcmcia-cs RPMfrom disk 1 and the pcmcia-cs SRPM (since we are building prism2_cs, w need the source tree, which installing this provides) from disk 4. I prefer to install the packages from the command line:

rpm -Uvh kernel-source-2.4.18-14.i386.rpm
rpm -Uvh kernel-source-cs-3.1.39-9.i386.rpm
rpm -Uvh kernel-pcmcia-cs-3.1.31-9.src.rpm
rpmbuild -ba /usr/src/redhat/SPECS/kernel-pcmcia-cs.spec

Next ftp to ftp://ftp.linux-wlan.org/pub/linux-w...16-pre1.tar.gz

linux-wlan-ng-0.1.16-pre1 works very well with RedHat 8.0. As non-root user, untar the file from where you downloaded it to by typing the command tar xzvf linux-wlan-ng-0.1.16-pre1.tar.gz

cd linux-wlan-ng-0.1.16-pre1

In this directory, type the following:

make config

IMPORTANT: you only want to build the cs driver, so say y to that, and n to usb, pci, etc. drivers (once you select y for cs the others should default to n). When it asks for the kernel sources, type in usr/src/linux-2.4, when asked for the pcmcia-cs sources, type in /usr/src/redhat/BUILD/pcmcia-cs-3.1.31

Select defaults for any question not answered above. Then type:

make all

Finally, as root, type:

make install

That takes care of the installation, now we configure the WPC11 to talk to the wireless access point. This is done by editing a file, as root, called wlan-ng.opts in /etc/pcmcia.



As I stated previously, I choose to setup my network using DHCP, so bear this in mind while I go step by step through the configuration of this file. Text in red is what you should edit to match. For security reasons, I will use a ficticious WEP key and SSID.


WLAN_VERSION=0
WLAN_PATCHLEVEL=1
WLAN_SUBLEVEL=16
WLAN_EXTRAVERSION=-pre2

case "$ADDRESS" in
wlannoenable,*,*,*)
#=======ENABLE========================================
# Do we want to enable the card at all? Set to 'n' if you don't
# want the card initialized for normal operation. Helpful for
# (re)loading flash or for test purposes.
WLAN_ENABLE=y
;;
*,*,*,*)
#=======ENABLE========================================
# Do we want to enable the card at all? Set to 'n' if you don't
# want the card initialized for normal operation. Helpful for
# (re)loading flash or for test purposes.
WLAN_ENABLE=y

#=======USER MIB SETTINGS=============================
# You can add the assignments for various MIB items
# of your choosing to this variable, separated by
# whitespace. The wlan-ng script will then set each one.
# Just uncomment the variable and set the assignments
# the way you want them.

USER_MIBS="p2CnfRoamingMode=1"

#=======WEP===========================================
# [Dis/En]able WEP. Settings only matter if PrivacyInvoked is true
lnxreq_hostWEPEncrypt=true # true|false
lnxreq_hostWEPDecrypt=true # true|false
dot11PrivacyInvoked=true # true|false
dot11WEPDefaultKeyID=0 # 0|1|2|3
dot11ExcludeUnencrypted=true # true|false, in AP this means WEP
# is required for all STAs

# If PRIV_GENSTR is not empty, use PRIV_GENTSTR to generate
# keys (just a convenience)
PRIV_GENERATOR=/sbin/nwepgen # nwepgen, Neesus compatible
PRIV_KEY128=true # keylength to generate
PRIV_GENSTR=""

# or set them explicitly. Set genstr or keys, not both.
dot11WEPDefaultKey0=15:17:26:9D:20:F7:11:81:AA:1C:H9:Q8:91

# format: xx:xx:xx:xx:xx or
dot11WEPDefaultKey1=
dot11WEPDefaultKey2= # e.g. 01:20:03:40:05 or
dot11WEPDefaultKey3= # 01:02:03:04:05:06:07:08:09:0a:0b:0c:0d


#=======SELECT STATION MODE===================
IS_ADHOC=n

#=======INFRASTRUCTURE STATION START===================
# SSID is all we have for now
AuthType="sharedkey" # opensystem | sharedkey (requires WEP)
# Use DesiredSSID="" to associate with any AP in range
DesiredSSID="linksys"

#=======ADHOC STATION START============================
SSID="linksys" # SSID
BCNINT=100 # Beacon interval (in Kus)
CHANNEL=6 # DS channel for BSS (1-14, depends
# on regulatory domain)
BASICRATES="2 4" # Rates for mgmt&ctl frames (in 500Kb/s) OPRATES="2 4 11
22" # Supported rates in BSS (in 500Kb/s)


;;
esac


NOTE: In this script you must substitute DesiredSSID and/or SSID for your own and you must type in your own WEP key for dot11WEPDefaultKey0. This information is easily obtained by opening your web browser and accessing the WAP with the IP Address you assigned it when you installed the device.

All that is left is to run, as root, /etc/rc.d/init.d/pcmcia stop, remove your card (if it was inserted), run /etc/rc.d/init.d/pcmcia start, insert your card and you should be one happy mofo.

It helps to tail -f /var/log/messages as you do this so you can see if any errors occur as a result of a mistake you may have inadvertantly made.

That's it. I wish you much happiness as you undertake your internet endevors wirelessly...
 
Old 10-26-2002, 06:36 PM   #10
Facemask
LQ Newbie
 
Registered: Oct 2002
Location: Virginia, U.S.A.
Distribution: Red Hat 8.0
Posts: 1

Rep: Reputation: 0
I'm a total linux/RH newbie running a fresh install of RH 8.0 on a Dell C600 with a WPC11 v3 NIC. I followed all of the directions stingx posted and I'm still not able to hook up to my Linksys wireless AP/router.

During the boot sequence I can see that the pcmcia and 80211 drivers are loading, and the LED on my NIC goes from flashing to solid, but after that, no luck. I can't ping my router, I can't get anywhere with Mozilla, and the NIC doesn't show up in the network configuration screen in the GUI. The only thing that shows up there is eth0 which is my on-board RJ45 port - not my wireless.

If I do "iwconfig wlan0", it shows my AP MAC and the signal quality will change as I go around the house - it get's perfect when I'm standing next to the AP.

Any ideas?

OK. -- Post Script from one day later. After searching the 'net for more info on the subject, I found that a little route configuration always does the trick. I added the following lines to /etc/rc.local:

ifconfig wlan0 192.168.1.5 netmask 255.255.255.0 broadcast 192.168.1.0
route add default gw 192.168.1.1 wlan0
(inserting your own IP addresses and GW info as required, of course)

And now I am one happy dude editing this post ***WIRELESSLY*** ooohhh...aaaaahhhhh

Last edited by Facemask; 10-27-2002 at 07:57 PM.
 
Old 12-06-2002, 06:52 PM   #11
StillTryin
LQ Newbie
 
Registered: Dec 2002
Posts: 2

Rep: Reputation: 0
Question WEP Problems with WPC11 Ver 3 RH 8.0

Here's what I have:

1. Netgear MR814NA wireless router.
2. A very old laptop (Gateway Solo P3C).
3. Linksys WPC11 ver. 3 pcmcia card.
4. Redhat 8.0 (kernel 2.4.18-14)
5. wlan-ng drivers installed via rpm from http://prism2.unixguru.raleigh.nc.us/rh80/index.html

I have not upgraded the firmware for either the router or
pcmcia card.

After editing /etc/pcmcia/wlan-ng.opts I was able to get
the laptop to communicate with the router using the
"opensystem" setting.

After that I tried to get the WEP going. This is where
things got funny.

After reading some posts here, I changed both
lnxreq_hostWEPEncrypt/Decrypt options to true
and did a "service pcmcia reload" and was
able to get WEP going after a bit of trial and error.

This is where it gets strange. I have only been able to make
the WEP work with 128bit shared key, and *ONLY* with
the shared key of 11:11:11:11:11:11:11:11:11:11:11:11:11
If I change just 1 digit to a 2 on both the router and in the
wlan-ng.opts file, I can no longer connect to the router.

I've been bashing my brains out for several days now, but
have not found anything else that works. Only the afore
stated key.

I have even tried /sbin/nwepgen in conjunction with the
routers "Passphrase" and "Generate" interface.

Any other suggestions?

As a note: The Netgear web interface accepts keys without
the ":" characters, so on the router I have set "Key1" as
11111111111111111111111111.

Thanks in advance for any help, and thank you to all
who have posted here to get me this far.


-StillTryin
 
Old 01-24-2003, 02:02 AM   #12
crazymand
LQ Newbie
 
Registered: Oct 2001
Posts: 2

Rep: Reputation: 0
http://www.ibiblio.org/pub/Linux/doc...Link-sys-WPC11
 
Old 01-31-2003, 01:50 PM   #13
primeministerof
LQ Newbie
 
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
this is driving me crazy

okay, i'm new to the whole linux thing, but i know how to follow instructions. now, if i try any of the rpm -Uvh (there's three), i get that no such file or directory exists, but i installed the two from disk 1 during the install and the other kernel-pcmcia from the 4th disk once i got redhat up by double-clicking on the rpm on the cd in graphical view. however, if i try the rpmbuild command, same thing, no such file or directory. what am i missing? i have tried for four days now and installed numerous times, just in case i missed something. all your help is very very much appreciated. thank you
 
Old 02-01-2003, 04:10 PM   #14
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 72
Primey,

First off, what card? WPC11 v3? RedHat doesn't by default send out drivers for that one, you have to sort of add in support after the fact. Re-installing doesn't help, find an install you like, then post back.

Which RPMs are you referring to? The ones from the linux-wlan project?

Cheers,

Finegan
 
Old 02-02-2003, 12:29 PM   #15
primeministerof
LQ Newbie
 
Registered: Jan 2003
Posts: 2

Rep: Reputation: 0
update

Shoulda sent this is sooner. I got mandrake instead. it has better support, I think. I needed to make a hermes.conf file and then just edit a couple settings and that was it. cheers for responding though. thank you. it's nice to know that there are a few people out there who aren't above us newcomers. peace
 
  


Reply



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
Suse 9.1 & Linksys WPC11 ver 4 sall Linux - Wireless Networking 3 04-10-2005 07:52 PM
Linksys WPC11 ver 3 & SuSE 9.1 Pro laughner Linux - Wireless Networking 3 10-29-2004 02:29 PM
Problem Configuring Linksys WPC11 ver 3.0 wireless card laughner Linux - Wireless Networking 5 07-12-2004 07:47 PM
Suse 9.0 Pro Linksys WPC11 ver. 3 resolved KennyK Linux - Laptop and Netbook 1 12-27-2003 06:16 PM
wpc11 ver 4 linksys card biggyfries Linux - Networking 1 08-12-2003 09:26 AM

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

All times are GMT -5. The time now is 08:22 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