| ||||||||||||||||||||||||
Device | Laptop Gericom 1st Supersonic, Model A440 | |||||||||||||||||||||||
Bios | Phoenix Bios 4.0 Release 6.0, Version A.0B-5719-6221 | |||||||||||||||||||||||
Video | Trident Cyberblade i1 | |||||||||||||||||||||||
Kernel (uname -r) | 2.4.18-3 (RedHat Linux 7.3) | |||||||||||||||||||||||
Modem (scanPCI) | Lucent Microelectronics LT WinModem, vendor 0x11c1, device 0x0450, Mars 3 Mercury data fax Global board | |||||||||||||||||||||||
CD/DVD (cdrecord -scanbus) | TOSHIBA DVD-ROM SD-R2002 (4x4x6x24x) | |||||||||||||||||||||||
External devices | Creative Webcam II USB, 10/100 LAN-PCMCIA-card | |||||||||||||||||||||||
OS | DR-DOS, Linux RedHat 7.3, Win ME (preinstalled) | |||||||||||||||||||||||
Desktop | Gnome/Sawfish | |||||||||||||||||||||||
Relevant used applications | Internet dial-in via RedHat Network Monitor | |||||||||||||||||||||||
Printer system | LPRng (system settings) | |||||||||||||||||||||||
View | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
One way to setup | ||||||||||||||||||||||||
In case a contained link has gone outdated it perhaps may still be found in the WAYBACK MACHINE (http://archive.org/web/) | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Common To be read first Latest updates: 2003-08-15 [overworked to fit conditions for a fresh installed RH73 _without_ any (RedHat-) updates], 2003-11-24, 2004-03-17, 2004-08-17 [minor page design change], 2007-08-07 [moved page to new server], 2008-03-30 [updated links to IPV6 HowTo], 2011-05-15 [ltmodem, fax and Starwriter infos slightly extended] | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Common | ||||||||||||||||||||||||
Preface Whatever You change on Your system, make backups first! Words and expressions in BIG LETTERS are commonly used as a sort of variables or placeholders, to be replaced with individual content depending on the context they appear in. As established for program parameters, square brackets ('[', ']') mark optionals, the pipe ('|') marks alternatives. Further information about Linux mobile computing can be found at http://tuxmobil.org. The actual RedHat version can be downloaded for free from RedHat (which pays only using high-speed internet access). Some of the scripts provided herein used different newline characters and may appear not linewise when viewed. They are useful objects to try the chgLineBreaks flex application. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Documentation and help Some helping commands: Hint: the 'man' command outputs sometimes different documentation depending on the 'chapter' specified (if any), E.g. 'man passwd' gives instruction how to use the 'passwd' command while 'man 5 passwd' explains the format of the /etc/passwd file. After the release of a 'man' command just press 'h' to get help howto search and navigate inside the man page, for the info-command it's [Control]-'h'. If a command outputs lot of text, use 'COMMAND | more' or 'COMMAND | less'. To search outputs, the grep command is useful, e.g. 'apropos SEARCHWORD_A | grep -i SEARCHWORD_B'. If any external link cannot be accessed it may be a help to ask a search engine (google, yahoo, etc.) | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Important Maybe this behaviour is dependent on the charge state of some internal condensators. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Hard disk partitions As reported by Gericom service: The maximum size of a hard disk for replacement supported by the BIOS is 40 GB. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
In case you choose the ext3 filesystem for the Linux partition (what i would strongly recommend), a 'kjournald'-message should appear during boot. Ext3 should be a must because it will reduce the number of file-system-check runs dramatically (i never had one using kjournald and documentation says there will never be...) and is not installed by default. To enable this super feature use the ext3-filesystem during installation and keep attention to enable 'experimental' drivers when configuring a new kernel - it works fine on my system/kernel with 'CONFIG_EXT3_FS', 'CONFIG_JBD' and 'CONFIG_JBD_DEBUG' all set to 'y' in the usr/src/linux-2.4.18-3/.config file (check it after running menuconfig). | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
BIOS | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
If programs do not run | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Webcam | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Kernel | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Power managment | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Infrared | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
System services | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| ||||||||||||||||||||||||
PPP Modem Dial-In connection | ||||||||||||||||||||||||
Error: LCP: timeout sending Config-Requests (tail -f /var/log/messages): Modem driver sources ltmodem-8.26a9: http://www.heby.de/ltmodem. The remaining entries in wvial.conf should be set by the network-setup program. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Using a regular german telephone plug | ||||||||||||||||||||||||
In Germany telephone plugs look different, especially there are plugs for telephones only into which the fax/modem plugs do _not_ fit. The problem is caused by the german multi-device telephone plugs which supply hardware-device switching inside the plug. This may be especially problematic using the A440 off-door when only a regular telephone plug is available. To make confusion complete, there are several different type of cables implementing different color-to-signal assignments. | ||||||||||||||||||||||||
Before | After | |||||||||||||||||||||||
green | 4 | O |
| O | 3 | yellow |
| yellow | 4 | O |
| O | 3 | white | ||||||||||
| 5 | O |
| O | 2 | white |
|
| 5 | O |
| O | 2 | brown | ||||||||||
| 6 | O |
| O | 1 | brown |
|
| 6 | O |
| O | 1 | green | ||||||||||
Never change cable positions in the wall-mounted plug, only at one end of the modem-cable! | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Hints to adjust any individual cable: | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Browser plugins | ||||||||||||||||||||||||
Most modern browser automatically check and overtake plugins installed in Netscape, if any problems occur it may help to check the browser-specific plugin-directory as described for the Java-plugin. For, e.g., Java 1.4 and Mozilla 1.6 it is needed to extend the operating system by ('run-time') libraries for gcc3 compiled software. These are available as rpm's from the RedHat-(Network-)Website as libgcc-3.1-5.i386.rpm and libstdc++3-3.1-5.i386.rpm. The website plugindoc.mozdev.org is a valuable list of links to plugins for Mozilla. Xanim is a program which can display several media types, expandable by pluggable codecs (xanim-dll's). The xanim homepage is http://xanim.va.pubnix.com/home.html. Another source may be http://www.linuxberg.at/adnload/10185_54158.html. As usual, the readme-files within the xanim2801.tar.gz file contain all needed to know, on RedHat 7.3 the xanim-dlls (.xa-files) work in the version for libc6 (...linuxELFx86c6.xa). They may be copied into their default-directory /usr/local/xanim/mods. The plugger-program (man plugger) is preinstalled, but the configuration file '/etc/pluggerrc' may need some adjustment. Due to the many file types handable by xanim (dependig on the installed xanim-dll's) and other programs that come with RedHat 7.3, a fully complete adjustment of the pluggerrc file is a work for it's own and hard to do because samples of all playable data types are needed - samples for some unpopular formats are not easy to find. This is an uncomplete, extendable pluggerrc file, which handles the most popular media types. Browser plugins sometimes require some particular attention. This is a website handling the popular RealPlayer and Flashplayer plugins in greater detail. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Encrypted Email communication using Mozilla-Mail | ||||||||||||||||||||||||
Enigmail can be used to encrypt and decrypt Emails comfortable on-the-fly. It works fine with the Linux-Mozilla version 1.31 downloadable from mozilla.org. Not to break the version policy of other installed software of the RedHat 7.3 distribution it may be appropiate to install Mozilla 1.31 additionally without removing the distribution's Mozilla 0.9 version. To do so change /usr/bin/[...xremote...]mozilla to [...xremote...]mozilla09, create links [...xremote...]mozilla131 to the new installed (just extracted) Mozilla 1.31 files, and then create links with the original [...xremote...] names to the 09-versions. This will allow to change the default-mozilla by redifining the 2 non-version-postfixed links. To use enigmail with Mozilla 1.31 it needs 2 xpi-files, version 0.74, from the enigmail website. If software installation is enabled in the Mozilla preferences, they are easily installed via file->open. To be able to use encrypted emails, a key, bound to a specific email address, needs to be created: Mozilla-Mail-MenuBar-Enigmail-Generate key. For viewing Enigmail log files a directory, e.g. ~/enigmail-logs, must be created and put in under Mozilla-Mail-MenuBar-Enigmail-Preferences-Log File. Composing emails Enigmail can easily insert the public key part via MenuBar-Enigmail-Insert public key - anybody who wants to communicate via encrypted emails will need the _public_ key of the recipient first in unencrypted format! (The RedHat documentation tells how to use public key servers for that purpose.) -----BEGIN PGP PUBLIC KEY BLOCK----- Anyhow, any file can be manually encoded with gpg and be sent as attachment, it's just not as comfortable as using the enigmail functionality. The RedHat documentation explains the manual use of gpg in detail. To de-, or encrypt files out of Mozilla-Mail, e.g. mail-attachments saved to disk, 'gpg --decrypt Filename > Filename' and 'gpg --encrypt [-a] > Filename' will do. To use a public key found anywhere, e.g. on a website, save it to, e.g.,keyfile.txt and use 'gpg --import keyfile.txt' to make it available to gpg. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
IPv6 | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Ipv6 is the internet address format of the future (and present). Beyond many pro's there is also the fact that it may be used to decrease privacy using a fixed, hardware-based identifier (e.g., network-card-MAC, cellphone-hardware-id, TCPA-stuff-id) as part of the internet address. Details are explained in the Linux-IPv6-HOWTO, available at http://www.bieringer.de/linux/IPv6/IPv6-HOWTO/IPv6-HOWTO.html. To enable Ipv6, my /etc/sysconfig/network file looks like The lines In /etc/modules.conf it will need the line Already present in a SuSE 6.2 distribution, here are some samples for the /etc/sysconfig/networking/profiles/default/hosts (->/etc/hosts) file: For further details please read the Ipv6-HOWTO and the doumentation of bind9 in the /usr/share/doc/bind-9.2.0/arm directory (and the related RFC-documents mentioned in those, some are present in /usr/share/doc/bind-9.2.0/rfc). Hint: As reported (in german language) by the heise Verlag on occasion of the Sysadmin day 2007, it may cause problems to proclaim the name "localhost" as hostname in dedicated environments. Please read http://www.heise.de/netze/artikel/92852/2 for further information. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Faxing (send and poll) using the efax-package programs | ||||||||||||||||||||||||
As of 2003-03-08 efax v 0.9a-001114, _no_other_version_, must be installed. The script /usr/bin/fax needs modifications to avoid modem problems (the workaround is to unload and reload the modem-driver modules) and to enable fax-printing from applications like kWrite or StarOffice. This version of the fax script (rename to 'fax') works on my system and implements an additional command 'poll' (via console) to phone a fax server and retrieve fax documents. Instructions how to use can be found in the man pages and in the source of the fax script. This fax script redefines the directory locations to reside inside the user's home directory. All fax data (incoming and outgoing fax-files, logs and the telephone-nr. dictionary) are placed under the directory '~/fax'. The first time fax is used the directory 'fax' inclusive subdirectories and the file ~/.efax.rc for changing fax-behaviour are created if not existing. The log file via system log (/var/log/messages) is the only place where all data about faxes of _all_ users are available out of home. This behaviour can be changed from total 'home' privacy to none by adjusting the script /usr/bin/fax and is one way to overview fax-traffic on a per-user base. Unsent fax pages and all fax documents are kept in ~/fax/outgoing, the names of the data and log files contain a postfix describing the result of the fax transfer. It may be neccessary to chmod at least the usr/bin/efax program to run as root. A symbolic link /usr/bin/faxlpr -> /usr/bin/fax needs to be present. More details in the efax man page. Hints how to use fax via console/command line can be viewed with 'fax -help'. The actual version of fax script is only tested for faxing documents from applications like StarWriter or kwrite and console and for fax polling from console (see below). | ||||||||||||||||||||||||
To fax via StarWriter (5.2), see below, as a regular user that user will need lock and uucp access rights. This can be done with the command '/usr/sbin/usermod -G USERNAME,users,lock,uucp USERNAME', issued as root, wherein the 'users' group membership is handy for StarOffice installation and access. Log out and in after such that modification. | ||||||||||||||||||||||||
How to fax from KWrite: | ||||||||||||||||||||||||
One way to install StarOffice 5.2 painless is to first copy the installation dir contents to (hard-) disk, change as root into the directory which contains the 3 subdirectories adabas, office52 and soplayer and issue as root the commands: 'chown -R root.users .' and 'chmod -R 776 .'. Then run the office52/setup program as regular user. | ||||||||||||||||||||||||
How to fax from Star Office 5.2: | ||||||||||||||||||||||||
Instead of a fax telephone number any alias defined in the ~/fax/faxdir file may be used. | ||||||||||||||||||||||||
How to print into PDF- and PostScript files from Star Office 5.2 (SO): | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Creative Webcam II USB | ||||||||||||||||||||||||
Cpia-driver version 1.3.0 and cpia-control version 0.5: webcam.sourceforge.net. As described in the README file therein the cpia*.h and cpia*.c files need to be copied into the kernel source directory. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Kernel compilation | ||||||||||||||||||||||||
First some hints: It may be appropiate to make a link 'linux' to linux-VERSION in /usr/src, some software might expect it. Always backup the .config file directly after running menuconfig! Red Hat 7.3 does _not_ contain a separate 'kernel-header' package, it is all in the kernel-sources package. Especially when testing, it is wise to backup the complete contents of the /boot directory. To avoid lots of unneeded/unwanted libraries from test-compilations, first correct and check the links in the /boot directory including the grub-definition file in /boot/grub, then remove the /lib/modules/BUILD-NAME directory which is unused. For an own build the file /usr/src/linux-VERSION/configs/kernel-2.4.18-i686.config file is a good starting point. After a kernel compilation it is neccessary to (re-)install the ltmodem (and maybe some other) software. One check to see if anything worked fine is to 'depmod -ae' after reboot which shows all unresolved (errorneous) modules if any. The original installed files '/boot/module-info-2.4.18.3' and '/boot/module-info' (pointing to the latter one) are not rebuild or updated following the RedHat documentation to build a custom kernel. To avoid confusion it seems appropiate to remove them from /boot to a backup directory (or read more Linux documentation like 'Linux system administration guide' et. al. to rebuild). Using the grub boot-loader and following the RedHat documentation, the new kernel will be automatically included as one more option to the grub boot menu. If anything went wrong, just select the original version (which will not be destroyed) during the next boot (and try again...).
The making of your private Linux-kernel: Appendix A in the RedHat customization guide explains very well and should be followed exactly, repeated in brief: | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Using bind | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
bind is a program that answers questions like 'which numeric (IP-)address has host X.com' or 'what is the (literal) hostname behind 123.45.67.89'. There can hardly be an easy and detailed description (it is a good idea to check the documentation in /usr/share/doc/bind-9.2.0), this is for the following example-configuration, which even works when never connected different than to a dial-in provider or at all: Other important files: If all computers on netA and netB can be trusted, then, and only then (security-risk!), /etc/hosts.equiv may contain all IP-addresses of all machines in netA and netB (hosts.equiv might need to be created newly with appropiate access rights). For testing purposes the program iptraf is very useful. Here is a line quoted from the iptraf-logfile (the: XXX-XXX-XXX-XXX was the IP-address of the A440 during that connection) The IPv6 part of this configuration is nothing more than a sample starting point, the IPv6-Howto explains more about connecting/tunneling to remote internet hosts, the bind manual in /usr/share/doc/bind-9.2.0 should be consulted too (control-statement, lwres, allow). To debug the bind configuration as a first step open a terminal, then 'sudo tail -f /var/log/messages', open another terminal and 'sudo /sbin/service named start|stop' to see the bind-messages. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Firewall using iptables | ||||||||||||||||||||||||
A firewall is a must accessing email or internet, although other operating systems are more attaced, also Linux-viruses had been reported. RedHat 7.3 comes with the really easy to use lockit-program, but extending the system a more detailed configuration might become neccessary. Linux Kernel 2.4 uses iptables as standard-firewall. This script installs a ip4tables firewall, which, as is, allows DNS-loockups, active FTP, regular and secure email transfer (smtp, pop3), regular and save http(s) (internet surfing) and allows several ports for RealPlayer transfers. Please read the RedHat documentation about lockit and iptables and take any further information from the script source. When adjusting to an individual system, most concentration must be taken on the ports served by activated system services. There are two scripts, both use the flex-scanner 'fiwali', which output formatted details of all packets dropped by the iptables-firewall inclusive literal description of port-usage and remote hostname. The script 'fiwali-review.sh' shows information about all (past) packets blocked by the firewall, the script 'fiwali.sh' is ment to show firewall blocks as they appear. Both scripts make only sense to use when online since the fiwali-scanner calls the 'host' programm to retrieve the remote hostnames. Using the following line as command of a menu-entry will comfortably open an editor to make changes in the firewall-configuration, handy for online use: gnome-terminal --use-factory --start-factory-server -e "sudo /bin/bash -c 'sudo mcedit +70 /usr/local/bin/pppFirewall.sh; sudo /usr/local/bin/pppFirewall.sh;sudo sleep 10'" My experience is that some users not only trust blindly any firewall software, but also get afraid as soon as they see indifferent messages like 'alert, source = 123.45.67.89'. A few facts apply to any firewall: An IPv6 firewall setup can be found in the Linux-IPv6-HOWTO, available at http://www.bieringer.de/linux/IPv6/IPv6-HOWTO/IPv6-HOWTO.html. In case the Linux box should be used as router it might be necessary to explicitely call a 'pure' setup-script called from /etc/rc.d/rc.local since otherwise routing may not work. Derived from the pppFirewall script above this is a ip4tables-firewall script for a Linux software router for a fully trusted local net including direct and squid-proxy-access to internet. It has run more often and is therefor more 'stable' than the script above, but must be called on every boot (e.g. from within /etc/rc.d/rc.local). | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
One free anti-virus program suite for Linux is called clamav. It is available from the freashmet server, the download-URL (from the belgian mirror) is http://belnet.dl.sourceforge.net/sourceforge/clamav/clamav-0.60.tar.gz. After installation the commands 'man 5 clamav.conf', 'man clamd' and 'man clamdscan' are available. Exectutable files are /usr/local/sbin/clamd, /usr/local/bin/freshclam (updating the virus-database) and in the same directory clamscan, clamdscan and sigtool. Clam anti-virus is a very universal program that can be applied to many programs like the apache webserver and email-software - the documentation explains details about that. Files can also be scanned directly. But -as much as i understood the documentation- the only action that will take place in a 'minimal installation' (as described below) is to report found viruses, not to delete them. So it may be a good idea to have a terminal showing the output of the clamd-daemon using the command 'tail -f /tmp/clamd.log (depending on the clamav.conf-file). sudo /usr/bin/tail -f /tmp/clamd.log 1. Download the 'tarball' The command clamscan may be used to scan suspicious files or directories. Depending on personal preferences -as described in the clamav-documentation- freshclam may be started regularly or by menu. For non-flatrate users an entry in the menu-favorites may be defined like gnome-terminal --use-factory --start-factory-server -e "sudo /bin/bash -c 'sudo /usr/local/bin/freshclam;sudo sleep 10'". There is another installation instruction which is not adjusted to RedHat 7.3 at http://sxs.solo-unix.com.ar/administration/clamav.html. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Java paths and execution | ||||||||||||||||||||||||
Java should never be installed into a directory whose path contains blanks, under RedHat 7.3 the directory /usr/java is an appropiate home for different Java JRE's and JDK's. Insert before the export statement into /etc/profile: | ||||||||||||||||||||||||
JDK_HOME='/usr/java/j2sdk1.4.1_01' (installation dir of the JDK) Linux supports also to run Java-classes, -applets and executable jar-files from the command line. Details are described in /usr/src/linux-2.4.18-3/Documentation/binfmt_misc.txt and java.txt in the same directory, one will need the files javawrapper, jarwrapper and javaclassname (zipped executable) in /usr/local/bin (which should be part of the PATH-shellvar, see above). Additionally, to use automatic Java execution, this Linux-Kernel feature must be enabled. A good location to do so is inside /etc/rc.d/rc.local. The feature is adjustable, this here is my version (zipped) which does not claim to be the best universal solution at all - it differs from the original sample and disables mc to peek into jar files. If anything went well, after rebooting with enabled Java execution, just type PROGRAM.jar (or select it in, e.g., mc and press Enter) to start the executable in that jar file. If it does not work, first check http://www.tat.physik.uni-tuebingen.de/~rguenth/linux/binfmt_misc.html. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
To use the original Java-SDK plugin in Netscape first set the paths, then copy or link, e.g., /usr/java/jsdk1.4.1_01/jre/plugin/i386/ns4|ns600|ns610/[lib]javaplugin[_oji].so into /usr/lib/netscape/plugins. The plugin can be administrated with the program /usr/java/jsdk1.4.1_01/jre/bin/ControlPanel. Somtimes it may help to set (and export) | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| ||||||||||||||||||||||||
All commands are for 3,5 inch, double sided, double density disks (1.4MB DOS-type). Other supported formats are described in the man pages for fstab and mount. In case of problems handling unusual formats/filesystems kernel and/or modules must be compiled for. | ||||||||||||||||||||||||
To completely erease an unmounted diskette (raw-format without filesystem, usable, e.g., for 'hidden' backups): | ||||||||||||||||||||||||
To completely erease an unmounted diskette and format it with a filesystem of type FST (ext2, msdos, etc.): | ||||||||||||||||||||||||
To format an umounted, raw-formatted diskette to use with Linux only (default Linux filesystem extended-2): | ||||||||||||||||||||||||
To format an umounted, raw-formatted diskette to use with Linux and DOS-based operating systems (FAT-types): | ||||||||||||||||||||||||
Read and write access to a diskette requieres that the diskette will be mounted to the filesystem. Therefor a mount-point (an usually empty directory) is needed, typically inside /mnt, e.g. /mnt/fd (RedHat predefines /mnt/floppy). After mounting the diskette-filesystem, reading from and writing into /mnt/fd accesses the diskette. | ||||||||||||||||||||||||
To read and write a diskette: | ||||||||||||||||||||||||
To avoid to input the root password for the su-command, 'su -c "..."' may be replaced by 'sudo ...'. The sudo man page shows details. If /dev/fd0 is present in /etc/fstab, the 'user' option will allow the user to mount and umount, making it 'users' will allow any user. | ||||||||||||||||||||||||
'df /mnt/fd0' shows a summary of the diskette usage, i.e. free and used space. 'df -T DIRECTORY' shows also the filesystem type. | ||||||||||||||||||||||||
'du /mnt/fd0' shows the detailed diskette usage, i.e. size, of all files and directories. | ||||||||||||||||||||||||
To check if the diskette is mounted or not 'mount' without parameter shows a summary of all mounted filesystems. | ||||||||||||||||||||||||
To exchange data only between Linux and ME via diskette, the 'vfat' filesystem type is a better choice than 'msdos' (long file names). | ||||||||||||||||||||||||
Ereased diskette files can sometimes easily be reviewed. The 'shred' command may be used for sensitive unwanted data. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Writing CD's | ||||||||||||||||||||||||
The 'CD-Writing-HOWTO' explains detailed. The location of the new xcdroast executable is /usr/bin. When extending multisession data CDs using the default settings there will appear a little confusing message about possible problems, so it may be a good idea for the first experiences writing CDs to keep another copy for safe. On my A440 anything worked fine - but i have not tried out anything. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Viewing DVD's | ||||||||||||||||||||||||
To play DVD videos the program xine is useful, it is also predefined as plugin in /etc/pluggerrc. RedHat 7.3 comes with xine 0.9x. It might be a good idea to upgrade to a version >= 1. The following is a super-fast instruction that should run without errors, if such occur stop, read the README and INSTALL files to find the reason. Manual xine build (there are also rpm-files): This way not protected DVD's should play. The DVD 'American Beauty' that was bundled with the A440 will not play so far, but it is possible where it is allowed. Sad to say, but (to my knowledge) ME ist the better performing os to view movie-DVD's on the A440. Maybe the reason is that the DVD consortium has only allowed strongly commercial operating systems. Without any hardware DVD-accelarator it makes no sense to try to view full-screen DVD-Videos under Linux on the A440. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Use of the start-menu and context-menu keys | ||||||||||||||||||||||||
During installation or update via CD-boot or using the X-utilities choose the '105 (intl)' keyboard type, german keyboard layout and activate dead keys. This solution is just a workaround and could probably be solved more elegantly like, e.g., explained in the Thai-HOWTO. For Terminal (not under X): cd /lib/kbd/keymaps/i386/qwertz For use with X and Gnome/Sawfish: /etc/X11/XF86Config-4 (and /etc/X11/XF86Config) may contain an uncommented Xkbmodel-definition line. The value must be set to 'pc104'. Gnome control center (usr/bin/gnomecc) -> keyboard shortcuts -> add -> scan -> press start menu or context menu key and assign command. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Alsa sound system and utilities | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
The alsa sound system performs well and comes with a set of useful utilities. Running the distribution's sndconfig program once destroys the original, fine, sound settings. On my system then i could not record via the built-in microphone and playback in acceptable quality. Alsa enables to do so and avoids destroyed sound settings by sndconfig. The alsa homepage is http://www.alsa-project.org. For the A440 appropiate files to get are alsa-driver-0.9.4.tar.bz2, alsa-lib-0.9.4.tar.bz2, alsa-oss-0.9.4.tar.bz2, alsa-tools-0.9.4.tar.bz2, alsa-utils-0.9.4.tar.bz2; the well explained installation instructions for the soundchip of type via82xx do not recommend to run the incuded sndinit-script, but it seems to be a good idea to do so on the A440. The .sound configuration file in the home directory, '.asoundrc',may look like this, and this is a sample configuration of /etc/.aumixrc. In the ControlCenter (/usr/bin/gnomecc), section Multimedia/Audio, the 'start soundserver' box may be checked. For alsa to work _all_ sound related kernel parts _must_ be build as modules. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Bits and pieces | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Once a window frame is set unvisible through the window menu (useful, e.g., for running xeyes), which then cannot be shown by a simple mouseclick, [ALt]-[Left keypad button]-[Right keypad button] redisplays. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Using Konqueror under Gnome/Sawfish to send mail via Mozilla Mail by clicking on mailto:' links without calling kmail: | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
To start mozilla, -mail, -composer in offline mode is possible using the profile manager, which does not show up when just one profile exists. The link starting the mozilla program, e.g. in the properties of a gnome panel-starter, must be changed to contain the parameter ' -profilemanager'. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
After running Mozilla for some time, probably a 'timebomb'-message will appear. This behaviour is controlled by a preference named 'timebomb_first_launch_time' which can be found (and modified) in ~/.mozilla/default/[...].slt/prefs.js. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
When using a LAN-card it is sometimes appropiate to switch temporarily off and on the network, e.g. on LAN-parties. To switch the card off '/usr/bin/sudo /sbin/cardctl eject', to switch it on again 'sudo cardctl insert', most comfortable when put in little shell-scripts called via menu ('sudo gmenu'). Not found on my system, i have installed this /etc/rc.d/init.d/hotplug script with the command 'chkconf --add hotplug'. This is surely redundant for the virgin system (since it was not present), but it is a 'standard' script mentioned in some documentation and some software may depend on it. See the script-source, 'man chkconfig', 'man serviceconf' and /usr/src/linux-2.4.18-3/Documentation/usb/hotplug.txt for details. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
It might be comfortable to have a directory for testing purposes which is automatically cleared on logon. Root will be able to access those contents if logged on as next user. The following script creates and clears a directory named 'autokill' in each users home: | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
The command 'echo $PATH' shows the path. As regular user it may be comfortable to have '.' (the actual directory) inside the path when using console frequently, but since this could be a security risk RedHat did not include. The shorter the path, the less the redundancy, on my system there were double entries. The following lines, included at the end of ~/.bashrc add the dot to the path (just the first line) and remove all double entries from it. It might be a good idea to include the clean path part int /etc/bashrc, but testing out changes with the PATH could make any login impossible then. PATH=".":${PATH} | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
RPM is a comfortable program that does not seem to need any further functionality. But in very special cases it may be helpful to extract files from a rpm-package without changing the system and without executing any pre- and post-install scripts. TEMPDIR should be located inside ~, e.g. ~/autokill. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
One way to use an external (USB-) mouse instead of the build-in touchpad is to connect it before boot, then select the mouse model when the kudzu programs detects it during boot. During the next boot without external mouse select ignore' when kudzu is missing the USB-mouse. After log-in /etc/sysconfig/hwconf should contain two entries for mice. To switch between the mice run /usr/sbin/mouseconfig, log-out and -in and keep attention to the 'swcursor' option as described above. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
To make a bootdisk for the actual running kernel as non-root-user: sudo /sbin/mkbootdisk `uname -r` | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
The 'eject' command umounts and ejects a CD in one step, 'eject -t' closes the CD-tray ('insert'). Unfortunally, the '-t' option is not working with the SD-R2002 drive. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Fortune is a program that outputs texts and quotes like 'Military intelligence is a contradiction in terms.', it's intention is to give the user thoughts and smiles on login. Enabling fortune messages for the welcome screen via system settings seems to be broken. To at least have a fortune when opening a console window, link /usr/bin/fortune to /usr/games/fortune and include '/usr/bin/fortune' as last line into ~/.bashrc. Quiz: In which Jackie Chan movie was the Linux-command 'whoami' mentioned? | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
It may be a good idea to include the line 'Defaults always_set_home, requiretty' into the sudoers configuration file (use visudo to do so). To allow all members of group GROUP (the predefined group named 'users' could be a good choice to include all users) to run commands as root via sudo without password (possible security risc!), the line '%GROUP ALL=(ALL) NOPASSWD:ALL' must be present in sudoers. Depending on the use and the users of the system (for a Laptop usually only one) it may make sense (or not) to put root and the regular LOGINNAME into one common group and set the group of files appropiate so that one may access (and execute) 'common' files independent of doing system work as root or as LOGINNAME. The program to do so is SystemManager and the predefined appropiate group to join as root and user could be 'users'. The wrong use of the SystemManager- and the chmod- and chown-programs may result in severe safety problems when connecting to LAN or internet. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
To copy a long command input at the console that has already scrolled off the screen the ~/.bash_history file may be checked. A 'coloured console' is explained in the mini-HOWTO named Colour-ls, about colouring the outputs of the 'ls' (and 'dir') command check /etc/DIR_COLORS. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Some network basics can be found in the rfc1739 document. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Workarounds | ||||||||||||||||||||||||
For users of the up2date program using a password consisting only of digits (0..9): | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Using Konqueror under Gnome/Sawfish without kde may bring up error messages on start-up or even let Konqueror crash if unappropiate parameters are used. In case such problems occur it can help to redefine the konquerors start command using the menu editor to specify existing directories or files. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Using Konqueror as file manager may cause error messages when trying to move files or directories to the kde-Trash. On my system it worked after manually creating a '~/Desktop' directory and then moving a directory as first item into trash. After that procedure trashing with Konqueror worked also on files. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
After a fresh install the sound performs fine. Running the 'sndconfig' program once, e.g. via the 'setup' program, destroys the original setup sound entries in /etc/modules.conf and even in similar named backups of the modules.conf file. A solution is either to backup modules.conf to a file which name is beginning and ending different, or -increasing sound performance and usability- to install the alsa sound system. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Starting kde-applications using the sudo command might cause Gnome to reject any further login as that user. The reason is that kde programs make use of the ~/.ICEauthority file and change its owner. To avoid this behaviour the line 'Defaults always_set_home' must be included in /etc/sudoers, which should be edited with the 'visudo' command - 'man vi' explains the editor - and cause the kde-apps to use the .ICEauthority file inside the home of the "sudo pseudo-user". Disadvantage of this workaround are authentication error messages, but the kde applications will at least run. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
Remote login as root is first-class-dangerous and should only be used inside _fully_ trusted local networks. The pam-authentication (used, e.g., for the 'regular' telnetd) requieres the tty ('terminal-id') one wants to log-in on listed in /etc/securetty (e.g. 'pts/5'). To find out which tty-id to use open a console, then 'sudo tail -f /var/log/messages', try to log-in remotely and read the log - or include, e.g., all pts/1..pts/11. The 'regular' (i.e. wu-)ftp-logins can be administered with /usr/bin/kwuftpd but the entry 'root' has to be removed or commented out from /etc/ftpusers. | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
Cygwin: Linux on top of ME | ||||||||||||||||||||||||
Cygwin is a complete Linux system running (not just) on ME. It allows to try out how Linux feels without system changes. Disadvantage is a slow console - the Cygwin X-console performs better. To install and update there is an easy to use install-program. Cygwin is well documented. Best of all: most Linux utilities and programs can run under Linux and Cygwin and ME using the cygwin-dll. Cygwin is also the only way to run the popular Postgres-database under ME. Here is, e.g., the source of a little flex-scanner, which converts all kinds of linebreaks. It can be compiled without changes under Linux as much as under Cygwin and is also usable as a pure ME program without starting Cygwin. To build flex -8 chgLineBreaks.flex, gcc -o chgLineBreaks lex.yy.c, chgLineBreaks displays explanations how to use. The free (HTML-) editor Phase 52 for win is capable to read and write files in X and win format, a useful Utility when running Cygwin. Here is a screen shot (1024x740, 40kB, png-format - some older browsers like Netscape 4.x cannot display correctly) which shows a Cygwin desktop and the build of chgLineBreaks. | ||||||||||||||||||||||||
When using (the old) gcc version 2.95 under Cygwin some sources do not compile. The compiler specs file has to be adjusted - this is not needed for actual gcc-versions 3.x. This modified /lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs file works with gcc 2.95 when Cygwin is installed in C:\cygwin. | ||||||||||||||||||||||||
% | ||||||||||||||||||||||||
| ||||||||||||||||||||||||
| ||||||||||||||||||||||||
This webpage was originally made with StarWriter 5.2 |