User:Innsill/firefox-starter (x86-64 ): Difference between revisions
(draft) |
No edit summary |
||
Line 42: | Line 42: | ||
inet dhcp</nowiki>}} | inet dhcp</nowiki>}} | ||
#** rc-update add wpa_supplicant boot | #** rc-update add wpa_supplicant boot | ||
= = | |||
* [https://dev.to/nesterow/setup-minimal-kiosk-environment-with-alpine-linux-27b Raspberry Pi. Setup minimal kiosk environment with Alpine Linux] Anton Nesterov 2019 |
Revision as of 08:18, 25 October 2019
- Create a Bootable USB
https://alpinelinux.org/downloads/- alpine-standard-3.10.3-x86_64.iso
- alpine-standard-3.10.3-x86_64.iso.sha256
- sha256sum --check alpine-standard-3.10.3-x86_64.iso.sha256
- lsblk
- sudo dd if=alpine-standard-3.10.3-x86_64.iso of=/dev/sdX
- Alpine setup scripts
find / -name setup* -print | sort- setup-alpine
- setup-xorg-base
- Firefox ?
- vi /etc/apk/repositories
- apk update && apk upgrade
- apk add firefox-esr
- adduser ff
- su - ff
- $vi .profile
Contents of /home/ff/.profile
startx - $vi .xinitrc
Contents of /home/ff/.xinitrc
exec firefox - $exit
- $vi .profile
- vi /etc/inittab
Contents of /etc/inittab
tty1::respawn:/bin/login -f ff tty2::respawn:/sbin/getty 38400 tty2 #tty3::respawn:/sbin/getty 38400 tty3 - Ctrl+Alt-F2 (login ff)
- Ctrl+Alt-F1 (root, Sound Setup)
- Connecting to a wireless access point
ip link eth0 down- apk add wireless-tools wpa_supplicant
- ip link wlan0 up
- iwconfig wlan0 essid ...id
- wpa_passphrase ...id ...phrase > /etc/wpa_supplicant/wpa_supplicant.conf
Contents of /etc/wpa_supplicant/wpa_supplicant.conf
network={ ssid="...id" scan_ssid=1 psk=...} - wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
- udhcp -i wlan0
- vi /etc/network/interfaces
Contents of /etc/network/interfaces
auto wlan0 iface wlan0 inet dhcp - rc-update add wpa_supplicant boot
- vi /etc/network/interfaces
- Raspberry Pi. Setup minimal kiosk environment with Alpine Linux Anton Nesterov 2019