Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make rtl819q2se_pci driver from source code...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Proksima
n00b
n00b


Joined: 23 May 2011
Posts: 40

PostPosted: Thu Jun 16, 2011 12:27 am    Post subject: make rtl819q2se_pci driver from source code... Reply with quote

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
View user's profile Send private message
Proksima
n00b
n00b


Joined: 23 May 2011
Posts: 40

PostPosted: Thu Jun 16, 2011 1:16 am    Post subject: Well my situation improuved... Reply with quote

Okay, I've just notice the easy way:

Code:
emerge rtl8192se


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
View user's profile Send private message
Proksima
n00b
n00b


Joined: 23 May 2011
Posts: 40

PostPosted: Thu Jun 16, 2011 2:34 am    Post subject: Still wonder why noone ever answer my posts... Reply with quote

To those who probably will never read this, the solution to my WIRELESS_EXT problem:

https://forums.gentoo.org/viewtopic-t-824309-start-0.html
Back to top
View user's profile Send private message
Proksima
n00b
n00b


Joined: 23 May 2011
Posts: 40

PostPosted: Thu Jun 16, 2011 2:52 am    Post subject: Marking as solved... Reply with quote

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
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Fri Jun 17, 2011 2:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
Proksima
n00b
n00b


Joined: 23 May 2011
Posts: 40

PostPosted: Fri Jun 17, 2011 3:30 pm    Post subject: Reply with quote

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! :P
Back to top
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Fri Jun 17, 2011 3:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Fri Jun 17, 2011 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
mamac
l33t
l33t


Joined: 29 Feb 2004
Posts: 890

PostPosted: Sat Jun 18, 2011 6:47 am    Post subject: Reply with quote

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
View user's profile Send private message
chithanh
Developer
Developer


Joined: 05 Aug 2006
Posts: 2158
Location: Berlin, Germany

PostPosted: Sun Jun 19, 2011 12:20 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum