From owner-freebsd-questions@FreeBSD.ORG Sat Mar 26 23:16:29 2005 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 DA7EB16A4CE for ; Sat, 26 Mar 2005 23:16:29 +0000 (GMT) Received: from mxsf35.cluster1.charter.net (mxsf35.cluster1.charter.net [209.225.28.160]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5EC3343D39 for ; Sat, 26 Mar 2005 23:16:29 +0000 (GMT) (envelope-from pblowers@chartermi.net) Received: from mxip14.cluster1.charter.net (mxip14a.cluster1.charter.net [209.225.28.144])j2QNGSBd009424 for ; Sat, 26 Mar 2005 18:16:28 -0500 Received: from 24.247.189.51.gha.mi.chartermi.net (HELO [10.10.0.156]) (24.247.189.51) by mxip14.cluster1.charter.net with ESMTP; 26 Mar 2005 18:16:26 -0500 X-Ironport-AV: i="3.91,125,1110171600"; d="scan'208"; a="90429606:sNHT27269398" Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <9bab40edc718bbd10de6ef1865290647@chartermi.net> Content-Transfer-Encoding: 7bit From: Peter Blowers Date: Sat, 26 Mar 2005 18:16:22 -0500 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.619.2) Subject: rfcomm_pppd and nat - trying to share internet with palm via bluetooth 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, 26 Mar 2005 23:16:30 -0000 Hi, ppp newbie here. I'm trying to share my freebsd machine's internet connection with my palm via bluetooth. The freebsd machine is connected via wired ethernet to a linksys wireless access point, that is connected to my cable modem on the wan side. The linksys AP is my gateway. Bluetooth seems to be working fine. I can connect and ping the freebsd machine from my palm, but I can't get to the internet. That is, I can't ping my ISP's DNS. I thought 'nat enable yes' or 'set nat enable' would do it, but no luck. I run the following on the freebsd machine: /etc/rc.bluetooth start ubt0 sdpd rfcomm_pppd -s -C 1 -l rfcomm-server and in /etc/ppp/ppp.conf I have this: rfcomm-server: set device /dev/cuaa1 set cd off set dial set speed 115200 set timeout 0 nat enable yes set ifaddr 192.168.0.1/0 192.168.0.2/0 enable dns add default HISADDR open disable pap deny pap disable chap deny chap if I do this in ppp.conf instead: set ifaddr 10.10.0.2 10.10.0.201 255.255.255.0 where 10.10.0.2 is the wireless router(gateway), then the palm gets an ip of 10.10.0.201 just fine, and it can ping the freebsd machine (10.10.0.154) and the wireless router (10.10.0.2), but STILL can't get to the internet. Also tried setting net.inet.ip.forwarding=1. No change. Anyone have some suggestions? thanks, pete