[ubuntu-za] WiFi on Ubuntu Server

Charl Wentzel charl.wentzel at vodamail.co.za
Tue May 13 07:35:47 UTC 2014

Hi Guys

Need some extra eyes on this.  I'm hoping its something simple that I've

I have an embedded PC installed with Ubuntu 12.04 Server edition on a
site.  During installation I've set it up to use WiFi as its primary
connection as that's the only option available where it will be
installed.  During installation it recognised the WiFi connection  and
seemed to connect, but after reboot the connection doesn't work.

What baffles me is that everything I'm doing is telling me that it
should connect.  Right now I have it on the table with me and connected
it to my PC with a network cable so I can capture the output testing. 
PS: my laptop is currently connected to the WiFi network without any issues.

So here's the setup in /etc/network/interfaces:

# The primary network interface
auto wlan0
iface wlan0 inet static
    wpa-ssid FuelSure
    wpa-psk  MyLongPassword
    # dns-* options are implemented by the resolvconf package, if installed

The Interface appears to be up:

$ iwconfig

wlan0     IEEE 802.11bg  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm  
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:on

The connections seems to be configured

$ ifconfig

wlan0     Link encap:Ethernet  HWaddr 6c:62:6d:12:d5:fb 
          inet addr:  Bcast:  Mask:
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1483 errors:0 dropped:24 overruns:0 frame:0
          TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:256339 (256.3 KB)  TX bytes:14366 (14.3 KB)

I've checked the start up process...

$ sudo ifdown wlan0

$ sudo ifup -v wlan0

Configuring interface wlan0=wlan0 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant
wpa_supplicant: wpa-driver nl80211,wext (default)
wpa_supplicant: /sbin/wpa_supplicant -s -B -P
/var/run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -C
Starting /sbin/wpa_supplicant...
wpa_supplicant: creating sendsigs omission pidfile:
wpa_supplicant: ctrl_interface socket located at
wpa_supplicant: configuring network block -- 0
wpa_supplicant: wpa-ssid "FuelSure" -- OK
wpa_supplicant: wpa-psk ***** -- OK
wpa_supplicant: enabling network block 0 -- OK
ip addr add broadcast      
dev wlan0 label wlan0
ip link set dev wlan0   up
 ip route add default via metric 100 dev wlan0
run-parts --verbose /etc/network/if-up.d
run-parts: executing /etc/network/if-up.d/000resolvconf
run-parts: executing /etc/network/if-up.d/ntpdate
run-parts: executing /etc/network/if-up.d/openssh-server
ssh stop/waiting
ssh start/running, process 1391
run-parts: executing /etc/network/if-up.d/upstart
run-parts: executing /etc/network/if-up.d/wpasupplicant

And when I scan the network also appears...

$ sudo iwlist wlan0 scan

wlan0     Scan completed :
          Cell 01 - Address: 06:90:E8:1F:26:E7
                    Frequency:2.412 GHz (Channel 1)
                    Quality=38/70  Signal level=-72 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
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Extra: Last beacon: 16ms ago
                    IE: Unknown: 00084675656C53757265
                    IE: Unknown: 010882848B0C12961824
                    IE: Unknown: 030101
                    IE: Unknown: 0706465249010D14
                    IE: Unknown: 200100
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK

If there's anybody with some ideas on what else I could do, please let
me know.


More information about the ubuntu-za mailing list