[plug] To Build a kernel

Craig Ringer craig at postnewspapers.com.au
Fri Sep 26 12:38:38 WST 2003


>   The new kernel installed OK.  --  used the existing LILO.
>   As a result of the upgrade found the following
> 
>   ftp
>   ftp> open 192.168.0.1                    this ia a gateway address
>   ftp: connect: Network is unreachable
>   ftp>

Interesting. If you run `/sbin/ifconfig -a`, does the network interface 
you use for 'net access show up? Is it listed as "UP" if it is there, 
and does it have an IP address?

Fairly normal output for `/sbin/ifconfig eth2` (my inet interface) would be:

eth2      Link encap:Ethernet  HWaddr 00:07:E9:0A:BE:D9
           inet addr:10.0.0.4  Bcast:10.0.0.255  Mask:255.255.255.0
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:228747228 errors:0 dropped:0 overruns:0 frame:0
           TX packets:712164976 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:100
           RX bytes:597765552 (570.0 Mb)  TX bytes:4003201062 (3817.7 Mb)
           Interrupt:48 Base address:0x9000 Memory:fc000000-fc020000

You're looking for "UP" and "inet addr: " .



>   Find that the Internet doesn't function either, using Mozilla.
> 
>   get the following message 
> 
>   "www.google.com could not be found. Please check the name & try again."
> 
>   irrispective of what I try.

What does 'route -n' say?
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth2
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         10.0.0.10       0.0.0.0         UG    0      0        0 eth2

You should have a line with destination "0.0.0.0" and flags including 
"G". This is your default route, and if there isn't one not much will work.

>   checked /etc/network/interfaces  looks fine.
>   checked printer works fine.

Networked printer, I assume?

Craig Ringer


_______________________________________________
plug mailing list
plug at plug.linux.org.au
http://mail.plug.linux.org.au/cgi-bin/mailman/listinfo/plug


More information about the plug mailing list