12 Oktober 2011

How To Install RTL8191SEvA WLAN Device Driver on openSUSE

I’m certainly happy when this issue is already fixed starting from openSUSE 11.3 Milestone #5, and now I have another computer, ASUS EEEPC  1201T netbook. I installed both  openSUSE 11.3 Milestone #7 (zypper dup from openSUSE 11.2) and openSUSE 11.2  in other partition in this computer, and found the WLAN device did not work yet.
su -c 'lspci | grep Network'
Password:
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvA  Wireless LAN Controller (rev 10)

I could not find any easier way on Internet about how-to make this WLAN device works right after installing
the Linux operating system, so I think it needs a little bit work-around:
The Hard Way
1. Install the Required Development Packages (You Must Setting openSUSE Repository First)
[Using root user]
zypper install kernel-source linux-kernel-headers kernel-syms module-init-tools make gcc libstdc++ libgcc glibc-32bit glibc-devel-32bit fontconfig freetype zlib*
2.Get the Driver
Grab it here, find the Linux version, and then download it.
3. Extract the File
[The current driver name (version) is rtl8192se_linux_2.6.0015.0127.2010, I save it in /home/user directory]
Type this on terminal / console:
tar xfvz rtl8192se_linux_2.6.0015.0127.2010.tar.gz

4. Build the Driver
[Using root user]
Change working directory to where the driver is already downloaded in earlier step, mine is /home/user.
cd /home/user/rtl8192se_linux_2.6.0015.0127.2010/

and finally:
make

Update: See the output here.
5. Install the Driver
[Using root user]
make install

Update:  See the output here.
6. Restart the Computer
[Using root user, or through desktop-utility]
reboot



 The Easy Way
[Currently only for openSUSE 11.2 and earlier]
1. Add the driver:/Wireless repository
[Using root user]
zypper ar http://download.opensuse.org/repositories/driver:/wireless/openSUSE_11.2 wireless
2. Install the driver
[Using root user]
zypper install rtl8192se-kmp-KERNEL_NAME

Change the KERNEL_NAME with your current used kernel name, see uname -r for getting this information. The example are:
For kernel-default:
zypper install rtl8192se-kmp-default

For kernel-desktop:
zypper install rtl8192se-kmp-desktop

3. Restart the Computer
[Using root user, or through desktop-utility]
reboot

After login to the desktop, make sure the driver is loaded and used by the device to run:
lsmod | grep 8192
r8192se_pci           518728  0

and see that the WLAN device is up.
su -c iwconfig
Password:

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     802.11bgn  Nickname:"rtl8191SEVA1"
Mode:Managed  Frequency=2.422 GHz  Access Point: Not-Associated
Bit Rate:135 Mb/s
Retry:on   RTS thr:off   Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=10/100  Signal level=0 dBm  Noise level=-100 dBm
Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ppp0      no wireless extensions.
or:
su -c ifconfig
Password:

eth0      Link encap:Ethernet  HWaddr E0:CB:4E:92:4C:5C
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Interrupt:26

lo        Link encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING  MTU:16436  Metric:1
RX packets:188 errors:0 dropped:0 overruns:0 frame:0
TX packets:188 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:13320 (13.0 Kb)  TX bytes:13320 (13.0 Kb)

ppp0      Link encap:Point-to-Point Protocol
inet addr:114.59.196.164  P-t-P:10.64.64.64  Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
RX packets:26031 errors:1884 dropped:0 overruns:0 frame:0
TX packets:26647 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:12654476 (12.0 Mb)  TX bytes:4921465 (4.6 Mb)

wlan0     Link encap:Ethernet  HWaddr 1C:4B:D6:41:CF:B2
UP BROADCAST MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Interrupt:16 Memory:ffffc900119a8000-ffffc900119a8100

It should work now, and you can happy now.

Tidak ada komentar:

Posting Komentar