Reply
Thread Tools
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#31
Originally Posted by Mara View Post
Since it has already Samba... how much work would it need to add support for Windows shared files/directories in N800? (And wise versa? Can Windows see files on N800?)

Well currently it does contain samba, and there is a smb.conf file in /usr/local/samba/lib

Just updated that, and then start smbd and nmbd and you should be able to connect to n800 via samba. You might want to grab a startup script from somewhere and start it on boot, the startup scripts are not included...

In order to do the reverse you need an application that supports browsing the network, although command line tools are there.

In KDE using the browser you can browse the network for fileshares, its actually quite nice to use. I downoaded my KDE tarball ripped out samba/cups/gs and then replaced them using my cups tarball and its working great, new kde tarball will follow soon
 
Mara's Avatar
Posts: 1,310 | Thanked: 820 times | Joined on Mar 2006 @ Irving, TX
#32
Originally Posted by penguinbait View Post
Well currently it does contain samba, and there is a smb.conf file in /usr/local/samba/lib
Penguinbait: Do not spent too much time on this Windows shared files access... Why? Blame on Chinook...
 
debernardis's Avatar
Posts: 2,142 | Thanked: 2,054 times | Joined on Dec 2006 @ Sicily
#33
Originally Posted by debernardis View Post
I've done a deb file of the .tar.gz [...]
After you install it you have to setup ld.so.conf and issue ldconfig and start the cups daemon as described in the first post of this thread...
I've fixed the debfile in http://www.debernardis.it/n800/cups12_armel.deb - now can be installed from the application manager.
 
Posts: 10 | Thanked: 0 times | Joined on Oct 2007
#34
hello im getting error when im trying to start it

/home/user # /etc/init.d/cups start

/usr/sbin/cupsd: error while loading shared libraries: libslp.so.1: cannot open shared object file: No such file or directory

cups: unable to start scheduler.

im using N800 and os on mmc2 so i boot frome mmc2
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#35
Originally Posted by Golab View Post
hello im getting error when im trying to start it

/home/user # /etc/init.d/cups start

/usr/sbin/cupsd: error while loading shared libraries: libslp.so.1: cannot open shared object file: No such file or directory

cups: unable to start scheduler.

im using N800 and os on mmc2 so i boot frome mmc2
run ldconfig

make sure /usr/local/lib is listed in /etc/ld.so.conf If it is not, add it and run ldconfig
 
Posts: 10 | Thanked: 0 times | Joined on Oct 2007
#36
it works now, Danke

Last edited by Golab; 2007-10-21 at 21:58.
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#37
Originally Posted by Golab View Post
it works now, Danke

your welcome
 
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#38
Originally Posted by debernardis View Post
I've fixed the debfile in http://www.debernardis.it/n800/cups12_armel.deb - now can be installed from the application manager.
Is it possible to have it run ldconfig after deb install?
 
Posts: 3,841 | Thanked: 1,079 times | Joined on Nov 2006
#39
Originally Posted by penguinbait View Post
Is it possible to have it run ldconfig after deb install?
Add a 'postinst' script to the package. It can typically check/change permissions and directories, run ldconfig, and, for this system, it should presumably also start the printer daemon. The one below is what I use for the 'lprng' package, presumably it should be something similar for 'cups', but with the additional ldconfig.

The lprng postinst script (Maemo version):
Code:
#!/bin/sh

set -e
case "$1" in
    install|upgrade)
    ;;

    configure)
        # Create directories for pid file
        if test ! -d /var/run/lprng; then
            mkdir /var/run/lprng
        fi
        chown root.lp /var/run/lprng
        chmod 0775 /var/run/lprng
        for fname in `ls /var/spool/lpd 2>/dev/null`; do
            if [ -d $fname ] ; then
                chown -R lp:lp /var/spool/lpd/$fname
                chmod 0700 /var/spool/lpd/$fname
            fi
        done
        chown daemon.lp /var/spool/lpd
        chmod 0700 /var/spool/lpd
        for fname in lpr lprm lpq; do
            chown root.lp /usr/bin/$fname
            chmod u+s /usr/bin/$fname
            chmod g+s /usr/bin/$fname
        done
        if [ ! -e /etc/printcap ] ; then
            cp /etc/lprng/printcap.example /etc/printcap
        fi
        ;;
    abort-upgrade)
        ;;
    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 0
        ;;
esac

# Have to manually start lprng as a failed startup is not a failed install
if [ -x "/etc/init.d/lprng" ]; then
        update-rc.d lprng defaults >/dev/null
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
            invoke-rc.d lprng start || true
        else
            /etc/init.d/lprng start || true
        fi
fi
__________________
N800/OS2007|N900/Maemo5
-- Metalayer-crawler delenda est.
-- Current state: Fed up with everything MeeGo.
 
Posts: 10 | Thanked: 0 times | Joined on Oct 2007
#40
to this work on OS2008?
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:16.