I have two Vritual Machines (part of a bridged network) (both Ubuntu 64-bit) running Oracle VM Box.
I can communicate between the two machines using netcat.I have installed ppp daemon on both the machines.The name and the IP address of the machines are given below.
nas 192.168.129.153 (Acts as the server) home_user 192.168.129.152 (Acts as the )
I run the following commands from the server and the client respectively
@Server (nas) sudo pppd 192.168.129.153:192.168.129.152 nodetach pty "nc -l 3333 pppd"
@Client (home_user) sudo pppd 192.168.129.152:192.168.129.153 nodetach pty “nc 220.127.116.11 3333”
I get the following messages from the server and client respectively.
sudo pppd 192.168.129.152:192.168.129.153 nodetach pty "nc 192.168.129.153 3333" Using interface ppp0 Connect: ppp0 <--> /dev/pts/2 CCP: timeout sending Config-Requests IPCP: timeout sending Config-Requests Connection terminated. Modem hangup Child process nc 192.168.129.153 3333 (pid 2298) terminated with signal 15
sudo pppd 192.168.129.153:192.168.129.152 nodetach pty "nc -l 3333" Using interface ppp0 Connect: ppp0 <--> /dev/pts/1 Deflate (15) compression enabled local IP address 192.168.129.153 remote IP address 192.168.129.152 No response to 4 echo-requests Serial link appears to be disconnected. Connect time 2.5 minutes. Sent 1060 bytes, received 0 bytes. Connection terminated. Modem hangup.
My final aim is to disable authentication and have the NAS (Server) end suppply a fixed IP address and a default route to the home user end.
Any help would be highly appreciated.