[Prev][Next][Index]
Re: PPP to huji ... again ...
This is something Harvey sent me about a week ago (hope this doesn't violate
any copyright, Harvey!)
-- Starts here
Pretty trivial. Here's how I do it. It's a little kludgey because I
use kermit to dial out instead of chat. But, it works.
1. Make sure you have ppp in the kernel (kernel version 1.2.0 or
higher will do this).
2. Get & compile pppd. If you have kernel 1.2.8 or higher, you
need to get version c & patch it.
3. Kermit over to the terminal server.
4. Give the command "ppp default"
5. Exit back to the kermit prompt.
6. Give the command:
!/usr/sbin/pppd /dev/ttyS3 38400 -detach crtscts modem defaultroute
noipdefault
but replace /dev/ttyS3 with whatever port your modem is on.
Make sure pppd is run as root (make it suid root if you want).
At this point, if your local networking is properly set up, you should
be able to at least telnet, ping, ftp, etc, to numeric addresses. To
work with normal names, you'll have to make sure your /etc/resolv.conf
file points to an appropriate nameserver.
--- HJS's words end here
Regards,
Ariel
--
Ariel Nowersztern The HUJI CS system group reln@cs.huji.ac.il
Finger for GCode v2.1 Check out http://www.cs.huji.ac.il/~reln/
"The best way to keep one's word is not to give it." -- Napoleon Bonaparte