[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
missed...

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
    address 192.168.1.201
    netmask 255.255.255.0
    network 192.168.1.0
    broadcast 192.168.1.255
    gateway 192.168.1.1
    wpa-ssid FuelSure
    wpa-psk  MyLongPassword
    # dns-* options are implemented by the resolvconf package, if installed
    dns-nameservers 192.168.1.1


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:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
          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
/var/run/wpa_supplicant
Starting /sbin/wpa_supplicant...
wpa_supplicant: creating sendsigs omission pidfile:
/run/sendsigs.omit.d/wpasupplicant.wpa_supplicant.wlan0.pid
wpa_supplicant: ctrl_interface socket located at
/var/run/wpa_supplicant/wlan0
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 192.168.1.201/255.255.255.0 broadcast 192.168.1.255      
dev wlan0 label wlan0
ip link set dev wlan0   up
 ip route add default via 192.168.1.1 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
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=38/70  Signal level=-72 dBm 
                    Encryption key:on
                    ESSID:"FuelSure"
                    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
                    Mode:Master
                    Extra:tsf=0000008caf0469ac
                    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.

Regards
Charl



More information about the ubuntu-za mailing list