Computer Hope

Internet & Networking => Networking => Topic started by: Ryder17z on March 30, 2010, 03:33:33 PM

Title: Multiple Connections Issue
Post by: Ryder17z on March 30, 2010, 03:33:33 PM
I have done this before, but I don't remember how I did it...


Desktop PC has no internet connection and is wired to both a Netgear router and also a Samsung printer

Laptop is connected to the internet by an on-board 3G modem and got wireless access to the router


The problem occurs when I connect the laptop to the wireless network, the 3G connection stops working and I got no internet connection until I disconnect from the wireless network


My question is: How do set it up so I can share documents and printer between the two computers and still being able to use the internet connection on the laptop?


Useful info:
Router: Netgear WNR1000v2 Wireless N 150
Laptop OS: Win7
3G connection gets configured by auto
Router and Desktop PC has got static IP Addresses
Title: Re: Multiple Connections Issue
Post by: salvosko on March 30, 2010, 03:54:13 PM
If you connect motebook to WiFi then 3G stops, that's normal.
It seems your WiFi from notebook does not work and I asume because static IP's using you have to setup static IP for notebook WiFi from the same netwrok as other static IP's are.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on March 31, 2010, 03:44:18 AM
The Wifi works as far as I can tell. Otherwise, it shouldn't be able to connect to the router
Title: Re: Multiple Connections Issue
Post by: Ryder17z on March 31, 2010, 05:15:22 AM
Edit: After messing around some more with the settings, I can have both connected at the same time

I will later setup file and printer sharing
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 01, 2010, 06:40:09 AM
Due the fact I can't edit my previous posts, I'm posting a new reply even through I don't want to


Anyhow, I have made something work, Both computers can fully access the router and they respond to ping

I have added them to the same thing, "WORKGROUP" and it's set to be the "Work" network type


But the computers can't find each other it seems, and I have no clue why

Useful info (continued):
Desktop PC OS: WinXP SP2
Title: Re: Multiple Connections Issue
Post by: wbrost on April 01, 2010, 11:54:16 AM
just checking but is file and print sharing enabled? Also do they have ip address in the same range?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 01, 2010, 04:22:45 PM
File and Printer sharing is enabled on both computers

The IP's is in the 192.168.1.x range
Title: Re: Multiple Connections Issue
Post by: wbrost on April 02, 2010, 07:13:34 AM
Did you run the home network setup wizard?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 02, 2010, 09:12:51 AM
Yes
Title: Re: Multiple Connections Issue
Post by: wbrost on April 02, 2010, 11:17:54 AM
can the systems ping each other?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 04, 2010, 11:35:44 AM
Anyhow, I have made something work, Both computers can fully access the router and they respond to ping

I guess you missed that, it was in the 4th reply


By "they respond to ping" I mean both computers can ping each other successfully
Title: Re: Multiple Connections Issue
Post by: wbrost on April 05, 2010, 08:14:14 AM
ok sorry did miss that. What protocols are enabled? Is netbeui enabled?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 05, 2010, 10:39:37 AM
I have configured TCP/IP to use static addresses and other stuff like that, not sure what you mean

And, what is netbeui ? - I don't think I have it installed or enabled
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 09, 2010, 07:25:33 AM
Netbeui/NetBIOS is disabled

But I still haven't found any solution for this
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 14, 2010, 02:53:31 AM
*Bump*


Quote
Why is everything so hard to do?
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 18, 2010, 08:07:52 PM
Your 3g stops working because windows will assume your LAN/WLAN are the default connection because they have a default gateway addressed assigned, and are higher in priority.

On the laptop, keep your static IP, Subnet leave your Default gateway and DNS servers blank.
On the desktop, set a static IP, Subnet, set your Gateway to the IP of the laptop and the DNS to a vailid DNS on the internet 8.8.8.8 (google.com dns servers).

Hope that helps.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 20, 2010, 04:19:19 PM
You don't seem to have read the whole topic, or your misunderstanding the problem

Your 3g stops working because windows will assume your LAN/WLAN are the default connection because they have a default gateway addressed assigned, and are higher in priority.

It doesn't stop working, as I currently have BOTH ACTIVATED without any issues you probably where thinking of


On the laptop, keep your static IP, Subnet leave your Default gateway and DNS servers blank.
On the desktop, set a static IP, Subnet, set your Gateway to the IP of the laptop and the DNS to a vailid DNS on the internet 8.8.8.8 (google.com dns servers).

Ehrm, Why would that make the result different? 


It was not what I needed to do when connecting several computers in a bigger network about 2 years ago


And I never stated I need an internet connection on the desktop, actually I don't, all I need is the file/printer sharing to work between the 2 computers

At this moment, I can:

But I can't get one computer to find the other, which is the issue, once that's solved file/printer sharing will be a "piece-a-cake" to setup, compared to the rest that has been or is about to be made
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 21, 2010, 05:51:42 AM
Is the windows 7 new to the equation? You said it was working 2 years ago, or was the a different setup?

You said you can access the access point from both machine. Can you ping each machine from each other (ie. ping laptop to desktop and desktop to laptop)?

If you can ping each other and windows 7 is new. I think this may be a NTLM V2 issue. The way windows 7 by default handles the network log on will not work with XP.

To change the NTLM version in windows 7 follow this:
1. click start
2. type gpedit.msc (if using classic start menu click run then type gpedit.msc)
3. navigate to Computer Configuration -> Windows Settings -> Security Settings -> Local Policies -> Security Options
4. Scroll down the list until you see 'Network security: LAN Manager authentication level'
5. Double click and change the level to 'Send LM & NTLM - use NTLMv2 session security if negotiated'

Let me know if that helps.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 21, 2010, 06:07:35 PM
The other network wasn't mine, I just set it up for someone else, so that's nothing to bother about


Back to the problem:

As said before: Both computers can ping each other

And what the !#&%¤ ? - gpedit.msc doesn't exist in the version of Win7 i got (Premium)
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 21, 2010, 11:44:56 PM
gpedit.msc is the group policy editor. Should be in Win 7 Premium.

Try going to
1. Start -> Control Panel
2. System and Security
3. Administrative Tools
4. Local Security Policy

From with-in the Local Security Policy navigate to

Local Policies -> Security Options

In Secuirty Options in the righ hand panel scroll down to 'Network security: LAN Manager authentication level' change this setting to 'Send LM & NTLM - use NTLMv2 session security if negotiated' then reboot and try again.

Let me know if that helps.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 22, 2010, 05:49:01 AM
1, 2, 3 could be followed

But the policies seems to only be inside "Windows Firewall with Advanced Security"

And I can't find "Network security: LAN Manager authentication level" in there
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 22, 2010, 06:06:24 AM
Yes you are correct, Windows Home Premium does not have the local policy editor, I am sorry didn't think about that. You will need to work around this by editing the registry directly.

1. Click start -> type RegEdit
2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
3. In the right hand panel find 'LmCompatibilityLevel'
4. Double click this entry, the default number should be 3, we need to change this to 1
5. Click OK, close regedit, and reboot the computer.

Once back into windows try again, and let me know.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 22, 2010, 08:20:07 AM
Uh? - That entry doesn't exist in that path ???

I tried searching for "LmCompatibilityLevel" in RegEdit, but it only found 2 groups which was NT-software related - Which obviously isn't the same thing
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 22, 2010, 08:21:41 PM
Create it.

1. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
2. In the right panel right click -> New -> DWord (32bit) Value
3. Copy and paste the name of 'LmCompatibilityLevel' (without ' )
4. assign a value of 1.
5. Reboot
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 23, 2010, 07:29:56 AM
Ok, I created the entry, assigned it "1" and rebooted

But nothing changed, maybe the value should be in decimal instead of hex ?
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 23, 2010, 12:19:56 PM
Do you get an error message when trying to access the other computer? From laptop \\desktop-name or \\desktop-ip  and from the desktop \\laptop-name \\laptop-ip
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 23, 2010, 03:49:28 PM
Uhm, something did actually change, I can enter a shared folder on the laptop from the desktop, but not do anything in it, not even see the contents or anything
But only if I use "http://192.168.1.2/FolderName" - using computer's name gives an error

And as the 2 computers can't see each other, I can't get the permissions to work either

I also tried to access a shared folder on the desktop from the laptop, that gave instant errors no matter what way I used
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 23, 2010, 06:08:14 PM
OK Getting somewhere then.

Lets disable simple file sharing
Windows XP (hadn't asked, is this XP Pro or Home?).
1. Open any folder
2. Click Tools -> Folder Options
3. Click the View Tab
4. Scroll all the way to the bottom and uncheck 'Use Simple File Sharing'

On your share on the desktop, right click and select Sharing & Security ensure Everyone has full control

Windows 7
1. Open any folder
2. Click Tools -> Folder Options (may need to press alt key to show file menu)
3. Click the View Tab
4. Scroll all the way to the bottom and uncheck 'Use Sharing Wizard'

Again, enusre everyone has full control on the shares you need access too.

Also, make sure all firewalls are turned off
XP - start->run->cmd -> enter 'netsh firewall set opmode mode=disable' in the command window (no 's)
7 - start->cmd -> enter 'netsh advfirewall set allprofiles state off' in the command window (no 's needs to be run as admin)

Also, you say the still can't "see each other"
if you ping desktop-name from the laptop does it resolve the correct IP and from the desktop to the laptop?

Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 24, 2010, 06:27:52 AM
Pro

Win7 firewall is disabled for Home/Office networks and enabled for public
I have added the desktop PC to the "whitelist" and "trusted zones list" in Rising Firewall 2010
And I have specified a "trusted" ip-range in the Win7 firewall


In Rising Firewall, I can disable/enable several "IP Rules", Currently looking like this:
(http://i294.photobucket.com/albums/mm99/Ryder17z/Firewall_Rules.png)
Maybe I should change something here?
EDIT: "Allow BT DownLoad" is enabled


In cmd I get this on XP:
The following command could not be found: firewall set opmode mode=disable


Haven't tried running without firewall on the laptop, because last time I did so on the desktop it got some virus or something in which replaced the Windows bootscreen with a message in HEX code and it froze afterwards
Wiped the harddrives, and putted everything back in and then there was no problem


Now I can't access anything on one computer from the other, no matter what path I use
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 24, 2010, 07:45:07 AM
Hmm never used Rising firewall but lets try and adding rules for SMB.

Allow incoming and outgoing traffic on UDP and TCP ports 135-139
and NetoBIOS traffic UDP and TCP port 445

Which machine has rising running on it, XP or 7?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 24, 2010, 11:43:46 AM
7

And what is NetBIOS ?, some says it allows you to change the BIOS settings remotely, others say it doesn't do anything ???
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 24, 2010, 02:22:28 PM
NetBIOS or also know a NetBEUI. Has nothing to do with the system BIOS. It is a basic networking framework Windows OS uses for LAN file sharing and SMB runs on top of.

I am thinking at this point your firewall is stopping the communications between the two computers. try and stop the firewall for a bit and see if you can get them to see each other.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 24, 2010, 04:30:01 PM
Weird, now I got the same limited access mode as before with firewalls down


And as the desktop is added to "Trusted Zones" and the "whitelist" - it should be able to communicate even if the firewall is up
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 24, 2010, 10:14:40 PM
Then you have a permissions issue on the share.

Make sure the simple file sharing is turned off, then check the sharing permissions on the share.

Ensure Everyone has full control. By default a new share does not have full control for everyone.

If simple file sharing is enabled, you will not have the option of setting user permissions.
Title: Re: Multiple Connections Issue
Post by: BC_Programmer on April 24, 2010, 10:50:29 PM
NetBIOS or also know a NetBEUI. Has nothing to do with the system BIOS. It is a basic networking framework Windows OS uses for LAN file sharing and SMB runs on top of.

SMB hasn't run on netBIOS since win 9x/NT4.
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 24, 2010, 11:02:27 PM
Quote
SMB hasn't run on netBIOS since win 9x/NT4.

Windows 2000/XP/2003 had the option of running in Direct Hosting, no NetBIOS, but had to be configured, by default still used NetBIOS. Starting in Vista (SMB V2) was default to Direct Host and run over TCP so does 7 (SMB 2.1)
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 25, 2010, 02:03:11 AM
Since:
OK Getting somewhere then.
There is full control for all users on the shared folders on both computers and simple file file sharing is disabled
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 25, 2010, 10:15:42 AM
Just to get more info about the problem with the shares, I installed a virtual XP machine on win7

And it detected the desktop shares as soon as I changed network to "WORKGROUP"
EDIT: It has full control over the shares

But it couldn't find the shares on win7
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 25, 2010, 01:09:46 PM
Is your windows 7 Network type set to home?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 25, 2010, 03:05:05 PM
No, Office
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 25, 2010, 04:02:51 PM
try it on home let me know what happens.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 26, 2010, 05:20:11 AM
It shouldn't do anything good, as I have read that only win7 computers corporate in "Home" networks

Edit: It didn't change anything
Title: Re: Multiple Connections Issue
Post by: UKnewWho on April 26, 2010, 06:13:35 AM
Yes it would, Home, Work, Public are default settings how windows handles network traffic.

did you reboot after changing to home? If not, try that.

Under the Network Security and Sharing center, does your homegroup say joined?

Also while in the network security and sharing screen click towards the bottom where it says Advanced options, review these settings and adjust as needed.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on April 27, 2010, 01:24:29 PM
Tried it while messing with advanced settings, but it didn't help
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 05, 2010, 02:37:55 PM
Doh, I still need help :(
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 14, 2010, 06:39:52 AM
Doh, I still need help :(
Title: Re: Multiple Connections Issue
Post by: Sid on May 14, 2010, 09:04:39 AM
I have done this before, but I don't remember how I did it...


Desktop PC has no internet connection and is wired to both a Netgear router and also a Samsung printer

Laptop is connected to the internet by an on-board 3G modem and got wireless access to the router


The problem occurs when I connect the laptop to the wireless network, the 3G connection stops working and I got no internet connection until I disconnect from the wireless network


My question is: How do set it up so I can share documents and printer between the two computers and still being able to use the internet connection on the laptop?


Useful info:
Router: Netgear WNR1000v2 Wireless N 150
Laptop OS: Win7
3G connection gets configured by auto
Router and Desktop PC has got static IP Addresses

Have you got a default gateway identified on the LAN (Laptop -> router) connection?

If so, remove it, and add in a static route.

If you need more info, just let me know.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 16, 2010, 08:16:52 AM
Uhm, what do you mean?

Currently the Default Gateway is set to the routers ip
Title: Re: Multiple Connections Issue
Post by: Sid on May 16, 2010, 08:24:49 AM
Uhm, what do you mean?

Currently the Default Gateway is set to the routers ip

Right, so you've got the 3G connection up, and you've got it connected to the Router at the same time right?

If so, I think the problem you're experiencing is down to the fact that there are two default gateways, which isn't supposed to happen.

What I would recommend is removing the default gateway from the laptop -> router connection, and add a static route in.

If you give me the LAN IP settings, ie the gateway address and subnet mask I should be able to help you with the command you'll need to enter.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 16, 2010, 10:49:54 AM
Yeah

But I did mess around with the network and other security settings and now I got this state in my network:

Win7 can see WinXP Computer
WinXP can see/access the shared files/folders/printer on Win7

Win7 can't access WinXP Computer

I do not have passwords setup on the accounts, both got the same name, but when I try to access the WinXP computer from the Win7 I get "Invalid network password"

I tried a new password protected account on WinXP, but that gave me same error

But another thing that seems weird is that both computers is set to have same workgroup, but when I tried to connect to the WinXP from Win7 last time, it said "Domain" ???

And why does it say "invalid network password" ?
It's already connected to the part that makes a network, the router - There is no password on the account I tried to connect to/with/through


Microsoft says they make it easier with Win7, and they said the same about WinXP, but I think it gets harder and harder ::)
Title: Re: Multiple Connections Issue
Post by: Sid on May 17, 2010, 05:52:38 AM
Yeah

But I did mess around with the network and other security settings and now I got this state in my network:

Win7 can see WinXP Computer
WinXP can see/access the shared files/folders/printer on Win7

Win7 can't access WinXP Computer

I do not have passwords setup on the accounts, both got the same name, but when I try to access the WinXP computer from the Win7 I get "Invalid network password"

I tried a new password protected account on WinXP, but that gave me same error

But another thing that seems weird is that both computers is set to have same workgroup, but when I tried to connect to the WinXP from Win7 last time, it said "Domain" ???

And why does it say "invalid network password" ?
It's already connected to the part that makes a network, the router - There is no password on the account I tried to connect to/with/through


Microsoft says they make it easier with Win7, and they said the same about WinXP, but I think it gets harder and harder ::)

Have a look in the local security policy on the XP machine, under Local Policies, User Rights Assigments.

Maybe something there has been modified?
Title: Re: Multiple Connections Issue
Post by: Sid on May 17, 2010, 05:55:24 AM
In particular look at:

Access this computer from the Network
Allow logon through Terminal Services (for using Remote Desktop)
Deny access to thie computer from the network
Deny logon through Terminal Services (for using Remote Desktop)
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 17, 2010, 06:53:25 AM
Uhm, I have found something very weird now

I did allow the win7 compter to connect through Terminal Services

And then i tried with the 2 accounts, none of them worked, it said "wrong network password"

After trying many times, I decided to test a random set of characters and use it as username

And the weird part is that I could successfully connect with the username "0.o" and no password
How the heck? - that account doesn't exist and normally you need to connect with a real account ???
Title: Re: Multiple Connections Issue
Post by: Sid on May 17, 2010, 11:20:29 AM
Uhm, I have found something very weird now

I did allow the win7 compter to connect through Terminal Services

And then i tried with the 2 accounts, none of them worked, it said "wrong network password"

After trying many times, I decided to test a random set of characters and use it as username

And the weird part is that I could successfully connect with the username "0.o" and no password
How the heck? - that account doesn't exist and normally you need to connect with a real account ???

Is the everyone account in the list of Access this computer from the Network and are there any users in the Deny access to thie computer from the network?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 17, 2010, 02:13:29 PM
The deny list is empty

The allow list is also empty, I can't add users in there, because when I try to I can't expand the network


And I can't see the Win7 computer if I browse the network on WinXP
Title: Re: Multiple Connections Issue
Post by: BC_Programmer on May 17, 2010, 08:52:32 PM
unless you enter a user account in the form Computername/username then you are connecting via the everyone account.

For example, even though both my desktop and laptop both have my user named BC_Programming, if I enter "BC_Programming" at the credentials prompt when I try to access a shared folder I get access denied. If I want to access my laptop, I have to enter Satellite\BC_Programming, otherwise, I connect as TERATRON\BC_Programming, which ends up using the Everyone account credentials on my laptop (which cannot access the files I want either)

Quote
And I can't see the Win7 computer if I browse the network on WinXP

You won't be able to see the windows 7 computer on the network until you change the version of it's network protocol. by default, windows 7 tries to communicate using NTLMv3, but XP only supports version 2.

You can change it by modifying the key HKEY_LOCAL_MACHINE\system\CurrentControlSet\Control\LSA\LmCompatibilityLevel and changing it to 2.

Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 18, 2010, 01:49:35 AM
What "Everyone Account" ?

As far as I know there is only 3 accounts, 1 with password, my regular and the system administrator


I will try te Comptername/Username when I get home


And I assume the reg value should be in HEX, is that right ?
Title: Re: Multiple Connections Issue
Post by: BC_Programmer on May 18, 2010, 01:59:01 AM
What "Everyone Account" ?
the "everyone" account is actually a group that applies to all users. Also, there are a lot of hidden accounts created by different programs. For example, I have Administrator and BC_Programming, but I also have 5 "hidden" accounts that don't display in either the user accounts dialog or at the log in screen, __vmware_user_, Guest, HomeGroupUser$ and VUSR_TERATRON. These were created by both windows itself (guest and HomeGroupuser$, but also by VMWare and Visual Studio.


Quote
And I assume the reg value should be in HEX, is that right ?

2 in hexadecimal is the same as 2 in decimal.
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 18, 2010, 08:36:17 AM
I tried the computername/user but it woudn't work, it still says "wrong network password"

But the "everyone" account worked as I thought it would, based on your description

Through the everyone account, I have access to anything shared, so it's finally working somehow


The allow list is also empty, I can't add users in there, because when I try to I can't expand the network
Why ?


And lastly: Is there a tool which would allow me to test the transfer rate of the network ?
Title: Re: Multiple Connections Issue
Post by: Sid on May 18, 2010, 08:54:58 AM
I tried the computername/user but it woudn't work, it still says "wrong network password"

But the "everyone" account worked as I thought it would, based on your description

Through the everyone account, I have access to anything shared, so it's finally working somehow

Why ?


And lastly: Is there a tool which would allow me to test the transfer rate of the network ?


Did you try the \ instead? I'm pretty sure the syntax is Computer\User.

How exactly are you trying to connect to the other machine?  Have you tried Start -> Run -> "\\ComputerName\ShareName"?
Title: Re: Multiple Connections Issue
Post by: Ryder17z on May 18, 2010, 11:35:09 AM
Yes I tried with " \ " also


If I use Run -> \\Computername\Share window opens and shows whatever the "share" is (at least when connecting through the everyone account)


The allow list is empty, I can't add users in there, because when I try to I can't expand the network
Why ?


And lastly: Is there a tool which would allow me to test the transfer rate of the network ?
Title: Re: Multiple Connections Issue
Post by: Sid on May 19, 2010, 03:49:30 AM
Maybe Net Meter is what you're after?

http://www.hootech.com/NetMeter/ (http://www.hootech.com/NetMeter/)