NSLU2-Linux
view · edit · print · history

Optware.Samba2 History

Hide minor edits - Show changes to markup

February 24, 2011, at 10:00 AM by OddballHero -- Plug Samba2 update
Changed lines 114-115 from:

Addendum for Plug Users:

to:

Addendum for Plug Users:

February 24, 2011, at 02:34 AM by OddballHero -- Plug Samba2 update
Changed lines 157-158 from:

http://www.samba.org/samba/docs/using_samba/ch00.html

to:
    http://www.samba.org/samba/docs/using_samba/ch00.html
February 24, 2011, at 02:14 AM by OddballHero -- Plug Samba2 update
Changed lines 171-173 from:
    Type "mount -o ro,remount /"
to:
    Type "mount -o ro,remount /"

9. When you connect to your plug the share name will be Clouds. So in Linux convention "//Pogoplug/Clouds". In MAC OSX, Go->Connect_To_Server->smb://Pogoplug then choose Clouds and enter your username and password.

February 24, 2011, at 02:03 AM by OddballHero -- Plug Samba2 update
Changed lines 157-158 from:

http://www.samba.org/samba/docs/using_samba/ch02.html

to:

http://www.samba.org/samba/docs/using_samba/ch00.html

February 24, 2011, at 02:01 AM by OddballHero -- Plug Samba2 update
Changed lines 116-117 from:

Samba2 Optware package is an excellent choice for plugs as it is for slugs. For beginners, swat? is also suggested.

to:

Samba2 Optware package is an excellent choice for plugs as it is for slugs. For beginners, swat is also suggested.

Changed lines 125-126 from:

3. You can now edit smb.conf or use swat? to set up samba.

to:

3. You can now edit smb.conf or use swat to set up samba.

February 24, 2011, at 01:59 AM by OddballHero -- Plug Samba2 update
Changed lines 112-171 from:

@]

to:

@]

Addendum for Plug Users:

Samba2 Optware package is an excellent choice for plugs as it is for slugs. For beginners, swat? is also suggested.

1. Install samba2 with ipkg after making the root file system write accessible:

    Type "mount -o rw,remount /"
    Then "ipkg install samba2"

2. Configure samba by going to /opt/etc/samba with "cd /opt/etc/samba" and editing the smb.conf with your favorite editor after making a back up copy.

    Type "cp smb.conf smb.conf.org"

3. You can now edit smb.conf or use swat? to set up samba.

If you are doing this manually, here is a sample smb.conf for testing purposes only. Adapt it to your system and security needs (this has none) . Would also suggest modifying your smb.conf and not overwriting with this:

    [global]
    workgroup = WORKGROUP
    server string = Samba2 Server
    hosts allow = 192.168.1.  127.
    null passwords = yes
    map to guest = bad user
    guest account = root
    log file = /opt/var/log/samba/log.%m
    max log size = 50
    security = share
    encrypt passwords = yes
    smb passwd file = /opt/etc/samba/smbpasswd
    dns proxy = no
    preserve case = yes

    [Clouds]
    comment = Share all Cloud Engines drives.
    path = /tmp/.cemnt
    available = yes
    public = yes
    writable = yes
    printable = no
    read only = no
    create mask = 0777
    guest ok = yes
    browseable = yes

For Mac OSX clients it is necessary to set "encrypt passwords = yes" to be able to log on. A good resource for learning how to set up samba is in chapter two of: http://www.samba.org/samba/docs/using_samba/ch02.html

4. You need to add users to your system (do this for each user you want to add to your system):

    Type "adduser -H sambausername" with sambausername to be what you want to add to the system password file.
    Then "smbpasswd -a sambausername" to add it to the samba user password file.

5. Now you can start samba and check for errors:

    Type "/opt/etc/init.d/S80samba start"

6. If there are any errors, fix them and you can start samba again. If you change the configuration file you can type "/opt/etc/init.d/S80samba restart". If you want to stop the samba server, type "/opt/etc/init.d/S80samba stop".

7. You can add the command "/opt/etc/init.d/S80samba start" to your rcS file or the mount_optextX file.

8. Make your root file system read only after finishing with:

    Type "mount -o ro,remount /"
June 18, 2008, at 02:31 AM by mkurtz -- someone trashed the page... reverting back a revision...
Changed lines 1-112 from:

<a href=http://cia-lis-soft-tabs.weebly.com>cialis soft tabs</a> [URL=http://cia-lis-soft-tabs.weebly.com]cialis soft tabs[/URL]

