It is currently March 28th, 2024, 11:46 pm

Network.ini with multiple Network Interfaces?

Get help with creating, editing & fixing problems with skins
diezweiundvierzig
Posts: 3
Joined: August 2nd, 2018, 12:55 pm

Network.ini with multiple Network Interfaces?

Post by diezweiundvierzig »

Hi there,
I'm new at rainmeter and I'm using the illustro skin what works fine for me.
I would like to display all my used network-interfaces (Lan, WLan, external Lan,...) with the IP-Adresses, speed etc.
but... I have no idea how :)

could the community help a little "n00b" at skripting?

thanks so long.
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Network.ini with multiple Network Interfaces?

Post by jsmorley »

The basis that the Rainmeter uses is the name or index number of a network interface.

You can control this with the Interface option on any NetIn/NetOut/NetTotal measures to measure traffic, or the identical SysInfoData option on any SysInfo plugin measures to get interface values like IP address and such.

To find the names or numbers to use, you can go to Settings in the Manage dialog in Rainmeter, then check "Debug mode" and "Log to file". Now exit and restart Rainmeter. Return to the Setting page, and click on "Show log file". This will have in it all the detected network interfaces with their names and numbers.

Something like this:

Code: Select all

DBUG (09:42:54.365) : * NETWORK-INTERFACE: Count=44
DBUG (09:42:54.367) : 1: TAP-Windows Adapter V9-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.368) :   Alias: Ethernet 2-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.370) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.372) : 2: TAP-Windows Adapter V9-QoS Packet Scheduler-0000
DBUG (09:42:54.374) :   Alias: Ethernet 2-QoS Packet Scheduler-0000
DBUG (09:42:54.375) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.376) : 3: TAP-Windows Adapter V9-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.378) :   Alias: Ethernet 2-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.379) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.380) : 4: Realtek PCIe GBE Family Controller-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.381) :   Alias: Ethernet-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.383) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.384) : 5: Realtek PCIe GBE Family Controller-QoS Packet Scheduler-0000
DBUG (09:42:54.385) :   Alias: Ethernet-QoS Packet Scheduler-0000
DBUG (09:42:54.386) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.388) : 6: Realtek PCIe GBE Family Controller-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.390) :   Alias: Ethernet-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.392) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.394) : 7: WAN Miniport (IP)-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.395) :   Alias: Local Area Connection* 8-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.397) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.398) : 8: WAN Miniport (IP)-QoS Packet Scheduler-0000
DBUG (09:42:54.401) :   Alias: Local Area Connection* 8-QoS Packet Scheduler-0000
DBUG (09:42:54.404) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.407) : 9: WAN Miniport (IPv6)-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.409) :   Alias: Local Area Connection* 9-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.412) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.414) : 10: WAN Miniport (IPv6)-QoS Packet Scheduler-0000
DBUG (09:42:54.417) :   Alias: Local Area Connection* 9-QoS Packet Scheduler-0000
DBUG (09:42:54.418) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.419) : 11: WAN Miniport (Network Monitor)-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.420) :   Alias: Local Area Connection* 11-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.421) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.423) : 12: WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
DBUG (09:42:54.424) :   Alias: Local Area Connection* 11-QoS Packet Scheduler-0000
DBUG (09:42:54.426) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (09:42:54.428) : 13: Microsoft Kernel Debug Network Adapter
DBUG (09:42:54.429) :   Alias: Ethernet (Kernel Debugger)
DBUG (09:42:54.431) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (09:42:54.433) : 14: Realtek PCIe GBE Family Controller
DBUG (09:42:54.434) :   Alias: Ethernet
DBUG (09:42:54.435) :   Type=Ethernet(6), Hardware=Yes, Filter=No
DBUG (09:42:54.437) : 15: WAN Miniport (IP)
DBUG (09:42:54.440) :   Alias: Local Area Connection* 8
DBUG (09:42:54.441) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (09:42:54.443) : 16: WAN Miniport (IPv6)
DBUG (09:42:54.445) :   Alias: Local Area Connection* 9
DBUG (09:42:54.446) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (09:42:54.447) : 17: WAN Miniport (Network Monitor)
DBUG (09:42:54.448) :   Alias: Local Area Connection* 11
DBUG (09:42:54.449) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (09:42:54.450) : 18: TAP-Windows Adapter V9
DBUG (09:42:54.451) :   Alias: Ethernet 2
DBUG (09:42:54.452) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (09:42:54.454) : 19: WAN Miniport (PPPOE)
DBUG (09:42:54.455) :   Alias: Local Area Connection* 7
DBUG (09:42:54.456) :   Type=PPP(23), Hardware=No, Filter=No
DBUG (09:42:54.457) : 20: Software Loopback Interface 1
DBUG (09:42:54.458) :   Alias: Loopback Pseudo-Interface 1
DBUG (09:42:54.460) :   Type=Loopback(24), Hardware=No, Filter=No
DBUG (09:42:54.461) : 21: Qualcomm Atheros AR938x Wireless Network Adapter-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.462) :   Alias: Wi-Fi-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.464) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.465) : 22: Qualcomm Atheros AR938x Wireless Network Adapter-Virtual WiFi Filter Driver-0000
DBUG (09:42:54.466) :   Alias: Wi-Fi-Virtual WiFi Filter Driver-0000
DBUG (09:42:54.466) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.467) : 23: Qualcomm Atheros AR938x Wireless Network Adapter-Native WiFi Filter Driver-0000
DBUG (09:42:54.468) :   Alias: Wi-Fi-Native WiFi Filter Driver-0000
DBUG (09:42:54.470) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.471) : 24: Qualcomm Atheros AR938x Wireless Network Adapter-QoS Packet Scheduler-0000
DBUG (09:42:54.473) :   Alias: Wi-Fi-QoS Packet Scheduler-0000
DBUG (09:42:54.475) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.476) : 25: Qualcomm Atheros AR938x Wireless Network Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.478) :   Alias: Wi-Fi-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.479) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.480) : 26: Microsoft Wi-Fi Direct Virtual Adapter-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.481) :   Alias: Local Area Connection* 1-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.482) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.483) : 27: Microsoft Wi-Fi Direct Virtual Adapter-Native WiFi Filter Driver-0000
DBUG (09:42:54.484) :   Alias: Local Area Connection* 1-Native WiFi Filter Driver-0000
DBUG (09:42:54.486) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.488) : 28: Microsoft Wi-Fi Direct Virtual Adapter-QoS Packet Scheduler-0000
DBUG (09:42:54.490) :   Alias: Local Area Connection* 1-QoS Packet Scheduler-0000
DBUG (09:42:54.491) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.492) : 29: Microsoft Wi-Fi Direct Virtual Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.493) :   Alias: Local Area Connection* 1-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.495) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.497) : 30: Microsoft Wi-Fi Direct Virtual Adapter #2-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.498) :   Alias: Local Area Connection* 2-WFP Native MAC Layer LightWeight Filter-0000
DBUG (09:42:54.499) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.500) : 31: Microsoft Wi-Fi Direct Virtual Adapter #2-Native WiFi Filter Driver-0000
DBUG (09:42:54.501) :   Alias: Local Area Connection* 2-Native WiFi Filter Driver-0000
DBUG (09:42:54.502) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.504) : 32: Microsoft Wi-Fi Direct Virtual Adapter #2-QoS Packet Scheduler-0000
DBUG (09:42:54.506) :   Alias: Local Area Connection* 2-QoS Packet Scheduler-0000
DBUG (09:42:54.507) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.508) : 33: Microsoft Wi-Fi Direct Virtual Adapter #2-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.509) :   Alias: Local Area Connection* 2-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (09:42:54.511) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (09:42:54.512) : 34: Qualcomm Atheros AR938x Wireless Network Adapter
DBUG (09:42:54.513) :   Alias: Wi-Fi
DBUG (09:42:54.514) :   Type=IEEE802.11(71), Hardware=Yes, Filter=No
DBUG (09:42:54.516) : 35: Microsoft Wi-Fi Direct Virtual Adapter
DBUG (09:42:54.518) :   Alias: Local Area Connection* 1
DBUG (09:42:54.519) :   Type=IEEE802.11(71), Hardware=No, Filter=No
DBUG (09:42:54.521) : 36: Microsoft Hosted Network Virtual Adapter
DBUG (09:42:54.523) :   Alias: Local Area Connection* 10
DBUG (09:42:54.525) :   Type=IEEE802.11(71), Hardware=No, Filter=No
DBUG (09:42:54.526) : 37: Microsoft Wi-Fi Direct Virtual Adapter #2
DBUG (09:42:54.528) :   Alias: Local Area Connection* 2
DBUG (09:42:54.529) :   Type=IEEE802.11(71), Hardware=No, Filter=No
DBUG (09:42:54.530) : 38: Microsoft Teredo Tunneling Adapter
DBUG (09:42:54.531) :   Alias: Teredo Tunneling Pseudo-Interface
DBUG (09:42:54.532) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (09:42:54.533) : 39: Microsoft IP-HTTPS Platform Adapter
DBUG (09:42:54.535) :   Alias: Microsoft IP-HTTPS Platform Interface
DBUG (09:42:54.535) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (09:42:54.536) : 40: Microsoft 6to4 Adapter
DBUG (09:42:54.539) :   Alias: 6to4 Adapter
DBUG (09:42:54.539) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (09:42:54.540) : 41: WAN Miniport (SSTP)
DBUG (09:42:54.543) :   Alias: Local Area Connection* 3
DBUG (09:42:54.544) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (09:42:54.545) : 42: WAN Miniport (IKEv2)
DBUG (09:42:54.546) :   Alias: Local Area Connection* 4
DBUG (09:42:54.547) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (09:42:54.548) : 43: WAN Miniport (L2TP)
DBUG (09:42:54.551) :   Alias: Local Area Connection* 5
DBUG (09:42:54.552) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (09:42:54.553) : 44: WAN Miniport (PPTP)
DBUG (09:42:54.555) :   Alias: Local Area Connection* 6
DBUG (09:42:54.556) :   Type=Tunnel(131), Hardware=No, Filter=No
You can create as many NetIn/NetOut/NetTotal measures as you want, specifying the network interface each should measure for traffic.

