can I set up an alias for computer name?

beat mania

Platinum Member
Jan 23, 2000
2,451
0
76
I hope someone can help me with this:
I use @home cable, and as part of their installation, they
go and change your computer name whether you like it or not.
Now I have a lot of batch files, scripts, excel spread sheets, html, etc with reference to this certain computer, and as the name is no longer there, none of them work.
@home people are no help, so I was wondering if somehow I can make an alias or something of that sort for my computer name so that 2 different names reference to the same computer?

I use NT4. Thanks.
 

Santa

Golden Member
Oct 11, 1999
1,168
0
0
If you create an LMHOST file pointing to the Local IP (you will need to make the computer a static IP for the LAN adapter though if it isn't already)
 

goldboyd

Golden Member
Oct 12, 1999
1,932
0
0
actually santa, you dont need to do that, you can just point it at 127.0.0.1. but you should have no problem if you just change your computer back to the original name..
 

Santa

Golden Member
Oct 11, 1999
1,168
0
0
using the internal loop back IP will not work because it will only reference the computer the batch files are on not the server that the cable man changed.

The batch files from my understanding are on a differnt computer than the cable modem computer but need to access the cable modem computer. Problem being they are a differnt name now. The LMHost File should point the name being asked for to the right IP regardless of its current name.

Technically you could create multiple names to point to the same IP by using the LMHOST file
 

beat mania

Platinum Member
Jan 23, 2000
2,451
0
76
Okay, I'll try that. Thanks.

I can't change the name back because then I cannot get an ip from @home.
 

beat mania

Platinum Member
Jan 23, 2000
2,451
0
76
Hmm ... I did the LMHOSTS file, and I can ping my computer using the name, but that's just about all I can do ...
I tried to do something like net view or dir but it doesn't recognize it.

Ah cr@p ... I guess I'd just slowly change them all to the actual static ip ... maybe I shouldn't have use the computer name in the first place I guess.
 

err

Platinum Member
Oct 11, 1999
2,121
0
76
You don't have to use the crappy host name that @home gave you. You can specify your own computer name and still be connected to @home network fine.

For instance: @home gives you this computer name - CSA123489-a
That is only used to recognize your computer during DHCP IP search. Change your TCP/IP properties and set your IP and DNS settings into a static settings. This way you don't have to rely on DHCP to get your IP address.

I am running @home and changed the name of my server to my preference. No problem.

I have also changed the name of my buddy's computer into the one that he likes. No problem as well. Heck, you don't even have to specify your workgroup.

Best of luck...
eRr