http://galois.digitalsignallabs.com/notes.htm
 

Contents

8pt 0pt

1  Introduction

This is a record of system administration notes and tricks for administering my Fedora Core system.

The Notes section currently documents what I’ve had to do in upgrading from a stable, configured Fedora Core 6 system to a fresh install of Fedora (Core) 8 (Fedora Unity respin 20080204, to be exact) in order to reconfigure the system back to a working, usable linux system.

Tricks for various applications or topics are under the Tricks section.

More major pieces of work (e.g., custom-building xemacs) are documented in the appendices.

Note that some of these steps may reference scripts or other files that will be in the linuxadmin/misc directory.

Note that the current version of the document was updated when converting from F10 to F11.

2  Notes

2.1  Configuration >From A Fresh Install of Fedora Core 11

  1. yum update
  2. swap ctrl key with capslock via System/Preferences/Hardware/Keyboard
  3. install emacs
    1. yum install xemacs
    2. Modify gnus for desired signature delimiter:
      1. cd ${LA_PATH}misc/emacs
      2. make -f message.mak
      3. make -f message.mak cleaninstall
      4. make -f message.mak install
  4. yum install zile
  5. configure /etc/ssh/sshdc_config to use an alternate port
  6. /sbin/service sshd restart
  7. chmod -R 700 ~/.ssh
  8. add <username> to /etc/sudoers
  9. remove Documents, Music, etc. subdirectories in home directory.
  10. configure svn
    1. yum install svn
    2. create user svn, being sure to specify userid of 501 and groupid of 501 (to match existing file system). Note that the system-config-user GUI was not able to correctly add the svn user because su svn would fail with no such user, while the svn user was clearly present in the GUI. Instead the adduser and groupadd commands (to add the svn group before the svn user was added) had to be used.
    3. add svnserve script to /etc/rc.d/init.d directory and make symbolic link S98svnserve in /etc/rc.d/rc5.d to it.
  11. yum install xchat
  12. restore repository working copies
    1. edit /etc/fstab and add the line: /dev/sdb1 /svnserver ext3 defaults 1 2
    2. svn co svn://localhost/svnserver/svn/<username> /home/<username>
    3. svn co svn://localhost/svnserver/svn/digitalsignallabs /home/digitalsignallabs
    4. svn co svn://localhost/svnserver/svn/linuxadmin /home/linuxadmin
    5. etc.
  13. yum install gkrellm
  14. rearrange gnome panels
  15. yum install pygpgme
  16. yum install gconf-editor
  17. Hide desktop items Trash, etc., by editing the /apps/nautilus/desktop/ entries using gconf-editor
  18. Configure keyboard shortcuts
  19. yum install audacious
  20. yum install hg
  21. yum install emacs
  22. install Adobe products
    1. yum install adobe-release
    2. rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm
    3. yum install AdobeReader_enu
    4. Install Adobe’s 32-bit flash player plugin or download Adobe’s alpha 64-bit version as described here: https://fedoraproject.org/wiki/Flash, and test here: http://www.adobe.com/shockwave/welcome/. Note that this only installs “Flash Player” (which is apparently what Mozilla calls “Shockwave Flash”) and not “Shockwave Player.”
  23. install rpmfusion repositories
    1. yum install rpmfusion-free-release
    2. yum install rpmfusion-nonfree-release
  24. install postgresql server, clients, and data
    1. yum install postgresql
    2. yum install postgresql-libs
    3. yum install postgresql-server
    4. generate the server cluster and start it running:
      1. as root, /sbin/service postgresql initdb
      2. /sbin/service postgresql start
      3. /sbin/chkconfig postgresql on
      4. edit /var/lib/pgsql/data/pg_hba.conf and set like in $LINUXADMINHOME/misc/postgresql/pg_hba.conf (especially see the access configurations at the end, and edit /var/lib/pgsql/data/postgresql.conf to be like $LINUXADMINHOME/misc/postgresql/postgresql.conf, especially the listen_address setting. Without the latter, the postgresql server will not accept connections over the tcpip network but just over localhost.
    5. Recreate the database data (database schemas, tables, data, etc.):
      1. cd /home/<username>/local/data;cat firstflight.dmp | psql and etc. (as user postgres)
    6. install pgadmin3 client
      1. yum install pgadmin3
      2. yum install pgadmin3-docs
  25. yum install mail-notification
  26. yum install wireshark-gnome
  27. Install the nvidia graphics card driver. nvidia has changed their driver organization based on different families. The GeForce FS5200 family is obtained with yum install kmod-nvidia-173xx.
  28. reboot
  29. get the eye-candy compiz stuff installed
    1. yum install compiz
    2. yum install compiz-fusion
    3. yum install compiz-fusion-extras
    4. yum install compiz-manager
    5. yum install compiz-gnome
    6. yum install gnome-compiz-manager-devel. Note: without this, the “window focus follows mouse” stopped working.
  30. to disable the pc speaker from beeping, pop up the ALSA mixer and mute the pc speaker channel.
  31. install other web browsers for variety:
    1. yum install epiphany. Wanted another browser on-hand.
    2. yum install seamonkey
  32. yum install mathml-fonts
  33. wanted a dictionary so I tried yum install stardict
  34. yum install octave
  35. yum install octave-forge
  36. make /backup directory on / and copy backup files NOTE: ensure there are at least two copies on each system.
  37. setup crontab from $LINUXADMINHOME/misc/crontab.txt
  38. cp $LINUXADMINHOME/applications/keychain/keychain /usr/bin/.
  39. chmod a+x /usr/bin/keychain
  40. add /usr/bin/keychain to bash_profile
  41. add virtual box:
    1. yum install gt
    2. yum install yum localinstall $LINUXADMINHOME/applications/virtualbox/VirtualBox-1.5.6_28266_fedora8-1.x86_64.rpm
  42. yum install bodhi-client
  43. install codec set
    1. yum install gstreamer-plugins-good
    2. yum install gstreamer-plugins-bad
    3. yum install gstreamer-plugins-ugly
  44. yum install xine
  45. yum install gsview
  46. yum install vnc
  47. yum install pdfedit (for editing pdf forms)
  48. Configure for sensor data:
    1. yum install gnome-applet-sensors
    2. /usr/sbin/sensors-detect and accept defaults. This creates an lm_sensors service that provides the information to gnome-applet-sensors.
    3. add gnome-applet-sensors to a gnome panel
  49. yum install licq (an ICQ client)
  50. build and install jpeg2ps (for creating eps files from jpgs for generating pdf files from scans) at $LINUXADMINHOME/applications/jpeg2ps
  51. build and install the looktex utility (for looking up LaTeX bibliography entries) to a PATH location from $LINUXADMINHOME/applications/looktex
  52. ssh-agent operates by storing dynamic information in environment variables SSH_AUTH_SOCK. It is invoked initially (for an interactive GUI login session) by the /etc/X11/xinit/Xsession script. However, this only works for the subprocesses under the gdm session. In order to setup ssh-agent correctly for cron jobs, the ssh-agent socket information is captured in $HOME/.ssh/agent-info by the line in .bash_profile:
    umask 077; printf 'SSH\_AUTH\_SOCK=\%q\nSSH\_AGENT\_PID=\%q\nexport SSH\_AUTH\_SOCK SSH\_AGENT\_PID\n' "$SSH\_AUTH\_SOCK" "$SSH\_AGENT\_PID" > $AGENT\_FILE )
    
    Then this info must be sourced at the beginning of the cron job with .  /.ssh/agent-info;<cron program>.
  53. yum install dia

