ppp connect problem
I'm trying to setup a ppp server and client. I'm connecting these two systems via ttyS0 (direct). I've followed a linux HOWTO but when I try to start ppp over the link I get the following error:
/usr/sbin/pppd: bad local IP address 127.0.0.1 Can anyone help explain this error? Thanks in advance for any help. linuxBill |
you seem to have configured 127.0.0.1 as your ppp IP address, but the 127.x.x.x network is reserved for the loopback network.
better user 10.X.X.X or 192.168.X.X for your ppp connection if it's private (not connected to the internet) Private IP address space has been allocated via RFC 1918. 10.0.0.0 10.255.255.255 alias 10.0.0.0/8 172.16.0.0-172.31.255.255 alias 172.16.0.0/12 192.168.0.0 192.168.255.255 alias 192.168.0.0/16 |
The server is also connected to a network via ethernet. Does this make any difference?
|
not concerning 127.X.X.X and RFC 1918 addresses
any private addresses should use RFC 1918 space |
AltF4,
Sorry, I've been off on a tangent. As a newbie, I'm not sure where to correct this problem. My /etc/hosts file is as follows: # Do not remove the following line, or various programs # that require network functionality will fail. #127.0.0.1 localhost.localdomain localhost 127.0.0.1 localhost BillsSys 169.69.69.3 HPLaserJ2100 169.69.69.180 cds 169.69.69.181 cds2 169.69.69.200 KoreanUnit 169.69.69.150 john 169.69.69.179 bill 169.69.69.254 guest 10.0.0.3 ppp01 10.0.0.4 ppp02 What is wrong here? Am I looking in the right location? Bill |
Suppose you used "BillsSys" somewhere in your ppp-config
you should use "real" addresses, 127.0.0.1 should not be used for anything but loopback |
The only places I can find that I used "BillsSys" is in options.ttyS0 and options.ttyS4. Those two files contain: BillsSys:ppp01 and BillsSys:ppp02 respectively. I got that input from the HOWTO file. What should be in there?
Bill |
I don't know how those smiley faces got in there. I'll try to clarify that, replace the smiley face with : and p. (:p). I'll do it again and hope the smiley faces don't appear, BillsSys:ppp01 and BillsSys:ppp02
Bill |
Damn!
|
All times are GMT -5. The time now is 04:45 PM. |