You can create as many SysInfo plugin measures as you want, specifying the network interface each should measure. You are limited to what SysInfo returns for a defined network interface, There is no value for "speed" for instance.

Note: Be sure to turn off debug mode and delete the log file when you are done, as running Rainmeter in debug mode is a bit expensive.
User avatar
SilverAzide
Rainmeter Sage
Posts: 2588
Joined: March 23rd, 2015, 5:26 pm

Re: Network.ini with multiple Network Interfaces?

Post by SilverAzide »

diezweiundvierzig wrote:Hi there,
I'm new at rainmeter and I'm using the illustro skin what works fine for me.
I would like to display all my used network-interfaces (Lan, WLan, external Lan,...) with the IP-Adresses, speed etc.
but... I have no idea how :)

could the community help a little "n00b" at skripting?

thanks so long.
In case it was not clear from JSMorley's reply and from reading the docs, you only need to concern yourself with the network interfaces where Hardware=Yes. All the other interfaces are virtual and can generally be ignored. The exception to this is if you want to monitor a VPN connection, though I would suggest avoiding this complication until you are ready.
Gadgets Wiki GitHub More Gadgets...
diezweiundvierzig
Posts: 3
Joined: August 2nd, 2018, 12:55 pm

Re: Network.ini with multiple Network Interfaces?

Post by diezweiundvierzig »

thanks thanks! quick responded :)

but now the question is, how to skript it in the .ini?!

it looks like this...

Code: Select all

; Lines starting ; (semicolons) are commented out.
; That is, they do not affect the code and are here for demonstration purposes only.
; ----------------------------------

[Rainmeter]
; This section contains general settings that can be used to change how Rainmeter behaves.
Update=1000
Background=#@#Background.png
; #@# is equal to Rainmeter\Skins\illustro\@Resources
BackgroundMode=3
BackgroundMargins=0,34,0,14

[Metadata]
; Contains basic information of the skin.
Name=Network
Author=poiru
Information=Shows your IP address and network activity.
License=Creative Commons BY-NC-SA 3.0
Version=1.0.0

[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205
maxDownload=10485760
MaxUpload=10485760
; Set maxDownload and maxUpload to your maximum download and upload speed in bits.
; To convert kilobits, megabits, kilobytes, and megabytes into bits, go to www.google.com
; and search for something like "10 megabytes in bits".

; ----------------------------------
; MEASURES return some kind of value
; ----------------------------------

[measureIP]
; This measure returns your IPv4 address. WebParser measures are relatively complicated. If you're a beginner with
; Rainmeter, take a look at some of the other illustro skins before modifying this one.
; For more information, go here: https://docs.rainmeter.net/tips/ipaddress
Measure=Plugin
Plugin=WebParser
URL=https://checkip.amazonaws.com/
UpdateRate=14400
RegExp=(?siU)^(.*)$
StringIndex=1
Substitute="":"N/A"
; Substitute works as follows: "A":"B" where A is a string to substitute and B is a string
; to substitute with. In this case, it substutes "" (i.e. empty) to N/A

[measureNetIn]
Measure=NetIn
NetInSpeed=#maxDownload#
; NetInSpeed must be set so your maximun download speed for the download bar to scale correctly

[measureNetOut]
Measure=NetOut
NetOutSpeed=#maxUpload#

; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------

[styleTitle]
StringAlign=Center
StringCase=Upper
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

[styleLeftText]
StringAlign=Left
; Meters using styleLeftText will be left-aligned.
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleRightText]
StringAlign=Right
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15

[styleSeperator]
SolidColor=255,255,255,15

; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------

[ADAPTER_TYP]

[meterTitle]
Meter=String
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=18
Text=Network
; Even though the text is set to Network, Rainmeter will display
; it as NETWORK, because styleTitle contains StringCase=Upper.

[meterIPLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text=IP Address

[meterIPValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureIP
X=200
Y=0r
; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1
; %1 stands for the value of MeasureName (measureIP in this case).

[meterSeperator]
Meter=Image
MeterStyle=styleSeperator
X=10
Y=52
W=190
H=1

[meterUploadLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=60
W=190
H=14
Text=Upload

[meterUploadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureNetOut
X=200
Y=0r
W=190
H=14
Text=%1B/s
NumOfDecimals=1
AutoScale=1
; Because measureIP returns the current upload speed in bytes, we must use AutoScale=1 to
; automatically scale the value into a more readable figure.

[meterUploadBar]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureNetOut
X=10
Y=72
W=190
H=1

[meterDownloadLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=80
W=190
H=14
Text=Download

[meterDownloadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureNetIn
X=200
Y=0r
W=190
H=14
Text=%1B/s
NumOfDecimals=1
AutoScale=1

[meterDownloadBar]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureNetIn
X=10
Y=92
W=190
H=1
the logfile says this:

Code: Select all

DBUG (17:46:06.849) : * NETWORK-INTERFACE: Count=62
DBUG (17:46:06.850) : 1: Bluetooth Device (RFCOMM Protocol TDI)
DBUG (17:46:06.851) :   Alias: LAN-Verbindung* 3
DBUG (17:46:06.851) :   Type=Other(1), Hardware=No, Filter=No
DBUG (17:46:06.852) : 2: Sophos SSL VPN Adapter-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.852) :   Alias: Ethernet_VPN-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.853) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.853) : 3: Sophos SSL VPN Adapter-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.854) :   Alias: Ethernet_VPN-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.854) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.855) : 4: Sophos SSL VPN Adapter-QoS Packet Scheduler-0000
DBUG (17:46:06.855) :   Alias: Ethernet_VPN-QoS Packet Scheduler-0000
DBUG (17:46:06.856) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.856) : 5: TeamViewer VPN Adapter-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.857) :   Alias: Ethernet 2-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.857) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.858) : 6: TeamViewer VPN Adapter-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.858) :   Alias: Ethernet 2-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.859) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.859) : 7: TeamViewer VPN Adapter-QoS Packet Scheduler-0000
DBUG (17:46:06.859) :   Alias: Ethernet 2-QoS Packet Scheduler-0000
DBUG (17:46:06.860) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.860) : 8: VirtualBox Host-Only Ethernet Adapter-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.861) :   Alias: Ethernet_VM Host-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.861) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.862) : 9: VirtualBox Host-Only Ethernet Adapter-QoS Packet Scheduler-0000
DBUG (17:46:06.862) :   Alias: Ethernet_VM Host-QoS Packet Scheduler-0000
DBUG (17:46:06.863) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.863) : 10: VirtualBox Host-Only Ethernet Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.864) :   Alias: Ethernet_VM Host-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.864) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.865) : 11: TeamViewer VPN Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.865) :   Alias: Ethernet 2-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.866) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.866) : 12: Sophos SSL VPN Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.867) :   Alias: Ethernet_VPN-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.867) :   Type=Ethernet(6), Hardware=No, Filter=Yes
[b]DBUG (17:46:06.867) : 13: Intel(R) Ethernet Connection I219-LM-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.868) :   Alias: Ethernet_Laptop-WFP Native MAC Layer LightWeight Filter-0000[/b]
DBUG (17:46:06.868) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.869) : 14: Intel(R) Ethernet Connection I219-LM-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.869) :   Alias: Ethernet_Laptop-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.871) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.871) : 15: Intel(R) Ethernet Connection I219-LM-QoS Packet Scheduler-0000
DBUG (17:46:06.872) :   Alias: Ethernet_Laptop-QoS Packet Scheduler-0000
DBUG (17:46:06.872) :   Type=Ethernet(6), Hardware=No, Filter=Yes
[b]DBUG (17:46:06.873) : 16: Intel(R) Ethernet Connection I219-LM-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.873) :   Alias: Ethernet_Laptop-WFP 802.3 MAC Layer LightWeight Filter-0000[/b]
DBUG (17:46:06.874) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.874) : 17: WAN Miniport (IP)-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.875) :   Alias: LAN-Verbindung* 9-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.875) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.876) : 18: WAN Miniport (IP)-QoS Packet Scheduler-0000
DBUG (17:46:06.876) :   Alias: LAN-Verbindung* 9-QoS Packet Scheduler-0000
DBUG (17:46:06.877) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.877) : 19: WAN Miniport (IPv6)-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.878) :   Alias: LAN-Verbindung* 10-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.878) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.878) : 20: WAN Miniport (IPv6)-QoS Packet Scheduler-0000
DBUG (17:46:06.879) :   Alias: LAN-Verbindung* 10-QoS Packet Scheduler-0000
DBUG (17:46:06.879) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.880) : 21: WAN Miniport (Network Monitor)-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.880) :   Alias: LAN-Verbindung* 11-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.881) :   Type=Ethernet(6), Hardware=No, Filter=Yes
DBUG (17:46:06.881) : 22: WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
DBUG (17:46:06.882) :   Alias: LAN-Verbindung* 11-QoS Packet Scheduler-0000
DBUG (17:46:06.882) :   Type=Ethernet(6), Hardware=No, Filter=Yes
[b]DBUG (17:46:06.882) : 23: Intel(R) Ethernet Connection I219-LM
DBUG (17:46:06.883) :   Alias: Ethernet_Laptop[/b]
DBUG (17:46:06.883) :   Type=Ethernet(6), Hardware=Yes, Filter=No
DBUG (17:46:06.884) : 24: Microsoft Kernel Debug Network Adapter
DBUG (17:46:06.884) :   Alias: LAN-Verbindung* 1
DBUG (17:46:06.885) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (17:46:06.885) : 25: Bluetooth Device (Personal Area Network)
DBUG (17:46:06.886) :   Alias: Bluetooth-Netzwerkverbindung
DBUG (17:46:06.886) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (17:46:06.887) : 26: TeamViewer VPN Adapter
DBUG (17:46:06.887) :   Alias: Ethernet 2
DBUG (17:46:06.887) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (17:46:06.888) : 27: WAN Miniport (IP)
DBUG (17:46:06.888) :   Alias: LAN-Verbindung* 9
DBUG (17:46:06.889) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (17:46:06.889) : 28: WAN Miniport (IPv6)
DBUG (17:46:06.890) :   Alias: LAN-Verbindung* 10
DBUG (17:46:06.890) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (17:46:06.891) : 29: Sophos SSL VPN Adapter
DBUG (17:46:06.891) :   Alias: Ethernet_VPN
DBUG (17:46:06.892) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (17:46:06.892) : 30: WAN Miniport (Network Monitor)
DBUG (17:46:06.893) :   Alias: LAN-Verbindung* 11
DBUG (17:46:06.893) :   Type=Ethernet(6), Hardware=No, Filter=No
DBUG (17:46:06.894) : 31: ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapter
DBUG (17:46:06.894) :   Alias: Ethernet_EXTERN
DBUG (17:46:06.894) :   Type=Ethernet(6), Hardware=Yes, Filter=No
DBUG (17:46:06.895) : 32: VirtualBox Host-Only Ethernet Adapter
DBUG (17:46:06.895) :   Alias: Ethernet_VM Host
DBUG (17:46:06.896) :   Type=Ethernet(6), Hardware=No, Filter=No
[b]DBUG (17:46:06.896) : 33: Realtek USB GbE Family Controller
DBUG (17:46:06.896) :   Alias: Ethernet_FIDECO
DBUG (17:46:06.897) :   Type=Ethernet(6), Hardware=Yes, Filter=No[/b]
DBUG (17:46:06.897) : 34: Apple Mobile Device Ethernet
DBUG (17:46:06.898) :   Alias: Ethernet
DBUG (17:46:06.898) :   Type=Ethernet(6), Hardware=Yes, Filter=No
DBUG (17:46:06.898) : 35: DisplayLink Network Adapter NCM
DBUG (17:46:06.899) :   Alias: Ethernet 3
DBUG (17:46:06.899) :   Type=Ethernet(6), Hardware=Yes, Filter=No
DBUG (17:46:06.900) : 36: Remote NDIS6 based Device
DBUG (17:46:06.900) :   Alias: Ethernet 4
DBUG (17:46:06.901) :   Type=Ethernet(6), Hardware=Yes, Filter=No
DBUG (17:46:06.901) : 37: WAN Miniport (PPPOE)
DBUG (17:46:06.902) :   Alias: LAN-Verbindung* 8
DBUG (17:46:06.902) :   Type=PPP(23), Hardware=No, Filter=No
DBUG (17:46:06.903) : 38: Software Loopback Interface 1
DBUG (17:46:06.903) :   Alias: Loopback Pseudo-Interface 1
DBUG (17:46:06.904) :   Type=Loopback(24), Hardware=No, Filter=No
DBUG (17:46:06.904) : 39: Intel(R) Dual Band Wireless-AC 8260-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.905) :   Alias: WLAN-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.905) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.905) : 40: Intel(R) Dual Band Wireless-AC 8260-Virtual WiFi Filter Driver-0000
DBUG (17:46:06.906) :   Alias: WLAN-Virtual WiFi Filter Driver-0000
DBUG (17:46:06.906) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.907) : 41: Intel(R) Dual Band Wireless-AC 8260-Native WiFi Filter Driver-0000
DBUG (17:46:06.907) :   Alias: WLAN-Native WiFi Filter Driver-0000
DBUG (17:46:06.908) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.908) : 42: Intel(R) Dual Band Wireless-AC 8260-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.908) :   Alias: WLAN-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.909) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.909) : 43: Intel(R) Dual Band Wireless-AC 8260-QoS Packet Scheduler-0000
DBUG (17:46:06.910) :   Alias: WLAN-QoS Packet Scheduler-0000
DBUG (17:46:06.910) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.910) : 44: Intel(R) Dual Band Wireless-AC 8260-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.911) :   Alias: WLAN-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.911) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.912) : 45: Microsoft Wi-Fi Direct Virtual Adapter-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.912) :   Alias: LAN-Verbindung* 2-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.913) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.913) : 46: Microsoft Wi-Fi Direct Virtual Adapter-Native WiFi Filter Driver-0000
DBUG (17:46:06.914) :   Alias: LAN-Verbindung* 2-Native WiFi Filter Driver-0000
DBUG (17:46:06.914) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.914) : 47: Microsoft Wi-Fi Direct Virtual Adapter-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.915) :   Alias: LAN-Verbindung* 2-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.915) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.916) : 48: Microsoft Wi-Fi Direct Virtual Adapter-QoS Packet Scheduler-0000
DBUG (17:46:06.916) :   Alias: LAN-Verbindung* 2-QoS Packet Scheduler-0000
DBUG (17:46:06.917) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.917) : 49: Microsoft Wi-Fi Direct Virtual Adapter-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.917) :   Alias: LAN-Verbindung* 2-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.918) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.918) : 50: Microsoft Wi-Fi Direct Virtual Adapter #2-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.919) :   Alias: LAN-Verbindung* 13-WFP Native MAC Layer LightWeight Filter-0000
DBUG (17:46:06.919) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.920) : 51: Microsoft Wi-Fi Direct Virtual Adapter #2-Native WiFi Filter Driver-0000
DBUG (17:46:06.920) :   Alias: LAN-Verbindung* 13-Native WiFi Filter Driver-0000
DBUG (17:46:06.921) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.921) : 52: Microsoft Wi-Fi Direct Virtual Adapter #2-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.922) :   Alias: LAN-Verbindung* 13-VirtualBox NDIS Light-Weight Filter-0000
DBUG (17:46:06.922) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.923) : 53: Microsoft Wi-Fi Direct Virtual Adapter #2-QoS Packet Scheduler-0000
DBUG (17:46:06.923) :   Alias: LAN-Verbindung* 13-QoS Packet Scheduler-0000
DBUG (17:46:06.924) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.924) : 54: Microsoft Wi-Fi Direct Virtual Adapter #2-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.925) :   Alias: LAN-Verbindung* 13-WFP 802.3 MAC Layer LightWeight Filter-0000
DBUG (17:46:06.925) :   Type=IEEE802.11(71), Hardware=No, Filter=Yes
DBUG (17:46:06.925) : 55: Intel(R) Dual Band Wireless-AC 8260
DBUG (17:46:06.926) :   Alias: WLAN
DBUG (17:46:06.926) :   Type=IEEE802.11(71), Hardware=Yes, Filter=No
DBUG (17:46:06.927) : 56: Microsoft Wi-Fi Direct Virtual Adapter
DBUG (17:46:06.927) :   Alias: LAN-Verbindung* 2
DBUG (17:46:06.928) :   Type=IEEE802.11(71), Hardware=No, Filter=No
DBUG (17:46:06.928) : 57: Microsoft Wi-Fi Direct Virtual Adapter #2
DBUG (17:46:06.929) :   Alias: LAN-Verbindung* 13
DBUG (17:46:06.929) :   Type=IEEE802.11(71), Hardware=No, Filter=No
DBUG (17:46:06.929) : 58: WAN Miniport (SSTP)
DBUG (17:46:06.930) :   Alias: LAN-Verbindung* 4
DBUG (17:46:06.930) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (17:46:06.931) : 59: WAN Miniport (IKEv2)
DBUG (17:46:06.931) :   Alias: LAN-Verbindung* 5
DBUG (17:46:06.932) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (17:46:06.932) : 60: WAN Miniport (L2TP)
DBUG (17:46:06.933) :   Alias: LAN-Verbindung* 6
DBUG (17:46:06.933) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (17:46:06.934) : 61: WAN Miniport (PPTP)
DBUG (17:46:06.934) :   Alias: LAN-Verbindung* 7
DBUG (17:46:06.934) :   Type=Tunnel(131), Hardware=No, Filter=No
DBUG (17:46:06.935) : 62: Microsoft Teredo Tunneling Adapter
DBUG (17:46:06.935) :   Alias: LAN-Verbindung* 12
DBUG (17:46:06.936) :   Type=Tunnel(131), Hardware=No, Filter=No
lots of connections?! confused... :17what
diezweiundvierzig
Posts: 3
Joined: August 2nd, 2018, 12:55 pm

