92 •
Board Support Package (BSP)
Ethernet Interface Services
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:
Proprietary.
To view the current settings use
./wagoset
To start the Linux fieldbus coupler with IP address 192.168.1.4 during the
next boot use the following command
./wagoset
-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.
Send bug reports to support@wago.com
-v
-m static –i 192.168.1.4 –s 255.255.255.0 –g 0.0.0.0
WAGO-I/O-SYSTEM 750
Linux Fieldbus Coupler