to:

Samba 2.2.12

It looks like Samba 3 is too big for all "swapless" routers. For this reason I have prepared Samba 2 packages with Samba Web Admin Tool which will ease config and admin for samba newcomers. SWAT interface looks like:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

Installation and running samba 2 is done out of the box by the following commands:

/opt/bin/ipkg update
/opt/bin/ipkg remove samba
/opt/bin/ipkg install samba2
/opt/bin/ipkg install xinetd
/opt/etc/init.d/S10xinetd start
/opt/etc/init.d/S80samba start

Edit /opt/etc/xinetd.d/swat :

find the line: only_from = localhost 192.168.1.0/24

and change the subnet to that of your own network, eg. I use 192.168.15.* so I changed it to 192.168.15.0/24

Save and quit editor, and restart xinetd: /opt/etc/init.d/S10xinetd restart

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba, and only for openwrt: replace "admin" with "root".

Running Samba2 with xinetd, not as Daemon

It is possible to run the whole samba package on demand with xinetd.

You first have to prevent samba running as daemon: rm /opt/etc/init.d/S80samba

Two files are needed to start the daemons with xinetd:

First file: /opt/etc/xinetd.d/netbios-ns

with following content:

service netbios-ns
{
        disable         = no
        socket_type     = dgram
        protocol        = udp
        port            = 137
        user            = admin
        wait            = yes
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/nmbd
}

Second file: /opt/etc/xinetd.d/netbios-ssn

with following content:

service netbios-ssn
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        port            = 139
        user            = admin
        wait            = no
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/smbd
}

Edit both file for your IP (on openwrt replace also user "admin" with "root" and change server path).

Only for openwrt you need to do this:

echo "netbios-ns 137/udp" >> /etc/services 
echo "netbios-ssn 139/tcp" >> /etc/services

and restart xinetd.

Runing samba on FLASH (USB stick) memory

To minimize FLASH wear, redirect all logs and temporary databases to /tmp/samba directories. One way to do is to create startup script like

#!/bin/sh
if [ -n "`pidof smbd`" ] ; then
    echo "Stopping smbd:"
    killall smbd
fi

if [ -n "`pidof nmbd`" ] ; then
    echo "Stopping nmbd:"
    killall nmbd
fi

#sleep 2

echo "Starting smbd:"
if [ ! -d /tmp/samba ]; then
        mkdir /tmp/samba
        mkdir /tmp/samba/log
        rm -rf /opt/var/log/samba
        ln -s /tmp/samba/log /opt/var/log/samba
        rm -rf /opt/var/samba
        ln -s  /tmp/samba /opt/var/samba
fi
/opt/sbin/smbd -D;
echo "Starting nmbd:"
/opt/sbin/nmbd -D;
June 14, 2008, at 08:49 PM by Unison --
Changed lines 1-112 from:

Samba 2.2.12

It looks like Samba 3 is too big for all "swapless" routers. For this reason I have prepared Samba 2 packages with Samba Web Admin Tool which will ease config and admin for samba newcomers. SWAT interface looks like:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

Installation and running samba 2 is done out of the box by the following commands:

/opt/bin/ipkg update
/opt/bin/ipkg remove samba
/opt/bin/ipkg install samba2
/opt/bin/ipkg install xinetd
/opt/etc/init.d/S10xinetd start
/opt/etc/init.d/S80samba start

Edit /opt/etc/xinetd.d/swat :

find the line: only_from = localhost 192.168.1.0/24

and change the subnet to that of your own network, eg. I use 192.168.15.* so I changed it to 192.168.15.0/24

Save and quit editor, and restart xinetd: /opt/etc/init.d/S10xinetd restart

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba, and only for openwrt: replace "admin" with "root".

Running Samba2 with xinetd, not as Daemon

It is possible to run the whole samba package on demand with xinetd.

You first have to prevent samba running as daemon: rm /opt/etc/init.d/S80samba

Two files are needed to start the daemons with xinetd:

First file: /opt/etc/xinetd.d/netbios-ns

with following content:

service netbios-ns
{
        disable         = no
        socket_type     = dgram
        protocol        = udp
        port            = 137
        user            = admin
        wait            = yes
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/nmbd
}

Second file: /opt/etc/xinetd.d/netbios-ssn

with following content:

service netbios-ssn
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        port            = 139
        user            = admin
        wait            = no
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/smbd
}

Edit both file for your IP (on openwrt replace also user "admin" with "root" and change server path).

Only for openwrt you need to do this:

echo "netbios-ns 137/udp" >> /etc/services 
echo "netbios-ssn 139/tcp" >> /etc/services

and restart xinetd.

Runing samba on FLASH (USB stick) memory

To minimize FLASH wear, redirect all logs and temporary databases to /tmp/samba directories. One way to do is to create startup script like

#!/bin/sh
if [ -n "`pidof smbd`" ] ; then
    echo "Stopping smbd:"
    killall smbd
fi

if [ -n "`pidof nmbd`" ] ; then
    echo "Stopping nmbd:"
    killall nmbd
fi

#sleep 2

echo "Starting smbd:"
if [ ! -d /tmp/samba ]; then
        mkdir /tmp/samba
        mkdir /tmp/samba/log
        rm -rf /opt/var/log/samba
        ln -s /tmp/samba/log /opt/var/log/samba
        rm -rf /opt/var/samba
        ln -s  /tmp/samba /opt/var/samba
fi
/opt/sbin/smbd -D;
echo "Starting nmbd:"
/opt/sbin/nmbd -D;
to:

<a href=http://cia-lis-soft-tabs.weebly.com>cialis soft tabs</a> [URL=http://cia-lis-soft-tabs.weebly.com]cialis soft tabs[/URL]

June 12, 2008, at 12:00 PM by aritmeester -- revert spam
Changed lines 1-112 from:

generic lexapro without prescription <a href=http://www.mixx.com/users/dr_marcus>buy lexapro</a> [url=http://www.mixx.com/users/dr_marcus]buy lexapro[/url]

to:

Samba 2.2.12

It looks like Samba 3 is too big for all "swapless" routers. For this reason I have prepared Samba 2 packages with Samba Web Admin Tool which will ease config and admin for samba newcomers. SWAT interface looks like:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

Installation and running samba 2 is done out of the box by the following commands:

/opt/bin/ipkg update
/opt/bin/ipkg remove samba
/opt/bin/ipkg install samba2
/opt/bin/ipkg install xinetd
/opt/etc/init.d/S10xinetd start
/opt/etc/init.d/S80samba start

Edit /opt/etc/xinetd.d/swat :

find the line: only_from = localhost 192.168.1.0/24

and change the subnet to that of your own network, eg. I use 192.168.15.* so I changed it to 192.168.15.0/24

Save and quit editor, and restart xinetd: /opt/etc/init.d/S10xinetd restart

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba, and only for openwrt: replace "admin" with "root".

Running Samba2 with xinetd, not as Daemon

It is possible to run the whole samba package on demand with xinetd.

You first have to prevent samba running as daemon: rm /opt/etc/init.d/S80samba

Two files are needed to start the daemons with xinetd:

First file: /opt/etc/xinetd.d/netbios-ns

with following content:

service netbios-ns
{
        disable         = no
        socket_type     = dgram
        protocol        = udp
        port            = 137
        user            = admin
        wait            = yes
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/nmbd
}

Second file: /opt/etc/xinetd.d/netbios-ssn

with following content:

service netbios-ssn
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        port            = 139
        user            = admin
        wait            = no
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/smbd
}

Edit both file for your IP (on openwrt replace also user "admin" with "root" and change server path).

Only for openwrt you need to do this:

echo "netbios-ns 137/udp" >> /etc/services 
echo "netbios-ssn 139/tcp" >> /etc/services

and restart xinetd.

Runing samba on FLASH (USB stick) memory

To minimize FLASH wear, redirect all logs and temporary databases to /tmp/samba directories. One way to do is to create startup script like

#!/bin/sh
if [ -n "`pidof smbd`" ] ; then
    echo "Stopping smbd:"
    killall smbd
fi

if [ -n "`pidof nmbd`" ] ; then
    echo "Stopping nmbd:"
    killall nmbd
fi

#sleep 2

echo "Starting smbd:"
if [ ! -d /tmp/samba ]; then
        mkdir /tmp/samba
        mkdir /tmp/samba/log
        rm -rf /opt/var/log/samba
        ln -s /tmp/samba/log /opt/var/log/samba
        rm -rf /opt/var/samba
        ln -s  /tmp/samba /opt/var/samba
fi
/opt/sbin/smbd -D;
echo "Starting nmbd:"
/opt/sbin/nmbd -D;
June 09, 2008, at 09:56 PM by Bob --
Changed line 1 from:

