System information

Using scripts in Axis Camera/Video products
Axis Communications AB provides NO support for application development of any kind. The information
here is provided "as is", and there is no guarantee that any of the examples shown will work in your
particular application.
Revision 1.02 October 2002 12
Running Scripts via Telnet
For development purposes, it may be convenient to connect to the camera/video Server via
Telnet. Depending on which product is used, this is either enabled by default and uses
authentication, or it can be enabled by editing the /etc/inittab. If the product requires
editing of the /etc/inittab there will be no authentication for the Telnet connection and no
password will be required for access.
IMPORTANT!
This option should only be enabled for experimental use. Never leave Telnet access enabled
when using the camera/video server on a public site.
3.3.1 To enable Telnet support
Open an FTP session to the camera/video server and type the commands shown in bold below:
C:\Axis >ftp <ip address of video Server>
Connected to <ip address of video server>
220 Axis 2400 Video Server 2.20 Jul 27 2001 ready.
User (<ip address of Video Server>:(none)): root
331 User name okay, need password.
Password: pass (if not changed from default)
230 User logged in, proceed.
ftp> ascii
ftp> cd etc
ftp> get inittab
200 Command okay.
150 Opening data connection.
226 Transfer complete.
ftp: 1380 bytes received in 0,01Seconds 138,00Kbytes/sec.
Now open the downloaded inittab file in an editor and find the following line:
#telnetd:3:respawn:/bin/telnetd
Remove the preceding
#:
telnetd:3:respawn:/bin/telnetd
Save the file.
Go back to the ftp session and continue:
ftp> put inittab
200 Command okay.
150 Opening data connection.
226 Transfer complete.
ftp: 1414 bytes sent in 0,00Seconds 1414000,00Kbytes/sec.
250 Command successful.
ftp> bye
221 Goodbye.