View previous topic :: View next topic |
Author |
Message |
kotik n00b
Joined: 01 Dec 2004 Posts: 61 Location: Sweden
|
Posted: Thu Feb 10, 2005 8:46 am Post subject: Cannot connect to Internet [Solved] |
|
|
Im still in the initial stages of gentoo installation. The problem I'm having is that I cannot connect to the internet and this cannot emerge anything. The ifconfig shows me that the network card is working properly, but i still cannot use ping, links2 etc...
Its my first time installing linux and I'm not vert bright at such stuff but I have a feeling that it has something to do with the router. What should I do?
Any help Appreciated
Mike
Last edited by kotik on Thu Feb 10, 2005 12:59 pm; edited 1 time in total |
|
Back to top |
|
|
po0f Apprentice
Joined: 08 Apr 2004 Posts: 162
|
Posted: Thu Feb 10, 2005 9:41 am Post subject: |
|
|
What does ifconfig show for the inet-address? Btw, it is normal to have two devices when you type ifconfig; one should be your network card and the other is a loopback device.
As I have a linksys card, I can tell you that mine does use the tulip driver: try 'modprobe tulip'. |
|
Back to top |
|
|
loki99 Advocate
Joined: 10 Oct 2003 Posts: 2056 Location: Vienna, €urope
|
Posted: Thu Feb 10, 2005 9:42 am Post subject: |
|
|
did you try using dhcpcd eth0
gentoo handbook wrote: | Using DHCP
DHCP (Dynamic Host Configuration Protocol) makes it possible to automatically receive networking information (IP address, netmask, broadcast address, gateway, nameservers etc.). This only works if you have a DHCP server in your network (or if your provider provides a DHCP service). To have a network interface receive this information automatically, use dhcpcd:
Code Listing 14: Using dhcpcd
# dhcpcd eth0
Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
# dhcpcd -HD eth0
If this works (try pinging some internet server, like Google), then you are all set and ready to continue. Skip the rest of this section and continue with Preparing the Disks. |
|
|
Back to top |
|
|
kotik n00b
Joined: 01 Dec 2004 Posts: 61 Location: Sweden
|
Posted: Thu Feb 10, 2005 9:44 am Post subject: |
|
|
When I type ifconfig it does not give any error. It shows a long list of things (which I dont understand what it is) but the thing that is not like others ifconfig result is that it shows RX/TX in (0.0 kb)
RX bytes:545389 (0.0 Kb) TX bytes:69050 (0.0 Kb)
Is that the problem maybe? |
|
Back to top |
|
|
Adrien Advocate
Joined: 13 Jul 2004 Posts: 2308 Location: Bretagne
|
Posted: Thu Feb 10, 2005 9:53 am Post subject: |
|
|
Don't know which LiveCD you are using at the moment but if it's a 2004.1, you have to know that in some cases, it doesn't work properly for network configuration. In my case, I had to use a 2004.2 instead (for my nforce2). |
|
Back to top |
|
|
kotik n00b
Joined: 01 Dec 2004 Posts: 61 Location: Sweden
|
Posted: Thu Feb 10, 2005 9:55 am Post subject: |
|
|
loki99 wrote: | did you try using dhcpcd eth0
gentoo handbook wrote: | Using DHCP
DHCP (Dynamic Host Configuration Protocol) makes it possible to automatically receive networking information (IP address, netmask, broadcast address, gateway, nameservers etc.). This only works if you have a DHCP server in your network (or if your provider provides a DHCP service). To have a network interface receive this information automatically, use dhcpcd:
Code Listing 14: Using dhcpcd
# dhcpcd eth0
Some network admins require that you use the
hostname and domainname provided by the DHCP server.
In that case, use
# dhcpcd -HD eth0
If this works (try pinging some internet server, like Google), then you are all set and ready to continue. Skip the rest of this section and continue with Preparing the Disks. |
|
When I do that it says
Code: | dhcodc already running |
|
|
Back to top |
|
|
kotik n00b
Joined: 01 Dec 2004 Posts: 61 Location: Sweden
|
Posted: Thu Feb 10, 2005 9:56 am Post subject: |
|
|
Adrien wrote: | Don't know which LiveCD you are using at the moment but if it's a 2004.1, you have to know that in some cases, it doesn't work properly for network configuration. In my case, I had to use a 2004.2 instead (for my nforce2). |
I'm using 2004.3, the one they use in the Gentoo Installation Handbook as im following it. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Thu Feb 10, 2005 10:06 am Post subject: |
|
|
Is your nameserver set up properly in /etc/resolv.conf? Can you ping anything on your local network? _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
kotik n00b
Joined: 01 Dec 2004 Posts: 61 Location: Sweden
|
Posted: Thu Feb 10, 2005 10:10 am Post subject: |
|
|
Maedhros wrote: | Is your nameserver set up properly in /etc/resolv.conf? Can you ping anything on your local network? |
How do I ping something in my local network. Sorry but I'm new. |
|
Back to top |
|
|
kotik n00b
Joined: 01 Dec 2004 Posts: 61 Location: Sweden
|
Posted: Thu Feb 10, 2005 10:40 am Post subject: |
|
|
I solved the problem, not sure how. Anyhow thanx for the help. Now I can continue with the installation. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Thu Feb 10, 2005 11:07 am Post subject: |
|
|
kotik wrote: | I solved the problem. |
Please insert [SOLVED] in the title of your first message in this topic.
I'm inclined to think that it was a physical problem with your cables or modem. |
|
Back to top |
|
|
|