porn tube animal free <a href=http://zootube24.weebly.com/>Animal porn tube free</a> [URL=http://zootube24.weebly.com/]Animal porn tube free[/URL]

to:

generic lexapro without prescription <a href=http://www.mixx.com/users/dr_marcus>buy lexapro</a> [url=http://www.mixx.com/users/dr_marcus]buy lexapro[/url]

June 09, 2008, at 08:46 AM by Brytney --
Changed line 1 from:

<a href=http://pornhub-city.weebly.com/index.html>Porn hub xxx</a> [URL=http://pornhub-city.weebly.com/index.html]Porn hub xxx[/URL]

to:

porn tube animal free <a href=http://zootube24.weebly.com/>Animal porn tube free</a> [URL=http://zootube24.weebly.com/]Animal porn tube free[/URL]

June 08, 2008, at 12:28 AM by Vanessa --
Changed line 1 from:

<a href=http://pornhub-city.weebly.com/index.html>porn hub video</a> [URL=http://pornhub-city.weebly.com/index.html]porn hub video[/URL]

to:

<a href=http://pornhub-city.weebly.com/index.html>Porn hub xxx</a> [URL=http://pornhub-city.weebly.com/index.html]Porn hub xxx[/URL]

June 07, 2008, at 09:27 AM by Vanessa --
Changed lines 1-112 from:

Samba 2.2.12

It looks like Samba 3 is too big for all "swapless" routers. For this reason I have prepared Samba 2 packages with Samba Web Admin Tool which will ease config and admin for samba newcomers. SWAT interface looks like:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

Installation and running samba 2 is done out of the box by the following commands:

/opt/bin/ipkg update
/opt/bin/ipkg remove samba
/opt/bin/ipkg install samba2
/opt/bin/ipkg install xinetd
/opt/etc/init.d/S10xinetd start
/opt/etc/init.d/S80samba start

Edit /opt/etc/xinetd.d/swat :

find the line: only_from = localhost 192.168.1.0/24

and change the subnet to that of your own network, eg. I use 192.168.15.* so I changed it to 192.168.15.0/24

Save and quit editor, and restart xinetd: /opt/etc/init.d/S10xinetd restart

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba, and only for openwrt: replace "admin" with "root".

Running Samba2 with xinetd, not as Daemon

It is possible to run the whole samba package on demand with xinetd.

You first have to prevent samba running as daemon: rm /opt/etc/init.d/S80samba

Two files are needed to start the daemons with xinetd:

First file: /opt/etc/xinetd.d/netbios-ns

with following content:

service netbios-ns
{
        disable         = no
        socket_type     = dgram
        protocol        = udp
        port            = 137
        user            = admin
        wait            = yes
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/nmbd
}

Second file: /opt/etc/xinetd.d/netbios-ssn

with following content:

service netbios-ssn
{
        disable         = no
        socket_type     = stream
        protocol        = tcp
        port            = 139
        user            = admin
        wait            = no
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/smbd
}

Edit both file for your IP (on openwrt replace also user "admin" with "root" and change server path).

Only for openwrt you need to do this:

echo "netbios-ns 137/udp" >> /etc/services 
echo "netbios-ssn 139/tcp" >> /etc/services

and restart xinetd.

Runing samba on FLASH (USB stick) memory

To minimize FLASH wear, redirect all logs and temporary databases to /tmp/samba directories. One way to do is to create startup script like

#!/bin/sh
if [ -n "`pidof smbd`" ] ; then
    echo "Stopping smbd:"
    killall smbd
fi

if [ -n "`pidof nmbd`" ] ; then
    echo "Stopping nmbd:"
    killall nmbd
fi

#sleep 2

echo "Starting smbd:"
if [ ! -d /tmp/samba ]; then
        mkdir /tmp/samba
        mkdir /tmp/samba/log
        rm -rf /opt/var/log/samba
        ln -s /tmp/samba/log /opt/var/log/samba
        rm -rf /opt/var/samba
        ln -s  /tmp/samba /opt/var/samba
fi
/opt/sbin/smbd -D;
echo "Starting nmbd:"
/opt/sbin/nmbd -D;
to:

<a href=http://pornhub-city.weebly.com/index.html>porn hub video</a> [URL=http://pornhub-city.weebly.com/index.html]porn hub video[/URL]

February 17, 2008, at 10:59 PM by Federico --
Changed lines 73-74 from:

Edit both file for your IP and user (on openwrt replace "admin" with "root").

to:

