Re: More on passwordless logins

From: Brian Hatch (secure-shell_at_ifokr.org)
Date: 06/30/03


Date: Mon, 30 Jun 2003 09:11:07 -0700
To: Ifan Jones <ifan@draig.co.uk>



> Sorry, I didn't mean to reply to you persoanlly, so I'll cc this to the
> list in case anyone else out there finds it usefull.

(Not sure that this should be going back to the list, since we're
now in a PPP issue, not an SSH issue, but I'll let the moderators
decide that.)

> My command= line was missing only the last " - the gopp script looks
> like this....
>
> #!/bin/bash
> /usr/bin/sudo /usr/sbin/pppd noauth proxyarp 192.168.0.100:192.168.2.100

Your IP addresses need to be on the same subnet in order to talk to
each other. You should try something like 192.168.0.1 and 192.168.0.2.
The 192.168.x networks are all Class C's, which means 255.255.255.0
by default, unless subnetted differently.

This may not be the only problem, but it's one obvious one. You should
still check your logs and see what you can see. Sudo should log the
launch of pppd, and pppd should have lots of logs, especially if you
include 'debug' on the pppd command line.

--
Brian Hatch                  "They always said I was carrying around a
   Systems and                lot of repressed anger.
   Security Engineer          I'm not repressed anymore."
http://www.ifokr.org/bri/
Every message PGP signed




Relevant Pages

  • Re: disabling PPP messages from syslog
    ... There is no pppd option for doing so, ... > logs often filling up all avaiable space. ... Store your Logs on another machine in the Network. ...
    (comp.os.linux.networking)
  • Re: PPPoE-Server not responding to Configuration Requests
    ... seem to match up with the pppd log you've shown. ... The implication, I think, is that it's your local PPPoE implementation ... Pppd is transmitting packets, but those packets aren't ... Yes the logs clearly show the server is recieving them. ...
    (comp.protocols.ppp)
  • Re: Another kppp problem - exit status 2
    ... Sure - it's a 2 return value on program exit. ... Why aren't you reading the logs anyway? ... "debug" and divert the pppd messages to an appropriate file via syslogd. ... a compression method that you do not have. ...
    (comp.os.linux.setup)
  • Re: "noauth" pppd snit with kubuntu
    ... pppd process doesn't seem to update anything there (SuSE's pppd listing ... pppd logs at 'daemon.debug' while chat logs at 'local2.info' - I never ... was unable to handle a login prompt, and ISPs all over the world changed ... The default mode for these terminal servers is to switch ...
    (comp.os.linux.misc)
  • Re: Installing modem.
    ... pppd, this is about the best way I can think of to get things done. ... provide some insights on how to appropriately diagnose this issue. ... send the logs to this list. ... that ttyS4 is the modem, but I want to compare it to something else. ...
    (Debian-User)

Quantcast