WiFi Networks device not managed - Mint 16 on X200[SOLVED]

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
JeremyB
Level 21
Level 21
Posts: 13771
Joined: Fri Feb 21, 2014 8:17 am

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by JeremyB »

Check out this thread on how to upgrade http://forums.linuxmint.com/viewtopic.php?f=46&t=168017

Backup the entire hard drive before as people have had there entire drive erased because of one little mistake, or you could choose to make it a triple boot if you have the space available by choosing install mint along side like you probably did to install LM16
PatH57

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by PatH57 »

still puzzled by the fact that it just did happen to loose connection....
Is the router form your ISP? in this case some ISPs push updates to the router.
Also try this.
Could you please use this? open terminal and copy paste this:

Code: Select all

wget -N -t 5 -T 10 http://dl.dropbox.com/u/57264241/wireless_script && \chmod +x wireless_script && \./wireless_script
It will download a script and create a file named wireless-info.txt or wireless-info.tar.gz in your home folder with wireless information so we can see the condition of your wireless at the time. The MAC address, WPA key and WEP key are removed for your security. Paste contents of the wireless-info.txt or wireless-info.tar.gz file at http://pastebin.ubuntu.com or alternatively http://pastebin.com/ then post the link here in your question.
epeesharkey

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by epeesharkey »

Thanks PatH57,

that looks a great resource on upgrading, I like the look of Method 3. I already have a backup, actually it is rather easy for that laptop, which has little in the way of downloaded software.

I will try out that script first - may not be this evening though, and re-post the output, maybe my long-awaited 'magic bullet solution' will be obvious to someone who knows there way around the intricacies of networking

I do not believe there is any problem from the router, it is my own personal one (not the ISP), a FritzBox from AVM, it works without issue on numerous other devices (Wired and Wireless - there are on average 10+ devices connected at a time ) over a long period (this one has been active about 1 year, replaced a near identical model which ran for 3+ years before suffering a h/w failure). I can log onto the router and 'see' the laptop booting and it is clear that it can see the Wired connection but not the Wireless one.

Consider the evidence that if I boot into Win Vista or via the live USB of Mint 16, the same wireless card is working flawlessly with the same router. So, something in the laptop configuration is suppressing the WiFi from asking for an IP address, and this is persisting, even through numerous boot-reboot cycles.
PatH57

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by PatH57 »

had a fritzbox to for years and it was rock solid.
Only thing I can imagine is an update to Mint16 that screwed the network card driver....

will wait for the outcome of the scrip.
epeesharkey

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by epeesharkey »

Hi PatH57,

managed to get a chance to download and run that script - very neat.

Here is a link to the output : http://pastebin.ubuntu.com/8030494/

Few interesting looking error messages !
PatH57

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by PatH57 »

network-manager main process (873) killed by KILL signal
this is really strange , check if wicd is installed? (package manager). Seems something is interfering.

also let's try to reload the driver.

Code: Select all

sudo apt-get install --reinstall linux-firmware

Code: Select all

sudo modprobe -r iwlwifi

Code: Select all

sudo modprobe iwlwifi
epeesharkey

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by epeesharkey »

Many thanks PatH57,

I'm just going to try those commands to re-install the firmware etc.

In the meantime I found yet another command to look at state of networking - inxi

(I must say that there are SOOO many different commands to check things out - powerful but very confusing. )

Code: Select all

 inxi -Nn
Network:   Card-1: Intel 82567LM Gigabit Network Connection driver: e1000e 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 00:1f:16:29:7d:61
           Card-2: Intel PRO/Wireless 5100 AGN [Shiloh] Network Connection driver: iwlwifi 
           IF: wlan0 state: down mac: 00:1e:65:a1:12:06
epeesharkey

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by epeesharkey »

Hi,

looks like the re-install of Linux firmware went OK, however, not sure if anything changed --- I'll reboot now to see.

The other commands - one went OK, the other gave a strange error message - see below.


Code: Select all

 sudo apt-get install --reinstall linux-firmware
[sudo] password for eoin: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be upgraded:
  linux-firmware
1 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
Need to get 26.5 MB of archives.
After this operation, 1,337 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ saucy-updates/main linux-firmware all 1.116.2 [26.5 MB]
Fetched 26.5 MB in 14s (1,847 kB/s)                                                        
(Reading database ... 164110 files and directories currently installed.)
Preparing to replace linux-firmware 1.116 (using .../linux-firmware_1.116.2_all.deb) ...
Unpacking replacement linux-firmware ...
Setting up linux-firmware (1.116.2) ...
eoin@eoin-ThinkPad-X200T ~ $     sudo modprobe -r iwlwifi
FATAL: Module iwlwifi is in use.
eoin@eoin-ThinkPad-X200T ~ $     sudo modprobe iwlwifi
eoin@eoin-ThinkPad-X200T ~ $     sudo modprobe -r iwlwifi
FATAL: Module iwlwifi is in use.
PatH57

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by PatH57 »

you need to disable wifi first as it uses the driver
epeesharkey

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by epeesharkey »

Hi,

I tried turning off WiFi with both the F5 toggle and the hardware switch (mentioned in an earlier post, and my personal candidate for what triggered this issue).

The command produce the same effect FATAL: Module iwlwifi is in use.

I reboot with WiFi off and repeat the command with the same effect.

However something has changed on the machine : Now the command service networking restart seems to produce the same output as before but no longer the same effect.

Previously ( I guess before one of those re-boots) when I ran the networking restart, a popup would appear about a Clock process, then the Network Manager would stop (indicated by a red bar in the plug icon in the system tray). Then the ethernet connection would start to work.

Now, no popup, the Network Manager continues to work and (dash it !) the ethernet connection does not work.

I don't know if this is relevant or not, I will mention it :

when the issue first arose, it presented itself as follows : the machine would take a long time to boot , I am copying a description from someone else's post since it does a better job than I could of explaining it :

Code: Select all

during the boot the system displayed two messages.

"waiting for network configuration" for a while then it says
"waiting an additional 60 seconds for network configuration"

after this the linux came up and the Network icon on the right corner shows "network disabled".
Now somewhere along the line, I managed to overcome some of those issue, but I think I was masking symptoms not the issue itself. Noticeable that the first message is appearing still, but only briefly - don' t know if that is normal or not.

Anyhoo overall, I am getting the impression the machine is well & truly stuffed as it stands and only a re-image will move things on.

Unless that last bit of info spurs any thoughts or ideas to investigate, I will re-image over the weekend, ideally with LM17 (if a test with a USB stick goes well) and using the Method 3 from that post you shared higher up this thread.
schlorfy

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by schlorfy »

Hi

I got the Same Problem.

I have a Thinkpad X201t. And Mint 1 Debian Mate 64
Wireless Network is not managed.

i switshed off wlan0 auto in the etc/network/interfaces. Now the system boot up fast,
but i have to swischt on wlan by my own with command:
ifconfig wlan0 up
when i manually try to get wlan work. i got the following problems:

first i scan for AP:
thinkpad201t david # iwlist wlan0 scan
wlan0 Scan completed :
Cell 04 - Address: 00:14:6C:E0:67:27
Channel:8
Frequency:2.447 GHz (Channel 8)
Quality=63/70 Signal level=-47 dBm
Encryption key:on
ESSID:"internexi"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000578de921a32
Extra: Last beacon: 56ms ago
IE: Unknown: 0009696E7465726E657869
IE: Unknown: 010882848B962430486C
IE: Unknown: 030108
IE: Unknown: 2A0100
IE: Unknown: 2F0100
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
IE: Unknown: 32040C121860
IE: Unknown: DD060010180200F0
than i configure mein WPA.conf
[130]thinkpad201t david # cat /root/wpa.conf
network={
ssid="internexi"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
psk=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
}
when i try to connect with WPA the following happens:

thinkpad201t david # wpa_supplicant -Dwext -iwlan0 -c/root/wpa.conf
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument

and nothing worked.....


i dont know what i have to to! pleas help me
PatH57

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by PatH57 »

Hi,

why do you want to do it manually, just right click on the network icon (taskbar) and select enable wifi then connect to your AP.
schlorfy

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by schlorfy »

Hi Pat.
Thank you for support.

when i rigthclick on Network Icon, wifi is enabel allready.

When i leftclick on network Icon. i canonot choose a Wifi network. Ther is "Wifi is not managed" and it
id grey.

I got e fresh installation of Mint. i changed nothing.

Hardware LED of Wifi is on. Wifi is not Softblocked. i san scan AP via iwlist. But i cant connect my Wifi

Gruss
David
schlorfy

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by schlorfy »

Befor i run ubuntu 14 on thinkpad. Wlan worked fine.... :P
schlorfy

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by schlorfy »

Also i did rightclick on network Icon and go to "edit connections..." --> "add connection" --> "wifi"
then i add SSID and WPA key. and Saved it as "Wifi Coneciton 1".

But i cant coos the conection with the Network Icon- >it says "conneciton is not mannaged" and is grey...
PatH57

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by PatH57 »

i switshed off wlan0 auto in the etc/network/interfaces. Now the system boot up fast,
well it is faster as it doesn't try to connect.
Reenable it and when you shut down disable wifi (network icon) ,reboot "fast" and then enable wifi again.
or you will have to make a script, insert some timing loops so that wifi enables first, then wpa supplicant loads and identify itself, daemon starts and so on. So you will spend a couple of hours doing your script then another couple of seconds waiting at each reboot for the script to run? all this to avoid the extra 30 seconds at boot?
schlorfy

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by schlorfy »

Hi.

when i Switsch off and Switsch on Wlan, dmesg Said: Wlan0:link is not ready
what did this mean?

Code: Select all

[20495.572760] e1000e 0000:00:19.0 eth0: 10/100 speed: disabling TSO
[20495.572811] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[24333.421275] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[24333.421477] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[24333.519173] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[24553.325801] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[24553.326003] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[24553.414978] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready


schlorfy

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by schlorfy »

when i try to connect manually with WPA supplycan't i got this:

Code: Select all

thinkpad201t david # wpa_supplicant -iwlan0 -c/root/wpa.conf
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
wlan0: Trying to associate with 24:65:11:f9:2e:c8 (SSID='internexi' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Authentication with 24:65:11:f9:2e:c8 timed out.
wlan0: Trying to associate with 24:65:11:f9:2e:c8 (SSID='internexi' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Authentication with 24:65:11:f9:2e:c8 timed out.
wlan0: Trying to associate with 24:65:11:f9:2e:c8 (SSID='internexi' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Authentication with 24:65:11:f9:2e:c8 timed out.
wlan0: Trying to associate with 24:65:11:f9:2e:c8 (SSID='internexi' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Authentication with 24:65:11:f9:2e:c8 timed out.
wlan0: Trying to associate with 24:65:11:f9:2e:c8 (SSID='internexi' freq=2412 MHz)
ioctl[SIOCSIWFREQ]: Device or resource busy
wlan0: Association request to the driver failed
wlan0: Authentication with 24:65:11:f9:2e:c8 timed out.
^Cwlan0: CTRL-EVENT-TERMINATING - signal 2 received
PatH57

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by PatH57 »

Wlan0:link is not ready
because it's not managed. And manually enabling it only works if you do everything in the right order and wait a couple of seconds in between.
So reenable auto management and use the network applet to switch of wifi when you shutdown. Again it's a lot of work to gain a few seconds at boot up.
schlorfy

Re: WiFi Networks device not managed - Mint 16 on Lenovo X2

Post by schlorfy »

Hi Pat,

Thank you for help.


I now reactivate waln0 auto in Interface.
Than i deaktivate wifi in the thaskbar Icon.

when i now reboot, the HW LED of Wifi in Thinkpad is On after Bootloader was loadet.
(it dont Blink. it is just on (when network is in process, it blinks normaly)

Now System take about 1-2 minutes at booting, and doing nothing.

after locked in an desktop was loaded. Wlan was deactivat automaticly (as i deactivat it on deskopt befor)

after booting:

Code: Select all

david@thinkpad201t ~ $ dmesg | grep wifi
[    5.582208] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[    5.582424] iwlwifi 0000:02:00.0: irq 42 for MSI/MSI-X
[    5.587543] iwlwifi 0000:02:00.0: firmware: agent loaded iwlwifi-6000-4.ucode into memory
[    5.587773] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[    5.603095] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[    5.603102] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[    5.603106] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[    5.603109] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_P2P enabled
[    5.603113] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[    5.603218] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[    7.640933] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[    7.647840] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
[    7.860730] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[    7.867552] iwlwifi 0000:02:00.0: Radio type=0x1-0x3-0x1
david@thinkpad201t ~ $ dmesg | grep wlan0
[    7.944905] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
david@thinkpad201t ~ $ 

when i now reaktivate Wifi with desktop Icon
HW LED dont switsch on !! this is strange..

after activate wifi via Network Icon in taskbar:

Code: Select all

thinkpad201t david # inxi -Nn
Network:   Card-1: Intel Centrino Advanced-N 6200 driver: iwlwifi 
           IF: wlan0 state: down mac: 00:27:10:41:4b:88
           Card-2: Intel 82577LM Gigabit Network Connection driver: e1000e 
           IF: eth0 state: up speed: 100 Mbps duplex: full mac: 5c:ff:35:0d:cd:da
i have to aktivate it manually

Code: Select all

wpa_supplicant -Dwext -iwlan0 -c/root/wpa.conf
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
ioctl[SIOCSIWSCAN]: Device or resource busy
wlan0: Failed to initiate AP scan
^Cwlan0: CTRL-EVENT-TERMINATING - signal 2 received
Locked

Return to “Networking”