Edit both file for your IP (on openwrt replace also user "admin" with "root" and change server path).

September 12, 2007, at 12:12 AM by Federico --
Changed lines 25-26 from:

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba.

to:

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba, and only for openwrt: replace "admin" with "root".

Changed line 75 from:

Now do this:

to:

Only for openwrt you need to do this:

July 26, 2007, at 01:36 PM by Federico --
July 26, 2007, at 01:36 PM by Federico --
Changed line 75 from:
to:

[@

Changed line 78 from:
to:

@]

July 26, 2007, at 01:35 PM by Federico --
Changed lines 72-73 from:

Edit both file for your IP.

to:

Edit both file for your IP and user (on openwrt replace "admin" with "root").

Now do this:

echo "netbios-ns 137/udp" >> /etc/services echo "netbios-ssn 139/tcp" >> /etc/services

and restart xinetd.

March 12, 2007, at 11:09 PM by fcarolo -- fixed link formatting
Changed lines 25-26 from:

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba.

to:

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba.

March 12, 2007, at 02:22 PM by MadGabZ -- Last changes to make it work!
Added line 18:
Added line 20:
Added line 22:
March 12, 2007, at 02:21 PM by MadGabZ -- Last changes to make it work!
Changed lines 17-18 from:

Point your browser to http://192.168.1.1:901/ to administer samba.

to:

Edit /opt/etc/xinetd.d/swat : find the line: only_from = localhost 192.168.1.0/24 and change the subnet to that of your own network, eg. I use 192.168.15.* so I changed it to 192.168.15.0/24 Save and quit editor, and restart xinetd: /opt/etc/init.d/S10xinetd restart

Point your browser to http://YOUR.I.P.ADRESS:901/ to administer samba.

March 11, 2007, at 09:37 PM by oleo --
Changed lines 66-67 from:

Runing samba on FLASH memory

to:

Runing samba on FLASH (USB stick) memory

March 11, 2007, at 09:35 PM by oleo -- FLASH note
Changed lines 33-34 from:

service netbios-ns

to:

[@service netbios-ns

Changed lines 44-45 from:
to:

@]

Changed lines 51-52 from:

service netbios-ssn

to:

[@service netbios-ssn

Changed lines 62-63 from:

Edit both file for your IP.

to:

@]

Edit both file for your IP.

Runing samba on FLASH memory

To minimize FLASH wear, redirect all logs and temporary databases to /tmp/samba directories. One way to do is to create startup script like

#!/bin/sh
if [ -n "`pidof smbd`" ] ; then
    echo "Stopping smbd:"
    killall smbd
fi

if [ -n "`pidof nmbd`" ] ; then
    echo "Stopping nmbd:"
    killall nmbd
fi

#sleep 2

echo "Starting smbd:"
if [ ! -d /tmp/samba ]; then
        mkdir /tmp/samba
        mkdir /tmp/samba/log
        rm -rf /opt/var/log/samba
        ln -s /tmp/samba/log /opt/var/log/samba
        rm -rf /opt/var/samba
        ln -s  /tmp/samba /opt/var/samba
fi
/opt/sbin/smbd -D;
echo "Starting nmbd:"
/opt/sbin/nmbd -D;
March 07, 2007, at 10:27 AM by wengi --
Added line 27:
March 07, 2007, at 10:26 AM by wengi --
Added line 33:
Added line 51:
March 07, 2007, at 10:26 AM by wengi -- formating
Added line 31:
Added line 48:
March 07, 2007, at 10:25 AM by wengi -- Adding samba2 with xinetd
Added lines 18-59:

Running Samba2 with xinetd, not as Daemon

It is possible to run the whole samba package on demand with xinetd.

You first have to prevent samba running as daemon: rm /opt/etc/init.d/S80samba

Two files are needed to start the daemons with xinetd: First file: /opt/etc/xinetd.d/netbios-ns

with following content: service netbios-ns {

        disable         = no
        socket_type     = dgram
        protocol        = udp
        port            = 137
        user            = admin
        wait            = yes
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/nmbd

}

Second file: /opt/etc/xinetd.d/netbios-ssn

with following content: service netbios-ssn {

        disable         = no
        socket_type     = stream
        protocol        = tcp
        port            = 139
        user            = admin
        wait            = no
        only_from       = localhost YOUR.PRIVATE.SUB.NET/24
        server          = /opt/sbin/smbd

}

Edit both file for your IP.

January 23, 2007, at 08:32 PM by oleo --
Changed line 9 from:

