On Sat, Dec 13, 2003 at 10:55:50AM +0200, Offer Kaye wrote:
> After itdown and ifup I saw using /sbin/ifconfig that eth0 was up and
> running.

Good. That means DHCP works.
 
> Then I downloaded the connection tarball from Netvision, and after
> following the instructions in the readme (editing the files
> /etc/ppp/pap-secrets and /etc/ppp/chap-secrets) I ran the cablestart
> script.

No need to use this tarball on new distros. Just install the standard
"pppd" and "pptp-linux" package.

> All the steps seem to be going well (I tried running them manually) up
> to the ./pptp-linux call. There the script seemed to encounter a
> problem, only I don't know what problem. If I do /sbin/ifconfig I get a
> ppp0 entry for a short while (less then a minute) but then it stops. The
> only place where I saw anything suspicious is in /var/log/messages where

You probably experience the infamous problem of having the PPTP
connection route through the PPP interface, thus loopbacking thru
itself. You can verify that it's indeed so, by looking at "ifconfig
ppp0": you'll notice that, while the TX count never increases, the RX
count increases by few megabytes every second.

To solve this, you can add a static route to your PPTP server manually,
but I recommend you to use my 'pptp-routed' script, which wraps
'pptp-connect' and does everything for you:

1. Download pptp-routed and set it as executable:

http://iglu.org.il/~future/pptp-routed

2. Download latest 'pppd' and 'pptp-linux' packages for your distro.

3. Create a new PPP/PPTP connection with Fedora's network setup tool,
if it allows you to choose a custom executable as your "pptp-connect".
If not, create a regular PPP connection and add to its additional
arguments:

pty "pptp-routed cable.netvision.net.il --nolaunchpppd"

(assuming you placed 'pptp-routed' in your PATH)

4. Run 'ifup ppp0'.

5. Optionally, configure in your network setup tool to bring ppp0 up at
boot time.

> I see a line complaining that ppp-compress 21 can't be found, or
> something like that.

That's not related. Ignore the message or compile your kernel with PPP
compression. I'm not sure whether modern ISPs use this compression.

> Has anyone with my setup (Netvision/Matav) been able to connect to the
> Net? What am I doing wrong? Should I be using a different pptp binary? 

Of course. You'll be online in no time.

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to