Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo no net!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
ha
n00b
n00b


Joined: 03 Aug 2003
Posts: 26

PostPosted: Sun Aug 03, 2003 1:18 pm    Post subject: Gentoo no net! Reply with quote

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 :oops:

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
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Sun Aug 03, 2003 1:23 pm    Post subject: Reply with quote

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
Code:
lsmod

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
View user's profile Send private message
Peaceable Frood
Guru
Guru


Joined: 06 Apr 2003
Posts: 338
Location: New Jersey, USA

PostPosted: Sun Aug 03, 2003 1:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
ha
n00b
n00b


Joined: 03 Aug 2003
Posts: 26

PostPosted: Sun Aug 03, 2003 1:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Sun Aug 03, 2003 1:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
ha
n00b
n00b


Joined: 03 Aug 2003
Posts: 26

PostPosted: Sun Aug 03, 2003 2:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Aug 03, 2003 2:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
ha
n00b
n00b


Joined: 03 Aug 2003
Posts: 26

PostPosted: Sun Aug 03, 2003 2:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Aug 03, 2003 2:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
ha
n00b
n00b


Joined: 03 Aug 2003
Posts: 26

PostPosted: Sun Aug 03, 2003 2:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Aug 03, 2003 2:48 pm    Post subject: Reply with quote

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
View user's profile Send private message
ha
n00b
n00b


Joined: 03 Aug 2003
Posts: 26

PostPosted: Sun Aug 03, 2003 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Aug 03, 2003 3:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
ha
n00b
n00b


Joined: 03 Aug 2003
Posts: 26

PostPosted: Sun Aug 03, 2003 3:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
TheCoop
Veteran
Veteran


Joined: 15 Jun 2002
Posts: 1814
Location: Where you least expect it

PostPosted: Sun Aug 03, 2003 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
linux_weenie
Guru
Guru


Joined: 25 Jun 2003
Posts: 365

PostPosted: Sun Aug 03, 2003 5:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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