All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] emulating a GPRS modem with a linux PC
@ 2006-11-20 10:02 scostas
  2006-11-20 10:34 ` Michael McConnell
  0 siblings, 1 reply; 8+ messages in thread
From: scostas @ 2006-11-20 10:02 UTC (permalink / raw)
  To: bluez-users

Hi all:

I have a PDA and I need to connect to the internet with it, but at work. 
I tried Synce but it doesn't work, because Pocket IE wants a true 
connection, and Synce still doesn't support the desktop passthroug.

So I had the idea of emulating a BlueTooth GPRS modem with the PC. This 
is: the PDA will think that my PC has a GPRS modem and will use it to 
connect to the internet.

Is possible to do that? I tried to do it with pppd and /dev/rfcomm0 but 
I was unable to make it work :(

Thanks.

-------------------------------------------------------------------------
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

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: [Bluez-users] emulating a GPRS modem with a linux PC
@ 2006-11-20 14:19 Philip Barnes
  0 siblings, 0 replies; 8+ messages in thread
From: Philip Barnes @ 2006-11-20 14:19 UTC (permalink / raw)
  To: BlueZ users 

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2006-11-20 14:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2006-11-20 14:19 Philip Barnes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.