maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Autoscan on OS2008 (https://talk.maemo.org/showthread.php?t=14121)

staulkor 2007-12-30 22:24

Autoscan on OS2008
 
Anybody get Autoscan to work on OS2008? I grabbed the package from autoscan.fr and installed it without any problems, but when I go to run it, it says its loading, and then just dies and nothing pops up. Any ideas?

dblank 2007-12-30 22:27

Re: Autoscan on OS2008
 
Have you tried running it from the command line? That might give a useful error.

staulkor 2007-12-30 22:33

Re: Autoscan on OS2008
 
I cant find the binary :P

Ive searched for it too using find / -name "autoscan" -print and that returned nothing.

free 2007-12-30 23:04

Re: Autoscan on OS2008
 
This gives more results probably:
Code:

find / -iname "*autoscan*"
/usr/bin/AutoScan_Network_Gui
/usr/bin/AutoScan_Network.sh
/usr/sbin/AutoScan_Agent

staulkor 2007-12-30 23:38

Re: Autoscan on OS2008
 
Yay! Found AutoScan_Network.sh.

Whenever I try to run it, I get the following:

Nokia-N800-50-2:~# /usr/bin/AutoScan_Network.sh > output.txt
ERROR: ld.so: object '/usr/lib/libosso-ic-preload.so' from LD_PRELOAD cannot be preloaded: ignored.
/usr/bin/AutoScan_Network_Gui: error while loading shared libraries: libdbus-1.so.2: cannot open shared object file: No such file or directory

So it says I need libdbus, but if I apt-get install dbus, it says its already installed.

dblank 2007-12-30 23:45

Re: Autoscan on OS2008
 
Are /usr/lib/libosso-ic-preload.so and /usr/lib/libdbus-1.so.2 both on your system?

staulkor 2007-12-30 23:47

Re: Autoscan on OS2008
 
No they are not.

staulkor 2007-12-30 23:52

Re: Autoscan on OS2008
 
Well i have libdbus-1.so-3 so I linked it to libdbus-1.so.2 and it got rid of that error. I still have the libossos-ic-preload.so error, but now I have a new one:

/usr/bin/AutoScan_Network_Gui: error while loading shared libraries: libhildonwidgets.so.0: cannot open shared object file: No such file or directory

HWL 2008-01-16 21:23

Re: Autoscan on OS2008
 
has anyone gotten Autoscan to work on 2008?

raynman 2008-01-23 06:33

Re: Autoscan on OS2008
 
Quote:

Originally Posted by staulkor (Post 118069)
Whenever I try to run it, I get the following:

Nokia-N800-50-2:~# /usr/bin/AutoScan_Network.sh > output.txt
ERROR: ld.so: object '/usr/lib/libosso-ic-preload.so' from LD_PRELOAD cannot be preloaded: ignored.
/usr/bin/AutoScan_Network_Gui: error while loading shared libraries: libdbus-1.so.2: cannot open shared object file: No such file or directory

I get the same error when running from the command line. I'm holding off on trying to fix dependencies until (hopefully) a more seasoned Linux user can define the steps required to get this completely working. It's not that I don't want to do the work-- I just don't want to screw up my OS. Any takers?

walts 2008-02-18 14:48

Re: Autoscan on OS2008
 
I installed it from the download file on an N800/OS2008. It appears in the extras menu but does nothing.
Then I tried running Autoscan_Network_Gui from a root shell, and learned that libdbus-1.so.2 was missing. After Googling around I found that it had been replaced with libdbus-1.so.3 which was in my /usr/lib/ so I created a symlink:
Code:

ln -s /usr/lib/libdbus-1.so.3 /usr/lib/libdbus-1/so/2
Now it complains about libhildonwidgets.so.0 That is a dead end - Google loops back to this thread, and the other references are for RPMs that do me no good at all.

I left a post on the Autoscan forum, maybe something will come of that.

Walt

mrlanrat 2008-05-11 23:16

Re: Autoscan on OS2008
 
Any updates with this? (Bump)

Benson 2008-05-11 23:33

Re: Autoscan on OS2008
 
A quick google turns up some Angstrom packages:

http://www.angstrom-distribution.org...hildonwidgets0

Should be possible to grab one with the correct architecture, extract the so, and toss it in...

Not clean, but it should work. (This library appears to be a maemo 3.x legacy, so the ideal situation would be to rebuild the software without it...)

mrlanrat 2008-06-27 16:54

Re: Autoscan on OS2008
 
I still have some interest in this, any change if getting the code and re-compiling it for 2008, or trying to fix all these errors?

westdene 2008-10-09 17:14

Re: Autoscan on OS2008
 
I know this is an old post, but since there was no final reply to it I might as well bring the subject up.
Installed Autoscan on my N800 running Diablo with the latest updates (yeah the one that had me reflashing my beloved IT) and runs pretty smooth as to the application starting up. However, I have this particular problem when I try adding a network using the wizard I get the following error:
[FAILED] Connecting (127.0.0.1) (Connection refused)

Any ideas?

walts 2008-10-09 17:45

Re: Autoscan on OS2008
 
Where did you install from? I couldn't even get that far with the copy I tried (now lost).

Walt

westdene 2008-10-09 18:19

Re: Autoscan on OS2008
 
Ive installed the deb package from the autoscan site
http://autoscan-network.com/index.ph...d=12&Itemid=27 Worked for me ;)

walts 2008-10-09 20:01

Re: Autoscan on OS2008
 
Thanks!

I have the same setup as you have - N800, with the latest Diablo 4.2008.36-5.
Autoscan installed from the .deb file you linked to (I downloaded it on a PC to the SD card, if that makes a difference) and it runs perfectly as far as I can tell. The Wizard ran fine, and it discovered all the PCs and printers in my local subnet.

I have had kismet installed on this tablet for some time, and I recall having to manually load some of the libraries. Possibly one of them has helped here, but I really don't remember the specifics.

Walt

raynman 2008-10-09 20:54

Re: Autoscan on OS2008
 
Thanks for bringing this thread back. I just downloaded and installed AutoScan from the website and ran "autoscan-network" from X-Term. It opened the Wizard and, as you say, gets hung up on the "Where is located the network" screen:

[FAILED] Connecting (127.0.0.1) (Connection refused)

bongo 2008-10-10 10:30

Re: Autoscan on OS2008
 
Quote:

Originally Posted by raynman (Post 232230)
Thanks for bringing this thread back. I just downloaded and installed AutoScan from the website and ran "autoscan-network" from X-Term. It opened the Wizard and, as you say, gets hung up on the "Where is located the network" screen:

[FAILED] Connecting (127.0.0.1) (Connection refused)

same problem here ....
being root didn't help.

what's wrong?

bongo 2008-10-10 10:33

Re: Autoscan on OS2008
 
oh, you have to start autoscan-network-daemon first ....
works now!!

fms 2008-10-10 11:18

Re: Autoscan on OS2008
 
The UI on Maemo is badly broken though. Can we hope for some more hildonization, maybe decreasing all font sizes so that UI actually fits tablet screen?

walts 2008-10-10 12:18

Re: Autoscan on OS2008
 
I have been running from the icon that setup put in "Extras"
Running from terminal did not make any difference. The wizard works for "New" but hangs up on "Restore", even though I have saved prior sessions. Here is the output from a terminal session trying "Restore":

~ $ autoscan-network

Starting AutoScan Network 1.32 (http://autoscan-network.com)

autoscan-network[2010]: GLIB DEBUG ConIc - con_ic_connection_send_event(0x5fe9f8, cd4bd671-f6f1-4a34-b987-245a17c1cf0b, WLAN_INFRA, 0)

autoscan-network[2010]: GLIB CRITICAL ** Gtk - gtk_window_set_type_hint: assertion `!GTK_WIDGET_VISIBLE (window)' failed

autoscan-network[2010]: GLIB CRITICAL ** Gtk - gtk_tree_model_filter_row_has_child_toggled: assertion `elt->visible' failed

---------
Looking at the Application Manager, I have the following other "sniffer" related programs and libraries installed. Maybe there's a clue there.

ettercap
ettercap-common
libuiw
libzlibrary
netdiscover
vncviewer

And, external to the application manager, I installed nmap and kismet, both of which use libpcap and libc6

I hope there is some information there that will help you get Autoscan going.

Walt

HWL 2008-10-10 13:32

Re: Autoscan on OS2008
 
I just installed it and got in running from the UI. The Wizard came up. With no changes I got [FAILED] Connecting (127.0.0.1) (Connection refused). I Changed the "local network" to my network name and it went to a search screen where it hung....

westdene 2008-10-10 13:42

Re: Autoscan on OS2008
 
Quote:

Originally Posted by bongo (Post 232367)
oh, you have to start autoscan-network-daemon first ....
works now!!

Thanks for your feedback but can you be a bit more specific?

bongo 2008-10-10 13:47

Re: Autoscan on OS2008
 
go to xterm, become root, enter "autoscan-network-daemon"
exit root mode and enter "autoscan-network"

walts 2008-10-10 14:06

Re: Autoscan on OS2008
 
Strange.

As I have said, Autoscan seems to be working OK just from the Icon. When I tried
Quote:

go to xterm, become root, enter "autoscan-network-daemon"
exit root mode and enter "autoscan-network"
I got this repeated over and over:

[A] [ERROR] [create_tcp_server](Reseau.c:621): Address already in use

Stopping AutoScan Network Agent 1.32 (http://autoscan-network.com)

Démarrage d'une nouvelle instance

No log handling enabled - turning on stderr logging

Cannot find module (SNMPv2-MIB): At line 0 in (none)

Cannot find module (SNMPv2-SMI): At line 0 in (none)

Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)

Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)

[A] [ERROR] [create_tcp_server](Reseau.c:621): Address already in use

Stopping AutoScan Network Agent 1.32 (http://autoscan-network.com)

---------------

Also, regarding
Quote:

I just installed it and got in running from the UI. The Wizard came up. With no changes I got [FAILED] Connecting (127.0.0.1) (Connection refused). I Changed the "local network" to my network name and it went to a search screen where it hung....
How long did you wait? It takes over a minute to scan my home network with 3 computers on it, and about 5 minutes at work where there are 50 on my local subnet.

By the way, it doesn't seem to be able to get past the switch connecting my subnet to the main network - or I'm not waiting long enough....

Walt

westdene 2008-10-10 14:10

Re: Autoscan on OS2008
 
Quote:

Originally Posted by bongo (Post 232403)
go to xterm, become root, enter "autoscan-network-daemon"
exit root mode and enter "autoscan-network"

hmm, something is not right in my installation I guess.

~ $ rootsh

/home/user # autoscan-network-daemon
-sh: autoscan-network-daemon not found

any idea?

walts 2008-10-10 14:16

Re: Autoscan on OS2008
 
Quote:

Originally Posted by westdene (Post 232409)
hmm, something is not right in my installation I guess.

~ $ rootsh

/home/user # autoscan-network-daemon
-sh: autoscan-network-daemon not found

any idea?

I downloaded the installer to an SD card, and then did "Install from File" in Application Manager.

Walt

bongo 2008-10-10 14:25

Re: Autoscan on OS2008
 
Yeah, same here with "Cannot find module" warnings, but it still works.

and
"[A] [ERROR] [create_tcp_server](Reseau.c:621): Address already in use
Stopping AutoScan Network Agent 1.32 (http://autoscan-network.com)" was what I've seen when I tried to start the daemon twice. But it works for me when I start it only once.

btw. autoscan-network-daemon can be found in /usr/sbin/

try to kill the daemon with "killall autoscan-network-daemon" as root. I did it with ssh because of the annoying warnings in xterm. Then retry with "/usr/sbin/autoscan-network-daemon"

bongo 2008-10-10 14:31

Re: Autoscan on OS2008
 
After a reboot it works without running the daemon .... strange ...
did you reboot after installing autoscan?

westdene 2008-10-10 15:20

Re: Autoscan on OS2008
 
yep, I did a reboot ala rootsh reboot and also a power off from the menu, and still getting the same error

bongo 2008-10-10 15:32

Re: Autoscan on OS2008
 
Quote:

Originally Posted by westdene (Post 232428)
yep, I did a reboot ala rootsh reboot and also a power off from the menu, and still getting the same error

same error when starting the daemon or the connection error in the wizard?

Maybe there's a problem with root mode. I use the becomeroot package and you have rootsh.

bluesubaru 2008-10-10 15:36

Re: Autoscan on OS2008
 
I had to reboot the N800 for it to work.
Running from command line produced no Hildon interface, running from the icon worked fine.
OS2008 newest SSU (sept)

qwerty12 2008-10-10 15:37

Re: Autoscan on OS2008
 
Hrm, using rootsh here could cause a problem as the person using rootsh used it to invoke a shell and it doesn't set variable properly. Use the command root instead. I'm going to remove the shell spawning feature of rootsh and make the user run root instead of rootsh.

raynman 2008-10-10 16:05

Re: Autoscan on OS2008
 
I could swear it wasn't in the Extras menu before, but it is now, and it works. I was able to scan my home network. I have not tried starting/stopping the daemon, but I see no reason to now.

I saved a Network, exited, opened AutoScan and tried to Restore it but the "Open file" dialog is unresponsive. There's also some GUI weirdness with 2 Cancel buttons (the Save dialog was weird as well).

westdene 2008-10-10 16:50

Re: Autoscan on OS2008
 
ok I tried as root under /usr/sbin execute autoscan-network-daemon and got the following error:

autoscan-network-daemon: error while loading shared libraries: libcrypto.so.0.9.7: cannont open shared object: No such file or directory

seems like some lib si missing, tried to look for a package in gronmayer but got no result. Someone has it?

K just found the package in Pack Rat's site, gonna reboot see how it goes...

qwerty12 2008-10-10 17:01

Re: Autoscan on OS2008
 
All you have to do is:
ln -s /usr/lib/libcrypto.so.0.9.8 /usr/lib/libcrypto.so.0.9.7 instead of installing anything

westdene 2008-10-10 17:11

Re: Autoscan on OS2008
 
cool, working like a charm, gave me a few errors when started the deamon but autoscan is working and a scan to the LAN Im in took like a minute and a half. Thnx qwerty12 and bongo for the help


All times are GMT. The time now is 02:04.

vBulletin® Version 3.8.8