Quantcast
Channel: Debian on Shuttle KD20 (PLX OXNAS 7821)
Viewing all articles
Browse latest Browse all 141

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Hi Peacemaker,

Thank you for your response, really appreciated!

Well, the main reason is that in Windows, samba works perfectly. In Linux (Kubuntu 16.04, stock install) I can browse the shares, create files and directories, but not read them (long story short, I want to ditch Windows). However, when I check permissions, they are all 777. Really weird. The config of Samba also doesn't get saved if you alter it and I can't seem to find where it is located. In the /system (on F/W 2.38) mount I only seem to be able to find an XML file that describes a few options (which I guess, would be generated inside a template config file for samba). I also installed optware with an ftp server, but that just doesn't cut it at the moment. This is how I came on the idea to just throw the stock stuff away and create something that I know I can fully manage.

Cardreader will not be used, as well as USB 3.0. AFAIK USB 2.0 will work, right? Have you by chance also tested the rear two USB ports when you were still looking into this unit? I have a LabelWriter connected to one of those (which is made available to the entire home network, which again I think is Samba responsible for). Scripting for the LED's, does that need to be done in Bash, Python or...? I'm currently a student following a degree for Software Engineering (and before that I was programming in PHP already some time), so I don't think that programming those should be very difficult, unless I'm missing something here.

Are those transfer speeds really that slow? Any idea why that might be? Using the stock firmware I get around 30MB/s (yes, megabytes per second) with an occasional jump to 45-55 in Windows (using Samba of course). This is on a full duplex 1 Gbit/s connection.

I'll post the smb.conf here anyway (hope that's ok), which I did not create, but is created by the firmware, just in case anybody might know what the problem is I'm experiencing. I might just as well inject a script which puts my custom smb.conf in place (which will then be stored on the HDD) when the unit is rebooted, so I don't have to touch anything else of it (as that is working good enough for me ATM, though). However, if that ain't possible then I'll just start using Debian. Do you, by chance, know which files I need for this, as I'm a bit confused re-reading the thread(s). Do I also need to alter the NAND or wouldn't that be necessary? I also already had the unit open once to fit another fan which would auto adjust to temperature, so finding the RX/TX serial shouldn't be too hard I think. Only thing is to find time for it heheh.

Thanks in advance!

The smb.conf file:
[global]
netbios name = NAS
workgroup = HOMEGROUP
server string = OMNINAS Series
encrypt passwords = yes
security = user
deadtime = 10
map to guest = bad password
use mmap = yes
use sendfile = yes
dns proxy = no
use spnego = yes
max log size = 200
log level = 0
socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=65536 SO_RCVBUF=65536
local master = yes
domain master = yes                                                  
preferred master = yes                                                  
wins support = yes                                                        
browse list  = yes
dns proxy = no
ldap ssl = no
# Optional QOS settings
# qos enable = yes
# level1 file extensions = avi wmv wma
# level2 file extensions = mpeg mpg
; disable spoolss = Yes
; guest account = nobody
unix charset=UTF-8
dos charset=UTF-8
display charset=UTF-8
fstype=Samba
peek command type = yes
load printers = yes
# Modified for LPRng supporting
#show add printer wizard = Yes
#printing = cups
#printcap name = cups
printing = lprng
printcap name = /etc/printcap

[disk]
comment = Default_share
path = /share/atonnas/disk
create mask = 0666
directory mask = 0777
force directory mode = 0777
directory security mask = 0777
force directory security mode = 0777
writeable = yes
printable = no
public = yes
preallocate = yes
incoherent=yes
direct writes=2

[iTunes]
comment = Default_iTunes_share
path = /share/atonnas/disk/iTunes
create mask = 0666
directory mask = 0777
force directory mode = 0777
directory security mask = 0777
force directory security mode = 0777
writeable = yes
printable = no
public = yes
preallocate = yes
incoherent=yes
direct writes=2

[Videos]
comment = 
path = /share/atonnas/Videos
create mask = 0666
directory mask = 0777
force directory mode = 0777
directory security mask = 0777
force directory security mode = 0777
writeable = yes
printable = no
public = yes
preallocate = yes
incoherent=yes
direct writes=2

[printers]
comment = Aton NAS Printer Server
browseable = no
use client driver = yes
path = /var/spool/samba
printable = Yes
public = no
writable = no
create mode = 0777
print command = /usr/hddapp/bin/lpr -P%p -r %s
lpq command = /usr/hddapp/bin/lpq -P%p
lprm command = /usr/hddapp/bin/lprm -P%p %j
lppause command = /usr/hddapp/bin/lpc hold %p %j
lpresume command = /usr/hddapp/bin/lpc release %p %j
queuepause command = /usr/hddapp/bin/lpc -P%p stop
queueresume command = /usr/hddapp/bin/lpc -P%p start

Viewing all articles
Browse latest Browse all 141

Trending Articles