![]() |
2012-08-27
, 03:59
|
Posts: 166 |
Thanked: 74 times |
Joined on May 2010
|
#251
|
The Following User Says Thank You to jschan For This Useful Post: | ||
![]() |
2012-08-28
, 22:14
|
|
Posts: 224 |
Thanked: 80 times |
Joined on Nov 2009
|
#252
|
![]() |
2012-08-28
, 22:50
|
Posts: 166 |
Thanked: 74 times |
Joined on May 2010
|
#253
|
The Following User Says Thank You to jschan For This Useful Post: | ||
![]() |
2012-08-28
, 23:50
|
|
Posts: 224 |
Thanked: 80 times |
Joined on Nov 2009
|
#254
|
![]() |
2012-10-03
, 17:18
|
Posts: 2 |
Thanked: 0 times |
Joined on Oct 2012
|
#255
|
ok If you hav'nt guessed - I'm keen to get this working :-)
update to above is as follows.
I thought I would try these steps again in case I got it wrong.
firstly I sudo gainroot
then...
1) cd home/user/MyDocs
2) tar xvf tether.tar
3) three files produced.
4) cp tether-dbus-config /etc/dbus-scripts.d
5) cp tether-dbus-controller.sh tether.sh /opt/tether
6) reboot
7) Par n900 and Nexus 7
8) select "use this connection for internet" in Nexus 7 bluetooth settings
9) run script: ./tether.sh start
10) message shows "Tethering from bnep0 to gprs0 activated"
11) Try to access web on Nexus...
12) no internet connection
Help me save my N900 for a bit longer :-) think of it like rescuing a puppy.
![]() |
2012-10-03
, 20:32
|
Posts: 466 |
Thanked: 661 times |
Joined on Jan 2009
|
#256
|
I have also tried to use my n900 as a 3g modem for Nexus 7. I followed the steps in the janszoon's post but I can't get the PAN connection between the devices established. Nexus 7 is not showing the option to use the bluetooth connection for internet (or at least I can't find it). N900 says in the bluetooth setup GUI that the supported profile is OPP and bnep0 is not shown in ifconfig.
I had the devices paired already before installing the scripts, but I also tried to pair them again. This did not help either.
Any suggestions what might be the reason?
DisablePlugins = network,input,hal
DisablePlugins = hal
The Following 4 Users Say Thank You to jackburton For This Useful Post: | ||
![]() |
2012-10-05
, 14:02
|
Posts: 2 |
Thanked: 0 times |
Joined on Oct 2012
|
#257
|
What does your /etc/bluetooth/main.conf look like?
You may need to modify the line:
and remove the network part. This is my line on my phone:Code:DisablePlugins = network,input,hal
A reboot is recommended. You could probably try restarting bluetoothd instead as that may work.Code:DisablePlugins = hal
![]() |
2013-03-06
, 16:44
|
|
Posts: 115 |
Thanked: 136 times |
Joined on Mar 2008
@ Central Ohio
|
#258
|
this works great with a desktop PC. how can i share this with multiple PCs?
auto pan0 iface pan0 inet static address 192.168.2.1 netmask 255.255.255.0 pre-up sh -c "/usr/sbin/iptables -t nat -F ; /usr/sbin/iptables -t nat -A POSTROUTING -s 192.168.2.0/24 ! -d 192.168.2.0/24 -j MASQUERADE ; echo 1 >/proc/sys/net/ipv4/ip_forward" up sh -c "/sbin/start-stop-daemon -S -p /var/run/btpan.pid -m -b -x /usr/sbin/dnsmasq -- -k -I lo -z -a 192.168.2.1 -F 192.168.2.100,192.168.2.105 -b" down sh -c "/sbin/start-stop-daemon -K -p /var/run/btpan.pid"
KERNEL=="pan0", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifup -f %k'" KERNEL=="pan0", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifdown -f %k'" KERNEL=="bnep0", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep0", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep1", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep1", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep2", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep2", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep3", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep3", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep4", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep4", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'" KERNEL=="bnep5", ACTION=="add", RUN+="/bin/sh -c '/sbin/ifconfig %k up; /usr/bin/brctl addif pan0 %k'" KERNEL=="bnep5", ACTION=="remove", RUN+="/bin/sh -c '/sbin/ifconfig %k down'"
bridge name bridge id STP enabled interfaces pan0 8000.000000000000 no
The Following 9 Users Say Thank You to Viqsi For This Useful Post: | ||
![]() |
2013-03-07
, 08:06
|
Posts: 87 |
Thanked: 56 times |
Joined on Nov 2008
|
#259
|
![]() |
2013-05-21
, 14:22
|
Posts: 24 |
Thanked: 13 times |
Joined on Feb 2011
|
#260
|
The Following User Says Thank You to ale152 For This Useful Post: | ||
![]() |
Tags |
bluetooth-pan, tethering |
|