Wake-On-Lan working?

Hello!

I wanted to ask if anyone is using WOL and if it’s working together with CIS 4 build .719.
I suddenly can’t wake up another network PC and would like to check first if it has something to do with CIS before I check other things.

Best regards

Fastest test would be to set Firewall security level to disabled, put the PC to sleep and try to Wake it up…

Also check out the Firewall’s Advanced settings, Protocol analysis etc…

Thanks Ronny for your answer!

Okay, it wasn’t CIS’ fault.
It’s an annoying Windows 7 bug.
I have VirtualBox installed with its VirtualBox Host-Only Ethernet Adapter.
I had to disable it through the device manager, otherwise Windows is sending the magic packet through this adapter and it’s not working.
That’s apparently the same problem I always had. When I’m connected to the Internet I can’t wake up other PCs because Windows seems to use my ISPs virtual VPN adapter.
I always need to disconnect first when I want to wake up other PCs.

Sorry for blaming CIS for this :wink:

Maybe there are WOL tools that you can force the packets out over a adapter of your choice?

I’m using two free WOL tool and both don’t have such options.
I think it’s Win 7’s fault because I didn’t experience these problems with WinXp.
I also have similar problems with the built in ping command.

It will probably use the interface that’s acting as the default gateway?
Or is it the first adapter that shows up when you type ipconfig on a command-box?

Apparently it uses the first adapter (xDSL) which is my ISP internet connection.
Here is the ipconfig output in case you want to see it:


Windows IP Configuration

   Host Name . . . . . . . . . . . . : Laptop
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

