User:Innsill/firefox-starter (x86-64 )

From Alpine Linux
Revision as of 10:33, 28 October 2019 by Innsill (talk | contribs)
  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