LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 11-19-2012, 07:08 AM   #1
aoqingxin
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 12

Rep: Reputation: 0
WiFi does not work


Quote:
Originally Posted by Mcorbett1 View Post
I have a new Asus laptop that I would like to run Ubuntu on, but the wireless will not connect. It sees the network and asks for the password, but does not connect. I have tried editing the connection to match my other laptop (an older HP) which works fine, but still no luck. I have 12.04 LTS running alongside Win7. The connection works fine in Win7.
Any ideas how to get the WiFi connected in Ubuntu? I'd really like to get rid of the Win7, but I need to be able to connect to the internet via the WiFi.
Thanks for any help.
Mcorbett1@gmail.com
I have the same problem with you, but my laptop is HP ProBook, my system is fedora-17-X86_64, and my laptop has Win7 besides.
I can see some WiFi'name under my fedora, but there signals are all weak, and I can't connect them, but I can connect them well under Win7.
I run "lspci | grep Network", then get :
04:00.0 Network controller: Ralink corp. Device 5390
I run "iwconfig",then get:
p4p1 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bgn ESSID: off/any
Mode:Managed Access Point: Not-Associated Tx-Power=off
Retry long limit:7 RTS thr: off Fragment thr: off
Encryption key: off
Power Management: off
Help!

Last edited by aoqingxin; 11-19-2012 at 07:16 AM.
 
Old 11-19-2012, 07:20 AM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by aoqingxin View Post
...
I run "lspci | grep Network", then get :
04:00.0 Network controller: Ralink corp. Device 5390
What do you think how this information helps to find the problem?

You should execute lspci -k (with option k) and find the lines (more than one) for your wireless interface!

Markus
 
Old 11-19-2012, 08:08 AM   #3
aoqingxin
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
Unhappy

Quote:
Originally Posted by markush View Post
What do you think how this information helps to find the problem?

You should execute lspci -k (with option k) and find the lines (more than one) for your wireless interface!

Markus
Thank you for your attention!
I tried the command "lspci -k | grep -iA3 wire", but there was nothing reply.
 
Old 11-19-2012, 09:41 AM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Then check the whole output of lspci -k or post it here

Markus
 
Old 11-19-2012, 11:48 PM   #5
aoqingxin
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Then check the whole output of lspci -k or post it here

Markus
These are all of the outputs:

00:00.0 Host bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Complex
Subsystem: Advanced Micro Devices [AMD] Family 12h Processor Root Complex
00:01.0 VGA compatible controller: ATI Technologies Inc Device 9643
Subsystem: Hewlett-Packard Company Device 168f
Kernel driver in use: radeon
00:01.1 Audio device: ATI Technologies Inc Device 1714
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: snd_hda_intel
00:03.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port
Kernel driver in use: pcieport
00:04.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port
Kernel driver in use: pcieport
00:05.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port
Kernel driver in use: pcieport
00:07.0 PCI bridge: Advanced Micro Devices [AMD] Family 12h Processor Root Port
Kernel driver in use: pcieport
00:10.0 USB Controller: Advanced Micro Devices [AMD] Hudson USB XHCI Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: xhci_hcd
00:10.1 USB Controller: Advanced Micro Devices [AMD] Hudson USB XHCI Controller (rev 03)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: xhci_hcd
00:11.0 SATA controller: Advanced Micro Devices [AMD] Hudson SATA Controller [AHCI mode] (rev 40)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: ahci
00:12.0 USB Controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: ohci_hcd
00:12.2 USB Controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: ehci_hcd
00:13.0 USB Controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: ohci_hcd
00:13.2 USB Controller: Advanced Micro Devices [AMD] Hudson USB EHCI Controller (rev 11)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: ehci_hcd
00:14.0 SMBus: Advanced Micro Devices [AMD] Hudson SMBus Controller (rev 13)
Subsystem: Hewlett-Packard Company Device 168e
00:14.2 Audio device: Advanced Micro Devices [AMD] Hudson Azalia Controller (rev 01)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: snd_hda_intel
00:14.3 ISA bridge: Advanced Micro Devices [AMD] Hudson LPC Bridge (rev 11)
Subsystem: Hewlett-Packard Company Device 168e
00:14.4 PCI bridge: Advanced Micro Devices [AMD] Hudson PCI Bridge (rev 40)
00:14.5 USB Controller: Advanced Micro Devices [AMD] Hudson USB OHCI Controller (rev 11)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: ohci_hcd
00:15.0 PCI bridge: Advanced Micro Devices [AMD] Device 43a0
Kernel driver in use: pcieport
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 3
Kernel driver in use: k10temp
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices [AMD] Family 12h/14h Processor Function 7
01:00.0 VGA compatible controller: ATI Technologies Inc NI Seymour [AMD Radeon HD 6470M] (rev ff)
Kernel driver in use: radeon
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: r8169
03:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: sdhci-pci
03:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 168e
03:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
Subsystem: Hewlett-Packard Company Device 168e
Kernel driver in use: jmb38x_ms
04:00.0 Network controller: Ralink corp. Device 5390
Subsystem: Hewlett-Packard Company Device 1636
Kernel driver in use: rt2800pci

What can you find from these information?
 
Old 11-20-2012, 01:03 AM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
This
Quote:
04:00.0 Network controller: Ralink corp. Device 5390
Subsystem: Hewlett-Packard Company Device 1636
Kernel driver in use: rt2800pci
is your wirless adapter and the module is loaded. But the support for this card is said to be "experimental" in the documentation of the kernel source (probably there's your problem).

Try the following commands as root
Code:
ifconfig wlan0 up
iwlist wlan0 scan | grep -i ssid
the first command brings the adapter up, it isn't needed when it's already (when ifconfig shows information about it). The second line scans for wireless networks and grep filters the ssid. If the command gives some output you can at least be sure that your wireless adapter is working.

Markus
 
Old 11-20-2012, 04:52 AM   #7
aoqingxin
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
This is your wirless adapter and the module is loaded. But the support for this card is said to be "experimental" in the documentation of the kernel source (probably there's your problem).
Thank you so much!
I'm waiting for fc18 to support the card "fine".

Quote:
Originally Posted by markush View Post
If the command gives some output you can at least be sure that your wireless adapter is working.
It's working, but the signal is too weak. I think what I can do now is just waiting for fc18 to solve this problem.
 
Old 11-20-2012, 06:32 AM   #8
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by aoqingxin View Post
Thank you so much!
I'm waiting for fc18 to support the card "fine".
Thats useless. The hardwaresupport depends on the kernelversion, not on the distribution, could you please tell us, which kernel you are using? If you don't know, please look at the output of
Code:
uname -r
Quote:
It's working, but the signal is too weak. I think what I can do now is just waiting for fc18 to solve this problem.
I don't believe that the signal is the problem (unless you have a problem with your Accesspoint).

I would try to connect "manually", i.e. without any networkmanager or how they call it. Do you have wpa_supplicant installed?

Markus
 
Old 11-20-2012, 07:43 AM   #9
aoqingxin
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
which kernel you are using?
It's 3.6.6-1.fc17.x86_64

Quote:
Originally Posted by markush View Post
Do you have wpa_supplicant installed?
I think my laptop has installed wpa_supplicant, when I run "which wpa_supplicant", the console replys "/usr/sbin/wpa_supplicant".
 
Old 11-20-2012, 09:44 AM   #10
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, it's a recent kernel, so it should work.

As root open your /etc/wpa_supplicant.conf and configure the settings for your network, here an example:
Code:
ctrl_interface=/var/run/wpa_supplicant GROUP=0

network={
	ssid="your ssid here"
	proto=WPA RSN
	key_mgmt=WPA-PSK
	pairwise=CCMP
	psk="your key here"
}
This should work for most wireless networks with wpa2 encryption. Be sure to insert the correct ssid and key for your network.

Afterwards start wlan0
Code:
ifconfig wlan0 up
and start wpa_supplicant
Code:
wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
and look for errormessages. In another terminal you can execute iwconfig and check if your computer is connected to the wireless Accesspoint. If this works, you may use your favorite DHCP-client to get an IP-configuration. If it doesn't work, please post the errormessages here.

Markus
 
Old 11-21-2012, 02:20 AM   #11
aoqingxin
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by markush View Post
Well, it's a recent kernel, so it should work.

As root open your /etc/wpa_supplicant.conf and configure the settings for your network
I can't find this file in my fedora 17.
 
Old 11-21-2012, 03:46 AM   #12
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
At first check if wpa_supplicant is really installed
Code:
which wpa_supplicant
then search the dokumentation for Fedora and find out where wpa_supplicant.conf is. But you can also create one (if wpa_supplicant is installed). The command I posted above sets the path for the configuration anyway.

Markus
 
Old 11-21-2012, 05:13 AM   #13
aoqingxin
LQ Newbie
 
Registered: Apr 2011
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
Thank you Markus! You are a nice guy! But I think you didn't understand me, or maybe it's all because my poor english, sorry about that!

I repeat my problem now:

My laptop can get several WIFI signals, my library's WIFI signal included.

I check them from the gnome's UI, and find all the signals are weak,so does my library's WIFI signal(the router is at most 3 meters from me). I can connect the signal sometimes, but the speed is very slow and will disconnect soon.

OK, this is my trouble.

Thank you for your time!

PS: I google this problem and find some guys said that linux can't work well with WIFI signals which has high frequency band. Is this the real problem?
 
Old 11-21-2012, 05:35 AM   #14
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Quote:
Originally Posted by aoqingxin View Post
...
PS: I google this problem and find some guys said that linux can't work well with WIFI signals which has high frequency band. Is this the real problem?
I don't know, I'm not that familiar with the hardware. But in general if it works with Windows it should also work with Linux.

My idea is that because wpa_supplicant comes with very verbose errormessages, it could help to finde the cause of the trouble.

Markus

Last edited by markush; 11-21-2012 at 05:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Cannot get my WiFi to work debasish_5849 Linux - Hardware 3 11-19-2011 11:27 PM
why does wifi not work? minspace Linux - Networking 2 03-21-2011 05:19 AM
I cannot get the wifi to work kalainerene Linux - Newbie 5 05-09-2008 08:13 PM
Can't get wifi to work m2stian Linux - Wireless Networking 6 11-27-2004 04:12 PM
Getting my wifi to work... the_watchman Linux - Newbie 6 04-14-2004 06:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 02:38 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