PPP adapter xDSL:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : xDSL
   Physical Address. . . . . . . . . :
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 85.127.xxx.xxx(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.255
   Default Gateway . . . . . . . . . : 0.0.0.0
   DNS Servers . . . . . . . . . . . : 195.34.133.21
                                       212.186.211.21
   NetBIOS over Tcpip. . . . . . . . : Enabled

Wireless LAN adapter Drahtlosnetzwerkverbindung 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Intel(R) PRO/Wireless 3945ABG Network Connection
   Physical Address. . . . . . . . . : 00-19-D2-69-BF-9E
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter LAN-Verbindung:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom 440x 10/100-integrierter Controller
   Physical Address. . . . . . . . . : 00-13-77-48-35-1A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 10.88.8.59(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.0.0
   Lease Obtained. . . . . . . . . . : Sonntag, 21. Februar 2010 11:13:25
   Lease Expires . . . . . . . . . . : Montag, 22. Februar 2010 11:13:25
   Default Gateway . . . . . . . . . : 10.88.0.1
   DHCP Server . . . . . . . . . . . : 172.27.28.2
   DNS Servers . . . . . . . . . . . : 195.58.160.194
                                       195.58.161.122
   NetBIOS over Tcpip. . . . . . . . : Enabled

Here you can see the difference through Wireshark. Once I send a magic packet when disconnected and once when connected to the internet.

disconnected:

connected:

Found this at M$ maybe it also applies somehow to Win7

Thank you!
That looks promising. I’ll check it out.

Hey Ronny!
I have to admit you’re great!

When I first encountered this problem I asked in the MS Technet forums and they were clueless.

You’re link was the solution! I never ever heard of such things like interface metrics ;D

Windows is behaving quite weird here though.
I had to manually set the interface metric of my ISP’s VPN adapter (xDSL) otherwise Windows wouldn’t remember the setting and would change it back to a wrong automatic value as soon as I connect to the internet.

I don’t know if you’re interested in my interface metrics but here they are:

outputted with the command: netsh interface ip show address

when connected to the internet:

Configuration for interface "xDSL"
    DHCP enabled:                         No
    IP Address:                           85.127.xxx.xxx
    Subnet Prefix:                        85.127.xxx.xxx/xxx (mask 255.255.255.255)
    Default Gateway:                      0.0.0.0
    Gateway Metric:                       1
    InterfaceMetric:                      4250

Configuration for interface "Drahtlosnetzwerkverbindung 2"
    DHCP enabled:                         Yes
    InterfaceMetric:                      4230

Configuration for interface "LAN-Verbindung"
    DHCP enabled:                         Yes
    IP Address:                           10.88.8.59
    Subnet Prefix:                        10.88.0.0/16 (mask 255.255.0.0)
    Default Gateway:                      10.88.0.1
    Gateway Metric:                       0
    InterfaceMetric:                      4245

Configuration for interface "Loopback Pseudo-Interface 1"
    DHCP enabled:                         No
    IP Address:                           127.0.0.1
    Subnet Prefix:                        127.0.0.0/8 (mask 255.0.0.0)
    InterfaceMetric:                      4275

and disconnected:

Configuration for interface "Drahtlosnetzwerkverbindung 2"
    DHCP enabled:                         Yes
    InterfaceMetric:                      5

Configuration for interface "LAN-Verbindung"
    DHCP enabled:                         Yes
    IP Address:                           10.88.8.59
    Subnet Prefix:                        10.88.0.0/16 (mask 255.255.0.0)
    Default Gateway:                      10.88.0.1
    Gateway Metric:                       0
    InterfaceMetric:                      20

Configuration for interface "Loopback Pseudo-Interface 1"
    DHCP enabled:                         No
    IP Address:                           127.0.0.1
    Subnet Prefix:                        127.0.0.0/8 (mask 255.0.0.0)
    InterfaceMetric:                      50

I changed the value of the xDSL interface metric to 4250 so that it’s higher than the LAN-connection even when connected to the internet through the xDSL adapter.

I have to note this down so I don’t forget it.

Thanks again!

I think that’s because once your DSL adapter connects it becomes the default gateway, and static routes in this case normally have a metric of 1

Try netstat -rn (that’s r and n) on the command-line and see that the 0-route 0.0.0.0 0.0.0.0 points to your internet connection

I have two 0-routes, one points to the internal IP and one to the external.

IPv4 Route Table
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0        10.88.0.1       10.88.8.59   4245
          0.0.0.0          0.0.0.0         On-link     85.127.xxx.xx   4251
       10.0.0.138  255.255.255.255        10.88.0.1       10.88.8.59   4236
        10.88.0.0      255.255.0.0         On-link        10.88.8.59   4491
       10.88.8.59  255.255.255.255         On-link        10.88.8.59   4491
    10.88.255.255  255.255.255.255         On-link        10.88.8.59   4491
    85.127.231.94  255.255.255.255         On-link     85.127.xxx.xx   4506
        127.0.0.0        255.0.0.0         On-link         127.0.0.1   4531
        127.0.0.1  255.255.255.255         On-link         127.0.0.1   4531
  127.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
      169.254.0.0      255.255.0.0         On-link    169.254.23.246   4501
   169.254.23.246  255.255.255.255         On-link    169.254.23.246   4501
  169.254.255.255  255.255.255.255         On-link    169.254.23.246   4501
        224.0.0.0        240.0.0.0         On-link         127.0.0.1   4531
        224.0.0.0        240.0.0.0         On-link    169.254.23.246   4502
        224.0.0.0        240.0.0.0         On-link        10.88.8.59   4492
        224.0.0.0        240.0.0.0         On-link     85.127.xxx.xx   4251
  255.255.255.255  255.255.255.255         On-link         127.0.0.1   4531
  255.255.255.255  255.255.255.255         On-link    169.254.23.246   4501
  255.255.255.255  255.255.255.255         On-link        10.88.8.59   4491
  255.255.255.255  255.255.255.255         On-link     85.127.xxx.xx   4506
===========================================================================
Persistent Routes:
  None

Whats the default gateway 10.88.0.1 for device, and what networks does it “know” apparently it doesn’t route the packets to the Internet if you need an other adapter to connect.

Does it have other networks connected to it?

Otherwise i would prefer to remove the gateway from the 10.x interface and set possible 10.x. routes with the use of a static route with the “route add -p” option.

10.88.0.1 is the router which I can’t configure because it is locked by the ISP.
10.0.0.138 is the ISPs host where the xDSL adapter connects to to establish an Internet connection.
I’m connecting through PPTP.


It’s weird that the Network Connections doesn’t show the VirtualBox Network which however is enabled in the Device Manager and also gets listed with ipconfig.
Edit:The “VPN Connection” adapter in the picture is simply the same as the xDSL adapter. I only created it for testing purposes with different DNS Servers.

Unfortunately I’m not very savvy in this domain. I’m not sure what to do with your instructions.
Anyway, right now is everything working. I can wake-up and ping PCs also when connected to the Internet.

This is what I wanted and never was working since I’ve installed Win 7.

Edit: added explanation for “VPN Connection”

Well if everything is working like you would then there’s nothing to change :wink:
If it ain’t broke don’t fix it…

Okay, thanks again for your help!

No problem, glad i could be of some help.