Hi all,
i have a problem here.. from my target board i am running the dialout code ( similar to dialup connection) to a telephone number, where a windows PC is configured to accept the incoming connections.. and also windows PC is configured such that it will allocate a local and remote IP to the client that will dial in to the windows PC... NOW, after getting the ppp0 interface up i am getting like this...
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.178.124 P-t-P:192.168.33.200 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:587 (587.0 b) TX bytes:123 (123.0 b)
here 192.168.178.124 IP address is the IP address of the eth1 interface of the board... and 192.168.33.200 IP address is the one alloted by the windows PC... my problem is windows PC has allocated some 2 IP addresses and only one i am getting in the PPP link... and the other (192.168.178.124 ) it is taking the ip address of the eth1 interface...
what went wrong ??? right now i am using these options in th /etc/ppp/options file
/dev/ttyCPM1
38400
lock
defaultroute
nodetach
usepeerdns
user test
do i need to add some more options to PPP...
please someone help me....
thanks...
