purestumped
03-04-2005, 11:08 PM
Here's hopefully a way to get your 6260 online via your Bluetooth dongle on Linux
0. Configure GnuBox
You will need to install gnubox_6670.sis on your phone.
This can be found at http://gnubox.dnsalias.org/gnubox/
It isn't my site, so I didn't hotlink it :)
Add a new Access Point called GnuBox. GnuBox is cAsEsEnSiTiVe.
Exit, without changing any further settings.
Start GnuBox.
Go to Options -> Install -> create records
Now exit GnuBox and start it again.
Go to Options -> 2box Bluetooth -> LAN Access server
If your screen is anything like mine, PortName will be BTCOMM::5
Ok, that is GnuBox set up - do not close it!
1. Setting up Linux
Create a file called /etc/ppp/peers/dun (I presume you have ppp installed)
Within that file, put in the following.
460800
debug # You can change this when it's working
10.0.0.1:10.0.0.2
ms-dns 194.168.4.10 # Change this to your ISP's DNS server
defaultroute
lock
crtscts
Next, start up the dialup networking daemon;
dund --encrypt --listen --persist call dun
Finally, use iptables to allow the 6260 to talk with the PC through NAT. (I also presume you have iptables installed!)
#!/bin/sh
IPTABLES=/sbin/iptables
# my outgoing connection
EXTIF="eth0"
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
$IPTABLES -t nat -F
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
Your milage may vary and mine certainly did. I cannot get this fully working but I do not thing it is any fault of my own. I use cable instead of ADSL and I'm not sure if this has anything to do with it as such. Any suggestions for improvement are very welcome.
Best of luck.
0. Configure GnuBox
You will need to install gnubox_6670.sis on your phone.
This can be found at http://gnubox.dnsalias.org/gnubox/
It isn't my site, so I didn't hotlink it :)
Add a new Access Point called GnuBox. GnuBox is cAsEsEnSiTiVe.
Exit, without changing any further settings.
Start GnuBox.
Go to Options -> Install -> create records
Now exit GnuBox and start it again.
Go to Options -> 2box Bluetooth -> LAN Access server
If your screen is anything like mine, PortName will be BTCOMM::5
Ok, that is GnuBox set up - do not close it!
1. Setting up Linux
Create a file called /etc/ppp/peers/dun (I presume you have ppp installed)
Within that file, put in the following.
460800
debug # You can change this when it's working
10.0.0.1:10.0.0.2
ms-dns 194.168.4.10 # Change this to your ISP's DNS server
defaultroute
lock
crtscts
Next, start up the dialup networking daemon;
dund --encrypt --listen --persist call dun
Finally, use iptables to allow the 6260 to talk with the PC through NAT. (I also presume you have iptables installed!)
#!/bin/sh
IPTABLES=/sbin/iptables
# my outgoing connection
EXTIF="eth0"
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
$IPTABLES -t nat -F
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE
Your milage may vary and mine certainly did. I cannot get this fully working but I do not thing it is any fault of my own. I use cable instead of ADSL and I'm not sure if this has anything to do with it as such. Any suggestions for improvement are very welcome.
Best of luck.