View previous topic :: View next topic |
Author |
Message |
particleman14 Tux's lil' helper
Joined: 31 Aug 2003 Posts: 83
|
Posted: Mon Sep 01, 2003 1:58 pm Post subject: yay installed, but no internet |
|
|
k gentoo runs fine but i cant emerge antyhing it keeps retrying..
what did i do wrong?
my internet worked before, but howcome it doesnt work now?? |
|
Back to top |
|
|
Earthwings Bodhisattva
Joined: 14 Apr 2003 Posts: 7753 Location: Germany
|
Posted: Mon Sep 01, 2003 2:10 pm Post subject: |
|
|
is your network up and running? e.g., what does 'ping www.gentoo.org' say? or 'ping 194.25.2.129'?
if the first one works, the problem could be that you are connecting through a router with firewall. try 'emerge-webrsync' in that case or configure your firewall.
if only the second one works, there'll be a problem with the nameserver. configure /etc/resolv.conf in that case.
if neither one works, you'll have to setup your network. this is covered in the install guide. |
|
Back to top |
|
|
particleman14 Tux's lil' helper
Joined: 31 Aug 2003 Posts: 83
|
Posted: Mon Sep 01, 2003 2:52 pm Post subject: |
|
|
argh i still cant figure i out
neither of them worked
so i went back
and i tried net-setup eth0
but i cant get that to work
and i dunno how to install my thernet card module thingy.. but i read instructions it still dont make sense!! argh help plz |
|
Back to top |
|
|
parity n00b
Joined: 13 May 2003 Posts: 52 Location: Soegel, Lower Saxony, Germany
|
Posted: Mon Sep 01, 2003 4:32 pm Post subject: ... |
|
|
Hey...
As far as I know net-setup only works on the livecd environment, although I might be wrong on that one.
ok, first of all I would check if the modules for your NIC are loaded successfully. should give you a list of modules loaded in your kernel. If the module for you nic is there, then you are ok. Otherwise, try to load it by Code: | modprobe moduleforyournicwithoutthe.o | . If this runs properly, try to bring up your interface manually with Code: | ifconfig yourargumentshere see man page |
If you can bring up your interface with ifconfig, then edit the /etc/conf.d/net configuration file. This is what net-setup does for you, but it's just as easy to directly edit the configfile.
If you can't get it to work now, please let me know how far you got, and describe the error message as detailed as possible, for then it will be much easier to help you...
regards,
-parity _________________ "If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed."
-Albert Einstein |
|
Back to top |
|
|
parity n00b
Joined: 13 May 2003 Posts: 52 Location: Soegel, Lower Saxony, Germany
|
Posted: Mon Sep 01, 2003 4:33 pm Post subject: ifconfig syntax |
|
|
... in the installation guide the syntax of the ifconfig command is described in code listing 4.6... _________________ "If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed."
-Albert Einstein |
|
Back to top |
|
|
Tremblane n00b
Joined: 01 Sep 2003 Posts: 10 Location: Utah, USA
|
Posted: Mon Sep 01, 2003 7:15 pm Post subject: |
|
|
Similar problem:
After the first reboot, I can ping everything on my home network (192.168.x.x), but nothing on the outside world. DNS works fine if it's in my hosts file, otherwise "unknown host".
Originally I had used net-setup and everything worked fine. I tried typing in the "route add -net default gw $GTWAY netmask 0.0.0.0 metric 1 $IFACE" line and everything works fine. Rebooted and I'm back to no outside internet access. I'm sure that line has to go in some config file, just not sure which one and where in it and if it has to be changed in any way. |
|
Back to top |
|
|
parity n00b
Joined: 13 May 2003 Posts: 52 Location: Soegel, Lower Saxony, Germany
|
Posted: Mon Sep 01, 2003 7:43 pm Post subject: to Tremblance... |
|
|
Hey... ok this is an easy one...
Quote: |
# For setting the default gateway
#
gateway="eth0/192.168.0.10"
|
This is from my /etc/conf.d/net file.
What this does is setting the default gateway for my eth0 to 192.168.0.10 which is the router in my lan.
This should do the trick for you...
hope this helped you...
-parity _________________ "If people are good only because they fear punishment, and hope for reward, then we are a sorry lot indeed."
-Albert Einstein |
|
Back to top |
|
|
Tremblane n00b
Joined: 01 Sep 2003 Posts: 10 Location: Utah, USA
|
Posted: Mon Sep 01, 2003 8:06 pm Post subject: |
|
|
That did it. When I scrolled to the bottom of the file to add that in, I saw it was already there but commented out. That'll teach me to skim the whole file from now on...
Thanks. |
|
Back to top |
|
|
hook Veteran
Joined: 23 Oct 2002 Posts: 1398 Location: Ljubljana, Slovenia
|
Posted: Tue Sep 02, 2003 3:20 pm Post subject: |
|
|
particleman14, what kind of a connection do you have? ADSL, cable, over a router?
you have to know which ethernet card you have in order to choose the right module
hope you get the thing solved out ASAP _________________ tea+free software+law=hook
(deep inside i'm still a tux's little helper) |
|
Back to top |
|
|
leahcimekim n00b
Joined: 02 Sep 2003 Posts: 5 Location: Canada
|
Posted: Tue Sep 02, 2003 3:27 pm Post subject: |
|
|
Did you copy resolv.conf during installation? Could that be the culprit? _________________ SWEET SASSY MOLLASSEY!
Michael |
|
Back to top |
|
|
|