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

Re: reg ifconfig and route on etrax-uclinux



Try cat /proc/net/*
and especially 
/proc/net/dev
and
/proc/net/route

Hope this helps!
/Johan
Johan Adolfsson, Research and New products
Axis Communications AB    E-mail: Johan.Adolfsson@xxxxxxx.com


-----Original Message-----
From: Prabhat Avasare <avasare@xxxxxxx.be>
To: dev-etrax@xxxxxxx.com>
Date: Wednesday, November 08, 2000 18:12
Subject: reg ifconfig and route on etrax-uclinux


>Hi there.
>
>Two small questions -
>
>1. How possibly do I see ifconfig information with
>   devices? When I do "ifconfig eth0", it prints
> nothing whereas eth0 is up(I see it in bootlog).
> I need to check all devices available and also
> received and sent packet info on each of them.
>2. Similar to the previous question but with "route".
>   How do I see which routes are active and available?
>   
>best wishes,
>-- prabhat
>
>--
>Prabhat Avasare    IMEC (DESICS)          email: avasare@xxxxxxx.be
>                   Kapeldreef 75            Tel: +32-16-281525
>                   B3001 Leuven             Fax: +32-16-281515
>                   Belgium.
>