[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

I can't see my nt workstation from linux

Posted on 1999-10-28
9
Medium Priority
?
250 Views
Last Modified: 2010-03-18
I can't connect to  my nt workstation from linux. I set the user profiles in NT. I can ping from either computer but can't resolve the hostnames. If I do an rlogin from Linux, I need to use the IP address and the connection is refused. Can you HELP. Thanks.
0
Comment
Question by:jleone
9 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2167515
> If I do an rlogin from Linux,
how would you rlogin to NT?

> .. can't resolve the hostnames.
Did you setup /etc/host and \winnt\system32\drivers\lmhosts properly ?
Or do you use DNS?
0
 

Author Comment

by:jleone
ID: 2169002
Thanks. That helped fixed the Linux side. I don't have Imhosts in my system32 directory (NT).. I mainly will be connecting for Linux. I'm getting a connection refused still when I use:

rlogin -l linux686 Windows_NT

My domain names are set the same.
0
 

Author Comment

by:jleone
ID: 2169299
My problem is probably  NT Workstation. I can't use NT Server because Linux is on the same computer. Can I connect Linux to NT Workstation? Thanks.
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 

Author Comment

by:jleone
ID: 2169463
Sorry about that, found Lmhosts in directory. Configuring now.
0
 

Expert Comment

by:williacr
ID: 2170366
Sounds like the NT Workstation relies on the NT Server being the PDC (Primary Domain Controller) for your NT Domain.  And since you reboot it into Linux the PDC has now gone away and is no longer answering netbios calls and you end up dropping the NT Domain.

Samba can be configured to run as a PDC with little trouble (see the man page on smb.conf for more info).  That way you have the machine for the PDC in either Linux or NT.

Hope this helps.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2176615
> rlogin -l linux686 Windows_NT
so your NT has a service running which listens on port 513, and grants acces to NT ?

Now, was lmhosts the answer for your problem, otherwise please be more specific

BTW, PDC has nothing to do with your hostname resolution.
0
 

Author Comment

by:jleone
ID: 2177347
That was probably part fo the problem and I'll grant the points for it. I needed to set up Samba better. That seems to be working fine from the Linux side.  I'm going to post another question about the problem of Linux not seeing my permissions correctly and not letting me write to the drives.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 2177592
so what solved the problem now? who's to answer?
0
 

Accepted Solution

by:
morelife earned 100 total points
ID: 2188026
Dear JLeone,

Now that you fixed your /etc/hosts, you can ping your NT box -- but that's it.

LMHOSTS is NT's "hosts" file for NETBIOS to IP resolution.
Your Linux host is not advertising its name and IP using NETBIOS, therefore, LMHOSTS has nothing to do with it :)

Here are your options:

Samba, as mentioned, or some way to mount your NTFS (maybe they're FAT?) partitions using smb filesystem on the linux box.

Install a 3rd party NFS client on NT and export the directories you need to the Linux box. (This is easier than it sounds). Also right now M$ is making a Unix toolkit, freely downloadable, but in Beta.... I believe it includes an NFS client. I installed (and promptly UNinstalled) it and didn't really like it.

You could run IIS (it includes an FTP server) on your server, and easily access files you need that reside on the NT box (of course you'd have to drop copies of them in the ftproot). I do this, and it works fine, if you discount the overhead of managing IIS.

I haven't looked, but I bet there is probably a freeware NFS thingie for Win32 out there somewhere.

If you need telnet access you can run NT's telnetd from the resource kit, it seems to work pretty well. Another option: I just found a really cool ssh client for Win32 and use it between Linux and NT. If you need the information, pls ask, I can email it or post it here.

Thank you,

-Harold


0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Stellar Phoenix SQL Database Repair software easily fixes the suspect mode issue of SQL Server database. It is a simple process to bring the database from suspect mode to normal mode. Check out the video and fix the SQL database suspect mode problem.
Suggested Courses
Course of the Month10 days, 7 hours left to enroll

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question