[ILUG] Fwd: [Q] Max number of TCP(?) packets without waiting for an
blf at utvinternet.ie
Thu Dec 11 13:33:04 GMT 2008
(apologies for messing up the threading.)
(more apologies if this is duplicated.)
> From: Josh Glover jmglov at gmail.com
> Date: Thu Dec 11 12:31:23 GMT 2008
>[ ... ]
> I get around this problem like this:
> sudo -v && echo reno | sudo tee /proc/sys/net/ipv4/tcp_congestion_control
cute. in this case, a simpler solution
(assuming 'bash' is one of yer allowed
sudo bash -c 'echo ... >FILE'
there's an equivalent example in the sudo(1)
manual page (end of the "EXAMPLES" section).
for more complicated things, you can use a
here document, e.g.:
sudo -s <<EOF
... a complex script ...
back to my networking problem — the initial
indications is it's not a MUA problem (using
'claws' instead of Kmail also fails ;-\ ).
"How many surrealists does it take to | Brian Foster
change a lightbulb? Three. One calms | somewhere in south of France
the warthog, and two fill the bathtub | Stop E$$o (ExxonMobil)!
with brightly-coloured machine tools." | http://www.stopesso.com
More information about the ILUG