分页: 1 / 1

[问题]高手...看看这个无线怎么了.

发表于 : 2008-07-27 10:56
爱上那只猪
我是一个ubuntu爱好者,现在我遇到一个问题,找了好几天资料都没办法解决.我在QQ群里也问了,可惜没人帮得上我啊!

我装了ubuntu之后,我自己的linksys G24的无线网卡可以驱动,并且能够找到无线网络.我能连接上去..给自己配置好IP,网关,DNS之后,我只能拼通自己的IP,怎么也拼不到网关.就是无线AP这样我就不能上网...

下面给你看一些我拿出来的信息:
我的网卡MAC地址: 00:18:f8:32:44:47 无线路由的MAC:00:1e:8c:93:ca:dc
这是interfaces里的内容:
auto lo
iface lo inet loopback

iface wlan0 inet static
address 192.168.10.200
netmask 255.255.255.0
gateway 192.168.10.254
wireless-key 827d378648ec516fc67c12e65d7782aba23db19adf8d1320273005b6093d6c41
wireless-essid yishion

auto wlan0

然后我用了一些命令找出些东西:
beyoung@beyoung-ubuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
wmaster0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:"yishion"
Mode:Managed Frequency:2.462 GHz Access Point: 00:1E:8C:93:CA:DC
Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


beyoung@beyoung-ubuntu:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:17:31:4a:39:35
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:16 Base address:0x4000
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:2748 errors:0 dropped:0 overruns:0 frame:0
TX packets:2748 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0
RX bytes:140612 (137.3 KB) TX bytes:140612 (137.3 KB)
inet addr:192.168.10.200 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::218:f8ff:fe32:4447/64 Scope:Link UP BROADCAST MULTICAST MTU:1500

Metric:1
RX packets:194 errors:0 dropped:0 overruns:0 frame:0
TX packets:82 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:27058 (26.4 KB) TX bytes:15961 (15.5 KB)
wmaster0 Link encap:UNSPEC HWaddr 00-18-F8-32-44-47-00-00-00-00-00-00-00-00-00-00
UP BROADCAST RUNNING 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)



beyoung@beyoung-ubuntu:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
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 qlen 1000
link/ether 00:17:31:4a:39:35 brd ff:ff:ff:ff:ff:ff
3: wmaster0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc ieee80211 qlen 1000
link/ieee802.11 00:18:f8:32:44:47 brd ff:ff:ff:ff:ff:ff
4: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:18:f8:32:44:47 brd ff:ff:ff:ff:ff:ff
inet 192.168.10.200/24 brd 192.168.10.255 scope global wlan0
valid_lft forever preferred_lft forever


beyoung@beyoung-ubuntu:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.10.0 * 255.255.255.0 U 0 0 0 wlan0
link-local * 255.255.0.0 U 1000 0 0 wlan0
default 192.168.10.254 0.0.0.0 UG 100 0 0 wlan0 (这一条很久才出来)



beyoung@beyoung-ubuntu:~$ ping 192.168.10.200
PING 192.168.10.200 (192.168.10.200) 56(84) bytes of data.
64 bytes from 192.168.10.200: icmp_seq=1 ttl=64 time=0.027 ms
64 bytes from 192.168.10.200: icmp_seq=2 ttl=64 time=0.025 ms
64 bytes from 192.168.10.200: icmp_seq=3 ttl=64 time=0.025 ms
--- 192.168.10.200 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.025/0.025/0.027/0.005 ms


beyoung@beyoung-ubuntu:~$ ping 192.168.10.254
PING 192.168.10.254 (192.168.10.254) 56(84) bytes of data.
From 192.168.10.200 icmp_seq=1 Destination Host Unreachable
From 192.168.10.200 icmp_seq=2 Destination Host Unreachable
From 192.168.10.200 icmp_seq=3 Destination Host Unreachable
From 192.168.10.200 icmp_seq=4 Destination Host Unreachable
From 192.168.10.200 icmp_seq=5 Destination Host Unreachable
From 192.168.10.200 icmp_seq=6 Destination Host Unreachable
--- 192.168.10.254 ping statistics ---7 packets transmitted, 0 received, +6 errors, 100% packet loss,

time 6015ms, pipe 3

发表于 : 2008-07-27 11:51
oyasmi
楼主用下面的方法试一试:

把interfaces里的
wireless-key 827d378648ec516fc67c12e65d7782aba23db19adf8d1320273005b6093d6c41
wireless-essid yishion
两行删掉

/etc/rcS.d/S40networking restart

然后
sudo iwconfig wlan0 essid "yishion" key (你的密码)
启动接口
sudo ifconfig wlan0 up

在上面的key处,如果你用的是ASCII的密码的话,在你的密码前面加's:'

iwconfig
查看Link Quality:这里,还是0的话就没连上。
可以

sudo iwlist wlan0 scan
扫描无线接入点的信标桢
看看channel项,把channel参数也传给wlan0

sudo iwconfig wlan0 channel n

发表于 : 2008-07-28 8:38
爱上那只猪
谢谢楼上的...

其间试过和你讲的类似的方法.

不过,我不会放弃的,我今天回去,再试...

发表于 : 2008-08-04 17:05
爱上那只猪
还是未解决到..我郁闷!

发表于 : 2008-08-04 20:32
eexpress
你没有nm-applet吗?面板上的那无线管理图标。

Re: [问题]高手...看看这个无线怎么了.

发表于 : 2009-05-04 13:23
爱上那只猪
奶奶的,最后终于发现了,原来是信号比较弱,