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.

SETUP - LINUX
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
months.
Note:  I do not have a local DNS running. No firewall is running on
the Linux machine at the moment.

SETUP - WIN98
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.

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

CHANGES MADE
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.

PROBLEMS

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
DHCP.CONF.
In other words as soon as the file RESOLV.CONF exists the problem
appears.

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!!!!

QUESTION
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?

HELP!!!
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.

Eric

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

SMB.CONF

# Global parameters
[global]
        workgroup = RBHERFORD
        netbios name = AHORN
        netbios aliases = AKR
        server string = AKR Server - Ahorn
        interfaces = eth0 127.0.0.1
        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 = 192.168.18.0/255.255.255.0,127.0.0.1,localhost
        name resolve order = wins

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

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

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

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

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

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

DHCPD.CONF

server-identifier ahorn.ourdomain.org;
default-lease-time 72000;
max-lease-time 144000;
option time-offset 39600;

subnet 192.168.18.0 netmask 255.255.255.0 {
        range 192.168.18.101 192.168.18.140;
        option subnet-mask 255.255.255.0;
        option routers 192.168.18.10;
#       option domain-name-servers xxx.xxx.xxx.xxx;
        option broadcast-address 192.168.18.255;
        option domain-name "ourdomain.org";
        option ip-forwarding off;
        option netbios-name-servers 192.168.18.10;
        option netbios-dd-server 192.168.18.10;
        option netbios-node-type 8;

Quote:}