The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,569 other followers

Archive for October, 2021

During next night, it is time to move the clock, hopefully for the last time

Posted by jpluimers on 2021/10/30

Wasn’t the European Union going to stop moving clocks twice a year? Yup, as of it 2021 it should have stopped with the [Wayback] Seasonal clock change in the EU | Mobility and Transport.

But then Brexit came along, followed by Covid-19, and earlier 2021, this happened: [Wayback] Clock stops on EU plan to scrap daylight savings time

Contentious move to abolish mandatory seasonal clock changes ‘not top priority now’

So tomorrow it is winter time again, and we need to move the clock, hopefully for the last time, but  hopefully not like in the mirror of the Dutch comic DirkJan – Wikipedia by [WayBackAnnelies Hofstede on Twitter: “… “, which is done transitioning to Winter time – Wikipedia:

This is the original summer time version of the DirkJan comic:

Background information and similar comics are at Likely the end of a tradition… ᴊᴏᴏsᴛ su Twitter: “Dear Mr. Juncker, you may not know this but here in Holland we have Dirk-Jan and it is tradition to read this comic twice a year don’t take this away from us it’s the only non-racist tradition we have!!!! Please!!!!!…”.

–jeroen

Posted in Fun, LifeHacker, Power User | Leave a Comment »

Windows: unblocking SMB/NetBIOS/CIFS/File-and-Printer-sharing traffic from other subnets

Posted by jpluimers on 2021/10/29

If you enable File and Printer sharing on Windows, by default the firewall only enables it on private networks for the local subnet as remote address (for domain networks, it allows “Any”) as seen on the picture below.

When your network consists of multiple subnets, for instance when it is large, or multiple sites are connected via site-to-site VPN (often called LAN-to-LAN VPN) solutions, then these subnets cannot access each others files or printers.

Realising these default blocks, they are easy to resolve as explained in for instance [WayBack] Windows firewall blocking network shares through VPN server – Server Fault by [WayBack] Brian:

I realize this is almost three years late, but I just spent today fighting with the same problem. I did get it working, so I figured I’d share. Note that I’m using a Windows 7 PC as the file server; other versions might need slightly different configuration.

In the “Windows Firewall with Advance Security”, there are several “File and Printer Sharing” rules:

  • File and Printer Sharing (NB-Datagram-In)
  • File and Printer Sharing (NB-Name-In)
  • File and Printer Sharing (NB-Session-In)
  • File and Printer Sharing (SMB-In)

(There are additional rules, but I didn’t care about printer sharing. The same changes would apply if you want those.)

File and Printer Sharing appears to default to “Local subnet” only. You’ll need to add the subnet of your VPN clients.

Modify each of those rules as follows:

  1. Open the Properties dialog for the rule.
  2. Navigate to the Scope tab.
  3. In the Remote IP address section, the “These IP addresses” radio button should be selected.
  4. Click “Add…” next to the list of addresses. By default, only “Local subnet” is in the list.
  5. In the “This IP address or subnet:” field, enter the subnet assigned to your VPN clients (this is probably 192.168.1.0/24 in the OP, but if not, it’s the subnet assigned to the VPN adapter on the client side), then click OK.
  6. If you’re also using IPv6, add the VPN client IPv6 subnet as well.

That was enough for me to access file shares over the VPN.

(If you want to do it manually, you need to open TCP ports 139 and 445, and UDP ports 137 and 138, in the file server’s firewall.)

Hopefully I will find some time in the future to automate this using PowerShell, as netsh names are localised do hard to make universal.

These links might help me with that:

Read the rest of this entry »

Posted in Communications Development, Development, Internet protocol suite, Power User, SMB, TCP, Windows | Leave a Comment »

Happy 25th birthday Internet Archive! Thanks Brewster for setting it in motion.

Posted by jpluimers on 2021/10/29

View the short video about the first crawl back in 1996:

Then head to anniversary.archive.org and enjoy more bits of its history.

One of the first articles: [Wayback] Archive.is: Brewster Kahle . In Scientific American (no original on-line at archive.org any more [Wayback/Archive.is])

–jeroen

Posted in Uncategorized | Leave a Comment »

Rebrickable (@Rebrickable) | lets you easily find official or custom sets you can build using your existing LEGO sets and provides all building instructions

Posted by jpluimers on 2021/10/29

Via [WayBack] Thread by @Foone: “stupid project I’ve thought about making for years: You go through and index your lego box and enter in which bricks you have, and it calcul […]”

stupid project I’ve thought about making for years:
You go through and index your lego box and enter in which bricks you have, and it calculates which sets you probably had.
it’s basically a big nostalgia tool for all us nerds in our 30s who have those few distinctive parts but can’t remember which set they got them in because they were only 5 at the time.
Thanks to @ProfBrickkeeper I now know that this pretty much already exists:
twitter.com/Rebrickable
you tell it what pieces you have and it finds official or unofficial sets you can build with them.

Neat!

I don’t know if it can do near-matches (like “you have 98% of the pieces you need for this set”) because you may have lost some parts, but it’s definitely a big step towards what I was wanting

[WayBack] Rebrickable (@Rebrickable) | lets you easily find official or custom sets you can build using your existing LEGO sets and provides all building instructions:

  • [WayBack] Rebrickable | Rebrickable – Build with LEGO

    Combine your old LEGO® to build new creations

    What can you build?

  • [WayBack] About Rebrickable | Rebrickable – Build with LEGO

    What is Rebrickable?

    Rebrickable will show you which LEGO sets you can build from the sets and parts you already own. You can choose from official LEGO sets or thousands of MOCs (My Own Creations) submitted by hundreds of designers. All MOCs include building instructions and full parts lists.

    I HAVE THIS

    +

    AND A BUNCH OF THESE

    =

    I CAN BUILD THIS, YAY!

    Unless you have a LOT of sets, you will usually be missing a few pieces. In these cases Rebrickable will show you exactly what you are missing and even provide suggested sets that you could buy which will get you those pieces – effectively showing you how to buy two sets for the price of one!

 

–jeroen

Read the rest of this entry »

Posted in Fun, LifeHacker, Power User | Leave a Comment »

DELL fans use a different pin-layout than normal fans, so watch out before connecting them!

Posted by jpluimers on 2021/10/28

Some links on IBM X-series and DELL versus standard fan pin lay-outs (one day I will try to merge them into a better overview story):

  • [Wayback] 3 pin and 4 pin Fan Wire Diagrams | Cooler Master FAQ

    3 pin Fan Connections
    *cable coloring varies from fan to fan

    User-added image

    Pin Name Color Color Color Color
    1 Ground Black Black Gray Black
    2 +12v Red Black Gray Yellow
    3 Tach/Signal/Sense Yellow Black Gray Green

    4 pin Fan Connections
    *cable coloring varies from fan to fan

    User-added image

    Pin Name Color Color Color Color
    1 Ground Black Black Gray Black
    2 +12v Red Black Gray Yellow
    3 Tach/Signal/Sense Yellow Black Gray Green
    4 Control/PWM Blue Black Gray Blue
  • [Wayback] IBM X-series system fan connectors: sysxfanconn.png

  • [Archive.is] Solved: 780, CPU fan pin out – Dell Community
    Dell sometimes swaps the wires around so that you will fry a dell fan on standard and the other way round.
    It has 5 pins but only 4 wires are used.
    Dell does not publish this. And some dells use standard wiring.
    I believe this is correct.
    YMMV
    4PINS.png4pin PWM on 3 pin
    Dell MB
    Pin Number
    Function
    Dell wire color
    Std Fan
    Pin Number
    Std Fan wire color
    Description
    1
    Sens (TACH)
    White/Yellow
    3
    Green
    Sens (TACH)
    2
    +12v
    Red
    2
    Yellow
    +12v
    3
    Gnd
    Black
    1
    Black
    Gnd
    4
    PWM
    Blue
    4
    Blue
    PWM
    5
    Key
    unused
     
    DELLFANWIRES.pngDELL FAN WIRES AND COLORS

    [Archive.is] Solved: Fan pin out order – Dell Community

    The order is what is required for your specific model.
    I have seen no difference in the colors only the order of the pins.
    Note the Difference in this adapter.
    DELLFAN5.JPG
    So if your fan is NON standard you may need to remove the pins and re order them to be correct.  The fans are not any different only the wire order.
    Dell started making all the wires black so you cannot tell.  its not documented and its not the same on all dells all models all years.
    dell fans.jpgDELL VS INTEL FAN COLORSFANDAPTER.jpgDELL To Standard 4 pin adapterdellfanny2.jpgNote The KEYWAYdellfanny.jpgAnother ay to look at it
  • [Archive.is] Proprietary fan header issues – Dell Community
    Dell uses standard fans and the wires are swapped around in such a way that if you plug a standard fan onto the dell header you will fry the fan and the motherboard.
    None of this is documented.
    SOME models use standard wiring.
    Some Models use all black wires so you cannot tell.
    Dell Fan Wire  Black Red White or Yellow
    Dell 3 wire fan
    Dell 4 wire fan
    Dell 5 wire fan
    If you use adapter or re wire the standard fan to the way Dell does it there wont be any issues.
    Dell sometimes swaps the wires around so that you will fry a dell fan on standard and the other way round.
    It has 5 pins but only 4 wires are used.
    Dell does not publish this. And some dells now use standard wiring.
    I believe this is correct.
    YMMV
    4PINS.png4pin PWM on 3 pin
    Dell MB
    Pin Number
    Function
    Dell wire color
    Std Fan
    Pin Number
    Std Fan wire color
    Description
    1
    Sens (TACH)
    White/Yellow
    3
    Green
    Sens (TACH)
    2
    +12v
    Red
    2
    Yellow
    +12v
    3
    Gnd
    Black
    1
    Black
    Gnd
    4
    PWM
    Blue
    4
    Blue
    PWM
    5
    Key
    unused
     
    DELLFANWIRES.pngDELL FAN WIRES AND COLORS
    Dell does not use standard wiring or Pinouts on their fan headers.
    Dell fan wires are deliberately swapped round.
    PWM and Tach and 12v and Ground.
    For 3 wire they reverse 12v and tach. 
    Black Red White not
    Black White Red
    DELL3PIN.JPGDELL 3 PIN
    This can lead to self destruction for a dell fan on standard motherboard or the other way round.
    STANDARD.jpg
    This is the CPU FAN for Example.
    Dell MB
    Pin Number
    Function
    Dell wire color

    Pin #
    INTEL Fan wire color
    Description
    1
    Sens (TACH)
    White/Yellow
    3
    Green
    Sens (TACH)
    2
    +12v
    Red
    2
    Yellow
    +12v
    3
    Gnd
    Black
    1
    Black
    Gnd
    4
    PWM
    Blue
    4
    Blue
    PWM
    5
    Key
    unused
     
     
      
    DELLFANS.pngDELL FAN WIRING

–jeroen

Posted in Hardware, Power User | Leave a Comment »

 
%d bloggers like this: