Additional Linux Notes
Publish Date: May 10, 2014 Last Update: Nov 10, 2015
- Download the iso file from Lenovo’s website
- Use the
genisoimagepackage and convert the iso to bootable file
ddto write the file into the usb
geteltorito xxx.iso > bios.img sudo dd bs=4M if=/path/to/bios.img of=/dev/sdX && sync
Using Linux system should be intrinsically stable, as long as you know what you are doing. More practically, suggestions below should provide a good guide to main a stable system.
linux-lts to have a more stable system.
I use four tools to back up my system:
- Google Drive: back up all my working directories
- Git: back up all my codes and documents
- NAS: back up data and large personal files
- tar: back up full system, please refer to [my blog article] for more detailed guide
Based on my past experience, it is IMPORTANT to keep a large pacman library, as the upgrade is usually accompanied with bugs, and it is very useful to downgrade. Also upgrade the system at a higher frequency.
Manual Wireless Configuration
Wireless configuration has been notoriously painful. To manually connect to a wireless spot is thus very important. Note most configurations below require root permission.
## Step 1: Make sure the device is loaded ip link ip link set <wlxxx> up # proceed if no error is reported ## Step 2: Connect to no-passwd ssid iw dev wlxx link # check status iw dev wlxx scan | less # scan available network iw wlxx connect SSID # connect to SSID dhcpcd wlxx # to get dynamic IP address ## Step 3: Connect to Secure ssid ## WEP iw dev wlxx connect SSID key 0:KEY ## WPA/WPA2 wpa_supplicant -i interface -c <(wpa_passphrase SSID KEY)
Alternatively, I use
netctl to manage the connections. I find this way
works better with Arch Linux.