![]() |
Search |
| Home |
Desktop FreeBSD Part 6: User PPP ConnectionsBy Ed Hurst |Jul 7, 2007 at 10:49:14By this time, you should have guessed that running KDE takes a large chunk of machine resources. Really old machines will run this latest version of KDE quite slowly. I chose it for the FreeBSD beginner because it’s a good safe place to start, with so many built-in tools. One of the most important ones up to now has been KPPP — the dialup tool. In this lesson we are going to learn how to dialup without KPPP. With that, about the only reason to keep using KDE is simply that you like it.First of all, let's review a basic concept from the Clueless User's
Guide series: everything on the Open Source computer is a file. In your
However, FreeBSD has built into it another device which allows a
greater flexibility. For now, the one thing you need to know about the
For now, we've turned that feature off, but the tunnel interface is
built into the kernel, and is the device used for the built-in dialing
system. During the installation of FreeBSD, you were supposed to type
in certain information for the Network Connection setup. That
information was written to some files that we need to look at, in the
We've already edited the
Most of what you find there will probably be over your head. It took me a week of reading in books, Internet tutorials and bundled documentation befor I began to feel like I understood most of it. Fortunately, the installer probably did a great job of getting most everything there. Notice the format. There are at least two sections, each marked by a
keyword that is flush with the left margin. In mine, those words are
Don't forget that any line starting with a hash-mark (#) is ignored by the software, so I've left them out of my sample. Also, my ISP's phone number is bogus, as are the account name and password. Notice that all the lines below each header are indented one space. We have to stay with that format or the dialer won't work. The first section is named The second section would normally be a name you have chosen as the
nickname for your ISP. Since I only have one ISP, the default heading
is
The The rest shouldn't need your attention. Save the file, then still as root go up one folder to /etc:
There you should find a file named
In my case, I'm the only user on my machine, but you can add more by separating each additional name with a comma, but no spaces. If all is well, nothing more need be done. Your user account can now dial out and connect to the ISP. But how? The command in this case is as follows:
That is the
That command says to kill every process named "ppp." After awhile, it can be a bit of nuisance to type everything out at full length. Here the built-in script function of Open Source and the Bash Shell commands will provide an answer. First, make a sub-folder in your home directory:
Using the A script is nothing more than a set of commands, just like what you could type on the command line, but all run together as a single command. Every Bash Script has this line at the top:
This tells your system to use Bash to interpret the following
commands. While most scripts are complicated and long, you learn to
write them by starting with something simple, such as a pair of
commands to dial up and to break the connection. In this case, it is
very simple: just add the shell ID line and the command for dialing
out. Move into your
Recall that the tilde character (~) is shorthand for "my home directory" in Open Source systems. Joe will open a new file. Type that ID line, followed by the command to dial up:
Now save the file with the name "Netup" and close it. Now open another and put these lines in it:
Save it as "Netdn" and close it. Now, open your file
browser, Konqueror, and navigate into your new Now it won't matter which desktop you use, because you can simply open a terminal window (most menus offer Xterm) and connect without worrying about KPPP. FreeBSD has the option to use any number of desktop systems, and the light-weight ones are simply called window managers. Ask a user group what the favorites are and why. Or visit http://xwinman.org/ for a good survey of the most popular desktop systems and window managers. Ed Hurst is associate editor of Open for Business. Article Path: Home: Computers and Technology: Linux and BSD on the Desktop: FreeBSD: Desktop FreeBSD Part 6: User PPP Connections Re: Desktop FreeBSD Part 6: User PPP Connections forgot about handbook? Posted by ivan - Jul 9, 2007 | 10:18:21 Re: Desktop FreeBSD Part 6: User PPP Connections The handbook gives terse information better suited for experienced people, this article is written for those persons that may be new to working with FreeBSD. It does an excellent job providing great information. Posted by DragnLord - Jul 16, 2007 | 13:46:23 Re: Desktop FreeBSD Part 6: User PPP Connections I have to agree with the first comment. Although very well written and informative, these articles make things more complicated than they really are. The handbook solutions use native FreeBSD tools and are simpler. For example, here is all it takes to configure my remote printer using native LPD: lp|HP Deskjet 3930: Foomatic-rip is in ports and is optional. The .ppd file is from the OpenPrinting website. Also, the handbook describes how to set up sendmail for outgoing mail without a domain: [user1@78NVNXM /etc/mail]$ diff freebsd.mc 78NVNXM.mc [user1@78NVNXM /etc/mail]$ cat genericstable No need to depend on CUPS, Postfix, or (especially) KDE. Posted by Retired Guy - Jul 18, 2007 | 8:38:13 Trackback: FreeBSD fĂĽr den Desktop: Eine Anleitung Das FreeBSD auf dem Desktop nutzbar ist wird immer noch gerne Trackback from grUNIX - Aug 16, 2007 | 2:7:3 Re: Desktop FreeBSD Part 6: User PPP Connections @Retired guy: Posted by Melvyn - Aug 28, 2007 | 5:12:32 Please enter your comment entry below. Press 'Preview' to see how it will look. |
UPDATED: BSD on the DesktopBy Ed HurstIn an extensive multi-part report, OFB's Ed Hurst presents how the power of the FreeBSD operating system can be harnessed for the desktop. Using understandable instructions and relevant tips, Ed provides the tools for mere mortals to enjoy BSD's fabled stability. |
![]() |
Write for OFBOpen for Business accepts commentaries and other works on technology, current events, politics, philosophy, business and other relevant matters for publication. Commentaries should be 600-800 words in length, other works vary but should generally be kept to less than 1500 words. If you think you would like to contribute, contact OFB's editor, Timothy R. Butler. |
| Home |
| © 2001-2008 Universal Networks, All Rights Reserved. Some content rights may be held by Universal Networks' providers and used under license. |