LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-07-2013, 04:21 PM   #1
student23
LQ Newbie
 
Registered: Jan 2012
Posts: 21

Rep: Reputation: Disabled
Trying to install wireless netword card under CentOS 6.4


Greetings everyone,

First of all, thanks for taking the time to read this post. I thank you in advance for your input and sharing your Linux knowledge. I'm a Linux convert and trying to learn as much as I can.

I have Shuttle XS35-702 and I'm trying to make the built-in wireless network to work under CentOS 6.4 2.6.32-358.2.1.el6.x86_64 #1 SMP Wed Mar 13 00:26:49 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux. I thought I had it working through reading around the Internet but it did not work. What I want to know is the order of steps that I need to do and as I go through each step making sure it's properly done. For example, the first step I assume would be to figure out what chipset I have, for this I ran the lspci command I get this:

[user6354@CentOSserver ~]# lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller (rev 02)
00:1b.0 Audio device: Intel Corporation N10/ICH 7 Family High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation N10/ICH 7 Family PCI Express Port 4 (rev 02)
00:1d.0 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #1 (rev 02)
00:1d.1 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #2 (rev 02)
00:1d.2 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #3 (rev 02)
00:1d.3 USB controller: Intel Corporation N10/ICH 7 Family USB UHCI Controller #4 (rev 02)
00:1d.7 USB controller: Intel Corporation N10/ICH 7 Family USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation NM10 Family LPC Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 02)
00:1f.3 SMBus: Intel Corporation N10/ICH 7 Family SMBus Controller (rev 02)
02:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
02:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80)
02:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 80)
02:00.5 Ethernet controller: JMicron Technology Corp. JMC260 PCI Express Fast Ethernet Controller (rev 02)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvA Wireless LAN Controller (rev 10)

I'm assuming that the Realtek Semiconductor Co., Ltd. RTL8191SEvA is the drivers that I need, so I think I would need to download the drivers here http://elrepo.org/tiki/kmod-r8192se but my card is not listed. This where I'm uncertain. Anyway, I appreciate your feedback on this matter.
 
Old 04-07-2013, 08:35 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
would need to download the drivers here http://elrepo.org/tiki/kmod-r8192se but my card is not listed.
That page lists the vendor id of the devies. If you run lspci with the -n flag it will output the vendor id of your pci devices, then you can compare it to those listed on the web page.
Eg to get the vendor id of your wireless device (which from your post is at pci bus address 03:00.0):
Code:
lspci -s 03:00.0 -n
Cheers,

Evo2.

PS. When using packages from elrepo make sure you follow their instructions on how to enable the repository etc.
 
Old 04-07-2013, 10:31 PM   #3
student23
LQ Newbie
 
Registered: Jan 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hello Evo2,

I ran the command and this is what I get:

[user6354@CentOSserver ~]# lspci -s 03:00.0 -n
03:00.0 0280: 10ec:8171 (rev 10)

So my drivers would be http://elrepo.org/tiki/kmod-r8192se since it's listed?
 
Old 04-07-2013, 11:18 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

Quote:
Originally Posted by student23 View Post
[user6354@CentOSserver ~]# lspci -s 03:00.0 -n
03:00.0 0280: 10ec:8171 (rev 10)

So my drivers would be http://elrepo.org/tiki/kmod-r8192se since it's listed?

Great, so it should work. Now you need to add the elrepo repository as explained at http://elrepo.org/tiki/tiki-index.php
and then "yum install kmod-r8192se".

Evo2.
 
Old 04-08-2013, 12:02 AM   #5
student23
LQ Newbie
 
Registered: Jan 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Ok, I rand these commands successfully:

rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://elrepo.org/elrepo-release-6-5...epo.noarch.rpm
yum install yum-plugin-fastestmirror
yum install kmod-r8192se

How can I confirm the driver is successfully installed? And if it is, what's the next step?
 
Old 04-08-2013, 12:20 AM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