Re: Network.ini with multiple Network Interfaces?

Post by diezweiundvierzig »

any help with that?

#edit:
found out, that the diplayed IP adress is not the one used in the interface!
where Im doing it wrong? I set a second skin (network2) and set it up like this:

Code: Select all

; Lines starting ; (semicolons) are commented out.
; That is, they do not affect the code and are here for demonstration purposes only.
; ----------------------------------

[Rainmeter]
; This section contains general settings that can be used to change how Rainmeter behaves.
Update=1000
Background=#@#Background.png
; #@# is equal to Rainmeter\Skins\illustro\@Resources
BackgroundMode=3
BackgroundMargins=0,34,0,14

[Metadata]
; Contains basic information of the skin.
Name=Network
Author=poiru
Information=Shows your IP address and network activity.
License=Creative Commons BY-NC-SA 3.0
Version=1.0.0

[Variables]
; Variables declared here can be used later on between two # characters (e.g. #MyVariable#).
fontName=Trebuchet MS
textSize=8
colorBar=235,170,0,255
colorText=255,255,255,205
maxDownload=10485760
MaxUpload=10485760
Interface=55
; Set maxDownload and maxUpload to your maximum download and upload speed in bits.
; To convert kilobits, megabits, kilobytes, and megabytes into bits, go to www.google.com
; and search for something like "10 megabytes in bits".

