vi /etc/dhcpd.conf
interface eth0
static ip_address=192.168.1.50/24
static routers=192.168.1.1
static domain_name_servers=8.8.4.4 8.8.8.8
interface wlan0
ssid <SSID>
static ip_address=192.168.1.51/24
static routers=192.168.1.1
static domain_name_servers=8.8.4.4 8.8.8.8
vi /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=JP
network={
ssid=”<SSDI>”
psk=”<PASSWORD>”
}
コメント