The network configuration can be changed using the FESTO SBOx webinterface or the fconfig commandline tool.
To show the current configuation open a telnet session and use the command fconfig
with option -l (list):
I
$ fconfig -l
Camera IP address: 192.168.7.10 MAC address: f0:0e:f3:01:c6:ff Subnet mask: 255.255.0.0 DNS server IP address: 0.0.0.0 Default gateway IP address: 192.168.1.1 Use DHCP during boot: 0 Camera host name: FestoSBO Domain name: Firmware version: 3.1.4-festo0 Hardware version: AC0106-SBO-X-RXB
To change the current TCP/IP network configuration, use fconfig without the -l option. Values in squared brackets hold the current configuration. After reboot the new network settings take effect. Example of changing the IP address:
$ fconfig Camera IP address [192.168.7.10]: 192.168.7.11 MAC address [f0:0e:f3:01:c6:ff]: Subnet mask [255.255.0.0]: DNS server IP address [0.0.0.0]: Default gateway IP address [192.168.1.1]: Use DHCP during boot [0]: Camera host name [FestoSBO]: Domain name []: list of new configuration data: Camera IP address: 192.168.7.11 MAC address: f0:0e:f3:01:c6:ff Subnet mask: 255.255.0.0 DNS server IP address: 0.0.0.0 Default gateway IP address: 192.168.1.1 Use DHCP during boot: 0 Camera host name: FestoSBO Domain name: write configuration back to flash memory? [no]: yes $ reboot
Please consider if you want to use DHCP, the static TCP/IP configuration above has no effect. Use your DHCP server side logs to discover the dynamically assigned IP address.
Most of the FESTO SBOx smart camera configuration can be accessed via the /proc
filesystem. A special config driver provides a non-standard directory which holds following information nodes:
Entry | Value |
---|---|
/proc/config/case | Integrated optic (I), or CS-Mount housing (C) |
/proc/config/color | Color sensor (1), or monochrome sensor (0) |
/proc/config/dhcp | DHCP enabled (1), or disabled (0) |
/proc/config/dns | IP address of the domain name server |
/proc/config/domain | default domain |
/proc/config/firmware | Firmware Version, i.e. 3.1.4-festo0 |
/proc/config/fpga | FPGA design loaded at startup, i.e. oq100P.fpga/2007-10-04/14:34 |
/proc/config/gateway | IP address of the gateway |
/proc/config/geometry | Sensor resolution, i.e. 640×480 |
/proc/config/hardware | Hardware configuration string |
/proc/config/hostname | TCP/IP DNS Hostname |
/proc/config/ip | IP address of this device (if not automatically assigned by a DNS server) |
/proc/config/mac | Media Access Control address |
/proc/config/netmask | TCP/IP netmask, i.e. 255.255.0.0 |
/proc/config/password | Current password, encrypted. |
Type cat /etc/issue
at the command prompt to access the FESTO SBOx firmware version, and cat /proc/config/fpga
to get the version of FPGA design:
/ $ cat /etc/issue Firmware version 3.1.4-festo0 - revision: 218 / $ cat /proc/config/fpga oq100P.fpga/2007-10-04/14:34 / $
To change the password open a telnet session, and use passwd
at the command line:
$ passwd Enter new password: Re-enter new password: write password back to flash memory? [no]: yes new configuration successfully written