说下我的电脑现在的情况。
显示的内容:ifconfig
之前的问题是eth0 没有inet addr这一行,有线网络一直在联网就是连不上,我的理解相当于Windows里本地连接一直在识别那个状况吧。eth0 Link encap:Ethernet HWaddr 60:eb:69:ac:e9:f7
inet6 addr: fe80::62eb:69ff:feac:e9f7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:71645 errors:0 dropped:34 overruns:0 frame:0
TX packets:72 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:5311273 (5.3 MB) TX bytes:14031 (14.0 KB)
Interrupt:46
eth1 Link encap:Ethernet HWaddr 88:9f:fa:29:1e:ef
inet addr:192.168.196.102 Bcast:192.168.196.255 Mask:255.255.255.0
inet6 addr: fe80::8a9f:faff:fe29:1eef/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:8951 errors:0 dropped:0 overruns:0 frame:24180
TX packets:10140 errors:15 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:7873049 (7.8 MB) TX bytes:1684074 (1.6 MB)
Interrupt:17
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:16436 Metric:1
RX packets:854 errors:0 dropped:0 overruns:0 frame:0
TX packets:854 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:85371 (85.3 KB) TX bytes:85371 (85.3 KB)
我是笔记本,按理是应该只有eth0的,不过经过一番折腾,又多了一个eth1出来。

我现在可以连宿舍同学的无线上网。之前ifconfig里也会显示一个wlan,现在也没有了。


出现这个情况之前我安装了wicd,卸载了network-manager,后来又安装回net-manager,卸载了wicd,因为用wicd我连无线网也连不上了。
此外一些可能用的上的信息:
/etc/network/interfaces里的内容:
sudo lshw -C network的结果:auto lo
iface lo inet loopback
(从这里看好像无线的wlan被识别为eth1了?这个问题又如何解决?)*-network
description: Ethernet interface
product: AR8151 v1.0 Gigabit Ethernet
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: c0
serial: 60:eb:69:ac:e9:f7
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=atl1c driverversion=1.0.1.0-NAPI duplex=full firmware=N/A latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:46 memory:db400000-db43ffff ioport:2000(size=128)
*-network
description: Wireless interface
product: BCM43225 802.11b/g/n
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: eth1
version: 01
serial: 88:9f:fa:29:1e:ef
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=wl0 driverversion=5.100.82.38 ip=192.168.196.102 latency=0 multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:da400000-da403fff
大家有没有什么意见?或者还需要什么信息?