0
Icon134

I absolutely despise Windows networking...

Recommended Posts

Quote

cookies and java and activex controls NOT wide open as most are???

those can be deadly...

paranoid much... ;)

well I generally use firefox... so activex is usually not a problem...

Java I can understand how that could be potentially dangerous...

I also regularly run spyware programs... to clean up my HD from cookies and such that might cause problems...

and I've got Corporate NAV on both computers...
Livin' on the Edge... sleeping with my rigger's wife...

Share this post


Link to post
Share on other sites
Quote

I'm fairly confident that its a windows registry issue... :|



I'd give you very good money it's not, except in the "almost all windows settings are in the registry, so any configuration problem could be categorised as a registry issue" manner.

Note1: This is all from memory, so some or all details may be incorrect.

It's either related to the machine's attempts to find each other, or to the file-sharing-related permissions and/or firewall you have set on the machines. However, if it works intermittently, I'd put money on it being a machine discovery issue.

Note2: if either machine is Windows 95, 98, or ME, stop now. Upgrade them to a sensible operating system, then continue.

Windows uses DNS to resolve other machine names, and if this doesn't work it falls back to NetBIOS. You don't want to be relying on NetBIOS, because it's shit. From our perspective, the main problem is that it's not routable, so it's quite possible that your router (but not a switch) is dropping discovery packets. And I've found it generally problematic unless you put a WINS server on your network. In short, let's not.

Note3: to see if NetBIOS is on, go to the properties of your net conn, click on Advanced, then on the WINS tab. Anything other than "Disable NetBIOS over TCP/IP" means you may be using NetBIOS for name resolution.

So, for now we'll focus on getting DNS set up correctly so your machines can talk reliably. You say your machines are getting DHCP leases from your router. That's cool. Is your router also acting as a DNS server? It should be.


Checking if it's a routing issue:
Try mapping to the IP address of the other machine, rather than its name. eg \\192.168.1.100\share_name. If it works but mapping to \\machine_name\share_name fails, routing is ok, but name resolution is buggered.


Checking if it's a DNS issue:
At a command-prompt:
nslookup machine_name

If you get an IP address for the other machine, things are good. If not, it's probably a DNS config issue.


Checking if the DHCP server is also acting as a DNS server:
At a command-prompt:
nslookup

At the nslookup prompt:
> server dhcp_server_ip_address

Then:
> client_machine_name

  • If you get "No response from server" there's no DNS server running on your router. Go to the config, turn it on, and run "ipconfig /renew" from both client machines. Then repeat the steps above.

  • If you get "Non-existent domain", then the DHCP server isn't adding your machines to the DNS record when it assigns the leases. Consult documentation, or consider using static internal IP addresses + hosts file for name resolution.

  • If you get "Non-authoritative answer" or "Authoritative answer", then we're nearly there! We have a DNS server answering our queries correctly, but our clients aren't asking it for info. You now have two choices:

    1. Manually add the dhcp_server_ip_address to the DNS server settings of each client. In the properties of the net connection, click on "Internet Protocol (TCP/IP)" and make sure the dhcp_server_ip_address is the first on the list.

    2. Properly configure the DHCP server to hand out its own IP address as a DNS server when it hands out leases. Consult the documentation for your router. Once done, run "ipconfig /renew" and check that the DNS settings are now correct.

Share this post


Link to post
Share on other sites
Quote

Java I can understand how that could be potentially dangerous...



Really? I haven't seen a security exploit in Java for a very long time. Javascript on the other hand...

The only thing that Java and Javascript share is the same stem to their name. Fucking Netscape's marketing dept piggybacking on Java's name recognition.

Share this post


Link to post
Share on other sites
Quote

Quote

Java I can understand how that could be potentially dangerous...



Really? I haven't seen a security exploit in Java for a very long time. Javascript on the other hand...

The only thing that Java and Javascript share is the same stem to their name. Fucking Netscape's marketing dept piggybacking on Java's name recognition.

ok... that's what I meant... and btw I don't think I can setup my router as a DNS...
Livin' on the Edge... sleeping with my rigger's wife...

Share this post


Link to post
Share on other sites
I'd be very surprised if your router could hand out DHCP leases without also providing basic DNS services. What model is it?

If you don't want to play with your router, to fix things with static IP addresses, go to the router, tell it not to assign IP addresses below (say) .105 . Give each of your two machines a static IP address below .105. Then, in \WINDOWS\System32\Drivers\etc\hosts on each machine, add a line for the other machine. If MachineA is 192.168.1.100 and MachineB is 192.168.1.101, on MachineA you add a line like:

192.168.1.101    MachineB


and on MachineB you add:

192.168.1.100    MachineA


This won't solve the problem of easily mapping drives on new machines temporarily added to your network, but at least your two main machines will work.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

0