Pervasive logo

Prev Getting Started with Pervasive.SQL (Server edition) Next

Using TCP/IP to Connect to a Linux Server


Your Samba must be properly configured on your Linux server to properly network with Windows-based clients. See Chapter 13, Network Settings for Linux for more information.

Tasks

Configuring a Client for the Server's IP Address

When Pervasive.SQL operates in a TCP/IP network, your client must be able to obtain the name of your Linux server from the IP address given to that server by your network administrator. There are two mechanisms that enable this address to name translation:

The following procedures show how to set up the IP address using each method.

Using DNS to Configure the Server IP Address

When you use DNS, you specify settings that allow your computer to look up the name of the server in a database of addresses. Your network administrator can provide the information you need to configure DNS.

   To configure your clients to use DNS to resolve the server IP address:

For Windows 9X/NT clients:

  1. Click Start, point to Settings and select Control Panel.
  2. Double-click Network,
  3. select Protocols, select TCP/IP and click Properties.
  4. Click the DNS tab.
  5. Enable DNS and enter the appropriate server information from your network administrator.

For Windows 2000 clients:

  1. Click Start, point to Settings and select Control Panel.
  2. Double-click Network and Dial-up Connections, select Local Area Connection and click Properties.
  3. From the component list, select TCP/IP and click Properties.
  4. Enable DNS and enter the appropriate server information from your network administrator.
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.

   To Edit the Hosts file on your Windows client

  1. Find your Hosts file as follows on your Windows machine.

    For Windows NT/2000:
    \WINNT\SYSTEM32\DRIVERS\ETC\HOSTS

    For Windows 9X/ME:
    \WINDOWS\SYSTEM\DRIVERS\ETC\HOSTS

  2. Edit the Hosts file with a text editor such as Notepad.
  3. Enter your server's IP address and name in the hosts file as a new line as shown in the following example. Your network administrator can provide you with the IP address of your server.

    # the following is an example of a Hosts file entry

    146.23.45.2 acctserver

Preventing the Windows Dial-Up Network Dialog Box from Displaying When Using a Pervasive Application with TCP/IP

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 Pervasive applications and TCP/IP.

   To Prevent the Dial-Up Networking Dialog Box from Displaying Automatically:

  1. Click Start, point to Settings and select Control Panel.
  2. Double-click the Internet icon in Control Panel.
  3. Click the Connection tab.
  4. Clear the check box titled Connect to the Internet As Needed. In Windows 2000, this button is titled Dial whenever a network connection is not present.


Note
While this stops the dialog box from displaying with Pervasive applications, this also has the side effect that other applications such as Internet browsers will no longer automatically spawn the Dial-Up Networking dialog box when a connection to the Internet is needed. In that case, you need to connect to the Internet manually using Dial-Up Networking.

According to Microsoft, the Connect to the Internet As Needed check box is designed to launch Dial-Up Networking whenever TCP/IP is used by an application, so this behavior is correct.


Prev
NetBIOS and the Pervasive.SQL Server Engine
Contents
Up
Check for Revisions
Next
Using the DOS Requesters