Using TCP/IP to Connect a Windows Client to Linux or OS X Servers
Your Samba must be properly configured on your Linux or OS X server to network with Windows-based clients when using mapped drives.
Configuring a Client for the Server IP Address
When PSQL operates in a TCP/IP network, your client must be able to obtain the IP address of your Linux or OS X server from the name given to that server. Two mechanisms enable this translation of address to name:
The following procedures provide an overview for how to set up the IP address using each method. For details about network configuration and set up, see the documentation for the operating system.
Using DNS to Configure the Server IP Address
When you use DNS, you specify settings that allow your computer to look up the address of the server in a database of servers. Your network administrator can provide the information you need to configure DNS.
For clients on Windows platforms:
1
2
Select the Properties for Local Area Connection.
3
Select the Properties of the TCP/IP connection being used (IPv4 or IPv6, for example).
4
Using the Hosts File to Configure the Server IP Address
The hosts file is a way to manually enter a relationship between a name and an IP address. Use this method if DNS is not used in your organization.
1
For example, on certain Windows platforms it is located here:
%WINDIR%\SYSTEM32\DRIVERS\ETC\HOSTS
2
3
# the following is an example of a hosts file entry for IPv4 address
146.23.45.2        acctserver
Preventing the Windows Dial-Up Network Dialog Box from Displaying
The Windows Dial-Up Networking dialog box can display when a TCP/IP request is made to Windows. Usually, this is to make an Internet connection, but this feature can be an annoyance when using PSQL applications and TCP/IP.
1
In Control Panel, double-click Internet Options.
2
Click the Connections tab.
3
Clear the Dial whenever a network connection is not present option (select one of the other options, such as Never Dial a Connection).