View previous topic :: View next topic |
Author |
Message |
George Harrison n00b


Joined: 31 Mar 2005 Posts: 57 Location: Pepperland
|
Posted: Sat May 21, 2005 3:56 pm Post subject: I found the root of the problem for my internet (SOLVED) |
|
|
Hello, I posted here a bit ago saying my internet was not working and that it was giving me the message "Temporary failure in name resolution" or something like that. I couldn't figure it out, I got pissed so I put on Slackware but then Gentoo just kept calling me back. I installed it again last night and the same thing, but this I don't think it's my /etc/resolv.conf because of this reason: When I was in the live-cd I ran ifconfig it showed my eth0 and something called lo. Yet when I ran ifconfig or /sbin/ifconfig in Gentoo (the one I installed) it only comes up with the lo, no eth0. I think this is my main problem. So my question is, can I just copy the ifconfig from my live-cd to the installation? If I cannot can I just add an eth0? I use dhcp so it shouldn't be this tough to figure out, I want this to work so badly that I refuse to take off Gentoo now; I will figure this out but without internet I am a bit miserable. Thanks for any help. _________________ Athlon 2600+ overclocked to a 3200+, 120GB hd, Soltek board, 1GB of Kingston RAM PC3200, ATI Radeon 9800 XT, cheap case.
Last edited by George Harrison on Sat May 21, 2005 6:02 pm; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55196 Location: 56N 3W
|
Posted: Sat May 21, 2005 4:12 pm Post subject: |
|
|
George Harrison,
eth0 is the logical name for the first Ethernet post found by the kernel. Since its missing, you have not loaded the kernel module for your ethernet. When eth0 exists, ifconfig will be abe to configure it.
If you know the name of the kernel name for your Ethernet, modprobe it. if not, run lspci and post the Ethernet line. Someone will identifiy the module for you. If you are a bit more independant, carry out the following procedure.
Boot the liveCD and run lsmod. Write down the names from the left hand column of the output. One of these modules is your your network.
Boot normally, run lsmod and cross of any modules names that appear on your list, you don't have an eth0, so none of them are for your network.
For every module remaining on your list do
Code: | modprobe <module_name>
ifconfig | When eth0 appears to have found the module for your network. Now you have eth0 do Code: | /etc/init.d/net.eth0 restart | which should make your network work.
If you run out of modules, or get error messages, the module is not made. Post back with more information. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
George Harrison n00b


Joined: 31 Mar 2005 Posts: 57 Location: Pepperland
|
Posted: Sat May 21, 2005 5:11 pm Post subject: Update |
|
|
OK, I decided to take the independant way. Everything was going smoothly, I booted the live cd and I wrote down all the modules, but then when I booted into the Gentoo install I ran lsmod nothing came up. There aren't any modules. My dad told me that I have a via_rhine though (one of the modules I wrote down), excited I ran modprobe via_rhine but then it said it naturally said that the module could not be found. Do I need to edit the kernel or something? How can I add modules?
EDIT: Wait.. hold on, I think I get it. Heh. _________________ Athlon 2600+ overclocked to a 3200+, 120GB hd, Soltek board, 1GB of Kingston RAM PC3200, ATI Radeon 9800 XT, cheap case. |
|
Back to top |
|
 |
George Harrison n00b


Joined: 31 Mar 2005 Posts: 57 Location: Pepperland
|
Posted: Sat May 21, 2005 5:35 pm Post subject: |
|
|
OK.... I didn't load any modules in the installation, I'll boot into the live-cd and add via_rhine. Hopefully this will work - thanks for the help so far. _________________ Athlon 2600+ overclocked to a 3200+, 120GB hd, Soltek board, 1GB of Kingston RAM PC3200, ATI Radeon 9800 XT, cheap case. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55196 Location: 56N 3W
|
Posted: Sat May 21, 2005 5:42 pm Post subject: |
|
|
George Harrison,
How did you make your kernel?
If you used genkernel, it will already be made. Heres a few random thoughts.
Code: | grep RHINE /src/linux/.config | will show you how its set in your kernel. If you get Code: | # CONFIG_VIA_RHINE is not set | like I do, you need to do the following.
cd to /usr/src/linux and run make menuconfig.
Navigate to Device Drivers, Network Support, Ethernet 10/100 and choose via-rhine support as a module (M), not (*), which means built in. Exit from menuconf and save your change.
now do Code: | make modules
make modules_install | to make and install your your module beside all the existing ones. will load it, then Code: | /etc/init.d/net.eth0 restart | should bring it to life.
Because you made a module, no reboot is required. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
George Harrison n00b


Joined: 31 Mar 2005 Posts: 57 Location: Pepperland
|
Posted: Sat May 21, 2005 5:46 pm Post subject: |
|
|
Thanks, and I configured my kernel. No offense but I think genkernel is for pansies.. OK, I'll boot and make some changes. _________________ Athlon 2600+ overclocked to a 3200+, 120GB hd, Soltek board, 1GB of Kingston RAM PC3200, ATI Radeon 9800 XT, cheap case. |
|
Back to top |
|
 |
George Harrison n00b


Joined: 31 Mar 2005 Posts: 57 Location: Pepperland
|
Posted: Sat May 21, 2005 6:01 pm Post subject: |
|
|
YES! I did it! Huge thanks, NeddySeagoon! _________________ Athlon 2600+ overclocked to a 3200+, 120GB hd, Soltek board, 1GB of Kingston RAM PC3200, ATI Radeon 9800 XT, cheap case. |
|
Back to top |
|
 |
|
|
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
|
|