I recently treated myself to a new mobile phonecomputer, so I bought a Nokia N900 which eXpansys eventually shipped to me. Now to the point, you can easily share content to Facebook, Ovi, and Flickr but I maintain my own Gallery2 installation and I wanted to upload my photos there as well. Luckily the sharing infrastructure is pluggable, so all I needed was a plugin which I found.
Configuring it was a bit of a headache so here is how I did it.
I assume you are familiar with installing packages and whatnot on the N900/Maemo OS.
- First off I grabbed the plugin from the download page.
- I installed it from the terminal using
dpkg --install. - Next I entered my Gallery2 Administration interface and added a new user, I called it mobile. I configured it with a random password, which I jotted down to enter into the N900.
- After that I enabled the Remote plugin in the administration interface.
- I created a new album, with the title Mobile (note case is important here)
- I adjusted the permissions on the album to permit the mobile user full access, I could probably lock this down a bit to only allow addition of new items but I’m not too worried.
- Next I grabbed my N900 and went to configure the Gallery2 sharing service, this is where the fun began for me. I ended up using tcpdump over ssh to diagnose the problems!
- I filled out the form with the following variables:
- User name
- mobile
- Passsword
- Pa$Sw0rd
- URL
- gallery.cs278.org (leave off the scheme, https is not supported.)
- Album
- Mobile (Case is important here, use the same as the album title you set.)
If you get a network error, basically the plugin couldn’t authenticate to Gallery2 or you didn’t have the Remote interface enabled. Hopefully this helps somebody and saves you heading for tcpdump and some head scratching.
Pingback: N900 Sharing « Chris' Blog
Thanks for the post, I didn’t even know the plugin exists! Works flawlessly. Except that I have to rotate portrait mode pictures manually in Gallery2 afterwards.l
cant get it to work,
set up gallery perfectly, works with the standart remote gallery uploader
setting is somethign like http://mydomain.com/gallery/
username mobile, password wont be disclosed here
album name Mobile ( i am aware this is case sensitive)
i can add the account on the n900, it verifies fine, remote gallery client on my desktop works, but it doesnt work from my phone
stuff i did already: check server logs (yes there is some http requests going on)
but menu whise on the phone side its always “waiting for service”
strange.
I’d missed enabling the remote module in Gallery2, thanks for the tips!