Internet speed slower in bridge mode

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
98 messages Options
12345
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
Thanks, Roadrunnere42 so just replace the top 2

# daily at 01:00 - upgrade IPS rules
0 1 * * *  sh /sbin/fw_upgrade

?
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Turrican
Breda,

The other parts are for information only (# items are not classed as code, they are informational), therefore if you want to include those, paste this in to replace all the  existing Cron items:

# daily at 03:28 - upgrade IPS rules
28 03 * * * sh /sbin/fw_upgrade
# every Sunday at 03:40  - sync clock
40 3 * * 0 /usr/sbin/ntpclient -s -p 123 -h 0.us.pool.ntp.org || /etc/init.d/ntpclient restart


Running v2 Firmware
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
Thank you  Turrican for the help  just updated my Scheduled Tasks

Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
In reply to this post by Turrican
Hi, noticed that I'm getting  a few errors


Wed Nov 23 16:42:02 2016 daemon.err uhttpd[4628]: cut: standard output: Broken pipe
Wed Nov 23 16:42:47 2016 daemon.err uhttpd[4628]: /bin/sh: can't open '/etc/rc.commonc'
Wed Nov 23 16:42:52 2016 daemon.err uhttpd[4628]: /bin/sh: can't open '/etc/rc.commonc'
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Turrican
not seen that error in my logs Breda, I don't know what's causing it, sorry
Running v2 Firmware
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Wisiwyg
This post was updated on .
In reply to this post by breda
breda wrote
Wed Nov 23 16:42:52 2016 daemon.err uhttpd[4628]: /bin/sh: can't open '/etc/rc.commonc'
Looking in /etc for file "rc.commonc", it doesn't exist. What does exist is "/etc/rc.common".

I suspect somewhere, somehow there's been an edit to a script, maybe in fw_upgrade, that calls rc.common and that call has been inadvertently changed to rc.commonc. Find that mistake and you'll solve this.

edit: not fw_upgrade... I did a quick search and rc.common isn't referenced in there. So, some other file that's been changed.
Shield Pro v1, Chaos Calmer, FW 1.51 SP1, v8.3.2, Bridge Mode
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Roadrunnere42
breda

Wed Nov 23 16:42:52 2016 daemon.err uhttpd[4628]: /bin/sh: can't open '/etc/rc.commonc'

to correct file edit the file
/etc/init.d/ntpclient

in the top line you will see #!/bin/sh /etc/rc.commonc  just delete the c at the end of rc.common.

save file and your clear to go

Roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Roadrunnere42
breda

my mistake you only need to delete the c at the end of the line, not sure how it got there, so the line should read

#!/bin/sh /etc/rc.common

sorry for the confusion

Roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
Thanks, Roadrunnere42 Wisiwyg Turrican just to confirm do I make the edit via WinSCP ? for the  #!/bin/sh /etc/rc.common  and is that the only file I need to fix?  thanks again for all the help I appropriated it



also here is my Scheduled Tasks



# daily at 03:28 - upgrade IPS rules
28 03 * * * sh /sbin/fw_upgrade
# every Sunday at 03:40  - sync clock
40 3 * * 0 /usr/sbin/ntpclient -s -p 123 -h 0.us.pool.ntp.org || /etc/init.d/ntpclient restart
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Turrican
Yes, yes and looks good!
Running v2 Firmware
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Wisiwyg
Good catch Roadrunnere42! I would have been looking for that forever!
Shield Pro v1, Chaos Calmer, FW 1.51 SP1, v8.3.2, Bridge Mode
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
In reply to this post by Roadrunnere42
thanks for all the help
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
In reply to this post by Roadrunnere42
HI, Roadrunnere42 not sure if I in the right folder here screen shot


Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
This post was updated on .
HI, see file named rc.common but id does not have any extra c

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Roadrunnere42
breda

to correct  edit the file
/etc/init.d/ntpclient

in the top line you will see #!/bin/sh /etc/rc.commonc  just delete the c at the end of rc.common.

save file and your clear to go

Roadrunnere42
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
Thank you Roadrunnere42 for the help got it

Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

breda
In reply to this post by Roadrunnere42
Hi, wanted to update everyone @user8446 was  kind of enough to send me an update snort config

server_flow_depth 65535 \

client_flow_depth 1460 \


I'm now getting  between 69.59 Mbps and 90 Mbps before the bugfix I was only getting 48 Mbps
 
My Internet link should be 105 Mbps is there any tweaks I can do with server_flow_depth  and client_flow_depth  to see if I can get up to 105 Mbps ?
 
also here is my system log
 
Sat May 13 10:53:45 2017 daemon.err uhttpd[4599]: cut: standard output: Broken pipe
Sat May 13 10:54:55 2017 daemon.err uhttpd[4599]: cut: standard output: Broken pipe
Sat May 13 10:56:03 2017 daemon.notice snort[9460]: S5: Session exceeded configured max bytes to queue 4194304 using 4195060 bytes (server queue). 66.234.209.81 54769 --> 69.42.31.34 8080 (0) : LWstate 0xf LWFlags 0x6007
Sat May 13 10:56:06 2017 daemon.err uhttpd[4599]: cut: standard output: Broken pipe
Sat May 13 10:56:40 2017 authpriv.info dropbear[9101]: Exit (root): Exited normally
Sat May 13 10:56:40 2017 authpriv.warn dropbear[9101]: Couldn't set SO_PRIORITY (Bad file descriptor)
Sat May 13 11:05:21 2017 daemon.notice snort[9460]: S5: Session exceeded configured max bytes to queue 4194304 using 4194732 bytes (server queue). 66.234.209.81 55697 --> 69.42.31.34 8080 (0) : LWstate 0x9 LWFlags 0x6007
Sat May 13 11:14:14 2017 daemon.notice snort[9460]: S5: Session exceeded configured max bytes to queue 4194304 using 4195756 bytes (server queue). 66.234.209.81 56799 --> 69.42.31.34 8080 (0) : LWstate 0x9 LWFlags 0x6007
 
thanks again for the help
Reply | Threaded
Open this post in threaded view
|

Re: Internet speed slower in bridge mode

Turrican
Breda & user8446

THANK YOU

I've just applied these changes, I've gone from 35mbps to 74. Great stuff, thanks for sharing.
Running v2 Firmware
12345