View previous topic :: View next topic |
Author |
Message |
Proksima n00b
Joined: 23 May 2011 Posts: 40
|
Posted: Thu Jun 16, 2011 12:27 am Post subject: make rtl819q2se_pci driver from source code... |
|
|
I'm trying to make my Realtek 8172 wireless card on Gentoo and I've saw that I need the rtl8192se_pci driver to make it work (unfortunately there is only rtl8192ce inkernel... )
The problem being that I really have a bad time in building programs from source code. When issuing the make command to the Makefile of the driver, I get the following (which do not work):
Code: |
make[1]: Entering directory `/usr/src/linux-2.6.39-gentoo-r1'
CC [M] /home/damien/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.o
/home/damien/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.c: In function 'rtl8192_pci_probe':
/home/damien/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.c:6170:12: error: 'struct net_device' has no member named 'wireless_handlers'
At top level:
cc1: warning: unrecognized command line option "-Wno-unused-but-set-variable"
make[2]: *** [/home/damien/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192/rtl_core.o] Error 1
make[1]: *** [_module_/home/damien/rtl8192se_linux_2.6.0019.1207.2010/HAL/rtl8192] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.39-gentoo-r1'
make: *** [all] Error 2
|
Sometime my compilations works, most of the time I get similar result to this, however, I really need my wireless up... Can someone tell me what may be wrong? As a side note, everything I emerge with portage work flawlessly...
More details about my setup:
kernel-2.6.39-gentoo-r1
Openbox - tilda (as the terminal)
relevant part of lspci:
Code: |
0e:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
14:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10)
|
You can get the source from here:
http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=48&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false&Downloads=true
Hope someone can help me and that this thread will help people who have difficulties setting up their wireless!
Proksima |
|
Back to top |
|
|
Proksima n00b
Joined: 23 May 2011 Posts: 40
|
Posted: Thu Jun 16, 2011 1:16 am Post subject: Well my situation improuved... |
|
|
Okay, I've just notice the easy way:
which shows me what my problem was: I need to enable WIRELESS_EXT in my kernel. However, I can only find WIRELESS_EXT_SYSFS... Still looking, might found it soon enough... |
|
Back to top |
|
|
Proksima n00b
Joined: 23 May 2011 Posts: 40
|
|
Back to top |
|
|
Proksima n00b
Joined: 23 May 2011 Posts: 40
|
Posted: Thu Jun 16, 2011 2:52 am Post subject: Marking as solved... |
|
|
After having followed the other thread, the driver installed automatically and my wlan0 was automatically detected. Thanks for having a place for people like me to speak alone about my problems... |
|
Back to top |
|
|
mamac l33t
Joined: 29 Feb 2004 Posts: 890
|
Posted: Fri Jun 17, 2011 2:41 pm Post subject: |
|
|
Your not alone. My ethernet card was broken by lightnings, I have to install a nice wireless card which has 8192C.
Struggling to enable WIRELESS_EXT too with 2.6.36-r8 _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
|
Proksima n00b
Joined: 23 May 2011 Posts: 40
|
Posted: Fri Jun 17, 2011 3:30 pm Post subject: |
|
|
mamac wrote: | Struggling to enable WIRELESS_EXT too with 2.6.36-r8 |
Just enable those in the kernel, WIRELESS_EXT will then be added by default.
NETDEVICES support at:
Location: │
│ -> Device Drivers │
WLAN support at:
Location: │
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
IEEE 802.11 for Host AP (Prism2/2.5/3 and WEP/TKIP/CCMP) at
Location: │
│ -> Device Drivers │
│ -> Network device support (NETDEVICES [=y]) │
│ -> Wireless LAN (WLAN [=y])
And because I've just finished doing it, if your card is not "standard" you will have a hard time using wpa_supplicant or network-tools for manual configuration (I had at least...) I recommand that you use wicd or NetworkManager because they do all the hard work for you! |
|
Back to top |
|
|
mamac l33t
Joined: 29 Feb 2004 Posts: 890
|
Posted: Fri Jun 17, 2011 3:40 pm Post subject: |
|
|
Found it thanks, I just wonder why udev renames the interface from wlan0 to wlan1, but that's another issue.
Cheers _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
|
mamac l33t
Joined: 29 Feb 2004 Posts: 890
|
Posted: Fri Jun 17, 2011 7:53 pm Post subject: |
|
|
Proksima,
Which driver do you use? the one from portage?
Do you have a stale connection?
However my chip is 8188CUS and it apparently needs 8192CU.
Problem I have now is that connection is unstable, it keeps the ip address but it's not possible to reach remote hosts after a while. _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
|
mamac l33t
Joined: 29 Feb 2004 Posts: 890
|
Posted: Sat Jun 18, 2011 6:47 am Post subject: |
|
|
Downloaded latest version of driver from Realtek website and updated kernel to 2.6.38-r6, now wireless is stable.
Didn't have to use Knetworkmanager, just wpa_supplicant is fine for me, with baselayout2.
Thanks for this thread. _________________ Powered by Gentoo Linux since 2003 |
|
Back to top |
|
|
chithanh Developer
Joined: 05 Aug 2006 Posts: 2158 Location: Berlin, Germany
|
Posted: Sun Jun 19, 2011 12:20 am Post subject: |
|
|
Code: | 14:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8172 (rev 10) | That is a Realtek 8191SE chipset, as lspci will tell you after running update-pciids. Note that since kernel 3.0-rc1, the rtl8192se driver has been integrated, so no more need to build the external driver. The wlan0->wlan1 is caused by udev persistent device naming, get rid of /etc/udev/rules.d/70-persistent-net.rules to make it stop. |
|
Back to top |
|
|
|