Share

Linux NV Cables Script - makini

File Release Notes and Changelog

Release Name: v022

Notes:
Based upon original script by ERROR404 for Redhat 8
(http://cables.netvision.net.il/linux)
---------------------------------------------------
v022 - a new pppd option added: 'persist', see man pppd...
---------------------------------------------------

Fedora Core 1 is the original paltform, 
can be used under any RH systems, Debian, Mandrake & SuSE;
needs tuning under older systems.

Setup:

Required:  
ppp package installed,  
NIC driver (eth0/1/2...) configured to get the IP & DNS info from DHCP client !
(that is usually done in GUI\config files), some older\odder distro's have no DHCP client, 
or the client doesn't have the lease files located where the scripts usually expect, 
on such systems the gateway can be set in the script' "CABLEGW" variable manually...
it is the def. gateway IP in this case & can be taken from 'route' (-n) command output -
in the "default" line it is the IP in "Gateway" tab.

1: unpack ('tar -zxvf ...'), this will create a directory - "nvc" with the script & files needed
2: edit the '/etc/ppp/pap-secrets' - add a new line with "user"   *   "passwd" (with your info, quotes needed)
3: run - e.g. './cablestart.v021 username eth0' output is obscure, check your configuration if something fails.

makini

Changes: A new pppd option added - suppose to help with disconnections, it will try reconnecting you if the link fails...