|
Basic Linux TrainingLesson 14: Linux and the Internet
Table of Contents
Your PPP ConnectionAlthough there is a tremendous amount of technical detail to TCP/IP and telecommunications, setting up your connection to the Internet is very simple. The textbook covers SLIP, so we'll discuss PPP here. Since almost all of the class is coming from a DOS/Windows background, I have included some notes about installing Netscape also.To establish a PPP connection to the Internet through your ISP, you have to login: as root to set up a few scripts:
~$ ppp-onthen, you can check it using ~$ ifconfig or route To disconnect, type in ~$ ppp-off There are some problems with kernel 2.0.29 so you may want to install patches 30 through 33. You may need to also upgrade to ppp-2.2.0g.tar.gz and update your pppd. Apparently the kernel 2.0.29 does not work with older versions of pppd. Your ISP may be using a different login process. You'll know if you keep getting disconnected after a few seconds after you dial in. The best way is to dial in manually using minicom or seyon to read the prompts so you can adjust your scripts for what your ISP asks; simply edit your /etc/ppp/ppp-on-dialer file to match what your ISP wants. If you're having trouble with these scripts, I highly recommend that you download PPPKit-0.7 from http://undertow.csh.rit.edu/atomik or you can get it from ftp://sunsite.unc.edu/pub/Linux/system/network/serial/ppp/PPPKit-0.7.tar.gz to write the scripts for you. This is as simple as it gets setting up ppp. NetscapeNetscape versions 3.x through 4.03 do not run well with the latest libraries, but there is a possible work around to this problem.The library that causes the trouble is called libc.so. In the library the memory management functions check whether the freed memory was allocated or not; if not, a bus error occurs. As with most problems, there is a patch available at ftp://sunsite.unc.edu/pub/Linux/apps/www/browsers/nets-2.0.tar.gz - Netscape fix. This file contains the library you need, (libc.so.5.4.33), and also contains the correct paths and symbolic links. Download this file and unpack it as root in the root (/) directory. This patch only fixes the memory allocation bug.There is also an especially nasty Java bug. [Playing badly written Java applets can cause your whole system to seize up.] If you're interest in the Navigator 5 source code (about 8.7 MB), you can download it from http://www.mozilla.org, but remember that you will need gcc installed and upwards of 50 MB free space. Pre-compiled binaries may also be available - caveat emptor
AssignmentsTextbook: Running Linux
Textbook: A Practical Guide to Linux
Terms and Concepts: Define and add these to your glossary:
Online: http://sunsite.unc.edu/LDP/HOWTO/HOWTO-INDEX.html - HOWTO Index PPP HOWTO (3 documents) temporarily here as a plain text file while being converted to HTML and/or SGML mini-HOWTO Windows Modem Sharing http://www.redhat.com/support/docs/rhl/PPP-Tips/ - PPP Setup Tips http://www.redhat.com/support/docs/rhl/Dialup-Tips/ - Dialup Tips http://home.earthlink.net/~webspot/ppp.html - The 5 Minute Linux PPP HOWTO http://www.umr.edu/~mark/linux/ppp.html - Linux PPP Page http://www.datadepot.com/~ramune/MiniPPP.txt - Mini-PPP How-To http://members.ping.at/theofilu/netscape.html - Linux Netscape Help Page http://204.127.237.208/wurd/software/dialers/linux.html -AT&T WorldNet Users Reference Desk http://www.olypen.com/linux/index.html - Olympic Peninsula LUG Technical Support
http://home1.gte.net/henryw/basic/basic14.html
Copyright © 1997, 1998 Henry White. All Rights Reserved. |
|||||||||||||||||
With any suggestions or questions please feel free to contact us |