Unfortunately no one can be told what fun_plug is - you have to see it for yourself.
You are not logged in.
After successfully getting lighttpd working, securing it, and serving up musicbrowser to me at work, I'm having some trouble. None of my computers (mac, windows, xbmc) can see the DNS-323 via network share (I think that's the right term). Here's a summary of what's been going on:
- I can telnet (ssh) and ftp into it, and access the web configuration
- I updated the firmware to 1.07.
- I followed the directions on the known issues http://dns323.kood.org/information:know … no access
- I tried this info on bettersamba http://dns323.kood.org/howto:bettersamb … _unc_paths
Here's my log:
**** fun_plug script for DNS-323 (2008-08-11 tp@fonz.de) **** Tue Aug 11 20:06:59 GMT 2009 ln -snf /mnt/HD_a2/ffp /ffp * Running /ffp/etc/fun_plug.init ... * Running /ffp/etc/rc ... * /ffp/start/syslogd.sh inactive * /ffp/start/SERVERS.sh inactive * /ffp/start/portmap.sh inactive * /ffp/start/unfsd.sh inactive * /ffp/start/transmission.sh ... Starting transmission-daemon su: unknown id: nobody * /ffp/start/nfsd.sh inactive * /ffp/start/ntpd.sh inactive * /ffp/start/LOGIN.sh inactive * /ffp/start/telnetd.sh inactive * /ffp/start/sshd.sh ... Starting /ffp/sbin/sshd * /ffp/start/rsyncd.sh inactive * /ffp/start/mysqld.sh inactive * /ffp/start/mediatomb.sh inactive * /ffp/start/kickwebs.sh inactive * /ffp/start/lighttpd.sh inactive * /ffp/start/inetd.sh inactive * OK
...and here's the "ps"
PID USER COMMAND
1 root init
2 root [ksoftirqd/0]
3 root [events/0]
4 root [khelper]
5 root [kthread]
11 root [kblockd/0]
14 root [khubd]
49 root [pdflush]
50 root [pdflush]
52 root [aio/0]
51 root [kswapd0]
189 root [scsi_eh_0]
190 root [scsi_eh_1]
200 root [mtdblockd]
217 root [kcryptd/0]
218 root [kmirrord/0]
229 root [loop0]
1252 root atd
1330 root [md0_raid1]
1518 root chkbutton
1536 root ./btdog ./bt --daemon-loop
1537 root ./bt --daemon-loop
1539 root ./bt --daemon-loop
1540 root ./bt --daemon-loop
1541 root ./bt --daemon-loop
1542 root ./bt --daemon-loop
1546 root /web/webs
1551 root fancontrol
1600 root op_server 3 3 3
1607 root -sh
1609 root check_hotplug
1646 root pure-ftpd (SERVER)
1678 root crond
1699 root lpd Waiting
1717 root ./bt --daemon-loop
1792 root /ffp/sbin/sshd
3774 root /usr/sbin/samba/nmbd -D
4504 root sshd: root@pts/0
4506 root -sh
4512 root psI'm thinking of upgrading samba, but posts that http://dns323.kood.org/forum/viewtopic.php?pid=31005 link to don't really provide enough info for me to do it.
I guess I'm a linux newbie, but I can follow directions very well. Can anyone give me a hand? Thanks!
Offline
Can you 'ssh' to your DSN-323 and manually restart samba with the following command:
# /usr/bin/smb start
and post the output of the manual samba restart command.
Also post the output of the following two commands?
# file /etc/samba/smb.conf
and
# cat /etc/samba/smb.conf
Last edited by mig (2009-08-12 10:22:21)
Offline
# /usr/bin/smb restart
$Shutting down SMB services: kill: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or kill -l [exitstatus] $Shutting down NMB services: $Starting SMB services: $Starting NMB services:
# file /etc/samba/smb.conf
/etc/samba/smb.conf: ASCII text
# cat /etc/samba/smb.conf
[ global ] interfaces = egiga0 unix charset = UTF8 workgroup = workgroup netbios name = strangler server string = DNS-323 hosts allow = hosts deny = security = USER encrypt passwords = yes max log size = 0 socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536 max xmit = 65535 create mask = 0777 directory mask = 0777 force create mode = 0777 force directory mode = 0777 load printers = Yes printcap name = /usr/local/LPRng/etc/printcap min print space = 2000 max print jobs = 1000 printing = lprng print command = /usr/local/LPRng/bin/lpr -P%p -r %s lpq command = /usr/local/LPRng/bin/lpq -P%p lprm command = /usr/local/LPRng/bin/lprm -P%p %j lppause command = /usr/local/LPRng/sbin/lpc hold %p %j lpresume command = /usr/local/LPRng/sbin/lpc release %p %j queuepause command = /usr/local/LPRng/sbin/lpc -P%p stop queueresume command = /usr/local/LPRng/sbin/lpc -P%p start use sendfile =yes [ web_page ] comment = Enter Our Web Page Setting path = /mnt/web_page valid users = read only = yes guest ok = yes [printers] path = /mnt/HD_a4/.lpd guest ok = Yes printable = Yes use client driver = Yes browseable = No [ BT ] comment = path = /mnt/HD_a2/BT valid users = read only = no guest ok = yes oplocks = no map archive = no [ Volume_1 ] comment = path = /mnt/HD_a2 valid users = read only = no guest ok = yes oplocks = no map archive = no
hahaha yes I did name my dns-323 "strangler"
I should also mention that I changed the (static) ip address and reserved the ip address on my router (dir-655), and of course that didn't help either.
Thanks again for looking at this.
Offline
The smb.conf file looks good, and smb seems to restart, so maybe the problem is in netBios name resolution.
Do you have the correct workgroup defined in the smb.conf file 'workgroup'?
Are you trying to access the DNS-323 by name or IP address?
Try using IP address and that should bypass any netBios name resolution issues.
Offline
I double-checked all of the workgroups names on all my machines, and they are all "workgroup".
On my mac I tried connecting to it by its IP address, but it returns a connection error saying that the name or password is not correct. I tried every password from the users on the DNS-323 to the mac computer user (but the username is >8 characters), but I got nothing.
I then went to my windows xp machine and tried using the easy search utility (v4.4.0.0). It seems like it can indeed find it on the network, but when I try to map it to a netwok drive it prompts me for a username/password. Again, I tried all of the DNS-323 users and the windows xp computer user (<8 characters, which I don't think is a problem). Trying to add it via IP address or network share name doesn't do anything.
Then I logged into the DNS-323 to double-check the network access rules. Volume_1 was set to ALL users for read and write access. I added another rule, exactly duplicating the Volume_1 rule: ALL users, Volume_1, Optlocks=no, archive=no. Weirdly enough, I could then see the DNS-323 on my mac, but I could not connect to it. I deleted the new rule and left the original ones there.
A little later in the night, I could see the DNS-323 on my windows xp machine as well as my mac, but I still can't connect to it.
I feel like I'm so close.
(ps - I'm running firmware 1.07 and the iTunes GUI got corrupted. I updated the wiki http://dns323.kood.org/information:know … _interface to reflect that the bug still exists)
Offline
Wow, Photovox I don't know what the problem could be? I'm out of ideas.
The user/password for samba is kept on the DSN-323 in the file /etc/samba/smbpasswd
If you ssh to your DNS-323 and type:
# cat /etc/samba/smbpasswd
you should see the list of valid samba users and the encrypted passwd.
That might give you a clue what users are valid?
Last edited by mig (2009-08-13 09:55:47)
Offline
I restored to factory settings and that seemed to have done the trick. Weird.
Offline