LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-18-2003, 07:43 AM   #1
lmix
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
keeping rwin & other settings after reboot


Hello everyone. After many tries, I can't seem to get redhat 9 to keep the rwin and other settings after reboot(s). I have also added the following lines to /etc/rc.d/rc.local file to no help:

echo "127776 255552 511104" > /proc/sys/net/ipv4/tcp_rmem
echo "127776 255552 511104" > /proc/sys/net/ipv4/tcp_wmem
echo 255552 > /proc/sys/net/core/rmem_default
echo 255552 > /proc/sys/net/core/wmem_default
echo 511104 > /proc/sys/net/core/rmem_max
echo 511104 > /proc/sys/net/core/wmem_max
echo 1 > /proc/sys/net/ipv4/tcp_window_scaling
echo 1 > /proc/sys/net/ipv4/tcp_sack
echo 0 > /proc/sys/net/ipv4/tcp_timestamps
echo 8 > /proc/sys/net/ipv4/tcp_adv_win_scale
echo 1 > /proc/sys/net/ipv4/tcp_rfc1337

From what I understand form a link on this site is that if you add some such settings/lines to the /etc/rc.d/rc.local file, the settings will be kept after reboot, and these lines are saved in the /etc/rc.d/rc.local file, but not the value in /proc/sys/net/core/rmem_default, for example. I have also tried to use quotation marks around values, i.e. "255552", to no avail. (By the way, when settings in place, surfing is very quick!!!). Although this question has been asked, the solution does not seem to work; but perhaps I am missing something. As I am new to linux (and this site), if anyone has any solution on how I can keep the values I want without linux reverting to it's defaults after reboot, please be as specific as you can.

best regards,

p.s. I wonder if cat command will overwrite these settings into place. Any thoughts?
 
Old 10-22-2003, 07:04 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
Bringing up, or restarting the network, should execute /etc/sysctl.conf on RH as part of /etc/rc.d/init.d/network. Add your lines to that file.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Keeping hdparm settings RemusX2 Linux - Software 1 03-27-2005 08:37 PM
problems with keeping settings for cable Broadband wisdom Linux - Networking 0 01-04-2005 09:19 AM
Keeping Alsa sound settings...??? redrobin77 SUSE / openSUSE 2 01-04-2005 07:37 AM
keeping the firewall off during reboot sborden Linux - Security 2 08-19-2004 08:58 PM
keeping volume settings on logout rdanda Slackware 1 04-12-2003 03:32 PM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration