92
•
Board Support Package (BSP)
Ethernet Interface Services
WAGO-I/O-SYSTEM
750
Linux Fieldbus Coupler
4.6.2 Permanent Assignment of the IP Address (wagoset)
The wagoset program serves to read and write the Ethernet configuration with
the Linux console and user programs. The program only changes the Linux
kernel boot parameters that are stored in the flash memory, i.e. the changes are
only accepted after the next reboot, however, they are stored permanently.
The program is directly accessed via the console and has the following HELP
page:
Usage: ./wagoset OPTION [VALUE] ...
WAGO ETHERNET BOOT CONFIGURATION.
OPTION:
-v, --view
View Configuration
-m, --mode
Ethernet Mode; VALUE: static, dhcp, bootp,
none
-i, --ip
Static IP; VALUE: x.x.x.x
-s, --subnet
Subnet Mask; VALUE: x.x.x.x
-g, --gateway
Gateway; VALUE: x.x.x.x
-o, --hostname Hostname; VALUE: [String Hostname]
-h, --help
Print this message.
Proprietary.
Send bug reports to [email protected]
To view the current settings use
./wagoset
-v
To start the Linux fieldbus coupler with IP address 192.168.1.4 during the
next boot use the following command
./wagoset
-m static –i 192.168.1.4 –s 255.255.255.0 –g 0.0.0.0