LinuxQuestions.org
Help answer threads with 0 replies.
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 01-24-2004, 12:29 AM   #1
spyderusa11
Member
 
Registered: Jun 2003
Location: Florida
Distribution: Fedora Core 1
Posts: 71

Rep: Reputation: 15
apple airport and wep encryption


I'm running Fedora Core 1 with a wireless card that works fine on regular wireless networks, I think the driver used is orinoco or prism ii or something like that... Either way, I'm trying to connect to an Airport network with WEP encryption. I've tried with two keys, the ASCII value and the 8 digit hex value. When I run something like

iwconfig eth1 key hexpassword
dhclient eth1

it gets an IP address and can ping the router, but nothing else... If I try

iwconfig eth1 key s:asciipassword
dhclient eth1

it just keeps trying to get an IP address, but doesn't... Also, I don't understand what the difference between "key open password" and "key restricted password" is. I've tried both, but they seem to give the same results. If anyone could help me out I would appreciate it, if you need anymore info, just let me know.

Mike
 
Old 01-24-2004, 03:00 AM   #2
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
iwconfig eth1 key restricted [1] <key>

where <key> is 10 hex digits with no 0x or anything in front.

this is for 64bit WEP encryption.
 
Old 01-24-2004, 10:35 AM   #3
spyderusa11
Member
 
Registered: Jun 2003
Location: Florida
Distribution: Fedora Core 1
Posts: 71

Original Poster
Rep: Reputation: 15
ill try that later, but doesnt the [1] just index it? also, could it have anything to do with fedora automatically running /etc/pcmcia/network start eth1 when it detects the card?

Mike
 
Old 01-24-2004, 02:30 PM   #4
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
iwconfig eth1 key restricted <key> does not work.
iwconfig eth1 key restricted [1] <key> does.

From your description it sounds like you have the card configured correctly
and dhcp working, just need iwconfig changes to get things working.
 
Old 01-24-2004, 03:08 PM   #5
spyderusa11
Member
 
Registered: Jun 2003
Location: Florida
Distribution: Fedora Core 1
Posts: 71

Original Poster
Rep: Reputation: 15
That didn't work either... I mean, it's getting an IP address but it won't connect to anything. What else should I try?

Mike
 
Old 01-24-2004, 03:26 PM   #6
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
Can you post output from

ifconfig
netstat -rn
iwconfig
 
Old 01-24-2004, 03:47 PM   #7
spyderusa11
Member
 
Registered: Jun 2003
Location: Florida
Distribution: Fedora Core 1
Posts: 71

Original Poster
Rep: Reputation: 15
[root@localhost spyderusa11]# /sbin/iwconfig eth1 essid "Seausoon"
[root@localhost spyderusa11]# /sbin/iwconfig eth1 key restricted [1] afea694cbb
[root@localhost spyderusa11]# /sbin/dhclient
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

Listening on LPF/eth1/00:30:ab:14:10:ca
Sending on LPF/eth1/00:30:ab:14:10:ca
Listening on LPF/eth0/00:e0:b8:52:3d:b7
Sending on LPF/eth0/00:e0:b8:52:3d:b7
Listening on LPF/lo/
Sending on LPF/lo/
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 5
DHCPACK from 10.0.1.1
bound to 10.0.1.8 -- renewal in 1715 seconds.
[root@localhost spyderusa11]# /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:B8:52:3D:B7
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:10 Base address:0x5400 Memory:e8206000-e8206038

eth1 Link encap:Ethernet HWaddr 00:30:AB:14:10:CA
inet addr:10.0.1.8 Bcast:10.0.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1514 (1.4 Kb) TX bytes:2718 (2.6 Kb)
Interrupt:3 Base address:0x100

lo Link encap:Local Loopback
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:260 errors:0 dropped:0 overruns:0 frame:0
TX packets:260 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:24427 (23.8 Kb) TX bytes:24427 (23.8 Kb)

[root@localhost spyderusa11]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
10.0.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 10.0.1.1 0.0.0.0 UG 0 0 0 eth1
[root@localhost spyderusa11]# /sbin/iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 IEEE 802.11-DS ESSID:"Seausoon" Nickname:"Prism I"
Mode:Managed Frequency:2.412GHz Access Point: 00:60:1D:1D:3B:64
Bit Rate:11Mb/s Tx-Power=15 dBm Sensitivity:1/3
Retry min limit:8 RTS thrff Fragment thrff
Encryption key:AFEA-694C-BB Security mode:restricted
Power Managementff
Link Quality:42/92 Signal level:-63 dBm Noise level:-142 dBm
Rx invalid nwid:0 Rx invalid crypt:31 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[root@localhost spyderusa11]#
 
Old 01-24-2004, 05:10 PM   #8
beyer42
Member
 
Registered: Dec 2003
Location: San Jose
Distribution: Redhat WS 3
Posts: 410

Rep: Reputation: 30
I saw similar issues on google where dhcp worked ok, but networking was not functional with airport on linux, didnt see problem/solution descriptions.

I do see some invalid crypt packets in iwconfig output. Maybe try not setting nickname, but might not make a difference.
 
Old 01-25-2004, 02:10 PM   #9
spyderusa11
Member
 
Registered: Jun 2003
Location: Florida
Distribution: Fedora Core 1
Posts: 71

Original Poster
Rep: Reputation: 15
oh well, i dont know what else to try. i wont really have to worry though because its a network i use at my "home away from home." maybe ill figure it out next time im here. thanks for all the effort though, and if you ever come across a solution dont hesitate to post it.

Mike
 
Old 01-26-2004, 11:19 AM   #10
clar77
Member
 
Registered: May 2002
Location: Baltimore,MD
Distribution: RH8.0 FC1/2.6.1 MacOsX 10.3
Posts: 53

Rep: Reputation: 15
did you check the discussions at apple.com ?
there's someting about passing the airport a '?'at the start of the WEP key in order for it to work correctly. I'm about to enable WEP on my airport/linux box set-up and I'll let you know IF I get it to work
 
  


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
Airport in Apple iBook G4 Liakoni Ubuntu 7 06-15-2007 05:26 AM
wireless-tools not connecting to Apple Airport fatblueduck Linux - Wireless Networking 1 08-25-2005 11:57 AM
Suse 9.2 and Apple Airport Express. doobers Linux - Wireless Networking 0 06-01-2005 03:49 AM
Apple airport modem linux compatible? DeadPenguin Linux - Wireless Networking 3 01-12-2005 09:02 PM
SuSE 9.1 can't connect to internet through Apple Airport merkswitch Linux - Networking 0 12-28-2004 08:56 PM


All times are GMT -5. The time now is 02:17 AM.

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