Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NIC won't read 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
Nihirist
n00b
n00b


Joined: 14 Feb 2006
Posts: 4

PostPosted: Tue Feb 14, 2006 7:42 pm    Post subject: NIC won't read internet [Solved] Reply with quote

I'm having trouble with getting my nic set up for gentoo. It reads the following

Quote:

livecd root # ifconfig
eth0 Link encap:Ethernet HWaddr 00:01:29:D4:21:34
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:26218 errors:0 dropped:0 overruns:0 frame:0
TX packers:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2539788 (2.4 Mb) TX bytes:1240 (1.2 Kb)
Interrupt: 23 Base address:0x6000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TC packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Even though the nic card is properly configured, the cable is plugged in from the computer (green lights flashing, and I'm recieving packets) to my hub, and my internet is working (I'm running my laptop off the hub to post this), the following happens:
Quote:

livecd root # ping -c 3 www.yahoo.com
ping: unknown host www.yahoo.com

As well as the same message displaying when I try to use links2 to access www.yahoo.com.

I know we have to have a security certificate to access our network/internet, but I have managed to access it before without installing the certificate.

Any suggestions on either fixing this or getting the certificate onto gentoo before the install and how would I get livecd to read the certificate and display it to my network?

I'm running the AMD64 version of gentoo, I've installed SuSe and Redhat before, and I've worked in Redhat, SuSe, Mandrake, and a few others, but I'm not extremely experienced with Linux.


Last edited by Nihirist on Wed Feb 15, 2006 5:14 am; edited 1 time in total
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Tue Feb 14, 2006 7:46 pm    Post subject: Reply with quote

Hi and welcome to the forums

If you look carefully at the eth0 output, you'll notice that it doesn't have an IP address.
Did you configure /etc/conf.d/net? If the file is empty, you're trying to use DHCP. Did you remember to install a DHCP client? Does your router have an active DHCP server?
Code:
# emerge -s dhcpcd pump

_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Nihirist
n00b
n00b


Joined: 14 Feb 2006
Posts: 4

PostPosted: Wed Feb 15, 2006 12:53 am    Post subject: Reply with quote

Thanks, I didn't notice that about the eth0 output. It has, although, recived IP addresses in the past, I'm just not sure how. All that /etc/conf.d/net shows is
Code:
iface_eth1="dhcp"
. I am however attempting to use DHCP. I have not installed a DHCP client, how would I go about doing that? I'm using just a basic 8-port 10/100 hub, not a router, so I don't think it has an active DHCP server. When I look at my desktop and laptops IP addresses in Windows, they have unique IP's that correlate with the IP's assigned for my area of campus by my university.

When I attempted to use
Code:
livecd root # emerge -s dhcpcd pump

I get the message:
Code:
-/bin/bash: emerge: command not found


When I try to do # dhcpcd eth0, I get the message:
Code:
****  dhcpcd: already running
****  dhcpcd: if not then delete /var/run/dhcpcd-eth0.pid file


If I need to delete it, what command would I use? None of the ones I've attempted so far have worked, but I'm pretty sure I'm using windows delete commands.

Thanks for your help so far.
Back to top
View user's profile Send private message
Nihirist
n00b
n00b


Joined: 14 Feb 2006
Posts: 4

PostPosted: Wed Feb 15, 2006 1:04 am    Post subject: Reply with quote

Nevermind, I looked it up and found it was rm. Deleted the file and did dhcpcd eth0 and now its connected.

Thanks for the help.
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