you should be able to see the network device with:
Code:
ifconfig -a
If it is there you can go ahead and configure the wireless in the usual fashion.

Eg, if you want to use Network Manager: http://wiki.centos.org/HowTos/Laptops/NetworkManager

Evo2.
 
Old 04-08-2013, 01:17 AM   #7
student23
LQ Newbie
 
Registered: Jan 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
Great. When I do a ifconfig -a I do see the wlan0. However, I did a minimal install on my computer so I don't have any gui to run NetworkManager. I did run system-config-network and I got the gui that's red, gray and a blue blackground but the wlan0 does not appear. I'm following the steps here http://wiki.centos.org/HowTos/Laptops/WpaSupplicant and one of the files that's missing is the /etc/sysconfig/network-scripts/ifcfg-wlan0. I can create that but one of the values inside this file is the UUID: which I don't know how to get for wlan0. Is this value critical? If it is how can I find out this value from wlan0? I have tried running the commands dmesg and lsmod with not success.

So far what I have for this file is this:

DEVICE=wla0
HWADDR=E0:91:53:1A:C0:8A
TYPE=Wireless
UUID=fa98028b-b924-4304-b8c8-c9024a36785b (this is the value from eth0)
ONBOOT=yes
NM_CONTROLLED=yes
BOOTPROTO=dhcp
 
Old 04-08-2013, 02:05 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

sorry, it seems we've reached the limit of my RHEL/CentoIS/SL knowledge. As far as I know the UUID shouldn't be needed, so I'd suggest trying without that line or with id set to nothing (ie a line with "UUID=").

I'm sure there is a way to have the system generate a basic ifcfg-wlan0 (probably didn't do it earlier since wlan0 did not exist), but I don't know what it is (again I'm not much of a RHEL/CentOS person). Has the machine been rebooted since you installed the wireless driver?

Cheers,

Evo2.
 
Old 04-08-2013, 02:44 AM   #9
student23
LQ Newbie
 
Registered: Jan 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
I rebooted the server and I can see the wlan0 when I do the command ifconfig. However, after created the files below but my wlan0 doesn't get an IP address. Also, I don't have a /etc/init.d/messagebus file.


/etc/sysconfig/wpa_supplicant

# Use the flag "-i" before each of your interfaces, like so:
# INTERFACES="-ieth1 -iwlan0"
INTERFACES=-iwlan0


/etc/wpa_supplicant/wpa_supplicant.conf

network={
ssid="NETWORKSSID"
scan_ssid=1
key_mgmt=WPA-PSK
psk="NETWORKPSK"
}

/etc/rc5.d/S09prepnet

cat > /etc/init.d/prepnet <<EoT
#!/bin/sh

/etc/init.d/messagebus start
/etc/init.d/wpa_supplicant start
killall dhclient >/dev/null 2>&1
EoT
chmod a+rx /etc/init.d/prepnet
ln -s /etc/init.d/prepnet /etc/rc3.d/S09prepnet
ln -s /etc/init.d/prepnet /etc/rc5.d/S09prepnet
 
Old 04-10-2013, 10:31 AM   #10
student23
LQ Newbie
 
Registered: Jan 2012
Posts: 21

Original Poster
Rep: Reputation: Disabled
How does someone know when to use the wpa_supplicant.conf file versus the iwconfig command to configure a wireless network card?
 
  


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
Advice on best wireless ethernet card to install in CentOS 4.4? hamcrash Linux - Hardware 3 04-29-2008 04:05 AM
Netword Card setup Shamie Red Hat 7 06-08-2006 01:15 PM
Config netword card eth0 Debian dicou Linux - Newbie 10 05-21-2004 06:58 PM
Netword Card Installation Help LinuxNewbieGear Linux - Networking 2 09-26-2003 07:30 PM
Mouse, Sound, Netword card problems ludeKing Linux - Newbie 1 07-31-2003 07:38 PM


All times are GMT -5. The time now is 10:17 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration