
hostapd
我正在嘗試使用 Raspberry Pi 3 Model B(連接到乙太網路)和2.8-devel 版本創建自己的 Wi-Fi 網路。
我的配置如下:
interface=wlan0
bridge=br0
hw_mode=g
channel=4
wmm_enabled=0
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
ssid=Minteck-Projects
wpa_passphrase=mysupersecretpassphrase
country_code=FR
問題是,當我在手機上存取 YouTube 影片時,Wi-Fi 會斷開。但如果我不上網(我透過保持無線網路設定頁),電話不會斷線。
其他資訊:
uname -a
:
Linux ws-rpi-10666 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux
lsb_release -a
:
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 10 (buster)
Release: 10
Codename: buster
ifconfig
:
br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.27 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::****:****:****:**** prefixlen 64 scopeid 0x20<link>
inet6 2a01:****:****:****:****:****:****:**** prefixlen 64 scopeid 0x0<global>
ether b8:27:**:**:**:** txqueuelen 1000 (Ethernet)
RX packets 3172 bytes 447485 (436.9 KiB)
RX errors 0 dropped 105 overruns 0 frame 0
TX packets 822 bytes 112621 (109.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.27 netmask 255.255.255.0 broadcast 192.168.1.255
ether b8:27:**:**:**:** txqueuelen 1000 (Ethernet)
RX packets 4594 bytes 995920 (972.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1161 bytes 216045 (210.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 192 bytes 11701 (11.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 192 bytes 11701 (11.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.27 netmask 255.255.255.0 broadcast 192.168.1.255
ether b8:27:**:**:**:** txqueuelen 1000 (Ethernet)
RX packets 322 bytes 87073 (85.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2585 bytes 760999 (743.1 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
任何幫助都會有用,謝謝!