• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

YARG.. no network?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

perfectturmoil

Member
Joined
Oct 23, 2004
Location
Hillbillyville
Well.. I'm SOO close to being a linux user ;-] So I have gotten each of my problems working - I ended up having some file system problems in /etc/fstab...

But now, I boot and Gentoo Starts, and its awesome, except I don't have any network. I tried: emerge kde .. It calculates dependencies, then flashes past a lot of things saying "temporary failure in name resolution". I am assuming each of these are the places I chose to use portage at.

At the end, it says "!!! Couldn't download freetype-2.1.9.tar.bz. Aborting."

I tried pinging websites (gentoo.org, google.com, my router) and they all have errors.

I did realize that for some reason I did not emerge dhcpcd the first time around, but I just rebooted and used the install cd to change over to the installed gentoo and re-emerge it.. maybe that doesn't work..

Man.. I sure feel like I've been spamming this forum for the past few days.. All I want to do is be a happy linux user :-] Oh well.. Help?
 
Post the results from "ifconfig"

My bet is that you don't have the correct NIC drivers.
 
well.. ifconfig returned:

Link encap: Local Loopback
inet addr: 127.0.0.1 Mask 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
and everything else is listed as 0.. all the packet stuff

AND.. rc-update said:

/sbin/rc-update: /etc/init/.d/dhcpcd not found; aborting.

but I can man dhcpcd and get info on it.. odd? maybe not...
 
what does the

#cat /etc/conf.d/net

say?
what about
#cat /etc/resolv.conf



and what does
#rc-update add net.eth0 default

say



also since dhcpcd wasn't found
unless you have another dhcp client, you will need to install one


to install one you will need to go back tothe live cd, chroot to your install, then go from there (or you could just assign your self a static ip address and grab some dns servers from the web)




if your interested in giving yourself a static ip, heres what mine looks like

Code:
tux / # cat /etc/resolv.conf
nameserver 68.15.165.12
nameserver 68.87.64.196
nameserver 68.87.66.196
nameserver 63.226.12.96
nameserver 64.151.103.120
nameserver 216.87.84.209
nameserver 217.115.138.24
nameserver 219.127.89.34
search oakrdg01.tn.comcast.net
domain homenetwork


Code:
tux / # cat /etc/conf.d/net
iface_eth0="192.168.1.100 broadcast 192.168.1.255 netmask 255.255.255.0"
gateway="eth0/192.168.1.1"



Code:
tux / # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:90:47:05:7B:9C
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8867599 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11735111 errors:0 dropped:0 overruns:1 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3458626461 (3298.4 Mb)  TX bytes:567688661 (541.3 Mb)
          Interrupt:10 Base address:0x1000

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:142551 errors:0 dropped:0 overruns:0 frame:0
          TX packets:142551 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:129173652 (123.1 Mb)  TX bytes:129173652 (123.1 Mb)


good luck
 
perfectturmoil said:
well.. ifconfig returned:

Link encap: Local Loopback
inet addr: 127.0.0.1 Mask 255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
and everything else is listed as 0.. all the packet stuff

AND.. rc-update said:

/sbin/rc-update: /etc/init/.d/dhcpcd not found; aborting.

but I can man dhcpcd and get info on it.. odd? maybe not...

You don't have the drivers for your NIC installed.

You need to remake the kernel, boot the new kernel, and you should be good to go.
 
A simpler method may be to just compile the network card driver as a module, by selecting the appropriate module in the kernel config and doing:
make modules && make modules_install

Then add the name of the module (without the ".o" extension) to /etc/modules.autoload.d/kernel-2.6.
 
Out of curiousity did you run "ifconfig" or "ifconfig -a"? "ifconfig will only show the active interfaces even though the card may still be recognized by the kernel. try running
Code:
dhcpcd eth0
and see if that works. If not you're probably missing the correct driver for the network card.
 
{PMS}fishy said:
You don't have the drivers for your NIC installed.

You need to remake the kernel, boot the new kernel, and you should be good to go.


Well, I'm a dummy.. I thought I had gotten everything.. that Network one was kinda burried way down in there..

I had a linksys card, so I picked all of the Tulip ones (seemed to be suggested from google search) and one or two more (generic intel, etc).. works now, and emerging KDE so I can actually get some use out of this bad boy ;-]

Stay tuned for the next time I frig something up :-]
 
Back