gnome@gnome-u:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 05:0f:b0:99:36:53
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:21
eth1 Link encap:Ethernet HWaddr 05:13:ce:99:69:d5
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::213:ceff:fe99:69d4/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:99123 errors:4 dropped:4 overruns:0 frame:0
TX packets:88479 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:99532417 (99.5 MB) TX bytes:9657254 (9.6 MB)
B. Another command - ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 05:0f:b0:99:36:53 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 05:13:ce:99:69:d5 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.4/24 brd 192.168.1.255 scope global eth1
inet6 fe80::213:ceff:fe99:69d5/64 scope link
valid_lft forever preferred_lft forever
C. Newer but more info - nm-tool
NetworkManager Tool
State: connected (global)
- Device: eth1 [Auto XXXWifi] -------------------------------------------------
Type: 802.11 WiFi
Driver: ipw2200
State: connected
Default: yes
HW Address: 05:13:CE:99:69:D5
Capabilities:
Speed: 36 Mb/s
Wireless Properties
WEP Encryption: yes
WPA Encryption: yes
WPA2 Encryption: yes
Wireless Access Points (* = current AP)
*XXXwifi: Infra, 05:1E:E3:EF:E7:93, Freq 2412 MHz, Rate 54 Mb/s, Strength 76 WPA2
TP-LINK_B1EF81: Infra, F5:D1:11:B1:EF:82, Freq 2457 MHz, Rate 54 Mb/s, Strength 49 WPA2
IPv4 Settings:
Address: 192.168.1.4
Prefix: 24 (255.255.255.0)
Gateway: 192.168.1.1
DNS: 192.168.1.1
- Device: eth0 -----------------------------------------------------------------
Type: Wired
Driver: b44
State: unavailable
Default: no
HW Address: 05:0F:B0:99:36:53
Capabilities:
Carrier Detect: yes
Wired Properties
Carrier: off
Tiada ulasan:
Catat Ulasan