WIN98 logon initiates a dialup to the Internet.

WIN98 logon initiates a dialup to the Internet.

Post by Eric Bchm » Tue, 05 Jun 2001 18:41:51

Dear Linux Users,

Does anyone have a suggesstion how to solve it??
Is this a Linux problem, a Samba problem, or a Windows problem?

SYNOPSIS of the situation and problem
WIN98 logon initiates a dialup to the Internet.
WIN98 workstation logon to Samba difficulty when a DNS is entered in
Linux server.

I am using SuSE 7.1 Linux with Samba 2.0.7 as a file server for up to
15 Win98Se workstations. I am also using DHCP to set up the IP
number, gateway, etc for the Win98 workstations. Logon from the Win98
machines is very quick. It has been runnig very stable for many
Note:  I do not have a local DNS running. No firewall is running on
the Linux machine at the moment.

The Win98 workstations are set up to get the TCP/IP info from dhcp. No
IP address is entered, no gateway is entered, wins over dhcp is
selected, dns is not activated.

Now I want to use the Linux machine to connect to the Internet and to
route the workstations to the Internet.

If I add a valid entry for a DNS (on the Internet) to the Linux server
and if the DNS is entered in the DHCPD.CONF then all the workstations
can connect to the Internet. BUT THEN THE PROBLEMS START.
Note: I use a dial-up ISDN connection. The ISDN connection to the
Internet works very well, both in manual or auto-dial.


The logon attempts from the Win98 workstations either take a long time
to be processed, or fail repeatedly. The error message says that the
domain is not available or the password is false.
The Win98 workstation logon difficulty varies, from unsuccesful logon
to a logon after 3 - 16 or more attempts. It vaires from machine to
machine adn from day to day. Neither deleting the leases under Linux
nor making the workstation pick up the current dhcp values with
winipcfg changes the situation.

In fact this happens even when I only enter an IP number as the DNS
for the Linux machine. That is, before I enter the external DNS in
In other words as soon as the file RESOLV.CONF exists the problem

I have noticed (in the ISDN.LOG) that when the Win98 machines try to
logon, Linux attempts to dail into the Internet.

If I remove the DNS entry, the problem disappears, but then there is
no Internet connectivity!!!!

How can I set up LINUX-SAMBA-WIN98 so that the Win98 workstations can
both log onto Samba to use the fileserver under Linux and at the same
time have access to the Internet via this same Linux machine?  Where
is the conflict? What did I set up wrong?

Does anyone have a suggstions to solve this problem? I have spent much
time reading man pages, thick Samba handbooks and manuals and cannot
find the answer.

Many thanks for your support.


Below is a copy of the SMB.CONF (except for local shares) and


# Global parameters
        workgroup = RBHERFORD
        netbios name = AHORN
        netbios aliases = AKR
        server string = AKR Server - Ahorn
        interfaces = eth0
        bind interfaces only = Yes
        encrypt passwords = Yes
        min password length = 8
        debug level = 3
        log file = /var/log/samba/log.%m
        max log size = 2048
        time server = Yes
        socket options = TCP_NODELAY SO_KEEPALIVE
        logon script = scripts\usrlogon.bat
        domain logons = Yes
        os level = 75
        preferred master = Yes
        domain master = Yes
        local master = Yes
        dns proxy = No
        wins proxy = No
        wins support = Yes
        admin users = samba,root,eric
        hosts allow =,,localhost
        name resolve order = wins

        comment = Bemutzerverzeichnis %u, Gruppe %g, Server %h
        path = /home/%u
        read only = no
        hosts allow =,,localhost
        hide files = /home/%u/profile/*
        browseable = no

        comment = Logon-Skripte
        path = /usr/local/samba/netlogon
        writeable = Yes
        guest ok = Yes
        hosts allow =, localhost
        browseable = No

        comment = Samba Administrator %U
        path = /usr/local/samba
        valid users = samba,root,eric
        writeable = Yes
        hosts allow =, localhost
        browseable = No

        comment = All Printers
        path = /usr/local/samba/spool
        printable = Yes
        browseable = No
        available = No

        comment = Temporaere Dateien
        path = /tmp
        browseable = No
#       guest ok = Yes

        comment = Fr alle der %g auf Server %h
        path = /home/public
        writeable = Yes
        guest ok = Yes
        browseable = Yes
        hide files = /home/public/postamt/*


default-lease-time 72000;
max-lease-time 144000;
option time-offset 39600;

subnet netmask {
        option subnet-mask;
        option routers;
#       option domain-name-servers;
        option broadcast-address;
        option domain-name "";
        option ip-forwarding off;
        option netbios-name-servers;
        option netbios-dd-server;
        option netbios-node-type 8;