PreviousGetting Started with Pervasive.SQL (Workgroup edition) (9.1 revision 1) Next

Using TCP/IP to Connect to a Linux Server

Show this topic in Library frames

Your Samba must be properly configured on your Linux server to properly network with Windows-based clients. See Configuration 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 IP address of your Linux server from the name 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 IP address of the server in a database of servers. 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 98/ME clients:

  1. Click Start 4 Settings 4 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 32-bit platform 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.
  2. For Windows 32-bit platforms:
    \WINNT\SYSTEM32\DRIVERS\ETC\HOSTS

    For Windows 98/ME:
    \WINDOWS\SYSTEM\DRIVERS\ETC\HOSTS

  3. Edit the Hosts file with a text editor such as Notepad.
  4. 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.
  5. # 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 4 Settings 4 Control Panel.
  2. Double-click the Internet Options icon.
  3. Click the Connection tab.
  4. Clear the option titled Dial whenever a network connection is not present.

  5. 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 option is designed to launch Dial-Up Networking whenever TCP/IP is used by an application, so this behavior is correct.

Chapter contents
Publication contents

Prev topic: NetBIOS and the Pervasive.SQL Server Engine
Next topic: Using the DOS Requesters