View previous topic :: View next topic |
Author |
Message |
ha n00b
Joined: 03 Aug 2003 Posts: 26
|
Posted: Sun Aug 03, 2003 1:18 pm Post subject: Gentoo no net! |
|
|
I have just installed gentoo from stage1 and I had internet, but the i dit this:
emerge nforce-net
echo nvnet >> /etc/modules.autoload
and now i dont have internet what must I do now?
ps. sorry for my bad english
Loading module nvnet
failed to load nvnet
Loading module nvnet
failed to load nvnet
Loading module nvnet
failed to load nvnet
Last edited by ha on Sun Aug 03, 2003 1:25 pm; edited 1 time in total |
|
Back to top |
|
|
linux_weenie Guru
Joined: 25 Jun 2003 Posts: 365
|
Posted: Sun Aug 03, 2003 1:23 pm Post subject: |
|
|
that's no problem about your english. have you checked the forums with different languages (just might be easier for you to communicate). but, i'll gladly try and help. when you were booted from the liveCD did you do an
to see what modules the liveCD had loaded for you network card? also did you load the network driver a module or did you compile it into the kernel?
-Will _________________ There are only 10 types of people in the world. Those who understand binary and those who don't. |
|
Back to top |
|
|
Peaceable Frood Guru
Joined: 06 Apr 2003 Posts: 338 Location: New Jersey, USA
|
Posted: Sun Aug 03, 2003 1:24 pm Post subject: |
|
|
Read about networking twoard the end in install .txt _________________ "Our enemies are innovative and resourceful, and so are we, they never stop thinking about new ways to harm our country and our people, and neither do we." George W. Bush |
|
Back to top |
|
|
ha n00b
Joined: 03 Aug 2003 Posts: 26
|
Posted: Sun Aug 03, 2003 1:28 pm Post subject: |
|
|
linux_weenie: Can you explain how i put the module in to my kernel the module there is used for my netcard is 8139too |
|
Back to top |
|
|
linux_weenie Guru
Joined: 25 Jun 2003 Posts: 365
|
Posted: Sun Aug 03, 2003 1:48 pm Post subject: |
|
|
well to add the module to your kernel you need to (i'm assuming your using gentoo-sources).
Code: | cd /usr/src/linux
cp .config myconfig <-- this copies your current kernel configuration
make clean
make mrproper
cp myconfig .config <-- this puts the configuration back
make menuconfig |
once you're in the menuconfig program go to
Quote: | Network device support --->
Ethernet (10 or 100Mbit) --->
## make sure that EISA, VLB, PCI and on board controllers is
## checked, go down to this
<M> Realtek RTL-8139 PCI Fast Ethernet Adapter support
## press 'M' for it to be compiled as a module
|
now to compile the kernel
Code: | make dep
make clean
make bzImage
make modules
make modules_install
mount /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage
## if you use lilo update the MBR with
/sbin/lilo
umount /boot
|
don't forget to add 8139too to the /etc/modules.autoload file for the kernel to autoload it. hope this helps
-Will _________________ There are only 10 types of people in the world. Those who understand binary and those who don't. |
|
Back to top |
|
|
ha n00b
Joined: 03 Aug 2003 Posts: 26
|
Posted: Sun Aug 03, 2003 2:01 pm Post subject: |
|
|
Thanks a lot linux_weenie i'm trying right away ! but 1 final question hwo do I add 8139too to the /etc/modules.autoload file for the kernel to autoload it ? |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Aug 03, 2003 2:23 pm Post subject: |
|
|
umm, use a text editor like nano? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
ha n00b
Joined: 03 Aug 2003 Posts: 26
|
Posted: Sun Aug 03, 2003 2:36 pm Post subject: |
|
|
I'am donig this:
nano -w /etc/modules/autoload
/usr/src/linux-2.4.20-gentoo-r5/drivers/net/8139too.c
but it's fails!
then i'm trying with 8139too.c
but still it fails |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Aug 03, 2003 2:39 pm Post subject: |
|
|
try putting just 8139too _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
ha n00b
Joined: 03 Aug 2003 Posts: 26
|
Posted: Sun Aug 03, 2003 2:44 pm Post subject: |
|
|
There comes the same output! and when I /sbin/ifconfig I can only see:
lo link encap: local loopback
inet addr:127.0.0.1 mask:255.0.0.0
UP LOOPBACK RunNING MTU 16436 Metric:1
RX packets:0
Eth0 thoes not exist ! |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Aug 03, 2003 2:48 pm Post subject: |
|
|
well then theres something wrong with the module loading. Have you got the correct module loaded in lsmod and what does dmesg and lspci say about it? _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
ha n00b
Joined: 03 Aug 2003 Posts: 26
|
Posted: Sun Aug 03, 2003 2:57 pm Post subject: |
|
|
When i use lsmod i only get:
Module Size Used by Not tainted
when i type lspci i get:
command not found
and dmesg:
there is coming a lot if info about mmy filesystems USB etc.
Whén i try:
/etc/init.d/net.eth0 start
i get:
bringing eth0 up...
eth0: unknown interface
failed to bring up eth0 |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Aug 03, 2003 3:31 pm Post subject: |
|
|
make sure you're root when running lspci and emerge pciutils
just paste the dmesg output here after you try to modprobe the network drivers _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
ha n00b
Joined: 03 Aug 2003 Posts: 26
|
Posted: Sun Aug 03, 2003 3:38 pm Post subject: |
|
|
Nice! now it works with modprobe 8139too
I just put it in the /etc/modules.autoload to make it boot everytime I start right ? |
|
Back to top |
|
|
TheCoop Veteran
Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Sun Aug 03, 2003 3:45 pm Post subject: |
|
|
yup _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
|
linux_weenie Guru
Joined: 25 Jun 2003 Posts: 365
|
Posted: Sun Aug 03, 2003 5:13 pm Post subject: |
|
|
yeah don't do 8139too.c, its not looking for a source file it needs the object file so it would end with a '.o', but /etc/modules.autoload doesn't require the extension so 8139too will work just fine. glad your up and running now.
-Will _________________ There are only 10 types of people in the world. Those who understand binary and those who don't. |
|
Back to top |
|
|
|