deepin Linux 開啟wifi熱點(diǎn)

1.安裝hostapd

命令:sudo apt-get install hostapd

2.安裝dnsmasq

命令:sudo apt-get install dnsmasq

3.安裝iptables?

命令:sudo apt-get install iptables

4.下載create_ap,地址:https://github.com/oblique/create_ap?,下載zip

ps:create_ap需要前3者支持

5.解壓create_ap

6.在create_ap-master文件夾下打開終端執(zhí)行

命令:sodu make install

7.創(chuàng)建wifi熱點(diǎn)

命令:create_ap wlan0 eth0 MyAccessPoint MyPassPhrase

ps:wlan0是你要作為開啟熱點(diǎn)的網(wǎng)卡名,eth0是你連接到internet的網(wǎng)卡名??梢杂胕fconfig命令查看電腦的網(wǎng)卡信息。?

MyAccessPoint 是創(chuàng)建的wifi名,MyPassPhrase是密碼。

我本機(jī)wifi:

命令:create_ap wlp2s0 enp4s0 ssh415 ssh415ssh? ? (長(zhǎng)連狀態(tài))

至此,wifi成功共享熱點(diǎn)。

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容