raspberrypiでwifi
差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン前のリビジョン次のリビジョン | 前のリビジョン | ||
raspberrypiでwifi [2020/04/19 00:14] – [環境確認] nabezo | raspberrypiでwifi [2020/06/30 23:00] (現在) – [環境確認] nabezo | ||
---|---|---|---|
行 3: | 行 3: | ||
/ | / | ||
options 8192cu rtw_power_mgnt=0 | options 8192cu rtw_power_mgnt=0 | ||
+ | |||
+ | ====== wlan1でアクセスポイント ====== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
===== 2台目のアダプタの追加方法 ===== | ===== 2台目のアダプタの追加方法 ===== | ||
行 25: | 行 32: | ||
iface wlan1 inet manual | iface wlan1 inet manual | ||
+ | / | ||
+ | DAEMON_CONF="/ | ||
+ | DAEMON_OPTS=" | ||
+ | |||
+ | / | ||
+ | interface=wlan1 | ||
+ | driver=nl80211 | ||
+ | ssid=< | ||
+ | hw_mode=g | ||
+ | channel=7 | ||
+ | wmm_enabled=1 | ||
+ | macaddr_acl=0 | ||
+ | auth_algs=1 | ||
+ | ignore_broadcast_ssid=0 | ||
+ | wpa=2 # WPA2 only | ||
+ | wpa_passphrase=< | ||
+ | wpa_key_mgmt=WPA-PSK | ||
+ | wpa_pairwise=TKIP | ||
+ | rsn_pairwise=CCMP | ||
+ | ctrl_interface=/ | ||
+ | ctrl_interface_group=0 | ||
/ | / | ||
行 33: | 行 61: | ||
static broadcast 192.168.130.255 | static broadcast 192.168.130.255 | ||
- | / | + | / |
- | | + | |
- | DAEMON_OPTS=" | + | |
- | /etc/hostapd/hostapd.conf | + | |
- | | + | /etc/dhcp/dhcpd.conf |
+ | | ||
+ | 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.1587222882.txt.gz · 最終更新: 2020/04/19 00:14 by nabezo