From owner-freebsd-questions@FreeBSD.ORG Sat Sep 25 07:01:40 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D101416A4CE for ; Sat, 25 Sep 2004 07:01:40 +0000 (GMT) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id E920D43D49 for ; Sat, 25 Sep 2004 07:01:39 +0000 (GMT) (envelope-from ringworm@inbox.lv) Received: from ringworm.mechee.com ([4.26.230.108]) by out003.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20040925070134.WYGO26805.out003.verizon.net@ringworm.mechee.com> for ; Sat, 25 Sep 2004 02:01:34 -0500 Received: by ringworm.mechee.com (Postfix, from userid 1001) id E5AFA28; Sat, 25 Sep 2004 00:01:14 -0700 (PDT) From: "Michael C. Shultz" To: freebsd-questions@freebsd.org Date: Sat, 25 Sep 2004 00:01:12 -0700 User-Agent: KMail/1.7 References: <20040925044532.15260.qmail@web51608.mail.yahoo.com> In-Reply-To: <20040925044532.15260.qmail@web51608.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409250001.13522.ringworm@inbox.lv> X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [4.26.230.108] at Sat, 25 Sep 2004 02:01:33 -0500 Subject: Re: Help me please: I'm confused about remote log-in. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Sep 2004 07:01:41 -0000 On Friday 24 September 2004 09:45 pm, Mark Jayson Alvarez wrote: > Good day!!! > My home pc is obtaining an internet connection > through a dial-up modem. And as for this, I'm using > ppp. On my analysis, the ppp program residing in my pc > is connecting to some sort of an authenticating > server, am i right? Aside from the PPP, I've read the > portion in freebsd handbook regarding dial-in/out > services but I couldn't figure out how the process > works. Now, what i really wanted to do is to allow my > friend to log-in remotely to my pc and run some > applications like vi, mpg123 etc or even use my pc the > way I'm using it (just experimenting and of course I > would definitely want to do that too). > > These are the questions that are constantly floating > in my mind: > > 1. If I have a modem connected to a phone line, is it > possible to let my friend dial from his pc my > telephone number and then let FreeBSD answer the call, > and authenticate him by some sort of a login prompt? Look at /usr/share/examples/ppp/ppp.conf.sample scroll down to: # Server side PPP # # If you want the remote system to authenticate itself, you must insist # that the peer uses CHAP or PAP with the "enable" keyword. Both CHAP and # PAP are disabled by default. You may enable either or both. If both # are enabled, CHAP is requested first. If the client doesn't agree, PAP # will then be requested. # > > 2. What process would this be? Will I use some sort of > ppp server and then he uses his ppp to dial my > telephone number? > > 3. And If ever he will be connected to me > successfully, is it possible for me to still dial to > my isp knowing the fact that he is using my modem to > connect to my pc? If you have a second modem and line so one connects to your friend and the other to your ISP. Your friend can also go to the internet through your system. -Mike > > 4. And how about ssh? Knowing that we are not in LAN, > if we both connect to the internet, is it possible for > me to login to his pc and vice versa, using ssh by > specifying his ipaddress? How will the process be? > WIll he be using some sort of ssh daemon listening to > my request? > ================================ > You need not specify the specific details and > configuration files, just the hints about the > processes. > > I've asked these questions because this would be very > helpful to me now that I've got my first job working > in an actual IT environment. > > And that would be all. > Thank you very much for the time. > > > > > > > > > Network Operations Team > > www.pregi.net > > > > > > > > > > > > > _______________________________ > Do you Yahoo!? > Declare Yourself - Register online to vote today! > http://vote.yahoo.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org"