AuthorTopic: Chestnut connection is slow. (Read 7839 times)

I am using chestnut-dialer in VL 6.0 STD GOLD.In 5.8 SOHO, I used kppp to connect to the internet and in fedora/kubuntu I used wvdial to connect.But in VL6.0, the connection speed is lower than that of VL5.8/fedora/kubuntu.Is there anyway to increase the internet speed?Can we use wvdial instead of chestnut(if the problem is within chestnut)? If yes, which are the additional packages I have to install?

It may not help your situation but with some modems you are periodically disconnected or experience slow connection speed and lowering the dialers connection speed can solve or reduce this..my us robotics external will only hold a connection at 14.4 but does function at higher speeds with periodic disconnection.

it is possible that kppp is included with kde I am not sure and although wvdial is not in my gslapt list it may be in testing..otherwise it may be downloaded and compiled manually..be sure to check for dependancies if aquireing from outside sources.I have not used either.

I couldn't notice any change in increase of the speed. kppp is included in every kde distribution. But all kppps are saying "Modem not responding" except in VL 5.8 SOHO. What are the settings Max transmission unit/Max receive unit? Will it change the speed?

I'll try wvdial manual installation. Thank you for your co-operation. I tried almost all linux versions but I couldn't find any ready-made linux like VectorLinux. All other requires a lot of some packs to install after OS installation.

Another question, can we share a folder as FTP over the internet in VL 6.0? Which pack I have to install?

the mtu and mru refer to the packet size, any messages larger than the packet size are divided into smaller packets..it can increase speed but much depends on the size of the pipe..you may try increase to 576 or play with values from 296 to 1500 depending on the available bandwidth and your modems capability. I am not sure what else to suggest..perhaps someone else has greater knowledge.

Another question, can we share a folder as FTP over the internet in VL 6.0? Which pack I have to install?

there is proftpd and vsftpd in the repositories. I normally use the sftp service provided by the sshd daemon, which is fine for personal use and it is secure. If you plan to share files for the world to download from your comuter, the first two are better options.

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

Looks like you are starting the daeons as user? You need to be root to start them. I would recommend you to read some documentation about those programms, their configuration and te implicances of running them, since they need to be configured accordingly with your needs.What are your goals? do you want to make a file server or reach your personal files remotely? you will be accessing the service from your local network? or from the internet?

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

ok, first, we have a bug in the proftpd package, I am the culprit of that one. I packaged new openssl without noticing that the new packages would break proftpd. I need to recompile proftpd against the new openssl packages. You can install this package from slackware so you dont have to wait for me:

wget http://slackware.osuosl.org/slackware-12.1/patches/packages/proftpd-1.3.1-i486-2_slack12.1.tgz# become root to upgrade the packagesu# upgrade the package instead install so you dont get two versions installed at the same timeupgradepkg proftpd-1.3.1-i486-2_slack12.1.tgzNow we are ready to start playing with proftpd. There is two ways or modes for running proftpd. The first one is the StandAlone mode. proftpd will run as a daemon in the background listening from connections. The second one is the inetd mode. This one uses the inetd service for starting the proftpd process. Instead of having the daemon running all the time, the process will start only when a client asks for it at the port 21 or another port of your choice. This one has the obvious advantage of not needing the ftpd daemon running all the time. We have another daemon (yeah I know, funny) that can start or stop other daemons for us.

The StandAlone mode.

This one is more easy, you dont need to configure inetd. Open a terminal and with the text editor of your choice open /etc/proftpd.conf, for example:

proftpd -nThe -n flag will prevent proftpd from detaching from the terminal to the background. This is cool for testing as you can see the logs in that terminal window and you can stop the daemon easily by hiting control+c at any time. So, with your favorite ftp client try to connect to your own box, I like lftp myself.In the proftpd terminal I can see:

rbistolfi:$ lftp vector1.baires -u rbistolfiPassword: lftp rbistolfi@vector1.baires:~> ls docsdrwxr----- 2 rbistolfi rbistolfi 4912 Sep 19 2008 Programming_in_LuaThat is the directory listing of my ~/docs directory (yeah, I lost my docs in my last migration, I forgot to backup them, I will have to use my google foo again to recover them). A note: at this point, only users with an account in your box can access the server, so you need to use your username and password and the same permissions policy of the regular filesystem is valid over the ftp protocol.

Allowing anonymous login.

Allowing anonymous login is easy. In the /etc/ftpusers files there is a list of users, those are the users that are NOT ALLOWED to use the ftp system. Remove the ftp user from that list to allow anonymous login. This will take the users to the /home/ftp folder after connecting, in that directory you can place files to share. At this point you should read something about how to secure an ftp server, stay tunned with security updates and advisories on proftpd etc etc. Avoiding anonymous login is maybe a good idea. One way of doing that would be creating a user exclusively for ftp. You can add new users using vasm. You could create one user called, for example, ftp-user. Use its home directory as shared folder, give the user and the password to your trusted friends.As time permits, I will add some information about the inetd mode of proftpd, the sftp feature of sshd, and maybe some about httpd. We could put together a nice HowTo about file sharing in VL.

HTH

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!

DefaultRoot ~/sharedor any directory of your choice. Be sure the directory exist. When your users login, they can't see anything on top of the DefaultRoot.There is also more complex and advanced possibilities using some others proftpd configurations. Take a look at the proftpd userguide at http://www.proftpd.org/localsite/Userguide/linked/userguide.html

Logged

"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."Jorge Luis Borges, Avatars of the Tortoise. --Jumalauta!!