zoggy Posted March 30, 2013 Share Posted March 30, 2013 started unraid box, array is not currently started /boot/config# more network.cfg # Generated settings: USE_DHCP="no" IPADDR="192.168.0.11" NETMASK="255.255.255.0" GATEWAY="192.168.0.1" DHCP_KEEPRESOLV="no" DNS_SERVER1="192.168.0.1" DNS_SERVER2="" DNS_SERVER3="" /boot/config# ifconfig eth0 Link encap:Ethernet HWaddr d4:3d:7e:4d:e4:89 inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2097 errors:0 dropped:0 overruns:0 frame:0 TX packets:1695 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:2370264 (2.2 MiB) TX bytes:293170 (286.2 KiB) Interrupt:43 Base address:0xa000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:13 errors:0 dropped:0 overruns:0 frame:0 TX packets:13 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:846 (846.0 B) TX bytes:846 (846.0 B) on win7 box thats connected to the same network, C:\Windows\System32>ipconfig /flushdns Windows IP Configuration Successfully flushed the DNS Resolver Cache. C:\Windows\System32>nbtstat -R Successful purge and preload of the NBT Remote Cache Name Table. C:\Windows\System32>nslookup husky 1.0.168.192.in-addr.arpa primary name server = localhost responsible mail addr = nobody.invalid serial = 1 refresh = 600 (10 mins) retry = 1200 (20 mins) expire = 604800 (7 days) default TTL = 10800 (3 hours) Server: UnKnown Address: 192.168.0.1 *** UnKnown can't find husky: Non-existent domain C:\Windows\System32>ping 192.168.0.11 Pinging 192.168.0.11 with 32 bytes of data: Reply from 192.168.0.11: bytes=32 time<1ms TTL=64 Reply from 192.168.0.11: bytes=32 time<1ms TTL=64 Ping statistics for 192.168.0.11: Packets: Sent = 2, Received = 2, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms Control-C ^C C:\Windows\System32>tracert 192.168.0.11 Tracing route to 192.168.0.11 over a maximum of 30 hops 1 <1 ms <1 ms <1 ms 192.168.0.11 Trace complete. Link to comment
zoggy Posted March 31, 2013 Author Share Posted March 31, 2013 tried switching unraid to use DHCP but still no change. tried switching back to rc11 (reverted network.cfg -- back to static ip) still same problem. Link to comment
Joe L. Posted March 31, 2013 Share Posted March 31, 2013 tried switching unraid to use DHCP but still no change. tried switching back to rc11 (reverted network.cfg -- back to static ip) still same problem. Do you have the unRAID server set to be the "Local Master" under Settings->SMB ? If not, set it to "Local Master" = "Yes" Joe L. Link to comment
zoggy Posted March 31, 2013 Author Share Posted March 31, 2013 tried switching unraid to use DHCP but still no change. tried switching back to rc11 (reverted network.cfg -- back to static ip) still same problem. Do you have the unRAID server set to be the "Local Master" under Settings->SMB ? If not, set it to "Local Master" = "Yes" Joe L. Reverted back to rc11 like I mentioned earlier. Tried both use dhcp and not. Running ipconfig /flushdns and nbtstat -R to just be certain between all config changes. Tried setting 'Local Master' to yes (restarted server) and still no change. Tried using dhcp and not. No matter what it appears I just can not get to the unraid box with the hostname.. just ip address. Guess I will just have to resort doing a hosts entry for any computer I want to access the webui with. Only reason I even notice this problem is that unmenu links always use the hostname (even if you navigate to it using the ip address) http://lime-technology.com/wiki/index.php/Troubleshooting#Name_Resolution If I start the array.. then the SMB shares work just fine using the hostname. Link to comment
zoggy Posted March 31, 2013 Author Share Posted March 31, 2013 talked to someone that knows about linux, he says the problem is that im relying on samba to resolve the host name, if the array is stopped and smbd/nmbd isn't running, it's not going to work. so set it to use dhcp for ip and dns. set local master to no. rebooted box. logged into the box, checked for smbd, nothing: root@husky:/var/log# ps -ef | grep smb root 3873 3022 0 23:06 pts/0 00:00:00 grep smb started array, now i see: root@husky:/var/log# ps -ef | grep smb root 4035 1 0 23:08 ? 00:00:00 /usr/sbin/smbd -D root 4041 4035 0 23:08 ? 00:00:00 /usr/sbin/smbd -D root 4052 3022 0 23:08 pts/0 00:00:00 grep smb sure enough now net view shows the box and I can get to it via the hostname on the network. so it just appears that if the array is not running i cant get to the array via hostname.. only ip. Link to comment
SidebandSamurai Posted March 31, 2013 Share Posted March 31, 2013 Hi Zoggy, Caught your post in the RC-12 release thread, so I came over here to help you out. Yes, your friend was correct. This can be fixed so it will not occur again, Can you tell me what firewall you are using? How many PC's in your network? -- Sideband Samurai Link to comment
zoggy Posted March 31, 2013 Author Share Posted March 31, 2013 I have about 12 pcs in my network. Mostly all windows.. Router I use is a D-Link DI-724GU ( http://www.newegg.com/Product/Product.aspx?Item=N82E16833127202 ). I figure I could always do the hosts file method but ideally I'd not like to do that. Link to comment
SidebandSamurai Posted April 7, 2013 Share Posted April 7, 2013 Hi Zoggy, sorry for the delay. If you log into your router. Go to the DNS section of the router software (NOT DYNDNS) and place the host name and IP address in that section then save the configuration, that should solve your problem. Make sure the DNS service is turned on also. -- Harold Link to comment
zoggy Posted April 7, 2013 Author Share Posted April 7, 2013 no such thing as a 'dns section' in any of the areas I see. its fine, its just as i suspected.. if the array isnt started i have to use the ip address not the hostname because i rely on samba. ill just use the hosts hack for the one computer i care to mess with the unraid box.. Link to comment
Griz Posted April 8, 2013 Share Posted April 8, 2013 One of the Windoze PCs is probably the local master and not playing nicely. Set Unraid to Local Master and reboot all of the other PCs and I bet it works. Link to comment
zoggy Posted April 8, 2013 Author Share Posted April 8, 2013 already tried the local master. doesnt do anything.. since smb doesnt run until the array starts. Link to comment
Joe L. Posted April 9, 2013 Share Posted April 9, 2013 already tried the local master. doesnt do anything.. since smb doesnt run until the array starts. It is not the smbd service you want running, but the "nmbd" service, since it is the one used to resolve names. http://www.samba.org/samba/docs/man/manpages-3/nmbd.8.html Perhaps putting something like this in your config/go script might work. /usr/sbin/nmbd -D Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.