freebsd8.0 wireless & WPA2-PSK without DHCP & base system & CONFIG FILES
来源:互联网 发布:mysql error 1054 编辑:程序博客网 时间:2024/05/05 07:17
(1)
[root@faint /usr/ports/irc/xchat]# less /etc/rc.conf
# -- sysinstall generated deltas -- # Sat Aug 27 20:28:44 2011
# Created: Sat Aug 27 20:28:44 2011
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
moused_enable="YES"
wlans_wpi0="wlan0"
ifconfig_wlan0="WPA"
ifconfig_wlan0="inet 192.168.1.11 netmask 255.255.255.0 ssid TP-LINK_4E8C14"
#wlans_wpi0="wlan0"
defaultrouter="192.168.1.1"
gateway_enable="YES"
#ifconfig_wlan0="inet 192.168.1.11 netmask 255.255.255.0"
hostname="faint"
gdm_enable="YES"
gnome_enable="YES"
(2)# less /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="TP-LINK_4E8C14"
proto=WPA
psk="1122334455"
}
(3)
# less /boot/loader.conf
if_wpi_load="YES"
wlan_load="YES"
wlan_amrr_load="YES"
firmware_load="YES"
wpifw_load="YES"
legal.intel_wpi.license_ack=1
wlan_wep_load="YES"
wlan_ccmp_load="YES"
wlan_tkip_load="YES"
autoboot_delay="1"
ntpd_enable="YES"
wlan_scan_ap_load="YES"
wlan_scan_sta_load="YES"
(4)
# less /etc/hostapd.conf
interface=wlan0
debug=1
ctrl_interface=/var/run/hostapd
ctrl_interface_group=wheel
ssid=TP-LINK_4E8C14
wpa=2
wpa_passphrase=1122334455
wpa_key_mgmt=WPA-PSK
wpa_pairwise=CCMP TKIP
(5)
# less /etc/resolv.conf
nameserver 202.181.224.2 # DNS serv from HK
#nameserver 192.168.1.254
#nameserver 192.168.1.255
(6)
#wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf & # & for background
****************
[1] 11626
xmu# CTRL-EVENT-SCAN-RESULTS
Trying to associate with 00:23:cd:4e:8c:14 (SSID='TP-LINK_4E8C14' freq=2437 MHz)
Associated with 00:23:cd:4e:8c:14
WPA: Key negotiation completed with 00:23:cd:4e:8c:14 [PTK=CCMP GTK=TKIP]
CTRL-EVENT-CONNECTED - Connection to 00:23:cd:4e:8c:14 completed (auth) [id=0 id_str=]
****************
(Finish)
- freebsd8.0 wireless & WPA2-PSK without DHCP & base system & CONFIG FILES
- Wireless Security - WPA2 PSK using wpa_supplicant howto
- WPA-PSK/WPA2-PSK
- WPA-PSK/WPA2-PSK
- Gentoo使用WPA2-PSK
- Android创建WiFi热点研究(安全性为:无-WPA PSK-WPA2 PSK,Android6.0适配)
- WPA-PSK/WPA2-PSK使用的密钥
- WEP WPA/WPA2 WPA-PSK/WPA2-PSK的相互关系
- WPA 和 WPA2 以及WPA-PSK / WPA2-PSK的区别
- WEP,WPA-PSK,WPA2-PSK握手深入分析1
- T60 Intel3945ABG 无线网卡支持WPA2/PSK
- Cracking WPA2-PSK Passwords with Cowpatty
- 无线路由器加密三种安全类型:WPA-PSK/WPA2-PSK、WPA/WPA2 以及WEP
- 【Wireless】【加密】WPA/2-PSK密码格式
- XP下WPA2-PSK验证填写网络密钥
- 利用PIN码破解wifi密码(WPA2-PSK)
- 用 BackTrack 5 破解 WPA/WPA2-PSK 密码
- RHEL等Linux系统使用wpa_supplicant以WPA-PSK/WPA2-PSK连接WIFI
- 快排用法的介绍
- PKU2001
- 编程语言的发展趋势及未来方向
- 简易SQL语句使用
- 2010年计算机专业考研大纲解析
- freebsd8.0 wireless & WPA2-PSK without DHCP & base system & CONFIG FILES
- MySQL入门很简单-学习笔记 - 第 2 章 Windows平台下安装与配置MySQL
- c++中冒号(:)和双冒号(::)的用法
- C语言头文件避免重复包含
- XML的两种解析方式Dom和SAX的区别
- c函数指针实现任意位置跳转
- 二叉查询树三种遍历的非递归写法 [No. 78]
- 使用 SAX 处理 XML 文档
- Play framework JPA Transaction MySql