Change timezone to London and reboot (preferences)
Setup SSH Server
-
vi /etc/rcS.conf
-
Find line for RUN_DEAMONS and add dropbear to end
Auto user login
-
vi /etc/slim.conf
-
Find line for default_user
-
add line below:
-
auto_login yes
Grub 0 timer
-
vi /boot/grub/menu.lst
Change timeout 8 to timeout 0
Samba connect to netdisk
-
vi /etc/rcS.conf
-
Find line for LOAD_MODULES and add cifs to end
Set up user and group for share
-
adduser shareuser
-
addgroup sharegroup
-
addgroup Robert sharegroup
-
id Robert
The last line checks this went ok
Create /home/Robert/network/robertsmedia.credentials as:
-
username=**USER**
-
password=**PASS**
Open terminal become root
-
mkdir /home/Robert/network/robertsmedia
-
tazpkg get-install smbfs
-
modprobe cifs
-
mount -t cifs //192.168.1.160/robertsmedia /home/Robert/network/robertsmedia -o credentials=/home/Robert/network/robertsmedia.credentials,uid=shareuser,gid=sharegroup
See this node to create a deamon (must be in run scripts)
https://code.metcarob.com/node/184
(Use command id -u USERNAME to get the id of the main user)
Add to file to automate on boot
-
vi /home/Robert/.config/openbox/autostart.sh
Stick Monitor Resolution
run the following through an X console to find the output names:
-
xrandr -q
Test (or reconstruct) this output
-
xrandr --output VGA1 --mode 1920x1080 --output LVDS1 --off
change config files in
/etc/X11/xorg.conf.d
60-Device.conf -> Change identifier to InternalGFXCard
50-Monitor.conf Set Identifies to match what the output is from xrandr and set option ignore:
-
Section "Monitor"
-
Identifier "LVDS1"
-
VendorName "InternalMon"
-
ModelName "eeePC901Standard"
-
Option "Ignore" "true"
-
EndSection
-
-
Section "Monitor"
-
Identifier "VGA1"
-
VendorName "Samsung"
-
ModelName "Samsung 40inch TV"
-
Option "DPMS" "false"
-
EndSection
70-Screen.conf
-
Section "Screen"
-
Identifier "Screen0"
-
Device "MainGFXCard"
-
Monitor "VGA1"
-
SubSection "Display"
-
Viewport 0 0
-
Depth 24
-
Modes "1920x1080_60.0"
-
EndSubSection
-
EndSection
10-ServerLayout.conf
-
Section "ServerLayout"
-
Identifier "X.org Configured"
-
Screen 0 "Screen0" 0 0
-
Option "BlankTime" "0"
-
Option "StandbyTime" "0"
-
Option "SuspendTime" "0"
-
Option "OffTime" "0"
-
EndSection