Repository

Looks good to me!

User Tools

Site Tools


kb:intranet:platforms:debian:installation

Installation

Instructions for more CDN:

  • Update system via apt
    • Software: vim, rsync, ufw (default IPv4, 22/tcp, 68/udp, 445/tcp, 53), htop, curl, git
  • Add /usr/sbin to PATH
  • Add apt-cacher-ng and auto-apt-proxy
  • Install uv
  • Install sudo, set root password and enable use of root password for sudo authentication
  • Create Samba directory
  • Configuration:
    • /etc/bash.bashrc
    • /etc/inputrc
    • /etc/vim/vimrc.local
    • /usr/share/vim/vim90
    • /etc/unbound/unbound.conf
  • DNS:
    • No resolveconf program seems to be provided, and the initial resolv.conf is set by dhclient from DNS.
    • According to Debian wiki, either openresolv or resolvconf should be installed and used. Openresolv seems to be the way forward.
    • According to Bookworm release notes, systemd-resolved was never the default resolver on Debian.
    • Hand modify /etc/resolv.conf
      • For Ubuntu, we modify /etc/systemd/resolved.conf instead
user:~$ sudo apt install openresolv
user:~$ sudo vim /etc/resolvconf.conf
name_servers=127.0.0.1
# Prevent override by other daemons
resolvconf=NO

Wi-Fi

user:~$ sudo apt install wpasupplicant
user:~$ cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/run/wpa_supplicant
update_config=1
user:~$ wpa_supplicant -B -i wlp3s0 -c wpa_supplicant.conf
user:~$ wpa_cli
wpa_cli v2.10
Copyright (c) 2004-2022, Jouni Malinen <j@w1.fi> and contributors
 
This software may be distributed under the terms of the BSD license.
See README for more details.
 
 
Selected interface 'wlp3s0'
 
Interactive mode
 
> scan
OK
<3>CTRL-EVENT-SCAN-STARTED 
<3>CTRL-EVENT-SCAN-RESULTS 
<3>WPS-AP-AVAILABLE 
<3>CTRL-EVENT-NETWORK-NOT-FOUND 
> scan_result
bssid / frequency / signal level / flags / ssid
60:45:cb:8f:82:64	5180	-69	[WPA2-PSK-CCMP][ESS]	sts-0205-5g
a4:b2:39:7f:3d:ee	5540	-58	[WPA2-EAP-CCMP][ESS]	NUS
a4:b2:39:7f:3d:ea	5540	-58	[WPA2-EAP-CCMP][ESS]	eduroam
a4:b2:39:7f:3d:ef	5540	-58	[WPA2-EAP-CCMP][ESS]	NUS_STU
a4:b2:39:61:9f:ea	5320	-60	[WPA2-EAP-CCMP][ESS]	eduroam
a4:b2:39:61:9f:ee	5320	-60	[WPA2-EAP-CCMP][ESS]	NUS
a4:b2:39:61:9f:ef	5320	-60	[WPA2-EAP-CCMP][ESS]	NUS_STU
a4:b2:39:61:d1:4a	5680	-69	[WPA2-EAP-CCMP][ESS]	eduroam
a4:b2:39:61:d1:4e	5680	-69	[WPA2-EAP-CCMP][ESS]	NUS
a4:b2:39:61:d1:4f	5680	-69	[WPA2-EAP-CCMP][ESS]	NUS_STU
a4:b2:39:7f:45:2e	5280	-72	[WPA2-EAP-CCMP][ESS]	NUS
a4:b2:39:7f:14:8c	5260	-73	[WPA2-EAP-CCMP][ESS]	NUS_STU
60:45:cb:8f:82:60	2427	-58	[WPA2-PSK-CCMP][ESS]	sts-0205-24g
a4:b2:39:7f:3d:e5	2412	-70	[WPA2-EAP-CCMP][ESS]	eduroam
> quit
 
user:~$ cat nus.conf
ctrl_interface=/var/run/wpa_supplicant
network={
    ssid="NUS_STU"
    key_mgmt=WPA-EAP
    eap=PEAP
    phase2="auth=MSCHAPv2"
    identity="e01234567"
    password="mypassword"
}
user:~$ cat /etc/network/interfaces
# Wi-Fi network interface
auto wlp3s0
iface wlp3s0 inet dhcp
    wpa-conf /etc/wpa_supplicant/nus.conf

Helpful:

kb/intranet/platforms/debian/installation.txt · Last modified: 6 weeks ago ( 4 December 2024) by justin