This section describes how to connect to your image after you have it running on the
ASRock Beebox.
Because the default IFS image starts an application immediately,
you won't have a console connection to the Beebox. You can
connect to it using an
ssh connection. However, the
first time you boot the Beebox, you probably won't know its IP address
unless you have a static IP address preconfigured to match the
MAC address on the device.
Note: If you know the static IP address that you've
configured on the device, you won't need to perform these steps. If you
can't connect to your device using the assigned static IP address, then see
the suggestions in the
Troubleshoot Common Issues
chapter of this guide.
Determine the IP Address
To determine the IP address assigned to the Beebox, you can boot an IFS image that
doesn't start the application immediately. Before you do so, ensure you have the
Beebox connected to a display (e.g., Lilliput 10" display) and a USB keyboard. For
more information, see
Configure hardware and boot a reference image in the Install and
Boot a Reference Image chapter of this guide.
- After you turn on the power for the Beebox, wait for a prompt that shows
this:
QNX Boot 1.2b Loader: qnx-ifs
qnx-ifs-NO-SCREEN.ifs
- On your keyboard, immediately press the Down arrow
key to select qnx-ifs-NO-SCREEN.ifs and press the
Enter key. You should see a command-line prompt
after it boots the qnx-ifs-NO-SCREEN.ifs image.
Note: If you don't select qnx-ifs-NO-SCREEN.ifs
immediately, qnx-ifs is booted (default). You can
simply reset the power on the Beebox to try again.
- At the command-line prompt, use the ifconfig to determine
the IP Address assigned to the Beebox. For example:
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33136
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
rt0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
capabilities=7<IP4CSUM,TCP4CSUM,UDP4CSUM>
enabled=0
address: f4:4d:30:68:40:ee
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 10.101.10.100 netmask 0xfffffe00 broadcast 10.101.10.255
inet6 fe80::f64d:30ff:fe68:40ee%rt0 prefixlen 64 scopeid 0x11
pflog0: flags=0 mtu 33136
#
- If this IP address preserved after a reboot, you can use it to connect to
the Beebox using ssh. This may be dependent on the
policies you have in place in your network. In some cases, it may be easier
to assign a static IP address to your Beebox.
- To test, reset the power on your Beebox and let it boot using the default
IFS image (qnx-ifs). You should see the ADAS example
application run once it completes booting.
- Using a terminal (Linux or macOS) or terminal program (Windows) such as
puTTY or HyerTerminal, use ssh to connect to the IP
address you determined from the previous steps. You can log in using the
user ID and password root. For example, in a PuTTY
you should see a similar prompt:
# ssh 10.101.10.100
login as: root
root@10.101.10.100's password:
#