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

Re: kernel 2.6.6



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

> $ ./ifconfig
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           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
> 169.254.0.0     *               255.255.0.0     U     0      0        0 lo
> 127.0.0.0       *               255.0.0.0       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 192.168.0.123 as your 
IP and 192.168.0.1 as your default gateway, for example.

ifconfig eth0 192.168.0.123 netmask 255.255.255.0 up
route add default eth0
route add default gw 192.168.0.1

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
http://warmcat.com/usbautocam
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAu5cCjKeDCxMJCTIRAsofAJ9XdEbuuXNF4HuW1p1r0c4m5OmnMwCdHV1g
Z8t8MEm7s5Z4yW0MscYMr5U=
=TLnH
-----END PGP SIGNATURE-----



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