2.2  dhcpd

  1. yum install dhcpd (the Internet System Consortium version 3.0.6)
  2. cp $LINUXADMINHOME/misc/dhcpd/dhcpd.conf /etc/.
  3. /sbin/chkconfig dhcpd on
  4. run system-config-network on the system hosting dhcpd, turn off dhcp, and establish static IP address 192.168.1.100 and DNSs 4.2.2.4 and 4.2.2.5.

2.3  Subversion Access Via Apache

  1. yum install mod_dav_svn
  2. edit /etc/httpd/conf/http to add the lines in $LINUXADMINHOME/misc/httpd/httpd-svn.conf
  3. htpasswd -bc /etc/dsp-auth-file <username> <passwd>
  4. htpasswd -bc /etc/btscdecoder-auth-file <username> <passwd>
  5. htpasswd -bc /etc/doc-auth-file <username> <passwd>
  6. htpasswd -bc /etc/edu-auth-file <username> <passwd>
  7. htpasswd -bc /etc/digitalsignallabs-auth-file <username> <passwd>
  8. htpasswd -bc /etc/archive-auth-file <username> <passwd>
  9. htpasswd -bc /etc/<username>-auth-file <username> <passwd>

2.4  Broadcom (Laptop) Wireless Card Configuration

See instructions here: http://linuxwireless.org/en/users/Drivers/b43#firmwareinstallation As root:

