Compare commits

...
8 Commits
Author SHA1 Message Date
Elizabeth Cray e64cefe4ec NRF Util Install 2026-11-18 01:54:20 +00:00
Elizabeth Cray 4ca62fa9d3 OOps, missed ONE character 2026-11-09 17:24:30 -05:00
Elizabeth Cray 5351ac99f5 Fix pyenv 2026-11-09 17:15:05 -05:00
Elizabeth Cray 860d69bbbe Add flatpak bootstraper 2026-11-09 17:11:04 -05:00
Elizabeth Cray 77fefb0835 Fixed ap install 2026-11-09 16:58:58 -05:00
Elizabeth Cray 1a4c0778bc Fix apt update 2026-11-09 15:53:51 -05:00
Elizabeth Cray dc52b18552 Pyenv 2026-10-30 16:07:51 -04:00
Elizabeth Cray 662b519193 Fix Guest acct 2026-10-24 17:39:13 -04:00
5 changed files with 70 additions and 25 deletions

No files matched your search

+5 -15
View File
@@ -1,6 +1,5 @@
airspy
aisleriot
apt-xapian-index
arduino
autoconf
automake
@@ -14,6 +13,7 @@ bison
bleachbit
build-essential
bzip2
cifs-utils
cmake
cowsay
cubicsdr
@@ -24,8 +24,8 @@ dos2unix
dvb-apps
exiftool
ffmpeg
flatpak
firefox-esr
flatpak
flex
fortune
gawk
@@ -34,7 +34,6 @@ gimp
gimp-data-extras
git
gnome-terminal
gnss-sdr
gnuplot
gnuplot-doc
gnuplot-x11
@@ -42,10 +41,7 @@ gnuradio
gnuradio-doc
gpredict
gqrx-sdr
gr-gsm
gr-osmosdr
gr-radar
gr-radar-doc
gr-satellites
gtkterm
hackrf
@@ -53,6 +49,7 @@ hacktv
hamradio-satellite
horst
htop
hyfetch
imagemagick
imview
inspectrum
@@ -63,7 +60,6 @@ make
meson
mplayer
nautilus
neofetch
ninja-build
octave
octave-arduino
@@ -77,18 +73,14 @@ octave-io
octave-jsonlab
octave-mapping
octave-miscellaneous
octave-missing-functions
octave-nan
octave-plplot
octave-signal
octave-sockets
octave-splines
octave-statistics
octave-strings
octave-symbolic
octave-zenity
osmo-sdr
ostinato
packeth
patch
pcapfix
@@ -96,10 +88,9 @@ pdfgrep
pkg-config
plzip
previsat
pyenv-runtime
python3-all
quisk
rclone
squashfs-tools
rtl-sdr
screen
sed
@@ -109,19 +100,18 @@ soapysdr-module-osmosdr
soapysdr-module-remote
soapysdr-module-rtlsdr
soapysdr-tools
squashfs-tools
stellarium
supertux
supertuxkart
synaptic
tar
tcptrace
teeworlds
texinfo
tmux
tty-solitaire
tvtime
udav
cifs-utils
vlc
vlc-plugin-access-extra
welle.io
+12
View File
@@ -0,0 +1,12 @@
#!/bin/baash
apt install -yqq $(tr '\n' ' ' < /opt/hdos/lists/apt-packages)
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo --system
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --system
flatpak update -y
while read P; do
flatpak install -y --noninteractive "$P" --system
done <${HDOS_ROOT}/lists/flatpak-packages
reboot
+14 -10
View File
@@ -15,6 +15,9 @@ if [ "$(id -u)" -ne 0 ]; then
exit 1
fi
#Default repo hits load balancer backend error, so we manually replace it
sed -i 's/http:\/\/http\.kali\.org\/kali/https:\/\/kali.mirror.rafal.ca\/kali/g' /etc/apt/sources.list.d/kali.sources
export DEBIAN_FRONTEND=noninteractive
export NEEDRESTART_MODE=a
@@ -28,7 +31,7 @@ apt update
apt full-upgrade -yqq
PACKAGE_LIST=$(cat ${HDOS_ROOT}/lists/apt-packages)
PACKAGE_LIST=$(tr '\n' ' ' < ${HDOS_ROOT}/lists/apt-packages)
apt-get install -yqm "$PACKAGE_LIST"
apt autoremove -y
@@ -39,12 +42,13 @@ usermod -aG classroom hacdc
useradd -m -s /usr/bin/zsh -G dialout,cdrom,floppy,audio,video,wireshark,classroom guest
cp /home/hacdc/.zshrc /home/guest/.zshrc
chown guest:guest /home/guest/.zshrc
# TODO: SET GUEST PW
sudo -u hacdc curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
sudo -u hacdc curl -fsSL https://pyenv.run | bash
sudo -u guest curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
sudo -u guest curl -fsSL https://pyenv.run | bash
echo "guest:h4cdch4cdch4cdc" | chpasswd
# TODO: fix this to actually run as each user
# sudo -u hacdc curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
# sudo -u hacdc curl -fsSL https://pyenv.run | bash
#
# sudo -u guest curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
# sudo -u guest curl -fsSL https://pyenv.run | bash
# Generate GPG framework
sudo -u hacdc gpg --list-keys
@@ -52,12 +56,12 @@ sudo -u guest gpg --list-keys
gpg --list-keys
# Setup Flatpak
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists flathub-beta https://flathub.org/beta-repo/flathub-beta.flatpakrepo --system
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo --system
flatpak update -y
while read P; do
flatpak install -y --noninteractive "$P"
flatpak install -y --noninteractive "$P" --system
done <${HDOS_ROOT}/lists/flatpak-packages
# Setup Shared Directory
+37
View File
@@ -0,0 +1,37 @@
#!/bin/bash
if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi
cat <<EOF > /lib/udev/rules.d/71-nrf.rules
ACTION!="add", SUBSYSTEM!="usb_device", GOTO="nrf_rules_end"
# Set /dev/bus/usb/*/* as read-write for all users (0666) for Nordic Semiconductor devices
SUBSYSTEM=="usb", ATTRS{idVendor}=="1915", MODE="0666"
# Flag USB CDC ACM devices, handled later in 99-mm-nrf-blacklist.rules
# Set USB CDC ACM devnodes as read-write for all users
KERNEL=="ttyACM[0-9]*", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idVendor}=="1915", MODE="0666", ENV{NRF_CDC_ACM}="1"
LABEL="nrf_rules_end"
EOF
cat <<EOF > /lib/udev/rules.d/99-mm-nrf-blacklist.rules
# 99-modemmmanager-acm-fix.rules
# Previously flagged nRF USB CDC ACM devices shall be ignored by ModemManager
ENV{NRF_CDC_ACM}=="1", ENV{ID_MM_CANDIDATE}="0", ENV{ID_MM_DEVICE_IGNORE}="1"
EOF
if [ -x /bin/systemctl ]; then
systemctl reload systemd-udevd.service || true
else
udevadm control --reload-rules || true
fi
udevadm trigger || true
cat <<EOF
Now install nrfutil from https://www.nordicsemi.com/Products/Development-tools/nRF-Util/Download#infotabs
as well as J-Link from https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack
EOF
+2
View File
@@ -0,0 +1,2 @@
curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash