Created
September 29, 2012 19:59
-
-
Save chattama/3805050 to your computer and use it in GitHub Desktop.
systemd setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat /etc/vconsole.conf | |
---------------------------------------------------------------- | |
KEYMAP=jp106 | |
FONT=lat9w-16 | |
FONT_MAP=8859-1_to_uni | |
---------------------------------------------------------------- | |
pacman -S netcfg | |
pacman -S wireless_tools | |
pacman -S wpa_supplicant | |
cat /etc/network.d/wifihome | |
---------------------------------------------------------------- | |
CONNECTION='wireless' | |
INTERFACE='wlan0' | |
SECURITY='wpa' | |
ESSID='myapname' | |
KEY='wpa_passphrase ssid passphrase' | |
IP='static' | |
ADDR='192.168.1.95' | |
GATEWAY='192.168.1.1' | |
DNS=('192.168.1.1') | |
WPA_DRIVER='wext' | |
---------------------------------------------------------------- | |
systemctl stop [email protected] | |
systemctl disable [email protected] | |
systemctl enable [email protected] | |
systemctl start [email protected] | |
ln -sf /usr/share/zoneinfo/Japan /etc/localtime | |
cat /etc/timezone | |
---------------------------------------------------------------- | |
Japan/Tokyo | |
---------------------------------------------------------------- | |
cat ntpd.conf | |
---------------------------------------------------------------- | |
# $OpenBSD: ntpd.conf,v 1.7 2004/07/20 17:38:35 henning Exp $ | |
# sample ntpd configuration file, see ntpd.conf(5) | |
# Addresses to listen on (ntpd does not listen by default) | |
#listen on 0.0.0.0 | |
#listen on 127.0.0.1 | |
#listen on ::1 | |
# sync to a single server | |
#server ntp.example.org | |
server 0.jp.pool.ntp.org | |
server 1.jp.pool.ntp.org | |
server 2.jp.pool.ntp.org | |
server 3.jp.pool.ntp.org | |
# use a random selection of 8 public stratum 2 servers | |
# see http://twiki.ntp.org/bin/view/Servers/NTPPoolServers | |
servers pool.ntp.org | |
---------------------------------------------------------------- | |
ln -s /usr/lib/systemd/system/serial-getty\@.service \ | |
/etc/systemd/system/multi-user.tarfet.wants/[email protected] | |
systemctl start [email protected] | |
cat /etc/udev/rules.d/50-video.rules | |
---------------------------------------------------------------- | |
KERNEL=="video[0-9]*", GROUP="video", MODE="0666" | |
---------------------------------------------------------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment