On Monday 31 May 2010 15:44:42 Sergey Poznyakoff wrote:
> g...@iws\.it <[email protected]> ha escrit:
> > On my machine (Linux 3.6.34 x86_64) ifconfig -a returns only the
> > loopback interface instead of the list of all the interfaces installed
> > on the machine.
>
> Is it able to display/configure a particular interface (ifconfig eth0)?
Yes.. It works. I dug a bit into the code and addes a printf("\n***\n") at the
beginning of the function pnd_read ant this is the result of ifconfig -a
(pretty weird in my opinion)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
***
RX packets:1841700 errors:0 dropped:0 overruns:0 frame:0
TX packets:1841700 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1445154769 TX bytes:1445154769
thanks
Giampaolo
>
> > Regards,
> > Sergey
>