Cov txheej txheem:
- Kauj ruam 1: Yam yuavtsum tau kawm uantej
- Kauj ruam 2: Teeb Systemd-networkd
- Kauj Ruam 3: teeb tsa Wpa-thov
- Kauj ruam 4:
- Kauj ruam 5: Configuring Interfaces
Video: Tiag tiag WiFi Extender: 5 Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:25
Taw qhia
Tiag WiFi Extender yog WiFi rov ua dua raws li Raspberry Pi Zero W. Nws ua lwm txoj hauv kev zoo rau kev lag luam WiFi rov ua dua tshiab sib txuas tus nqi qis (qis dua 10USD) thiab kho tau zoo heev. Nws kuj tseem tuaj yeem ua haujlwm qee qhov kev txwv tsis pub tshaj tawm xws li pi-hole ib yam. Txoj haujlwm no yog ib yam zoo vim tias feem ntau ntawm cov phiaj xwm ntawm GitHub qhia pom yuav ua li cas thiaj tsim tau lub wireless AP los qhia siv Internet uas tau siv Ethernet.
Saib kuv qhov project ntawm Hackaday Hackaday
Saib kuv qhov project ntawm GitHub Github
Saib kuv qhov project ntawm Hackster Hackster
Kauj ruam 1: Yam yuavtsum tau kawm uantej
Rau qhov ua kom pom cov duab mus rau SD daim npav Kuv tau siv BalenaEtcher
- Rub cov ntawv raspbian lite.iso los ntawm Raspberry Pi lub vev xaib
- Thaum rub tawm, qhib BalenaEtcher, xaiv cov ntawv.iso, xaiv daim npav SD thiab nyem lub pob nyem thiab tos kom cov txheej txheem tiav.
- Tom qab ntawd, qhib qhov muab faib khau raj thiab sab hauv nws, tsim cov ntawv sau dawb uas muaj npe ssh uas tsis muaj kev txuas ntxiv.
- Thaum kawg, tsim lwm cov ntawv sau hu ua wpa_supplicant.conf hauv tib qho kev faib faib thiab muab cov ntsiab lus hauv qab no tso.
ctrl_interface = DIR =/var/run/wpa_supplicant GROUP = netdevupdate_config = 1 lub teb chaws = IN network = {ssid = "mywifissid" psk = "mywifipassword" key_mgmt = WPA-PSK}
Hloov mywifissid nrog lub npe ntawm WiFi thiab mywifipassword nrog tus password wifi
- Lub zog ntawm Raspberry pi. Txhawm rau nrhiav nws tus IP, koj tuaj yeem siv lub cuab yeej zoo li Npau taws IP Scanner thiab luam theej duab subnet
- Thaum koj pom tus IP, SSH rau koj Pi siv lub cuab yeej zoo li PuTTY lossis tsuas yog ssh [email protected], nkag mus rau lo lus zais raspberry thiab koj zoo mus
- Thaum kawg, hloov kho cov npe pob thiab hloov kho pob khoom thiab rov pib Pi.
sudo apt hloov tshiab -y
sudo apt hloov tshiab -y sudo reboot
Kauj ruam 2: Teeb Systemd-networkd
Los ntawm ArchWiki
systemd-networkd yog daemon system uas tswj kev teeb tsa network. Nws kuaj pom thiab teeb tsa cov cuab yeej network raws li lawv tshwm sim; nws tseem tuaj yeem tsim cov cuab yeej siv network sib txuas.
Txhawm rau txo qhov xav tau pob ntxiv, networkd tau siv txij li nws twb tau tsim rau hauv qhov pib ua haujlwm, yog li ntawd, tsis xav tau dhcpcd.
Tiv thaiv kev siv dhcpd
Nco tseg: Nws yuav tsum tau khiav raws li hauv paus
sudo systemctl daim npog ntsej muag network.service dhcpcd.service
sudo mv/etc/network/interfaces/etc/network/interfaces ~ sed -i '1i resolvconf = TSIS' /etc/resolvconf.conf
Siv cov inbuilt systemd-networkd
sudo systemctl pab systemd-networkd.service systemd-solved.service
sudo ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
Kauj Ruam 3: teeb tsa Wpa-thov
wlan0 ua AP
Tsim cov ntawv tshiab uas siv cov lus txib
sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
Ntxiv cov ntsiab lus hauv qab no thiab khaws cov ntawv los ntawm nias Ctrl X, Y thiab Enter
lub teb chaws = IN
ctrl_interface = DIR =/var/run/wpa_supplicant GROUP = netdev update_config = 1 network = {ssid = "TestAP-plus" hom = 2 key_mgmt = WPA-PSK psk = "12345678" zaus = 2412}
Hloov TestAP-ntxiv thiab 12345678 nrog koj qhov txiaj ntsig xav tau.
Cov ntaub ntawv teeb tsa no yog siv rau onboard wifi Adapter wlan0 uas yuav siv los tsim lub wireless nkag mus.
Muab tus neeg siv nyeem, sau tso cai rau cov ntawv
sudo chmod 600 /etc/wpa_supplicant/wpa_supplicant-wlan0.conf
Rov pib dua wpa_supplicant kev pabcuam
sudo systemctl lov tes taw wpa_supplicant.service
sudo systemctl pab [email protected]
Kauj ruam 4:
wlan1 raws li tus neeg siv khoom
Tsim cov ntawv tshiab uas siv cov lus txib
sudo nano /etc/wpa_supplicant/wpa_supplicant-wlan1.conf
Ntxiv cov ntsiab lus hauv qab no thiab khaws cov ntawv los ntawm nias Ctrl X, Y thiab Enter
lub teb chaws = IN
ctrl_interface = DIR =/var/run/wpa_supplicant GROUP = netdev update_config = 1 network = {ssid = "Asus RT-AC5300" psk = "12345678"}
Hloov Asus RT-AC5300 thiab 12345678 nrog koj li Router SSID thiab tus password.
Cov ntaub ntawv teeb tsa no yog siv rau USB WiFi Adapter wlan01 uas yuav siv los txuas rau Wireless Router.
Muab tus neeg siv nyeem, sau tso cai rau cov ntawv
sudo chmod 600 /etc/wpa_supplicant/wpa_supplicant-wlan1.conf
Rov pib dua wpa_supplicant kev pabcuam
sudo systemctl lov tes taw wpa_supplicant.service
sudo systemctl pab [email protected]
Kauj ruam 5: Configuring Interfaces
Tsim cov ntawv tshiab uas siv cov lus txib
sudo nano /etc/systemd/network/08-wlan0.network
Ntxiv cov ntsiab lus hauv qab no thiab khaws cov ntawv los ntawm nias Ctrl X, Y thiab Enter
[Sib phim]
Npe = wlan0 [Network] Chaw Nyob = 192.168.7. IPMasquerade = yog IPForward = yog DHCPServer = yog [DHCPServer] DNS = 1.1.1.1
Tsim cov ntawv tshiab siv cov lus txib
sudo nano /etc/systemd/network/12-wlan1.network
Ntxiv cov ntsiab lus hauv qab no thiab khaws cov ntawv los ntawm nias Ctrl X, Y thiab Enter
[Sib phim]
Npe = wlan1 [Network] DHCP = yog
Reboot Raspberry Pi siv
sudo rov pib dua
Pom zoo:
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card - DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: 5 Cov Kauj Ruam
Yuav Ua Li Cas Vaum Thiab Kub Tiag Tiag Cov Ntaub Ntawv Teev Npe Nrog Arduino UNO thiab SD-Card | DHT11 Cov ntaub ntawv-logger Simulation hauv Proteus: Taw qhia: nyob zoo, qhov no yog Liono Maker, ntawm no yog YouTube txuas. Peb tab tom tsim txoj haujlwm muaj tswv yim nrog Arduino thiab ua haujlwm ntawm cov kab ke. Cov ntaub ntawv-Logger: Cov ntaub ntawv logger (tseem cov ntaub ntawv-logger lossis cov ntaub ntawv kaw) yog cov cuab yeej siv hluav taws xob uas sau cov ntaub ntawv dhau sijhawm
Ua Lub Neej Tsov Rog Tsov Rog Ntiaj Teb tiag tiag: 11 Kauj Ruam
Ua Lub Neej Tsov Rog Tsov Rog Ntiaj Teb tiag tiag: Nyob zoo, peb yog GBU! Peb pab pawg tau muab txoj haujlwm hauv peb VG100, Intro rau Engineering, chav kawm: los tsim thiab tsim lub neej tiag tiag Warzone Tower Defense Game. VG100 yog chav kawm tseem ceeb txhua tus tub ntxhais kawm yuav tsum tau kawm hauv Kev Koom Tes Koom Tes (JI.) Kev Koom Tes
Kev muaj tiag tiag ntawm Raspberry Pi Nrog BeYourHero !: 19 Kauj Ruam (nrog Duab)
Kev muaj tiag tiag ntawm Raspberry Pi Nrog BeYourHero!: Txais tos rau "Ua Koj Tus Hero" Kuv vam tias koj npaj txhij nkag mus rau lwm tiam ntawm Virtual Reality raus dej! Txoj haujlwm no yuav muab rau koj tag nrho kev piav tes piav taw tswj ntawm txhua tus phab ej virtual uas koj nyiam nrog cov txheej txheem yooj yim ntawm cov cuab yeej pheej yig siv se
Tsho Tsho: Lub Sij Hawm Tiag Tiag Wearable Posture Detection: 9 Kauj Ruam
Tshaj Tawm: Lub Sij Hawm Lub Caij Nyoog Wearable Lub Sijhawm Pom Kev Pom Zoo: Lub tsho tshaj tawm yog lub sijhawm tiag tiag wireless lub zog ntsuas lub cev uas xa tawm thiab cais cov ntaub ntawv ntsuas kev ntsuas los ntawm Adafruit Feather mus rau Android daim ntawv thov ntawm Bluetooth. Cov kab ke ua tiav tuaj yeem tshawb pom lub sijhawm tiag tiag yog tias tus neeg siv muaj lub cev tsis zoo thiab
Lub Sijhawm Tiag Tiag Tiag Tiag Tiag Paub Siv EM Hneev Taw: 6 Kauj Ruam
Kev Pom Zoo Lub Sijhawm Tiag Tiag Siv EM Cov Hneev Taw: Cov cuab yeej no yog txhawm rau faib cov khoom siv hluav taws xob sib txawv raws li lawv cov cim EM. Rau cov cuab yeej sib txawv, lawv muaj cov cim sib txawv EM tawm los ntawm nws. Peb tau tsim kev daws teeb meem IoT txhawm rau txheeb xyuas cov khoom siv hluav taws xob siv Particle