Load the Driver and Start the ntservice Daemon on Linux

Basic Troubleshooting

Platform
Intel® PAC
Napatech SmartNIC
Content Type
User Guide
Capture Software Version
Link™ Capture Software 12.8

Run ntstart.sh

You can run ntstart.sh in order to load the driver and start ntservice on Linux as shown below.
$ sudo /opt/napatech3/bin/ntstart.sh
Loading nt3gd driver                                        [Done]
Creating driver device file                                 [Done]
Loading nt3gd_netdev driver                                 [Done]
Creating driver device file                                 [Done]
Starting NTService (this may take a while)                  [Done]

The actual messages will depend on the version of the driver package.

Log messages from the driver

To monitor the log messages from the driver, you can start ntservice in console mode after loading the driver as shown in the example below.

$ sudo /opt/napatech3/bin/ntload.sh
Loading nt3gd driver                                        [Done]
Creating driver device file                                 [Done]
Loading nt3gd_netdev driver                                 [Done]
Creating driver device file                                 [Done]

$ sudo /opt/napatech3/bin/ntservice 
An output example:
514815: INF: Starting ntservice (v. 3.25.5.11-9bcd529a)
514815: INF: init: UID=0 GID=0 EUID=0 EGID=0
514815: INF: init: PID=514815 PPID=514490 PGRP=514815
514815: INF: init: Executable: /opt/napatech3/bin/ntservice
...
...
514815: INF: **************************************************************
514815: INF: *                NTService is now operational.               *
514815: INF: **************************************************************
...
...
514815: INF: Port 1: NIM initialized
514815: INF: Port 1: Port type: SFP28-SR-DR
514815: INF: Port 1: DisableFecAutoNegotiation = 0
514815: INF: Port 1: NIM power class = 1
514815: INF: Port 1: Link Down
514815: INF: Port 1: Link Up

Log messages

You can run the ntlog tool to see the logs from the driver and ntservice. Please refer to Check Error Messages from the Driver for more information on how to check the log messages.