Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Thanks for your quick reply.
My problem is, some times I lived in a remote area that internet speed connection are very bad. The connection available are DSL, wireless (HSDPA n EVDO n EDGE). Nobody can not guarantee that HSDA or EVDO offer good speed to upload or download without disconnecting or many times click "TRY AGAIN" in firefox.
So, I want to combine this available internet connection on 1 computer to get a better speed and reliable connection. I worked on a laptop. Which linux distro should I use? I have linux mint and ubuntu software.
After this one is solved, the second task I want to share this connection to the people nearby so they can have the opportunity get in to internet (most of them are kids).
The solution to your problem has existed for a very long time, but it's a little complex to setup for a normal user. To make everyone's life easy, we've started a opensource project called "IspUnity". With IspUnity, you can achieve whatever you've mentioned above. We are in the final stages of testing and releasing a ruby gem. if you are interested in the project, follow us on twitter @ispunity and the project is hosted on github: https://github.com/aruntomar/isp_unity .
A website dedicated to the project will be up shortly, the url is : www.ispunity.com
Is you can afford it: get two links with Ethernet (cable and DSL) and get a multilink router like the Cisco RV042, Netgear FVS336G or Draytek Vigor 2920
If you're feeling lucky: Set up both connections on your Linux NAT-router and give the fastest connection(router) a higher priority(lower metric). I'm not sure how well Linux detects Dead Gateways, though.
Hmmmm. OK, you need 2 NIC cards. Use one NIC for one provider, and the other for another provider. Once done, bridge them. This done, it should speed things up as it would get data from two providers rather than waiting on just one.
Distribution: Linux From Scratch. 64 bit. Kernel 4.3.3. KDE 4.14.10.
Interesting question, Roy.
Maybe if I tell you a little about a set-up that I use it might help. Basically I have a single ADSL "modem". Its quite a long way from the exchange, so the attenuation is high and there's a lot of noise (so SNR is not good). I can get about 1.7Mb/s down. However this is enough for a small office.
There are 2 workstations on the local area network together with an additional and rather ancient PC which runs various servers and acts as the gateway to the internet. Personally I find it better to have a gateway made up from a PC running linux together with a separate switch for the local area network than a combined router/modem box. There is one critical reason. Using a USB modem it is possible to reboot the modem from the PC when the modem has not lost synchronisation, but nevertheless is denied a route to the internet. Furthermore this can be done automatically via suitable shell scripts. It is of course important to have a firewall on the PC. For this I use iptables and fail2ban.
I have used a very similar arrangement, although much nearer the exchange, to support a group of about 6 office workers. It worked fine. These people were able to get simultaneous access to the internet, and we could even do secure transatlantic backups for databases over night. Nowadays this would be considered too slow for an office, and really you would probably want fibre connections for that. However if you want to support some children, by giving them access to the internet, it might still be suitable.
The technology to achieve all this is not obvious. I think it might help you to read up about TCP/IP, PPP and routing. The other things that should help are Network Address Translation and iptables. There are some pretty good explanations of TCP/IP and routing in "Running Linux" (O'Reilly). There are probably some good explanations on-line, too.
As for OS, I am actually running an ancient version of Red Hat extensively modified in order to keep it up to date. It may well be that some modern OSs provide everything you need, all on the distribution disks. However I download what I need and build it locally. One advantage of using an old PC is that it doesn't need much electrical power. In addition, there is no need for it to run X - you don't need the windows on the server.
If you want other ways of connecting to the internet, in addition to the ADSL, then you probably need knowledge of routing and acquisition of appropriate hardware interfaces. This might help if the ADSL proves to be unreliable. However if you can get a good connection, then that one connection may be all that you need.