初期設定 (RPZW)
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
単語検索
|
最終更新
|
ヘルプ
]
開始行:
[[Raspberry Pi Zero(W)]]
-ソフトを最新に
sudo apt-get update
sudo apt-get upgrade
-ユーザをrootに変更
sudo su -
passwd
-raspi-config で設定変更
--タイムゾーン
--キーボードタイプ
--ssh
--i2c
-/etc/ssh/sshd_config
PermitRootLogin yes
#PermitRootLogin without-password
-/etc/hostname
raspberrypi-204
-/etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 raspberrypi-204
-/etc/wpa_supplicant/wpa_supplicant.conf
#country=GB
#ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
#update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="xxxx"
proto=WPA2
key_mgmt=WPA-PSK
psk="xxxxxxxxx"
}
-/etc/dhcpcd.conf
# It is possible to fall back to a static IP if DHCP fai...
# define static profile
#profile static_eth0
#static ip_address=192.168.1.23/24
#static routers=192.168.1.1
#static domain_name_servers=192.168.1.1
# fallback to static profile on eth0
#interface eth0
#fallback static_eth0
interface wlan0
static ip_address=192.168.0.117/24
static routers=192.168.0.1
static domain_name_servers=202.234.232.6
proxy 在りの場所からの場合以下を設定する
-/etc/profile
-/etc/apt/apt.conf
-/etc/wgetrc
終了行:
[[Raspberry Pi Zero(W)]]
-ソフトを最新に
sudo apt-get update
sudo apt-get upgrade
-ユーザをrootに変更
sudo su -
passwd
-raspi-config で設定変更
--タイムゾーン
--キーボードタイプ
--ssh
--i2c
-/etc/ssh/sshd_config
PermitRootLogin yes
#PermitRootLogin without-password
-/etc/hostname
raspberrypi-204
-/etc/hosts
127.0.0.1 localhost
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
127.0.1.1 raspberrypi-204
-/etc/wpa_supplicant/wpa_supplicant.conf
#country=GB
#ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
#update_config=1
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="xxxx"
proto=WPA2
key_mgmt=WPA-PSK
psk="xxxxxxxxx"
}
-/etc/dhcpcd.conf
# It is possible to fall back to a static IP if DHCP fai...
# define static profile
#profile static_eth0
#static ip_address=192.168.1.23/24
#static routers=192.168.1.1
#static domain_name_servers=192.168.1.1
# fallback to static profile on eth0
#interface eth0
#fallback static_eth0
interface wlan0
static ip_address=192.168.0.117/24
static routers=192.168.0.1
static domain_name_servers=202.234.232.6
proxy 在りの場所からの場合以下を設定する
-/etc/profile
-/etc/apt/apt.conf
-/etc/wgetrc
ページ名: