[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

I'm one step away from Airport



I'm trying to connect my iBook2 with an internal Apple Airport card to
a UFO with DHCP + NAT.  It works in 9 & X.  I'm using kernel
2.4.13-pre1 + Sid, and the airport modules are loaded.

I'm sorry to be sending this, because it seems like a simple problem.
I've seen similar threads here quite recently, but they didn't help me
fix this because they were using static IPs, and I'm not.  There's a
helpful document on Yellow Dog's website, but it doesn't really apply
to Debian.  So I can't quite find the solution: Airport doesn't quite
work.

$ cat /proc/modules
soundcore               4848   0 (autoclean)
airport                 3552   1
orinoco                33328   0 [airport]
hermes                  5840   0 [airport orinoco]

# iwconfig eth1 essid ARTFL enc ten_digits_of_hex
# dhclient eth1

$ iwconfig eth1
eth1      IEEE 802.11-DS  ESSID:"ARTFL"  Nickname:"HERMES I"
          Mode:Managed  Frequency:2.412GHz  Access Point: 00:02:2D:38:99:27
          Bit Rate:2Mb/s   Tx-Power=15 dBm   Sensitivity:1/3  
          Retry limit:4   RTS thr:off   Fragment thr:off
          Encryption key:xxxx-xxxx-xx
          Power Management:off
          Link Quality:12/92  Signal level:-85 dBm  Noise level:-97 dBm
          Rx invalid nwid:0  invalid crypt:0  invalid misc:0

The "access point" is indeed the UFO's "Airport ID".

$ ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:30:65:1B:FB:52  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:57 Base address:0x4000 

The "HWaddr" is indeed my Airport card's "Airport ID".

At this point I do:
# ifdown eth0
$ ping harper.uchicago.edu
ping: unknown host harper.uchicago.edu
$ ping 128.135.12.7
PING 128.135.12.7 (128.135.12.7): 56 data bytes
ping: sendto: Network is unreachable
ping: wrote 128.135.12.7 64 chars, ret=-1

--- 128.135.12.7 ping statistics ---
1 packet transmitted, 0 packets received, 100% packet loss

What am I missing?  I think the question may be as simple as "how do I
switch network interfaces, eth0 -> eth1?" but I'm not sure.  My
/etc/network/interfaces/ for eth1 says simply:

iface eth1 inet dhcp

and this is evidently not enough to start it on boot, since I'm
supposed to enter the encryption key.  The documentation on the web is
sparse and unapplicable, dealing either with pcmcia cards or Red Hat
systems.

I'm sorry if this is longer than it needed to be.

-- 
Orion Buckminster Montoya
The ARTFL Project
773.702.8488



Reply to: