Win98 PC confused by computer name!!??

Win98 PC confused by computer name!!??

Post by Jack Zh » Sun, 31 Dec 1899 09:00:00



The name of my RedHat 6.0 machine is "jacklinux.jackdomain.com", ip is
192.168.0.1, alias is "jacklinux",

The name of Win98 machine is "winpc.jackdomain.com", ip is 192.168.0.2,
alias is "winpc".

TCP/IP communication between the two PCs have no problem at all. I can
ping each other by using ip address. Since I setup 'Samba' in the linux
PC, I also can access linux pc from win98 pc side.

The very strange thing is:

1. From win98 PC, I do 'ping jacklinux', it should ping the linux pc,
but it ping the win98 pc itself instead.

2. But also from win98 pc side, I can do 'net use z: \\jacklinux\test'
to access some resource of linux pc. This time, win98 pc recognize
'jacklinux' as correct machine.

3. From win98 pc, I can never do 'telnet jacklinux' and 'ftp jacklinux',
only can do 'telnet 192.168.0.1' and 'ftp 192.168.0.1'. This time the
win98 pc is confused by names again.

4. From linux pc side, everything related to the win98 pc name is fine,
such as 'telnet', 'ftp'.

I also check out the '/etc/hosts' file of linux pc and
'\windows\lmhosts',\windows\hosts' of win98 pc, they're absolutely
correct.

Could anyone give me some idea?

Thanks a lot!!! Please also email me a copy.

Jack

 
 
 

Win98 PC confused by computer name!!??

Post by Adrian Hand » Sun, 31 Dec 1899 09:00:00



> The name of my RedHat 6.0 machine is "jacklinux.jackdomain.com", ip is
> 192.168.0.1, alias is "jacklinux",

> The name of Win98 machine is "winpc.jackdomain.com", ip is 192.168.0.2,
> alias is "winpc".

> TCP/IP communication between the two PCs have no problem at all. I can
> ping each other by using ip address. Since I setup 'Samba' in the linux
> PC, I also can access linux pc from win98 pc side.

> The very strange thing is:

> 1. From win98 PC, I do 'ping jacklinux', it should ping the linux pc,
> but it ping the win98 pc itself instead.

> 2. But also from win98 pc side, I can do 'net use z: \\jacklinux\test'
> to access some resource of linux pc. This time, win98 pc recognize
> 'jacklinux' as correct machine.

> 3. From win98 pc, I can never do 'telnet jacklinux' and 'ftp jacklinux',
> only can do 'telnet 192.168.0.1' and 'ftp 192.168.0.1'. This time the
> win98 pc is confused by names again.

> 4. From linux pc side, everything related to the win98 pc name is fine,
> such as 'telnet', 'ftp'.

> I also check out the '/etc/hosts' file of linux pc and
> '\windows\lmhosts',\windows\hosts' of win98 pc, they're absolutely
> correct.

> Could anyone give me some idea?

> Thanks a lot!!! Please also email me a copy.

> Jack

I'd install and configure bind on linux, disable WINS on the win98 box,
set the linux box's IP address as the DNS server on the windows box.

I believe smb is using netbios-ns (port 137), not DNS.  That's why its
possible that smb can resolve jacklinux while telnet/ftp/ping can't.
I don't know why configuringing the hosts file on win98 doesn't solve
the problem - did you try re-booting windows ?  ms-win frequently
doesn't recognize any changes until you reboot.

If you install bind on linux and tell the windows box to use the linux
box as a nameserver you won't have to worry about the hosts file on
windows.

 
 
 

Win98 PC confused by computer name!!??

Post by Robert W. Cur » Sun, 31 Dec 1899 09:00:00




The reason you can "net use" is that Samba is using the netbios name
"jacklinux" to make the connection.

To be able to use tcp/ip tools such as ping you need to make the
appropriate entries in the "hosts" file (NOT LMHOSTS) on your win98 pc

Make certain that your hosts file on the win98 machine is set up
correctly, it sounds like this may not be the case.

good luck, Bob

Quote:>1. From win98 PC, I do 'ping jacklinux', it should ping the linux pc,
>but it ping the win98 pc itself instead.

>2. But also from win98 pc side, I can do 'net use z: \\jacklinux\test'
>to access some resource of linux pc. This time, win98 pc recognize
>'jacklinux' as correct machine.

>3. From win98 pc, I can never do 'telnet jacklinux' and 'ftp jacklinux',
>only can do 'telnet 192.168.0.1' and 'ftp 192.168.0.1'. This time the
>win98 pc is confused by names again.

>4. From linux pc side, everything related to the win98 pc name is fine,
>such as 'telnet', 'ftp'.

>I also check out the '/etc/hosts' file of linux pc and
>'\windows\lmhosts',\windows\hosts' of win98 pc, they're absolutely
>correct.

>Could anyone give me some idea?

>Thanks a lot!!! Please also email me a copy.

>Jack

--

MCP / MCSE                    http://www.thcs.com
PGP RSA key ID:0x7E4A9793
 
 
 

1. How to network 1 Linux computer with 2 Win98 computers

Hi,
    I was wondering if someone could please help me out and explain to me
how I can network my Linux computer (multi-booting win98 and winxp) with two
other computers running win98. I'm running Red Hat 7.2 and I've tried many
different things but I just don't think I understand enough. So if someone
could take the time to give me a step by step run down that would be great.

Shaun

2. RTL8139

3. Networking Multiple Computers - Im Confused...

4. Crypt-IDEA-1.01 AIX 4.3.3

5. Confused variable names in vmmeter/vminfo

6. Proxy Error

7. DNS glibc functions confused by trailing hyphen in host name

8. GDE

9. IDE out*() confusing argument names

10. Confused file name in directory

11. DNS glibc functions confused by trailing slash in host name

12. Connect to other computer with win98

13. setting up networking w/ win98 computers