From: "Philip Barnes" <phil@trig222.f9.co.uk>
To: "BlueZ users " <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] emulating a GPRS modem with a linux PC
Date: Mon, 20 Nov 2006 14:19:00 0000 [thread overview]
Message-ID: <20061120142002.D8ED11C0013E@mwinf7009.orange.net> (raw)
I use this a lot to connect my palm T2 to the net through my pc. I am currently running fc6, however my config has not changed from fc5.
<pedant>
I suspect you mean use, the linux box as a WAP/router, GPRS is a GSM data protocol.
</pedant>
The relevant parts of my rc.local file are below.
HTH Phil
-- start of rc.local
mknod /dev/rfcomm0 c 216 0
mknod /dev/rfcomm1 c 216 1
/sbin/modprobe rfcomm
#
# Start configuration of Bluetooth network
/usr/sbin/hciconfig hci0 up
/usr/sbin/hcid
/usr/sbin/sdpd
dund --listen --msdun 192.168.1.200:192.168.1.201
echo '1' > /proc/sys/net/ipv4/ip_forward
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
/sbin/iptables -A FORWARD -i ppp0 -j ACCEPT
/sbin/iptables -A FORWARD -m state --state ESTABLISHED,RELATED
#
-- end of rc.local
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next reply other threads:[~2006-11-20 14:19 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 14:19 Philip Barnes [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-11-20 10:02 [Bluez-users] emulating a GPRS modem with a linux PC scostas
2006-11-20 10:34 ` Michael McConnell
2006-11-20 10:48 ` scostas
2006-11-20 11:08 ` Michael McConnell
2006-11-20 12:44 ` scostas
2006-11-20 13:07 ` Michael McConnell
2006-11-20 13:59 ` Stefan Seyfried
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061120142002.D8ED11C0013E@mwinf7009.orange.net \
--to=phil@trig222.f9.co.uk \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).