ubuntu server 终端无限连接问题

EchoAm3 2014-10-25 01:35:09
系统:ubuntu server

[color=#FF0000]想在终端下(就是在shell 中利用无线网上网),当无线网卡驱动安装之后,能识别无线网卡时,如何在shell界面连接无线网???

求大神们请教...
...全文
168 2 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Asingular 2014-11-02
  • 打赏
  • 举报
回复
Wi-Fi是一种可以将个人电脑、手持设备(如PDA、手机)等终端以无线方式互相连接的技术。Wi-Fi是一个无线网路通信技术的品牌,由Wi-Fi联盟(Wi-Fi Alliance)所持有。目的是改善基于IEEE 802.11标准的无线网路产品之间的互通性。现时一般人会把Wi-Fi及IEEE 802.11混为一谈。甚至把Wi-Fi等同于无线网际网路。 Wi-Fi是一种帮助用户访问电子邮件、Web和流式媒体的互联网技术。它为用户提供了无线的宽带互联网访问。同时,它也是在家里、办公室或在旅途中上网的快速、便捷的途径。能够访问 Wi-Fi 网络的地方被称为热点。Wi-Fi或802.11G在2.4Ghz频段工作,所支持的速度最高达54Mbps。另外还有两种802.11空间的协议,包括(a)和(b)。它们也是公开使用的,但802.11G在世界上最为常用。 下面的内容将教大家在Ubuntu系统终端手动连接 Wifi。 检查无线网卡信息 qii@ubuntu:~$ iwconfig wlan0 wlan0 IEEE 802.11bgn ESSID:"Ubuntu-wiki-wpa-cli" Mode:Managed Frequency:2.412 GHz Access Point: D3:1D:3C:11:A2:A1 Bit Rate=11 Mb/s Tx-Power=20 dBm Retry long limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=58/70 Signal level=-52 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 重启无线网卡 sudo ifconfig wlan0 down sudo ifconfig wlan0 up 搜索接入点 sudo iwlist wlan0 scanning 返回接入点列表,类似这样的 wlan0 Scan completed : Cell 01 - Address: D4:3D:1C:53:A3:A4 Channel:1 Frequency:2.412 GHz (Channel 1) Quality=54/70 Signal level=-56 dBm Encryption key:on ESSID:"Ubuntu-wiki-wpa-cli" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s Mode:Master Extra:tsf=0000002d049a7181 Extra: Last beacon: 232ms ago IE: Unknown: 000954506C2D4D61676963 IE: Unknown: 010482848B96 IE: Unknown: 030101 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK Preauthentication Supported IE: WPA Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK 注意这一行,这行就是接入点的 ESSID ESSID:"Ubuntu-wiki-wpa-cli" 设定要连接的接入点,替换下列的ESSID sudo iwconfig wlan0 essid ESSID 密码 sudo iwconfig wlan0 key s:密码 警告: 密码最好由字母和数字组成,你要是设的密码有!/#%$^#这类字符,这里会逼疯你的,这些特定字符会被Bash直接处理而不当作参数,出现bash: !~'": event not found 或 Error for wireless request "Set Encode" (8B2A) : invalid argument ,试试加“”或' ',如果还不行,自己看着办吧。 然后是自动获取 IP sudo dhclient wlan0
  • 打赏
  • 举报
回复
Open the terminal. Type ifconfig wlan0 and press Enter. You will not see any output in the terminal, as this command just turns your wireless card on. Most wireless cards are designated wlan0. If yours has a different designation, use that instead. Type iwconfig wlan0 essid name key password and press Enter. Replace name with the actual network name, and replace password with the actual security key for the network. If your wireless network does not require a security key, do not enter key password. Type dhclient wlan0 and press Enter to obtain an IP address and connect to the WiFi network.

19,620

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