|
|
Robert B. White
14 Sep 2008 |
Have a look at this MAJOR resource for Linux help: http://www.howtoforge.com/.
These are my notes from installing Fedora Core 7.0.0 (27 May 2007) Linux on a WinBook W245 which had previously run SuSE Linux 10.2 with fair success. SuSE 10.3, however, would not start the X-Display on this machine, so I elected to fight Fedora Core 7 for a while instrad of SuSE 10.3. Fedora Core ran the X-Display "out of the box" and accepted the 915resolution patch to use 1280x768. Linux is the primary OS. Some of the "recipes" following are specific to my machine(s), but most apply generally and even the specifics can be understood as recommendations.
Download the installation CD from: http://fedoraproject.org/get-fedora
If you're installing Linux for the first time, have a hard disk which you can use just for this so you can experiment. Even if this is an update, you should have a spare HD for experimentation. Updates are NOT a "slam-dunk" You will probably make more than 1 "initial" installation before you're satisfied with the result, so don't destroy your existing system. Linux (at least SuSE) includes all the tools you need to easily set up multiple boot systems. Since Linux can read Windows file systems, you will be able to access all your existing files from Linux. Windows, however, cannot access Linux file systems.
Please note this is a "what to do" which needs some prior knowledge of how to carry out the actions recommended. A full "how to" for a new first time installer is more than I want to write now!
| Return to Menu |
Under the Windows OS's through Win 2000, you're allowed one "primary" partition and an optional "extended" partition. In the extended partition you can make as many (within some limit) "virtual" partitions as you want.
Under most (all?) Linux distributions you're allowed up to 4 "primary" partitions, each of which can be further divided into many "virtual" partitions. There will be a provision in the installation software to specify these partitions and whether you want them formatted.
In order to properly prepare a hard disk for suspend-to-disk on your laptop, you will need to make sure there is enough space free to accommodate an additional hibernation partition. The hibernation partition must be a primary partition (1-4), and the required size will be determined by the amount of physical and video RAM in your laptop. To determine the size you need to make the partition, as root run:
lphdisk --probeonlyUnfortunatelu Fedora lacks this utility. Possibly http://www.procyon.com/~pda/lphdisk is a solution.
Having created a primary partition of the proper size using a disk partitioning utility, you should set it to type A0 hex (identified by fdisk as "IBM ThinkPad Hibernation" though "Phoenix NoteBIOS Hibernation" would be a more correct label).
lphdisk will then locate, verify, and format this partition for use. At this point you will need to reboot the system so that BIOS can locate and use the new hibernation partition.
Here are my recommendations (remember to add a "primary" partition on a laptop if you want to be able to suspend it):
/home, which is where all user
data lives.
If 2 disks aren't possible, don't worry about it, user data will automagically appear in the same place in the file system and you can upgrade later.
As a minimum, create 2 primary partitions on the first disk:
swap and / (root), in this order.
If your BIOS requires that the bootable partition fit within
the first 1024 cylinders of the disk, then you may want to
create 3 primary partitions in the order /boot,
swap and / (root).
A /boot partition does not have to be very large, mine currently uses 19MB, so a 50MB
allocation should be plenty.
If all partitions are "ext3" /boot would need to be separate only
in case of cylinder limits mentioned above.
The installation program will connect all these together correctly.
Be sure to make the / (or /boot if
you use it) bootable.
You always want swap near the beginning of the disk to avoid
having to work the heads over the whole radius of the drive.
The file system tries to concentrate data towards the beginning
of each partition.
If you want to run DOS-emu, version 0.98 gives better disk access than more recent ones. This version also allows copy and paste via mouse, and generally works better than running DOS in a VMware emulation. Provide a primary partition, 100MB to 500MB should be plenty. Make this the first partition of you want to boot DOS directly.
Similarly, if you want a dual-boot system with Windows, allocate the first partition as a primary one and specify a windows file type. Install Windows before installing Linux. Linux can use entirely secondary partitions. DOS-emu could then be in the second primary partition. DOS would then not be bootable, but will work fine in DOS-emu. DOS-emu needs a real floppy drive to initialize it's HD. I've not yet figured out ho wto do this on the floppy-less WinBook!
With 10.2 "Reiser" is no longer the default file system, and has declining support. Take the "ext3" default unless you have a good reason to do otherwise (and there could be good reasons...). Fedora does not offer "Reiser", which is worrisome after having survived some file system freezes with SuSE and "Reiser". On the WinBook this was related to Xosview disappearing and somehow blocking the file system. On the deskside, IDE drivers on the motherboard may have gone intermittent. Shifting to a SATA plug-in card and SATA disk drives has resulted in no more freezes on the desktop. (so far!). I stopped running Xosview on the laptop.
There is no really firm rule for swap partition size. It should be as large as memory, some OS's recommend 1.5 times memory. If your distribution recommends a value or you have a rationale for a value, use it. Otherwise use at least as much as memory size, or up to 1GB if memory is less than this.
Always format, it cleans up whatever cruft is already on the disk.
| Return to Menu |
If you're running a private or home ether-net (and you SHOULD be doing this on the LAN side of a hardware firewall even if you have only 1 computer!) set up your home network / DHCP server to use one of the following address ranges:
# Request for Comments: 1918
# Address Allocation for Private Internets
#
# From: http://www.isi.edu/in-notes/rfc1918.txt
#
# 3. Private Address Space
#
# The Internet Assigned Numbers Authority (IANA) has reserved the
# following three blocks of the IP address space for private internets:
#
# 10.0.0.0 - 10.255.255.255 (10/8 prefix)
# 172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
# 192.168.0.0 - 192.168.255.255 (192.168/16 prefix)
These are un-routable addresses and will help protect your computers. Normally you use an address in the last range, which is for "Class C" networks. Your hardware firewall should do the necessary Network Address Translation (NAT). If there's an option to do NAT, enable it. If your hardware firewall doesn't do NAT, replace it with one that does.
| Return to Menu |
One SERIOUS problem noted immediately is that the X11 display system presents a 1024 x 768 display despite all SAX settings at 1280 x 768. This can be corrected!
Look for commands in /sbin incorporating the name "resolution", as:
ls -l /sbin | grep resolution
Assuming you get "915resolution",
as root run the command:
915resolution -l
and note which mode corresponds to your current display (in my case 58).
Experimentation suggets the best result is to select by horizontal pixel
count and color depth, then modify vertical pixel count to suit.
Then do the following:
Unfortunately, while this works it isn't "permanent", needing to be done
every boot.
This command needs to be added to /etc/rc.d/rc.local as:
# REMEMBER THE '&', ELSE BOOT HANGS HERE!! /sbin/915resolution 58 1280 768 &
Thanks to "User:Jvdoever" at http://en.opensuse.org/User:Jvdoever for the analysis which led to this correction!
Running W2K within VMware resulted in approximately 80MB of memory swapping in a 256MB system. This makes VMware effectively useless for Laptops (or any other machine) with less than 512MB memory, and 1GB is a whole lot better.
NB: 2 PCMCIA slots were available in the ChemBook laptops. Some of the following does not, therefore, apply to the WinBook or any other laptop with fewer than 2 PCMCIA slots.
On the laptop, have the SCSI and Fire-Wire cards (in general everything other than networking cards which you expect to use) inserted initially so they will be detected by hardware probes and the drivers installed from the distribution. After initial SW load remove the SCSI card and install the network one (yes, in the lower slot...) before setting up the network. (It seemed to work OK, if not error free, during a trial installation 21 Jan 2005.)
However, during tar | tar to retrieve saved data from Fire-Wire drive, transfers would repeatedly hang with the Ethernet card in lower slot. Succeeded by removing card for these transfers. Later experience indicates (32 bit) network cards will not work for long in the (16 bit) lower slot.
27 Aug 2006: attempting to copy /home to the Firewire disk
for transfer to the test SuSE 10.1 installation.
Initially disabled Ethernet port and removed PCMCIA card from upper
(32 bit ?) slot, replacing it with Firewire card.
The disk was not eager to connect and run in this configuration, and
shortly hung all processes attempting to access it.
Rebooted, disconnected the Ethernet cable from it's PCMCIA card
(required to physically insert Firewire card), and inserted Firewire
card in lower PCMCIA slot.
This works OK.
These appear not to be needed for Fedore Core, but are reported here to preserve the information.
Use the following kernel parameters, and ensure they are installed through boot loader (these work for me, you may need something different. You can safely omit them and let the installation program figure out what to use.):
acpi=off apm=on,inupower_off
Additionally, boot parameters should include:
vga=0X791 (1024x768, 16 bit color:
splash screen covers startup messages)
or
vga=0X317 (1280x768, 32 bit color:
splash screen covers startup messages, but shutdown screen is garbled)
vga=0X792 (1024x768, 24 bit color:
splash screen does not cover startup messages)
The relation between vga= and splash behavior varies with
frame-buffer VGA capabilities.
Choose a value which gives the startup display you want.
Accept default SW load initially, being sure sure to include:
System -> Add/Remove Software -> Search -> rsh.
and
System -> Add/Remove Software -> Search -> rsh-server.
rsh must then be enabled in:
Administration -> Server Settings -> Services -> On Demand Services
Be sure to include "gftp" a graphical FTP tool comparable to window's "FileZilla". gftp works well with the one web hosting site on which I've tried it.
A USB scanner works correctly on both desk-side and laptop.
| Return to Menu |
Reboot at this time may not be necessary, but some aspects of setup work better if you do. Also, if you do an on-line update which installs a new kernel, ALWAYS reboot after kernel installation before doing anything else- you do want the new kernel running, don't you? Installing a new kernel is about the only change which requires a reboot.
Remaining actions can be done in approximately the sequence given. Exact order given is not required for most of the rest, I've ordered the steps as were convenient for me and may change this in the future.
As soon as possible after this reboot, copy
/usr/share/doc/packages/gvim/gvimrc_example.vim to
/etc/gvimrc
Then edit the file and change the line "set guifont=monospace"
to "set guifont=monospace\ 8" for a laptop or 9 for deskside.
| Return to Menu |
A SuSE KDE user area copied to Fedora will not allow an X-Display to start. Need to determine why. Created a new KDE user in Fedora and logged into it to establish a working setup. Then copied the following files and directories to the imported SuSE KDE user:
.dmrc
.qt
.mcop
.kde
.config
.local
.gnupg
.mcoprc
.kderc
This resulted in a working login, though the launcher icons needed re-positioning, not a big deal. Next, restore all original items and see what happens.
What happens, unexpectedly, is that login succeeds! The SuSE display appears to use larger fonts than Fedora. Icon positions are preserved. I set up scripts to switch between Fedora and Suse, which worked repeatedly. Some other directory or file appears to hold the icon positions, and I still don't know what prevented the initial login.
| Return to Menu |
K Menu -> Control Center -> Desktop -> Window Behavior: set "focus follows Mouse" and un-check "click to raise" You may prefer other settings, please use what works for you!
K Menu -> Control Center -> System Administration -> Login Manager -> Convenience: Preselect user and focus on password.
/usr/share/apps/kdisplay/app-defaults/XOsview.ad:
is a rudimentary defaults file. You may want to add some of the
following.
On the WinBook I found it sufficient to add the parameter "+bat"
to the command line.
set "*disk:" to True. <- wasn't needed
On a laptop, also in this file set "*battery:" to "True"
(Or not: in SuSE 9.2 XOsview displays the battery monitor without the above
change and without +battery on the command line!)
Unfortunately this DOESN't cause XOsview to display
the battery monitor.
The reason is the behavior of /usr/bin/X11/xosview, which is a shell
script.
It's deductions about battery fail in SuSE 10.0 and 10.1 (though they were correct for
9.2 based on not needing to set "*battery:" to "True")
A quick fix, on a laptop, is to change in the last line of xosview $bat
to +bat, thereby forcing battery display.
To accommodate the longer display, in /usr/share/X11/app-defaults/XOsview
change the display's geometry from "184x158"
to "184x250".
Edit /usr/share/X11/app-defaults/XTerm: comment out ScrollBar
Except "ScrollBar" doesn't exist in the Fedora version of this file.
Read the man page, or include the command line parameter "+sb" in
a launcher.
yast2: System -> /etc/Sysconfig Editor: run updatedb as root.
Haven't found the equivalent of this (14 Oct 2007) or determined whether
it's needed.
Configuration file is /etc/updatedb.conf, but
man updatedb and man updatedb.conf
do not reveal how to implement this control.
Set up network initially on 192.168.2.x, getting x from another
system's /etc/hosts.
But it looks as if it's still necessary to edit /etc/hosts to install
the new machine's IP address.
After installation ftp in the complete file from another machine.
As a minimum, the following will be useful to access other machines
on the home network to get a copy of /etc/hosts (you use addresses for your network):
192.168.2.1 router.my-home router
192.168.2.12 rel-home.my-home rel-home
192.168.2.16 bob-port.my-home bob-port
192.168.2.20 print-serv.my-home print-serv
Fedora lacks a means to discover print servers on your local network. You'll need to know their names or IP addresses.
Network printer can be set up if it's name or IP address and queue are supplied: 192.168.2.20 (in my case). The default printer should be identified as lp here and on all machines. Other printers can be added and named as desired.
I've experienced problems with color printers. A (refurbished) Epson Stylus Photo R300, for example, printed the gray bars of the YaST / CUPS color test pattern as tan. Prints using the MacBeth color chart (gretagmacbeth_colorchecker-rgb-cmy-dkblks_v1.tif) were not correct. See Color Targets for Digital Imaging. Applying a gamma of 1.6 to the printer helped a bit, but was still not correct. Printing from gimp was much worse, and proved to be unusable for accurate (or even acceptable) color rendition. The Epson printer which preceded this one was VERY good for color until its ink channels dried up and it quit printing.
Akkana Peck, author of "Beginning GIMP From Novice to Professional", says that GIMP's printing mechanism causes the color problems I've indicated. The best cure is to NOT print directly from GIMP.
Replacing the Epson R300 with an HP 8250 improved color rendition to acceptable (except from gimp). Printing the MacBeth chart from the printer's native Windows software produced good colors which were matched very well by printing from gwenview in Linux. The CUPS driver for HP 8250 does not have any color adjustment, and does not allow selecting the printer's maximum resolution. Gimp has only 2 HP drivers, 1000 and 1100. These will drive the 8250, but very badly.
The HP 8250 has another problem: printing to it from acroread ALWAYS rotates the page image to landscape, regardless of what combinations of page orientation I've used in acroread, printer setup, and the program which generated the original file. Page orientation on the Brother HL-5140 is always OK.
Printer drivers can be a problem in Linux. See Linux Foundation's Open Printing Web page for what is likely to work and where to get drivers. Thanks to Smart Computing Magazine, July 2007,page 44 for this tip.
This is really slick: it sets your clock on every boot-up.
K Menu -> Administration -> Date & Time -> Network Time Protocol
Enable Network Time Protocol and add servers as needed.
Fedora proposes 3, I have used these previously:
## 20 Sep 2005 revised order to match current responders. rbw
server clock.sjc.he.net # 216.218.254.202 Hurricane Electric, San Jose, California Contact: support@he.net
server zorro.sf-bay.org # 192.83.249.28 Added 20 Sep 2005 because it has been responding. rbw
## 20 Sep 2005 neither time.berkeley.netdot.net nor 216.27.190.202 are found within 30 hops by traceroute
## server time.berkeley.netdot.net # 216.27.190.202 Berkeley, CA Contact: Caleb Haley (chaley@netdot.net)
## 20 Sep 2005 ntp1.sf-bay.org resolves to zorro.sf-bay.org but the IP address is not found in 30 hops (traceroute)
## server ntp1.sf-bay.org # 207.126.97.57 US CA ntp1.sf-bay.org San Jose, CA # Contact: Scott Hazen Mueller (clockmaster@sf-bay.org)
14 Oct 2007: To be checked and edited later.
Unfortunately pure-ftpd is omitted from the 10.2 distribution.
See MISSING UTILITIES
for how to get a copy and install it.
| Return to Menu |
14 Oct 2007: To be checked on Fedora system.
.
This was needed on the laptop, and reported from 9.2.
I haven't yet tried this with 10.2.
The "Firewire" works in the "tower" machine using
the drive's USB 2 port.
This is more convenient because I have a pair of USB extensions
on my desk near where the disk can sit.
Be sure to plug the disk into a USB 2.0 connector, NOT
USB 1!
I haven't tried the disk on the "tower" machine with Firewire as of 27 Aug 2006.
The module "sg" is needed for the (non functioning) scanner but not for
the FireWire disk, so it's not in the following list.
On the deskside with KDE, the Firewire disk starts on being plugged into a USB port. It is automatically recognized as a "Memory Stick" and a Konqueror window opened for it. I have found no provision to unmount it after use. Closing the disk's Konqueror window before disconnecting it seems to be adequate. The drive must then be powered off at it's power button.
| Return to Menu |
Fedora's default firewall setting completely disables connecting to the X-Server from external machines.
However, the version of who has changed again, so see the
changes to .cshrc below to correctly set the environment
variable DISPLAY.
However, in Fedora it is MANDATORY to turn off the firewall to allow X-Xpplications from other machines to display on this one. Disabling SELinix is insufficient.
Be sure to include in .cshrc or equivalent some instructions
to set DISPLAY, or remote access to the X-Server still
won't work.
`who -m` returns:(hostname) for a remote login, this can be
detected directly. It will be the last parameter in the return.
I'm currently using in .cshrc the following snippet:
set WMI = `who -m`
if ( 0 == `echo $WMI| grep -c '('` ) then
# Local login because NO hostname appeared in the response.
# Must use form '0:0' so xhost believes this is a local machine.
setenv DISPLAY 0:0
## echo "#1 set DISPLAY"
else
# Remote login because hostname appeared in the response.
set REMOTEHOST = `echo $WMI[$#WMI] | tr -d '()'`
setenv DISPLAY $REMOTEHOST':0'
endif
unset WMI
xhost + >> /dev/null
Parameter position in who output varies with version,
so check position if this code doesn't work for you.
If you want to run DOS-emu (xdos), (as root) install the font
vga_cyr8x16
as follows:
cp -p vga_cyr8x16.pcf.gz /usr/share/X11/fonts/misc/vga.pcf.gz
cd /usr/share/X11/fonts/misc
mkfontdir
so DOS-emu will display correctly. Restart X-Server to make this font effective.
I strongly recommend using DOS-emu version 0.98.1. More recent versions work well and may not need the font file installation mentioned here, but believe the drive is network mounted and so will not allow running defrag and scandisk.
| Return to Menu |
(in all KDE logins) If Firefox or ThunderBird are installed add their desktop icons.
For a good on-screen clock, try:
xclock -d -update 1 -bg green &
and position it conveniently.
Initiate it from Run Command... right-click desktop (it's no longer in the "K" menu).
KDE will remember this command and subsequent position for your next login.
Should you inadvertently kill the clock, you'll have to restart it
from the above command.
Possibly one would want to add it to
Utilities -> Desktop in the "K" menu.
.openwin-init.Xresources.xinitrcmv .openwin-init .not.openwin-init.mv .Xresources .not.Xresourcesmv .xinitrc .not.xinitrccp -p /etc/skel/.xinitrc.template .xinitrc
| Return to Menu |
xine does not play DVD's out of the box.
Remove it if installed.
Be sure to NOT remove xinetd if you clean out xine to replace it
with a (working) version from outside the distribution DVD!
But it's different again with 10.2.
I'm not completely sure what's needed to make Xine work, but
the following at least is needed.
This information came from Jem Matzan's article
"Hacking OpenSUSE"
referenced at the end of this file, and from instructions at www.xinehq.de.
Be sure to read Jem's article!
su root
rpm -i <files_listed above>
Remember to install as root!
After installation the system should auto-start Kaffeine (if installed) upon inserting a video DVD. To play a video DVD with xine, start xine from the "K" menu, then click "DVD".
If xine does not start automagically on inserting a Video DVD, first remove any
existing .xine directory, then start xine from a command line
and let it rebuild the .xine directory.
Also be sure to set:
GekkoMenu -> Configure Desktop -> KDE Components -> File Associations -> media -> dvdvideo
Use /sbin/hdparm -t to test disk access times on your system.
See also the man page.
hdparm did not report significant improvement to the WinBook laptop.
However, DVD Video motion on the laptop was slightly jerky without the following
command for /dev/hdc, and distinctly smooth with it, so I added the line.
to /etc/init.d/boot.local.
# 22 Nov 2004 Attempt to set hdparms at boot time since
# '-k1' appeared to not persist over reboot. rbw
/sbin/hdparm -c1 -u1 -d1 -k1 /dev/hda
/sbin/hdparm -u1 -d1 -k1 /dev/hdc
Also add the following to the same file to speed up DVD writing (may not be needed with 10.2, but WAS for 9.0):
# 22 Nov 2004 added per "IDE CD Writer" FAQ on SuSE website. rbw
#
/sbin/modprobe ide-scsi
| Return to Menu |
Sound recording using "krecord" worked well on the deskside machine (under SuSE 10.0) AFTER removing a SondBlaster card and using instead sound drivers built into the motherboard. Sound recording on the WinBook 245 resulted in a very annoying ringing from transients and high pitched (3KHz to 5KHz?) sounds. It was essentially unusable. 10.2 is at least as bad, for example a piano sounds like a harpsichord.
Sound driver usually did not work.
It works for root more often than for non-root users, but
chmod 666 /dev/audio does not always correct the situation,
and in any case shouldn't be repeatedly needed.
(Initially /dev/audio is chmod 600.
Kaffeine (/opt/kde3/bin/kaffeine) plays audio CDs and can produce
louder volume than other players.
It's track lister is a bit flaky getting started.
It's equalizer is non-functional on rel-home at least.
alsamixergui (/usr/X11R6/bin/alsamixergui) is a good mixer, but
don't use alsamixer.
Worse, it usually freezes a few seconds after starting.
Killing the gui with xkill does not stop the underlying program, which may
then either raise CPU load needlessly or block other access to the sound driver.
(But this is NOT the fundamental problem with the sound driver.)
The default KMix (under the loudspeaker icon at the right of the taskbar)
works quite well, so alsamixergui may not be needed.
Ensure after replacing a DVD or CD drive that the audio cable goes
to the CD / DVD connector on the sound card and isn't hiding on
some other connector!
When the default CD player is running it's interrupt rate is frequent enough to
make the "K" menu unusable.
Fortunately, if the player is killed the CD keeps on playing...
| Return to Menu |
Classic ftpd is no more with this distribution, nor is pure-ftpd.
Secure ftpd allows only anonymous connections with no cd capability.
Use instead pure-ftp (not in the distribution, see
MISSING UTILITIES ).
BUT: DON'T use pure-ftp with SuSE 8.x.
pure-ftp will have to be started by boot.local.
| Return to Menu |
KDE no longer allows changing the window manager list in the control -> session manager tab. In particular, olvwm no longer exists.
In each user's home directory need to remove the existing .xinitrc
which forced olvwm and copy in a fresh version of .xinitrc.template
to enable any window manager to start.
| Return to Menu |
On 9 May 2007 VMware 6.0 appeared at http://www.vmware.com/ It installs per the instructions given below for 5.x. Unfortunately the toolbars at the top of VMware's window are no longer unpinnable, costing about 0.5" of height. On a deskside machine this makes no difference, but on a laptop it hurts! This VMware version retains the USB connection restored in a recent Kernel patch (to 2.6.18.8-0.3 ). The good news is this version runs Vista. There is still no capability to copy or paste by mouse in a DOS emulation.
VMware does not establish host file system connections when the Ethernet
adapter is swapped out for Wi-Fi.
No DHCP servers are started on any virtual Ethernet.
Furthermore, from the Workstation 5 User's Manual, page 309,
Additionally, wireless network bridging is supported for Windows hosts.
Note: NOT for Linux hosts!
Making a fresh install with the Wi-Fi adapter running instead of the Ethernet
one at least allows both vmnet1 and vmnet8 to start and run.
This configuration, with NAT selected instead of bridged, allows external network access.
Unfortunately this does not allow access to the host file system from the
guest Windows OS.
VMware: needs kernel sources to install. Updating a kernel requires re-installing VMware, so use the following instructions. An apparently successful sequence is:
cd /usr/src
linux* (which should be all)
km_vmware* does not exist in 10.2.
vmware-config.pl
do the following as root:
This is abstracted from "How to install VMware 5.0 workstation on SUSE Linux 10.0"
By Joe Harmon, 9 Sep 2005.
http://www.novell.com/coolsolutions/feature/15963.html
cd /usr/src/linux
make cloneconfig && make prepare-all && depmod -a
(depmod -a was not used by Joe Harmon, may not be needed.)
submount is not the problem, and I still don't know what is. However, the distribution DVD works correctly from a root login. It usually does not work from YaST invoked from a non-root login. This behavior changed by 1 July 2006, possibly with installation of SuSE 10.0. It's another case of "used to work".
SuSE 9.2 installations have not seen this problem, even with submount installed. The bottom line is: install with an rpm command line like:
rpm -i VMware-workstation-5.5.4-44386.i386.rpm
vmware-config.pl
Do you want networking for your virtual machines? (yes/no/help) [yes] <- yes
. vmnet0 is bridged to eth0
Do you want to be able to use NAT networking in your virtual machines? (yes/no/help) <- yes
Do you want this program to probe for an unused private subnet? (yes/no/help) <- no
What will be the IP address of your host on the private network?
inet addr 172.16.64.1
netmask 255.255.255.0
. vmnet8 is a NAT network on private subnet 172.16.64.0.
Do you wish to configure another NAT network? (yes/no) [no] <- no
Do you want to be able to use host-only networking in your virtual machines? <- yes
Do you want this program to probe for an unused private subnet? (yes/no/help) <- no
What will be the IP address of your host on the private network?
inet addr 192.168.47.1
netmask 255.255.255.0
. vmnet1 is a host-only network on private subnet 192.168.47.0.
Do you wish to configure another host-only network? (yes/no) <- no
You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".
vmware-config.pl):
cd /lib/modules ; depmod -a
This step is REQUIRED before reboot with VMware 5.x also.
Deceptively, the computer will run normally without this step,
but will have major problems finding modules on the next boot.
VMWARE 5.x no longer uses Samba for connection to the host Linux system. Printer connection worked "automagically" on firing up an existing installation, needing only (as Administrator) to correct the queue on the remote printer server.
Connection to the host file system is through a share, which will need to be set up for each user.
Initially leave the floppy connected. For the CD/DVD select /dev/hdc and legacy emulation. After installation, set both floppy and CD/DVD to disconnect at startup. In some cases leaving the CD/DVD connected invites the Guest OS to check the drive for a new disk about every 4 seconds. These checks briefly hang the Guest OS and are extremely annoying.
| Return to Menu |
Set up the virtual machine initially with only Bridged Networking. After installing the guest OS (in this case Windows 2000 Professional), get the first update for Internet Explorer. Following the obligatory reboot, defrag the windows disk. Continue alternating updates with defrag until all updates are installed (approximately 60 in May 2005).
Any time after the first IE update, shut down the virtual machine. Edit VM settings to add a second Ethernet adapter for Host-only Network. After restarting the guest OS, it should discover the new adapter and install a driver. Now the host's file system should be available. If you have set up SAMBA access accounts you can test this from "Network Places" or "Windows Explorer".
VMware has for several versions omitted connecting to the host's printer system through "SAMBA Lite". This omission prevents printing from the guest unless the local network has printer(s) on it. If it does, the following settings in Guest OS printer set-up will provide printer access.
192.168.2.20)
| Return to Menu |
VMware 5.x no longer provides "Samba Lite". Fortunately, as noted above, it's not needed. Connection to host file system works by shares.
Kernel 2.6.18.8-0.3, delivered in a patch installed 3 May 2007, restores
/proc/bus/usb.
This directory is empty, but is available as a mount point.
Thus, adding to /etc/fstab, after the line containing /proc,
the line:
/dev/bus/usb /proc/bus/usb usbfs defaults 0 0
makes USB again accessible to VMware guests.
This solution is from:
http://www.vmware.com/community/thread.jspa?messageID=489640
Novell has changed USB structure in 10.1 :-( . You have to (under root):
mount -t usbfs /dev/bus/usb /proc/bus/usb
You can also add a line in fstab (to mount usbfs at system reboot)
but add this line after the line containing /proc:
/dev/bus/usb /proc/bus/usb usbfs defaults 0 0
The above connects the Panasonic voice recorder to the emulated windows,
but attempting to access the recorder from it's application program abends Windows.
Problems connecting USB 2.0 devices through VMware's USB 1.1 "port"
have been mentioned.
However, usbview describes the recorder in question as a 1.1 device,
so there is some other problem.
SuSE 10.0 on the deskside machine has a related problem in that the recorder
does not connect through at least one of the 4 external USB ports,
but does connect through at least one other of them.
| Return to Menu |
Fedora provides Firefox version 2.0.0.5, but 2.0.0.7 is current at 14 Oct 2007.
No upgrade has been offered so far.
Remove 2.0.0.5, which has not connected to Real Player, and install
2.0.0.7 from downloaded files.
Default location was: /usr/bin/firefox
Unfortunately attempting to start firefox 2.0.0.7 elicits:
/opt/firefox/firefox-bin: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
Attempting to start Thunderbird elicits the same error.
libstdc++ - 4.1.2-27.fc7.i386 is already installed
Install compat-libstdc++-33 - 3.2.3-61.i386 and see if this helps.
Firefox started with a large collection of command line errors, but it DID start!
It already is connected to Java and RealPlayer.
Firefox attempts to edit WMNR's RealPlayer stream.
It starts RealPlayer on the MP3 Player stream, but RealPlayer claims the audio
device (otherwise unspecified) is busy and does not connect.
Added several ALSA support files, now in the root account Firefox automagically
uses RealPlayer to listen to WMNR's Real Player stream.
Unfortunately ALSA Mixer freezes shortly after starting for both root and non-root users.
Even more unfortunately, RealPlayer still fails for a non-root user unless
/dev/audio is set to chmod 666 and the MP3 stream is selected.
Later it turned out this was irrelevant, and connection to the audio device is
unpredictable.
In Mozilla and Firefox, use the url about:config to view and
control settings not available from the Edit -> Preferences menu.
In Linux, Firefox doesn't know how to start Thunderbird for a mailto:.
See "Launchy" below for a workaround.
Firefox from the distribution CD / DVD installs into /usr/lib/firefox,
starts from firefox.sh instead of firefox,
and automagically knows about Flash.
If you install Firefox from the distribution CD / DVD you will be forever plagued
by popup ads.
I recommend downloading Firefox from
mozilla.com
and installing it into
/opt/firefox.<version>, which is linked by /opt/firefox
.
Following browser installation (Firefox at least, also Mozilla if you use it)
several plug-ins need installing:
Thunderbird is a mailtool only.
I don't know which of these it needs.
Thunderbird setups should be similar to the following.
I recommend installing to /opt/firefox, /opt/mozilla, etc. to reduce
clutter in /usr and /usr/local.
Java will take care of itself, and It's a large and complex enough installation.
I recommend letting it go to the default location, even if there is a choice.
Check for what's there by entering "about:plugins" in the browser's
URL window and hit "Enter".
When setting up Thunderbird, or Mozilla's mailtool, observe the following cautions:
Edit -> Account Settings -> Server Settings (Thunderbird)Edit -> Mail & Newsgroups Account Settings ->
Server Settings (Mozilla)prefs.js for Thunderbird or Mozilla mail tool ensure a line like:
user_pref("mail.server.server1.login_at_startup", true);
appears.
This causes the mailtool to start with the in-box displayed instead of a
(sort of) "splash screen".
Changing "true" to "false" is the same as omitting the line.
prefs.js for Thunderbird or Mozilla mail tool ensure lines like:
user_pref("mail.server.server1.directory", "/home/<user>/.mozilla/<path_to>/Mail/<name_of_mail_server>");
user_pref("mail.server.server1.directory-rel", "[ProfD]Mail/<name_of_mail_server>");
appear.
These lines couple in the directory which contains mail folders.
This is the easiest. Your distribution should have both runtime and development versions. Install at least runtime package (JRE) java-1_4_2-sun or later, install j2sdk for development.
Get updates from http://java.sun.com/
Do the following as root:
Following installation run "updatedb".
Then cd to each browser's plugin directory, for example:
cd `locate /firefox | grep '/plugins$'` ; pwd
cd `locate /mozilla | grep '/plugins$'` ; pwd
If these commands return more than one response, you get to figure out which one
to use.
In each directory run the command:
ln -s `locate libjavaplugin_oji.so | grep /java | grep -v gcc`
This has multiple versions, with current Linuces you'll need "RealPlayer 10", which is in SuSE 10.1 at least.
NB: it's tempting to "ln -s" instead of "cp -p", and linked files
will work.
However, linked files drastically slow Firefox's
response to changing selections from, for example, bbc.co.uk/radio
based on tests 14 Apr 2005- use 'cp -p'!
Do the following as root:
Following installation run "updatedb".
Then cd to each browser's plugin directory, for example:
cd `locate /firefox | grep '/plugins$'` ; pwd
cd `locate /mozilla | grep '/plugins$'` ; pwd
If these commands return more than one response, you get to figure out which one
to use.
In each directory run the command:
ls -lt `locate nphelix.so | grep -v /lib/`
Copy the resulting file into the plugins directory.
Then cd to each browser's components directory, for example:
cd `locate /firefox | grep '/components$' | grep -v extensions` ; pwd
cd `locate /mozilla | grep '/components$' | grep -v extensions` ; pwd
and run the command:
ls -lt `locate nphelix.xpt | grep -v /lib/`
Copy the resulting file into the components directory.
Starting October 2005 I've noticed many annoying pop-up ads could not be blocked by Firefox. These ads were presented by Shockwave. You may wish to NOT INSTALL SHOCKWAVE to prevent these ads from appearing. The extension Adblock can mask Shockwave pop-ups, but cannot prevent them. Best control is to not install Shockwave / Flash.
If you install Mozilla or Firefox from the distribution media instead of by
download from mozilla.org, in SuSE (at least) Flash will be found "automagically"
without the following installation steps.
This is because the distribution versions (at least) know to look for plugins in
/usr/lib/browser-plugins.
Renaming libflashplayer.so and flashplayer.xpt
does NOT hide them!
Fortunately, moving these files to a different directory does hide them.
Version 7.x is in SuSE 9.2 at least. Possibly no action is required other than installing the package "flash-player". Check each browser with "about:plugins". If "flash-player" is installed but not recognized by a browser, then do the following as root:
Following installation run "updatedb".
Then cd to each browser's plugin directory, for example:
cd `locate /firefox | grep '/plugins$'` ; pwd
cd `locate /mozilla | grep '/plugins$'` ; pwd
If these commands return more than one response, you get to figure out which one
to use.
In each directory run the command:
ls -lt `locate libflashplayer.so | grep /lib/`
Copy the resulting file into the plugins directory.
cd `locate /firefox | grep '/components$' | grep -v extensions` ; pwd
cd `locate /mozilla | grep '/components$' | grep -v extensions` ; pwd
ls -lt `locate flashplayer.xpt | grep /lib/`
This is an extension which can enable Firefox to launch Thunderbird for a
mailto:.
Unfortunately, Mozilla cannot be similarly started because of conflicts in it's start-up
script (it wants to run mozilla-bin from the firefox directory).
Possibly come creative environment setups for MOZILLA_HOME and MOZILLA_FIVE_HOME
can correct this failure.
Unfortunately as of 20 Jan 2007 Launchy 4.2.0 does not work with Firefox 2.x,
only through 1.5.0.
When it does work, the following should install it.
You will need to install launchy, then provide instructions to start Thunderbird.
Tools -> Add-ons -> Get Extensions
launchy.xml file to tell launchy
how to start Thunderbird.
You will need to know exactly how you start Thunderbird.
Use the .xml file builder provided by Launchy:
Tools -> Extensions
launchy.xml
file for your needs.
chrome
directory used by Firefox.
Identify the directory by looking for a current copy of prefs.js.
launchy.xml belongs in the chrome sub-directory of this directory.
/home/rbw/.mozilla/firefox/dp3r1rh2.rbw/chrome, not the
/home/rbw/.mozilla/rbw/z05h6qxg.slt/chrome expected from the instructions
on the launchy home page.
mailto: in a web page displayed by Firefox,
right-click the link instead of left-clicking it.
This will bring up Launchy's menu with an option to start a Thunderbird compose window.
| Return to Menu |
18 September 2007 IBM announced it's version of "OpenOffice", Lotus Symphony, downloadable from: http://symphony.lotus.com/software/lotus/symphony/home.jspa You will have to sign up to to this, which means leaving your email, name, address and phone number. While the on screen layout is different from OpenOffice 2.x, and its internal construction is wildly different, a quick test indicates it can read OO 1.1.5 files and shares the same problems reported next for 2.x. It has its own internal web browser. It lacks the File -> Properties... dialog box of OpenOffice.
OO_2X (as of OOo_2.1.0_LinuxIntel_install_en-US.tar.gz) has no apparent means to specify web browser, email tool, etc. as did OOo_1.1.5_LinuxIntel_install.tar.gz. Konqueror becomes the default, and therefore only, web browser.
Fonts are rendered larger on screen than in OpenOffice 1.1.5, resulting in printed text occupying less page height than displayed on screen.
Furthermore, while the mail merge function can deliver it's output into a single file, each "envelope" is 2 pages. The second page was hidden and not deleteable, but would print to a .pdf file.
Web browser startup from hyperlinks in spreadsheets became corrupted after installing the FamilySearch Indexer, which uses Java WebStart. Don't know what is the connection here, except that attempting to use a hyperlink now starts javaws. There may be a connection through konqueror, which for unknown reason(s) is the browser used by OO 2 if WebStart can be disabled. The best result I could get was for OO 2 to start konqueror with a pop-up to specify the application, and then specify konqueror with the parameter %f.
Based on the above malfunctions, time to restore OO 1.5.x...
Versions starting with 2.0 have rpm packages which are thinly disguised installer file sets. At least installation (and removal!) are more convenient. 2.0 makes the OpenDocument file formats available. Shifting to these is a one-way trip. Saving to 1.x file formats is (currently) an option. 1.5 is the last 1.x version. Downloaded versions of this have installers instead of an .rpm package. The version in the SuSE distribution is packaged.
When replacing the distro copy with one from openoffice.org, first un-install the distro's package(s). Contrary to information given with 2.0, running this version before completely removing all configuration files and directories from 1.x resulted in hanging OO (as I remember). If using an installer, use the command:
./setup -net
Install it to
/opt/OpenOffice.org<version number>, then link
/opt/OpenOffice to this directory.
Set all .alias and .*menu* references to OpenOffice to use this link instead of the specific version.
After installation AND each user has started the new version for the first time:
cd /home/<user_dir>/.kde/share/applnk
and remove older directories with names in the form of:
'OpenOffice.org <version_number>'
and YES, that IS a SPACE in the middle of the directory name, hence the single quotes.
| Return to Menu |
Look for these (no particular order, just as I thought of them), from the Fedora Core 6 Installation review. (This list needs to be merged with the Missing Utilities list which follows.)
This is NOT in Fedora Core 7 distributioin nor is it found by the Add/Remove Software module. It works correctly with the distribution's Firefox (1.5) without having to do any additional installation.
Download it from: http://www.real.com/linux
Now we have a problem: Firefox uses Totem for audio streams even after Real Player is installed. Totem does NOT handle, for example, any stream from wmnr.org/listen.htm despite it's claims to do so. Removed Totem and friends.
Possibly equivalent to man -u.
man page for whatis says use: /usr/sbin/makewhatis
which works.
rup / rstatd are available from
sourceforge
as a tarball.
After following the instructions in INSTALL, also (as root) execute the
command:
make install-man
to install the man pages.
Then install (as root) the following file as /etc/xinetd.d/rstatd:
# default: off
# description: The rpc.statd server implements the NSM (Network Status Monitor)
# RPC protocol..
service rstatd
{
rpc_version = 1-5
socket_type = dgram
protocol = udp
wait = yes
user = root
group = root
server = /usr/local/sbin/rpc.rstatd
type = RPC
type = RPC
type = RPC
flags = IPv4
}
These appear to build & install without incident. For Fedora rstatd is listed in "On Demand Services" instead of the expected "Background Services" tab. The machine does NOT respond to rup from another machine on the LAN, but successfully reports other machines from rup.
Get this from:
http://rpmseek.com/rpm-pl/qps.html?hl=com&cx=0::
or:
http://rpmfind.net/linux/rpm2html/search.php?query=qps
Installed with:
rpm -i qps-1.9.7-852.i586.rpm
No problems reported. Immediately, without rehash.
which qps
responds: /usr/bin/qps. It starts & runs perfectly.
Created launcher icon which works correctly.
An hour or two after qps had been installed per the above, an update to version 1.9.19-0.2.b.fc7.i386 was offered by Fedora.(!!?)
It's supplied in package vim-X11.
Try a download from
http://sourceforge.net/projects/xosview/
2 complaints: iostream and fstream present but cannot be compiled-
missing but unspecified libraries. Appears to not install.
Version from SuSE 10.2 Linux works! Needed to copy 2 files:
/usr/bin/xosview
/usr/bin/xosview.bin
Curiously Fedora Core 6 includes an Xosview icon, even though
it lacks xosview
There is a Core 3 .rpm file, xosview-1.8.3-1.fc3.rf.i386.rpm at:
http://dag.wieers.com/rpm/packages/xosview/
which I haven't tried.
This is from
Dag Wieers
web site, which has over 3000 .rpm packages for Red Hat and Fedora.
This is included in the core6 distribution.
Fedora has this, and as with SuSE, you have to ask for it.
Have not been able to ftp to Fedora system from another machine on LAN.
Try proftpd - 1.3.0a-3fc6.i386
proftpd accepts connections but connects only to "/" and doesn't
allow cd. It also won't get a file from a path.
Try: http://ubuntuguide.org/wiki/Fedora_fc5 and look for the section: " FTP Server"
Command from SuSE 10.2 install notes works, and the clock persists over logout.
I didn't take the time to look into this. It would have the same problems as kaffeine.
See the Softpedia URL mentioned above and look for: "Install DVD/avi/mpeg/etc Player" which looks as if it can handle the situation.
This is included in the core6 distribution. As installed, it does not play my Monty Python DVD.
This is included in the core6 distribution. As installed the system detected an audio CD and played it after selecting kscd.
Fedore Core 7 lacks rup (remote uptime) and the companion rstatd
which responds to rup requests.
Consequently the local network can not be readily probed to determine which
computers are up.
If all machines on the network are listed in the local /etc/hosts
file, the following perl script emulates rup sufficiently to announce
which machines are up:
#!/usr/bin/perl
# this is needed for SuSE 10 which inexplicably lacks rup, rstatd, etc.
# 5 Jan 2005 Robert B. White
#
$DOMAINNAME = `dnsdomainname` ;
chomp $DOMAINNAME ;
open ( HOSTS, "</etc/hosts" ) or die ( "Cannot open /etc/hosts" ) ;
while ( $_ = <HOSTS> )
{
if ( $_ !~ m/#/ )
{
if ( 1 < index ( $_, $DOMAINNAME ) )
{
@my_line = split ;
## print $my_line[ 2 ] . "\n" ;
print `ping -c 1 -W 1 $my_line[ 2 ] | grep from` ;
}
}
}
close ( HOSTS ) ;
Fortunately, rup / rstatd are available from
sourceforge
as a tarball.
After following the instructions in INSTALL, also (as root) execute the
command:
make install-man
to install the man pages.
Then install (as root) the following file as /etc/xinetd.d/rstatd:
# default: off
# description: The rpc.statd server implements the NSM (Network Status Monitor)
# RPC protocol..
service rstatd
{
rpc_version = 1-5
socket_type = dgram
protocol = udp
wait = yes
user = root
group = root
server = /usr/local/sbin/rpc.rstatd
type = RPC
type = RPC
type = RPC
flags = IPv4
}
Finally, use
K Menu -> System -> Services -> On Demand Services
to toggle rstatd on (if needed) `and save the configuration.
Unfortunately rstatd does not appear to respond to rup from any machine, including itself.
| Return to Menu |
SuSE 10.2 lacks qps, a visual process manager.
This utility is a more powerful version of top, and allows
sorting the display by any column head, for example PID, %CPU, or CMDLINE;
or ordering by process tree starting with PID 1, init.
QPS can also send signals such as STOP, KILL, etc. to a process.
Fortunately qps from SuSE 9.2 works correctly, and should be copied
into /usr/bin/qps and added to K Menu -> System -> Monitor.
A possible source for QPS is:
YoLinux
| Return to Menu |
SuSE 10.2 lacks pure-ftpd, a very convenient ftp server for local networks.
pureftpd.org
has sources available, for example:
pure-ftpd-1.0.21.
Follow the included instructions to INSTALL.
pure-ftpd installed this way cannot be started from xinetd.
Instead, add the following to /etc/init.d/boot.local
# REMEMBER THE '&', ELSE BOOT HANGS HERE!!
/usr/local/sbin/pure-ftpd &
Why should you care about this?
gxditview is the on-screen PostScript viewer for groff.
Without it groff is broken for all output to screen.
The alternatives xditview and gv do not accept piped input.
ghostview is also not supplied in SuSE 10.1.
Instead use the similar kghostview.
| Return to Menu |
olvwm does not exist.
While this window manager is getting old, it allows mapping the desktop
to a virtual window several times larger than the screen, stretching
windows to fill any position and area in the virtual desktop.
Most usefully it lets the user COMPLETELY customize
workspace menus, specifying any tree structure, pinning any menu to the
desktop (comparable to a "tear-off" menu), executing any arbitrary
command from a menu button, and specifying a default commend for each
sub-menu (which can be executed just by dragging to the menu).
It can also automatically construct a menu from all files in a directory,
which is both convenient and allows dynamic menu changes.
| Return to Menu |
Starting with SuSE 10.0 enscript, contrary to its man page, does NOT default to character set ISO-8859-1. enscript command lines must now explicitly specify the font, as in:
alias enscript '/usr/bin/enscript -X 88591 '
which you might want to insert into .aliases or .cshrc
or .tcshrc if you use csh or tcsh, or an equivalent file for
other shells.
enscript will then print German special characters correctly.
Unfortunately specifying the character set does not eliminate "artifacts"
which enscript appends to some characters, apparently starting with SuSE 10.2.
These "artifacts" appear not to come from enscript since
a .pdf file which does not display them in acroread will display them
when printed.
The answer to this problem is the PPD File for the printer, see the next item.
PPD file selection for Brother HL-5140 defaults to
Brother/HL-5140-lj4dith.ppd.gz
instead of the recommended
Brother/HL-5140-hl1250.ppd.gz.
The default file offers inferior capabilities (e.g. 600 DPI printing insead of
1200 x 600 DPI), and produces artifacts randomly (but consistently) attached
to some characters.
When setting up this printer DO NOT accept the default PPD file, specify the recommended one!
Both AdobeReader_enu-7.0.5-1.i386.rpm and
AdobeReader_enu-7.0.9-1.i386.rpm produce an infinite
string of "Syntax error" messages when started.
I've never seen anything like this!!
Fortunately /usr/bin/kpdf works, at least for the
one simple ile tested.
| Return to Menu |
In April 2007 while testing software for the SPAUG CD I discovered a MAJOR resource for Linux help: http://www.howtoforge.com/. This site helps with 7 major Linux distributions and indexes 15 general topics, etc. Definitely try it!
Now it's time to read Jem Matzan's article "Hacking OpenSUSE" on Desktop Linux.com.
Also see Steven J. Vaughan-Nichols' article "Putting openSUSE 10.2 through its paces" on Desktop Linux.com.
| Return to Menu |