Newbie: Samba with DHCP router

Newbie: Samba with DHCP router

Post by Supernov » Sun, 27 Jan 2002 18:24:59



I have been using my Linux box as a Mac server with Netatalk and sharing the
internet connection with a DHCP router. Now I have to set it to connect with
Windows machine as well. But I don't know how to make all the things work
together because SMB runs over TCP/IP and that means I can't set the
Windows' setting to DHCP.
Can anyone help???
 
 
 

Newbie: Samba with DHCP router

Post by Jonathan Glas » Mon, 28 Jan 2002 11:25:00



Quote:> I have been using my Linux box as a Mac server with Netatalk and sharing
the
> internet connection with a DHCP router. Now I have to set it to connect
with
> Windows machine as well. But I don't know how to make all the things work
> together because SMB runs over TCP/IP and that means I can't set the
> Windows' setting to DHCP.
> Can anyone help???

Why can't you set the Windows IP stack to use DHCP?  If you mean Samba, I've
never had any problems with my machines running DHCP and Samba together.

Just configure Samba and your Windows machine with the same workgroup name,
add a user to the linux machine (smbadduser, or some such command), and use
that account to logon to the network on the Windows Microsoft Networking
login screen.

Voila! Instant SMB networking.

 
 
 

Newbie: Samba with DHCP router

Post by Peter Mitche » Tue, 29 Jan 2002 21:48:26





> > I have been using my Linux box as a Mac server with Netatalk and sharing
>  the
> > internet connection with a DHCP router. Now I have to set it to connect
>  with
> > Windows machine as well. But I don't know how to make all the things work
> > together because SMB runs over TCP/IP and that means I can't set the
> > Windows' setting to DHCP.
> > Can anyone help???

Depending which version of Windows, you might have to add TCP/IP
protocol, then make sure that NetBIOS over TCP/IP is enabled. Also
make sure that NetBIOS over IPX is disabled or, if you can, remove IPX
(and NetBEUI). Windows uses DHCP for 'Get IP address automatically'.
Having the same workgroup name helps for Network Neighbourhood, but is
not essential. Note that you can search for a computer by name even if
you can't see it in Network Neighbourhood.

I use a laptop between school and home networks, both use DHCP, and
the home one uses a Linux DHCP server and router.

Peter

 
 
 

1. Newbie: DSL Router (& DHCP server) and 'client hostname' for Linux

I have 3 computers (1 NT, 1 Linux RH 7.2, and 1 Linux RH 6.2) in my
household, all of them being connected to a router (Linksys BEFSR41)
to share an ADSL connection for Internet access. I can browse the
Internet from any of them.

For a couple of days I've been struggling with setting up a Samba
server on one of the Linux machines and I have ran into this problem
that the server's name cannot be solved from any of my machines
(including the one that runs the server :-(). If I look at the 'DHCP
clients table' in my router I cannot identify by 'client hostname' any
out of 3 clients but the one running Win NT. It seems as if the Linux
clients fail (or skip) to register their host name after they have
obtained the IP from the DHSP server. The log messages in the
/var/log/messages that I think may indicate some bad setting are in
the listing below

"
...
11:24:32 sofia network: Bringing  up interface eth0:  succeeded
11:24:32 sofia xinetd[987]: failed to parse localhost [line=10]
...
11:24:37 sofia checkpc[1003]:  Get_local_host: hostname 'sofia' bad
11:24:37 sofia lpd[1006]:  Get_local_host: hostname 'sofia' bad
11:24:37 sofia lpd:  2002-09-15-11:24:37.021 Get_local_host: hostname
'sofia' bad
11:24:37 sofia lpd:  lpd startup succeeded
...
"

I am a newbie with Linux so I am asking for help. Does anyone have an
idea on how to interpret the messages above, or how to configure the
Linux so that it registers its hostname with the router.
Thank you

Peter

2. XDM and X Software for MAC

3. Newbie: Samba with DHCO router

4. Bug in cpio and unreadable files

5. Samba/dhcp/dns question - Newbie

6. NFS problems...

7. Samba newbie with linux laptop on a win95 dhcp network, HELP!

8. pfinstall dry run error

9. DHCP client <> DHCP (serving) DSL Router

10. Newbie DNS/DHCP/Samba Question

11. Newbie: Samba or DHCP-server issue

12. DHCP client via a router to get to the DHCP-server?

13. RH 5.1 flawless ftp-dhcp install; dhcp config retained; dhcp fails @ boot