Solved

Multiple network Locations with Win 98

Posted on 2000-03-29
4
118 Views
Last Modified: 2013-12-28
Hello,

I'm trying to setup a Windows 98 machine on a laptop so that we can connect to different LANs without having to edit the network preferences - IP addresses, domains and such. Is there a way to do this?
0
Comment
Question by:gadzooks2
4 Comments
 
LVL 21

Expert Comment

by:gemarti
ID: 2667404
Create a registry file for each location. Load on command from your autoexec.bat file.

You should be aware that different LAN's are going to have different IP's and Domains.

Look for:
REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\VNETSUP]
"ComputerName"="YourCompNAME"
"Workgroup"="DOMAIN"
"Comment"="A description"
"StaticVxD"="vnetsup.vxd"
"Start"=hex:00
"NetClean"=hex:01
"MaintainServerList"="0"
"LMAnnounce"="0"


You should have two reg files with different DOMAIN Names ect.

This will work with systems using DHCP.


0
 
LVL 1

Expert Comment

by:bertchen
ID: 2667512
depending on what you wanna do :
To share a drive :
simply type the following from 98 DOS prompt (I assume the physical connection is there and you have a proper Gateway define in your Network):
net use z: \\xxx.xxx.xxx.xxx\sharename

xxx.xxx.xxx.xxx is the IP for the machine you wanna connect to.
sharename is the name being shared out on xxx.xxx.xxx.xxx

NetBIOS over TCP/IP is default for Windows98.

To Login to a domain :
edit c:\windows\lmhosts
type in the IP and name for the server and specify the domain. It should be as the following

xxx.xxx.xxx.xxx servername #DOM:domainname

remember, #DOM: is case sensative

Then try ping using the servername, if there is reply, it means there is connection.

Then just type in the domain when you do a login.

Hope this help.
0
 

Expert Comment

by:ddwhite021100
ID: 2669520
Set the network servers to use DHCP - this setup enables the servers to assign IP addresses to PCs connected to the network.

Set the PC's Network setting to "Obtain an IP address automatically" on the IP Address tab of the Network Neighborhood properties.

This requires that all the networks have at least one server capable of running DHCP, which can be a problem if one of the networks is a home peer-to-peer network. Installing a proxy server or firewall there should solve that, though, since most of those kinds of products provide DHCP functionality.
0
 
LVL 3

Accepted Solution

by:
Aico earned 50 total points
ID: 2669797
You might consider using a little program called Netswitcher. It's a program in wbich you can register all kinds of settings for different kind of networks.

Take a look at the next site: www.netswitcher.com 

It costs a few bucks but saves a lot of time.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

679 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