aboutsummaryrefslogtreecommitdiff
path: root/3.user.zsh_history
blob: 6ba97fe80434679824bb10771b95225f348f8ca5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
ln -s /etc/netctl ~/wifi
cd ~/wifi
sudo mv "wlan0-WIFI-NETWORK-A" "WIFI-NETWORK-A"
sudo vim "WIFI-NETWORK-A"
sudo cp "WIFI-NETWORK-A" "WIFI-NETWORK-B"
sudo vim "WIFI-NETWORK-B"
cd ~

# Copy in zeno-wifi.* from the repo
vim zeno-wifi.config

sudo wifi-menu
ssh-keygen
ssh-copy-id $JUMP_HOST
ssh $JUMP_HOST

mkdir -p .config/systemd/user
ln -s ~/zeno-wifi.service .config/systemd/user/zeno-wifi.service
sudo loginctl enable-linger `whoami`
systemctl enable --user zeno-wifi

sudo vim /etc/nginx/nginx.conf
ln -s /srv/http www
cd www
sudo chown :http .
sudo chmod g+ws .
vim index.html
sudo systemctl start nginx
sudo systemctl enable nginx

sudo reboot