EasyManua.ls Logo

EndRun Sonoma D12 - Query and Change Ethernet Ports

EndRun Sonoma D12
172 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
S o n o m a U s e r M a n u a l
126
A P P E N D I X C
Query and Change
Ethernet Ports
ethtool is a Linux utility that allows you to query or change the settings for Port 0 (eth0) and Port
1 (eth1). For example, to view current settings for Port 0 issue the following command:
ethtool eth0
Here is an example of one way to set the speed on Port 0 to 1000Base-T:
ethtool -s eth0 speed 1000 duplex full autoneg off
The command above will immediately change the port speed to 1000Base-T, but it will revert to its
factory (10/100/1000Base-T) at a system reset. If you want to retain the setting after a system reset,
then you need to edit the rc.M conguration le. Follow this sequence:
1. Edit /etc/rc.d/rc.M using one of the editors on the previous page.
Insert the desired ethtool line (see example above) after the Gatekeeper Daemon is started and
before the Precision Time Protocol is started. Exit and save the rc.M le.
2. Now you need to copy the rc.M le into a location that will ensure your changes persist
through a system reset. Copy /etc/rc.d/rc.M to /boot/etc/rc.d as shown:
cp /etc/rc.d/rc.M /boot/etc/rc.d
For more details on ethtool and how to use it type:
man ethtool
Redirect Syslog Files
to Remote Host
You can redirect syslog les to a remote host (syslog server) by adding the standard Linux redirect
commands to the Sonoma’s syslog.conf le. Follow this sequence:
1. Edit /etc/syslog.conf using one of the editors on the previous page. Insert this line:
*.* @remote_host
Substitute the actual name or IP address of your remote syslog server for “remote_host”. The
most common log le to be directed to the Syslog Server is the messages.log le which contains
authenticated user login activity. If you would like to only redirect this log info to the remote
host, insert this line instead of the one above:
messages.log @remote_host
Exit and save the syslog.conf le.
2. Now you need to copy the syslog.conf le into a location that will ensure your changes persist
through a system reset. Copy /etc/syslog.conf to /boot/etc/syslog.conf as shown:
cp /etc/syslog.conf /boot/etc/syslog.conf

Table of Contents

Related product manuals