raspberrypiでwifi
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
raspberrypiでwifi [2020/04/19 19:16] – nabezo | raspberrypiでwifi [2020/06/30 23:00] (現在) – [環境確認] nabezo | ||
---|---|---|---|
行 31: | 行 31: | ||
allow-hotplug wlan1 | allow-hotplug wlan1 | ||
iface wlan1 inet manual | iface wlan1 inet manual | ||
- | |||
- | |||
- | / | ||
- | interface wlan1 | ||
- | static ip_address=192.168.130.1/ | ||
- | static routers=192.168.130.1 | ||
- | static domain_name_servers=192.168.130.1 | ||
- | static broadcast 192.168.130.255 | ||
/ | / | ||
行 61: | 行 53: | ||
ctrl_interface=/ | ctrl_interface=/ | ||
ctrl_interface_group=0 | ctrl_interface_group=0 | ||
+ | |||
+ | / | ||
+ | interface wlan1 | ||
+ | static ip_address=192.168.130.1/ | ||
+ | static routers=192.168.130.1 | ||
+ | static domain_name_servers=192.168.130.1 | ||
+ | static broadcast 192.168.130.255 | ||
/ | / | ||
INTERFACESv4=" | INTERFACESv4=" | ||
+ | |||
+ | |||
+ | / | ||
+ | authoritative; | ||
+ | subnet 192.168.0.1 netmask 255.255.255.0 { | ||
+ | range 192.168.0.100 10.0.0.254; | ||
+ | option routers 192.168.0.1; | ||
+ | option routers 192.168.0.1; | ||
+ | option subnet-mask 255.255.255.0; | ||
+ | option broadcast-address 192.168.0.255; | ||
+ | } | ||
+ | |||
+ | iptables | ||
+ | sudo apt-get iptables-persitat | ||
+ | sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE | ||
+ | sudo iptables-save | ||
+ | |||
+ | |||
+ | うまく動かない・・・ | ||
+ | |||
+ | ひょっとしてこれか? | ||
+ | Raspberry piでUSB Wifi RTL8188CUSを使ったWifi AP構築の失敗 \\ | ||
+ | https:// | ||
raspberrypiでwifi.1587291366.txt.gz · 最終更新: 2020/04/19 19:16 by nabezo