View previous topic :: View next topic |
Author |
Message |
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Sat Sep 19, 2009 8:33 pm Post subject: [SOVED] New gentoo install no network |
|
|
Hi,
After many different attempts I've finally gotten gentoo installed on a 3rd HD using the netinstall version. I used ubuntu to install gentoo 3rd stage tarball I believe, and I followed the handbook to get it done. After having many problems getting gentoo to boot (grub). I've finally got it booting, but I now noticed I have no network interface. It seems like the system doesn't recognize the hardware. On the install I got it to install the genkernel because I've never compiled one and thought I want to first have a working one and a gui, then I can rework the makefile and get a streamlined kernel. Is there a way to fix this preferably using a chroot enviroment.
Last edited by whitethorn on Wed Oct 07, 2009 11:33 am; edited 1 time in total |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3612
|
Posted: Sat Sep 19, 2009 10:58 pm Post subject: |
|
|
Hi, whitethorn,
Reboot from the LiveCD and then chroot according to the Handbook.
In the chrooted environment please issue this commands:
and post the results to the www.pastebin.org.
Also, why do you think you don't have a network? If you issue this command:
from the installed environment, what happens?
And one more question: do you have a router or you have a direct connection?
Thank you. |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Sun Sep 20, 2009 2:15 am Post subject: |
|
|
Maybe this will help, as well, since I have a wifi card that works only with ndiswrapper: emerge -pf to see which files need to be download to install what you want, download the files on another computer (if you have one), and put them in /usr/portage/distfiles . |
|
Back to top |
|
|
ONEEYEMAN Advocate
Joined: 01 Mar 2005 Posts: 3612
|
Posted: Sun Sep 20, 2009 4:13 am Post subject: |
|
|
keet,
This is not a solution to the OP.
His network card has to be working and that's what he is asking for....
Thank you. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Sun Sep 20, 2009 1:39 pm Post subject: |
|
|
... and post the output of Code: | cat /etc/resolv.conf |
|
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Sun Sep 20, 2009 7:21 pm Post subject: |
|
|
He said that he wanted to first have a working kernel and a GUI, so I figured that idea might help in the meantime. That way, whitethorn, you can have a fully-working Gentoo system that you can boot directly into, which might make troubleshooting easier.
I know what he was looking for, and I'm not trying to be annoying; it just seems easier to troubleshoot if you're in a fully-functional environment. Or did you mean in your first post that you really wanted to chroot for some reason other than convenience? |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Fri Oct 02, 2009 12:03 pm Post subject: |
|
|
ONEEYEMAN wrote: | Hi, whitethorn,
Reboot from the LiveCD and then chroot according to the Handbook.
In the chrooted environment please issue this commands:
and post the results to the www.pastebin.org.
Also, why do you think you don't have a network? If you issue this command:
from the installed environment, what happens?
And one more question: do you have a router or you have a direct connection?
Thank you. |
Sorry guys, I wasn't on my computer for a while. So in firstly from a chroot when I run
From a chrooted system (linux mint). Here are the results from lspci -v and lsmod.
http://pastebin.com/m202e4be
I have a router and it's set up with dhcp, so no problems there. I'm gonna reboot the gentoo system and edit this post with the error message.
##################################################################################
##################################################################################
##################################################################################
edited:
So I started my gentoo system. On boot right before I get to the login, it prints out this msg.
Quote: |
Starting eth0
Bringing up eth0
dhcp
network interface eth0 does not exist
Please verify hardware or kernel module (driver)
Error: cannot start netmount as net.eth0 could not start
starting local
|
While I was booted into the gentoo I also did an lspci -v lsmod and cat /etc/resolv.conf. Here are the results.
http://pastebin.org/32584
Quote: |
Maybe this will help, as well, since I have a wifi card that works only with ndiswrapper: emerge -pf to see which files need to be download to install what you want, download the files on another computer (if you have one), and put them in /usr/portage/distfiles .
He said that he wanted to first have a working kernel and a GUI, so I figured that idea might help in the meantime. That way, whitethorn, you can have a fully-working Gentoo system that you can boot directly into, which might make troubleshooting easier.
I know what he was looking for, and I'm not trying to be annoying; it just seems easier to troubleshoot if you're in a fully-functional environment. Or did you mean in your first post that you really wanted to chroot for some reason other than convenience?
|
I don't have a wireless card I'm using the network interface on my motherboard. Oh and my bad, I didn't explain it properly, except for the network card gentoo is working, I can boot it up and login and whatnot. I mentioned the chrooted environment because that way I don't have to work in control alt 1-4 and with lynx (also oddly enough in a chroot the network works so I can install programs and whatnot).
Last edited by whitethorn on Fri Oct 02, 2009 2:07 pm; edited 1 time in total |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Fri Oct 02, 2009 2:02 pm Post subject: |
|
|
Not to be picky, but in the line
Code: | network interface eht0 does not exist |
, shouldn't it said eth0, not eht0? Or perhaps you just mistyped it in the forum? If not, maybe that's part of the problem
Otherwise, it sounds to me like the driver might not be configured correctly in the kernel.
Last edited by keet on Fri Oct 02, 2009 2:07 pm; edited 1 time in total |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Fri Oct 02, 2009 2:06 pm Post subject: |
|
|
keet wrote: | Not to be picky, but in the line
Code: | network interface eht0 does not exist |
, shouldn't it said eth0, not eht0? Or perhaps you just mistyped it in the forum? If not, maybe that's part of the problem |
Yeah it's a typo I typed it wrong. Fixed. |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Fri Oct 02, 2009 2:12 pm Post subject: |
|
|
This might help:
http://en.gentoo-wiki.com/wiki/Asus_M51SN
After configuring the kernel module and modprobing it, or just building driver support directly into it, it should work.
Just paying attention to the Ethernet section, of course; everything else looks different from your configuration. |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Fri Oct 02, 2009 2:19 pm Post subject: |
|
|
keet wrote: | This might help:
http://en.gentoo-wiki.com/wiki/Asus_M51SN
After configuring the kernel module and modprobing it, or just building driver support directly into it, it should work.
Just paying attention to the Ethernet section, of course; everything else looks different from your configuration. |
In other words I would have to compile a new kernel right? |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Fri Oct 02, 2009 2:30 pm Post subject: |
|
|
Now that I researched a little more, I did see atl1e in your lsmod.. maybe that's it. Is that one modprobed? |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Fri Oct 02, 2009 2:43 pm Post subject: |
|
|
keet wrote: | Now that I researched a little more, I did see atl1e in your lsmod.. maybe that's it. Is that one modprobed? |
I have no idea. This is the first time I've had with kernels / modules. How would I go about checking that? |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Fri Oct 02, 2009 2:50 pm Post subject: |
|
|
As root, run:
Code: | modprobe atl1e
/etc/init/net.eth0 start |
What happens now? |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Fri Oct 02, 2009 3:08 pm Post subject: |
|
|
keet wrote: | As root, run:
Code: | modprobe atl1e
/etc/init/net.eth0 start |
What happens now? |
There's no module called atl1e. At least I wasn't able to find it. It was in the chrooted lsmod, when you look at this [url]http://pastebin.org/32584 [/url](lsmod from within gentoo) it's not there |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Fri Oct 02, 2009 3:13 pm Post subject: |
|
|
Oh, right.. then yes, you need to rebuild your kernel if it's not built into your kernel and doesn't exist as a module. |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Fri Oct 02, 2009 4:13 pm Post subject: |
|
|
keet wrote: | Oh, right.. then yes, you need to rebuild your kernel if it's not built into your kernel and doesn't exist as a module. |
Is there a way to keep the recompile the genkernel and add the one module? |
|
Back to top |
|
|
keet Guru
Joined: 09 Sep 2008 Posts: 571
|
Posted: Fri Oct 02, 2009 5:04 pm Post subject: |
|
|
Sorry, I'm really not familiar with genkernels at all. Why not try one of Pappy's kernel seeds? Just search the forum and you'll find it easily enough. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Fri Oct 02, 2009 5:11 pm Post subject: |
|
|
boot, run
Code: | genkernel --menuconfig all |
enable the following in the menu:
Device Drivers --->
[*] Network device support --->
[*] Ethernet (1000 Mbit) --->
<*> Atheros L1E Gigabit Ethernet support (EXPERIMENTAL) |
|
Back to top |
|
|
whitethorn n00b
Joined: 02 Sep 2009 Posts: 28
|
Posted: Wed Oct 07, 2009 11:33 am Post subject: |
|
|
DONAHUE wrote: | boot, run
Code: | genkernel --menuconfig all |
enable the following in the menu:
Device Drivers --->
[*] Network device support --->
[*] Ethernet (1000 Mbit) --->
<*> Atheros L1E Gigabit Ethernet support (EXPERIMENTAL) |
That did it. |
|
Back to top |
|
|
|