wget http://mirror2.openwrt.org/sources/broadcom-wl-4.150.10.5.tar.bz2
tar xjf broadcom-wl-4.150.10.5.tar.bz2
cd broadcom-wl-4.150.10.5/driver
b43-fwcutter -w /lib/firmware wl_apsta_mimo.o

2.5  Netgear Wireless Card Configuration

Note that the following procedure is embedded into the $LINUXADMINHOME/misc/netgear/netgear service script.

  1. install the netgear service:
    1. cp $LINUXADMINHOME/misc/netgear/netgear /etc/rc.d/init.d
    2. /sbin/chkconfig --add netgear
  2. download and install ndiswrapper:
    1. obtain ndiswrapper from unknown
    2. tar -xf ndiswrapper-version
    3. make
    4. make install
    5. ls /lib/modules/‘uname -r‘/build and verify at least the include directory and .config file is available.
  3. “install” the 64-bit driver to ndiswrapper: /usr/sbin/ndiswrapper -i $LINUXADMINHOME/misc/netgear/mrv8335x64.inf
  4. install the module and bring up the interface
    1. /sbin/modprobe -r ndiswrapper
    2. /sbin/modprobe ndiswrapper
    3. /sbin/iwconfig wlan0 channel 11 essid Euler key [1] <key-val>
    4. /sbin/ifconfig eth0 down
    5. /sbin/ifconfig wlan0 up
    6. /sbin/dhclient wlan0

2.6  Airlink 101 RALINK-Based Wireless Card Configuration

To get an Airlink 101 AWLH670 wireles 802.11N network card working, do the following:

  1. Install the driver: yum install akmod-rt2860. Note that the 2860 includes drivers for the 2760 chipset.
  2. ln -s /etc/wpa_supplicant/wpa_supplicant.conf /home/linuxadmin/misc/airlink/wpa_supplicant.conf.
  3. ln -s /etc/sysconfig/wpa_supplicant /home/linuxadmin/misc/airlink/wpa_supplicant.
  4. ln -s /etc/sysconfig/network-scripts/ifcfg-wlan0 /home/linuxadmin/misc/airlink/ifcfg-wlan0.
  5. /sbin/service NetworkManager stop
  6. /sbin/chkconfig NetworkManager off
  7. /sbin/service wpa_supplicant restart
  8. /sbin/chkconfig wpa_supplicant on
  9. /sbin/service network restart
  10. /sbin/chkconfig network on

Note that you may also want to change the ONBOOT option of the ifcfg-eth0 to no as well.

2.7  Ghostscript

Version 8.63 of gs (ghostscript) from the fedora repo began crashing (actually from within ps2pdf14) when converting a latex file to pdf. download and build the latest version from ghostscript:

svn co http://svn.ghostscript.com/ghostscript/trunk/gs gs

2.8  Development Versions of GNU-Octave and GNUPlot

In order to get the “tikz” device option in the octave print() command, do the following:

  1. Obtain and build the development version of gnuplot (currently 4.5 patch 0):
    1. Go to the gnuplot site and download the development version via CVS.
    2. Install lua-devel package (via yum).
    3. ./prepare
    4. ./configure --with-lua
    5. make
    6. make install (Note: make install-strip didn’t work right)
    7. The make install utility doesn’t properly install the special style file, so manually cp --parents <rootinstall>/gnuplot/share/LaTeX/gnuplot-lua-tikz.sty /usr/local/texlive/2008/texmf/tex/latex/gnuplot-lua-tikz/.. Then update the TEX database with texhash.
  2. Obtain and build a patched version of octave:
    1. Download octave via hg (see octave’s web site for specific hg instructions).
    2. Apply patch: hg import --config patch.eol=lf --exact $LINUXADMINHOME/misc/octave-patch/changeset.patch
    3. ./autogen.sh
    4. ./configure
    5. make
    6. make install

2.9  Dynamic DNS Setup

  1. Register a dynamic DNS domain digitalsignallabs.dyndns.org with dyndns.org
  2. Have ISP create a cname record that points to the dynamic DNS domain address.
  3. Install a dynamic DNS update client. I chose ddclient.

See http://www.dyndns.com/services/dns/dyndns/howto.html.

3  Tips and Tricks

3.1  Bug Tips

https://fedoraproject.org/wiki/Bugs_and_feature_requests

https://bugzilla.redhat.com/

3.2  Kernel Module Tips

