Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Internet quit after install
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 8:24 pm    Post subject: Internet quit after install Reply with quote

I just finished installing following the Gentoo Linux x86 Quick Install Guide line by line. After i removed the cd, the internet stopped working. i am a complete newbie i have an ethernet line plugged directly from my router to my computer? i tried ping www.gentoo.org and it said ping unknown host
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1723

PostPosted: Fri Jun 27, 2008 8:35 pm    Post subject: Reply with quote

I assume you have rebooted into your new, working kernel?

If so, you need to start the ethernet init script. You do so by running:

as ROOT:
/etc/init.d/net.ethX start


Where X is the number of the ethernet device. The device numbers can change, but if you are using a wired, just installed Gentoo, chances are it is eth0. To find out for certain, run:

Code:
ifconfig


Ignore 'lo' and look for eth{0,1,2,3,etc...}

To have your system do this automatically, just tell it to start at boot with:

Again, X is the device number:
rc-update add net.ethX default
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 8:42 pm    Post subject: Reply with quote

it said warning net.eth0 has already been started i remember i did this "rc-update add net.ethX default" during install
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 8:46 pm    Post subject: Reply with quote

Did you copy resolv.conf from the boot CD to your install? Did you set up the proper driver for your net card in the kernel? Are there other computers on your network that you can ping via their IP address? If so, try that. If it works, then you need resolv.conf. If not, then you have a driver issue.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 8:52 pm    Post subject: Reply with quote

i believe i copied resolv.conf that seems familiar. I didt not setup a network card to my knowledge. i dont know what that means exactly to ping their IP address.
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 8:54 pm    Post subject: Reply with quote

how do i set up my driver for my net card and how do know what my card is?
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1723

PostPosted: Fri Jun 27, 2008 9:04 pm    Post subject: Reply with quote

Try pinging the router (likely, either 192.168.0.1 or 192.168.1.1).

To find out your hardware, run 'lspci' and look for the ethernet controller. Then make sure that is enabled in your kernel. Note that you may also need firmware for your device. A quick check online and/or a quick portage search should answer that question (chances are, if it is a built-in ethernet card, you won't have it. If it is a wireless adapter, you'll need to get some firmware)
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 9:11 pm    Post subject: Reply with quote

Post the results of lspci and your kernel .config.

Thanks

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 9:16 pm    Post subject: Reply with quote

lspci does not work i have a 3com 3c556 hurricane cardbus built in when i ping 192.168.0.1 or 192.168.1.1 it says destination host unreachable over and over how do exit out of that?
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1723

PostPosted: Fri Jun 27, 2008 9:21 pm    Post subject: Reply with quote

