溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

Kali debian如何創(chuàng)建WIFI AP熱點(diǎn)

發(fā)布時間:2022-01-18 11:51:43 來源:億速云 閱讀:926 作者:柒染 欄目:互聯(lián)網(wǎng)科技

這篇文章跟大家分析一下“Kali debian如何創(chuàng)建WIFI AP熱點(diǎn)”。內(nèi)容詳細(xì)易懂,對“Kali debian如何創(chuàng)建WIFI AP熱點(diǎn)”感興趣的朋友可以跟著小編的思路慢慢深入來閱讀一下,希望閱讀后能夠?qū)Υ蠹矣兴鶐椭?。下面跟著小編一起深入學(xué)習(xí)“Kali debian如何創(chuàng)建WIFI AP熱點(diǎn)”的知識吧。

采購識別網(wǎng)卡
經(jīng)朋友推薦購買的是TOTO LINK的N200UP無線網(wǎng)卡,切記型號版本,芯片RT3070,較為穩(wěn)定,支持AP模式。
# 查看網(wǎng)卡支持模式與芯片版本
root@kali:~# lsusb
Bus 003 Device 010: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter

# 查看支持的接口模式
root@kali:~# iw list
Supported interface modes:
     * IBSS
     * managed
     * AP
     * AP/VLAN
     * WDS
     * monitor
     * mesh point

# 其他查看命令等
root@kali:~# nmcli device show
root@kali:~# iwconfig
編輯網(wǎng)絡(luò)配置文件,添加橋接接口
vim /etc/network/interface
# wireless wlan0
allow-hotplug wlan0
iface wlan0 inet manual

# 重啟前需要注釋掉下面這行數(shù)據(jù) 防止br0成了主接口
auto br0
iface br0 inet dhcp
      bridge_ports eth0
      bridge_stp off
      bridge_maxwait 0
重啟網(wǎng)卡
service networking restart
service network-manager restart
or
ifconfig wlan0 down
啟用AP網(wǎng)絡(luò)
hostapd /etc/hostapd/hostapd.conf
恢復(fù)無接口模式
其實此時不刪除br0也一樣能夠正常上網(wǎng)
刪除方式:
# 注釋第一步中的代碼
vim /etc/network/interfaces

# down掉br0接口
ifconfig br0 down

# 查看解除橋接綁定關(guān)系
brctl show
brctl delbr br0
hostapd.conf
# wireless network name                                                                                                               interface=wlan0
# Set your bridge name
bridge=br0
driver=nl80211
country_code=CN
ssid=Cnlouds
hw_mode=g
channel=6
wpa=2
wpa_passphrase=123456
# Key management algorithms
wpa_key_mgmt=WPA-PSK
# Set cipher suites (encryption algorithms)
# TKIP = Temporal Key Integrity Protocol
# CCMP = AES in Counter mode with CBC-MAC
wpa_pairwise=TKIP
rsn_pairwise=CCMP
# Shared Key Authentication
auth_algs=1
# Accept all MAC address 
macaddr_acl=0

關(guān)于Kali debian如何創(chuàng)建WIFI AP熱點(diǎn)就分享到這里啦,希望上述內(nèi)容能夠讓大家有所提升。如果想要學(xué)習(xí)更多知識,請大家多多留意小編的更新。謝謝大家關(guān)注一下億速云網(wǎng)站!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI