Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot connect to Internet [Solved]
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
kotik
n00b
n00b


Joined: 01 Dec 2004
Posts: 61
Location: Sweden

PostPosted: Thu Feb 10, 2005 8:46 am    Post subject: Cannot connect to Internet [Solved] Reply with quote

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


Joined: 08 Apr 2004
Posts: 162

PostPosted: Thu Feb 10, 2005 9:41 am    Post subject: Reply with quote

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


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Thu Feb 10, 2005 9:42 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 61
Location: Sweden

PostPosted: Thu Feb 10, 2005 9:44 am    Post subject: Reply with quote

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


Joined: 13 Jul 2004
Posts: 2308
Location: Bretagne

PostPosted: Thu Feb 10, 2005 9:53 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 61
Location: Sweden

PostPosted: Thu Feb 10, 2005 9:55 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 61
Location: Sweden

PostPosted: Thu Feb 10, 2005 9:56 am    Post subject: Reply with quote

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


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Feb 10, 2005 10:06 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 61
Location: Sweden

PostPosted: Thu Feb 10, 2005 10:10 am    Post subject: Reply with quote

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


Joined: 01 Dec 2004
Posts: 61
Location: Sweden

PostPosted: Thu Feb 10, 2005 10:40 am    Post subject: Reply with quote

I solved the problem, not sure how. Anyhow thanx for the help. Now I can continue with the installation.
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Thu Feb 10, 2005 11:07 am    Post subject: Reply with quote

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