[@/opt/bin/ipkg update

to:

[@/opt/bin/ipkg update

January 23, 2007, at 08:32 PM by oleo --
Changed lines 1-2 from:

Samba 2

to:

Samba 2.2.12

January 23, 2007, at 08:30 PM by oleo -- final
Changed lines 6-17 from:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

to:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

Installation and running samba 2 is done out of the box by the following commands:

/opt/bin/ipkg  update
/opt/bin/ipkg remove samba
/opt/bin/ipkg install samba2
/opt/bin/ipkg install xinetd
/opt/etc/init.d/S10xinetd start
/opt/etc/init.d/S80samba start

Point your browser to http://192.168.1.1:901/ to administer samba.

January 23, 2007, at 08:29 PM by oleo --
Changed line 6 from:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.pnghttp://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

to:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

January 23, 2007, at 08:29 PM by oleo --
Changed line 6 from:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.pnghttp://img152.imageshack.us/img152/4665/swatshares3xv.th.pnghttp://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

to:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png http://img152.imageshack.us/img152/4665/swatshares3xv.th.pnghttp://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

January 23, 2007, at 08:28 PM by oleo --
Changed lines 6-9 from:

SWAT globals http://img262.imageshack.us/img262/518/swatglobals9ho.th.png

http://img152.imageshack.us/img152/4665/swatshares3xv.th.pnghttp://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

to:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.pnghttp://img152.imageshack.us/img152/4665/swatshares3xv.th.pnghttp://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

January 23, 2007, at 08:28 PM by oleo --
Changed lines 9-10 from:

http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

to:

http://img152.imageshack.us/img152/4665/swatshares3xv.th.pnghttp://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

January 23, 2007, at 08:28 PM by oleo --
Changed lines 9-13 from:

SWAT SHARES page http://img152.imageshack.us/img152/4665/swatshares3xv.th.png

http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

to:

http://img152.imageshack.us/img152/4665/swatshares3xv.th.png http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

January 23, 2007, at 08:27 PM by oleo --
Changed lines 13-14 from:

[[http://img152.imageshack.us/img152/4793/swatstatus3cr.png | SWAT STATUS page http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png ]]

to:

http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

January 23, 2007, at 08:26 PM by oleo --
Changed lines 13-14 from:

SWAT STATUS page http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

to:

[[http://img152.imageshack.us/img152/4793/swatstatus3cr.png | SWAT STATUS page http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png ]]

January 23, 2007, at 08:26 PM by oleo -- swat
Added lines 11-14:

SWAT STATUS page http://img152.imageshack.us/img152/4793/swatstatus3cr.th.png

January 23, 2007, at 08:25 PM by oleo -- swat
Added lines 8-10:

SWAT SHARES page http://img152.imageshack.us/img152/4665/swatshares3xv.th.png

January 23, 2007, at 08:23 PM by oleo --
Changed line 6 from:

[[http://img262.imageshack.us/img262/518/swatglobals9ho.png | SWAT globals]

to:

SWAT globals

January 23, 2007, at 08:22 PM by oleo -- link
Added line 6:

[[http://img262.imageshack.us/img262/518/swatglobals9ho.png | SWAT globals]

January 23, 2007, at 08:21 PM by oleo --
Changed line 6 from:

http://img262.imageshack.us/img262/518/swatglobals9ho.png SWAT

to:

http://img262.imageshack.us/img262/518/swatglobals9ho.th.png

January 23, 2007, at 08:20 PM by oleo --
Changed line 6 from:

http://img262.imageshack.us/img262/518/swatglobals9ho.png] SWAT

to:

http://img262.imageshack.us/img262/518/swatglobals9ho.png SWAT

January 23, 2007, at 08:19 PM by oleo -- img
Added line 6:

http://img262.imageshack.us/img262/518/swatglobals9ho.png] SWAT

January 23, 2007, at 08:18 PM by oleo -- Samba 2
Added lines 1-5:

Samba 2

It looks like Samba 3 is too big for all "swapless" routers. For this reason I have prepared Samba 2 packages with Samba Web Admin Tool which will ease config and admin for samba newcomers. SWAT interface looks like:

view · edit · print · history · Last edited by OddballHero.
Based on work by OddballHero, mkurtz, Unison, aritmeester, Bob, Brytney, Vanessa, Federico, fcarolo, MadGabZ, oleo, and wengi.
Originally by oleo.
Page last modified on February 24, 2011, at 10:00 AM