Web design company - 690 Part V . Running Servers The important

690 Part V . Running Servers The important information is the broadcast address (Bcast: 10.0.0.255), which is determined by the netmask (Mask:255.255.255.0). If the broadcast address isn t the same for the Samba server and the clients on the LAN, the clients cannot see that the Samba server has directories or printers to share. Samba Service Running? A basic troubleshooting check is to see if the service is running. Try the smbclient command from your Linux system to see that everything is running and being shared as you expect it to be. The smbclient command is a great tool for getting information about a Samba server and even accessing shared directories from both Linux and Windows computers. While logged in as root or any user who has access to your Samba server, type the following: $ smbclient -L localhost Password: ********** Domain=[ESTREET] OS=[Unix] Server=[Samba 3.0.3-4] Sharename Type Comment ——— —- ——- homes Disk Home Directories IPC$ IPC IPC Service (Samba Server) ADMIN$ Disk IPC Service (Samba Server) hp-ns1 Printer Domain=[ESTREET] OS=[Unix] Server=[Samba 3.0.8-4] Server Comment ——— ——- PINE Samba Server MAPLE Windows XP NS1 Samba Server Workgroup Master ——— ——- ESTREET PINE The Samba server is running on the local computer in this example. Shared directories and printers, as well as servers in the workgroup, appear here. If the Samba server is not running, you see Connection refused messages, and you need to start the Samba service as described earlier in this chapter. Firewall Open? If the Samba server is running, it should begin broadcasting its availability on your LAN. If you try to access the server from a Windows or Linux client on your LAN but get a Connection refused error, the problem may be that the firewall on your Linux Samba server is denying access to the NetBIOS service. If you have a secure LAN, you can type the following (as root user) to flush your firewall filtering rules temporarily: # iptables -F
From our experience, we can recommend PHP Web Hosting services, if you need affordable webhost to host and run your web application.

Leave a Reply