Guest odysiuos Posted July 9, 2013 Posted July 9, 2013 (edited) Did you look at that post? It says use rc.network which should be in the /etc/rc.d file edit with the command /usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg off depending on the ethernet interface you are needing to edit. community.smoothwall.org • View topic - 8139 GREEN_DRIVER_OPTIONS= This morning I could find /etc/rc.d ,what next ? coz I think it's a directory not a file. Edited July 9, 2013 by odysiuos
Jamo Posted July 9, 2013 Posted July 9, 2013 This morning I could find /etc/rc.d ,what next ? coz I think it's a directorym not a file. Yeah rc.d will be a directory, inside will be rc.network according to that post. Looks like its a network init file so adding the command (should it work) will make the ethA device revert to the correct settings. You should be able to test it before making any script changes by typing in the command on its own, it will take effect immediately. /usr/sbin/ethtool -s eth0 speed 100 duplex full autoneg off Rebooting should return it to normal I would say though I don't actually have a smoothwall box so I can't test or verify this is the correct command at all! Tis the only problem I find with linux is they are all ever so slightly different!
Guest odysiuos Posted July 9, 2013 Posted July 9, 2013 there is another problem with that. the smoothwall is far away at a data center. I access it remotely through ethA. so I don't want to loose the connection at all ! can I combine multiple commads in one line ? /usr/sbin/ethtool -s ethA speed 100 duplex full autoneg off ; ifconfig ethA down ; ifconfig ethA up
Jamo Posted July 9, 2013 Posted July 9, 2013 Ouch, you could write a bash script? Alternatively set up a 30 min restrart timer make the change and if it breaks you only lose 30 mins or so! http://linux.101hacks.com/unix/shutdown/
AMLinington Posted July 26, 2013 Posted July 26, 2013 (edited) It is worth pointing out here that making ANY changes to system configuration files via the command line without having been instructed to do so by our Support Engineers invalidates your warranty and any issues arising from said changes will not be supported. We also cannot guarantee that these changes will be update-safe either. This is obviously not applicable to the Smoothwall Express installations. Edited July 26, 2013 by AMLinington
Guest odysiuos Posted July 26, 2013 Posted July 26, 2013 It is worth pointing out here that making ANY changes to system configuration files via the command line without having been instructed to do so by our Support Engineers invalidates your warranty and any issues arising from said changes will not be supported. We also cannot guarantee that these changes will be update-safe either. thanks for your mention! This is obviously not applicable to the Smoothwall Express installations. I'm definitely aware of that. therefore I opened a case at Smoothwall Support. But I haven't tested it yet coz I'm busy with a higher priority project. Best Regard
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now