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

Can Anyone Explain the over-all view of Wireless Networking?



I have a Sid box with a wireless PCI card. Somehow or 'nuther I got it
working last year.

Last week the power supply died, and rather than scrounge up another, I
just moved the hard drive and wireless card to another computer. I'm
doing the work on the computer in a different location, with a different
wireless provider than where the computer normally sits.

Now I get no dhcp offers received. I don't understand how ifup/down and
/etc/modules and udev and /etc/network/interfaces and "wpa-conf
/etc/wpa_supplicant/wpa_supplicant.conf" and iwlist/spy/scan/whatever
and eth0 vs wlan0 vs sit0 and auto eth1 vs allow-hotplug eth1 and wep vs
wep-key vs open vs wpa, etc, all work together.

If I understood all that, I bet I could figure out how to get my
wireless network working. However, I've been googling/studying off and
on for the past year, everytime I try to put Debian (or Ubuntu, or
whatever) on a laptop that comes across my path (and failing pretty much
every time on the wireless), but I've never found a site that actually
has gotten me to an understanding of the process. Some sites talk about
gui configuration clients I don't have, or compiling drivers manually
which I don't need to do, or using ndiswrapper (?!), etc.

Maybe the process is just WAY too complex to be explained for mere
mortals who aren't in the mechanics of Linux networking on a daily basis.

So if there's no good explanation out there, perhaps someone can just
help me get it working, without me understanding what's going on. Here's
some relevant information, I believe:

01:08.0 Network controller: Broadcom Corporation BCM4318 [AirForce One
54g] 802.11g Wireless LAN Controller (rev 02)
    Subsystem: Linksys WMP54GS version 1.1 [Wireless-G PCI Adapter] 
802.11g w/SpeedBooster
    Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
    Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 64
    Interrupt: pin A routed to IRQ 17
    Region 0: Memory at feade000 (32-bit, non-prefetchable) [size=8K]
    Kernel driver in use: b43-pci-bridge

westk@evoljasen:~$ sudo iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:1A:1E:A2:55:20
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=42/70  Signal level=-68 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000060a63181
                    Extra: Last beacon: 100ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B8C121618243048
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0102
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000
          Cell 02 - Address: 00:0B:86:45:2F:A0
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=63/70  Signal level=-47 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000f73f1e1e8
                    Extra: Last beacon: 796ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B8C121618243048
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000
          Cell 03 - Address: 00:1A:1E:A6:08:C0
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=55/70  Signal level=-55 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000dc5708181
                    Extra: Last beacon: 436ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B8C121618243048
                    IE: Unknown: 030106
                    IE: Unknown: 2A0100
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000
          Cell 04 - Address: 00:1A:1E:A5:E6:C0
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=36/70  Signal level=-74 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000008090fd181
                    Extra: Last beacon: 120ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B8C121618243048
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000
          Cell 05 - Address: 00:1A:1E:A6:0D:00
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=27/70  Signal level=-83 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 11 Mb/s; 6 Mb/s; 9 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000004cabd5181
                    Extra: Last beacon: 788ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B168C1218243048
                    IE: Unknown: 030101
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000
          Cell 06 - Address: 00:1A:1E:B8:A5:20
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=34/70  Signal level=-76 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000007ef20c181
                    Extra: Last beacon: 848ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B8C121618243048
                    IE: Unknown: 030101
                    IE: Unknown: 2A0100
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000
          Cell 07 - Address: 00:0B:86:45:30:60
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=27/70  Signal level=-83 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 11 Mb/s; 6 Mb/s; 9 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=00000022e6e3437b
                    Extra: Last beacon: 780ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B168C1218243048
                    IE: Unknown: 030101
                    IE: Unknown: 050400010000
                    IE: Unknown: 2A0100
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000
          Cell 08 - Address: 00:1A:1E:A5:EF:20
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=27/70  Signal level=-83 dBm 
                    Encryption key:off
                    ESSID:"ACUwireless"
                    Bit Rates:5.5 Mb/s; 6 Mb/s; 9 Mb/s; 11 Mb/s; 12 Mb/s
                              18 Mb/s; 24 Mb/s; 36 Mb/s
                    Bit Rates:48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000082150618
                    Extra: Last beacon: 116ms ago
                    IE: Unknown: 000B414355776972656C657373
                    IE: Unknown: 01088B8C121618243048
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 3202606C
                    IE: Unknown: DD0A00037F04010000000000

westk@evoljasen:~$ cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
#allow-hotplug eth0
auto eth1
iface eth1 inet dhcp

auto wlan0
iface wlan0 inet dhcp
#    wireless_essid humanslivehere
    wireless-essid ACUWireless open
    wireless-keymode open
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

(the wired interface works with the above setup. the wireless works at
the other location (humanslivehere) when that line and the wpa-conf
lines are uncommented and the other two uncommented lines are not in the
file)

westk@evoljasen:~$ cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=users
#
# humanslivehere
network={
    ssid="humanslivehere"
    psk="it's a secret"
}

westk@evoljasen:~$ sudo iwspy
lo        Interface doesn't support wireless statistic collection

eth1      Interface doesn't support wireless statistic collection

wmaster0  Interface doesn't support wireless statistic collection

wlan0     Interface doesn't support wireless statistic collection

westk@evoljasen:~$ sudo /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not
enable again some interfaces ... (warning).
Reconfiguring network interfaces...There is already a pid file
/var/run/dhclient.eth1.pid with pid 17310
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth1/00:0d:56:2c:5e:d6
Sending on   LPF/eth1/00:0d:56:2c:5e:d6
Sending on   Socket/fallback
DHCPRELEASE on eth1 to 150.252.128.107 port 67
There is already a pid file /var/run/dhclient.wlan0.pid with pid 18812
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:18:f8:29:b5:96
Sending on   LPF/wlan0/00:18:f8:29:b5:96
Sending on   Socket/fallback
DHCPRELEASE on wlan0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth1/00:0d:56:2c:5e:d6
Sending on   LPF/eth1/00:0d:56:2c:5e:d6
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 9
DHCPOFFER from 150.252.8.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 150.252.46.1
bound to 150.252.12.59 -- renewal in 79090 seconds.
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/00:18:f8:29:b5:96
Sending on   LPF/wlan0/00:18:f8:29:b5:96
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
done.

What other info can I provide?

Thanks!

-- 
Kent West     <*)))><
http://kentwest.blogspot.com
Praise Yah! \o/



Reply to: