LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-05-2011, 11:21 AM   #1
juanctes
Member
 
Registered: Dec 2004
Location: Argentina, corrientes (far from buenos aires, to the north)
Distribution: Ubuntu :(
Posts: 74

Rep: Reputation: 15
Can't get rid of "airplane mode" in Ubuntu 11.10


Hey,

Just bought a lenovo V570 with the following wireless device (lspci):
02:00.0 Network controller: Intel Corporation Centrino Wireless-N + WiMAX 6150 (rev 67)

In the NetworkManager applet nothing happens when I click on "Enable Wireless"

With graphical interface tools like: System Setting -> Network -> Wireless, it just shows device MAC and "airplane mode on" if I try to change it and Turn on the wireless it goes to off again and again, but stays in "airplane mode off".

I find the device with ifconfig but its down, I can connect to my access point through command line but can't get it working otherwise. Made this to connect but its not useful outside home:

Code:
#!/bin/bash

ifconfig wlan0 up
iwconfig wlan0 essid SanAntonio1 key s:xxxxx
iwconfig wlan0 essid SanAntonio1
sleep 1
iwconfig | grep Not-Associated
if [ "1" -eq $? ] 
then dhclient wlan0 
else echo Not-Associated
exit 1
fi
exit 0
Can anybody tell me how to configure this in the Ubuntu way?

Thanks!
 
Old 11-06-2011, 10:32 PM   #2
crosstalk
Member
 
Registered: Jul 2010
Distribution: Gentoo, Debian, Mint, Xubuntu
Posts: 150

Rep: Reputation: 35
When I've had issues like this with wireless it's almost always been the hardware disable (which, IIRC, either the FCC or FAA requires (so it can be turned off when in flight)).

However, it seems odd that you can still connect to your home network (am I understanding you correctly?).

If it's installed (I think it's installed by default in Ubuntu), try running the following command (and post the output here):

Code:
rfkill list
This should tell you if a hardware disable is at fault (if it is, then there should be a switch or button somewhere to enable it again).

I hope this helps.

EDIT: The command may have to be:
Code:
sudo rfkill list
(Unfortunately, I don't have a laptop available to test this -- if "sudo" (beware, sudo gives you admin privileges) is needed, you'll get an error if you run without it.)
EDIT2: Actually, I see that you're a Gentoo user, so you probably already know about sudo.

Last edited by crosstalk; 11-06-2011 at 10:36 PM.
 
Old 11-07-2011, 06:56 AM   #3
juanctes
Member
 
Registered: Dec 2004
Location: Argentina, corrientes (far from buenos aires, to the north)
Distribution: Ubuntu :(
Posts: 74

Original Poster
Rep: Reputation: 15
Hey crosstalk!

Thanks for answering. Yes, I have had a hard start with Linux, with Slackware 9, then tried Gentoo, then Arch, and finally got stuck with Ubuntu (Arch didn't make it easy to install a custom version of PHP and I needed it ASAP for work). But now I'm a bit rusty with Linux since itīs been a year since almost everything I have to do at work requires me to boot WinCrap7.

Done with the intro, let me tell you that I have tried rfkill, but it showed me 3 interfaces (o_O), one of which had only soft switch off, but could not change it. Anyway I could get connected to my home network (yes, you got it well, please correct me if I use English wrong, my mother tongue is Spanish)

Here is the output of CLI commands I issued with rfkill:
Code:
juanmf@juanmf-V570:~$ sudo su
[sudo] password for juanmf: 
root@juanmf-V570:/home/juanmf# rfkill list
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: acer-wireless: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
root@juanmf-V570:/home/juanmf# iwlist wlan0 scan
wlan0     Interface doesn't support scanning : Network is down

root@juanmf-V570:/home/juanmf# ifconfig wlan0 up
root@juanmf-V570:/home/juanmf# iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 - Address: 00:15:6D:A9:E7:58 ...
          Cell 02 - Address: 00:3A:98:92:F4:D0 ...
                    ...
          Cell 21 - Address: 00:0E:2E:64:90:B2 ...
root@juanmf-V570:/home/juanmf# rfkill list
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: acer-wireless: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
root@juanmf-V570:/home/juanmf# rfkill unblock 2
root@juanmf-V570:/home/juanmf# rfkill list
0: ideapad_wlan: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: acer-wireless: Wireless LAN
    Soft blocked: yes
    Hard blocked: no
As you can see this "acer-wireless: Wireless LAN" is not changing upon unblock but still I can get connected. The NetworkManager applet's enable wireless has no effect hope it clarifies my first post.

Any advise?

Thanks!

Last edited by juanctes; 11-07-2011 at 07:01 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is "sticky bit mode" , "SUID" , "SGID" augustus123 Linux - General 10 08-03-2012 04:40 AM
[SOLVED] just installed Slackware....Lilo>Select "Ubuntu">>> "Ubuntu is in low graphics mode"? Ubunoob001 Slackware 14 09-16-2010 04:47 PM
"You have passed an unidentified mode number" How do I get rid of that? Flyer729 SUSE / openSUSE 4 08-28-2006 02:44 AM
Lost DHCP Lease when putting computer in "Standby" mode for a "long" time pnellesen Linux - Networking 1 01-06-2005 11:44 PM
When "function pointer" meets "template"... I can't get rid of this compiling er cyu021 Linux - Software 3 12-17-2004 07:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration