UEIPAC Software Manual

Add to My manuals
85 Pages

advertisement

UEIPAC Software Manual | Manualzz

UEIPAC SDK User Manual

Edit the file /etc/network.conf and change the line:

DHCP=no

To:

DHCP=yes

You must restart the network to activate the change:

/etc/init.d/network restart

Name resolution

If your UEIPAC uses a static address, you need to edit the file /etc/resolv.conf to add the

IP address of your DNS server.

If your UEIPAC uses DHCP, the /etc/resolv.conf file is automatically populated and name resolution will work right away.

Connecting through Telnet

Once the IP address is configured, you shouldn’t need the serial port anymore. You can use telnet to access the exact same command line interface.

Type the following command on your host PC, then login as “root”. The password is

“root”. telnet <UEIPAC IP address>

Type the command “exit” to logout.

Connecting through SSH

Type the following command on your host PC. The password is “root”. ssh root@<UEIPAC IP address>

Type the command “exit” to logout.

You can avoid typing the password each time you login using SSH keys:

1.

Create private and public SSH keys on your host PC ssh-keygen –t dsa

2.

Copy the public key to /.ssh on the UEIPAC scp ~/.ssh/id_dsa.pub root@<IP address>:/.ssh/authorized_keys

3.

You can now log on the UEIPAC without password

3.4. Configuring Date and Time

Changing the date

The UEIPAC is equipped with a real-time clock chip that preserves the date and time settings when the UEIPAC is not powered.

16

advertisement

Related manuals

advertisement

Table of contents