User:Innsill/firefox-starter (x86-64 ): Difference between revisions

From Alpine Linux
(draft)
 
m (Remove link to RfD article)
 
(5 intermediate revisions by one other user not shown)
Line 10: Line 10:
#* setup-xorg-base
#* setup-xorg-base
#
#
# '''[https://pkgs.alpinelinux.org/contents?file=firefox Firefox ?]'''
# '''[https://pkgs.alpinelinux.org/packages?name=firefox-esr&branch=v3.10&repo=community&arch=x86_64 Firefox]'''
#* vi /etc/apk/repositories
#* vi /etc/apk/repositories
#* apk update && apk upgrade
#* apk update && apk upgrade
#* apk add firefox-esr
#* apk add firefox-esr
#** apk list ttf-* | sort
#** TTFS=$(apk search -q ttf- | grep -v '\-doc')
#** apk add $TTFS
#
#
# </br>
# </br>
#* adduser ff
#* adduser ff
#* su - ff
#* su ff -
#** $vi .profile {{cat |/home/ff/.profile |<nowiki>startx</nowiki>}}
#** $vi .profile {{cat |/home/ff/.profile |<nowiki>startx</nowiki>}}
#** $vi .xinitrc {{cat |/home/ff/.xinitrc |<nowiki>exec firefox</nowiki>}}
#** $vi .xinitrc {{cat |/home/ff/.xinitrc |<nowiki>exec firefox</nowiki>}}
Line 26: Line 29:
</nowiki>}}
</nowiki>}}
#* Ctrl+Alt-F2 (login ff)
#* Ctrl+Alt-F2 (login ff)
#* Ctrl+Alt-F1 (root, [[Sound Setup]])
#* Ctrl+Alt-F1 (root, Sound Setup)
#
#
# '''[[Connecting to a wireless access point]]''' </br> ip link eth0 down
# '''[[Connecting to a wireless access point]]''' </br> ip link set eth0 down
#* apk add wireless-tools wpa_supplicant  
#* apk add wireless-tools wpa_supplicant  
#* ip link wlan0 up
#* ip link set wlan0 up
#* iwconfig wlan0 essid ...id
#* iwconfig wlan0 essid ...id
#* wpa_passphrase ...id ...phrase > /etc/wpa_supplicant/wpa_supplicant.conf {{cat |/etc/wpa_supplicant/wpa_supplicant.conf |<nowiki>network={
#* wpa_passphrase ...id ...phrase > /etc/wpa_supplicant/wpa_supplicant.conf {{cat |/etc/wpa_supplicant/wpa_supplicant.conf |<nowiki>network={
Line 39: Line 42:
#* udhcp -i wlan0  
#* udhcp -i wlan0  
#** vi /etc/network/interfaces {{cat |/etc/network/interfaces |<nowiki>auto wlan0
#** vi /etc/network/interfaces {{cat |/etc/network/interfaces |<nowiki>auto wlan0
iface wlan0
iface wlan0 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
* [[MATE]]

Latest revision as of 19:10, 25 August 2023

  1. 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
  2. Alpine setup scripts
    find / -name setup* -print | sort
    • setup-alpine
    • setup-xorg-base
  3. Firefox
    • vi /etc/apk/repositories
    • apk update && apk upgrade
    • apk add firefox-esr
      • apk list ttf-* | sort
      • TTFS=$(apk search -q ttf- | grep -v '\-doc')
      • apk add $TTFS

    • adduser ff
    • su ff -
      • $vi .profile

        Contents of /home/ff/.profile

        startx
      • $vi .xinitrc

        Contents of /home/ff/.xinitrc

        exec firefox
      • $exit
    • 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)
  4. Connecting to a wireless access point
    ip link set eth0 down
    • apk add wireless-tools wpa_supplicant
    • ip link set 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