Local Network
Accessing Your Device Over a Network
Once you’ve used the serial port for initial setup, you can configure your device to connect to a network for more convenient access. This will enable remote login via SSH or management through Pantahub.
Connect to a Network
The simplest way to connect to a network is by plugging an Ethernet cable directly from your device to your router. The device will automatically get an IP address via DHCP.
After connecting, you can find the device’s IP address from the serial console by running a command like ifconfig. Look for the inet addr field to find the IP address.
For example:
eth0 Link encap:Ethernet HWaddr B8:27:EB:CA:26:F3
inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0Local Network Access via SSH
With the device’s IP address, you can connect to it via SSH from any computer on the same local network. The default credentials are:
Username: root
Password: pantacor
To connect, simply run:
ssh root@[device-ip]When you connect via SSH, you are accessing the pvr-sdk container running on the device.
Security Notice
Before deploying your device, it’s crucial to secure it. You should change the default password and set up SSH keys to protect against unauthorized access.
Change the Default Password: Use the chpasswd command from the terminal to set a new password for the root user.
Add Your Public SSH Key: For secure, password-less login, add your public key to the authorized_keys file.
mkdir -p ~/.ssh
echo "your-public-key-here" >> ~/.ssh/authorized_keys
chmod 600 ~/.ssh/authorized_keysAfter setting up SSH keys, you can connect securely without needing a password.