On Saturday 23 June 2007 07:29, [EMAIL PROTECTED] wrote:
> I'm trying to transfer a large file from computer A to computer B using
> a null modem cable. The file is a compressed file which, when
> transferred, will allow me to install on computer B the distribution
> called Delilinux. I have no other way of getting the file onto computer
> B than via the cable.
>
> Preparatory to such a transfer, I've run a couple of installation floppy
> disks on computer B. They're supposed, among other things, to install
> pppd on computer B. In order to make it easy to transfer the file using
> pppd, you're prompted to do certain things after the installation on
> computer B of pppd.
>
> One is obviously to run pppd on computer A. However, computer B tells
> you, in effect, that computer A must have the address 192.168.0.1. I've
> run on computer A the command I'm told to, but no connection between the
> two computers is created.
>
> Computer A is behind a modem/router and already has the address 10.1.1.1.
>
> Is that likely to be the reason why no connection is created?
>
> If so, is there a way to give 10.1.1.1 the alias of 192.168.0.2?
>
> If not, it seems that computer B has on it Telnet. Can I use that to
> transfer the file instead?
>
> Thanks for reading this,

Leslie
I've just spent a torrid time understanding pptp with its pppd overtones:

Each end of the tunnel has an IP address that makes no further difference to 
the picture. 
IE machine B can be 192.168.0.1 (and have an ethernet, or not, at any address)
machine A can be 10.1.1.1 and have a ppp tunnel address of 192.168.0.2
(the tunnel can even be 10.1.1.1 !!!!)

Forget aliases!!

Now A and B can talk. If not the ppp is not established. To go further routing 
is needed on each end ie machines on A network talk to machines on B network.

Note you do NOT have to allocate addresses on B. Run debug on pppd and watch 
the log eg real example:

Jun 12 21:18:10 server pppd[11446]: rcvd [IPCP ConfReq id=0x2 <addr 0.0.0.0> 
<compress VJ 0f 01>]
Jun 12 21:18:10 server pppd[11446]: sent [IPCP ConfNak id=0x2 <addr 
192.168.1.52>]
Jun 12 21:18:10 server pppd[11446]: rcvd [CCP ConfAck id=0x1]
Jun 12 21:18:10 server pppd[11446]: rcvd [CCP ConfReq id=0x2]
Jun 12 21:18:10 server pppd[11446]: sent [CCP ConfAck id=0x2]
Jun 12 21:18:10 server pppd[11446]: rcvd [IPCP ConfReq id=0x3 <addr 
192.168.1.52> <compress VJ 0f 01>]
Jun 12 21:18:10 server pppd[11446]: sent [IPCP ConfAck id=0x3 <addr 
192.168.1.52> <compress VJ 0f 01>]
Jun 12 21:18:10 server pppd[11446]: Cannot determine ethernet address for 
proxy ARP
Jun 12 21:18:10 server pppd[11446]: local  IP address 192.168.1.1

NEITHER machine has 192.168.1.0 network addresses!

br0       Link encap:Ethernet  HWaddr 00:30:1B:B2:A5:7C  
          inet addr:192.168.17.254  Bcast:192.168.17.255  Mask:255.255.255.0
          inet6 addr: fe80::230:1bff:feb2:a57c/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3625715 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4832855 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:805290900 (767.9 Mb)  TX bytes:4138528348 (3946.8 Mb)

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:192.168.1.1  P-t-P:192.168.1.53  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:448 errors:0 dropped:0 overruns:0 frame:0
          TX packets:518 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:28466 (27.7 Kb)  TX bytes:118008 (115.2 Kb)

So use the logs to see why ppp is not connecting (I'm using a bridge for 
openvpn so ignore br0 pretend it's eth0)

James
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to