[Pending] Configure broadcast address for WOL (1 Viewer)


Portal Member
January 27, 2013
Australia Australia
This patch allows the user to configure the broadcast address used for WOL of the TV server to something other than the global, e.g.

This is needed because of the Win 7 behavior of only sending global broadcasts on one interface. If you have multiple network interfaces (this happened to me after I installed Virtual Box) then the WOL broadcast may not be sent out on the interface that connects to the server. Refer to this discussion on ServerFault for a more detailed explanation of the difference between Win XP and Win 7 behavior with global broadcast.

There are two components to the patch
  1. WolBroadcastAddress.patch updates the TV plugin to use the configured broadcast address.
  2. WolBroadcastAddress_SettingsUI.patch adds the broadcast address to the Wake-On-Lan configuration section.



Development Group
  • Team MediaPortal
  • September 1, 2008
    New Zealand New Zealand
    Country flag
    Thanks for the patch (y)
    These days we really like to avoid adding additional settings unless it is really necessary. Just wondering whether it would be possible to get the same functionality without adding a setting by putting the call in a loop like this:
    		IPHostEntry local = Dns.GetHostEntry(Dns.GetHostName());
    		foreach (IPAddress ipaddress in local.AddressList)
    		  // send broadcast packet on interface
    Could you confirm?


    Portal Member
    January 27, 2013
    Australia Australia
    Good idea.

    I had a look, and it is possible to determine the broadcast address for all interfaces using functionality in the System.Net.NetworkInformation namespace. I have attached an alternative patch that uses this approach.


    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    E [solved] TV-Server Configuration Missing TV-Server 9
    M 1.25.0 Tv Server Configuration Italian Dvb-t2 test channel preview error Television (MyTV frontend and TV-Server) 7
    toricred [solved] Configuring TV Server to use NAS General 5
    framug [solved] Some changes/fix in MP1 configuration client and server Submit: code patches (MediaPortal/TV-Server/etc.) 14
    W Info on particular configuration Installation, configuration support 2
    horned_reaper MediaPortal configuration error log message General Support 1
    T TV Series Configuration funktioniert nicht Plugins & Erweiterungen 15
    HTPCSourcer [Evaluate] Remove obsolete menu entries from "MP2 TV Configuration" MediaPortal 2 0
    T I cannot get a basic media import-what is the best configuration? General 10
    P Configuration Moving Pictures Support d'installation et de configuration 0
    cbr954rr How to disable a pre-configured plugin? General 2
    A FB funktioniert plötzlich nicht mehr korrekt Allgemeines Supportforum 0
    M.Hulot [solved] PureVisionHD 1080 taucht nicht im Configurator auf Allgemeines Supportforum 12
    Edwardfc Fanart setup/configuration General 10
    Edwardfc [solved] Mp 2.2.1 Configuration Issues - Goes to Sleep while playing Music General 6
    P Configuration closes on channel scan General 26
    M App Icon starts Configuration Installation, configuration support 3
    O [solved] MP2.2.1 TV-Server Configuration wont start after initial installation General 10
    D [solved] How to configure subtitle color in MP 2.2.1? General 5
    sve1 Invalid DateTime when loading configuration tool Trakt 5
    johns11 [solved] MP2.2 TV configuration issue General 4
    H MP2.2 client TV-Server configuration General 17
    R MP 2.2 TV configuration General 13
    E [solved] No Live TV in MP2.2 Client - Can TEST Successfully in "MediaPortal 2 TV Configuration" utility General 8
    E M3U Playlist and EPG Support/Configuration Installation, configuration support 1
    Similar threads

    Top Bottom