1. 부팅 오류 해결
sudo systemctl mask systemd-networkd-wait-online.service
Bash
복사
2. 파일 백업
curl http://skyrich3.synology.me/~Huni/huni_backup.tar.gz -o huni_backup.tar.gz
sudo mv huni huni_org
sudo tar zxf huni_backup.tar.gz
sudo rm -rf huni_org
Bash
복사
3. 와이파이 설정
•
설치
sudo apt install dkms
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
Bash
복사
•
설정 및 연결
sudo apt install net-tools
sudo apt install wireless-tools
# 무선랜카드 확인
sudo lshw -C Network
# 무선랜카드 활성화
sudo ifconfig wlx88366cf8c6cb up
# 와이파이 검색
sudo iwlist wlx88366cf8c6cb scan
# 와이파이 연결
sudo apt install wpasupplicant
wpa_passphrase "chaming-2.4G" "password" | sudo tee /etc/wpa_supplicant.conf
sudo wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlx88366cf8c6cb
sudo dhclient wlx88366cf8c6cb
Bash
복사
•
부팅시 자동 연결
sudo cp /lib/systemd/system/wpa_supplicant.service /etc/systemd/system/wpa_supplicant.service
sudo vi /etc/systemd/system/wpa_supplicant.service
ExecStart=/sbin/wpa_supplicant -u -s -c /etc/wpa_supplicant.conf -i wlx88366cf8c6cb
Restart=always
#Alias=dbus-fi.w1.wpa_supplicant1.service
sudo vi /etc/systemd/system/dhclient.service
[Unit]
Description= DHCP Client
Before=network.target
After=wpa_supplicant.service
[Service]
Type=forking
ExecStart=/sbin/dhclient wlx88366cf8c6cb -v
ExecStop=/sbin/dhclient wlx88366cf8c6cb -r
Restart=always
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable wpa_supplicant.service
sudo systemctl enable dhclient.service
Bash
복사
4. SSH 설정
5. ZSH 설정
sudo apt install zsh
chsh -s $(which zsh)
zsh
Bash
복사
6. Tmux 설정
sudo apt install tmux
Bash
복사
7. 도커 설정
도커 백업 !
Bash
복사