Quote:
Originally Posted by Ynot Irucrem
Either do "su -" (get the root environment) instead of "su", or do "/sbin/ifconfig" instead of "ifconfig". This is because only the root user has /sbin/ in their $PATH, which is where the shell looks for programs to execute.
|
thanks man appreciate that!,
for LSPCI i got
i got Ethernet Controller : 3Com Corporation 3c905B 100BaseTX [Cyclone ] Rev 30
for ifconfig
eth0: Link Encap : Ethernet HWaddr 00:50
a:B6:16:01
inet6 addr : fe80::250::daff::feb6::1601/64 Scope: Link
UP BROADCAST MULTICAST MTU:1500 METRIC :1
RX PACKETS:445963 errors: 0 : dropped :0 overruns: 0 frames: 0
TX PACKETS:80 errors : 0 dropped: 0 overruns : 0 carrier : 0
collisions : 0 txqueuelen:1000
Rx bytes :2706094 (25.8 MIB) tx bytes :17030 (16.6kb)
Inturrupt :10
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 : 16346 Metric :1
RX PACKETS:4635 errors: 0 : dropped :0 overruns: 0 frames: 0
TX PACKETS:4635 errors: 0 : dropped :0 overruns: 0 carrier: 0
collisions : 0 txqueuelen:0
RX bytes :5175764 (4.19 MIB) TX bytes :517564 ( 4.9 MIB)