Configuration Apple-pi - Raspbian
Jump to navigation
Jump to search
Configuration Page
Introduction
This is the configuration page for the Raspbian partition on Apple-pi.
Configuration Files
All configuration files can be found here.
Repositories
To be completed.
Installed Applications
Common applications
Some application from the Common configuration for Linux, namely:
sudo apt-get install git etckeeper libnss-mdns avahi-daemon mdns-scan mc autossh vim-gnome tmux
Essential
Git (git) |
# Setup git repo main directory
sudo useradd -s /usr/bin/git-shell -m git # User both for ssh: and git: protocol access (shell disabled)
sudo su -p git # Notice -p since shell is disabled
cd ~git
mkdir git # This directory will store all .git repo
mkdir .ssh
cat ... >> .ssh/authorized_keys # Add keys of user that can use the ssh: protocol
sudo apt-get install git-daemon-sysvinit
sudo vi /etc/default/git-daemon # Change user to 'git'
sudo /etc/init.d/git-daemon start # Start daemon
sudo su -p git # or sudo su -s /bin/bash git
cd ~git/git
git init --bare minecraft.git
cd minecraft.git
touch git-daemon-export-ok
git config --add daemon.receivepack true # no hyphen in receivepack!
exit
sudo ln -sf ~git/git/minecraft.git /var/cache/git/minecraft.git
|
Local Applications
Application (package) | [YYYY-MM-DD] Update Additional configuration settings |
Uninstalled
Application (package) | [YYYY-MM-DD] Update Additional configuration settings |
Settings
Network WIFI | Check that WiFi dongle is detected with lsusb
lsusb
# Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Check that wireless device has an interface available with iwconfig
# wlan0 IEEE 802.11bgn ESSID:"ManticoreNet" Nickname:"<WIFI@REALTEK>"
# Mode:Managed Frequency:2.412 GHz Access Point: 00:1D:7E:0C:24:5E
# Bit Rate:150 Mb/s Sensitivity:0/0
# Retry:off RTS thr:off Fragment thr:off
# Power Management:off
# Link Quality=100/100 Signal level=87/100 Noise level=0/100
# Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
# Tx excessive retries:0 Invalid misc:0 Missed beacon:0
We configure interface wlan0 to use WPA in roaming, and static ip address for network id home.[3]
File /etc/network/interfaces: auto wlan0
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface home inet static
address 172.19.100.107
netmask 255.255.0.0
gateway 172.19.3.1
File /etc/wpa_supplicant/wpa_supplicant.conf: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="***********"
psk="************"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
id_str="home"
}
Bring up or down the interface with: sudo ifup wlan0
sudo ifdown wlan0
The following error messages can be ignored [4]: $ sudo ifup wlan0 ioctl[SIOCSIWAP]: Operation not permitted ioctl[SIOCSIWENCODEEXT]: Invalid argument ioctl[SIOCSIWENCODEEXT]: Invalid argument |
To Do
Issues
- Issue — To be completed
- To Do — Description
Done & Fixed
- Fixed — Issue description
Fix description - Done — Description