Press CTRL + C (the control key and the c key at the same time) to cancel any process in a bash terminal. Are you doing a manual kernel setup or a genkernel? (If you haven't done any yet, thats ok too :-))
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 9:26 pm    Post subject: Reply with quote

Emerge pcitools, then run lspci again. Your net card isn't set up properly. Its driver will have to be configured into your kernel. Lspci is necessary to set up your kernel properly. In case you don't know where it is, your kernel .config is in your /usr/src/linux directory (or wherever that link points to).

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 9:30 pm    Post subject: Reply with quote

i dont know i am on the Code Listing 2.33 of the Gentoo Linux x86 Quick Install Guide did i already do that? am i over my head with Gentoo?
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Fri Jun 27, 2008 9:31 pm    Post subject: Reply with quote

The first step is usually "ping 127.0.0.1", then "ping localhost". These are
in fact the same command, and if they work you have a working network
stack. What appears to be going wrong in your case is the routing of
network packets; try (as root) "route -n" and post the results back here.

The other command worth attempting (as root) is "ifconfig", which tells you
how the network interfaces are configured; you should get entries for "eth0",
the network, and "lo" the loopback interface. (ifconfig is also used to set up
interfaces.) Again, it would be worth posting the results.

Will

(And if you haven't already, check out the "man" command with eg: "man man"
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 9:37 pm    Post subject: Reply with quote

Millertime9 wrote:
am i over my head with Gentoo?

Maybe, but that hasn't prevented others from getting through the worst of it to get a fully functional Gentoo install. If you really want to learn Linux, you're in the right place. If you need help, you are once again, in a great place, since the forums here are second to none! Stick with it, and we'll help you along the way.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 9:41 pm    Post subject: Reply with quote

emerge pcitools said there are no ebuilds to satisfy pcitools . route -n says
destination : gateway genmask flags metric ref use iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0


what are you looking for from ifconfig there is alot there to retype
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 9:43 pm    Post subject: Reply with quote

ping 127.0.0.1 and ping localhost both kept pasting 64 bytes continuesly
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 9:47 pm    Post subject: Reply with quote

My bad, I meant pciutils. Sorry. Sometimes my dyslexia gets the better of me. I'm sorry about that.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 9:48 pm    Post subject: Reply with quote

ping 192.168.1.1 and see what you get.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 9:55 pm    Post subject: Reply with quote

for ping 192.168.1.1 it say destination host unreachable over and over again
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1723

PostPosted: Fri Jun 27, 2008 10:00 pm    Post subject: Reply with quote

Millertime9 wrote:
when i ping 192.168.0.1 or 192.168.1.1 it says destination host unreachable over and over


You'll want to have lspci and the other core utils installed. It is interesting that it isn't showing up, you may have to download a portage 'snapshot' in that case (a snapshot is all of the files in portage as a single, archived file, but we'll get to that if we have to). Would you please post the output of:

Code:
ls /usr/portage/sys-apps/


pciutils should be in that directory, so we'll know if we should grab an updated snapshot or not. Now, in regards to the kernel and the driver for the 3com card, I'm betting you haven't done anything with the kernel yet? If so, then there's a chance that you'll have to build the kernel and make sure that the card is available. There are 2 ways to go about this:

1) Genkernel: In this setup, many things are automatically detected and setup for you. This is a good way to get a rough, working kernel but it doesn't allow for as much customization as if you were to do it manually.

2) Manual kernel configuration: This method is MUCH more involved and detailed. After doing it a few times, it becomes pretty much second nature (or at least easier in the sense that you know what you need to do to get your system running) but is daunting - especially if this is your first round with gentoo.

Personally, it sounds like you'd probably want to start off with genkernel and, if interest and time allow, move onto manual compilation.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 10:12 pm    Post subject: Reply with quote

I much prefer the manual method. If you want to learn, you have to do. While genkernel is helpful, it can also lead to a certain dependency on it, and an inability to compile and configure a kernel manually. I compiled my first kernel with Slackware. Therefore, I had to learn the old-fashioned way.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Millertime9
n00b
n00b


Joined: 25 Jun 2008
Posts: 17

PostPosted: Fri Jun 27, 2008 10:13 pm    Post subject: Reply with quote

i can not see pciutils is in the file cuz they do not all fit on one page can i scroll up? so should i do genkernel now? can i do the customization later once i have a better idea what i am doing?
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1723

PostPosted: Fri Jun 27, 2008 10:15 pm    Post subject: Reply with quote

pappy_mcfae wrote:
I much prefer the manual method. If you want to learn, you have to do. While genkernel is helpful, it can also lead to a certain dependency on it, and an inability to compile and configure a kernel manually. I compiled my first kernel with Slackware. Therefore, I had to learn the old-fashioned way.


True, and even my first kernel I compiled manually, so it can certainly be done. But there's no shame (so to speak) in doing otherwise. Especially if you weren't expecting this when you had first started installing Gentoo and need to get a working system up and running sooner than later. You can always go back and redo it if you want :-)


Last edited by alienjon on Fri Jun 27, 2008 10:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Fri Jun 27, 2008 10:16 pm    Post subject: Reply with quote

simply type emerge pciutils. You may want to do this within a chrooted environment (the same one you setup with the manual install). As far as genkernel, try it out. I've never used it, but like I said, I didn't know such a thing even existed when I set up my first kernel.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
alienjon
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1723

PostPosted: Fri Jun 27, 2008 10:18 pm    Post subject: Reply with quote

Millertime9 wrote:
emerge pcitools said there are no ebuilds to satisfy pcitools


Seeing if it's in Millertime9's portage first, as there's an error.

Try:

Code:
ls /usr/portage/sys-apps/pci*
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
Goto page 1, 2  Next
Page 1 of 2

 
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