To both questions, any user can use the /sbin/ifconfig command to see what 
interfaces are up and what IP addresses are assigned to them.

Matthieu Paindavoine wrote:

> Hello,
>
> just a quickie...
>
> How can user lambda on my box tell if
>   - eth0 is up
>   - ppp0 is up
>
> I think ppp puts something in /var/lock, but is there an equivalent for
> ethernet interface?
>
> As a side question, someone told me that you don't have to be root to
> tell what IP I have (Note that I used DHCP to get it, and it changes
> everyday). Can anyone confirm?
>
> Thanks,
>
> Matthieu
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

--
Jens B. Jorgensen
[EMAIL PROTECTED]

Reply via email to