Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Problem setting up wireless
johnu1960
 Posted: Feb 17 2014, 01:56 PM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









Hi. I am a new SL user who just installed SL 6.5 on a home desktop computer. Everything went fine except that the OS does not recognize my wireless adapter. It is a Belkin Model F9L1002v1, N300 Wireless USB adapter.

The OS recognizes my wired adapter just fine but it is not connected to any network. I looked around at other posts and saw some commands that were recommended in this situation. I ran

iwconfig

which returned the message

no wireless extensions.


I have tried Ubuntu as well as Mint on this computer with this same USB adapter and it ran fine, so I know the adapter is working.

I am a new Linux user who is not fully conversant in the terminology, but I was hoping that someone might be able to let me know how I can find out if this adapter is supported and if so how to get it working. Thanks!
PM
^
johnu1960
 Posted: Feb 17 2014, 02:09 PM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









My apologies. unsure.gif I just came across this previous post related to the same issue:

http://scientificlinuxforum.org/index.php?act=ST&f=9&t=2197&st=



I ran lsusb and the program returned:

Bus 001 Device 005: ID 050d:845a Belkin Components F7D2101 802.11n Surf & Share Wireless Adapter v1000 [Realtek RTL8192SU]
PM
^
johnu1960
 Posted: Feb 17 2014, 02:32 PM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









I found the package:

kmod-r8192cu-4.0.2_9000-1.el6.elrepo.i686.rpm

But my device is

Realtek RTL8192SU

So I am not sure this will work. The package installed successfully. How do I see if it is working?
PM
^
burakkucat
 Posted: Feb 17 2014, 04:47 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









Performing a search for 050d:845a on the DeviceIDs page does not return a match. Hence I can definitely say that the kmod-r8192cu package you have found and installed is incorrect for your WiFi device. sad.gif

However, using my test-system, when I check kernel-lt, I see that it will provide the appropriate support. smile.gif

CODE

[Duo2 ~]$ uname -a
Linux Duo2 2.6.32-431.5.1.el6.x86_64 #1 SMP Fri Jan 10 14:46:43 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
[Duo2 ~]$ rpm -qa kernel\* | sort
kernel-2.6.32-431.5.1.el6.x86_64
kernel-firmware-2.6.32-431.5.1.el6.noarch
kernel-headers-2.6.32-431.5.1.el6.x86_64
kernel-lt-3.10.30-1.el6.elrepo.x86_64
kernel-ml-3.13.3-1.el6.elrepo.x86_64
[Duo2 ~]$ grep -i 050d /lib/modules/*/modules.alias | grep -i 845a
/lib/modules/3.10.30-1.el6.elrepo.x86_64/modules.alias:alias usb:v050Dp845Ad*dc*dsc*dp*ic*isc*ip*in* r8712u
/lib/modules/3.13.3-1.el6.elrepo.x86_64/modules.alias:alias usb:v050Dp845Ad*dc*dsc*dp*ic*isc*ip*in* r8712u
[Duo2 ~]$

The above shows me that the r8712u module will be appropriate.

So my suggestion would be to install the kernel-lt package, reboot the system ensuring that kernel-lt is selected and test for wireless connectivity. wink.gif


--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
johnu1960
 Posted: Feb 20 2014, 01:20 AM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









QUOTE (burakkucat @ Feb 17 2014, 11:47 AM)
Performing a search for 050d:845a on the DeviceIDs page does not return a match. Hence I can definitely say that the kmod-r8192cu package you have found and installed is incorrect for your WiFi device.  sad.gif

However, using my test-system, when I check kernel-lt, I see that it will provide the appropriate support.  smile.gif

CODE

[Duo2 ~]$ uname -a
Linux Duo2 2.6.32-431.5.1.el6.x86_64 #1 SMP Fri Jan 10 14:46:43 EST 2014 x86_64 x86_64 x86_64 GNU/Linux
[Duo2 ~]$ rpm -qa kernel\* | sort
kernel-2.6.32-431.5.1.el6.x86_64
kernel-firmware-2.6.32-431.5.1.el6.noarch
kernel-headers-2.6.32-431.5.1.el6.x86_64
kernel-lt-3.10.30-1.el6.elrepo.x86_64
kernel-ml-3.13.3-1.el6.elrepo.x86_64
[Duo2 ~]$ grep -i 050d /lib/modules/*/modules.alias | grep -i 845a
/lib/modules/3.10.30-1.el6.elrepo.x86_64/modules.alias:alias usb:v050Dp845Ad*dc*dsc*dp*ic*isc*ip*in* r8712u
/lib/modules/3.13.3-1.el6.elrepo.x86_64/modules.alias:alias usb:v050Dp845Ad*dc*dsc*dp*ic*isc*ip*in* r8712u
[Duo2 ~]$

The above shows me that the r8712u module will be appropriate.

So my suggestion would be to install the kernel-lt package, reboot the system ensuring that kernel-lt is selected and test for wireless connectivity.  wink.gif



Thanks for your reply. I did try your suggestion and still couldn't get it to work, but due to my work schedule I am unable to put much more time in at the moment. Will fiddle with it some more in the next few days. Your reply is much appreciated!
PM
^
burakkucat
 Posted: Feb 20 2014, 01:45 AM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









My suggestion as to the steps to take:

(1) Ensure that the kernel-lt is actually booted. wink.gif

(2) lsmod | grep r8712u to see if the module is already loaded.

(3) If no, modprobe r8712u to load it and then check both dmesg and the /var/log/messages file for any message subsequent to the issuing of the modprobe command.

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
johnu1960
 Posted: Feb 23 2014, 01:35 PM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









QUOTE (burakkucat @ Feb 19 2014, 08:45 PM)
My suggestion as to the steps to take:

(1) Ensure that the kernel-lt is actually booted.  wink.gif

(2) lsmod | grep r8712u to see if the module is already loaded.

(3) If no, modprobe r8712u to load it and then check both dmesg and the /var/log/messages file for any message subsequent to the issuing of the modprobe command.


I downloaded the file:

kernel-lt-headers-3.10.30-1.el6.elrepo.i386.rpm

and attempted to install it onto the system. The install did not work, issuing the transaction error:

Kernal-lt-headers conflicts with Kernal-headers-2.6.32-431.e16.i686

First of all, was I installing the correct file? If so it conflicts with some driver that already exists in the system. I have a 32 bit system so I thought the i386 file was the correct one to download.
lsmod | grep r8712u returns nothing. The modprobe returns "module not found".


PM
^
burakkucat
 Posted: Feb 24 2014, 10:14 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









The kernel-lt-headers package is not the kernel-lt package! huh.gif

Please try again, download and install the kernel-lt-3.10.32-1.el6.elrepo.i686.rpm package.

Once installed, ensure that it is booted (you will have to select the relevant entry from the Grub menu) and then attempt to modprobe r8712u

Check the tail of the /var/log/messages file for any possible error messages . . . the driver may also need to have the firmware available. But let's not worry about that until such time as you can modprobe the driver.

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
johnu1960
 Posted: Feb 25 2014, 02:59 AM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









Thanks for correcting me on the file name. I installed kernel-lt-3.10.32-1.el6.elrepo.i686.rpm. There were no error messages indicating any conflict with other drivers this time. The install seemed to go fine. I did get messages like this in an icon in the upper right of the screen:

The package download failed. Could not contact source 'sl', so it will be disabled

I assume they were related to the fact that I cannot yet connect to the internet and so SL cannot contact its standard software sources.

I rebooted the computer and selected the new entry from the grub menu with elrepo in the name. When I ran
modprobe r8712u there was no response. It just went to a new prompt.

I checked the /var/log/messages and found a firmware related error as follows:

usb 1-8: r8712u: Firmware request failed

Seems like I'm getting closer but not quite there!
PM
^
burakkucat
 Posted: Feb 25 2014, 05:19 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









QUOTE (johnu1960 @ Feb 25 2014, 02:59 AM)
Thanks for correcting me on the file name.  I installed kernel-lt-3.10.32-1.el6.elrepo.i686.rpm.  There were no error messages

<snip>

I rebooted the computer and selected the new entry from the grub menu with elrepo in the name.  When I ran
modprobe r8712u   there was no response.  It just went to a new prompt. 

I checked the /var/log/messages and found a firmware related error as follows:

usb 1-8: r8712u: Firmware request failed

Seems like I'm getting closer but not quite there!

That is good progress. We now know the r8712u driver does, indeed, require a firmware package.

From a system with Internet connectivity, point a web-browser to http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/rtlwifi

On the screen then displayed, you should see rtl8712u.bin referenced on the thirteenth line. Position the pointer on the word plain at the far right-hand end of that line and then perform a left mouse click. The file will either be downloaded or you will be prompted to confirm that it should be downloaded. That file, rtl8712u.bin, should now be transferred to the target system.

We now need to determine the correct location. Let's take a look and see if the driver will tell us --

CODE

[Duo2 ~]$ modinfo -F firmware /lib/modules/3.10.32-1.el6.elrepo.x86_64/kernel/drivers/staging/rtl8712/r8712u.ko
rtlwifi/rtl8712u.bin
[Duo2 ~]$

As I am not currently using the kernel-lt, I needed to provide the full path to the r8712u.ko module. If you would like to try it for yourself on you system (using the kernel-lt), the command line is simpler --

modinfo -F firmware r8712u

From the result I obtained, above, I now know that the driver (r8712u) expects to find the firmware (rtl8712u.bin) in the /lib/firmware/rtlwifi/ directory.

