maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Compiling Bluetooth Spammer (!) to Maemo/Easy Debian (https://talk.maemo.org/showthread.php?t=79839)

mr_pingu 2011-11-10 17:30

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Problem is, it doesn't discover any devices =( is it working for you?

sr00t 2011-11-10 18:09

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Yeah it's discovering devices.

Quote:

Nokia-N900:/home/user/MyDocs/.documents# bluezspammer
BlueZSpammer, an obexftp front-end tool for proximity marketing.

Discovering devices...

BDADDR CLASS OF DEVICE NAME (CHIPSET VENDOR)

00:22:5F:22:00:81 Miscelaneous Dell Wireless 370 Bluetooth Mini-card (Liteon Technology Corporation)

sr00t 2011-11-10 23:38

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
But... It asked me for obexftp. I installed the deb but is missing a lib:
Code:

/home/user/MyDocs/.documents # bluezspammer -p owned.jpg
BlueZSpammer, an obexftp front-end tool for proximity marketing.

Discovering devices...

BDADDR              CLASS OF DEVICE                NAME (CHIPSET VENDOR)

00:1A:DC:42:76:D4  Phone > Cellular                sr00t (Nokia Danmark A/S)

Sending file...
obexftp: error while loading shared libraries: libbluetooth.so.2: cannot open shared object file: No such file or directory
Segmentation fault
/home/user/MyDocs/.documents #


sr00t 2011-11-10 23:55

Re: Compiling Bluetooth Spammer (!) to Maemo/Easy Debian
 
Now I did this and I have libbluetooth.so.2:

Quote:

Originally Posted by xopher (Post 959064)
Adding my progress so far, I've gotten the linked app in the other post to run. At first in complains about missing libbluetooth.so.2 I loaded Debian in a chroot and installed bluez-utils then copied the libbluetooth.so.2 from /usr/lib to my homedir within Easy Debian then copied it to /usr/lib and set proper permissions to the file, the file now loads OK.

Now I have this error:

Code:

/home/user/MyDocs/.documents # bluezspammer -p owned.jpg
BlueZSpammer, an obexftp front-end tool for proximity marketing.

Discovering devices...

BDADDR              CLASS OF DEVICE            NAME (CHIPSET VENDOR)

00:1A:DC:42:76:D4  Phone > Cellular            sr00t (Nokia Danmark A/S)

Sending file...
Suppressing FBS.
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Connecting...failed: connect
Tried to connect for 0ms
error on connect(): Success
Still trying to connect
Segmentation fault

I'm stuck here.

sulu 2011-11-11 14:19

Re: Porting Bluetooth Spammer (!) to Maemo/Easy Debian
 
Quote:

Originally Posted by sr00t (Post 1121307)
Is someone with gcc compiler running on Maemo/Easy Debian willing to compile these sources?

I'll admit that I have absolutely no idea what this program might be good for... :rolleyes:

But installing and running gcc in Easy Debian didn't cause any trouble for me. On the other hand I can't tell if I installed it before or after I dist-upgraded to Squeeze:
http://wiki.maemo.org/Easy_Debian#co...ade_to_Squeeze


All times are GMT. The time now is 21:21.

vBulletin® Version 3.8.8