[Gllug] ibook wireless

steve at julia.fractalus.com steve at julia.fractalus.com
Thu May 30 13:26:13 UTC 2002


I can't seem to get my ibook2's wireless up in linux. Using benh's kernel:

fang:/etc/network# cat /etc/debian_version 
3.0

dmesg snippet:
---
orinoco.c 0.11b (David Gibson <hermes at gibson.dropbear.id.au> and others)
hermes.c: 5 Apr 2002 David Gibson <hermes at gibson.dropbear.id.au>
airport.c 0.11b (Benjamin Herrenschmidt <benh at kernel.crashing.org>)
eth1: Station identity 001f:0001:0008:000c
eth1: Looks like a Lucent/Agere firmware version 8.12
eth1: Ad-hoc demo mode supported
eth1: IEEE standard IBSS ad-hoc mode supported
eth1: WEP supported, 104-bit key
eth1: MAC address 00:30:65:1D:BD:20
eth1: Station name "HERMES I"
eth1: ready
airport: card registered for interface eth1
---

fang:/etc/network# cat /etc/network/interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian 
installation# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
	address xxx
	netmask 255.255.255.0
	network xxx
	broadcast xxx
	gateway xxx

auto eth1
iface eth1 inet dhcp
	pre-up /usr/local/bin/inet_wireless.sh eth1


fang:/etc/network# cat /usr/local/bin/inet_wireless.sh
#!/bin/bash
IFACE=$1
iwconfig $IFACE nick fang mode Ad-Hoc
iwconfig $IFACE rate Auto
iwconfig $IFACE essid network-name-witheld
#iwconfig $IFACE key on
iwconfig $IFACE key s:the-password
iwspy $IFACE mac-address


fang:/etc/network# tail /var/log/syslog
May 30 14:39:40 fang kernel: eth0:    Link up ! BCM5201/5221 aux_stat: 
0x003d
May 30 14:39:40 fang kernel: eth0:    Full Duplex: 1, Speed: 10
May 30 14:39:49 fang dhclient-2.2.x: DHCPDISCOVER on eth1 to 
255.255.255.255 port 67 interval 7
May 30 14:39:56 fang dhclient-2.2.x: DHCPDISCOVER on eth1 to 
255.255.255.255 port 67 interval 21
May 30 14:40:17 fang dhclient-2.2.x: DHCPDISCOVER on eth1 to 
255.255.255.255 port 67 interval 20
May 30 14:40:37 fang dhclient-2.2.x: DHCPDISCOVER on eth1 to 
255.255.255.255 port 67 interval 11
May 30 14:40:48 fang dhclient-2.2.x: DHCPDISCOVER on eth1 to 
255.255.255.255 port 67 interval 1
May 30 14:40:49 fang dhclient-2.2.x: No DHCPOFFERS received.
May 30 14:40:49 fang dhclient-2.2.x: No working leases in persistent 
database. 
May 30 14:40:49 fang dhclient-2.2.x: Sleeping. 

I don't see *any* activity trying to hit the airport ufo base station

fang:/etc/network# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:03:93:8C:CF:CA  
          inet addr:xxx  Bcast:xxx  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2418 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1609 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:351402 (343.1 KiB)  TX bytes:137691 (134.4 KiB)
          Interrupt:41 

eth1      Link encap:Ethernet  HWaddr 00:30:65:1D:BD:20  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:4752 (4.6 KiB)
          Interrupt:57 

fang:/etc/network# uname -a
Linux fang 2.4.19-pre8-ben0 #4 Tue May 28 16:18:11 BST 2002 ppc unknown

have fun,

SteveC steve at fractalus.com fractalus.com/steve

-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list