[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: kernel 2.6.6

Hash: SHA1

On Monday 31 May 2004 20:55, Law Horne wrote:

> $ ./ifconfig
> lo        Link encap:Local Loopback
>           inet addr:  Mask:
>           inet6 addr: ::1/128 Scope:Host
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:4018 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:4018 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:5138658 (4.9 Mb)  TX bytes:5138658 (4.9 Mb)
> $ ./route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
>     *          U     0      0        0 lo
>       *            U     0      0        0 lo

Well, if your ethernet device exists (you can check it with ifconfig -a) then 
the problem is only that there is no IP assigned to the interface (and no 
default route).  If you're okay eth0 will show up in ifconfig -a.

If the problem is in the kernel not able to recognize or successfully set up 
the driver for the device then I have no idea what to do except try the 
newest kernel.

Otherwise, try something like this as root, this shows as your 
IP and as your default gateway, for example.

ifconfig eth0 netmask up
route add default eth0
route add default gw

If that gets you working, my advice ends at sticking that stuff 
in /etc/rc.local so it happens every boot, but more experienced people may 
have better suggestions to make it work with the system tools.

- -Andy

- -- 
Automatic actions for USB cameras, cardreaders, memory sticks, MP3 players
Version: GnuPG v1.2.4 (GNU/Linux)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]