On Thu, 24 Feb 2005 07:11:34 -0000, Marvin T. Pascual
<[EMAIL PROTECTED]> wrote:
> Hello all,
> 
> I'm currently running Mandrake Linux 10.1 Official terminal server with the
> following packages installed:
> 
> - dhcp-common-3.0.1-5mdk
> - dhcp-server-3.0.1-5mdk
> - tftp-server-0.36-1mdk
> - nfs-utils-1.0.6-2.2.101mdk
> - nfs-utils-clients-1.0.6-2.2.101mdk
> - portmap-4.0-21mdk
> - xorg-x11-xfs-6.7.0-4.2.101mdk
> - xorg-x11-server-6.7.0-4.2.101mdk
> - xorg-x11-6.7.0-4.2.101mdk
> - xorg-x11-75dpi-fonts-6.7.0-4.2.101mdk
> - xorg-x11-100dpi-fonts-6.7.0-4.2.101mdk
> - libxorg-x11-6.7.0-4.2.101mdk
> - kernel-2.6.8.1.24mdk
> 
> My server is connected through a full duplex 100Mbps on a switched LAN but the
> diskless workstations are using different types of NICs; full duplex and half
> duplex either on-board PCI and ISA NICs.  AFAIK, my kernel since it's already
> on 2.6.x, it is now sending of up to 32k packets to the network resulting to
> IP fragmentation to the network.  It will affect majority if not all the
> diskless workstations using half duplex NICs especially the ISA NICs.
> 
> My question is, where can I find the /linuxrc script so that I can set the
> rsize and wsize to 4096 only?  As much as possible, I don't want to compile a
> custom kernel for the full duplex based diskless workstations.
> 

 In the kernel package you have: 
 - a directory with the kernel name used for PXE booting the kernel
which contains
the kernel and the initrd image, with the pxe config file also.
 - a NBI image with the kernel and initrd altogether for NBI booting
(via Etherboot)
  
 You can 'gunzip' the initrd image and mount-it via '-oloop' and
you'll find the
 linuxrc script there. After modifying it you can (optionally)
gunzip-it back and place it under the PXE directory for booting it.

 If you don't use PXE for  net booting the kernel then install mknbi
(from the Etherboot site) and then take a look at 'mkelf-linux';
basically you build the NBI/ELF
 image for etherboot to load with :
 mkelf-linux --output bzimage-2.x.y-ltsp-t --apend 'root=/dev/ram0 rw
init=/linuxrc' kernel_file new_initrd_file.

 Another approach  would be to modify /opt/ltsp[4]/i386/etc/rc.local
to 'remount'
the root partition via NFS with the new options:
 mount -oremount,rsize=x,wsize=x /
but I never tested this. You don't have to modify any 'linuxrc'
scripts and kernel
images.

hth,
mitu


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to