View Single Post
  #4  
Old 07-22-2003, 01:49 PM
Derek's Avatar
Derek Derek is offline
Dean of misderektion
Senior Staff
 
Join Date: Mar 2003
Location: Sector 001
Posts: 1,106
Default

[color=#000000ost_uid0][iost_uid0]ifconfig[/iost_uid0] is what you're looking for. Needless to say you need to be root to do anything.

you'll get something like:
[code:1ost_uid0]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:DA:62:E2:F3
inet addr:192.168.1.200 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1223979 errors:0 dropped:0 overruns:0 frame:0
TX packets:371257 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:400366062 (381.8 MiB) TX bytes:299557817 (285.6 MiB)
Interrupt:5 Base address:0xec00

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:3924 Metric:1
RX packets:19791 errors:0 dropped:0 overruns:0 frame:0
TX packets:19791 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1541071 (1.4 MiB) TX bytes:1541071 (1.4 MiB)
[/code:1ost_uid0]

In this case, [bost_uid0]eth0[/bost_uid0] has the appropriate information. More help requires more information.[/colorost_uid0]
__________________
"Please, Aslan," said Lucy, "what do you call soon?"
"I call all times soon," said Aslan; and instantly he vanished away and Lucy was alone with the Magician.
Reply With Quote