ユーザ用ツール

サイト用ツール


raspberrypiでwifi

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン前のリビジョン
次のリビジョン
前のリビジョン
raspberrypiでwifi [2020/04/19 19:16] nabezoraspberrypiでwifi [2020/06/30 23:00] (現在) – [環境確認] nabezo
行 31: 行 31:
   allow-hotplug wlan1   allow-hotplug wlan1
   iface wlan1 inet manual   iface wlan1 inet manual
- 
- 
-/etc/dhcpcd.conf 
-  interface wlan1 
-  static ip_address=192.168.130.1/24 
-  static routers=192.168.130.1 
-  static domain_name_servers=192.168.130.1 
-  static broadcast 192.168.130.255 
  
 /etc/default/hostapd /etc/default/hostapd
行 61: 行 53:
   ctrl_interface=/var/run/hostapd   ctrl_interface=/var/run/hostapd
   ctrl_interface_group=0   ctrl_interface_group=0
 +
 +/etc/dhcpcd.conf
 +  interface wlan1
 +  static ip_address=192.168.130.1/24
 +  static routers=192.168.130.1
 +  static domain_name_servers=192.168.130.1
 +  static broadcast 192.168.130.255
  
 /etc/default/isc-dhcp-server /etc/default/isc-dhcp-server
   INTERFACESv4="wlan1"   INTERFACESv4="wlan1"
 +
 +
 +/etc/dhcp/dhcpd.conf
 +  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://netlog.jpn.org/r271-635/2013/04/raspberry_pi_rtl8188cu_hostapd.html
  
raspberrypiでwifi.1587291366.txt.gz · 最終更新: 2020/04/19 19:16 by nabezo