default smb.conf file for rc3?

40 views
Skip to first unread message

Richard Bourassa

unread,
Aug 13, 2013, 7:54:45 AM8/13/13
to al...@googlegroups.com
Hello,

Could somebody provide or point me to a copy of the default smb.conf file used in rc3? Somehow, I've managed to break mine and I'd like to start from the default again.

thanks very much and thanks for all the great work on this firmware!
rjb

Joel Haasnoot

unread,
Aug 13, 2013, 8:04:08 AM8/13/13
to al...@googlegroups.com
Have you tried rebooting? Every time I do, mine gets reset. Mentioned
this recently but never got a good response.

Joel
----------------------------------------------------------
Joel Haasnoot
> --
> You received this message because you are subscribed to the Google Groups
> "Alt-F" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to alt-f+un...@googlegroups.com.
> To post to this group, send email to al...@googlegroups.com.
> Visit this group at http://groups.google.com/group/alt-f.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/alt-f/c28e457c-942c-403f-85fa-a95cd582fd2e%40googlegroups.com?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Lando Siregar

unread,
Aug 14, 2013, 12:33:11 AM8/14/13
to al...@googlegroups.com

João Cardoso

unread,
Aug 14, 2013, 7:46:18 AM8/14/13
to al...@googlegroups.com


On Wednesday, August 14, 2013 5:33:11 AM UTC+1, zero13th wrote:

As an alternative, all files from the flashed firmware can be found read-only under /rootmnt/ro and modified files under /rootmnt/rw/

# find /rootmnt/ -name smb.conf
/rootmnt/rw/etc/samba/smb.conf
/rootmnt/ro/etc/samba/smb.conf

Some modified files can also be found under /Alt-F, if Alt-F packages have been installed:

# aufs.sh -l
aufs on / type aufs (rw,relatime,si=40767ed1)
/mnt/sdb2/Alt-F=rw
/rootmnt/rw=rw
/rootmnt/ro=rr

All those directories are "unioned" together using 'aufs' and appear under '/' following a complex set of rules and priorities.
To manipulate those directories directly aufs must be re-mounted in a special  mode:

# aufs.sh 
Usage: Alt-F.sh -m (mount the Alt-F union branch) |
                -u (umount the Alt-F union branch) |
                -n (remount with notify) |
                -r (remount with reval) |
                -l (list branches) |
                -i <mountpoint> (install in mountpoint)
                -s (status)

Thus, if the file does not exists under /Alt-F:

aufs.sh -n
cp
/rootmnt/ro/etc/samba/smb.conf /rootmnt/rw/etc/samba/smb.conf
aufs
.sh -r
Reply all
Reply to author
Forward
0 new messages