Click to See Complete Forum and Search --> : DHCP, Samba and Linux


bcsmith100
09-10-2002, 03:39 PM
I have been working on getting my Linux box setup so that it can work with windows machines in my home network.

The good news is I got Samba working on Linux so that it can see the windows machines. But the windows machines don't correctly map the linux box. When Samba is running the Windows XP machine does see the Linux workstation, but it can not see the shared folder, and it gets an error saying the machine is not available. The windows 98 machine does not see the Linux machine at all.

I am using a Netgear router as the DHCP server and I think this is where the problem is. The DHCP table on the router has an alias name for the Windows XP and 98 machines, but it has nothing (a blank) for the address that the Linux server is using. Hence when I try to ping the Linux workstation from windows the workstation name is unknown.

I believe that Samba works because it is using the native IP address... but then the inspection fails.

I have re-read all of my install manuals and books on DHCP setup and I can not figure out how to communicate to the router what the hostname is of the Linux computer.

Also, when setting up my Linux workstation I gave it a name of Linuxstation (heh so I am not original). This name appears in some spots (like Samba). However the Red Hat install wizard named the workstation dhcppc3. How do I change the name of the workstation so that it applies to all of the places where it needs to go????

In order to get the Linux side of Samab to work I had to put in IP addresses and aliases in the /etc/hosts file. By default this was empty as I would expect (?) for a DHCP setup. I am a little concerned that I had to enter IP addresses in my linux host table as these could change... However since I am only looking at a few computers this is not a big issue. I am interested in knowing what the correct way to handle this problem was.




Lastly, if anyone is still reading I have a seperate problem with GNOME start up. I get the following message "could not look up Internet address for dhcppc3. This will prevent GNOME from operating correctly. It may be possible to correc the problem by adding dhcppc3 to the /etc/hosts" But this did not work. I figure that this problem is related to my main problem of getting my Linux workstation reconigized.

Any Help would be appreciated.... Thanks.

Brian
Houston TX

bcsmith100
09-11-2002, 02:13 PM
I now understand this problem better, I am going to open a new thread with a better description.