View previous topic :: View next topic |
Author |
Message |
vectorns n00b
Joined: 23 Aug 2012 Posts: 8
|
Posted: Mon Aug 27, 2012 12:14 am Post subject: [Solved] Problems with network after install. |
|
|
Helo!
I was taking some problems, i install all but when i try to connect to network i found that my interfaces are not there.
When i execute ifconfig -a i only see the lo interface.
If i execute the comand ifconfig eth0 or wlan0 that say somthing like "Driver not found".
In some places say that i must load the modules for this, but i don´t now who module i must.
Someone can help me with this?
Sorry for my english
Last edited by vectorns on Tue Aug 28, 2012 2:33 am; edited 1 time in total |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Aug 27, 2012 1:17 am Post subject: |
|
|
boot cd
run lspci -k
find entries for "network" "ethernet"
if the cd supports the -k option and installs drivers for your controllers the entries will look like:
00:09.0 Bridge: nVidia Corporation MCP55 Ethernet (rev a2) -- my ethernet card
Subsystem: ASUSTeK Computer Inc. Device 8239
Kernel driver in use: forcedeth
Kernel modules: forcedeth
or:
01:08.0 Network controller: Ralink corp. RT2800 802.11n PCI -- my wireless card
Subsystem: Ralink corp. Device 2860
Kernel driver in use: rt2800pci
Kernel modules: rt2800pci
your values will be different, but this will at least identify your cards. if the -k option is supported this will also identify drivers/modules that must be either compiled into your kernel or be compiled as modules and installed available to your kernel. post card, driver, module names here if you need more help _________________ Defund the FCC. |
|
Back to top |
|
|
steak-sandwich n00b
Joined: 27 Aug 2012 Posts: 26
|
Posted: Mon Aug 27, 2012 11:44 am Post subject: same problem |
|
|
I'm having the same problem.
When I do "lspci -k", I'm getting the following output:
Ethernet Controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)
Subsystem: AsusTec Computer Inc. P8P67 Deluxe Motherboard
Kernel driver in use: e1000e
Kernel modules: e1000e
There are no modules or drivers loaded for my wireless card. I know what drivers I need for that (atheros ath9k) and I compiled it into the kernel but it doesn't work. It didn't even work with the liveCD. iwconfig didn't show anything. Has anyone any suggestions?
Thx! |
|
Back to top |
|
|
Randy Andy Veteran
Joined: 19 Jun 2007 Posts: 1148 Location: /dev/koelsch
|
Posted: Mon Aug 27, 2012 12:22 pm Post subject: |
|
|
Hi steak-sandwich.
I guess you have to change your kernel.config settings in a similar way described here: http://en.gentoo-wiki.com/wiki/Atheros_Ath5k/Ath9k_Wireless_Access_Point
Otherwise there will be no kernel modules generated to load.
For further questions you better should open your own thread, instead of mixing it up with vectorns.
Much success for both of you, and welcome at Gentoo _________________ If you want to see a Distro done right, compile it yourself! |
|
Back to top |
|
|
steak-sandwich n00b
Joined: 27 Aug 2012 Posts: 26
|
Posted: Mon Aug 27, 2012 12:37 pm Post subject: |
|
|
Hi (R)andy,
thanks for the link.
Quote: | For further questions you better should open your own thread, instead of mixing it up with vectorns. |
Yes you're right. I was thinking about that but since I'm also having the same problem with the ethernet card I thought it would be more appropriate to post my problem in here.
Concerning the ethernet card: So I have to recompile the kernel with the e1000e module? Then I guess I have to mount /boot before doing that, and probably also /root, or what?
(sorry I just switched from Suse to Gentoo and I haven't compiled any kernels manually for a long time) |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Aug 27, 2012 3:59 pm Post subject: |
|
|
boot the newly installed gentoo
mount /boot
cd /usr/src/linux
make menuconfig
edit to Quote: | Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
[*] Intel devices
< > Intel(R) PRO/100+ support (NEW)
< > Intel(R) PRO/1000 Gigabit Ethernet support (NEW)
<M> Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
< > Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support (NEW)
< > Intel(R) 82576 Virtual Function Ethernet support (NEW)
< > Intel(R) PRO/10GbE support (NEW)
< > Intel(R) 10GbE PCI Express adapters support (NEW)
< > Intel(R) 82599 Virtual Function Ethernet support (NEW)
[ ] Intel (82586/82593/82596) devices |
make && make modules_install
modprobe e1000e
ifconfig to check _________________ Defund the FCC. |
|
Back to top |
|
|
Randy Andy Veteran
Joined: 19 Jun 2007 Posts: 1148 Location: /dev/koelsch
|
Posted: Mon Aug 27, 2012 6:58 pm Post subject: Re: same problem |
|
|
steak-sandwich,
I don't guess you have the same problem as the initial poster, if i understand your problem in the right way.
You have already a kernel modules loaded for your wired NIC (eth0)
That's why I don't see that DONAHUE hints would be change anything.
So if your eth0 work and could you get a internet connection and you have only trouble with your wireless connection, you better should start your own thread.
In this case your problem is different.
If I'm wrong, I have no Problem to scramble this thread further. But please, give more detalis at all.
steak-sandwich wrote: | I'm having the same problem.
When I do "lspci -k", I'm getting the following output:
Ethernet Controller: Intel Corporation 82579V Gigabit Network Connection (rev 05)
Subsystem: AsusTec Computer Inc. P8P67 Deluxe Motherboard
Kernel driver in use: e1000e
Kernel modules: e1000e
There are no modules or drivers loaded for my wireless card. I know what drivers I need for that (atheros ath9k) and I compiled it into the kernel but it doesn't work. It didn't even work with the liveCD. iwconfig didn't show anything. Has anyone any suggestions?
Thx! |
_________________ If you want to see a Distro done right, compile it yourself! |
|
Back to top |
|
|
steak-sandwich n00b
Joined: 27 Aug 2012 Posts: 26
|
Posted: Mon Aug 27, 2012 8:13 pm Post subject: |
|
|
Hi (R)andy,
I actually do have the same problem. I'm booting into the newly installed Gentoo Linux and then ifconfig gives me the same answer as vectorns also gets.
(I have also a problem with my wireless card but let's forget that now. If I don't get it to work, I will open another thread about it.)
I followed Donahue's 2nd post and got the results I posted in the 3rd post. The module is not loaded unless I boot into the liveCD again and then type "lspci -k". So by default, the module for eth0 is not loaded.
Now:
Quote: |
boot the newly installed gentoo
mount /boot
cd /usr/src/linux
make menuconfig
|
mounting is not necessary (not even possible) because it is already mounted when I boot into the freshly installed Gentoo.
btw, when I look into /lib/modules/3.4.9-gentoo/kernel/drivers, then I don't see any net/ directory (as opposed to liveCD), so modprobe e1000e doesn't work because it can't find the module.
these are my current kernel settings:
Quote: |
Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
[*] Intel devices
<*> Intel(R) PRO/100+ support
<*> Intel(R) PRO/1000 Gigabit Ethernet support
< > Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support
< > Intel(R) 82575/82576 PCI-Express Gigabit Ethernet support
< > Intel(R) 82576 Virtual Function Ethernet support
< > Intel(R) PRO/10GbE support
< > Intel(R) 10GbE PCI Express adapters support
< > Intel(R) 82599 Virtual Function Ethernet support
[ ] Intel (82586/82593/82596) devices
|
So should I change this to <M> Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support? |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Aug 27, 2012 8:53 pm Post subject: |
|
|
yes, as shown above by me, so that e1000e will be available as a module and can be modprobed
Quote: | <*> Intel(R) PRO/100+ support
<*> Intel(R) PRO/1000 Gigabit Ethernet support | are not drivers for your nic. as they were compiled as builtin's, thus they are not in the modules directory where they would be e100 and e1000 respectively
<*> Intel(R) PRO/1000 PCI-Express Gigabit Ethernet support could be used to buildin e1000e, if that is your choice; modprobe e1000e should be skipped, the new kernel must be copied to /boot (cp arch/x86/boot/bzImage /boot/{your kernel name}) and the system rebooted. after which ifconfig to check _________________ Defund the FCC. |
|
Back to top |
|
|
steak-sandwich n00b
Joined: 27 Aug 2012 Posts: 26
|
Posted: Mon Aug 27, 2012 11:13 pm Post subject: |
|
|
DONAHUE wrote: | yes, as shown above by me, so that e1000e will be available as a module and can be modprobed
Quote: | <*> Intel(R) PRO/100+ support
<*> Intel(R) PRO/1000 Gigabit Ethernet support | are not drivers for your nic. as they were compiled as builtin's, thus they are not in the modules directory where they would be e100 and e1000 respectively
|
Thanks, that worked for me! |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Mon Aug 27, 2012 11:18 pm Post subject: |
|
|
good, any luck with wireless? _________________ Defund the FCC. |
|
Back to top |
|
|
vectorns n00b
Joined: 23 Aug 2012 Posts: 8
|
Posted: Tue Aug 28, 2012 2:33 am Post subject: |
|
|
Hi DONAHUE, Randy Andy and steak-sandwich.
With the help of you three guys I get the wireless working, greate, now i can continue with the instalation but the ethernet is not working, the module requires is atl1c but i can't found it but i gona try leather.
Tks you all guys |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Aug 28, 2012 2:56 am Post subject: |
|
|
@vectorns
there it is:
Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
--- Ethernet driver support
[ ] 3Com devices
[ ] Adaptec devices
[ ] Alteon devices
[ ] AMD devices
[*] Atheros devices
< > Atheros L2 Fast Ethernet support (NEW)
< > Atheros/Attansic L1 Gigabit Ethernet support (NEW)
< > Atheros L1E Gigabit Ethernet support (EXPERIMENTAL) (NEW)
<M> Atheros L1C Gigabit Ethernet support (EXPERIMENTAL) (NEW) _________________ Defund the FCC.
Last edited by DONAHUE on Tue Aug 28, 2012 12:57 pm; edited 1 time in total |
|
Back to top |
|
|
steak-sandwich n00b
Joined: 27 Aug 2012 Posts: 26
|
Posted: Tue Aug 28, 2012 12:37 pm Post subject: |
|
|
I'm working on that right now. At least iwconfig lists a wlan0 device. But as I said, from now on I if I need any further help I will open a new thread. THX! |
|
Back to top |
|
|
vectorns n00b
Joined: 23 Aug 2012 Posts: 8
|
Posted: Tue Aug 28, 2012 1:08 pm Post subject: |
|
|
DONAHUE wrote: | there it is:
Device Drivers --->
[*] Network device support --->
[*] Ethernet driver support --->
--- Ethernet driver support
[ ] 3Com devices
[ ] Adaptec devices
[ ] Alteon devices
[ ] AMD devices
[*] Atheros devices
< > Atheros L2 Fast Ethernet support (NEW)
< > Atheros/Attansic L1 Gigabit Ethernet support (NEW)
< > Atheros L1E Gigabit Ethernet support (EXPERIMENTAL) (NEW)
<M> Atheros L1C Gigabit Ethernet support (EXPERIMENTAL) (NEW) |
Ok, i gona try leater, i saw that before but the "Experimental" word give me some afraid |
|
Back to top |
|
|
vectorns n00b
Joined: 23 Aug 2012 Posts: 8
|
Posted: Wed Aug 29, 2012 1:55 am Post subject: |
|
|
Hi all again, i try compiling and loading the module atl1c but now not reconize my ethernet interface, is strange because with the livecd that driver was loaded. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Wed Aug 29, 2012 2:21 am Post subject: |
|
|
After you selected <M> Atheros L1C Gigabit Ethernet support (EXPERIMENTAL) (NEW) you exited saving the configuration and then ran
Code: | make && make modules_install
modprobe atl1c | ??? _________________ Defund the FCC. |
|
Back to top |
|
|
vectorns n00b
Joined: 23 Aug 2012 Posts: 8
|
Posted: Sun Sep 02, 2012 1:12 am Post subject: |
|
|
Hi DONAHUE.
Tks for all the help, i do that before but no load the driver like a module, i put the *.
I change that for a M and works well |
|
Back to top |
|
|
|