但是在LINUX下,可以找到無線網(wǎng)卡,但是無線網(wǎng)卡的指示燈沒亮,但是卻又通過無線網(wǎng)卡的配置工具可以找到對方的無線網(wǎng)絡(luò),卻無法通過這樣的形式來進行上網(wǎng),在LINUX下,/etc/network/interfaces的內(nèi)容是:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
iface eth1 inet static
wireless-essid wu
address 192.168.0.10
netmask 255.255.255.0
gateway 192.168.0.1
auto eth1
這是通過圖形工具自動生成的,不是我自己改動過的,另外在LINUX下我的DNS也是設(shè)置的是192.168.0.1,但是無法上網(wǎng),ping不到對方主機192.168.0.1。
[email=wangwu@ubuntu:~$]wangwu@ubuntu:~$[/email] ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.10 icmp_seq=1 Destination Host Unreachable
From 192.168.0.10 icmp_seq=2 Destination Host Unreachable
From 192.168.0.10 icmp_seq=3 Destination Host Unreachable
--- 192.168.0.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5034ms
, pipe 3
[email=wangwu@ubuntu:~$]wangwu@ubuntu:~$[/email] route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth1
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1
看來我的設(shè)置是基本上正確的,但是就是無法聯(lián)網(wǎng)。