Summary: Configuring a Toshiba Portégé 320CT laptop with Linux and XFree86.
I (Ted Ruegsegger) prepared this document as:
A record of the machine's hardware and software configuration, which I'll endeavor to keep up-to-date as I make changes
A reference to guide me and others in building similarly-configured PCs
Component | Description |
---|---|
Console | Toshiba Portégé 320CT laptop with:
The I/O Bar(Port Expander), when attached, provides:
|
Processor | Intel Pentium, 266 MHz |
Memory | 64 MB EDO RAM, max 96 (one slot) |
Hard Disk | Toshiba MK4006MAV EIDE, 3909 MB |
CD-ROM Drive | none |
Graphics Adapter | Chips & Technologies B65555, 2MB |
Monitor | 10.4in LCD display, Panoramic Active Matrix Color (16:9 aspect ratio), 1024x600, 0.22mm dot pitch, 100:1 contrast ratio |
Sound | Yamaha OPL3-SA3 |
Network Card | 3Com Etherlink III 3C589D PCMCIA Ethernet card (10 Mbps) |
Modem | Internal K56Flex Voice/Data/Fax modem w/V.80 (for video conferencing); Toshiba seems loath to disclose the make and model, so it's probably a winmodem. |
Mouse | Logitech 3-button PS/2 (don't leave home without it), attached to the port expander. Note that the internal "finger joystick" is also a PS/2 "mouse," so the same configuration works with either. The external mouse must be connected at boot to be recognized. |
Floppy Disk Drive | 1.44 MB 3.25in. in external drive, attached to the port expander |
Operating System | Mandrake Linux
6.1 (enhanced RedHat 6.0) |
Graphic user interface | XFree86 3.3.5-3, K Desktop Environment 1.1.2 |
It's probably a good idea to install the flash BIOS upgrade and any others, obtained from the Toshiba website (see References).
To access the BIOS, hit Esc right after boot, before the Toshiba logo shows (if you miss, hit Ctrl-Alt-Del immediately and try again). Use PgUp/PgDn to switch between the two pages.
Set (and note) the parameters for the various devices, in particular, the sound card.
On page 2, under PC CARD
, set Controller Mode=PCIC
Compatible
, or the PCMCIA ethernet card won't work.
Boot the Linux install media and carry out the installation procedure. Some notes:
bootnet.img
) to access the CD via Snuggles. In case of
repeated installations, don't forget to make a kickstart configuration
file, copy it to the installation boot diskette as /ks.cfg
and specify linux ks=floppy at the LILO prompt.fdisk
or Disk Druid,
specifying 2000MB for the root partition, 127MB for swap, and the rest for
/home
:
Disk /dev/hda: 128 heads, 63
sectors, 993 cylinders Units = cylinders of 8064 * 512 bytes |
||||||
Device | Cyls | Start | End | MB | Type | Mount Point |
/dev/hda1 |
508 | 1 | 508 | 2000 | 83 Linux native | / |
/dev/hda2 |
485 | 509 | 993 | 1910 | 5 Extended |
|
/dev/hda5 |
33 | 509 | 541 | 130 | 82 Linux swap |
|
/dev/hda6 |
452 | 542 | 993 | 1780 | 83 Linux native | /home |
Total | 993 | 1 | 993 | 3910 |
Fully-qualified domain name | pikachu.home |
IP address | 192.168.0.100 |
Subnet mask | 255.255.255.0 |
Gateway | 192.168.0.250 |
DNS servers | 131.131.131.131 131.131.10.20 131.131.20.20 |
On | Off |
---|---|
apmd atd autofs crond gpm httpd inet keytable linuxconf lpd named netfs network pcmcia portmap random sound syslog |
amd anacron arpwatch bootparamd dhcpd gated mars-nwe mcserv nfs nscd postfix postgresql routed rstatd rusersd rwalld rwhod sendmail smb snmpd squid xfs xntpd ypbind yppasswdd ypserv |
sndconfig
to set up sound--this is best done
immediately or, at least in older versions, it will fail. Note that the
built-in speaker may be very faint, even with the volume cranked up. After
installation, adjust the sound card settings using a mixer tool. For the
setup, it's best to plug in external speakers.
audio
group. Be sure to add anyone who needs sound to
the audio
group (or else make those files read-writable
by everyone)./home/config
(reference copies are in the config
subdirectory relative to this
document).File | Notes |
/etc/X11/XF86Config |
This file started as a cross between the results of
|
/etc/bashrc |
Aliases |
/etc/conf.modules |
Shouldn't require any additional work after sndconfig
adds the sound modules. |
/etc/hosts |
Hosts on LAN. |
/etc/httpd/conf/access.conf (optional) |
Note: the initial
access.conf file supplied by Mandrake relaxes access
permissions considerably, compared to earlier versions and,
presumably, the default supplied by Apache.
This variation is more restrictive in general, but allows access to
user web pages by adding a Directory section
for them. Remember to restart apache: |
/etc/nsswitch.conf |
Name service polling order |
/etc/profile.d/local.sh |
Environment variables |
/etc/skel/.bashrc |
Place reference to global /etc/bashrc at beginning, not
at end |
/etc/sysconfig/network |
RedHat's network config file, from which the others are generated |
/root/.bashrc |
Not the same as /etc/skel/.bashrc |
Set up automount maps (be sure the server's /etc/exports
file
includes Pikachu for the appropriate shares):
auto.master |
Master map that identifies the others |
auto.home |
User home directories (mounted as under /users ) |
auto.misc |
For mounting local devices (unchanged) |
auto.pkg |
Software installation packages |
auto.public |
Shared public directory, writeable |
Create user accounts with UIDs and GIDs matching those on the file server, so we can all access our "normal" directories.
Also, create a local guest
account (uid 60000, gid 60000) with
an easy, welcoming password.
kwvdial
./dev/modem
is linked to) /dev/ttyS1.kppp
by starting
it and clicking the Setup button:
Accounts
tabDial
tabDNS
tabGateway
tabAssign the Default Route to this
Gateway
.Device
tabModem Device
to /dev/modem
.Connection Speed
to 115200.Modem
tabModem Commands
:Volume/high
to M1L3
.Terminal
:ATW2
and save it with AT&W
(this reports connect speed).PPP
tabPPP: Dock into Panel on Connect
Automatic Redial on Disconnect
Show Clock on Caption
Disconnect on X-server Shutdown
Minimize Window on Connect
with appropriate settings for the available ISPs.
eznet
(optional if kppp
is working
satisfactorily, but has the advantage that it need be set up only once):
xeznet.
/etc/resolv.conf
files for each ISP and a
dial script
that
installs the appropriate one for any particular ISP. Make the dial
script chmod 754
with group pppusers
.pppusers
group.chmod g+rw /dev/ttyS*
(they start out as
crw-------
)tty
group.For each account that will need it, set up kmail
by starting
it and specifying the ISP's mail and news
servers.
Run appfinder
to add non-KDE applications to the menu.
Some handy settings for the KDE desktop:
K/settings/windows/properties
:check Vertical maximization only by default
uncheck Display content in moving windows
uncheck Display content in resizing windows
Focus policy
:check Click Raise
check Auto Hide Panel (small delay, fast speed)
Get the tgz file from Adobe at http://www.adobe.com or as an RPM from rpmfind.net
(see References).
Get the Amaya web browser/editor from the World Wide Web Consortium at http://www.w3c.org
or, more
conveniently, as an RPM from ftp://rpmfind.net/pub/amaya/
.
Check rpmfind.net
(see References) for newer versions.
tkinter
package (tk-python bindings) to 1.5.2 or
better.http://wildsau.idv.uni-linz.ac.at/mfx/pysol.html
.Makefile
with the updated Makefile
that points to the
correct icon directory.Pysol.kdelnk
file
on the desktop, the menu, or the panel.http://www.sun.com/staroffice/
as a tar
file (I keep installation packages in individual
directories under /home/pkg
).so51inst
):so51inst/documentation/setup.pdf
but KDE's built-in PDF
reader has some trouble with it--it's a good idea to install Adobe's
acrobat reader anyway, but these steps should suffice for typical
installations./net
parameter is very important; it sets up a multiuser
installation. We could, in fact, install it on a central server but, in
this case, we're going to install it on the local box. The important thing
is that more than one user can use it. And yes, the parameter uses a
slash, not a dash.)/usr/local/staroffice51a
.so51inst
installation
subdirectory, and log out.For each user:
/net
this time.)kfm
to navigate to the
/usr/local/staroffice51a/bin
directory and click
setup
. Note that it takes a while before it displays
anything.Jonathan Buzzard's tools (see References). At
time of writing, stable release was 1.1 and developmental release was 990830.
Fan
turns fan on and off, but always reports it as off.
Developmental release has some buggy Makefiles (tries to install nonexistent
manpages; installs executables in /usr/local
instead of
/usr/local/bin
). Tuxtime
crashes a lot, but does
detect low battery: When I configured Pikachu, the battery was defective, and
the alarms kept popping up every few seconds. They were exactly correct, but I
couldn't find a way to shut them off!
All the same, these promise to be very useful when Buzzard finishes them.
doc/mandrake/en/mdkuserguide/index.html
/usr/doc/mandrake/en/mdkuserguide/index.html
http://www.linuxmandrake.com/en/fdoc.php3
(Installation and User guides are separate)http://www.linuxmandrake.com/
http://www.csd.toshiba.com/cgi-bin/WebObjects/Toshiba.woa/wa/ssDownload?series=59
rpmfind.net
http://www.rpmfind.net/linux/RPM/ByName.html
http://www.buzzard.org.uk/toshiba/
include:
His Technical Documentation is useful, too, at http://www.buzzard.org.uk/toshiba/docs.html
http://www.tce.co.jp/linux/
http://www.onelist.com/community/linux-on-portege
http://www.yy.cs.keio.ac.jp/~sanpei/note-list.html
http://www.cs.utexas.edu/users/kharker/linux-laptop/
http://www.kd-dev.com/~dereks/toshiba/