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

From Alpine Linux
No edit summary
No edit summary
Line 15: Line 15:
#* apk add firefox-esr
#* apk add firefox-esr
#** apk list ttf-* | sort
#** apk list ttf-* | sort
#** apk add ...
#** 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 41: 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
* [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]]

Revision as of 10:33, 28 October 2019

  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