Kamis, September 25, 2008

Manual cek status speed eth card di linux

Cek status speed eth card di linux yang terpasang pada OS_Linux

root@test:~# mii-tool (enter)

akan tampil sbb:
eth0 autonegotiation failed, link ok
eth1 negotiated 100baseTx-FD, link
eth2 no link (tdk ada eth cardnya)

Utk merubah speed di eth card perintahnya tsb:
root@test:~# mii-tool -F 100baseTx-FD eth0 (enter)

keterangan:
1. mii-tool -F (perintah utk merubah)
2. 100baseTx-FD (perintah utk jenis eth card yang digunakan)
3. eth0 (perintah eth card yang akan di rubah)

Untuk mengembalikannya lagi ke 10Mb perintah sbb:
root# mii-tool -R (enter)

Untuk melihat jenis speed eth card yang akan di setting :

root@test:~# mii-tool -F (enter)
mii-tool: option requires an argument -- F
usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...]
-V, --version display version information
-v, --verbose more verbose output
-R, --reset reset MII to poweron state
-r, --restart restart autonegotiation
-w, --watch monitor for link status changes
-l, --log with -w, write events to syslog
-A, --advertise=media,... advertise only specified media
-F, --force=media force specified media technology
media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
(to advertise both HD and FD) 100baseTx, 10baseT
root@test:~#

~~~~~ end ~~~~~


Cek speck cpu di linux :


root@test:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 7
model name : Pentium III (Katmai)
stepping : 2
cpu MHz : 496.669
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips : 989.59

root@test:~#

~~~~~ end ~~~~~