Below I have listed the tasks you can perform with "Raspi-config" and I have mentioned how you could perform the task in Pidora.
Firstboot
Pidora has a tool called "firstboot" that is used to configure basic system settings during the first boot. It is possible to re-run the "firstboot" by doing:
Code: Select all
# systemctl enable firstboot-graphical.service (this will launch the firstboot process after a reboot)
# rm /etc/sysconfig/firstboot
# rebootAnd how to re-run firstboot: http://www.raspberrypi.org/phpBB3/viewt ... 89#p356189
Expand_rootfs (Expand root partition to fill SD card):
Here is an instruction how to expand the root file system using command line: http://www.raspberrypi.org/phpBB3/viewt ... 51&t=45265
If a GUI is available you could re-run "firstboot" to expand rootfs.
Overscan (Change overscan):
You can change the overscan by setting parameters in the /boot/config.txt file:
overscan_left=12 number of pixels to skip on left
overscan_right=10 number of pixels to skip on right
overscan_top=10 number of pixels to skip on top
overscan_bottom=20 number of pixels to skip on bottom
disable_overscan set to 1 to disable overscan
You can find more display options in this wiki page: http://elinux.org/RPiconfig#Video
Or run "firstboot" (GUI).
Configure_keyboard (Set keyboard layout):
The set the keyboard layout you can edit this file: /etc/sysconfig/keyboard
Code: Select all
KEYTABLE="us-acentos"
MODEL="pc105"
LAYOUT="us"
VARIANT="intl"Code: Select all
find /lib/kbd/keymaps/i386/qwerty/ -iname "*us*"
/lib/kbd/keymaps/i386/qwerty/us.map.gz
/lib/kbd/keymaps/i386/qwerty/br-latin1-us.map.gz
/lib/kbd/keymaps/i386/qwerty/is-latin1-us.map.gz
/lib/kbd/keymaps/i386/qwerty/us-acentos.map.gz
change_pass (Change password for 'root' user):
Code: Select all
# su <rootpassword>
# passwd usernamechange_locale (Set locale):
Run firstboot (GUI).
change_timezone (Set timezone):
Use the command: ln -sf /usr/share/zoneinfo/dir/<zonefile> /etc/localtime
Browse through the timezones given in “/usr/share/zoneinfo/” and choose which one you would like to use. Then create a symlink of that timezone on the “/etc/” directory with name “localtime“
Code: Select all
# cp /etc/localtime /etc/localtime-old (to backup your current timezone)
# ln -sf /usr/share/zoneinfo/Europe/Amsterdam /etc/locatime For ex: if you want it to set to CEST (Central European time) then use this command.Memory_split (Change memory split):
You can set the memory usage by setting parameters in the /boot/config.txt file:
gpu_mem=....
cma_lwm=....
cma_hwm=....
You can find more info about the memory settings at: http://elinux.org/RPiconfig#Memory
Here is an example: http://www.raspberrypi.org/phpBB3/viewt ... ma#p217665
ssh (Enable or disable ssh server)
Use this to check the status of the sshd daemon:
Code: Select all
# systemctl status sshd.service
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Sat, 2013-05-25 12:50:07 CEST; 4h 56min ago
Main PID: 661 (sshd)
CGroup: name=systemd:/system/sshd.service
└ 661 /usr/sbin/sshd -D
May 25 12:50:06 raspi.local systemd[1]: Starting OpenSSH server daemon...
May 25 12:50:07 raspi.local systemd[1]: Started OpenSSH server daemon.
May 25 12:50:08 raspi.local sshd[661]: Server listening on 0.0.0.0 port 22.
May 25 12:50:08 raspi.local sshd[661]: Server listening on :: port 22.
May 25 13:59:42 raspi.local sshd[1153]: Accepted password for root from 192.168.11.52 port 32932 ssh2Code: Select all
systemctl start sshd.service
systemctl stop sshd.service
systemctl enable sshd.service (starts this service at booting)
boot_behaviour (Start desktop on boot?)
Switch to run level 3 (command line):
Code: Select all
# ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.targetCode: Select all
# ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target