> I am trying to get a ppp server running, but it is giving me some
> grief.
> I am running RH 7.1 and after a lot of fiddling, i found out that the
> ppp that comes with that version is broken and so updated to
> ppp-2.4.1-3 which is supposed to work.
Depending on what RH modified pppd it is you may have one that I know
doesn't work right. That would be one that came with RH 7.2.
Quote:> When I dial up (using winXP) it authenticates but immediately drops
> the connection (so the symptoms are the same as when using the faulty
> ppp ).
> the messages log says:
> .
> .
> user tobias logged in
> LCP terminated by peer (and then some garbage)
> Hangup (SIGHUP)
> Modem hangup
> .
> .
Add the pppd debug option and follow the recipe in my signature to get
detailed PPP link negotiation messages. Post exact copies of them,
including timestamps and we probably can then help you.
Quote:> and a little further down there are some DHCP requests
Huh? Regular landline PPP doesn't use DHCP.
Quote:> So what gives?
> WinXP says that the remote server could not assign an IP address.
> I have in the /etc/ppp/options.ttyQ1a1 the following:
> #the beginning
> 192.168.10.1:
> #the end
I don't recognize ttyQ1a1 as being a serial device file? The serial device
files are usually the ttyS* files.
Quote:> And as far as I understood this should give the glient a dynamic
> address.
No, it gives the RH host an IP address. You likely would want to supply
the host calling in with an IP address it will use:
192.168.10.1:xxx.xxx.xxx.xxx
Quote:> I have DHCP set up correctly (AFAIK).
> The server has two nic's one with public ip (196.x.x.x)and one with
> private ip (192.168.x.x)
> Any suggestions, or references to good online documentation would be
> great. I have read the ppp-howto but it doesn't address my problem
> really.
I'm not sure there is anything I can recommend for setting up a dialin
connection host. I've set one up but don't recall what documentation
I started with, aside from "info mgetty". You can try these but if you
are able to start PPP negotiations started then the log messages should
provide an answer:
http://www.swcp.com/~jgentry/pers.html
http://www.swcp.com/~jgentry/dialin2.html
http://www.linuxgazette.com/issue38/gentry.html
(one or more of the above is probably gone)
http://www.tldp.org/HOWTO/ISP-Setup-RedHat-HOWTO.html
http://www.xnet.com/~efflandt/linux/
--
PPP-Q&A links, downloads: http://ckite.no-ip.net/
/* Recipe for a unified PPP debug log file: Add the line
" local2.*;*.=debug;*.=notice /var/log/ppp-debug.log "
to /etc/syslog.conf, and then do " kill -HUP $(pidof syslogd) "
so that syslogd rereads it. */