但是在LINUX下,可以找到无线网卡,但是无线网卡的指示灯没亮,但是却又通过无线网卡的配置工具可以找到对方的无线网络,却无法通过这样的形式来进行上网,在LINUX下,/etc/network/interfaces的内容是:
# 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也是设置的是192.168.0.1,但是无法上网,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
看来我的设置是基本上正确的,但是就是无法联网。