← Back to team overview

ubuntuforums-unanswered team mailing list archive

Re: [Question #79155]: frustrated with wireless and dhcp

 

Question #79155 on Ubuntu changed:
https://answers.launchpad.net/ubuntu/+question/79155

    Status: Needs information => Open

alleycatuk gave more information on the question:
Mark,

thank you for the reply! I can't use a wired connection as the PC has no
ethernet card. I do have one somewhere but I can't find it! I was
looking for it the other day but have no idea where it is. As I
mentioned, just from trying resets over and over again, I can get the
wireless working so I hope the output of your 'script' is ok on that
basis? I ran it before doing multiple resets of wpa_supplicant and dhcp
that have allowed me eventually to get online. If it needs a fixed
cable, please do let me know. Anyway, the output is below.

Thanks again.

The PC is really a home build so no make and model as such. It's based
on an Abit motherboard with an Intel P4 if that helps. As you'll
probably see from the output, wireless card is a Linksys WMP54GS. I'm
basically trying to get an old PC running as a LAMP server for some
testing. The set up of everything went better than I could have dreamt
until I hit the problem of connecting to the network.

If I run wpa_supplicant in daemon mode, I get an error 
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1

I've also seen posts that say use the  -Bw switch for daemon but mine
says that the w isn't a recognised command (it's v0.6.6)

If you need any more info, please do let me know as I'm very grateful
for your help.

Regards
Alastair

  *-network               
       description: Wireless interface
       product: BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller
       vendor: Broadcom Corporation
       physical id: 2
       bus info: pci@0000:02:02.0
       logical name: wlan0
       version: 02
       serial: 00:16:b6:9e:ab:5a
       width: 32 bits
       clock: 33MHz
       capabilities: bus_master ethernet physical wireless
       configuration: broadcast=yes driver=ndiswrapper+wmp54gs driverversion=1.53+Linksys,12/22/2004, 3.100.4 latency=32 link=yes module=ndiswrapper multicast=yes wireless=IEEE 802.11g
  *-network DISABLED
       description: Ethernet interface
       physical id: 1
       logical name: pan0
       serial: 8e:19:cd:3e:50:a3
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
lo        Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:16:B6:C9:05:32
                    ESSID:"alleycatwlan"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:46/100  Signal level:-66 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 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
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=0
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK

pan0      Interface doesn't support scanning.

auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-ap-scan 1
pre-up sudo /sbin/wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
pre-up sleep 5
post-down sudo killall -q wpa_supplicant


DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"
00:00.0 Host bridge [0600]: Intel Corporation 82850 850 (Tehama) Chipset Host Bridge (MCH) [8086:2530] (rev 02)
00:01.0 PCI bridge [0604]: Intel Corporation 82850 850 (Tehama) Chipset AGP Bridge [8086:2532] (rev 02)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801BA ISA Bridge (LPC) [8086:2440] (rev 04)
00:1f.1 IDE interface [0101]: Intel Corporation 82801BA IDE U100 Controller [8086:244b] (rev 04)
00:1f.2 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2442] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 82801BA/BAM SMBus Controller [8086:2443] (rev 04)
00:1f.4 USB Controller [0c03]: Intel Corporation 82801BA/BAM USB Controller #1 [8086:2444] (rev 04)
00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801BA/BAM AC'97 Audio Controller [8086:2445] (rev 04)
01:00.0 VGA compatible controller [0300]: ATI Technologies Inc Radeon RV200 QW [Radeon 7500] [1002:5157]
02:00.0 FireWire (IEEE 1394) [0c00]: Agere Systems FW323 [11c1:5811] (rev 04)
02:01.0 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 61)
02:01.1 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 61)
02:01.2 USB Controller [0c03]: VIA Technologies, Inc. USB 2.0 [1106:3104] (rev 63)
02:02.0 Network controller [0280]: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller [14e4:4318] (rev 02)
02:03.0 Multimedia audio controller [0401]: Ensoniq 5880B [AudioPCI] [1274:5880] (rev 02)
02:04.0 Communication controller [0780]: ESS Technology ES2898 Modem [125d:2898] (rev 03)
Bus 003 Device 002: ID 1241:1177 Belkin F8E842-DL Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Linux alleyserver 2.6.28-15-generic #48-Ubuntu SMP Wed Jul 29 08:54:56 UTC 2009 i686 GNU/Linux
[    0.000000] found SMP MP-table at [c00f5570] 000f5570
[    0.853829] ACPI: No dock devices found.
[    0.895445] pnp: PnP ACPI: found 15 devices
[    2.464460] isapnp: No Plug & Play device found
[    3.212222] hub 1-0:1.0: USB hub found
[    3.212947] hub 2-0:1.0: USB hub found
[    3.213489] hub 3-0:1.0: USB hub found
[    3.214047] hub 4-0:1.0: USB hub found
[    3.214612] hub 5-0:1.0: USB hub found
[    3.216500] device-mapper: multipath round-robin: version 1.0.0 loaded
[    3.220283] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[   14.507613] Control name 'Sigmatel Surround Phase Inversion Playback Switch' truncated to 'Sigmatel Surround Phase Inversion Playback '
lo        no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"alleycatwlan"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:16:B6:C9:05:32   
          Bit Rate=54 Mb/s   Tx-Power:25 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Power Management:off
          Link Quality:43/100  Signal level:-68 dBm  Noise level:-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

pan0      no wireless extensions.

 * Reconfiguring network interfaces...                                           * Stopping the Firestarter firewall...
   ...done.
 * Starting the Firestarter firewall...
   ...fail!
run-parts: /etc/network/if-down.d/50firestarter exited with return code 2
RTNETLINK answers: No such process
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/00:16:b6:9e:ab:5a
Sending on   LPF/wlan0/00:16:b6:9e:ab:5a
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.
 * Reloading /etc/samba/smb.conf smbd only
   ...done.

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.