Notices


Reply
Thread Tools
Posts: 2 | Thanked: 0 times | Joined on Apr 2009
#1
Im a long time reader, first time poster, please be gentile. I have read as much as I can and done months of searching for a .deb or repo for BTScanner. It seems all of them have gone offline or 404. I read the post by Haokah on "The painful way I got btscanner working on my n810" but cross compiling is beyond my skill level at the moment. Would anyone happen to have a .deb they could toss my way?

I understand that BTScanner needs xterm and a few tweaks to the OS to get it to display properly (currently running OS2008 4.2008.30-2, yes, I need to run some updates). Any help on getting a binary would be greatly appreciated.
 
Posts: 6 | Thanked: 4 times | Joined on Apr 2008
#2
Here it is... it installs on my tablet, but I'm not sure how to test if it's working.

It requires:
libbluetooth2
bluez-utils
libxml2
libncurses5

which are all available in the standard repos.

Code:
Nokia-N810-23-14:/media/mmc1# dpkg -i btscanner_2.1-1_armel.deb
Selecting previously deselected package btscanner.
(Reading database ... 19189 files and directories currently installed.)
Unpacking btscanner (from btscanner_2.1-1_armel.deb) ...
Setting up btscanner (2.1-1) ...
Nokia-N810-23-14:/media/mmc1# btscanner --h
Usage: btscanner [options]
options
        --help  Display help
        --cfg=<file>    Use <file> as the config file
        --no-reset      Do not reset the Bluetooth adapter before scanning
It runs... but seems to require a small fontsize in the terminal.

I quickly tried it and saw my laptop.

It's my second deb - so someone please let me know if I'm doing something bassackwards.

Good luck,
Mike

EDIT: Removed deb due to screen width issues. See deb below

Last edited by plantguy; 2009-04-21 at 04:48.
 

The Following User Says Thank You to plantguy For This Useful Post:
fattomm's Avatar
Posts: 109 | Thanked: 37 times | Joined on Oct 2008 @ NYC, NY
#3
I just seem to be missing a termcap/terminfo database (for anything, really -- a "find /" turns up nothing). Am I missing something obvious here?

Everything is a "error opening terminal: " (xterm or ansi or vt100 or ....)....

Copying /usr/share/terminfo from another system gave me good output. From a remote 80x24 terminal, I had no problem -- from the 50x14 (or so) local xterm I had a very quick exit.

I'd guess "btscanner" hard codes things to 80x24?

Last edited by fattomm; 2009-04-20 at 23:07.
 

The Following User Says Thank You to fattomm For This Useful Post:
Posts: 6 | Thanked: 4 times | Joined on Apr 2008
#4
It required monospace 10pt full screen in order to not give the
Code:
~$ sudo gainroot
BusyBox v1.6.1 (2008-09-18 9:43:17 EEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # btscanner
Opening the OUI database
Reading the OUI database
Finshed reading the OUI database
/home/user #
output. Note that I didn't try any other fonts. Is this what you're calling a "quick exit"?

Mike
 

The Following User Says Thank You to plantguy For This Useful Post:
fattomm's Avatar
Posts: 109 | Thanked: 37 times | Joined on Oct 2008 @ NYC, NY
#5
yeah, that's pretty much what I saw.

I also tried using "infocmp" to uncompile the xterm terminfo entry, and changing it to a 52x12 parameter, then renaming it to "xterm-small", using tic(1) to recompile it, and then installing that. No love there.

I'll maybe try a 10pt font and my portable magnifying glass :-)

Did you already have terminfo entries, or did you add those?
 

The Following User Says Thank You to fattomm For This Useful Post:
Posts: 6 | Thanked: 4 times | Joined on Apr 2008
#6
The minimum screen width was hardcoded (it was set at 80). I reduced it to 40. This allows the user to use the zoom keys (+/- keys by the fullscreen) to change the font size while the program is running. I was able to go from minimum font size to maximum without the program exiting. However, at any font larger than 12pt will cause information to be cut off.

I don't have any terminfo entries to my knowledge...

Hopefully this makes it usable without your magnifying glass =)

Mike
Attached Files
File Type: deb btscanner_2.1-1_armel.deb (188.2 KB, 165 views)
 

The Following 2 Users Say Thank You to plantguy For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#7
You probably need to install ncurses-base to avoid the terminal error message.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 2 | Thanked: 0 times | Joined on Apr 2009
#8
Thank you everyone, what has been months of mind torturing research and failure has finally come together. I should have been a little less indignant and asked for help sooner.

With a few package updates and tweaks, and plantguy's .deb package, I am happy to say I have btscanner working... well... the way it does. Now to figure out how to remap hardware buttons as keyboard keys in xterm and keep the On-Screen Keyboard from popping up. As for now the main hurdle of just getting btscanner to work has been accomplished.

... now on to get my WiSpy with kismet/spectools to run!
 
Posts: 58 | Thanked: 3 times | Joined on Jul 2009 @ (Germany.Austria),former Yugolsavia,USA
#9
I was just observer and was trying it all possible way.but no luck.
and finaly i got it working,,,thx querty for the ncurses-base tip.That made it finaly...and thx awryone else...
but i,m woundering why is it say 2.0 insead of 2.1-1/////




Originally Posted by FoxxOTG View Post
Thank you everyone, what has been months of mind torturing research and failure has finally come together. I should have been a little less indignant and asked for help sooner.

With a few package updates and tweaks, and plantguy's .deb package, I am happy to say I have btscanner working... well... the way it does. Now to figure out how to remap hardware buttons as keyboard keys in xterm and keep the On-Screen Keyboard from popping up. As for now the main hurdle of just getting btscanner to work has been accomplished.

... now on to get my WiSpy with kismet/spectools to run!
 
Posts: 5 | Thanked: 5 times | Joined on Dec 2008 @ Thailand/Switzerland
#10
Maybe my project is something for you:
https://garage.maemo.org/projects/blueintheface/

Right now it's more or less just a bluetooth scanner but I want to implement various bluetooth attacks (although a basic bluesnarf attack is impemented).

Requests, bugs or other feedback are very welcome (I know the UI is ugly )
 

The Following User Says Thank You to chrisk For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 15:46.