This site
has a lot of information on configuring UBIFS, which is a filesystem optimized
for NAND flash memory devices.
Gumstix User Profile
Set the hostname to "Tivovy": echo tivovy > /etc/hostname
Set the local timezone: ln -sf /usr/share/zoneinfo/PST8PDT /etc/localtime
Configure the WiFi network. Delete
/etc/wpa_supplicant.conf if it exists.
/etc/wpa_supplicant/wpa_supplicant-wlan0.conf:
# Adjust this file for your network. See [1] for
# more details.
# [1] http://linux.die.net/man/5/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
update_config=1
# Connect to any open network
network={
key_mgmt=NONE
}
# Connect to a WPA2 protected network
network={
ssid="Anchor1-24"
proto=WPA2
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
scan_ssid=1
psk="******"
priority=10
}
Set the login shell to bash: chsh /bin/bash
.bashrc
~/.bashrc:
alias cd..='cd ..'
export PS1='\[\e[0;32m\]\t \W>\[\e[1;37m\] '
trap 'echo -ne "\e[0m"' DEBUG
# Set locale to basic ascii.
export LC_ALL=C
ln -s .bashrc .bash_profile
Configure vi:
~/.vimrc:
set background="dark"
color basic
set nowrap
set scrolloff=8
set sidescroll=1
set sidescrolloff=20
set number
set ignorecase
set autoindent
set cindent
set shiftwidth=2
set expandtab
set softtabstop=8
" Backup files
set backupdir=~/.vim/backup
set noundofile
~/.vim/colors/basic.vim:
" Vim color file
" Maintainer: Mikel Ward
" Last Change:Jan 16
" Remove all existing highlighting and set the defaults.
highlight clear
" Load the syntax highlighting defaults, if it's enabled.
"if exists("syntax_on")
" syntax reset
"endif
"
let colors_name = "basic"
"
" Remove all highlighting
highlight clear Constant
highlight clear Number
highlight clear Statement
highlight clear PreProc
highlight clear Type
highlight clear Special
highlight clear Identifier
"
highlight clear String
highlight clear Comment
highlight clear Error
highlight clear LineNr
highlight clear NonText
highlight clear SpecialKey
"
" Set up some simple non-intrusive colors
if &background == "light"
highlight String term=underline cterm=NONE ctermfg=DarkGreen
highlight Comment term=bold cterm=NONE ctermfg=DarkBlue
highlight Error term=reverse cterm=NONE ctermfg=DarkRed
highlight LineNr term=bold cterm=NONE ctermfg=DarkYellow
highlight NonText term=bold cterm=NONE ctermfg=DarkYellow
highlight SpecialKey term=bold cterm=NONE ctermfg=DarkYellow
else
highlight String term=underline cterm=NONE ctermfg=Magenta
highlight Comment term=bold cterm=NONE ctermfg=Cyan
highlight Error term=reverse cterm=NONE ctermbg=Red
highlight LineNr term=bold cterm=NONE ctermfg=Yellow
highlight NonText term=bold cterm=NONE ctermfg=Yellow
highlight SpecialKey term=bold cterm=NONE ctermfg=Yellow
endif
WebV7 (C)2018 nlited | Rendered by tikope in 37.903ms | 44.220.184.63