linux 连接无线网络 (终端tty连接)
来源:互联网 发布:数据库审计系统排行 编辑:程序博客网 时间:2024/05/14 15:21
1) 网卡为 intel 3945ABG
2)Linux 版本:Archlinux
3)wpa加密方式 WPA2-PSK
4)/etc/wpa_supplicant.conf 配置文件如下
ctrl_interface=/var/run/wpa_supplicant
ap_scan=1
network={
ssid="xmu_1" #路由器essid名称
psk="密码“
priority=5
}
5)上网步骤
以下为root账户下,非root账户 要授权 sudo -i 省事
1. 启用无线网卡
ifconfig wlan0 up
2. 打开无线网卡电源
iwconfig wlan0 txpower auto
3. (可选)列出区域内的无线网络
iwlist wlan0 scan
3.如果网络是加密的,密码是0592121314,那么就输入命令
iwconfig wlan0 essid "guys" key 0592121314
(输入iwconfig wlan0就可以看到连接正常的各项参数了。)
4.wpa_supplicant -Dwext -iwlan0 -c /etc/wpa_supplicant.conf & #加&为后台运行
5. 如果是用DHCP获取IP的,那么用dhclient或dhcpcd获取ip
dhcpcd wlan0
6.ping www.google.com
- linux 连接无线网络 (终端tty连接)
- Linux 无线网络管理和连接
- arch linux下连接无线网络
- linux开机自动连接无线网络
- linux开机自动连接无线网络
- 无线网络连接
- MacBook 终端连接Linux
- mac终端连接linux
- Linux终端解密(The TTY demystified)
- linux 终端 tty驱动
- linux之终端tty
- 2.9 Linux tty终端
- Ubuntu终端远程连接计算机(Linux)
- Ubuntu终端远程连接计算机(Linux)
- Ubuntu终端远程连接计算机(Linux)
- Ubuntu终端远程连接计算机(Linux)
- Linux终端连接Linux服务器
- mac os 终端连接 linux
- 交换机的连接方式详解(图)
- 怎样得积分
- EDA相关
- Software Test Automation - Best Practices
- 岁月不饶人,09年是第一拨90后奔二的一年
- linux 连接无线网络 (终端tty连接)
- AHK Read a variable from lua
- 幸运
- 流水灯汇编语言小程序
- 对kerberos的理解--经典对话读后
- VC下有了graphics.h兼容库
- Vi常用命令(五)查找替换
- 不可忽略的 cache-read time(缓存读取延迟时间) 瓶颈
- openssl中关于engine的部分代码分析