Many (all?) drivers are installed as kernel modules. Kernel modules are manipulated using modprob, lsmod, and rmmod.

Kernel module blacklists are lists of modules that the kernel should avoid loading. They are maintained in the path etc/modprobe.d/.

3.3  Emacs/XEmacs Tricks

  1. C-x describe-installation describes build-time information such as the ./configure options and other information.
  2. M-x gnuserv to make an instance of xemacs a gnu server. Then gnuclient to run a client. C-x # to quit editing a gnuclient frame.
  3. to select all text in a buffer, C-x h, to copy the selected text into the paste buffer, M-w.
  4. normal-mode rescans the current buffer and reloads the appropriate major mode.
  5. major-mode is a variable with the major mode named. It is useful, e.g., for determining the mode name to use for mode hooks. C-h v major-mode RET is a way to check it.
  6. to reestablish the tab key as tabs, (local-set-key [(tab)] ’self-insert-command).
  7. to select everything between the last point the cursor was at before a search and the current point, C-x C-x.
  8. to select everything in the entire buffer, C-x h.
  9. to toggle line wrapping, toggle-truncate-lines.
  10. to search/replace without retyping the search/replace strings from a previous search, use C-p (previous) to recall the previous search/replace strings,
  11. to get the output of a lisp command to go into the current buffer rather than the minibuffer, prefix with C-u.
  12. to set a “bookmark” at the current point in a buffer: C-x r SPC <register number>. To jump to a bookmark, C-x r j <register number>.
  13. C-h a runs apropos-command, which only searches the interactive functions. Use apropos to search all functions.
  14. to reload a buffer with current file contents, revert-buffer.

3.4  Video Tricks

  1. desktop-effects can be run from the command line.
  2. glxinfo gives glx info. Specifically, grep for “direct” to check if direct rendering is enabled.
  3. The “nouveau” driver is an open-source driver for the nvidia video cards and is the default installed with FC11.
  4. The “kmod-nvidia” driver is nvidia’s kernel module driver for nvidia video cards.
  5. vesa is another xorg (?) driver that can be useful for laptops but is not generally recommended.
  6. Here is a short summary of the video driver situation as of F11 beta: NVIDIA has provided good, albeit closed-source drivers (nvidia) all along so their stuff has worked well for years. ATI had provided poor closed-source drivers (fglrx) in the past so their stuff didn’t work so well. Now, as of F11, an upgraded/new ati foss driver (ati) is available that works well.

3.5  yum/rpm Tricks

  1. yum info xyz gives info on xyz.
  2. rpm -ql packagename lists the path/files that the package provides/installed.
  3. You can see and extract specific files in an rpm using file-roller.
  4. You can find out what package provided a file (e.g., an executable) by rpm -qf <filename>.
  5. To pull the rpm from a repo and place it in a local directory, first yum install yum-utils then yumdownloader <pkgname.
  6. To fake yum into thinking a package is available (e.g., when an alternate version has been manually installed), use the command rpm -ivh --justdb <pkgname>.

3.6  ssh Tricks

  1. I am using OpenSSH version OpenSSH_4.7p1, OpenSSL 0.9.8b 04 May 2006.
  2. I am using public key authentication.
  3. There are four important files for host/user in the /home/user/.ssh directory:
    1. id_rsa—The private key for host/user
    2. id_rsa.pub—The public key for host/user
    3. authorized_keys—A file of public keys from otherhosts/otherusers (simply concatenated together) that is used by sshd to determine which otherhosts/otherusers are allowed access to host/user.
    4. known_hosts—A file of remotehost<–>remoteuser public key associations. This file is used by the ssh client when host/user connects to a remotehost/remoteuser. The sshd on the remotehost/remoteuser provides the remotehost/remoteuser public key, and the ssh client checks that public key against the known_hosts public key for that host. If it is different, then it is possible that a “man-in-the-middle” attack is being attempted and the host/user may choose to abort. If StrictHostKeyChecking in ssh_config is on, then the user is forced to abort.
    The permissions of this directory and these files must be set to 700.
  4. To generate a public key / private key pair, use the command ssh-keygen with no options. This will by default generate an RSA key pair.
  5. ssh-agent is a daemon that allows a user on the local system to authenticate passphrases for ssh and scp. Such an authentication is called a key and ssh-agent is said to provide a “key ring.” A key is authenticated and added to the keyring using ssh-add. ssh and scp then search ssh-agent for the passphrase key when they are invoked and, if found, automatically authenticate the session.

    The communication between ssh-agent and ssh-add, ssh, and scp occur through sockets that are defined through environment variables. Each instantiation of ssh-agent (there only needs to be one, but there may be many in some cases) uses a different socket, thus the variables are defined for a specific instantiation. Further, simply invoking ssh-agent does not define these variables. One must do something like create a subshell, ssh-agent bash, or save the variables off via the -s option and source them into the process that requires the authentications.

