Network Adapter problems

Hi all. Have an HP Pavilion G6.

I recently installed openSUSE after having no luck w/ another linux distribution. I was told openSUSE is more compatible with laptops, so I figured I’d give it a try…

I am now facing the same problem I had been facing w/ the other distribution (Ubuntu). My Network Adapter doesn’t seem to be recognized by any linux operating systems. It is a Ralink 802.11b/g/n WiFi adapter. When I open the “network” tab, my home wifi is not listed, nor are any around me. In fact, I can’t even open the “wireless” tab. I’ve installed any recent drivers for my adapter, and I went to extensive lengths to try to solve the issue on my previous linux distribution. I don’t know what output to give you from the terminal, nor do I really know any commands to look for anything.

Any help would be greatly appreciated.

PS: On a side note, I had been messing with my touchpad application, trying to set my preferences. I check the boxes for horiz. and vertic. scrolling with two fingers, and apply. They don’t work. I check the boxes for using two finger tap to do something, and three finger tap to do something else… No luck. Minor problem, but it does make me worry :S

Thanks again!

We need to know specifically which network chipset this laptop includes. Here are a few commands that might help. Open up a terminal session and run these commands:

/usr/sbin/hwinfo --network_ctrl

and

/usr/sbin/hwinfo --isapnp

Here is an example output from my PC with some items I placed in bold that would be helpful to know.

29: PCI 700.0: 0200 Ethernet controller
  [Created at pci.318]
  Unique ID: rBUF.2dzJn7ktuZF
  Parent ID: HnsE.Z52SDLRIaH2
  SysFS ID: /devices/pci0000:00/0000:00:1c.5/0000:07:00.0
  SysFS BusID: 0000:07:00.0
  Hardware Class: network
  Model: "**Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller**"
  Vendor: pci 0x10ec "**Realtek Semiconductor Co., Ltd.**"
  Device: pci 0x8168 "RTL8111/8168B PCI Express Gigabit Ethernet controller"
  SubVendor: **pci 0x1043 **"ASUSTeK Computer Inc."
  SubDevice: **pci 0x8432** 
  Revision: 0x06
  Driver: "r8169"
  Driver Modules: "r8169"
  Device File: eth0
  I/O Ports: 0xd000-0xdfff (rw)
  Memory Range: 0xdc104000-0xdc104fff (ro,non-prefetchable)
  Memory Range: 0xdc100000-0xdc103fff (ro,non-prefetchable)
  IRQ: 50 (81659 events)
  HW Address: bc:ae:c5:78:12:8e
  Link detected: yes
  Module Alias: "pci:v000010ECd00008168sv00001043sd00008432bc02sc00i00"
  Driver Info #0:
    Driver Status: r8169 is active
    Driver Activation Cmd: "modprobe r8169"
  Config Status: cfg=no, avail=yes, need=no, active=unknown
  Attached to: #17 (PCI bridge)

You mention Ralink 802.11b/g/n WiFi adapter, but we need to know more. I also have a script that can get even more info, but you need to know how to download and use a script. Here is a link for one such program here:

netinfo - Read Network & PC Information into a Local Text File - Page 2

See message #11 for the version of netinfo to use.

Thank You,

First set of output:

32: PCI 200.0: 0200 Ethernet controller
[Created at pci.318]
Unique ID: rBUF.FrZ_OlnJA6A
Parent ID: 8otl.Jx_rZjevqd3
SysFS ID: /devices/pci0000:00/0000:00:04.0/0000:02:00.0
SysFS BusID: 0000:02:00.0
Hardware Class: network
Model: “Realtek RTL8101E/RTL8102E PCI Express Fast Ethernet controller”
Vendor: pci 0x10ec “Realtek Semiconductor Co., Ltd.”
Device: pci 0x8136 “RTL8101E/RTL8102E PCI Express Fast Ethernet controller”
SubVendor: pci 0x103c “Hewlett-Packard Company”
SubDevice: pci 0x1697
Revision: 0x05
Driver: “r8169”
Driver Modules: “r8169”
Device File: eth0
I/O Ports: 0x2000-0x2fff (rw)
Memory Range: 0xf0004000-0xf0004fff (ro,non-prefetchable)
Memory Range: 0xf0000000-0xf0003fff (ro,non-prefetchable)
IRQ: 43 (8211 events)
HW Address: 78:e3:b5:4e:f4:70
Link detected: yes
Module Alias: “pci:v000010ECd00008136sv0000103Csd00001697bc02sc00i00”
Driver Info #0:
Driver Status: r8169 is active
Driver Activation Cmd: “modprobe r8169”
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #9 (PCI bridge)

