maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Newbie (https://talk.maemo.org/forumdisplay.php?f=26)
-   -   UPnP server on the Nokia 770 (https://talk.maemo.org/showthread.php?t=22191)

theflysurfer 2008-07-23 08:38

UPnP server on the Nokia 770
 
Hello everybody,

I would like to know if there has been any UPnP server ported for the nokia internet tablets. I read a post about mediatomb ported to the OS2006(gregale) if i remember well, but it kind of looks a little bit old; maybe there has been something updated since then?
I would like a actually like to use my old Nokia 770 with OS2006 or 2007 as an UPnP server for my others portable media.:)

ukki 2008-07-23 09:37

Re: UPnP server on the Nokia 770
 
It's not that old version actually. It's missing transcoding but the device can't handle it anyways.

http://www.hoohol.ath.cx/public/inde...=noteMediatomb

theflysurfer 2008-07-27 05:30

Re: UPnP server on the Nokia 770
 
Thanks for the reply. But actually, I don't understand how to set up the server once installed. On the website, it is said to connect to it via an other machine .. but what is the address?:confused:
Thanks.

ukki 2008-07-27 05:52

Re: UPnP server on the Nokia 770
 
Quote:

Originally Posted by theflysurfer (Post 207504)
Thanks for the reply. But actually, I don't understand how to set up the server once installed. On the website, it is said to connect to it via an other machine .. but what is the address?:confused:
Thanks.

Make sure you have xterminal installed. Run a command:

/sbin/ifconfig

That should print out the device ip. I think Mediatomb uses port 49152 by default, but if not, try running a command:

netstat -lt

And search for a port near that range.

After you have the ip and port, try opening this addres from a pc that is in the same network:

http://ip : port without spaces

theflysurfer 2008-07-27 06:15

Re: UPnP server on the Nokia 770
 
Thanks. Let's consider me as a newbie ... When I try to launch mediatomb by typing "mediatomb" in a terminal, I have :
mediatomb : symbol lookup error : mediatomb : undefined symbol : ID3_v1_genre_description

Do any of you have an idea of what to do?:)

rhtme52 2008-07-27 13:06

Re: UPnP server on the Nokia 770
 
Quote:

Originally Posted by theflysurfer (Post 207510)
mediatomb : symbol lookup error : mediatomb : undefined symbol : ID3_v1_genre_description

Do any of you have an idea of what to do?:)

This is caused by an older libid3-3.8.so.3 version. Are you sure you have installed gregale (maemo2.2), the newest OS2006?

Code:

ls  -l /usr/lib/libid3*
lrwxrwxrwx    1 root    root          19 Jun 12 19:04 /usr/lib/libid3-3.8.so.3 -> libid3-3.8.so.3.0.0
-rw-r--r--    1 root    root      196936 Aug 29  2007 /usr/lib/libid3-3.8.so.3.0.0

this library works for me.

XTC 2008-07-27 14:14

Re: UPnP server on the Nokia 770
 
Is there some upnpserver compatibile with OS2007HE?

rhtme52 2008-07-27 14:29

Re: UPnP server on the Nokia 770
 
Quote:

Originally Posted by XTC (Post 207577)
Is there some upnpserver compatibile with OS2007HE?

The package also works with diablo (OS2008), so chances are, it works with OS2007HE as well.

theflysurfer 2008-07-27 15:32

Re: UPnP server on the Nokia 770
 
Concerning the libraries, I checked the versions of the library and I get the same output as you.
I am pretty sure I upgraded my nokia to the newes version, but can I check it ?:confused:

rhtme52 2008-07-27 16:02

Re: UPnP server on the Nokia 770
 
Quote:

Originally Posted by theflysurfer (Post 207594)
I am pretty sure I upgraded my nokia to the newes version, but can I check it ?:confused:

Control panel -> Device -> About product:
Version 3.2006.49-2

The libid3 version is actually: 225504 May 9 2007 libid3-3.8.so.3.0.0
If you have the newest version and it still doesn't work, you could try as root:

# apt-get install libid3-3.8.3

XTC 2008-07-28 07:13

Re: UPnP server on the Nokia 770
 
Indeed - I set it up on my n770 and even started.
I was able to see control interface using n810 browser.
Unfortunately I stopped it by closing ssh connection to n770 (mediatomb was
started there not using screen :(
Later I tried to run mediatomb again but I've got sqlite error:

2008-07-28 09:06:06 INFO: Initialized port: 49152
2008-07-28 09:06:06 INFO: Server bound to: 192.168.0.4
2008-07-28 09:06:08 ERROR: SQLITE3: (8) attempt to write a readonly database
Query:UPDATE "mt_autoscan" SET "touched"=0 WHERE "persistent"=1 AND "scan_mode"='timed'
error: attempt to write a readonly database

I have NO specific config - I just started after installation.
Tried to upgrade sqlite3 but no change.

theflysurfer 2008-07-28 07:32

Re: UPnP server on the Nokia 770
 
Hi,

I install as root the library and the server ran well. Thansk. Actually, I was able to connect to the server through the opera browser, however, it warns me that "the features are limited with internet explorer" ... so it must have been a problem. I will try with minimo, or with firefox on a PC. Now i have to set up the usb host on my nokia, it looks like it is not that hard, I just have sort out all the tutorials for they can be 2 or 3 years old, and sometimes outdated !

rhtme52 2008-07-28 08:01

Re: UPnP server on the Nokia 770
 
Quote:

Originally Posted by XTC (Post 207761)
2008-07-28 09:06:08 ERROR: SQLITE3: (8) attempt to write a readonly database

Look at the permissions of the database file. Without further config it's located at $HOME/.mediatomb/mediatomb.db. If you start mediatomb as root, $HOME is /root if you start mediatomb as user, $HOME is /home/user


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

vBulletin® Version 3.8.8