On Tue, 10 May 2005 12:17, Richard Tindall wrote:
> Hi guys. At last there is a moment free to look at my Gentoo install again..
> 
> Problem #1: No network.
> 
> I've followed the instructions & edited out the entries from my 
> make.conf, put in appropriate nameservers in resolv.conf, and have only 
> a "lo" device reported from ifconfig. Lspci & lsmod confirm that my 
> natsemi device has its requisite driver running, but is it eth0? How can 
> I tell, when there's firewire & orinoco wireless to confuse things? How 
> do I make it go? I tried, & got:
> 
>  #ifconfig add 192.168.0.2 eth0
You have the arguments for the route command here, yet you are executing 
ifconfig.

ifconfig eth0 192.168.0.2

is what you want.
Check that it is alive by pinging it. ( note the ip number is for my machine, 
not yours )
[EMAIL PROTECTED] ~ $ ping -c 2  192.168.2.12
PING 192.168.2.12 (192.168.2.12) 56(84) bytes of data.
64 bytes from 192.168.2.12: icmp_seq=1 ttl=64 time=0.048 ms
64 bytes from 192.168.2.12: icmp_seq=2 ttl=64 time=0.045 ms

--- 192.168.2.12 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.045/0.046/0.048/0.007 ms

Then add the route to default gateway for it.

route add default gw <whatever-it-is probably 192.168.0.2> eth0

you should by now have a route to the outside world, so lets test it.

[EMAIL PROTECTED] ~ $ ping apple.com -c 2
PING apple.com (17.254.3.183) 56(84) bytes of data.
64 bytes from apple.com (17.254.3.183): icmp_seq=1 ttl=47 time=173 ms
64 bytes from apple.com (17.254.3.183): icmp_seq=2 ttl=47 time=172 ms

--- apple.com ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1000ms
rtt min/avg/max/mdev = 172.488/172.963/173.439/0.631 ms

It's working. Whoop-di-do!!

Now edit the file /etc/conf.d/net
to set up you network permanently.
This is explained in the Gentoo Installation Manual Section 8b
That's page 48 in the printout Rob gave us all.

> Have looked around the desktop & found no obvious config tools.

The console and a text editor are your config tools.
'man route' and 'man ifconfig' are your friends. 

http://www.icon.co.za/~psheer/book/node28.html.gz

Is a good introduction to networking. Read the following chapter too.

> Sorry, my *nix skills are yet 'intermediate' at best.

Reply via email to