; ----------------------------------
; MEASURES return some kind of value
; ----------------------------------

[measureIP]
; This measure returns your IPv4 address. WebParser measures are relatively complicated. If you're a beginner with
; Rainmeter, take a look at some of the other illustro skins before modifying this one.
; For more information, go here: https://docs.rainmeter.net/tips/ipaddress
Measure=Plugin
Plugin=WebParser
URL=https://checkip.amazonaws.com/
UpdateRate=14400
RegExp=(?siU)^(.*)$
StringIndex=1
Substitute="":"N/A"
; Substitute works as follows: "A":"B" where A is a string to substitute and B is a string
; to substitute with. In this case, it substutes "" (i.e. empty) to N/A

[measureNetIn]
Measure=NetIn
Interface=#Interface#
NetInSpeed=#maxDownload#
; NetInSpeed must be set so your maximun download speed for the download bar to scale correctly

[measureNetOut]
Measure=NetOut
Interface=#Interface#
NetOutSpeed=#maxUpload#

; ----------------------------------
; STYLES are used to "centralize" options
; ----------------------------------

[styleTitle]
StringAlign=Center
StringCase=Upper
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,50
FontColor=#colorText#
FontFace=#fontName#
FontSize=10
AntiAlias=1
ClipString=1

[styleLeftText]
StringAlign=Left
; Meters using styleLeftText will be left-aligned.
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleRightText]
StringAlign=Right
StringCase=None
StringStyle=Bold
StringEffect=Shadow
FontEffectColor=0,0,0,20
FontColor=#colorText#
FontFace=#fontName#
FontSize=#textSize#
AntiAlias=1
ClipString=1

