Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (6) </ 1 [2] 3 4 5 6 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: How to modify Samba extension, use as a unc< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Aug. 01 2007,16:20 QUOTE

OK - I see now that /opt/smb.conf, /usr/bin/smbclient and /usr/bin/smbtree exist in DSL without the samba extension being loaded.

From playing around with the commands, I can list the shares on a network hd but it looks like acting as a printer server is going to require the samba extension or perhaps a full version of samba.
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 01 2007,16:31 QUOTE

If renaming the unc doesn't work for some reason (i think it should, but maybe there is /opt/samba in the unc package), try renaming the samba.dsl file first and then run dsl2unc

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Aug. 01 2007,17:00 QUOTE

Quote
(i think it should, but maybe there is /opt/samba in the unc package)
How would that work?  Wouldn't that be ignored or cause a conflict since (from what i seem to remember) the data is loaded on /opt/<extension> and linked to /KNOPPIX
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Aug. 01 2007,22:57 QUOTE

I couldn't say.  I don't know the exact directory structure of the cloop files, so I thought maybe the "myapp" directory (as in /opt/myapp) might be included in the ISO

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
andrewb Offline





Group: Members
Posts: 316
Joined: July 2005
Posted: Aug. 02 2007,00:04 QUOTE

If you load it as a unc at boot time this is loaded before the backup is loaded so if you put /ramdisk/etc/smb.conf in your filetool.lst files it will get loaded over whatever the unc loads up. This works OK with the default boot settings (i.e. unionfs) as etc is a union with /ramdisk/etc & so writable. I use this method, but do get some stragne things happening. If I look in /etc/samba I can't see smb.conf listed, but 'vi smb.conf' does edit the file. If I look in /ramdisk/etc/samba the file is visible using 'ls' or in emelfm. There is another version of the file in /opt/samba/etc/samba which is loaded with the unc, but isn't linked to the one in /etc/samba (i.e. if you edit the one accessible through /etc/samba or /ramdisk/etc/samba it has no effect on the one in /opt/samba/etc/samba - as you would expect since it is ro). For info I've appended the output of listu on my machine with Samba.unc loaded. I'm uncertain how unionfs decides which of the files it decides to use when /etc/samba/smb.conf if accessed, but it always seems to pick up the one I want (i.e. the edited one in /ramdisk/etc) & that is the one that is stored & reloaded by the backup system when selected in filetool.lst.

/KNOPPIX/bin
       /ramdisk/bin (rw)
       /KNOPPIX/bin (r-)
/dev
       /ramdisk/dev (rw)
       /dev (r-)
/etc
       /ramdisk/etc (rw)
       /ramdisk/opt/samba/etc (r-)
       /etc (r-)
/KNOPPIX/lib
       /ramdisk/lib (rw)
       /ramdisk/opt/samba/lib (r-)
       /KNOPPIX/lib (r-)
/KNOPPIX/sbin
       /ramdisk/sbin (rw)
       /KNOPPIX/sbin (r-)
/KNOPPIX/usr
       /ramdisk/usr (rw)
       /ramdisk/opt/samba/usr (r-)
       /KNOPPIX/usr (r-)
/ramdisk/var
       /ramdisk/var (rw)

& the output from mount:

/dev/root on / type ext2 (rw)
/dev/scd0 on /cdrom type iso9660 (ro)
/dev/cloop on /KNOPPIX type iso9660 (ro)
/ramdisk on /ramdisk type tmpfs (rw,size=99068k,size=94284k)
/proc/bus/usb on /proc/bus/usb type usbdevfs (rw,devmode=0666)
unionfs on /KNOPPIX/bin type unionfs (rw,dirs=/ramdisk/bin=rw:/bin=ro)
unionfs on /dev type unionfs (rw,dirs=/ramdisk/dev=rw:/dev=ro)
unionfs on /etc type unionfs (rw,dirs=/ramdisk/etc=rw:/etc=rw)
unionfs on /KNOPPIX/lib type unionfs (rw,dirs=/ramdisk/lib=rw:/lib=ro)
unionfs on /KNOPPIX/sbin type unionfs (rw,dirs=/ramdisk/sbin=rw:/sbin=ro)
unionfs on /KNOPPIX/usr type unionfs (rw,dirs=/ramdisk/usr=rw:/usr=ro)
unionfs on /ramdisk/var type unionfs (rw,dirs=/ramdisk/var=rw)
/dev/scd0 on /mnt/auto/cdrom type iso9660 (ro,nosuid,nodev)
/cdrom/unc/samba.unc on /ramdisk/opt/samba type iso9660 (ro,loop=/dev/cloop1)
Back to top
Profile PM 
27 replies since Aug. 01 2007,11:43 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (6) </ 1 [2] 3 4 5 6 >/
reply to topic new topic new poll
Quick Reply: How to modify Samba extension

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code