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
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.
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:
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.
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.
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 …
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…
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.
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:
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.
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
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
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
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.
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…
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.
→ “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.