Prev | Current Page 1347 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"


Your Samba server can use the TCP/IP name as the NetBIOS name (used by Window networks for
file and printer sharing), or a separate NetBIOS name can be set in the smb.conf file. It is critical,
however, that the broadcast address be the same as the broadcast address for all clients communicating
with your Samba server. To see your broadcast address, type the following (as root user):
# ifconfig -a
eth0 Link encap:Ethernet HWadd 00:D1:B3:75:A5:1B
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
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.
743
Running a File Server 27
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.


Pages:
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359