Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I followed the instructions in Brandon Clark's answer to a question about dual booting Ubuntu and windows 8 on a surface pro.

I got Ubuntu installed fine but ran into a snag getting the wifi to work. I double and triple checked my modifications to the interfaces and wpa_supplicant files, and they match his instructions. when I get to bit after the wpa_supplicant and restarting the computer I get many error culminating in

"mlan0:cancelling authentication timeout”

Im using 13.10 on a surface pro 2

Here is a printout of my terminal activity :

(I realize that I put the wpa_supplicant.conf in the wrong spot the first time around. this is the second time trying this from scratch and the first time I got it right off the bat and the same thing happened.)

tyler@tyler-Surface-Pro-2:~$ sudo service network-manager stop
[sudo] password for tyler: 
network-manager stop/waiting
tyler@tyler-Surface-Pro-2:~$ cd ..
tyler@tyler-Surface-Pro-2:/home$ sudo gedit wpa_supplicant.conf

** (gedit:2153): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found

(gedit:2153): IBUS-WARNING **: The owner of /home/tyler/.config/ibus/bus is not root!

(gedit:2153): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:2153): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:2153): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
tyler@tyler-Surface-Pro-2:/home$ sudo /sbin/wpa_supplicant -dd -imlan0 -c/etc/wpa_supplicant.conf -Dwext,nl80211
wpa_supplicant v1.0
random: Trying to read entropy from /dev/random
Initializing interface 'mlan0' conf '/etc/wpa_supplicant.conf' driver 'wext,nl80211' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
Failed to add interface mlan0
: Cancelling scan request
: Cancelling authentication timeout
tyler@tyler-Surface-Pro-2:/home$ cd ..
tyler@tyler-Surface-Pro-2:/$ cd etc
tyler@tyler-Surface-Pro-2:/etc$ sudo gedit wpa_supplicant.conf
** (gedit:2314): WARNING **: Could not load Gedit repository: Typelib file for namespace 'GtkSource', version '3.0' not found

(gedit:2314): IBUS-WARNING **: The owner of /home/tyler/.config/ibus/bus is not root!

(gedit:2314): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:2314): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(gedit:2314): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
tyler@tyler-Surface-Pro-2:/etc$ sudo /sbin/wpa_supplicant -dd -imlan0 -c/etc/wpa_supplicant.conf -Dwext,nl80211
wpa_supplicant v1.0
random: Trying to read entropy from /dev/random
Initializing interface 'mlan0' conf '/etc/wpa_supplicant.conf' driver 'wext,nl80211' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface_group='0'
ctrl_interface='/var/run/wpa_supplicant'
Line: 3 - start of a new network block
scan_ssid=1 (0x1)
ssid - hexdump_ascii(len=9):
     53 75 73 61 6e 31 37 37 36                        Susan1776       
key_mgmt: 0x2
PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 0
   id=0 ssid='Susan1776'
rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
Could not read interface mlan0 flags: No such device
WEXT: Could not set interface 'mlan0' UP
mlan0: Failed to initialize driver interface - try next driver wrapper
Could not open file /sys/class/net/mlan0/phy80211/name: No such file or directory
rfkill: initial event: idx=0 type=2 op=0 soft=0 hard=0
nl80211: Set mode ifindex 0 iftype 2 (STATION)
nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
nl80211: Try mode change after setting interface down
Could not read interface mlan0 flags: No such device
nl80211: Interface mode change to 2 from 0 failed
nl80211: Could not configure driver to use managed mode
netlink: Operstate: linkmode=0, operstate=6
Could not read interface mlan0 flags: No such device
nl80211: Set mode ifindex 0 iftype 2 (STATION)
nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
nl80211: Try mode change after setting interface down
Could not read interface mlan0 flags: No such device
nl80211: Interface mode change to 2 from 0 failed
mlan0: Failed to initialize driver interface
Failed to add interface mlan0
mlan0: Cancelling scan request
mlan0: Cancelling authentication timeout
share|improve this question
    
Refer to this thread for some workarounds ubuntuforums.org/showthread.php?t=2183946 –  Pedro Rodrigues Feb 6 at 20:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.