LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-03-2005, 04:25 PM   #16
vredfreak
Member
 
Registered: Oct 2004
Location: Arkansas
Distribution: Crux, PCLinuxOS
Posts: 31

Rep: Reputation: 15

While Gentoo is certainly not an easy distro for linux beginners, it is certainly not impossible. If you're willing to be patient and want to learn, you can surely fix this problem. Your choice.

A couple of questions:

1) Do you use dhcp or static ip to connect to your network?

2) If dhcp, did the Gentoo install cd properly connect your network?

I've used a Linksys card with Gentoo before and had no problems. Here's what I did.

From a console: (commands are in " ")

1) "su" (enter your root password when asked)
This will give you root privileges which are needed for compiling a kernel and other configuration files editing.

2) "cd /usr/src/linux"

3) "make menuconfig"

At this point enable the tulip drivers (and the sub-options below it). I always built them directly into the kernel. This is done by using * instead of M. This way you don't have to worry about the modules being loaded at boot, as they load with the kernel. Now hit exit until you are asked if you want to save your config. Say yes.

4) "make && make modules_install"

This will compile your kernel and install any modules that you have asked to be compiled. When done compiling move to the next step.

5) "cp arch/i386/boot/bzImage /boot/kernel-whatever-you-want" (change whatever-you-want to the name you want your kernel to be remembered as. A word of advice. Change the name to something other than what you used when initially installing, that way if it doesn't work you can still boot from the old kernel)

"cp System.map /boot/System.map-whatever-you-want" (make sure it has the same name as your new kernel, for examle: kernel-2.6.11 and System.map-2.6.11)

"cp .config /boot/config-whatever-you-want" (again, same name as kernel)

6) If you have overwritten your old kernel then skip this. If you gave your kernel a new name then:

"nano /boot/grub/grub.conf"

and edit the kernel line so that it points to the new kernel name.

7) Reboot

Assuming that you use dhcp and have dhcpcd installed, your network should be up and running.

8) "ping www.linuxquestions.org"

You should receive some info about packets and bytes. control + c to stop this.

Hope this helps
 
Old 08-04-2005, 03:49 PM   #17
symmet
LQ Newbie
 
Registered: Aug 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks a lot, my network is now working. I think it was setting them to be built in that helped. Because I did all that before and set it to module and it didn't work. Thanks again!
 
Old 08-04-2005, 05:16 PM   #18
vredfreak
Member
 
Registered: Oct 2004
Location: Arkansas
Distribution: Crux, PCLinuxOS
Posts: 31

Rep: Reputation: 15
Glad to see you got it working. Enjoy Gentoo.
 
Old 08-04-2005, 08:52 PM   #19
rarsa
Member
 
Registered: Nov 2004
Location: Canada
Distribution: Puppy Linux/ Mint
Posts: 211

Rep: Reputation: 31
Good thing indeed.
 
Old 10-07-2005, 10:54 AM   #20
bacenter
LQ Newbie
 
Registered: Oct 2005
Posts: 4

Rep: Reputation: 0
new to gentoo

I am new to gentoo, linux etc.
I have the same problem:

My card is NIC Fast Ethernet PCI Familia RTL8139 de Realtek
I looked for it in Drivers an Devices, where i got the RLT8139 I have put the[*], then I compiled the kernel (just followed your instructions) after doing everything, I rebooted but The new Kernel was not there.

I think it could be because I used genkernel (is that the name?) well, the one which is intalls everything automatically (thats what i thougt). The point is that when following the isntructions, the grub.conf did not exist and i have created a new one. I as i told you, the old kernel started and of course, I have no intenet connection.

Could you please help me a little?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
eth0 doesn't exist in Gentoo Continuum Linux - Networking 8 05-10-2006 08:36 AM
eth0 does not exist question Dahshouin Linux - Newbie 1 09-12-2005 12:48 AM
Eth0 does'nt exist???? matthewa Linux From Scratch 1 06-08-2005 02:54 PM
eth0 and eth1 can't co-exist satimis Linux - Hardware 1 11-12-2003 08:09 AM
PCMCIA ethernet: eth0 doesn't exist scrollpane Linux - Networking 5 07-19-2003 11:49 PM

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

All times are GMT -5. The time now is 10:44 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