Contents

Copyright Notice

Contents

About This Document

This guide at a glance
Related docs
Note to Windows users
Typographical conventions

Outstanding Issues

Outstanding issues

Introducing QNX RTP

What is QNX RTP?
How to get RTP
What is QNX 6?
QNX 6 core components:
What is Photon?
Photon core components:
What is a Resource Manager?
A resource manager
What is the Package installer?
Installing a package from QNX
How to make a package
Setting up a package repository
Migrating from QNX4 to QNX6
Similarities between QNX4 and QNX 6
Differences between QNX4 and QNX 6
Planning the migration
Migrating a program
Detailed information
Migrating from another OS to QNX 6
Where to start learning about RTP
Differences between RTP and other OS

Licensing Issues

RTP licensing information

Starting Up, Upgrading, and Shutting Down

Issues to be dealt with
Installing the QNX RTP
Before you start
Installing from a web download
Installing from a CD-ROM
Troubleshooting installation problems
Initializing the system
Exactly what happens when I start RTP?
Customizing your boot image
Boot problems
Selecting command-line or GUI
Editing the system initialization file
A typical sysinit file
Executing common commands
Base-level services
Optional services
International keyboard support
Time zones and the realtime clock
Upgrading the system
Installing new software
Uninstalling software
Shutting the system down

International Support

International keyboards
Multilingual applications
International characters
International time

Working with QNX 6 Files

Introduction
Filenames
Portable filenames
Filename suffixes
Pathnames
Network pathnames
Current working directory
Home directory
A typical directory structure
Commonly used utilities
Working with directories
Working with files
Other commands
Package filesystem
What's in a package?
Package layout example
Using floppy disks
Formatting floppy disks
Starting Floppy disk drivers
How do I mount a floppy
If the floppy won't mount
Mounting a floppy on startup
Some FAQs

Using the Command Line Interface

Introduction
Keyboard basics
Entering line-oriented input
Recalling commands
Switching virtual consoles
Using multiple consoles
Changing the console fonts
Killing a process
Invoking the system debugger
Rebooting
International keyboards
Remapping the keyboard layout
The keyboard at a glance
Command basics
Understanding command syntax
Redirecting input and output
Executing commands on another node or tty
Displaying online usage messages
Using wildcards
Entering multiple commands
A note on shell scripts

Using the Graphical User Interface

Information to be added
Introducing Photon
Environment variables
Customizing Photon
Changing the default desktop configuration
Changing the default graphics configuration
Changing the default shelf configuration
Localization
Changing the time and date
Installing fonts
Using Package Manager
Customizing Package Manager
Window Manager
Using Window Manager
Customizing Window Manager
Saving your Photon session
Accessing Windows through ICA Client
Using ICA Client
Customizing ICA Client
Scheduling events
Helpviewer
Using Helpviewer
Customizing Helpviewer
Phindows
Using Phindows
Customizing Phindows
Vmail
Using Vmail
Customizing Vmail
Voyager
Using Voyager
Customizing Voyager
Using and customizing other Photon apps

Connecting Networks

Information to be added
Introduction
How the network manager gets started when you boot
What the network manager does
Configuring a machine for network connection
What can go wrong?
QNX 6 native networking
Finding nodes on Qnet
Loading Qnet
How Qnet finds other nodes
Selecting the network path
Configuring your network
One network or more?
Multiple network links
Network cards and drivers
TCP/IP networking
Introduction
QNX and TCP/IP two different network models
Some terminology explained
Nameservers
Routing
Debugging
Configuring a gateway
Configuring TCP/IP servers
Modem configuration
Serial networking
Tiny Stack
Full TCP/IP Stack
Dynamic TCP/IP configuration
PPP
Networking for Internet and mail
How To Configure Your Network Interfaces
Configuring a boot server
Installing network cards
Installing multiple cards on one machine
Setting up a server
configuring a boot server
Setting up a workstation
Setting up a node to boot off a QNX 6 network
Booting a node using a BOOTP server
Setting up a node to boot from its hard disk
Setting up multiple servers
Network examples
Configuring and starting network drivers
Adding network cards
Configuring network cards
Communicating across networks
Setting up a two-node Ethernet network
Setting up the hardware connection
Setting up network support
Checking your setup
Finding and fixing network problems
No modem detected
Incorrect serial port settings
No NIC detected
Wrong protocol loaded
No network connection
Gathering Data for Troubleshooting
Filing bug reports

Handling Character I/0

Introduction
Device drivers
Serial I/O
Parallel I/O
Fixing driver problems

Connecting Printers, Terminals and Other I/O Devices

Connecting printers
Printing with lpr
Remote printers
Filters
Filter specifications
Access control
Some /etc/printcap examples
Understanding lpr error messages
Printing with spooler
Remote printing
Connecting terminals
Connecting other I/O Devices
Audio cards
CD-ROM
Console devices
DVD
Floppy disk
Hard disk
Modems
Pseudo terminals
Video cards

Managing User Accounts

Introduction
Adding users
Removing users
Controlling access
Changing a files's access permission
Changing ownership
Changing a password
Customizing
Accounting
Logging usage
Fixing user access problems
If passwd won't work

Managing Mail and News

Introduction
Configuring user accounts for email
Logging mail usage
Managing newsgroups
Troubleshooting mail problems

Protecting Your System

Introduction
Setting up a firewall
Using CVS
Repairing leaks and finding weaknesses

Recovering Lost Data

Introduction
Backing up your data
Recovering files
Recovering disks
Overview of QNX 6 disk structure
Partitioning
The file maintenance utilities
Initializing disks
Verifying and checking disks
Archiving disks
Compressing disks
What if my system won't boot?

Building a Custom OS Image

Information to be added
Introduction
What is a QNX 6 image?
What is a flash filesystem image?
Constructing a buildfile
The mkifs utility
Buildfile format
Setting heap sizes
Setting priorities
Where to find modules
Selecting processes for an image
Mandatory processes
Disk, network, and embedded images

Setting Up Other File Systems

Introduction
Filesystem classes
Filesystems as shared libraries
Partitioning the pathname space
Using CIFS to access remote hard disks
Using the DOS filesystem manager
DOS version support
DOS text files
QNX-to-DOS filename mapping
Handling filenames
DOS volume labels
DOS-QNX permission mapping
File ownership
For more information
Using the QNX 4 filesystem manager
Links and inodes
Symbolic links
For more information
Using flash filesystems
Customization
Organization
Mountpoints
Features
Utilities
For more information
Using the NFS filesystem
For more information
Using a CD-ROM filesystem
For more information
Using a Linux Ext2 filesystem
For more information

Third-Party Applications

Introduction
Developing third-party applications
QNX Partnership benefits
Multimedia
DVD
Messaging
Games

Troubleshooting

Items to be added
Other troubleshooting hints

Getting Help

Introduction
QNX Developers Network
FAQs
Newsgroups
Reporting bugs
Updates
If all else fails

Glossary

Index