View previous topic :: View next topic |
Author |
Message |
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 2:01 pm Post subject: Missing drivers |
|
|
Can anyone tell me what do I have to enable in my kernel to get my network working?
this is what lspci said about my ethernet connection and wireless
Code: | 01:00.0 Ethernet controller: Attansic Technology Corp. Device 2062 (rev c1)
02:00.0 Network controller: Realtek Semiconductor Co. , Ltd. Device 8176 (rev 01)
|
Im still googling for a solution that works but when I enable all the realtek drivers I find in genkernel using the menuconfig option, in the wireless network drivers the don't seem to be working because I do not have an eth0 or wlan0 interface and all I have is lo interface, can anybody help?[/code] |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Oct 14, 2011 2:05 pm Post subject: |
|
|
Please post the output of- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 2:34 pm Post subject: |
|
|
is Code: |
00:00.0 0600: 1022:1705
00:01.0 0300: 1002:9647
00:01.1 0403: 1002:1714
00:04.0 0604: 1022:1709
00:05.0 0604: 1022:170a
00:11.0 0106: 1022:7801
00:12.0 0c03: 1022:7807 (rev 11)
00:12.2 0c03: 1022:7807 (rev 11)
00:13.0 0c03: 1022:7807 (rev 11)
00:13.2 0c03: 1022:7808 (rev 11)
00:14.0 0c05: 1022:780b (rev 13)
00:14.2 0403: 1022:780d (rev 01)
00:14.3 0601: 1022:780e (rev 11)
00:14.4 0604: 1022:780f (rev 40)
00:14.5 0c03: 1022:7809 (rev 11)
00:16.0 0c03: 1022:7808 (rev 11)
00:16.2 0c03: 1022:7808 (rev 11)
00:18.0 0600: 1022:1700 (rev 43)
00:18.1 0600: 1022:1701
00:18.2 0600: 1022:1702
00:18.3 0600: 1022:1703
00:18.4 0600: 1022:1704
00:18.5 0600: 1022:1718
00:18.6 0600: 1022:1716
00:18.7 0600: 1022:1719
01:00.0 0200: 1969:2062 (rev c1)
02:00.0 0280: 10ec:8176 (rev 01)
|
I typed all this by hand lol [/code] |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 2:37 pm Post subject: |
|
|
is it possible to use the seeds from here?
http://kernel-seeds.org/seeds/64_bit/gentoo/
since they are for x86_64 and for kernel 3.0.6 for gentoo? would they be better to get my computer running? |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Oct 14, 2011 2:51 pm Post subject: |
|
|
Eddi3x3 wrote: | I typed all this by hand lol | Ugh. Don't do that. Emerge wgetpaste and then you could just do Code: | lspci -n | wgetpaste | This will return you a URL that you can use to retrieve the information on any computer.
Your driver is named rtl8192ce. Look for it in the kernel config. After you get that compiled in, follow the Handbook steps on Wireless Networking.
Pappy's Kernel Seeds are a great starting point but they don't contain any drivers; you still have to do the hard work.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 3:03 pm Post subject: |
|
|
wait but i don't see realtek anywhere on the wpa_supplicant (correct me if I'm wrong) and that's the one I emerged, I already put rtl8192ce in the kernel as a module |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10590 Location: Somewhere over Atlanta, Georgia
|
Posted: Fri Oct 14, 2011 3:31 pm Post subject: |
|
|
Looks like that drivers supports Linux Wireless Extensions, which means that -Dwext is the correct driver to specify in /etc/conf.d/net.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 4:19 pm Post subject: |
|
|
there is no section in wireless networking on how to set up using network manager |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Oct 14, 2011 4:58 pm Post subject: |
|
|
google for "gentoo network manager"
then visit the link "NetworkManager - Gentoo Linux Wiki"
note that you use either Network Manager or gentoo wireless networking; you do not use both at the same time _________________ Defund the FCC. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 5:14 pm Post subject: |
|
|
how do I know which one I have installed? there's a gentoo one? |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 5:16 pm Post subject: |
|
|
I already saw this page but it didn't say anything about editing the
nano /etc/conf.d/net
here's what I have
Quote: |
modules="dhcpcd"
dns_servers="8.8.8.8 192.168.1.1"
modules_wlan0="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=15
iwconfig_wlan0_mode="Managed"
config_wlan0="dhcp nodns"
dhcpcd_wlan0="-t 10"
modules_eth0="ifconfig"
config_eth0="dhcp nodns"
dhcpcd_eth0="-t 10" |
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Oct 14, 2011 5:19 pm Post subject: |
|
|
Quote: | there is no section in wireless networking on how to set up using network manager | if I guess correctly that this comment reflects you using the gentoo handbook then the result will be gentoo wireless networking
Quote: | modules="dhcpcd"
dns_servers="8.8.8.8 192.168.1.1"
modules_wlan0="wpa_supplicant"
wpa_supplicant_wlan0="-Dwext"
wpa_timeout_wlan0=15
iwconfig_wlan0_mode="Managed"
config_wlan0="dhcp nodns"
dhcpcd_wlan0="-t 10"
modules_eth0="ifconfig"
config_eth0="dhcp nodns"
dhcpcd_eth0="-t 10" | Is good for gentoo networking. It should be ignored for NetworkManager. _________________ Defund the FCC. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 6:56 pm Post subject: |
|
|
then what do I do to configure it for network manager? |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 7:20 pm Post subject: |
|
|
I booted into my system and I still do not have wlan0 interface OR eth0 interface even after I modprobed rtl8192ce module for my wireless card to work, I did
and I only see the lo interface, nothing else |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 7:25 pm Post subject: |
|
|
ok now this sounds interesting I took a look at dmesg and this is what I found
Code: |
rtl8192ce 0000:02:00.0 PCI INT A -> GSI 17 (level, low) ->IRQ 17
rtlwifi:rtl_pci_probe():<0-0> Can't init_sw_vars
rtl8192ce 0000:02:00.0: PCI INT A disabled |
|
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Oct 14, 2011 7:41 pm Post subject: |
|
|
from the chroot:
Code: | grep -i atl1c /usr/src/linux/.config
grep -i rtl /usr/src/linux/.config
grep -i wext /usr/src/linux/.config | What is the output?
also Code: | grep -i NETDEVICES /usr/src/linux/.config
grep -i NETDEV_1000 /usr/src/linux/.config
grep -i PCI /usr/src/linux/.config
grep -i EXPERIMENTAL /usr/src/linux/.config
grep -i CRC32 /usr/src/linux/.config
grep -i MII /usr/src/linux/.config | What is the output? _________________ Defund the FCC. |
|
Back to top |
|
|
Eddi3x3 Guru
Joined: 25 May 2011 Posts: 328
|
Posted: Fri Oct 14, 2011 7:51 pm Post subject: |
|
|
I seem to have no .config file.... I used genkernel to compile my kernel if that helps |
|
Back to top |
|
|
krinn Watchman
Joined: 02 May 2003 Posts: 7470
|
Posted: Sat Oct 15, 2011 12:53 am Post subject: |
|
|
NeddySeagoon already answered you https://forums.gentoo.org/viewtopic-p-6842060.html#6842060
Why you don't care ?
And use a kernel seed if you wish or build your kernel config yourself, this is the same, genkernel is there to ease things for users, but generally complicated them a lot for users that try to help you (because most of us doesn't even really know how genkernel works and what it do. At least me). So people that use genkernel should be more able to help you, eheh, but that people that use genkernel use it because they don't really know what they are doing, and so, aren't really able to help you. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Sat Oct 15, 2011 3:18 am Post subject: |
|
|
run Code: | genkernel --menuconfig all | When menuconfig dialog opens proceed as follows:
change
[*] Enable loadable module support --->
to
[ ] Enable loadable module support --->
then back to
[*] Enable loadable module support --->
then exit saving the new configuration
this will provide you a /usr/src/linux/.config which you can grep as above _________________ Defund the FCC. |
|
Back to top |
|
|
novices n00b
Joined: 28 Feb 2004 Posts: 19
|
Posted: Tue Dec 13, 2011 6:12 pm Post subject: |
|
|
I've the same wifi chipset:
Code: | 04:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8176 (rev 01) |
I have rtlwifi loaded (Linux kernel 3.0.6 -> DEVICE DRIVERS -> Network device support -> Wireless LAN -> Both Realtek Drivers selected (no time to check which is the one I need now).
But no wifi of course until this morning.
To get it working I just installed sys-kernel/linux-firmware, unload all network modules (espacially rtlwifi) and reload them, wlan0 appears after launching "iwconfig".
My network modules:
Code: | rtl8192ce 72932 0
rtl8192c_common 56486 1 rtl8192ce
rtlwifi 91609 1 rtl8192ce |
Then "dmesg | grep rtl" it works:
Code: | [ 7.100704] rtl8192ce 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 7.100714] rtl8192ce 0000:04:00.0: setting latency timer to 64
[ 7.142064] rtl8192ce:rtl92c_init_sw_vars():<0-0> Failed to request firmware!
[ 7.142068] rtlwifi:rtl_pci_probe():<0-0> Can't init_sw_vars.
[ 7.142085] rtl8192ce 0000:04:00.0: PCI INT A disabled
|
And same command after module loading:
Code: | [ 4123.958311] rtl8192ce 0000:04:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 4123.958330] rtl8192ce 0000:04:00.0: setting latency timer to 64
[ 4123.971573] ieee80211 phy1: Selected rate control algorithm 'rtl_rc'
[ 4123.972660] rtlwifi: wireless switch is on |
|
|
Back to top |
|
|
|