Reply
Thread Tools
Posts: 9 | Thanked: 1 time | Joined on Aug 2007
#21
it won't work with tzones as tzones is a neutered version of the internet plan. unless you're using the workaround
 
Posts: 61 | Thanked: 0 times | Joined on Aug 2007
#22
Originally Posted by daveymark View Post
it won't work with tzones as tzones is a neutered version of the internet plan. unless you're using the workaround

And the work-around is?


I've got it to connect and send/receive data, and I think send E-Mail (with the right settings), but not http.
 
Posts: 61 | Thanked: 0 times | Joined on Aug 2007
#23
Originally Posted by RBraverman View Post

And the work-around is?


I've got it to connect and send/receive data, and I think send E-Mail (with the right settings), but not http.
For those who fund this by searching, I've got everything working flawlessly with T-Zones - very easy actually.

I'll be oputting together a Wiki or just posting it here so that others can use it and set it up without what I went through.
 
Posts: 29 | Thanked: 0 times | Joined on Sep 2007
#24
Originally Posted by daveymark View Post
my n800 tethers to my dash with no problems. you can access PAN profile via xterm as root
Hi there. I too have an n800 and Dash. My question to you is: Do I need to login as root to tether to the Dash? If so, do I need to enable R&D mode to become root? Thanks for any help. It's reassuring to hear you have no probs tethering, but I do wonder how much effort it takes. I do wish there was a step-by-step guide for Linux novices!
 
Posts: 64 | Thanked: 10 times | Joined on Aug 2007
#25
Being a bit of a newbie myself, it took a little while to get it figured out but here goes. You do need root access to tether. You need to install dropbear from the application manager. Once that is installed. Open up xterm and type ssh root@localhost and enter... then it will ask you if you want to accept a certificate, say yes.. the root password by default on dropbear is rootme.. Once you've gotten this far you need to start a script from the command line. This is a little more elaborate and you need to know your bluetooth mac address for your phone. at that command line type
#hcitool scan

In the X's below enter your phone's bluetooth MAC address (the hcitool scan should give your phones bluetooth address...

#pand --role PANU --service NAP --connect XX:XX:XX:XX:XX:XX --nodetach

Get an ip address
#udhcpc -i bnep0

Setup a DUMMY connection for the connection manager
#gconftool -s -t string /system/osso/connectivity/IAP/DEFAULT/type DUMMY

Go to tools/connection manager and select the connection for DEFAULT

keep in mind that the bluetooth should be turned on and prior to connection, you need to enable internet sharing on your device...

you should be able to ping google from here and all should be well. If it doesn't work right away, try disabling and re-enabling internet sharing and ping again. This works well but is a crazy kludge. You can put part of this into a script. Type up a text file replacing your found bluetooth mac into an editor such as notepad and make sure it has a .sh extension when you are done. you will have to rename it using file explorer if you are on WinXP. You can leave out the last gconftool line as this is only to create the dummy connection once. It remains there after. once you have the script copy it to your device and put it somewhere easily accessible from the command line. to run the script when you want to connect to the net, you will have to open xterm, connect to the root shell as shown above.. ( ssh root@localhost ) and run the script by typing ssh btup.sh and that will connect you. Remember to switch connection to default connection and you should be in business.

The script only needs to have the lines below (replacing the xx's with your bluetooth mac...)

#!/bin/sh
#pand --role PANU --service NAP --connect XX:XX:XX:XX:XX:XX --nodetach
#udhcpc -i bnep0

after it's on your device (the script) you will have to give it privledge to run...
type chmod a+x btup.sh to give it that permission.

I hope I've shed some light - if you have trouble still message me or post a reply. I will help as much as I can. It's not as easy as it seems at first but once you understand what is going on above, you won't be a linux novice after long. Sorry if I rambled...!
 
Posts: 29 | Thanked: 0 times | Joined on Sep 2007
#26
rkopper,

Appreciate the response. It just so happens I got my n800 to tethered to my Dash right before I read your reply (who knew this forum was active at 5AM PST??). I probably used the same instructions you did. Your explanation definitely helps me understand what's going on, though. And I'm sure another puzzled Dash user will find our post invaluable. Many thanks!

The steps I took were marginally different than yours for the following reasons:
1) I used the OpenSSH client instead of dropbear (dropbear won't install successfully on my n800 for whatever reason)
2) I used the "becomeroot" package mentioned on innospyre's blog, as for whatever reason, ssh root@localhost doesn't work for me. After installing becomeroot, I substitute "ssh root@localhost" with "sudo gainroot" prior to running the pand and udhcpc.

I need to do some reading on what exactly the difference is between using becomeroot with "sudo gainroot" and "ssh root@localhost", though.

BTW, can you tell me why you use "ssh btup.sh" and what the line "#!/bin/sh" in your script does?

calador
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 23:41.