poloshiao 写了:開機登入桌面 從終端機
1. sudo lshw -numeric -class network
2. sudo ifconfig -a
3. sudo route -nv
4. sudo iwlist scan
5. sudo dhclient -v
把結果直接複製 貼上來
=======================
大俠您還在不?渣渣把數據貼上來了。
1. sudo lshw -numeric -class network
++++++++
*-network:0
description: Ethernet interface
product: BCM4401-B0 100Base-TX [14E4:170C]
vendor: Broadcom Corporation [14E4]
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 02
serial: 00:15:c9:67:20:c5
size: 10Mbit/s
capacity: 100Mbit/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=b44 driverversion=2.0 duplex=half latency=64 link=no multicast=yes port=twisted pair speed=10Mbit/s
resources: irq:18 memory:dfbfe000-dfbfffff
*-network:1
description: Wireless interface
product: PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220]
vendor: Intel Corporation [8086]
physical id: 3
bus info: pci@0000:02:03.0
logical name: eth1
version: 05
serial: 00:19:6f:b7:ce:46
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ipw2200 driverversion=1.2.2kmprq firmware=ABG:9.0.5.27 (Dec 12 2007) ip=192.168.0.6 latency=64 link=yes maxlatency=24 mingnt=3 multicast=yes wireless=IEEE 802.11bg
resources: irq:17 memory:dfbfd000-dfbfdfff
========================================
2. sudo ifconfig -a
++++++++++++++++++
eth0 Link encap:以太网 硬件地址 00:15:c9:67:20:c5
UP BROADCAST MULTICAST MTU:1500 跃点数:1
接收数据包:0 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:0 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:0 (0.0 B) 发送字节:0 (0.0 B)
中断:18
eth1 Link encap:以太网 硬件地址 00:19:6f:b7:ce:46
inet 地址:192.168.0.6 广播:192.168.0.255 掩码:255.255.255.0
inet6 地址: fe80::216:6fff:fea7:be26/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 跃点数:1
接收数据包:95262 错误:263 丢弃:271 过载:0 帧数:0
发送数据包:59049 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:1000
接收字节:96969176 (96.9 MB) 发送字节:5344082 (5.3 MB)
中断:17 基本地址:0xc000 Memory:dfbfd000-dfbfdfff
lo Link encap:本地环回
inet 地址:127.0.0.1 掩码:255.0.0.0
inet6 地址: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 跃点数:1
接收数据包:237282 错误:0 丢弃:0 过载:0 帧数:0
发送数据包:237282 错误:0 丢弃:0 过载:0 载波:0
碰撞:0 发送队列长度:0
接收字节:13383740 (13.3 MB) 发送字节:13383740 (13.3 MB)
============================================
3. sudo route -nv
++++++++++++++++++++++
内核 IP 路由表
目标 网关 子网掩码 标志 跃点 引用 使用 接口
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 eth1
==================================================
4. sudo iwlist scan
++++++++++++++++
lo Interface doesn't support scanning.
eth1 Scan completed :
Cell 01 - Address: 00:19:6f:b7:ce:46
ESSID:"default"
Protocol:IEEE 802.11bg
Mode:Master
Frequency:2.437 GHz (Channel 6)
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 9 Mb/s; 11 Mb/s
6 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Quality=84/100 Signal level=-46 dBm
IE: IEEE 802.11i/WPA2 Version 1
Group Cipher : CCMP
Pairwise Ciphers (1) : CCMP
Authentication Suites (1) : PSK
Preauthentication Supported
Extra: Last beacon: 28ms ago
eth0 Interface doesn't support scanning.
==================================================
5. sudo dhclient -v
+++++++++++++++++++++
Internet Systems Consortium DHCP Client 4.1-ESV-R4
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit
https://www.isc.org/software/dhcp/
Listening on LPF/eth1/00:19:6f:b7:ce:46
Sending on LPF/eth1/00:19:6f:b7:ce:46
Sending on Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
DHCPREQUEST of 192.168.0.6 on eth1 to 255.255.255.255 port 67
DHCPOFFER of 192.168.0.6 from 192.168.0.1
DHCPACK of 192.168.0.6 from 192.168.0.1
RTNETLINK answers: File exists
bound to 192.168.0.6 -- renewal in 236570 seconds.