3.7  Networking Tricks

  1. system-config-network starts the GUI network configuration application.
  2. /sbin/arp -a reports the IP to MAC address table for the local network. If an address isn’t there, ping it.
  3. two good, public DNSs are 4.2.2.4 and 4.2.2.5.
  4. nmap is a 3rd-party application that can be used to probe the local network for devices, e.g., nmap -sP x.y.z.0/24.
  5. ethtool lets you check the capabilities of your network device, such as ethernet speed.

3.8  CD/DVD Media Tricks

  1. cdrdao will read and write cd audio in “disk at once” (DAO) mode, which preserves inter-track mute intervals and is generally the closest way to clone a CD.
    1. to scan the computer (SCSI?) “bus”, cdrdao scanbus (as root). Note especially the comma-separated triplet at the beginning of the last line, e.g., “2,0,0” in 2,0,0 : Memorex , 16X-DDL-IN , 1.A3. This is used in the --device option in the read stage.
    2. http://cdrdao.sourceforge.net/drives.html#dt shows the “driver tables” indicating which --driver option to use in the read stage. Use the information from scanbus to locate the appropriate driver. Note that Memorex 16X-DDL-IN was not found there, but apparently the generic-mmc driver works.
    3. to read, cdrdao read-cd --datafile disk.bin --device 2,0,0 --driver generic-mmc disk.toc
    4. to write, cdrdao write --datafile disk.bin --device 2,0,0 --driver generic-mmc disk.toc
  2. dd if=inpfilename.ext of=outfilename.iso will create lovely iso images of data cds and data dvds, but only works in the read direction, i.e., you cannot use it to write an iso image file to a DVD or CD.
  3. apparently dd will not read audio cds.
  4. wodim image.iso will write an iso to DVD or CD.
  5. created flacrip (see /home/<username>/bin/flacrip) based on icedax and flac to automatically generate flac files from an audio cd. looks up song names in cddb database too.

3.9  Services Tricks

A linux service is a script provided in /etc/rc.d/init.d that adheres to certain rules. The service can be started, stopped, restarted using /sbin/service servicename start | stop | restart. The service can be automatically placed in the various run-levels using /sbin/chkconfig --add servicename.

In order to use the service with chkconfig, certain rules should be followed:

  1. The /etc/init.d/functions script should be sourced and certain functions there used for formatting nice output (like success and failure for the [OK] and [FAIL] indications).
  2. The file should have a comment header that follows certain formatting rules (the comments aren’t just comments!). For example, see the chkconfig, description, and processname lines in representative scripts.

3.10  Screensaver Tricks

  1. The actual screensaver executables are at /usr/share/applications/screensavers.

3.11  Linux Tricks

  1. man hier gives information on the file hierarchy of the typical linux system.
  2. ldd examines link information of an executable.
  3. objdum examines object file information.

3.12  acroread Tricks and Gnome Mechanisms

For several Fedora versions (at least Fedora 8, Fedora 10, and Fedora 11), invoking Adobe Acrobat reader (acroread) could cause errors like Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory and a similar message for libgnomebreakpad. Also messages like Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks" can occur.

The basic problem arises because the package for acroread doesn’t have its dependencies set up correctly, and it is a 32-bit application being run (in my case) under a 64-bit operating system. Therefore there are several i586 versions of libraries it requires which may already exist in the x86-64 versions, thus confusing the system maintainer into thinking the dependencies are already provided when in fact they are not.

There is also a secondary mechanism for loading libraries when the application starts that is separate from the standard shared library mechanism implemented via ld-linux.so. This makes it more difficult to track down the causes of these messages.

3.12.1  GTK Engine Warnings

The message Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks" occurs because the i586 version of the GTK engines package isn’t installed. To fix, yum install gtk2-engines.i586. Clearlooks is one of the standard engines in this package; some of the other engines are package separately.

3.12.2  Secondary Dependency Mechanism

The message

\fn{Gtk-Message: Failed to load module "canberra-gtk-module":
libcanberra-gtk-module.so: cannot open shared object file: No such
file or directory} 

