Page 2 of 3 FirstFirst 123 LastLast
Results 17 to 32 of 37

Thread: Mapping N5200 as network drive - not in my network places

  1. #17
    Senior Member
    Join Date
    Jun 2007
    Location
    Austra
    Posts
    453
    Thanks
    0
    Thanked
    14 times in 14 posts

    Re: Mapping N5200 as network drive - not in my network places

    That depends on Your network setup - there should be a possibility in the Firewall software to define trusted networks or trusted hosts. Define Your N5200 as trusted host and it should work. If Your whole LAN is behind a Firewall, then define Your LAN as trusted network or disable the local firewall completly.
    br
    Peter

    PS: hopefully Your N5200 is protected from a Firewall

  2. #18
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    So it has now been slightly over two weeks that I have been unable to access about a terabyte of my files, with no response from Thecus either here or to the support ticket. I am unable to get the FTP working because after trying a factory reset, the Users, Groups and Batch Management screens all take me to a blank page (see here) so there is no way to set up the users.

    Thecus, is there any way you can troubleshoot this from your end or at least tell me some way I can access my files? Over USB perhaps? Can you give me a date when you will respond to my support ticket in the thread I linked to above?

  3. #19
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: Mapping N5200 as network drive - not in my network places

    jbl,

    obviously there is something really wrong with your device now.

    Did you install the SSHD and SYSUSER module so that you're able to login?

    In order to try to rescue your N5200, I would try to find out what ports are still open and somehow functional on your N5200. There are two programs which helps you to that:
    1) Look@Lan, for free, check out HERE
    2) NMAP for windows, free too, HERE is the download

    For your task I would try NMAP first. Just insert the IP address and do an intensive scan. It'll check the most common port on your NAS for availability. Depending on that output we might be able to find some way.

    Btw., Look@LAN is a really great tool everybody interested in networking and how to get a list of all computers in the network. For each computer you'll have detailed analysis. So you might give program a try too.

    Andreas

  4. #20
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    I'll try that now. I'm beginning to think something was wrong from the beginning because it has always been buggy (stops responding periodically, requiring reboots) and I have never been able to connect other than by setting the main folder as public (i.e. the ACL never worked). I should have returned it at the first sign of trouble. Thanks omega.

    PS - where can I find these modules? Edit - nevermind found them on the wiki
    Last edited by jbl; 29-04-2008 at 11:35 PM.

  5. #21
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    Hi omega,

    I followed your instructions. I was able to ssh in and view a listing of the files, and they appear to be intact. I also managed to download some over ftp by logging in as "sys". I'll paste the nmap output below but it doesn't mean much to me.

    So what do I do next? Would you recommend that I pull all the data off the N5200, then rebuild the RAID and put the data back? Or should I be buying a new NAS device because there is something permanantly wrong with mine? What would you do?

    Both options present financial difficulties. If I keep my N5200, I would probably need to purchase a bunch of hard drives to store the data while rebuilding, and I would have no use for them afterwards. If I purchase a new NAS device, I would need to purchase drives for it to copy over the data, so what would I do with the drives in my N5200 afterwards? Would it be worth talking to Thecus about borrowing an N5200 to use as temporary storage, or maybe even about replacing the current one? The one-year warantee expired in September 2007.

    Here is the NMAP output:
    --------------------------------------------------------------------------------

    Starting Nmap 4.60 ( Insecure.Org - Nmap Free Security Scanner, Tools & Hacking resources ) at 2008-04-29 18:59 Eastern Daylight Time
    Initiating ARP Ping Scan at 18:59
    Scanning 192.168.1.100 [1 port]
    Completed ARP Ping Scan at 18:59, 0.22s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 18:59
    Completed Parallel DNS resolution of 1 host. at 18:59, 0.08s elapsed
    Initiating SYN Stealth Scan at 18:59
    Scanning 192.168.1.100 [1715 ports]
    Discovered open port 443/tcp on 192.168.1.100
    Discovered open port 21/tcp on 192.168.1.100
    Discovered open port 22/tcp on 192.168.1.100
    Discovered open port 80/tcp on 192.168.1.100
    Discovered open port 111/tcp on 192.168.1.100
    Discovered open port 2000/tcp on 192.168.1.100
    Discovered open port 631/tcp on 192.168.1.100
    Discovered open port 802/tcp on 192.168.1.100
    Discovered open port 2049/tcp on 192.168.1.100
    Completed SYN Stealth Scan at 18:59, 1.01s elapsed (1715 total ports)
    Initiating Service scan at 18:59
    Scanning 9 services on 192.168.1.100
    Completed Service scan at 18:59, 18.42s elapsed (9 services on 1 host)
    Initiating OS detection (try #1) against 192.168.1.100
    Initiating RPCGrind Scan against 192.168.1.100 at 18:59
    Completed RPCGrind Scan against 192.168.1.100 at 18:59, 0.30s elapsed (3 ports)
    SCRIPT ENGINE: Initiating script scanning.
    Initiating SCRIPT ENGINE at 18:59
    Completed SCRIPT ENGINE at 19:00, 5.41s elapsed
    Host 192.168.1.100 appears to be up ... good.
    Interesting ports on 192.168.1.100:
    Not shown: 1706 closed ports
    PORT STATE SERVICE VERSION
    21/tcp open ftp Kiss DP-558 PVR ftpd
    22/tcp open ssh OpenSSH 4.2 (protocol 2.0)
    80/tcp open http Apache httpd
    |_ HTML title: Thecus N5200
    111/tcp open rpcbind 2 (rpc #100000)
    | rpcinfo:

    | 100000 2 111/udp rpcbind

    | 100011 1-2 787/udp rquotad

    | 100005 1-3 799/udp mountd

    | 100003 2-3 2049/udp nfs

    | 100021 1,3,4 32768/udp nlockmgr

    | 100000 2 111/tcp rpcbind

    | 100005 1-3 802/tcp mountd

    | 100003 2-3 2049/tcp nfs

    |_ 100021 1,3,4 32769/tcp nlockmgr
    443/tcp open ssl OpenSSL
    | SSLv2: server still supports SSLv2

    | SSL2_DES_192_EDE3_CBC_WITH_MD5

    | SSL2_RC2_CBC_128_CBC_WITH_MD5

    | SSL2_RC4_128_WITH_MD5

    | SSL2_RC4_64_WITH_MD5

    | SSL2_DES_64_CBC_WITH_MD5

    | SSL2_RC2_CBC_128_CBC_WITH_MD5

    |_ SSL2_RC4_128_EXPORT40_WITH_MD5
    631/tcp open ipp?
    802/tcp open mountd 1-3 (rpc #100005)
    2000/tcp open ftp Kiss DP-558 PVR ftpd
    2049/tcp open nfs 2-3 (rpc #100003)
    1 service unrecognized despite returning data. If you know the service/version, please submit the following fingerprint at Nmap Fingerprint Submitter 2.0 :
    SF-Port631-TCP:V=4.60%I=7%D=4/29%Time=4817A85E%P=i686-pc-windows-windows%r
    SFGetRequest,13A,"HTTP/1\.0\x20404\x20Not\x20Found\r\nDate:\x20Tue,\x202
    SF:9\x20Apr\x202008\x2022:58:37\x20GMT\r\nContent-Language:\x20C\r\nUpgrad
    SF:e:\x20TLS/1\.0,HTTP/1\.1\r\nConnection:\x20close\r\nContent-Type:\x20te
    SF:xt/html\r\nContent-Length:\x20138\r\n\r\n<HTML><HEAD><TITLE>404\x20Not\
    SF:x20Found</TITLE></HEAD><BODY><H1>Not\x20Found</H1>The\x20requested\x20r
    SF:esource\x20was\x20not\x20found\x20on\x20this\x20server\.</BODY></HTML>\
    SF:n")%r(HTTPOptions,86,"HTTP/1\.0\x20200\x20OK\r\nDate:\x20Tue,\x2029\x20
    SF:Apr\x202008\x2022:58:37\x20GMT\r\nContent-Language:\x20C\r\nAllow:\x20G
    SF:ET,\x20HEAD,\x20OPTIONS,\x20POST,\x20PUT\r\nContent-Length:\x200\r\n\r\
    SF:n")%r(RTSPRequest,102,"HTTP/1\.0\x20400\x20Bad\x20Request\r\nDate:\x20T
    SF:ue,\x2029\x20Apr\x202008\x2022:58:37\x20GMT\r\nUpgrade:\x20TLS/1\.0,HTT
    SF/1\.1\r\nConnection:\x20close\r\nContent-Type:\x20text/html\r\nContent
    SF:-Length:\x20101\r\n\r\n<HTML><HEAD><TITLE>400\x20Bad\x20Request</TITLE>
    SF:</HEAD><BODY><H1>Bad\x20Request</H1>Bad\x20Request</BODY></HTML>\n")%r(
    SF:Help,102,"HTTP/1\.0\x20400\x20Bad\x20Request\r\nDate:\x20Tue,\x2029\x20
    SF:Apr\x202008\x2022:58:40\x20GMT\r\nUpgrade:\x20TLS/1\.0,HTTP/1\.1\r\nCon
    SF:nection:\x20close\r\nContent-Type:\x20text/html\r\nContent-Length:\x201
    SF:01\r\n\r\n<HTML><HEAD><TITLE>400\x20Bad\x20Request</TITLE></HEAD><BODY>
    SF:<H1>Bad\x20Request</H1>Bad\x20Request</BODY></HTML>\n")%r(SSLSessionReq
    SF:,102,"HTTP/1\.0\x20400\x20Bad\x20Request\r\nDate:\x20Tue,\x2029\x20Apr\
    SF:x202008\x2022:58:40\x20GMT\r\nUpgrade:\x20TLS/1\.0,HTTP/1\.1\r\nConnect
    SF:ion:\x20close\r\nContent-Type:\x20text/html\r\nContent-Length:\x20101\r
    SF:\n\r\n<HTML><HEAD><TITLE>400\x20Bad\x20Request</TITLE></HEAD><BODY><H1>
    SF:Bad\x20Request</H1>Bad\x20Request</BODY></HTML>\n")%r(FourOhFourRequest
    SF:,13A,"HTTP/1\.0\x20404\x20Not\x20Found\r\nDate:\x20Tue,\x2029\x20Apr\x2
    SF:02008\x2022:58:42\x20GMT\r\nContent-Language:\x20C\r\nUpgrade:\x20TLS/1
    SF:\.0,HTTP/1\.1\r\nConnection:\x20close\r\nContent-Type:\x20text/html\r\n
    SF:Content-Length:\x20138\r\n\r\n<HTML><HEAD><TITLE>404\x20Not\x20Found</T
    SF:ITLE></HEAD><BODY><H1>Not\x20Found</H1>The\x20requested\x20resource\x20
    SF:was\x20not\x20found\x20on\x20this\x20server\.</BODY></HTML>\n");
    MAC Address: 00:14:FD:10:4A:6A (Thecus Technology)
    Device type: general purpose
    Running: Linux 2.6.X
    OS details: Linux 2.6.17 - 2.6.23
    Uptime: 0.002 days (since Tue Apr 29 18:56:55 2008)
    Network Distance: 1 hop
    TCP Sequence Prediction: Difficulty=199 (Good luck!)
    IP ID Sequence Generation: All zeros
    Service Info: Device: media device

    Read data files from: C:\Program Files\Nmap
    OS and Service detection performed. Please report any incorrect results at Nmap OS/Service Fingerprint and Correction Submission Page .
    Nmap done: 1 IP address (1 host up) scanned in 31.609 seconds
    Raw packets sent: 1738 (78.084KB) | Rcvd: 1730 (79.910KB)
    -----------------------------------------------------------------------------------------------------------

    Thanks,
    jbl

  6. #22
    Registered+
    Join Date
    Apr 2008
    Posts
    57
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: Mapping N5200 as network drive - not in my network places

    well, first of all, I am still very new in the thecus and don't know a lot about M$ systems and how they do networking. I know for sure, when I was in a class for Win-NT administrator ( I succeeded, what means a lot, since I don't know NT and for sure am way more familiar with any Unix, but consider myself as very low level user there), that networking and especially the appearance of shares on a different PC was really undependable.
    I further remember, that SAMBA, the Unix-”Emulator” for windows networks is well known to be a high performance, stable and usable software, that is very often used on Unix based servers within a windows network topology. That is, what busybox/Linux on the thecus uses.

    So, why should this be a problem?

    With other words: I bought my thecus because I wanted a Unix system in my network and because I wanted NFS-Server to be realized. And I could not get it done with the installed SW out of the box and that might be ok, because about nobody else needs, what I wanted. Anyway, with the help of some modules (thanks omega!), I got it done easily.
    Users of windows and SAMBA are plenty around the world and I guess, if thecus would serve their needs as bad as it sounds in this post, they wouldn't sell a lot of NAS at all.

    So again: is their any possibility for an error somewhere else?
    Do you have installed the SW on the client and activated, that is necessary? I remember, that Microsoft by default uses a thing called netbios, but we like TCP/IP networking.
    Can you manually add (map) the share to your environment? Sometimes, automatic detection needs a while, a long while.
    Is your System connecting to other shares in your network without problem?
    Do you have other shares on other servers you could play with?
    Is it working with every firewall deactivated?
    Is it working in such a situation and connected directly with cross-over network-cable?
    Are the IP-addresses stable or is there a chance, that DHCP-Server changes them all the time?
    Do you use a DNS within your network or do you have entries in a file, like /etc/hosts (I don't remember the windows names, hosts and hosts.sam or something)? Is there a PROXY involved?

    On the server site, I would check whether the used SW is installed and running. This means something like smbd and nmbd is visible with ps on the thecus. They also will have to use a config file somewhere and this could be read.

  7. #23
    Registered+
    Join Date
    Apr 2008
    Posts
    57
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: Mapping N5200 as network drive - not in my network places

    I remembered having a windows Laptop with XP here and did handle to get a share on it exported. I show the short output of nmap of it, it is IP 192.168.0.195 against my thecus, that has 192.168.0.100 and has no M$ network service startet, but runs for me as NFS and FTP-server.

    pit@syo ~:-> nmap 192.168.0.195

    Starting Nmap 4.60 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2008-05-01 15:38 CEST
    Interesting ports on 192.168.0.195:
    Not shown: 1712 closed ports
    PORT STATE SERVICE
    135/tcp open msrpc
    139/tcp open netbios-ssn
    445/tcp open microsoft-ds

    Nmap done: 1 IP address (1 host up) scanned in 1.513 seconds
    pit@syo ~:-> nmap 192.168.0.100

    Starting Nmap 4.60 ( Nmap - Free Security Scanner For Network Exploration & Security Audits. ) at 2008-05-01 15:38 CEST
    Interesting ports on 192.168.0.100:
    Not shown: 1706 closed ports
    PORT STATE SERVICE
    21/tcp open ftp
    22/tcp open ssh
    80/tcp open http
    111/tcp open rpcbind
    443/tcp open https
    631/tcp open ipp
    862/tcp open unknown
    2000/tcp open callbook
    2049/tcp open nfs

    Nmap done: 1 IP address (1 host up) scanned in 0.133 seconds


    To me, it looks like your thecus does not start these M$ services.

  8. #24
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    Hi pit234a, see my responses inline.

    Quote Originally Posted by pit234a View Post
    So again: is their any possibility for an error somewhere else?
    Do you have installed the SW on the client and activated, that is necessary? I remember, that Microsoft by default uses a thing called netbios, but we like TCP/IP networking.
    I ran the Thecus setup software and the drivers for the wireless and wired ethernet cards are installed (althought the wired connection is disabled). Both have Netbios over TCI/IP enabled under the advanced TCP/IP properties. The wireless connection I use to connect to the router has the following "components" installed and checked:
    -Client for Microsoft Networks
    -File and Printer Sharing for Microsoft Networks
    -QoS Packet Scheduler
    -NWLink NetBIOS
    -NWLink IPX/SPX/Netbios Compatible Transport Protocol"
    -Internet Protocol (TCP/IP)
    The NWLink protocols were installed today, because clicking the Workgroup icon was giving a "not accessible" error and this was the solution on another forum. It's the Microsoft implementation of some "Netware protocol", but I've tried taking it on and off and although it seems to affect the WInXP GUI in minor ways I haven't noticed any other differences besides fixing the previous error.
    Can you manually add (map) the share to your environment? Sometimes, automatic detection needs a while, a long while.
    The command net use Z: \\192.168.1.100\main \user:sys sys gives the error System error 53 has occured. The network path was not found.

    Is your System connecting to other shares in your network without problem? Do you have other shares on other servers you could play with?
    Yes, sort of. In Windows Explorer, My Network Places only shows a couple of icons for shared folders, but no icons for Entire Network, Microsoft Windows Network, Workgroup (the actual workgroup name) or my computer.

    However, if I type \\Mycomputername or \\Housematescomputername in the Windows Explorer bar I can see the shared folders on my computer and her computer and can download the files.

    Typing \\N5200 or \\N5200ipaddress gives Windows cannot find '\\XXXXX'. Check the spelling and try again, or try searching for the item...
    Doing a search in WinXP for the N5200 by name or ip comes up empty.

    Before, when did the \\Mycomputername trick, an icon for Workgroup containing another for my computer would appear in My Network Places, but clicking on the Workgroup icon would give an error:
    Workgroup is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions.
    The network path was not found."

    However, following the advice on another forum, I installed the "NWLink IPX/SPX/NetBIOS Compatible Transport Protocol" mentionned above for my wireless connection and now I no longer get the "not accessible" error for the workgroup icon in My Network Places, although I still need to do the \\Computername trick to see the icon the Workgroup. Also, if I open a new Windows Explorer window then My Network Places is again missing icons for the Entire Network, Microsoft Windows Network and Workgroup until I search for \\Mycomputername.

    Is it working with every firewall deactivated?
    My only firewall is the Windows Firewall, which is disabled but the service is running. I tried disabling the service (the "Windows Firewall/Internect Connection Sharing" service) a few days ago , but then read elsewhere that the service has to be running to browse the network so it's back on.

    Is it working in such a situation and connected directly with cross-over network-cable?
    I'll look into buying a cross-over cable. The network is just my computer, wirelessly connected to a Linksys WRT54GL router, which has a wired connection to the N5200. Sometimes my housemates computers are connected to the router as well.

    Are the IP-addresses stable or is there a chance, that DHCP-Server changes them all the time?
    The IP addresses on the routers list of DHCP clients (and the address on the front of the N5200) do not change.

    Edit - I just reset the router to factory defaults and I cannot get the N5200 to reappear in the list of DHCP clients, even with multiple reboots. Interestingly, typing "ping N5200" at a command prompt pings the correct IP and gets 100% replies, but "nslookup N5200" times out without finding the correct IP.

    Do you use a DNS within your network or do you have entries in a file, like /etc/hosts (I don't remember the windows names, hosts and hosts.sam or something)? Is there a PROXY involved?
    I think the router acts a DNS server (using dd-wrt firmware on a linksys WRT54GL router), since nslookup commands give replies from "Server=RouterName, Address=RouterIP" but there are no DNS servers listed under Wireless Network Connection > Properties > Internet Connection (TCP/IP) > Properties > Advanced > DNS tab. There is no proxy involved, just a router.

    On the server site, I would check whether the used SW is installed and running. This means something like smbd and nmbd is visible with ps on the thecus. They also will have to use a config file somewhere and this could be read.
    This went over my head, can you clarify? I can connect to the Thecus web interface fine, and can view the files over FTP or ssh, and I can ping the N5200 by name or by IP.

    To me, it looks like your thecus does not start these M$ services.
    I am unable to scan my own computer using NMAP, but I did a "regular scan" of my N5200 (using "nmap -v N5200") and it looks like yours:

    Starting Nmap 4.60 ( Insecure.Org - Nmap Free Security Scanner, Tools & Hacking resources ) at 2008-05-01 17:56 Eastern Daylight Time
    Initiating ARP Ping Scan at 17:56
    Scanning 192.168.1.100 [1 port]
    Completed ARP Ping Scan at 17:56, 0.08s elapsed (1 total hosts)
    Initiating Parallel DNS resolution of 1 host. at 17:56
    Completed Parallel DNS resolution of 1 host. at 17:56, 3.98s elapsed
    Initiating SYN Stealth Scan at 17:56
    Scanning 192.168.1.100 [1715 ports]
    Discovered open port 80/tcp on 192.168.1.100
    Discovered open port 443/tcp on 192.168.1.100
    Discovered open port 21/tcp on 192.168.1.100
    Discovered open port 22/tcp on 192.168.1.100
    Discovered open port 111/tcp on 192.168.1.100
    Discovered open port 2049/tcp on 192.168.1.100
    Discovered open port 797/tcp on 192.168.1.100
    Discovered open port 2000/tcp on 192.168.1.100
    Discovered open port 631/tcp on 192.168.1.100
    Completed SYN Stealth Scan at 17:56, 1.88s elapsed (1715 total ports)
    Host 192.168.1.100 appears to be up ... good.
    Interesting ports on 192.168.1.100:
    Not shown: 1706 closed ports
    PORT STATE SERVICE
    21/tcp open ftp
    22/tcp open ssh
    80/tcp open http
    111/tcp open rpcbind
    443/tcp open https
    631/tcp open ipp
    797/tcp open unknown
    2000/tcp open callbook
    2049/tcp open nfs
    MAC Address: 00:14:FD:10:4A:6A (Thecus Technology)

    Read data files from: C:\Program Files\Nmap
    Nmap done: 1 IP address (1 host up) scanned in 6.203 seconds
    Raw packets sent: 1717 (75.546KB) | Rcvd: 1716 (78.932KB)

    Are you saying the NMAP scan of my N5200 should also have services called msrpc, netbios-ssn and microsoft-ds? Maybe someone else running Windows could confirm this (omega?)?
    Last edited by jbl; 02-05-2008 at 12:17 AM.

  9. #25
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: Mapping N5200 as network drive - not in my network places

    Quote Originally Posted by jbl View Post
    Are you saying the NMAP scan of my N5200 should also have services called msrpc, netbios-ssn and microsoft-ds? Maybe someone else running Windows could confirm this (omega?)?
    Definitely YES. If these services are not available then the N5200 doesn't provides CIFS (Windows shares). More technical: the SAMBA server on your N5200 doesn't seem to be running. Now we need o find out why.

    Try this when logged into your N5200 via SSH:
    Code:
    root@127.0.0.1:~# ps w | grep smb
     4064 root       2744 S   /opt/samba/sbin/smbd -d 1 -l /var/log
     4125 root       2668 S   /opt/samba/sbin/smbd -d 1 -l /var/log
    29248 root        244 R   grep smb
    root@127.0.0.1:~# ps w | grep nmb
     4066 root       1928 S   /opt/samba/sbin/nmbd -l /var/log
    29348 root        244 R   grep nmb
    root@127.0.0.1:~#
    You should get the same results, but most likely you will not.

    Next check the log files in /var/lib/samba/... if you can find something special there.

    One more check is the Samba config file: /etc/smaba/smb.conf. Check if its contents looks reasonable (e.g. is not empty).

    You can try to start Samba manually: just isue the command "/opt/samba/sbin/smbd -d 1 -l /var/log" on the command line. Just for testing try to run the samba daemon in the foreground and increase the debug level using this: "/opt/samba/sbin/smbd -d 99 -l /var/log -F". Hopefully you'll see some error messages on your console. You can stop it by pressing CTRL-C.

    Andreas

  10. #26
    Registered+
    Join Date
    Apr 2008
    Posts
    57
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: Mapping N5200 as network drive - not in my network places

    I fully agree to what omega said.
    It might be your first problem, getting the NAS up with the correct services, otherwise you cannot use them, anyway, sensless to say that.
    But to me, it also looks strange what your M$ behaves on network-side, but as said, I remember those undependable actions and would never take in mind using Miscrosofts Networking.
    So far, as I don't know more to this subject, I 'll just follow your path from here but stay still from now. You should keep in mind, that you probably better try the path to your Thecus with the full spelled IP adress instead a name, when you can not clearly declare where and how the name gets an IP adress assigned to. Just to prevent a further error somewhere.
    Oh, on that M$-PC I used for the test, there are about the same Services installed as on yours. Maybe in the German version that I use, they are called a bit different, but to me they look rather close.

  11. #27
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    Here is the output from typing the exact commands that omega listed:
    Code:
    login as: sys
    sys@192.168.1.100's password:
    root@127.0.0.1:~# cd ..
    root@127.0.0.1:/# ps w | grep smb
    23305 root        236 S   grep smb
    root@127.0.0.1:/# ps w | grep nmb
     3216 root       2112 S   /opt/samba/sbin/nmbd -l /var/log
    23423 root        240 S   grep nmb
    root@127.0.0.1:/#
    There was no folder called var/lib/samba (only var/lib/hwclock, var/lib/misc, and var/lib/nfs), but I did find one called var/log/samba containing a single file samba.smbd. The file looked like this:
    Code:
    root@127.0.0.1:/# cd var/log/samba
    root@127.0.0.1:/var/log/samba# ls
    samba.smbd
    root@127.0.0.1:/var/log/samba# vi samba.smbd
    [2008/05/02 06:51:14, 0] profile/profile.c:init_clock_gettime(175)
      WARNING: __profile_clock != CLOCK_REALTIME: forced to use a slow profiling clock
    [2008/05/02 06:51:14, 0] smbd/server.c:main(986)
      standard input is not a socket, assuming -D option
    [2008/05/02 06:51:14, 0] lib/messages.c:message_init(132)
      ERROR: Failed to initialise messages database
    ~
    ~
    ~
    The file etc/samba/smb.conf was nonempty. The first few lines look like:
    Code:
    root@127.0.0.1:/etc/samba# vi smb.conf
    [global]
    server string = %h
    deadtime = 15
    hide unreadable = yes
    load printers = no
    log file = /opt/samba/var/log/samba.%m
    max log size = 50
    lock directory = /raid/data/tmp/var
    Running the two other commands you gave me did not appear to do anything:
    Code:
    root@127.0.0.1:/# ls
    app/        db/         lib/        opt/        root/       usr/
    bin/        dev/        linuxrc@    proc/       sbin/       var@
    boot/       etc@        logfs/      raid/       sys/        var1/
    cloopfs/    home/       lost+found/ raid0/      tmp@
    clooprom/   img/        mnt/        ramfs@      tmpfs/
    root@127.0.0.1:/# /opt/samba/sbin/smbd -d 1 -l /var/log
    root@127.0.0.1:/# /opt/samba/sbin/smbd -d 99 -l /var/log -F
    root@127.0.0.1:/#
    I waited a while for error messages to show up but that was it. Afterwards I copied the entire var folder, in case some of the logs there give any clues, because I wasn't really sure what to look for. Here is the zip file of that folder:
    RapidShare: 1-Click Webhosting

  12. #28
    Registered+
    Join Date
    Apr 2008
    Posts
    57
    Thanks
    0
    Thanked
    1 time in 1 post

    Re: Mapping N5200 as network drive - not in my network places

    BusyBox - The Swiss Army Knife of Embedded Linux

    there is where I almost find what commands busybox can have and how they could work. This documentation is valid for a full busybox version, maximum edition if you would like to call it so. busybox ist the Unix used on the Linux Kernel in the thecus and probably you can understand things better in reading what a command is good for.
    But, that is not all, what runs on a thecus.
    There are additional packages, that do not belong to busybox, as apache and samba. You almost ever can find busybox commands as a link against the busybox binary (have an ls -l /bin to see, what I mean as an example), while others are selfstanding bin's with own lib's and maybe, an own configuration and set of commands.
    Concerning samba, I never saw any need to use it and thus, cannot say how it is thought to work. But pretty sure it has to start smbd and nmbd as demons, using a given configuration. What omega advised you to try, was just to start the smbd and this could have automatically startet the nmbd, I don't know. I also don't know about the effect of the given options. The most simplest way to start any binary is just:
    /opt/samba/sbin/smbd
    and it starts. Some need a call like:
    /opt/samba/sbin/smbd start
    and while this commands should start a service, almost never is anybody interested to see it working. It should run in the background. To produce it in the background, "&" is added after the call from the shell.
    /opt/samba/sbin/smbd &
    If you do without & and do not get any messages, this could mean, that it wasn't started at all. It could also mean, there was no feedback to show and it is running as it should. I cannot say, what is true for samba.
    But, the ps - commands that omaga gave you should show more information.
    After starting smbd manually, when you got no errors, you could use it, to find whether it is started now (see, what omega told you to do and read busybox documentation to understand it an maybe be, find the selflinux page in your language to get further information. SourceForge.net: Files ).
    bye.

  13. Received thanks from:

    jbl (10-05-2008)

  14. #29
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    I don't think the smbd daemon is running, althought nmbd appears to be. It does not appear anywhere in the process list, even after trying to start it manually a number of times with different options.
    Code:
    root@127.0.0.1:/# /opt/samba/sbin/smbd -d 1 -l /var/log
    root@127.0.0.1:/# ps
      PID  Uid     VmSize Stat Command
        1 root        320 S   init
        2 root            SWN [ksoftirqd/0]
        3 root            SW< [events/0]
        4 root            SW< [khelper]
        5 root            SW< [kthread]
        7 root            SW< [kblockd/0]
       10 root            SW< [khubd]
       61 root            SW  [pdflush]
       62 root            SW  [pdflush]
       64 root            SW< [aio/0]
       63 root            SW  [kswapd0]
      649 root            SW< [kseriod]
      682 root            SW< [eventsched/0]
      984 root            SW< [btn_sched/0]
     1019 root        960 S   /bin/sh /img/bin/mon_pwbtn.sh
     1020 root       1040 S   /img/bin/agent2
     1021 root        228 S   cat /proc/thecus_event
     1034 root       1040 S   /img/bin/agent2
     1035 root       1040 S   /img/bin/agent2
     1036 root       1040 S   /img/bin/agent2
     1037 root       1040 S   /img/bin/agent2
     1038 root       1040 S   /img/bin/agent2
     1060 root            SW  [scsi_eh_0]
     1061 root            SW  [scsi_eh_1]
     1062 root            SW  [scsi_eh_2]
     1063 root            SW  [scsi_eh_3]
     1064 root            SW  [scsi_eh_4]
     1065 root            SW  [scsi_eh_5]
     1066 root            SW  [scsi_eh_6]
     1067 root            SW  [scsi_eh_7]
     1994 root            SW  [md1_raid5]
     2022 root            SW  [md0_raid1]
     2082 root            SW  [kjournald]
     2089 root            SW  [kjournald]
     2235 root       1216 S   /bin/sh /app/bin/raid_m2
     2269 root        336 S   /img/bin/udpr
     2465 root       7852 S   /opt/apache/bin/httpd -k start -DSSL
     2507 1           432 S   /sbin/portmap
     2555 root       1652 S   /opt/cups/sbin/cupsd
     2725 root        332 S   /usr/sbin/crond -L /dev/null
     2735 root        592 S   /opt/nfs-utils/sbin/rpc.rquotad
     2737 root            SW  [nfsd]
     2738 root            SW  [nfsd]
     2739 root            SW  [nfsd]
     2740 root            SW  [nfsd]
     2741 root            SW  [nfsd]
     2742 root            SW  [nfsd]
     2743 root            SW  [nfsd]
     2744 root            SW  [nfsd]
     2745 root            SW  [lockd]
     2746 root            SW< [rpciod/0]
     2748 root        680 S   /opt/nfs-utils/sbin/rpc.mountd
     2751 root       8204 S   /opt/apache/bin/httpd -k start -DSSL
     2752 root       8204 S   /opt/apache/bin/httpd -k start -DSSL
     2753 root       8004 S   /opt/apache/bin/httpd -k start -DSSL
     2754 root       7892 S   /opt/apache/bin/httpd -k start -DSSL
     2755 root       7892 S   /opt/apache/bin/httpd -k start -DSSL
     2766 root       1020 S   /opt/nfs-utils/sbin/rpc.idmapd
     3013 root       1008 S   /bin/sh /img/bin/check_raid_full.sh
     3015 root       1048 S   /bin/sh /img/bin/check_fan_lan.sh
     3025 root        972 S   /bin/sh /img/bin/mon_reset.sh
     3039 root        304 S   /sbin/getty 38400 tty1
     3040 root        304 S   /sbin/getty 38400 tty2
     3046 root        304 S   /sbin/getty 38400 tty3
     3052 root        300 S   /sbin/getty 38400 tty4
     3058 root        304 S   /sbin/getty 38400 tty5
     3116 root       2116 S   /opt/samba/sbin/nmbd -l /var/log
     3168 root        764 S   ./pure-authd -p /var/run/pure-authd.pid -s /var/run/f
     3170 root        920 S   pure-ftpd (SERVER)
     3276 root       1704 S   /opt/bin/openvpn --dev tun --persist-tun --persist-ke
     3278 root        764 S   ./pure-authd -p /var/run/nsync-au.pid -s /var/run/nsy
     3280 root        928 S   pure-ftpd (SERVER)
     3323 root       1432 S   /raid/data/module/SSHD/system/bin/sshd -f /raid/data/
     3705 root        232 S   cat /proc/thecus_eventc
     4824 root       1688 R   sshd: sys@pts/0
     4855 root       1272 S   -sh
     8509 root        512 S   sleep 5m
     9301 root        512 S   sleep 5
     9328 root        512 S   sleep 10s
     9329 root        356 R   ps
    I tried downloading the log files over FTP and the N5200 became degraded, so I'm going to try rebuilding it now. However, I didn't see anything wrong in the log.smbd file when I looked at it in vi.

  15. #30
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    Now it is refusing to rebuilt the RAID. I added the dropped disk as a spare and clicked "Add Spare" and then "OK" at both prompts but it isn't doing any rebuilding, and still says "Degraded". Physically removing and reinserting the disk doesn't help either.

    Edit - got it to rebuild on the 5th try

  16. #31
    jbl
    jbl is offline
    Registered+
    Join Date
    Nov 2007
    Posts
    39
    Thanks
    2
    Thanked
    0 times in 0 posts

    Re: Mapping N5200 as network drive - not in my network places

    I'm posting the contents of /var/log/samba/samba.smbd as it seems to show the problem, although I haven't been able to figure out how to fix the problem (searching on Google):
    Code:
    root@127.0.0.1:/var/log/samba# vi samba.smbd
    [2008/05/05 06:55:47, 0] profile/profile.c:init_clock_gettime(175)
      WARNING: __profile_clock != CLOCK_REALTIME: forced to use a slow profiling clock
    [2008/05/05 06:55:47, 0] smbd/server.c:main(986)
      standard input is not a socket, assuming -D option
    [2008/05/05 06:55:47, 0] lib/messages.c:message_init(132)
      ERROR: Failed to initialise messages database
    [2008/05/07 21:27:06, 6] param/loadparm.c:lp_file_list_changed(3077)
      lp_file_list_changed()
      file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon May  5 06:55:46 2008
    
    [2008/05/07 21:27:06, 2] lib/interface.c:add_interface(81)
      added interface ip=192.168.1.100 bcast=192.168.1.255 nmask=255.255.255.0
    [2008/05/07 21:27:06, 2] lib/interface.c:add_interface(81)
      added interface ip=192.168.2.254 bcast=192.168.2.255 nmask=255.255.255.0
    [2008/05/07 21:27:06, 3] lib/util.c:interpret_addr(1309)
      sys_gethostbyname: Unknown host. wlan*
    [2008/05/07 21:27:06, 2] lib/interface.c:interpret_interface(130)
      can't determine netmask for wlan*
    [2008/05/07 21:27:06, 2] lib/interface.c:add_interface(81)
      added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
    [2008/05/07 21:27:06, 3] lib/util.c:interpret_addr(1309)
      sys_gethostbyname: Unknown host. bond*
    [2008/05/07 21:27:06, 2] lib/interface.c:interpret_interface(130)
      can't determine netmask for bond*
    [2008/05/07 21:27:06, 5] lib/util.c:init_names(287)
      Netbios name list:-
      my_netbios_names[0]="N5200"
    [2008/05/07 21:27:06, 0] profile/profile.c:init_clock_gettime(175)
      WARNING: __profile_clock != CLOCK_REALTIME: forced to use a slow profiling clock
    [2008/05/07 21:27:06, 3] profile/profile.c:profile_setup(253)
      Initialised profile area
    [2008/05/07 21:27:06, 3] smbd/server.c:main(982)
      loaded services
    [2008/05/07 21:27:06, 0] smbd/server.c:main(986)
      standard input is not a socket, assuming -D option
    [2008/05/07 21:27:06, 3] smbd/server.c:main(997)
      Becoming a daemon.
    [2008/05/07 21:27:06, 8] lib/util.c:fcntl_lock(1991)
      fcntl_lock fd=6 op=13 offset=0 count=1 type=1
    [2008/05/07 21:27:06, 8] lib/util.c:fcntl_lock(2010)
      fcntl_lock: Lock call successful
    [2008/05/07 21:27:06, 2] lib/util_tdb.c:tdb_log(662)
      tdb(unnamed): tdb_open_ex: could not open file /raid/data/tmp/var/messages.tdb: Input/output error
    [2008/05/07 21:27:06, 0] lib/messages.c:message_init(132)
      ERROR: Failed to initialise messages database

  17. #32
    Registered+
    Join Date
    Aug 2007
    Posts
    53
    Thanks
    0
    Thanked
    3 times in 3 posts

    Re: Mapping N5200 as network drive - not in my network places

    This
    tdb(unnamed): tdb_open_ex: could not open file /raid/data/tmp/var/messages.tdb: Input/output error
    seems to be the causing error....

    Please check
    a) if directory /raid/data/tmp/var exists
    b) if file /raid/data/tmp/var/messages.tdb and if the is something special about this file
    c) stop SAMBA, delete above mentioned file, start SAMBA again

    Andreas

  18. Received thanks from:

    jbl (10-05-2008)

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problems with Seagate Drive
    By racs in forum SCAN.care@HEXUS
    Replies: 3
    Last Post: 11-03-2007, 07:12 PM
  2. KN8-SLI hard drive weirdness
    By Philippe in forum abit.care@HEXUS
    Replies: 1
    Last Post: 01-03-2007, 04:55 PM
  3. psu / hard drive faliure?
    By Wills in forum Help! Quick Relief From Tech Headaches
    Replies: 4
    Last Post: 17-01-2007, 11:19 AM
  4. Sharing a DVD ROM drive over a network?
    By Mr Meltdown in forum PC Hardware and Components
    Replies: 11
    Last Post: 04-08-2003, 11:22 AM
  5. My Network Places
    By Nemeliza in forum Networking and Broadband
    Replies: 5
    Last Post: 01-08-2003, 11:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •