当我使用12.04连接到wifi时,我经常收到‘网络连接失败’的消息。我在Ubuntu10.04和Windows中使用相同的连接,没有任何问题。为什么我的连接在只使用Ubuntu12.04版本时会频繁地终止呢?如何解决这一问题?
我试着通过我的手机用usb以太网连接互联网。然后就成功了。连接不会像wlan接口那样被终止。所以我想问题可能是无线局域网调制解调器的问题。但是,为什么wlan在Windows和较旧版本的Ubuntu中工作得很好。问题只发生在12.04。
发布于 2012-07-02 16:18:19
安装wicd网络管理器。应该管用的。它可以在Ubuntu软件中心获得。
这都是信号的力量。网络管理器将在-28分贝到70分贝之间振荡(这意味着很大的波动)。与邪恶(WICD),它在一个-70上限。
我建议安装EtherApe或WireShark来分析您的网络连接。
sudo apt-get install wiresharksudo apt-get install etherape发布于 2012-06-30 03:38:06
我想看看电源管理。如果网络不活动超过一段短时间,则该卡可以断开。您还可以查看Ubuntu无线尝试刷新键的频率。
发布于 2012-06-30 05:56:35
像这样的许多问题都没有很好的信息。以下是收集信息的一些帮助:
通常最相关的日志是/var/ log /syslog,它收集各种随机信息。无线连接通常生成至少100条线路。
# tail -20 /var/log/syslog ;# see the last 20 lines of the log
# tailf /var/log/syslog ;# watch the log expand with usage.
# logger ====== Trying again ;# add a message to the syslog另一个日志是dmesg,内核环缓冲区。可能,但通常不会说什么有用的话。通常的网络信息是“没有IPv6路由器在场”。
# dmesg | tail -3 ;# look at last three lines
[ 422.328274] eth1: no IPv6 routers present
[ 474.578004] eth1: no IPv6 routers present
[ 3327.234898] eth1: no IPv6 routers presentifconfig命令与网络接口有关,包括有线接口和未连接接口。它显示并可以配置硬件地址和数据包计数。
# ifconfig -a ;# show all interfaces, configured or not
# ifconfig eth1 ;# just show eth1
eth1 Link encap:Ethernet HWaddr c4:17:fe:71:59:f1
inet addr:192.168.19.79 Bcast:192.168.19.255 Mask:255.255.255.0
inet6 addr: fe80::c617:feff:fe71:59f1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7549 errors:0 dropped:0 overruns:0 frame:18706
TX packets:7230 errors:142 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6541083 (6.5 MB) TX bytes:960689 (960.6 KB)
Interrupt:17 iwconfig命令与无线接口有关。请注意,您希望将其作为root运行,因为它有时会给出来自用户帐户的简短结果。
# iwconfig eth1 ;# show eth1 wireless information
eth1 IEEE 802.11abgn ESSID:"Quickly-WiFi"
Mode:Managed Frequency:2.412 GHz Access Point: 06:16:16:03:6A:10
Bit Rate=11 Mb/s Tx-Power:24 dBm
Retry min limit:7 RTS thr:off Fragment thr:off
Power Managementmode:All packets received
Link Quality=1/5 Signal level=-85 dBm Noise level=-90 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:145 Invalid misc:0 Missed beacon:0您还可以使用以下命令:
# cat /etc/lsb-release ;# See your current Ubuntu version
# lshw -c network ;# See your networking hardware, at least what's recognized.
# ls /etc/modprode.d ;# config probing hardware, blacklists, and add exceptions
# lsmod ;# which modules are used by what
# lspci ;# more hardware information
# rfkill list all ;# see status of hardware and software on/off switches
# nc ;# a hard to use swiss army knife of networking.似乎有一系列的暗示。
祝你好运,我会尝试从评论中更新这个答案。
https://askubuntu.com/questions/148425
复制相似问题