LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   NIC Module problem in Gentoo 2005.1 (https://www.linuxquestions.org/questions/linux-newbie-8/nic-module-problem-in-gentoo-2005-1-a-413759/)

ommy69 02-10-2006 04:55 AM

NIC Module problem in Gentoo 2005.1
 
I am really new to this Linux thing. This is my very first linux box....so forgive me for not wording somethings correct
I just finished installing grub and rebooted. I am now trying to install gnome...but when i ran the emerge gnome i cannot connect to the I-net. I ran ifconfig and i only see the lo. I checked all my configuration files for dhcpcd, ip address and everything but they all look good. I was searching around and ran /etc/init.d/netmount start. It tells me that eth0 does not exist. How do i fix this. i'm guessing the module isn't loaded...correct me if i am wrong. Some forums said to google it to find the module name. I couldn't find anything relating. I am running a Toshiba Satellite A45 S250. Any help would be great. Thank you to anyone who helps.

Nathanael 02-10-2006 07:15 AM

the command lspci should be installed, run it and look for any lines containing the word Ethernet

lspci | grep -i eth

that should give you details on the chipset and with that which modules needs loading.


well done you for installing gentoo as a first distro, that is really something to be proud of, honestly. by the way, which stage did you do?

ommy69 02-10-2006 06:43 PM

**EDIT**
I ended up finding the module for my NIC(e100). I booted from live cd and ran lsmod. Found it pretty quickly. I ran modprobe e100. I get an error that says module e100 not found. I am guessing i need to copy this from livecd???I know that file is on there. I have already seen it and loaded it running the cd. HOW-TO copy to disk please.
**END EDIT**

I can only run lspci from the livecd. I can run the /etc/init.d/netmount start command on livecd and get online. I ran the lspci | grep -i eth on live cd. I got the following results:
Atheros AR5212 802.11abg NIC
Intel 82801DB PRO/100 VE (MOB)
I also saw on another post this command to look at net drivers
ls/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/ and got the following results:
dummy.ko and s2io.ko
From what i have been reading this seems to be a problem. Are my drivers not even installed on the system??

On the brighter side of things. I am getting really use to navigating the CLI

Thank you....for all your help. This has been a learning experience that is for sure. My friend uses gentoo and told me how complex it was to install. But i figured i would probably be a fast track to learning the command line and general navigation of linux. I installed stage3.

Nathanael 02-11-2006 04:16 AM

try modprobe eepro100 or eepro

jomen 02-11-2006 05:50 AM

Quote:

I also saw on another post this command to look at net drivers
ls/lib/modules/2.6.15-gentoo-r1/kernel/drivers/net/ and got the following results:
looks like you did not select the module for your NIC in kernel-config - you will have to go through the kernel-configuration, select the right module and recompile and then use this new kernel.
(don't delete the old one yet - in case something does not work - just give it a different name and add this to your bootloaders config)
Copying the module from the LiveCD will more than likely not work (different version)
-edit-
If you install(emerge) sys-apps/pciutils you will have lspci on your system

ommy69 02-11-2006 04:25 PM

Hey thank you both for the help. From reading the forums on here and various other sites I have been seeing many people seem to have this prob....most newb's like me.

I did get my NIC installed. Turns out i did forget to add support in configuring the kernel. Just added and recompiled the kernel and back in business.

That's all great....now came the next problem i am still researching....This one involves installing the GUI (gnome)

I ran emerge gnome and i got error: app-text/evince-0.4.0-r3 failed

it asks me to re-emerge app-text/poppler-bingings with the gtk USE flags set. What does this mean? What do I do and what is the syntax of the command?

jomen 02-11-2006 05:32 PM

good to hear that it works now :)
Quote:

with the gtk USE flags set
since you want to install gnome it is probably a good idea to add this USE-Flag globally and not just this time.
Please don't take the following the wrong way!
I'm not lazy and willing to help - and so are all the others,
but perhaps you should read through the excellent documentation
- these things will be more clear then :study:
here is a link to the Gentoo 2005.1 Handbook (the section about USE-Flags):
http://www.gentoo.org/doc/en/handboo...?part=2&chap=2
in the main menu of this site are all sorts of links to FAQ's wikis and tutorials.
One would just be both redundant and very busy answering questions all the time all over again.
the command BTW:
USE="gtk" emerge -a app-text/poppler-bingings
;)
but this is temporary as I said, and will put you in the same position on your next upgrade...

Emerson 02-11-2006 06:08 PM

And after you have finished with that hanbook and know enough about this matter do emerge -a ufed. This utility gives you full control over USE flags without need to check multiple conf files. ( -a is a strongly recommended option for every unfamiliar package.)

ommy69 02-12-2006 02:27 AM

Hey guys I appriciate the help you have given me. Jomen thanks for the tips. I am new to this site as well. I was searching the forums for answers and didn't find any hits. I must have missed the USE flag section of the handbook though or just forgot about it. That handbook you pointed is what i followed to install gentoo.
Don't get me wrong though. I would much rather read and learn this stuff than ask questions. I have been googling alot of my questions and finding answers. When i come to posting on a forum I am usually at a loss for what to search for or where to look.
Too everyone who has replied on this thread I thank you for your replies and for your help. I do appreciate it.

jomen 02-12-2006 04:45 AM

You are welcome.
I said what I said because it looked not like: you read but did not really understand but rather that you did not yet read (because you did not find it...) some documentation.
It takes some time to get a picture of how exactly it is supposed to be working - because it is (and things are done) quite different than in whatever OS you might know already.
This is not to say that I got the picture, much less understand everything - but it gets better with time and learning.


All times are GMT -5. The time now is 08:24 AM.