![]() |
Have a PAN device like the Blackjack?
--- NEW ------------------------------
ok i havent made the webpage for this project yet, and am looking into ammending it to work properly on os2008.. but i posted the deb, just make sure you get all the depends right and we should be good to go.. pm or email with any problems or new bluetooth names you guys want precedence set up for .. http://whitejack.garage.maemo.org/ --- NEW ------------------------------ i wrote a ruby program for automating the process of connecting to PAN devices, and so far its worked great.. i deb'd it up, and i was gonna release it.. but first of all, garage.maemo.org is down, but also.. i wrote it for my blackjack.. not for other PAN devices like the Q etc.. and im realizing theres a lot of you out there with them.. but it's easily remedied.. can any of you that are interested, please list your default bluetooth names for your phone.. and i'll add them to the little array of bluetooth names this thing looks for first, then edit this post and post up the deb maybe tonight or this weekend couple of things this program does.. - creates DUMMY type access point needed to fool the n800 into using the bluetooth for internet later - turns bluetooth on - scans nearby bluetooth devices - **if it sees a bluetooth name it's previously made aware of, it'll put them at the top of the list** - it cycles through each bluetooth device in the area until a connection is made - provides somewhat meaningful information by way of statusbar info msg's so you know whats going on or what to do next.. i'll be back on tonight, but i definitely wanna get this out to you guys as quickly as possible, i know how cumbersome it was to connect manually... thetruent@gmail.com -------------------------------------------------------------- its definitely worth a try.. only depends are.. becomeroot, libruby1.8, ruby1.8, ruby1.8-maemo heres where the ruby stuff is located, if you want a headstart.. http://maemo.rubyx.co.uk/ruby-maemo/.../maemo3/armel/ |
Re: Have a PAN device like the Blackjack?
Man, this would've been great when I was still carrying around my T-mobile Dash regularly. I'm sure a lot of WM6 users are going to appreciate the work you're doing.
|
Re: Have a PAN device like the Blackjack?
Thank you!! I have my Dash working with DUN, but PAN gives so much more capability.
The default bluetooth name for all Dashes is "T-Mobile Dash" Thanks again! Rich |
Re: Have a PAN device like the Blackjack?
Windows Mobile 6 should have DUN -- MS put it back in the default profile after tons of complaints.
It's the WinMo 5 users who really need it (PAN and no DUN). |
Re: Have a PAN device like the Blackjack?
Quote:
|
Re: Have a PAN device like the Blackjack?
Quote:
|
Re: Have a PAN device like the Blackjack?
From my posting in the "Tethering ATT Blackjack and N800. Help!" thread:
-------------------------------------------------------------------------------- There's another solution for DUN on a WM5 or WM6 smartphone or PPC: http://forum.xda-developers.com/showthread.php?t=340762 I've installed the application referred to in the article onto my T-Mobile WM6 Dash. Connecting to my Dash from my n800 running OS2O08 beta works perfectly. Give it a try! |
Re: Have a PAN device like the Blackjack?
Quote:
|
Re: Have a PAN device like the Blackjack?
ok i've edited the original post to include the link to the project, i just uploaded the deb for you guys to try, ive been using it for about about a week now and it works great.. couple bugs.. but not necessarily due to my programming.. only one i can think of off the top of my head...
if you connect to the dummy access point whilst already connected to it, os2007 will reboot (heh.. no idea) so dont do that.. if you run the whitejack program for the first time, it'll create the dummy access point.. from that point forward, connect to that access point default is titled "Whitejack".. then run the program and it'll get you up and running, or give you some kind of notice as to why it failed.. it's not perfect but definitely doable, email or pm me any problems or suggestions and maybe we can get real practical little project going.. by the way, i'm interested in rewriting this not using any command line tools, for os2008 and possibly from the ground up (scanning bluetooth, connecting etc) all in ruby.. because right now its quite dependant on those previously being installed, but thats a bit above my knowledge on the subject.. so any ideas..? thetruent@gmail.com |
Re: Have a PAN device like the Blackjack?
Quote:
Anyhow, thanks for your work. So far, it's doing its job on my T-Mobile Dash superbly (-: I added it as a shortcut in Simple Launcher so that I'm able to go online with four touchscreen presses, which is a lot less than before. I wonder if there's a way to automate the process of changing the connection to Whitejack, therefore boiling it down to just one touchscreen press. |
Re: Have a PAN device like the Blackjack?
thanks for your feedback.. and gettin on me about putting it out.. it was the first .deb i've ever made and first program ive written for the n800 so hey.. excuse me if i'm a little nervous ;p
yeah man, connecting automatically was my first thought.. but i couldnt get any answers, no one has really messed with this stuff from my estimation.. and maemo prefers to have the user actually select the access point they want.. go figure.. heh.. the os2008 version i make will probably be a little more in depth.. regular access points are no problem to connect to through programming, but i couldnt find any good way of it even noticing that the dummy access point was connect-to-able though, only ones it can scan for and find.. i dunno.. if you can, try to get multiple bluetooth devices in your general area, and see if it sets precedence for your Dash.. it should be ok.. but i really haven't tested that much ... cheers |
Re: Have a PAN device like the Blackjack?
This is working fine on my Orange M3100 and N800 (OS2007) - Thanks
A couple of questions/points though if I may. Perhaps I have misunderstood how this is supposed to work but, the way I would LIKE it to work is that I enter the BT Name/ID of the device I want to connect to and it connects to just that device. I don't understand why you would want it to search for and connect to any device it finds? ANyway - a great and promising piece of software - many thanks |
Re: Have a PAN device like the Blackjack?
the reason i made it scan for available devices is the level of user interaction required (i wanted to make it wife proof if you know what i mean :P), you would have to edit the program i wrote to add your MAC manually.. or i'd have to do alot more programming to have you enter it in when the program starts the first time.. much easier for the user to just click something and have it be good to go rather than going through a bunch of crap to get it to work, (which is what this program was supposed to eliminate in the first place..) but i understand your point
i figured if you guys tell me your bluetooth names i can add them to the list of names it attempts to connect to first, in effect it would always connect to your device first.. and be available for other users of your type of device.. also the likelyhood of multiple devices being present is probably pretty low unless you're in a geek conference or airport or something, most of the time we'll probably be by ourselves in the middle of nowhere essentially and just have ours available anyway. the location of the script is /usr/bin/whitejack.rb and its pretty well commented so just look for the spot where i have the Whitejack_bt_names variable, and add yours to the list.. (add a comma and your bluetooth name in double quotes.) but i ask if its a default name, post it here and i'll add it to the deb so everyone can use it oh another option is change your bluetooth name on your phone to "Whitejack" and it'll be on the top of the list.. dunno how much you guys care about your originality of bluetooth names ;p thanks for the input and keep it coming, put this thing through the ringer and tell me what probs come up.. we'll fix em asap |
Re: Have a PAN device like the Blackjack?
Ok - with you now I think
I don't know about here you live, but around here I find multiple BT devices all the time. There are three in my own house for example! I went shopping today, sat in the middle of the town square, turned on my phones bluetooth and found 23 devices in a couple of minutes!! A suggestion or two then. 1) Add a /etc/default/whitejack to reduce editing errors. 2) Allow users to add devicename to the default file. 3) Add flags to above to allow for searching/single device mode. |
Re: Have a PAN device like the Blackjack?
good idea, will do.. maybe this weekend
|
Re: Have a PAN device like the Blackjack?
I am still having trouble. It would be really useful if someone could do a video or write up step by step directions on how to connect the Dash to the N810. I have tried the .cab file to correct the DUN issue and your solution here, with no success. I am sure it is that I am just too inexperienced to get it yet. Any assistance start to finish would be a wonderful Christmas gift !
Thanks ! |
Re: Have a PAN device like the Blackjack?
hey bradkap.. sorry man.. its probably nothing you're doing wrong, i didn't write it for os2008 which is what your n810 runs, os2008 got rid of some tools that i used for the os2007 version, but i just upgraded to os2008 as well, so i'll try and get a new version slapped together quickly cuz i'm in the same boat as you :P.. xmas present indeed.. it wont be any kind of final version or anything but i'll get you on by sunday deal? ;p
p.s. that dun cab has nothing to do with pan.. if you installed that you might be able to do the dialup networking (DUN?) way just like most other phones but i dont know much about that.. all i know is internet sharing from my phone to my n800 through PAN (Personal Area Networking) doesnt show up on my bill except as regular traffic as if my i had been browsing on my phone.. which is great.. |
Re: Have a PAN device like the Blackjack?
you are a gentleman and a scholar. I would like to use the PAN connection if possible. I am slow so when you get it set up, could you send detailed installation and set up instructions ? thanks, and merry christmas !
|
Re: Have a PAN device like the Blackjack?
Quote:
|
Re: Have a PAN device like the Blackjack?
sorry this weekend was a lot more jampacked than i had thought.. i didnt get to work on it much.. not to mention with all the repo woes wasn't easy getting what i needed.. but here's what ive been using to get on myself,.. just a script i found in http://internettablettalk.com/forums...ad.php?t=12666
save the attached code to a file.. change the BTADDR variable to your MAC, chmod a+x filename turn on internet sharing on your phone ./filename udhcpc -i bnep0 Code:
#!/bin/sh |
Re: Have a PAN device like the Blackjack?
thanks. I will give it a whirl. Looks a little too sophisticated for me. But I will try. Let us know when you complete your tool.
|
Re: Have a PAN device like the Blackjack?
oh it'll work.. make sure you get the becomeroot package.. you can find it if you search on http://gronmayer.com/it..
the hardest part of this i'd suppose is editing in your mac address.. if you're not comfortable with the maemo's default text editors.. maybe this will make it easier.. copy and paste that code i had into a text editor on your home computer. find the part that says.. #BT MAC of PC/phone BTADDR='00:xx:xx:xx:xx:xx' and instead of 00:xx:xx:xx:xx:xx, make it your MAC address.. you can find this somewhere in your phone's bluetooth setup usually.. save the file as "pan.sh" or something.. doesnt really matter.. get that onto your nokia, either by usb connection or some other means.. open xterm (now available by default on os2008!) 'cd' to the directory you saved that file.. ex. 'cd /media/mmc1' 'chmod a+x pan.sh' (or whatever you named that file) turn on internet connection sharing on your phone 'sudo gainroot' './pan.sh' 'udhcpc -i bnep0' and you should be in!.. im gonna begin working on a gui version of my original program to make it a lot easier for initial setup.. after that all you'll have to do is select the 'Whitejack' connection in the Connection Manager like a normal wifi connection or something, and it'll do all the work for you.. so bear with me and i'll get us something easy, but i just dont want to put out some crap program that requires more input from you or me to do something so simple.. welp.. hope that helps.. and stay tuned.. |
Re: Have a PAN device like the Blackjack?
sounds great ! If I dont wait for the GUI version, it is going to be like when I try to fix plumbing around the house over holiday weekends ! Not a good result. Have a nice holiday.
|
Re: Have a PAN device like the Blackjack?
Thanks for all the tips. I'm quite new to linux and to the N800. I've been following the directions to the letter and have gained root access as well. However, when I try to run './pan.sh', I get 'permission denied'. What am I doing incorrectly? It's not just with bluetooth pan. I get the same 'permission denied' while trying to set up openvpn. Thanks. I'm running OS 2008.
|
Re: Have a PAN device like the Blackjack?
i run the script, it says:
"Scanning bluetooth devices... /usr/bin/whitejack.rb:15: command not found: hcitool scan No bluetooth device availble" |
Re: Have a PAN device like the Blackjack?
For anyone who is still looking there is a add-on to the OS 08 software called maemo-pan here is a link
http://pycage.blogspot.com/2008/02/n...for-maemo.html Hope this helps you connect to your nokia n800 or 810 |
All times are GMT. The time now is 12:53. |
vBulletin® Version 3.8.8