can occur when a GTK-based application is loaded and run. However, performing an ldd program1 will not reveal a dependency on the breakpad library. So precisly how is this breakpad library dependency coming about?

The Gnome session runs a gnome_settings_daemon on startup which reads the gconf “registry” entries in /apps/gnome_settings_daemon/gtk-modules/ and loads them into the XSETTINGS protocol. Then when a GTK-based application is run, GTK queries XSETTINGS for a list of modules to load and loads them.

Thus these types of dependencies arise via this mechanism and the entries in the /apps/gnome_settings_daemon/gtk-modules/ gconf key.

Also note that breakpad is a component of bug-buddy—the facility for automating the reporting of Gnome bugs. You can remove the breakpad dependency by yum remove bug-buddy, or by simply unchecking the option in the gconf key /apps/gnome_settings_daemon/gtk-modules/.

Alternately, you can satisfy the dependency by installing the i586 version of bug-buddy.

3.13  Firefox Tricks

  1. typing about:plugins in the address bar lists all plugins.
  2. to see the extensions that are configured, see tools -> addons -> extensions

3.14  Disk and File System Tricks

  1. A file system check similar to Window’s chkdsk can be performed as follows:
    1. unmount the volume to be checked: umount /mountpoint
    2. run the file check utility: /sbin/e2fsck -fv /dev/sd{a|b|c|...}{1|2|3|...}
  2. Format a drive with mkfs. You can create various types of filesystems with the -t type option.
  3. Logical Volumes.
    physical volume
    A physical drive or partition, such as /dev/sda1. Use pvdisplay to show physical volume / volume group mappings.
    volume group
    A group of one or more physical drives bound together into a single logical volume group. Use vgdisplay to display volume groups.
    logical volume
    A logical partition from a volume group. Use lvdisplay to display logical volumes and their associated volume groups and /dev paths. Then these /dev paths can be mounted just as a physical volume/partition (provided they’re not already mounted).

3.15  Tricks to get DVDs to Play

Using xine, ensure all the following are installed:

  1. xine-lib
  2. libdvdcss
  3. xine-lib-arts
  4. xine-lib-extras
  5. xine-lib-extras-nonfree
  6. libdvdread
  7. libdvdnav

3.16  Hardware Tricks

  1. lspci lists pci bus components.
  2. dmidecode get BIOS and other motherboard information
  3. lshw is a handy third-party utility that lists hardware components (CPU, memory, etc.).
  4. The list of hardware generated by the installer is at http://smolts.org and is indexed by /etc/sysconfig/hw-uuid. It can be regenerated by smoltSendProfile -a.

3.17  Sound Tricks

  1. When some sounds failed to play (i.e., the play command) while others work fine, it could be that the pulseaudio daemon wasn’t started correctly for the user. This can happen if the /tmp/pulse-USER directory doesn’t have USER ownership or drwx permissions.

3.18  Printer (CUPS) Tricks

To access the CUPS administration system, http://localhost:631/admin.

3.19  Linker Tricks

  1. Use /sbin/ldconfig path to set a new shared library path.
  2. Use ldd program to show the shared libraries used by the program and the paths the system is using for them.
  3. A good reference on shared libraries: http://www.dwheeler.com/program-library/Program-Library-HOWTO/x36.html.

3.20  LATEX Tricks

Here’s the procedure to install a new set of fonts, namely kpfonts:

  1. Find the TEX local tree using the command kpsewhich -expand-var "$TEXMFLOCAL". Under Fedora 10 this was /usr/local/share/texmf.
  2. Extract the kpfonts archive’s texmf path to the path in the previous step.
  3. As root, run texhash.
  4. As root, run updmap-sys --enable Map=kpfonts.map.

3.21  Router Tricks

The default DLink 655 router address is 192.168.0.1 but i changed it to 192.168.1.1. The cable modem address from the internal network is 192.168.100.1. The protocol between the router’s WAN port and my cable modem is DHCP. The router’s WAN MAC address is locked to the cable modem and must be 00 11 D8 80 B3 05.

4  Todo

Fix the ACPI problem (seen on boot): http://www.lesswatts.org/projects/acpi/debug.php


1
The Adobe Acrobat reader program acroread has three levels of indirection: which acroread yields a symbolic link; the link target is a shell script; the shell script finally translates to the ELF file /opt/Adobe/Reader9/Reader/intellinux/bin/acroread.

This document was translated from LATEX by HEVEA.


Reply via email to