LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-21-2004, 12:16 AM   #1
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Rep: Reputation: 15
Question gentoo wont connect to internet


I just installed gentoo using the athlon-xp-1.4-2oo30911-cd1.iso

After the cd booted, the first thing i did was check the network using the commend: ping -c 3 www.yahoo.com and it apeared to configure the network fine. so i continued with the installiation. i decided to use the genkernel since i am new to configuring kernels and it said that it would detect all my hardware at boot time and i figured it would work, because the live cd worked.
after i was finished with the installiation i rebooted my computer and started booting into getoo system. i then go this error message:

insmod: /lib/modules/2.4.20-gentoo-r6/kernel/drivers/net/8139cp.o:
init_module: no such device
insmod: Hint insmod errors cab be caused by incorrect module parameters, including invalid IO or IRQ parameters.
you may find more information in syslog or the output from dmesg.

I have a Gigabyte motherboard with a Raeltek 8100BL Ethernet 10/100Mb LAN controller. its an onboard NIC.

what can i do to fix this problem so that i am able to connect to the internet.

thanks for help,


 
Old 01-21-2004, 01:26 AM   #2
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,304

Rep: Reputation: 65
boot the cdrom again and run
lsmod at the terminal to see what module the install loaded to get the netcard working.

you could probably use the cdrom's kernel on your hard drive too, if you wanted.
 
Old 01-25-2004, 11:18 PM   #3
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
Unhappy still having problems with internet and gentoo

i booted the cd and ran lsmod and the modules are the same, nut i still dont knoow what the problem is. i talked to someone alse over icq and he suggested this: BAD IRQ NUBMERS, load the live setup cd,
look at the "dmesg | less",
find the irq and io,
manual pipe that to the module.

ok now that totally confused me. what is he talkin about and how do i do this, if this is what would fix my problem?
i am very knew to linux so please explain in detail and with the correct code to type in.

thanks...
 
Old 01-26-2004, 02:21 AM   #4
Robert0380
LQ Guru
 
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

Rep: Reputation: 47
did you emerge hotplug ?


emerge -k hotplug
rc-update add hotplug default

seeing as u dont have a network connection, u might have to
boot up the cd and start at the chrooting steps

once chrooted again (chroot /mnt/gentoo /bin/bash) and what not....
emerge hotplug and do the rc-update.

Last edited by Robert0380; 01-26-2004 at 02:23 AM.
 
Old 01-26-2004, 07:28 AM   #5
rberry88
Member
 
Registered: Aug 2003
Location: Arlington Heights, IL USA
Distribution: Fedora Core 1 & WinXP Pro & Gentoo 1.4 & Arch Linux
Posts: 558

Rep: Reputation: 30
Since you have it up and running, minus the internet, you could just recompile the kernel because it sounds like you didn't enable the realtek module to load during kernel configuration. There are at least two different selections for Realtek network cards in the kernel configuration that I know of, just recompile and select the one for your card.

rberry88
 
Old 02-08-2004, 09:36 PM   #6
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
Yes i did emerge hotplug and i did the rc-update add hotplug default. And why would it not have been configured to load the module. when i get the error isn't that because lsmod is already trying to load it?
I reinstalled gentoo, just incase i had made some errors, but it still doesn't work. I used a grp install just as before and i am wondering if that could be the problem, like maby the stuff that i needed for my nic wasn't included on the disk.
I am also wondering if mably this genkernel didn't configure it right because i have installed gentoo before. Before when I installed it, I was never able to get the network working with the cd, but it worked after installing through redhat. That time i didn't use genkernel but i am using it now because evan thogh networking worked before i had alought of other problems that were caused to my not configing the kernel right.
This time with genkernel though the only problem is the networking.
I found out that there is another module for realtek nics, 8139too, and i was also wondering of maby genkernel configured it with the wrong module, and if so hou i could fix that. I was also wondering if there was a way that i could edit the genkernel configuration and recompile the kernel to try and fix the problem and if so what the commands where to do it?
 
Old 02-15-2004, 12:08 PM   #7
netquest1
Member
 
Registered: Aug 2003
Distribution: Gentoo 1.4, Slackware 9, Suse 9.0
Posts: 35

Original Poster
Rep: Reputation: 15
Talking Fixed problem!!!

i reinstalled gentoo using a non-grp install so that i could get the latest updates.
i rebooted and the first problem i got was an error during boot that i found out was caused by genkernel compiling support for reiserfs as a module instead of diectly into the kernel.
to fix this, if anyone else has this problem, just reboot back into the cd and run all the mounts, swapon, and the steps to get your system pointing to gentoo installiation again.
thats code listings 7.1, 7.2, and 8.6 minus the command cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf , you dont need to do this again.
then type "genkernel all --menuconfig" and change the filesystem to be installed directly into the kernel instead of module and your problem will be fixed.
after i did this everything worked including the INTERNET!!!

thank for everyones help and suggestions!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.1 wont connect to the internet DanHall SUSE / openSUSE 4 09-17-2005 09:39 AM
Can't connect to internet w/ Gentoo randcv Linux - Newbie 6 08-19-2005 12:03 PM
wont connect to internet clo99dx Linux - Newbie 5 08-10-2004 03:16 AM
internet wont connect with suse 8.0 pro nleber01 Linux - Newbie 5 02-07-2004 11:18 AM
internet wont connect with suse 8.0 pro nleber01 Linux - Newbie 0 02-07-2004 10:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration