maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   btscanner binary or repo (https://talk.maemo.org/showthread.php?t=28418)

FoxxOTG 2009-04-20 10:26

btscanner binary or repo
 
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.

plantguy 2009-04-20 20:25

Re: btscanner binary or repo
 
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

fattomm 2009-04-20 22:55

Re: btscanner binary or repo
 
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?

plantguy 2009-04-20 23:15

Re: btscanner binary or repo
 
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

fattomm 2009-04-20 23:25

Re: btscanner binary or repo
 
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?

plantguy 2009-04-21 00:06

Re: btscanner binary or repo
 
1 Attachment(s)
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

qwerty12 2009-04-21 06:43

Re: btscanner binary or repo
 
You probably need to install ncurses-base to avoid the terminal error message.

FoxxOTG 2009-04-21 21:36

Re: btscanner binary or repo
 
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!

Sveles 2009-08-25 06:55

Re: btscanner binary or repo
 
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/////




Quote:

Originally Posted by FoxxOTG (Post 281233)
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!


chrisk 2009-09-11 06:45

Re: btscanner binary or repo
 
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 ;) )


All times are GMT. The time now is 18:31.

vBulletin® Version 3.8.8