+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 31
Internet Related/Filtering/Firewall Thread, Smoothwall - Save configuration from CLI in Technical; no need to apologise, i found smoothwall's setup a little confusing myself. did you try the find commands?...
  1. #16

    Join Date
    Mar 2013
    Location
    west sussex
    Posts
    519
    Thank Post
    74
    Thanked 26 Times in 26 Posts
    Rep Power
    15
    no need to apologise, i found smoothwall's setup a little confusing myself. did you try the find commands?

  2. #17
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,354
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    Quote Originally Posted by odysiuos View Post
    sorry I was wrong about /etc/network/interfaces.
    Attachment 19288
    do ls -ltr, shows up with colouring etc easier to determine what is a file etc.

    Yeah vi opens an empty file called /etc/network/interfaces if it doesn't exist!

    community.smoothwall.org • View topic - 8139 GREEN_DRIVER_OPTIONS=

    Any help? I think the network configs must be held somewhere in Smoothwalls config files rather than the standard linux ones.

    rc.network will be a startup script, possibly in rc.d or similar. You can use the find command as specified by @ConradJones to find where it is!

  3. #18

    Join Date
    Jul 2013
    Posts
    16
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by ConradJones View Post
    did you try the find commands?
    no, I used "whereis"
    I'm gonna try "find" right now

  4. #19

    Join Date
    Jul 2013
    Posts
    16
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    [root@smoothwall ~]# find / -name interfaces
    /settings/licences/interfaces
    /httpd/ui/categories/networking/subsections/interfaces
    /var/tmp/menu/modules/host/httpd/ui/categories/networking/subsections/interfaces
    /var/tmp/menu/modules/firewall/httpd/ui/categories/networking/subsections/interfaces
    /var/tmp/menu/httpd/ui/categories/networking/subsections/interfaces
    /modules/host/httpd/ui/categories/networking/subsections/interfaces
    /modules/firewall/httpd/ui/categories/networking/subsections/interfaces

  5. #20

    Join Date
    Mar 2013
    Location
    west sussex
    Posts
    519
    Thank Post
    74
    Thanked 26 Times in 26 Posts
    Rep Power
    15
    what is the contents of those files?

    cat <filename>

  6. #21
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,354
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    Quote Originally Posted by odysiuos View Post
    [root@smoothwall ~]# find / -name interfaces
    /settings/licences/interfaces
    /httpd/ui/categories/networking/subsections/interfaces
    /var/tmp/menu/modules/host/httpd/ui/categories/networking/subsections/interfaces
    /var/tmp/menu/modules/firewall/httpd/ui/categories/networking/subsections/interfaces
    /var/tmp/menu/httpd/ui/categories/networking/subsections/interfaces
    /modules/host/httpd/ui/categories/networking/subsections/interfaces
    /modules/firewall/httpd/ui/categories/networking/subsections/interfaces

    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 &bull; View topic - 8139 GREEN_DRIVER_OPTIONS=

  7. #22

    Join Date
    Mar 2013
    Location
    west sussex
    Posts
    519
    Thank Post
    74
    Thanked 26 Times in 26 Posts
    Rep Power
    15
    Quote Originally Posted by Jamo View Post
    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 &bull; View topic - 8139 GREEN_DRIVER_OPTIONS=
    I agree that probably looks like the way forward, can't say for certain without a box infront of me,

  8. #23

    Join Date
    Mar 2013
    Location
    west sussex
    Posts
    519
    Thank Post
    74
    Thanked 26 Times in 26 Posts
    Rep Power
    15
    i'm not sure if he's using express or full ? but on my full its ethA not eth0

  9. #24

    Join Date
    Jul 2013
    Posts
    16
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Jamo View Post
    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 &bull; View topic - 8139 GREEN_DRIVER_OPTIONS=
    I'll look it up tomorrow and feed back.
    Last edited by odysiuos; 8th July 2013 at 08:04 PM.

  10. #25

    Join Date
    Jul 2013
    Posts
    16
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by ConradJones View Post
    i'm not sure if he's using express or full ? but on my full its ethA not eth0
    it"s ethA indeed. eth0 was just an example from me.
    Last edited by odysiuos; 8th July 2013 at 08:03 PM.

  11. #26

    Join Date
    Jul 2013
    Posts
    16
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by Jamo View Post
    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 &bull; 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.
    Last edited by odysiuos; 9th July 2013 at 08:43 PM.

  12. #27
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,354
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    Quote Originally Posted by odysiuos View Post
    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!

  13. Thanks to Jamo from:

    odysiuos (9th July 2013)

  14. #28

    Join Date
    Jul 2013
    Posts
    16
    Thank Post
    3
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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



  15. #29
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,354
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    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/

  16. Thanks to Jamo from:

    odysiuos (19th July 2013)

  17. #30


    AMLightfoot's Avatar
    Join Date
    Feb 2011
    Location
    Hampshire, England
    Posts
    2,239
    Thank Post
    387
    Thanked 661 Times in 413 Posts
    Rep Power
    272
    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.
    Last edited by AMLightfoot; 26th July 2013 at 11:34 AM.

SHARE:
+ Post New Thread
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Eco-friendly Space Saving PCs from SCL Online
    By Elky in forum Our Advertisers
    Replies: 8
    Last Post: 24th November 2008, 01:20 PM
  2. Stopping a user from saving locally?
    By Small_Pig_Dancing in forum Windows
    Replies: 20
    Last Post: 22nd October 2008, 11:11 PM
  3. Replies: 0
    Last Post: 11th June 2008, 11:47 AM
  4. Saving video files from BBC new website pages.
    By tosca925 in forum How do you do....it?
    Replies: 3
    Last Post: 11th June 2007, 11:22 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •