On Wed, 22 Dec 1999,  Wilczek, Scott wrote about,  RE: Boot and Init files:
> Thanks, Richard!!!  Things are a little clearer now.
> 
> Is there a way (using ifconfig or something else) to tweak an ethernet card
> for optimal performance with a cable modem.  In Windoze you could set
> DefaultRecWin, MTU and a few other parameters in the registry to optimize
> performance.

Yes, you can use ifconfig to change everything. for example if you have
MTU = 1500
Then 
ifconfig eth0 mtu 1000
changes it to 1000
That only concerns new connections not presant conects.

> Ever since I setup my Linux box as a gateway, my internet throughput has
> been pretty slow.

Or has your isp changed the software in your modem like mine has, ??

There could be otherthings as well, one thing i have noticed here is the
option LARGE_WINDOWS when making ones own custom kernel, setting it to yes
_seemed_ to help here, now it could be coincidence but i was only getting
low ftp tranfer rates, when i set the option to large and rebooted with
the new kernel, my data transfer rate increased a lot.

I belive slackware sets this to no in thier default kernel in thier 7.0
distro, i dont know about Redhat, maybe Tim Waugh knows, his email address
is @redhat.com.


> 
> Thanks,
> STW 
> 
> -----Original Message-----
> From: Richard Adams [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 22, 1999 10:37
> To: Wilczek, Scott
> Cc: [EMAIL PROTECTED]
> Subject: Re: Boot and Init files
> 
> 
> On Wed, 22 Dec 1999,  Wilczek, Scott wrote about,  Boot and Init files:
> > I come from a DOS evironment and am used to having all my system
> > configuration in one place (AUTOEXEC.BAT and CONFIG.SYS).  Is there a
> > document or URL that explains how and what files the Linux boot process
> > uses??
> 
> Undoubably, but i am at a los there so i will explain or at least try to
> explain how Redhat boots, it uses what called sysvinit scripts, there are
> quite a few systems that use the same method. I think its beter to say one
> that does not is slackware.
> 
> Upon bootup the file /etc/inittab is read, this file contains the init
> runlevel in which to start, normaly that would be 3 unless the user has
> choosen otherwise.
> Then the system gets told the next file to read is /etc/rc.d/rc.sysinit but
> first the consoles are defined, it now goes to rc.sysinit.
> 
> Here networking is started amounst other things, if you look at the file
> you might be able to see what gets started and what does not.
> The networking configuration files are in /etc/sysconfig/* swap and other
> filesystems now get loaded.
> Modules get loaded if configured properly.
> Read the file i think you will see many more things that get started,
> configured and loaded.
> Now the system goes into /etc/rc.d/rc3.d here you will find symbolic links
> to different files contained in /etc/rc.d/init.d scripts get read and
> programs now get loaded and started.
> 
> When all that is done rc.local gets called you can define a personal
> configuration file from there as follows.
> 
> if [ -f /etc/rc.d/rc.firewall ]; then
>       /etc/rc.d/rc.firewall
> fi
> 
> The file rc.firewall now gets called, so you create your own rc.firewall
> and eneter something like the following, which is __very__ basic.
> 
> /sbin/ipchains -M -S 7200 10 160
> /sbin/ipchains -P forward DENY
> /sbin/ipchains -A forward -s 10.0.0.2/32 -j MASQ   
> 
> Thats how i do it, but of course there are other ways. I am sure others
> will give you other opinions.
> 
> > I've been trying to setup up IP forwarding using ipchains.  I need to know
> > where to put my ipchains commands so that IP forwarding is enabled for all
> > user on the Linux box.
> > 
> > I'm using Red Hat 6.1.
> > 
> > Thanks,
> > STW
> -- 
> Regards Richard
> [EMAIL PROTECTED]
> http://people.zeelandnet.nl/pa3gcu/
> Merry Xmas.
-- 
Regards Richard
[EMAIL PROTECTED]
http://people.zeelandnet.nl/pa3gcu/
Merry Xmas.

Reply via email to