Please check to see if such a directory exists. If it currently does not exist, create it --

mkdir -p /lib/firmware/rtlwifi/

and then put a copy of the firmware file into that directory --

cp rtlwifi/rtl8712u.bin /lib/firmware/rtlwifi/

Now attempt --

modprobe r8712u

and then check the tail end of the /var/log/messages file for the status of that modprobe command.

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
johnu1960
 Posted: Feb 26 2014, 01:44 AM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









Hi burakkucat. I followed your directions and everything is working. I have an internet connection! Thanks for hanging in there with me http://dl.dropbox.com/u/2835777/egyptian.gif
PM
^
joutlan
 Posted: Feb 26 2014, 02:36 AM
Quote Post


SLF Inceptor
*******

Group: Admins
Posts: 871
Member No.: 1
Joined: 8-April 11









Nice job Barrukkat....that is what a forum is all about smile.gif

--------------------
DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games)
Nexus 4 //Android
PMEmail PosterUsers Website
^
burakkucat
 Posted: Feb 26 2014, 06:05 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









QUOTE (johnu1960 @ Feb 26 2014, 01:44 AM)
Hi burakkucat.  I followed your directions and everything is working.  I have an internet connection!  Thanks for hanging in there with me  http://dl.dropbox.com/u/2835777/egyptian.gif

That is excellent news! http://th166.photobucket.com/albums/u117/rdshear/Smiley%20Faces/th_smiley-face-thumbs-up.gif

Now there is just one other detail that I should discuss. As you are no longer using the distro kernel but the kernel-lt from the ELRepo Project, you should edit the system's /etc/sysconfig/kernel file and change the very last line to be --

DEFAULTKERNEL=kernel-lt

With that change, you will ensure that the kernel-lt package will be updated when a new package is released.

yum --enablerepo elrepo-kernel check-update

(Will notify you of a new package.)

yum --enablerepo elrepo-kernel update

(Will perform a kernel update.)

Finally, I would suggest that you subscribe to the ELRepo Project's general mailing list (a low volume traffic list) so that you will see any announcements made when a new kernel-lt package is available. smile.gif

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
burakkucat
 Posted: Feb 26 2014, 06:08 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









QUOTE (joutlan @ Feb 26 2014, 02:36 AM)
Nice job Barrukkat....that is what a forum is all about smile.gif

Smiling like the Cheshire Cat, b*cat performs one of his best Japanese-style bows in acknowledgement . . . biggrin.gif

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
johnu1960
 Posted: Feb 27 2014, 03:28 AM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









QUOTE (burakkucat @ Feb 26 2014, 01:05 PM)
QUOTE (johnu1960 @ Feb 26 2014, 01:44 AM)
Hi burakkucat.  I followed your directions and everything is working.  I have an internet connection!  Thanks for hanging in there with me  http://dl.dropbox.com/u/2835777/egyptian.gif

That is excellent news! http://th166.photobucket.com/albums/u117/rdshear/Smiley%20Faces/th_smiley-face-thumbs-up.gif

Now there is just one other detail that I should discuss. As you are no longer using the distro kernel but the kernel-lt from the ELRepo Project, you should edit the system's /etc/sysconfig/kernel file and change the very last line to be --

DEFAULTKERNEL=kernel-lt

With that change, you will ensure that the kernel-lt package will be updated when a new package is released.

yum --enablerepo elrepo-kernel check-update

(Will notify you of a new package.)

yum --enablerepo elrepo-kernel update

(Will perform a kernel update.)

Finally, I would suggest that you subscribe to the ELRepo Project's general mailing list (a low volume traffic list) so that you will see any announcements made when a new kernel-lt package is available. smile.gif


When I issue the yum commands I get the error message:

Error getting repository data for elrepo-kernel, repository not found

Should the elrepo-kernel repository be placed in a permanent config file somewhere? Thanks.
PM
^
burakkucat
 Posted: Feb 27 2014, 01:26 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









Hmm . . . I don't have a system with SL available, on which to check, but I do know that Scientific Linux ships the elrepo-release package.

Please take a look in your /etc/yum.repos.d/ directory and see what is there . . . If it does not contain the elrepo.repo file, then perhaps the following will do the trick --

yum clean all
yum install elrepo-release
yum --enablerepo elrepo-kernel check-update


Hopefully the above three command lines should return without error.

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
joutlan
 Posted: Feb 27 2014, 10:02 PM
Quote Post


SLF Inceptor
*******

Group: Admins
Posts: 871
Member No.: 1
Joined: 8-April 11









QUOTE (burakkucat @ Feb 26 2014, 02:08 PM)
QUOTE (joutlan @ Feb 26 2014, 02:36 AM)
Nice job Barrukkat....that is what a forum is all about smile.gif

Smiling like the Cheshire Cat, b*cat performs one of his best Japanese-style bows in acknowledgement . . . biggrin.gif



laugh.gif

--------------------
DΞLL Precision M6700: 17 inch NB//i7-quad w/USB 3.0, 16.0GB, Quadro K5000M 2.0GB DDR3, RGBLED //W8P64/Scientific Linux 6.4 x64
DΞLL Vostro 3350 Nirvana: 13 inch NB w/ IntelSSD// W8Px64 (Work;Games)
Nexus 4 //Android
PMEmail PosterUsers Website
^
johnu1960
 Posted: Feb 28 2014, 10:38 AM
Quote Post


SLF Newbie


Group: Members
Posts: 12
Member No.: 2971
Joined: 17-February 14









QUOTE (burakkucat @ Feb 27 2014, 08:26 AM)
Hmm . . .  I don't have a system with SL available, on which to check, but I do know that Scientific Linux ships the elrepo-release package.

Please take a look in your /etc/yum.repos.d/ directory and see what is there . . . If it does not contain the elrepo.repo file, then perhaps the following will do the trick --

yum clean all
yum install elrepo-release
yum --enablerepo elrepo-kernel check-update


Hopefully the above three command lines should return without error.


I ran the 3 yum commands successfully. The elrepo.repo file does exist now in the /etc/yum.repos.d directory. Finally I ran:

yum --enablerepo elrepo-kernel update

... and that worked as well. Have a great weekend! smile.gif
PM
^
burakkucat
 Posted: Feb 28 2014, 01:36 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









Excellent news! Thank you for sharing it. http://th166.photobucket.com/albums/u117/rdshear/Smiley%20Faces/th_smiley-face-thumbs-up.gif

Hopefully, you will now be able to resolve your other issue . . .

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
fritter
 Posted: Jul 28 2014, 08:47 AM
Quote Post


SLF Newbie


Group: Members
Posts: 1
Member No.: 3174
Joined: 28-July 14









Dear all,

I am a new user of scientific linux, and as johnu1960 I have a problem to see WLAN connections : "Wireless network : device not ready (firmware missing)"

I have followed all the instructions from burakkucat :

CODE

[root@ritterlinuxlaptop log]# modinfo -F firmware /lib/modules/3.10.49-1.el6.elrepo.x86_64/kernel/drivers/staging/rtl8712/r8712u.ko
rtlwifi/rtl8712u.bin


1) install kernet-lt + choose it in the grub menu
2) download the missing rtl8712u.bin, create the folder rtlwifi in the /lib/firmware/ and put the .bin inside
3) I have typed modprobe r8712u => accepted without answer in the terminal
4) Check the error messages in :


QUOTE
Jul 28 12:29:06 ritterlinuxlaptop kernel: r8712u: module is from the staging directory, the quality is unknown, you have been warned.
Jul 28 12:29:06 ritterlinuxlaptop kernel: usbcore: registered new interface driver r8712u


but I have also found :

QUOTE
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <info> (wlan0): driver supports SSID scans (scan_capa 0x01).
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <info> (wlan0): new 802.11 WiFi device (driver: 'rt2800pci' ifindex: 2)
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <info> (wlan0): exported as /org/freedesktop/NetworkManager/Devices/0
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <info> (wlan0): now managed
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <info> (wlan0): device state change: 1 -> 2 (reason 2)
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <info> (wlan0): bringing up device.
Jul 28 12:27:37 ritterlinuxlaptop kernel: ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt3290.bin'
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <warn> (wlan0): firmware may be missing.
Jul 28 12:27:37 ritterlinuxlaptop NetworkManager[1907]: <info> (wlan0): deactivating device (reason: 2).
Jul 28 12:27:37 ritterlinuxlaptop kernel: ieee80211 phy0: rt2x00lib_request_firmware: Error - Failed to request Firmware
Jul 28 12:27:37 ritterlinuxlaptop firmware.sh[1934]: Cannot find  firmware file 'rt3290.bin'



I try to find "rt3290.bin" on the net without success. What should I do right now ?

Thanks !

François
PM
^
burakkucat
 Posted: Jul 28 2014, 03:26 PM
Quote Post


SLF Administrator
****

Group: Admins
Posts: 197
Member No.: 14
Joined: 10-April 11









If you go to the http://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/tree/ page, you will find rt3290.bin towards the bottom.

I see --

CODE

<snip>
l--------- rt3070.bin     10 log stats plain
-rw-r--r-- rt3071.bin   4096 log stats plain
l--------- rt3090.bin     10 log stats plain
-rw-r--r-- rt3290.bin   4096 log stats plain
-rw-r--r-- rt73.bin     2048 log stats plain
<snip>

--------------------
user posted image 100% Linux and, previously, Unix. Co-founder of the ELRepo Project.
PMUsers Website
^
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll