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 just bought an HP Pavilion g6 laptop and I installed Natty Narwhal alongside Windows 7. In Windows 7, my WiFi works perfect but in Ubuntu it absolutely (no matter what I do) won't detect my home WiFi network.

Here is the output of "lspci":

earl@ubuntu:~$ lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (int gfx)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 0)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 1)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2)
00:11.0 SATA controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 42)
00:14.1 IDE interface: ATI Technologies Inc SB7x0/SB8x0/SB9x0 IDE Controller (rev 40)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: ATI Technologies Inc SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:16.0 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB Controller: ATI Technologies Inc SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc M880G [Mobility Radeon HD 4200]
01:05.1 Audio device: ATI Technologies Inc RS880 Audio Device [Radeon HD 4200]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 05)
03:00.0 Network controller: Ralink corp. Device 5390
04:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5209 (rev 01)
earl@ubuntu:~$ 
share|improve this question
    
Can you perhaps just post the output of this instead of an unformatted output of all pci devices: lspci | grep network ? –  Thomas W. Jul 1 '11 at 2:48
    
It doesn't do anything –  Earl Larson Jul 1 '11 at 3:06
    
try lspci | grep "Network" –  Thomas W. Jul 1 '11 at 3:09
    
03:00.0 Network controller: Ralink corp. Device 5390 –  Earl Larson Jul 1 '11 at 3:10
add comment

2 Answers

up vote 0 down vote accepted

The RT5390PCIe is not directly supported by the current Natty kernel.

You will need to download some driver source code and patch the Natty kernel.

Unfortunately you need to be aware, everytime the Natty kernel is updated, you will need to repeat the following instructions:

  1. Download the linux driver (RT5390PCIe) from Ralink.
  2. Extract it. The files will be extracted to 2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO folder.

  3. Download all the patches except the x64_86 patch, assuming you have a 32-bit system, from opensuse website.

  4. Copy the patches to the folder – 2010_1216_RT5390_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO

  5. Goto the folder.

  6. Make the following change in /os/linux/config.mk file – HAS_ANTENNA_DIVERSITY_SUPPORT=y (originally was n)

  7. Now run the following commands in terminal:

patch instructions

patch -p0 < rt5390sta-2.4.0.4-config.patch
patch -p0 < rt5390sta-2.4.0.4-convert-devicename-to-wlanX.patch
patch -p0 < rt5390sta-2.4.0.4-reduce_debug_output.patch
patch -p0 < rt5390sta-2.4.0.4-remove-potential-conflicts-with-rt2860sta.patch
patch -p0 < rt5390sta-2.4.0.4-return_nonvoid_function.patch
patch -p0 < rt5390sta-2.4.0.4-WPA-mixed.patch
sudo su
cp RT2860STA.dat RT5390STA.dat
mkdir -p /etc/Wireless/RT5390STA
cp RT5390STA.dat /etc/Wireless/RT5390STA
make clean
make
make install
modprobe rt5390sta
exit

source

share|improve this answer
add comment

Need to have connected to the Internet for this. Have you already gone into System->Adminstration->Hardware Drivers and Seen if any WiFi was listed if nothing was listed . i tracked down the manufacturers website and driver for you. http://www.ralinktech.com/en/04_support/support.php?sn=501 Your WiFi Card is RT5390PCIe aka Ralink corp. Device 5390 Hope this helps!

share|improve this answer
    
No, only my graphics card was listed as one. Thanks for the link though! –  Earl Larson Jul 1 '11 at 3:10
    
How do I install the driver? –  Earl Larson Jul 1 '11 at 3:20
    
not sure i know you will need to compile it but i don't see a install.sh file nowhere will take someone with more knowledge to answer that question for you bro –  freebird Jul 1 '11 at 4:44
    
Read the file Named <code> README_STA_pci </code it has build instructions in it –  freebird Jul 1 '11 at 4:59
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.