User:Serge

From FreekiWiki
Revision as of 17:22, 1 September 2010 by Serge (talk | contribs)
Jump to navigation Jump to search

Serge is a fairweather believer in supersonic bionic robot voodoo power. However, he was not born on Jupiter and is therefore unable to travel via fax machine.

Installing Debian 6.0 a1 on PPC machines

Enabling management of wired network by Network Manager

Network Manager is not set to manage the wired network by default. It must be enabled manually. To do so, edit /etc/NetworkManager/NetworkManager.conf from:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false

to:

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

Either restart networking or restart the system to let this take effect.

Enabling keyboard keys as mouse buttons

Most Mac mice only have one button, which makes it difficult to use the middle- and right-click functions built into most window managers. Fortunately, though, we can make unused keys on the keyboard act as the middle and right buttons of a mouse by adding the following to /etc/sysctl.conf:

# 3-button mouse emulation
# turn on emulation
/dev/mac_hid/mouse_button_emulation = 1
# Send middle mouse button signal with the F11 key
/dev/mac_hid/mouse_button2_keycode = 87
# Send right mouse button signal with the F12 key
/dev/mac_hid/mouse_button3_keycode = 88
# For different keys, use showkey to tell you what the code is.

Restart the system to let this take effect.

Enabling sudo for a user account

By default, sudo is configured to work only with users that have been added to the sudo group in /etc/group. However, when a user account is created during the installation process, it is not automatically added to the sudo group. This must be set up manually, and there are a few different ways to do so.

Via the graphical user interface (GUI):

  • Go to System -> "Administration -> Users and Groups
  • Click the Manage Groups button
  • Select sudo from the Group settings list, and click the Properties button
  • Select the checkbox next to the username you'd like to give sudo access to, and click the Okay button
  • When prompted, provide the root password (it should be freegeek by default)
  • Close the Users and Groups utility

Via the command line interface (CLI):

  • Open up a terminal
  • Switch to the root account by running the following:
su
  • When prompted, provide the root passwork (it should be freegeek by default)
  • Run the following, but replace [username] with the actual username (eg. oem):
adduser [username] sudo
  • Logout of the root account by running the following:
exit