On Wednesday 14 August 2002 15:47, Geoffrey S. Mendelson wrote: > Michael Sternberg wrote: > > As far as I know - Netvision uses a very strange scheme of modem > > connection. > > > > You have to receive IP address from DHCP, then connect to PPtP (VPN) > > server > > at Netvision with your login+password, receive a new IP and still use > > your old > > one (received from DHCP server) to go out to Internet. > > > > This scheme worked a week ago - maybe they changed something again ? > > I don't know, I was using the original scheme which was to log on with > the aurutzi zahav web page. > > What vpn software are they using?
i just finished configuring the new settings for the connection. i am connected to netvision via "aroozey zahav" you need a pptp that netvision send to you (they call it pptp-linux) which you need to place in your /usr/sbin. you also get 2 shell scripts for connecting and disconnecting. you need to add your netvision's username and password to /etc/ppp/pap-secrets and make some changes to /etc/ppp/options. this script will connect you to netvision, and make changes to your routing table as well. note that its checking for your 10.40.x.x address first (in eth0\1) and only then connects ppp0. this is how it all should look like : /etc/ppp/pap-secrets : --------------------------------------------------------------------------------------------------- # Secrets for authentication using PAP # client server secret IP addresses ####### redhat-config-network will overwrite this part!!! (begin) ########## ####### redhat-config-network will overwrite this part!!! (end) ############ username cable.netvision.net.il password /etc/ppp/options : --------------------------------------------------------------------------------------------------- lock usepeerdns --------------------------------------------------------------------------------------------------- the connection script (cablestart) : --------------------------------------------------------------------------------------------------- #!/bin/bash USERNAME="$1" /sbin/ifdown eth1 /sbin/ifup eth1 CABLEGW=`cat /etc/dhcpc/dhcpcd-eth1.info | grep GATEWAY | cut -d"=" -f2` /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 --------------------------------------------------------------------------------------------------- the disconnection script (cablestop) : --------------------------------------------------------------------------------------------------- #!/bin/bash killall pptp-linux --------------------------------------------------------------------------------------------------- tal. > > Thanks, Geoff. -- ======================================= Amir Tal Owner, Founder Whatsup, Hebrew Linux Portal Voice: +972-8-9363164 Cell: +972-58-978979 ICQ: 15748705 Email: [EMAIL PROTECTED] URL: http://www.whatsup.org.il ====================================== ================================================================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]
