QNX RTOS



��������  �������:

�������
�����

�����
������������
FAQ
������

�����:
�����

shegall
Engineer

QNX:  FAQ (28.07.2k)
��������� � ��������� : 

Q: ��� ��������� � ������� ���������� ������.
A1: ������ �� pdiskset.425 :
  Format 6 floppy disks, 5 with the default options
  (ie.  fdformat /dev/fd0 ) for disk1 through disk5,
  and one for the boot disk 'fdformat -k0 -z2 /dev/fd0'

A2:
��������� �� ����� ��������� ������� ����������. ���� ��������.

Q: ������ ��������� ������ ����������� ��������� ��� QNX ?
A: QNX 4.25 C
    Photon Runtime 1.14
    Voyager 2.02.beta
    Watcom C/C++ 11.0.beta

Q: ��� �������� ��� �������� ������� : "Press ESC to boot alternate OS." ?
A: ���� �� ������� ESC, �� ���� ����� ��������� �� �� ����� /.boot � �� /.altboot � ����� ������� �� sysinit.<node>,  � altsysinit  ( ��� ������ ���� ).

Q:
��� ���������� QNX �� ������ ���� (/dev/hd1)?
A: ���������� ���:
    1.  ��������� ���� ��� hd0
    2. � /boot/build/hard.* �������� hd0 �� hd1     3. � /boot/Makefile �������� hd0 �� hd1
    4. make b=hard.*
    5. cp ... /.boot
    6.  ��������� ���� ��� hd1

Q:
��� ��������� QNX � ������ ����� �� ������ (������� �������) ?
A1:
1. ���������� � PC ������ ����.
2. ����������� � ������� �����, ��� �������� QNX.
3. �������������� ������ ����: mount -p /dev/hd1
4. ������� �� ��� ������ QNX � ������� fdisk: fdisk /dev/hd1
5. ���������������� ���� ������ (��������� �������� �������): dinit -h /dev/hd1t77
6. �������������� ���� ������: mount /dev/hd1t77 /hd1
7. ����������� ������� � ��������� �����: cp -R / hd1
(by �������� ������)

A2: ��� ���� ������� (� ������ ���� ��� ������� ����� ��������� ��������):
dd if=/dev/hd0 of=/dev/hd1

Q: �������� ��� ������� .boot, ����� �� �� ���������� �� ���������� ��������. � ���� ������ 4.25. ������ �� ����������.
A:
���� ������� Proc32 � ������������ ����. ���������� Proc32 ����� ����� ���

Q:
  ��� ������������ ���� ?
A:
1. �������� ��������� Proc32 � /boot/sys/
2. cd  /boot
3. rm  images/hard.#
4. make  b=hard.# 5. cp  images/hard.#  /.boot
# - ����� ����, ����������� ��� ��������� QNX
(������ 1, ���� ������ �� ��������� � QNX-������ ����).
( By Alexander, http://qnx.da.ru  )

Q:  ��� ����������� ������������� ������� ?
A: ���������� rtc - Real Time Clock.
� /etc/config/sysint.[node_num] :
rtc net 1
��� 1 - ����� ����  � ������������� ��������.

Q:
 ���� ����� ������ � QNX �� ����� boot-loader, � ����� ��������� ���� Windows NT.
A:��������� ������ ( ����������� ) ������ � ����� C:\BOOT.QNX ( ��� ����� ������� �������� � ������� NT Resource Kit ) � ����� C:\BOOT.INI � ������� [operating_systems] �������� ������ C:\BOOT.QNX="QNX".
 
Net/Internet :

Q:
��� ����������� � �������� ?
A: ��������� dialer
Q1: Dialer ������ ���������, ��� ������� Socket �� ���������.
A1:��������� Socket -p 1 localhost & ( ���� tcpip 4.25C )
A2:���� Tcpip v.5beta Tcpip -v1 localhost &
Q: ��� ����������� � ���������� ������������� ��� ����������� ? ( ���������� �� ������� ������������� �����, �������� ������ IBM Global Network, ���� ���������� AT&T ) A:� ������� ���������� ������� ���. ����� �������� ���� /etc/ppp/pap-secrets  � ��������� � ���:
   login * password

Q: ��� � ��������� ����� ��������� ����������� ���������� �� QNX ?
A: ����������� ���� : www.qnx.com
    � ������ : www.qnx.ru
    ��-���� ������ ��������� ( ���� ������ ) : support.qnx.com
    ��������� ������ �������� QSSL news.qnx.com
    Shell ������ �� ����-������ QSSL ( ����� ������ �������� ) quics.qnx.com
    FTP-����� ����������� ������������ ����������� ftp.qnx.com
Q:  ��� ���� ��� QNX �� HTTP �������� ?
A: ������ ������� - voyager.server - ������ � �������� Voyager, slinger - ������ � �������� TCP/IP 4.25, ����� ���� ���������� QUICS - NCSA,
���� ������������� Apache.

Q:  ��� ������� telnet server port ( �������� ���������� � �������� ��������) ����� ������� �� ������� Enter �� ���������� �������� ������. ������ ���������� ��������� ��������.
A: ������ ������� Enter ����������� Ctrl+J.

�������������� � ������� �� :

Q1:
���� �������������� DOS ����� ���, ����� ���� ������� ����� � ��� ���� �� �������!
Q2: ���� ����� ������ � ����� FAT32 �����!
A: ��������� Dosfsys -L (������ ���� -L) ��� ����, ����� ���� ����� ������� �����.
    ��� ���� ����� ������ ������� ����� �������� ��� ������ Dosfsys.�� ����� �������� � FAT32

����������� ����������� :

Q: ���� �� ������ Hiew ��� QNX ?
A: ��. spatch
�� �� ����� ����� � diskeditor ( By Kors,http://qnx.boom.ru), ���� � ���� ���� ���������  �������������� ������� :)
����������� :
Q:����� ���������� ������ ����������� QNX ?
A: Rus_320.tar.F �� SWD
     Photon Cyrilic 1.00 ����� � ../filez/phcyr
     cpterm  �� InfoMarket
A:   ����� ����������  Russhell - ������� ����������� ������� � ��������� ������ (shell)    [http] [ by A. Smirnov ]

Q: ��� �������������� Photon ?
A:��� �������������� Photon ( by Engineer )
Q: ruskey ��� ������� nettrap start & (�.�. � ������� ������ - � &)
������ �������. ����� ���������� ������. ��� ������?

A: ������ ������� �������� �� ������ ���� (������ �� ��������� ���
���� ����� Ctrl-Shift, ���� ������). �������� ����� �����, � ������
�����, ����� ����� ��������� �� ��������� Net. ����� ����������
������� ���� /etc/config/sysinit.<node>, � ��������� � ��� �������
nettrap start & �� nettrap start (������ ���������).
 
X ( X-windows/Xphoton ) :

Q: ������ ����������� ���������� ��� X-Windows ?
A:
    ����������� ���������  -   40 ��
    ������������ ��������� - 420 ��
Xwindows modules:
 28.0 Mb  X servers for video cards
  7.5 Mb  MIT Standard Clients
 15.5 Mb  Runtime Modules and fonts
 19.5 Mb  GNU utilities and source and gnroff for man pages
  5.0 Mb  X development tools and libraries
  2.0 Mb  MWM and other Motif clients
  5.0 Mb  Motif libraries, UIL compiler, and tools
  5.0 Mb  man pages, xmas utility, and man
  8.5 Mb  Pbm utilities - image manipulation
 21.5 Mb  Contributed clients and demos
243.5 Mb  Source for /contrib
  9.0 Mb  Sample code from O'Reilly books
  4.0 Mb  Demos
 42.0 Mb  Sample images

Q: ���������� �� X-Windows ��� QNX ?
A: ��.���������� ��� X11R5 �� QSSL ������������ �� ����������� ����������� �� Metrolink (Metro23) ��� � X11R6.3 �� QNXFree86 �� ������
http://www.palmira.net/~qnxfree86 (��������� � ��������� + ������ �����
� �������), ������ ����� ��� QNX ���������� �������� � ����� ������
XFree86 (������� �� 3.3.5) ��� �� ����� ���������/��������� ��� QNX
Neutrino ...
������ X11R5 �� QSSL - ��� ������������ �����, ������������ ��
Accelerated X Server �� Metro, � X11R6.3 �� XFree86 - ��������� free.
ftp.cdrom.com - �������, � ������ ������ ����� ������� ���. http://w3c.teaser.fr/~jcmichot/ - ��� ����� ������ ������ gcc �
kde.
( ����������� Mike Gorchak )
 
   
Photon :

Q
:
���� Photon �p������, �� ������ �� �����.

A:�������� ����������� p��p������, �� �����p�������� ������p�� - ��������� Photon �
    �������� -s, ��� �������� safemode.
��� , �� safemode � ������ ������ �� ������������ ���� (�� �������
���� PS/2). ������ ��  � �������� /etc/config/trap ����� ������
trap.����� ����. �� ���������, � �������� � ������ ������ ������
�������, ������������ ��� ����� ����������. �� ��������� ������������
������ ������. ������, ���� ����� �� ������ ��� AGP ����. �������� ���
S3 3D/2x, ������������ crttrap ��� S3 (����������� :)), �������
�������������� ������ �� ��� ������������ ������.
( Comments by:  ������� �������� [email protected] )

Q: �������������� ������� FTP ������ ��� Photon
A:PhFTP
� �� �� ������� phftp ������� ��������. �� ����� ������ ��� ����� �
qnx-�����. � ��������� ������ ���������� ���� (�� ���������� ����
ftp-������).
( Comments by:  ������� �������� [email protected] )
A1: � ��� ������� ������� ����� MC. ������� �� � � pterm ������ :) 

Q: ��� �������� *.PDF ����� � Photon'e ?
A: PhPDF( ����� � ������� filez ). ����� ����������� ���������, �� ��� �� ����� ����������.

Q:  ���� �� ����������� ������ IRC ��� Photon ?
A: ��, http://www.joher.com/phirc

Q:  ��� ���������� ��������� ���������� Photon?
A: �������� ������ Ctrl+Alt+Shift+Backspace.

Q: ����, ����� voyager � ������ ����� ������.
A: $ voyager -c

( ���������� ������ Voyager.compact )

Q: ��� ���������� ����������� � ������� ����� � Photon Window Manager ( PWM ) ?
A: $ export PHBIFF=1
��� ���������. 0 - ����������. ���� ���������� ����� ��� "�������", ������ � ������ ������� ������� ����.

������������:

Q: ��� � �������� �����, ��������������� �������� /etc/install ��������� ������ ��������� ?
A: � ������ tar ������ ��������� ����������� ������ � ��������� setup.

Q: ��� �������� ����� ?
A:
echo "\f"

��������� FAQ's:
MBA QNX FAQ ( 04/06/2000)
comp.os.qnx QNX FAQ  (04/06/2000)
X11 QNX FAQ (04/06/2000)

� ����������� FAQ'� ��������� ������� :
Yuriy Korolev ([email protected])
Serj Okladnikov
Al Joe Khara
Piter Sazhenin
Alexander Orkin
Mike Gorchak
( E-mail ������ ����������� �� ������� ������� )

(C) 2000 shegall, Engineer