From owner-freebsd-questions@FreeBSD.ORG Sat Sep 25 06:25:12 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 A148D16A4CE for ; Sat, 25 Sep 2004 06:25:12 +0000 (GMT) Received: from ns1.tiadon.com (SMTP.tiadon.com [69.27.132.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 276DA43D2F for ; Sat, 25 Sep 2004 06:25:12 +0000 (GMT) (envelope-from kdk@daleco.biz) Received: from [69.27.131.0] ([69.27.131.0]) by ns1.tiadon.com with Microsoft SMTPSVC(6.0.3790.0); Sat, 25 Sep 2004 01:21:35 -0500 Message-ID: <41550F44.80005@daleco.biz> Date: Sat, 25 Sep 2004 01:25:08 -0500 From: "Kevin D. Kinsey, DaleCo, S.P." User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7) Gecko/20040712 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Jayson Alvarez References: <20040925044532.15260.qmail@web51608.mail.yahoo.com> In-Reply-To: <20040925044532.15260.qmail@web51608.mail.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Sep 2004 06:21:36.0310 (UTC) FILETIME=[E8EAA560:01C4A2C7] cc: freebsd-questions@freebsd.org 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 06:25:12 -0000 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? > > > That would be pretty much what a lot of ISP's do, wouldn't it? IIRC, there's a section of the PPP chapter in the FBSD Handbook that mentions, perhaps explains well, this item. I've not yet tried it, YMMV. >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? > > > I guess so, see above. >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? > > > Not unless you have two modems. And two phone lines. >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? > > Yes, should be, if ports are not blocked and if sshd is enabled in /etc/rc.conf on his machine. >================================ >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. > > Welcome, hope it helps. Not much of answer, really. KDK