View previous topic :: View next topic |
Author |
Message |
Nihirist n00b
Joined: 14 Feb 2006 Posts: 4
|
Posted: Tue Feb 14, 2006 7:42 pm Post subject: NIC won't read internet [Solved] |
|
|
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:
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 |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Tue Feb 14, 2006 7:46 pm Post subject: |
|
|
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 |
|
|
Nihirist n00b
Joined: 14 Feb 2006 Posts: 4
|
Posted: Wed Feb 15, 2006 12:53 am Post subject: |
|
|
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 . 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 |
|
|
Nihirist n00b
Joined: 14 Feb 2006 Posts: 4
|
Posted: Wed Feb 15, 2006 1:04 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|