33: PCI 300.0: 0280 Network controller
[Created at pci.318]
Unique ID: svHJ.bFpiMYVdEf7
Parent ID: CvwD.qLxb2ImcM04
SysFS ID: /devices/pci0000:00/0000:00:05.0/0000:03:00.0
SysFS BusID: 0000:03:00.0
Hardware Class: network
Model: “RaLink Network controller”
Vendor: pci 0x1814 “RaLink”
Device: pci 0x539f
SubVendor: pci 0x103c “Hewlett-Packard Company”
SubDevice: pci 0x1637
Memory Range: 0xf0200000-0xf020ffff (rw,non-prefetchable)
IRQ: 5 (no events)
Module Alias: “pci:v00001814d0000539Fsv0000103Csd00001637bc02sc80i00”
Config Status: cfg=no, avail=yes, need=no, active=unknown
Attached to: #10 (PCI bridge)

Second set of output: Nothing. No output :frowning:

I’m trying to follow the instructions on the link you gave me, i’m just having trouble getting it to let me save a txt file in the /bin folder.

I tried to edit my last post, but it timed out >.<

I’m having no luck with the script you metioned. I try to save it to my /bin folder. I’m told I either have no space, or don’t have permission, and then the entire text is color coded/converted to whatever programming language. I try to change the permissions, and try to set my user as one of the priviledged users, but it won’t save it! The rest of the users are “root” or other non-sensical things… Sudo anything asks me for a p-word, and the p-word I enter (the p-word for EVERYTHING on my PC, including the ONLY USER) doesn’t work… AND I can’t seem to get a refresh button in firefox… Checked the firefox page… Did what they told me to… Why is this so complicated?

You just new to Linux. As for the folder, you are not trying to save it to the right place. There are several folders called bin, but only one is located in your own area. I do not know your user name, but the folder will be /home/your_name_here/bin, where you do have the rights to save any file there. I found a pointer about your wireless here.

Linux wireless networking development ()

I am at work right now and do not expect you to figure out how to make it work, but just to remind me what I found at lunch using my work supplied Windows laptop. I will look at it closer tonight to provide more help.

Thank You,

so I think this is the wireless device

Network controller [0280]: Ralink corp. Device [1814:539f]

I think it uses the rt5390sta

… from post #29 here

[SOLVED] Ralink 5390 wifi card in Ubuntu 11.04 64bit - Page 3 - Ubuntu Forums]([SOLVED] Ralink 5390 wifi card in Ubuntu 11.04 64bit - Page 3)

$ modinfo rt5390sta | grep -i 539f
alias: pci:v00001814d0000539Fsvsdbcsci*

…so …

from post #6 here by larry finger

Help with wireless driver. Please

he said

If you install the compat-wireless package, the driver will be included. The
name is rt2800pci. I do not have your device, but I have an RT3090 that uses the
same driver. It is quite stable for a relatively new driver.

The URL for the repository that contains compat-wireless is
http://download.opensuse.org/reposit...openSUSE_11.4/. Add
that repo and install the compat-wireless-kmp-XXXXX, where XXXXX is desktop or
default, whichever matches the kernel you are using as shown by ‘uname -r’.

so assuming you recently installed OpenSuse 11.4 …

you go here as directed

Index of /repositories/driver:/wireless/openSUSE_11.4

but you need to do

uname -a
I believe to ensure you are downloading the matched package to your installed kernel;

all that I have typed above are a series of assumptions; laid out publicly to be tested; and corrected or criticised as seems appropriate

Hi guys. First off: I left something out in my original question. It IS a ralink RT 5390 blah blah blah… I don’t know why I didn’t include that when I mentioned what adapter I had, but oops! Thanks for the replies! I don’t have access to an ethernet cable where I am, so I’m reply VIA windows, and can’t give perform any of your suggested actions until I go offline. First though, I’m going to write here what I’m going to do, because though I have every confidence in you, I know very little about Linux, and therefore will likely get it wrong…

  1. Copy/Pasta the InterfaceUp script as suggested in James’ original comment, save to my User/bin, run “chmod +x ~/bin/netinfo” command in terminal… Command “netinfo” to bring the interface up. I think.

  2. Download the rt5930.rpm file from the link pdc_2 suggested…Run the “uname -a” command in terminal. Pretend I have any idea what this will do… The guy from the other thread had to go back to openSUSE 11.2 or whatever, which would be a drag. But I’ll give it a go!

So there appears to be an issue with your exact wireless adapter in that the number has been changed in the HP Laptop and so it is not recognized properly by the kernel. There is a patch listed here:

[rt2x00-users] [PATCH v2] rt2x00: Add device ID for RT539F device.](http://rt2x00.serialmonkey.com/pipermail/users_rt2x00.serialmonkey.com/2011-June/003942.html)

But, frankly I don’t know how to apply this patch myself and no hardware to test it own. Perhaps one of our master will drop by and give us the exact instructions to use this.

Thank You,

On 08/13/2011 11:46 AM, jdmcdaniel3 wrote:
>
> So there appears to be an issue with your exact wireless adapter in that
> the number has been changed in the HP Laptop and so it is not recognized
> properly by the kernel. There is a patch listed here:
>
> ‘[rt2x00-users] [PATCH v2] rt2x00: Add device ID for RT539F device.’
> (http://tinyurl.com/3htykw7)
>
> But, frankly I don’t know how to apply this patch myself and no
> hardware to test it own. Perhaps one of our master will drop by and
> give us the exact instructions to use this.

Applying that patch requires having the kernel sources, using the patch to
rebuild the kernel, and booting the new kernel.

That patch is in the current kernel source, and new IDs are usually backported.
What I suspect is that the problem is that rt2800pci is not enabled in the
standard kernels. The change to fix that has just been sent upstream. You can
check that with the command


sudo /sbin/modprobe rt2800pci

If that results in a “module not found” error, then rt2800pci is not configured.
If there is not an error, then try


su -
echo "1814 539f" > /sys/bus/pci/drivers/rt2800pci/new_id
exit

Does it work now?

There is an alternate driver in kernels before 3.0, namely rt2860sta. Does the
following result in an error?


sudo /sbin/modprobe rt2860sta

If the answer is “no”, then try


su -
echo "1814 539f" > /sys/bus/pci/drivers/rt2860sta/new_id
exit

Does it work now?

@ lwfinger

First command gives me “module not found”

Third command doesn’t do anything, so I assume it works. I enter the fourth command, and am told that the file/directory does not exist.

Just a question, from someone who knows nothing about Linux: why am I using commands involving the “rt2860sta” model, when mine is an “rt5390sta”… ? thanks a bunch :slight_smile:

On 08/15/2011 08:46 AM, hortator wrote:
>
> @ lwfinger
>
> First command gives me “module not found”
>
> Third command doesn’t do anything, so I assume it works. I enter the
> fourth command, and am told that the file/directory does not exist.
>
> Just a question, from someone who knows nothing about Linux: why am I
> using commands involving the “rt2860sta” model, when mine is an
> “rt5390sta”… ? thanks a bunch :slight_smile:

The driver for your device is the same as the RT2860 and the RT3090, and …

You need to install the compat-wireless package for your kernel. Once you have
done that, come back and we will try again.

K. So, found compat-wireless package for my current kernel @ Index of /repositories/driver:/wireless/openSUSE_11.4/x86_64… It’s the 2.6.37.1-etc desktop compat-wireless blah blah… I try to install it, and it tells me “a package dependency could not be found”…

Details give me: “nothing provides compat-wireless-scripts = 3.0 needed by compat-wireless-kmp-desktop-3.0_k2.6.37.1_1.2-1.1.x86_64”

There was also a rt5930 blah blah thing there, I downloaded that to see what would happen… same thing.

That link, I got from an earlier response. Someone sent me it, and it leads to a series of folders. I chose the x86_64 folder, because I’m on a 64bit system, and I’m running a 64bit kernel… What am I doing wrong?

On 08/15/2011 12:46 PM, hortator wrote:
>
> lwfinger;2375246 Wrote:
>>
>>
>> The driver for your device is the same as the RT2860 and the RT3090,
>> and …
>>
>> You need to install the compat-wireless package for your kernel. Once
>> you have
>> done that, come back and we will try again.
>
> K. So, found compat-wireless package for my current kernel @ ‘Index of
> /repositories/driver:/wireless/openSUSE_11.4/x86_64’
> (http://tinyurl.com/4ys9vjq)… It’s the 2.6.37.1-etc desktop
> compat-wireless blah blah… I try to install it, and it tells me “a
> package dependency could not be found”…
>
> Details give me: “nothing provides compat-wireless-scripts = 3.0 needed
> by compat-wireless-kmp-desktop-3.0_k2.6.37.1_1.2-1.1.x86_64”
>
> There was also a rt5930 blah blah thing there, I downloaded that to see
> what would happen… same thing.
>
> That link, I got from an earlier response. Someone sent me it, and it
> leads to a series of folders. I chose the x86_64 folder, because I’m on
> a 64bit system, and I’m running a 64bit kernel… What am I doing wrong?

You are downloading an RPM and trying to install it. When you do that, the
dependencies cannot be resolved if the necessary repo is not enabled.

Add the wireless repo at
http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.4/ and
install the compat-wireless package using Software Management in YaST.

I downloaded the wireless repo… I think. The problem is, the website you’re giving me is a directory full of stuff I don’t understand… So, I went to the text file, copied the gpgkey file to my browser, downloaded (and apparently installed) whatever that was… I’ve downloaded the compat-wireless package, gone into Yast2, to somehow install it, went to the “software” tab, and it just decided to install a whole lot of things for me. I tried to “import” the compat-wireless file, but it will only look for .xml files (which, i don’t think it will let me look for anyways. My wireless repo.xml file is located in my root directory, but all that’s listed in “yast” when I try to import is the bin folder…

I am sorry I am so noob.

On 08/18/2011 01:06 PM, hortator wrote:
>
> I downloaded the wireless repo… I think. The problem is, the website
> you’re giving me is a directory full of stuff I don’t understand… So, I
> went to the text file, copied the gpgkey file to my browser, downloaded
> (and apparently installed) whatever that was… I’ve downloaded the
> compat-wireless package, gone into Yast2, to somehow install it, went to
> the “software” tab, and it just decided to install a whole lot of things
> for me. I tried to “import” the compat-wireless file, but it will only
> look for .xml files (which, i don’t think it will let me look for
> anyways. My wireless repo.xml file is located in my root directory, but
> all that’s listed in “yast” when I try to import is the bin folder…

You don’t download the repo, you add it to the list of enabled repositories.
Sart YaST using the kickoff and select “Software Repositories” and add the new
one (wireless). Then go back to YaST and select “Software Maintenance”, search
for compat-wireless, and install the right one. You are trying to make this
hard. That is not necessary.

Added repo to list of wireless repositories: YaST -> “Software Repositories” -> “add” -> “HTTP” -> “Wireless Repo” at Index of /repositories/driver:/wireless/openSUSE_11.4 -> added, and enabled.

→ “software management” → search “compat-wireless” → check “compat-wireless scripts” and “compat-wireless-kmp-desktop” → accept/install. → view package groups → system … They are there.

run “sudo /sbin/modprobe rt2800pci” in terminal. No error.

run “echo “1814 539f” > /sys/bus/pci/drivers/rt2800pci/new_id” in terminal. Nothing happens.

Use Device Viewer. Wireless device is not listed. I just got the commands from your earlier comment.

Installed some things VIA YaST… Somewhere in Software management, the compat-wireless stuff was unchecked. I enabled them, and it decided to install a ****-load of things… Half-way through, I realized that it was wasting my time, and quit it. Then, my wireless driver started working! Yahoo!

PS: Never once did I try to make this hard. I had no idea how to use wireless repos or YaST. Thanks for the help though.