Hi,
Thanks, but in the end I connected to netvision. I understood they
supported linux properly but when I called them they say they
only supports redhats from version 7 and I have version 5.2
(originaly). anyway, they gave me a lame script that didn't work
so I had to figure out for myself, whats the problem.
I figured out I don't have /etc/dhcpc/dhcpcd-eth1.info 
which I don't unedrstand why they insist on complicating things.
so I just took it from ifconfig.
ok, so when I called back to ofer them the revised script they
say it doesn't matter because they only support redhats 7+.
A bit lame if you ask me. In addition they say that they don't really
know linux and that someone wrote for them the scripts and that they
don't even know what the messages in the logs mean.
some support...

Anyway, here is a simple fix to those who have old distributions:

#!/bin/bash

USERNAME="$1"
CABLE_MODEM_INTERFACE="$2"
/sbin/ifdown eth1
/sbin/ifup eth1

CABLEGW=`/sbin/ifconfig|grep -A1 $CABLE_MODEM_INTERFACE|grep "inet addr"
|cut -d":" -f2 |cut -d" " -f1`

/sbin/route add -host cable.netvision.net.il gw $CABLEGW

/usr/sbin/pptp-linux cable.netvision.net.il debug user $USERNAME remotename
cable.netvision.net.il mtu 1460 mru 1460 defaultroute

sleep 5

NEWGW=$(/sbin/ifconfig ppp0 | grep inet | cut -d":" -f3 | tail -1 | cut -d"
" -f1)

/sbin/route add default gw $NEWGW
/sbin/route del default gw $CABLEGW


Regards,
        tzahi fadida.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Linux Israel Net
> Sent: Sunday, July 18, 2004 5:05 PM
> To: 'Tzahi Fadida'; [EMAIL PROTECTED]
> Subject: RE: cable access.
> 
> 
>       Hi Tzahi
>       useful links:
>       http://linux.israel.net/pdf/cable-connect.pdf
>       
> http://support.actcom.co.il/support/tips/cableen/cableRedhat_pptp.php
> 
>       good luck
>       Miki Barzilay
>       http://Linux.Israel.Net
> 
> > Hi,
> > I wish to connect via the cable infrastracture using barak.
> > 
> > I have a 2.4.4 kernel that I use to connect today via adsl.
> > I used to connect using pptp and then we moved to pppoe.
> > 
> > What will I need to connect using the cable,
> > and where can I find a decent howto.
> > 10x.
> > 
> > Regards,
> >     tzahi.
> > 
> > 
> > 
> > =================================================================
> > 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]
> 
> =================================================================
> 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]
> 
> 
> 



=================================================================
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