Hi, My ISP requires a dialer for the cable connection. It is very similar to connection with ADSL with pptp.
The setup is like this: 1. Use drakconnect to configure cable connection (DHCP). 2. Setup some basic options in /etc/ppp/options 3. Run the ISP script (see below) Is there a way to do all this from drakconnect GUI? The problem is that many newbies can't follow the steps and if drakconnect would do it automatically - it would be great. ------------------------------------------------------ Here is the script for connection from my ISP (slightly modified) (I use pptp-linux-1.1.0-2mdk) #!/bin/bash USERNAME="username" IFACE="eth0" ISP_HOST=isp.host.net # Restart network service # #/etc/rc.d/init.d/network stop #/etc/rc.d/init.d/network start /sbin/ifdown $IFACE /sbin/ifup $IFACE # Configure gateway (for the address in pptp command) # CABLEGW=`cat /etc/dhcpc/dhcpcd-$IFACE.info | grep GATEWAY | cut -d"=" -f2` /sbin/route add -host $ISP_HOST gw $CABLEGW # Run pptp # /usr/sbin/pptp $ISP_HOST debug user $USERNAME remotename $ISP_HOST mtu 1460 mru 1460 defaultroute # Instead of this we can use the if-up script # sleep 5 # Change the gateway (otherwise no internet beyond ISP) # NEWGW=$(/sbin/ifconfig ppp0 | grep inet | cut -d":" -f3 | tail -1 | cut -d" " -f1) echo $NEWGW /sbin/route add default gw $NEWGW /sbin/route del default gw $CABLEGW
