[Samba] samba and dhcp

Marian Mlcoch, Ing mm at tsmp.sk
Tue Jan 21 07:52:00 GMT 2003

Primary samba server is not special blocked for DHCP getting IP, but this IP
must be set before start smb.
This is first posible problem when you start it on init sequence try start
only manual afther your linux is loaded and you login as root run
/etc/rc.d/init.d/smb start. Before this check if your ifconfig reply proper
Secondary problem is if you install vmware its have samba inbuilded and can
be start automatic if you this configure on install. Then your os samba
canot start it colision with vmware-smbd on port and ip. You can only one of
this sambas start simply. Try rerun vmware-config.pl and set off samba on it
if you can run samba from redhat.

PS: In your config not need line interfaces as you write in another mail and
this is bad. Hosts allow is posible but only for restriction when you not
understand not use!


----- Original Message -----
From: "Hidong Kim" <hkim at decode.com>
To: <samba at lists.samba.org>
Sent: Tuesday, January 21, 2003 6:44 AM
Subject: [Samba] samba and dhcp

> Hi,
> Can a machine getting its IP address by DHCP run as a Samba server?
> I've set up several Red Hat machines as Samba servers.  They all have
> static IP addresses.  I want to have a Red Hat 8.0 laptop which gets its
> IP address by DHCP running as a Samba server.  I usually start Samba
> with "/etc/rc.d/init.d/smb start".  When I do this on the laptop, it
> says that smb and nmb start OK.  But when I do "/etc/rc.d/init.d/smb
> status" on the laptop, it says that smbd is stopped and nmbd is running.
>   When I do "smbclient -L localhost" on the laptop, it says that
> connection is refused to  I've tried installing Samba 2.2.7a
> from source, and installing Samba 2.2.5 from RPMS.  I still can't start
> smbd.  Thanks for any suggestions,
> Hidong
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list