[styleBar]
BarColor=#colorBar#
BarOrientation=HORIZONTAL
SolidColor=255,255,255,15

[styleSeperator]
SolidColor=255,255,255,15

; ----------------------------------
; METERS display images, text, bars, etc.
; ----------------------------------

[ADAPTER_TYP]

[meterTitle]
Meter=String
MeterStyle=styleTitle
; Using MeterStyle=styleTitle will basically "copy" the
; contents of the [styleTitle] section here during runtime.
X=100
Y=12
W=190
H=18
Text=Network LAN
; Even though the text is set to Network, Rainmeter will display
; it as NETWORK, because styleTitle contains StringCase=Upper.

[meterIPLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=40
W=190
H=14
Text=IP Address

[meterIPValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureIP
X=200
Y=0r
; r stands for relative. In this case, the Y postition of meterValueCPU is 0 pixels
; below the Y value of the previous meter (i.e it's the same as in meterLabelCPU).
W=190
H=14
Text=%1
; %1 stands for the value of MeasureName (measureIP in this case).

[meterSeperator]
Meter=Image
MeterStyle=styleSeperator
X=10
Y=52
W=190
H=1

[meterUploadLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=60
W=190
H=14
Text=Upload

[meterUploadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureNetOut
X=200
Y=0r
W=190
H=14
Text=%1B/s
NumOfDecimals=1
AutoScale=1
; Because measureIP returns the current upload speed in bytes, we must use AutoScale=1 to
; automatically scale the value into a more readable figure.

[meterUploadBar]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureNetOut
X=10
Y=72
W=190
H=1

[meterDownloadLabel]
Meter=String
MeterStyle=styleLeftText
X=10
Y=80
W=190
H=14
Text=Download

[meterDownloadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=measureNetIn
X=200
Y=0r
W=190
H=14
Text=%1B/s
NumOfDecimals=1
AutoScale=1

[meterDownloadBar]
Meter=Bar
MeterStyle=styleBar
MeasureName=measureNetIn
X=10
Y=92
W=190
H=1
out of the debug I (thought) I found the real interfaces:

Code: Select all

[b]DBUG (17:46:06.882) : 23: Intel(R) Ethernet Connection I219-LM
DBUG (17:46:06.883) :   Alias: Ethernet_Laptop[/b]
DBUG (17:46:06.883) :   Type=Ethernet(6), Hardware=Yes, Filter=No

DBUG (17:46:06.894) : 31: ASIX AX88179 USB 3.0 to Gigabit Ethernet Adapter
DBUG (17:46:06.894) :   Alias: Ethernet_EXTERN
DBUG (17:46:06.894) :   Type=Ethernet(6), Hardware=Yes, Filter=No

[b]DBUG (17:46:06.896) : 33: Realtek USB GbE Family Controller
DBUG (17:46:06.896) :   Alias: Ethernet_FIDECO
DBUG (17:46:06.897) :   Type=Ethernet(6), Hardware=Yes, Filter=No[/b]

DBUG (17:46:06.897) : 34: Apple Mobile Device Ethernet
DBUG (17:46:06.898) :   Alias: Ethernet
DBUG (17:46:06.898) :   Type=Ethernet(6), Hardware=Yes, Filter=No

DBUG (17:46:06.898) : 35: DisplayLink Network Adapter NCM
DBUG (17:46:06.899) :   Alias: Ethernet 3
DBUG (17:46:06.899) :   Type=Ethernet(6), Hardware=Yes, Filter=No

DBUG (17:46:06.900) : 36: Remote NDIS6 based Device
DBUG (17:46:06.900) :   Alias: Ethernet 4
DBUG (17:46:06.901) :   Type=Ethernet(6), Hardware=Yes, Filter=No

DBUG (17:46:06.925) : 55: Intel(R) Dual Band Wireless-AC 8260
DBUG (17:46:06.926) :   Alias: WLAN
DBUG (17:46:06.926) :   Type=IEEE802.11(71), Hardware=Yes, Filter=No
and 55 should be wifi.
but the wifi ip is IPv4-Adresse: 172.29.79.219
IPv4-DHCP-Server: 149.238.213.25
IPv4-DNS-Server: 149.238.213.25

and rainmeter shows: 149.238.52.10

?!?!
User avatar
SilverAzide
Rainmeter Sage
Posts: 2588
Joined: March 23rd, 2015, 5:26 pm

Re: Network.ini with multiple Network Interfaces?

Post by SilverAzide »

If you are asking about the [measureIP] measure, that measure is returning your external IP address, not your internal IP address. It is not clear from your post which address you are expecting.
Gadgets Wiki GitHub More Gadgets...
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Network.ini with multiple Network Interfaces?

Post by jsmorley »

SilverAzide wrote:If you are asking about the [measureIP] measure, that measure is returning your external IP address, not your internal IP address. It is not clear from your post which address you are expecting.
Right, and presumably that is not going to change based on which network interface you are accessing the outside world with, assuming they all access the world via the same modem / router / gateway.

YourPC >> YourNetworkInterface >> YourLANIPGivenByRouter >> YourRouter >>RouterGatwayIP >> DMZ >> ExternalIPGivenByISP >> TheBigWideWorld

Every device in my house, and god knows I have many, has a unique LAN IP address on my router. They all have exactly the same external IP address as far as the outside world is concerned. The single external (WAN) IP address is assigned to your router by your ISP, not to your device. Getting stuff from the world to and from the right device on your LAN is why there ARE routers.

Note that your device, your PC or your phone or tablet or whatever, literally CAN'T know the external IP address. That is owned by, and only the business of, the external connection between your router and your ISP. In fact, not even your router can know this IP address. Only your ISP can. That is why Rainmeter skins, and oh by the way, any other application that can tell you your external IP address, must do so by connecting to some external site that can see it, and have that site return the value to you as text.