Thursday, December 13, 2007

Manually Editing net.cfg for pppshare and Kali

The net.cfg file needs two sections for using Kali with pppshare.
The first section is called the Link Support section. Notice that
capitalization doesn't matter in most cases (except for scripting).
The link support section should look something like this:

LINK SUPPORT
BUFFERS 8 1500
MEMPOOL 8192

This section is used by LSL. LSL is "Link Support Layer." It's a
standard developed by Novell to make it easier to develop drivers
for different types of connections (SLIP, PPP, ethernet).

The Buffers line tells LSL to create 8 buffers each 1500 bytes in
size. The 1500 you see here shouldn't be changed. You can adjust
the number of buffers but usually this should be between 4 and 16.
The more buffers you have the less likely you are to lose an
incoming packet when traffic is going in quickly. The only reason
you don't always want to run 16 buffers is because each buffer
takes up 1.5K. 16 of these would be 24K! Most people can't afford
this much memory. If you have some upper memory to spare you can
load lsl high and all of these buffers will be created in upper
memory (assuming there's room).