Date: Sat, 26 Mar 2005 18:16:22 -0500 From: Peter Blowers <pblowers@chartermi.net> To: freebsd-questions@freebsd.org Subject: rfcomm_pppd and nat - trying to share internet with palm via bluetooth Message-ID: <9bab40edc718bbd10de6ef1865290647@chartermi.net>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9bab40edc718bbd10de6ef1865290647>