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 1,860 other subscribers

Archive for the ‘Hardware’ Category

First/Last-Tab: Ctrl-1/9 (or Command-1/9): Switch Between Tabs in Any Browser Using Shortcut Keys

Posted by jpluimers on 2021/12/10

Only recently, I learned this works on just about any web-browser:

  • Ctrl-9 (macOS: Command-9) goes to LAST tab
  • Ctrl-1 (macOS: Command-1) goes go FIRST tab

Via: [WayBack] Switch Between Tabs in Any Browser Using Shortcut Keys

For those keyboard ninjas who hate using the mouse, switching between tabs in your browser window is essential since most people probably have a bunch of tabs open at once. […]

If you want to go to a specific tab, you can press CTRL + N, where N is a number between 1 and 8. Unfortunately, you can’t go past 8, so if you have more than eight tabs, you’ll have to use a different keyboard shortcut or just click on it. CTRL + 9 will take you to the last tab, even if there are more than 8!

–jeroen

Posted in Chrome, Firefox, Internet Explorer, Keyboards and Keyboard Shortcuts, Opera, Power User, Safari, Web Browsers | Leave a Comment »

Splitting the ping

Posted by jpluimers on 2021/12/09

Cool tool that shows the asymmetric timing character of networks (usually because the send and receive paths are different): [Wayback] Splitting the ping

split-ping is a tool that can tell you what direction packet latency or loss is on. This is handy for network debugging and locating congestion.

The blog above explains the reason and details in great depth. Recommended reading.

Source code: [Archive.is] benjojo/sping: Split ping, see what direction the loss or latency is on

It is supposed to work better than [Wayback] cmds/isoping.cc – vendor/google/platform – Git at Google

 * Like ping, but sends packets isochronously (equally spaced in time) in
 * each direction.  By being clever, we can use the known timing of each
 * packet to determine, on a noisy network, which direction is dropping or
 * delaying packets and by how much.
 *
 * Also unlike ping, this requires a server (ie. another copy of this
 * program) to be running on the remote end.

Via:

–jeroen

Read the rest of this entry »

Posted in Development, Go (golang), Network-and-equipment, Power User, Software Development | Leave a Comment »

console convert pcap to wav: not easily possible; use the WireShark GUI to do

Posted by jpluimers on 2021/12/01

Wanting a simple way on the console to convert a .pcap file to a .wav file, I searched for [Wayback] console convert pcap to wav – Google Search.

The reason is that [Wayback] fritzcap (written in Python) sometimes crashes while doing the conversion of a phone recording, so then only the .pcap file is available. I still want to figure this out, but given my health situation, I might not be able to in time.

Read the rest of this entry »

Posted in *nix, *nix-tools, Audio, Development, ffmpeg, Fritz!, Fritz!Box, fritzcap, Hardware, Media, Network-and-equipment, Power User, Python, Scripting, Software Development, Wireshark | Leave a Comment »

75 Funny Wifi Names (besides Disconnected and Access Denied)

Posted by jpluimers on 2021/11/26

[WayBack] 75 Funny Wifi Names (as I already run “Disconnected” and “Access Denied”).

Related blog posts:

–jeroen

Posted in Fun, Network-and-equipment, Power User, WiFi | Leave a Comment »

PiKVM v3 HAT by Maxim Devaev » Shipping in progress — Kickstarter

Posted by jpluimers on 2021/11/22

Oh cool: should arrive during the holiday season:

~500pc have been shipped to the backers in the USA and CanadaWe are planning to ship ALL pledges that don’t contain the case by Nov, 19.We are planning to ship ALL pledges that include the case by Dec, 3.Depending on your location it might take from a couple of days to a couple of weeks to actually receive the shipments.Important: we send a notification with a tracking number for every shipment. Please check your Spam folder from time to time.

Source: [Wayback/Archive] PiKVM v3 HAT by Maxim Devaev » Shipping in progress — Kickstarter

Documentation is at [Wayback/Archive] PiKVM v3 HAT guide – PiKVM Handbook via [Wayback/Archive] Thank you for buying PiKVM v3 HAT! showing that the ATX case bracket needs to be 3D-printed separately:

Read the rest of this entry »

Posted in Hardware, KVM keyboard/video/mouse, PiKVM / Pi-KVM, Power User | Leave a Comment »

GitHub – JanDerogee/TeleJukebox: A project based on the concepts of the Wonderfoon and Arduinofoon

Posted by jpluimers on 2021/11/18

[Wayback/Archive.is] GitHub – JanDerogee/TeleJukebox: A project based on the concepts of the Wonderfoon and Arduinofoon which simplfies the design of the Wonderfoon keeping the most important music playback feature down to

a simple PCB in a small case where you plug the phone in

The completed project works very simple:

  • Pick up the phone, you hear the “dial tone” MP3, Dial a number, you hear the MP3 0..9 playing (depending on the dialed number), When the song is over, you hear the “disconnected” MP3, You can dial another number and hear another song or hang up the phone.
  • Some phones also have a button on the front. When you press this button, the phone randomly playes one of the songe 0..9 and when that song is over, it automatically plays a new song, randomly. This will allow the person on the phone to continuously listen to the music. This may be of help to those who can’t figure out how it works but love to hear the songs over and over again.
  • You can configure the music folder from which the MP3s are played, you can use up to 10 different folders
  • You can configure the volume of the device
  • Configurations are done through the phone itself (dial 738 OR hold the button while picking up the handpiece), you hear a voice that guides you through a menu and all you need to do is dial in your settings value.

You can power this design through a USB port cable. This way the device can be fed using a simple mobilephone charger OR be connected to the PC. When connected to a PC, the TeleJukebox identifies itself like a USB-stick and you can easily modify the file without removing the card from the system. Meaning that you do no even need to open the case in order to change the collection of MP3 files. Keep in mind that when the device is in USB-stick mode, it cannot playback MP3 files meaning that in this mode it will not act like a TeleJukebox.

Music rights

Especially when using this in a professional environment. be sure the music that plays is rights free (there are music therapists for treating people with Alzheimer’s and dementia that can help you with that).

Steps, reasoning, and building instructions

A less in depth Dutch article (with 13 minute explaining video below) explaining most of the steps and all the reasoning is this multi-part one:

  1. [Wayback] .Build – Bouw een Wonderfoon – Bouw een Wonderfoon voor iemand anders – Achtergrond – Tweakers

    It works with these and younger phones as long as they can do pulse-dialing:

    De T65, W65 en T65 TDK

  2. [Wayback] .Build – Bouw een Wonderfoon – Wat is een Wonderfoon? – Achtergrond – Tweakers

    The small regular and debug boxes under the PTT/KPN phone connector box:

    .Build Wonderfoon - Twee keer TeleJukebox

  3. [Wayback] .Build – Bouw een Wonderfoon – Een goedkopere variant – Achtergrond – Tweakers
  4. [Wayback] .Build – Bouw een Wonderfoon – Slopen is zonde – Achtergrond – Tweakers

    Both boards with electronics soldered:

    .Build Wonderfoon - Beide varianten van de TeleJukebox

    The non-debug board with components to be soldered:

    .Build Wonderfoon - Onderdelen TeleJukebox

  5. [Wayback] .Build – Bouw een Wonderfoon – T65 bewerken – Achtergrond – Tweakers

    The small cleanup and modification steps (shorting the microphone) for the T65 phone:

    .Build Wonderfoon - Contact haakT65 schoonmaken.Build Wonderfoon - Contact haakT65 schoonmaken

    .Build Wonderfoon - Aansluitingen T65.Build Wonderfoon - Aansluitingen T65.Build Wonderfoon - Aansluitingen T65.Build Wonderfoon - Aansluitingen T65

  6. [Wayback] .Build – Bouw een Wonderfoon – Solderen maar! – Achtergrond – Tweakers

    Schematics:

    .Build Wonderfoon - Schema TeleJukebox

    Shopping list:

    – 1x Pcb of perf board (€ 1,01)
    – 1x Arduino Pro Micro (€ 7,95)
    – 1x DFPlayer mp3-speler(€ 0,73)
    – 1x TIL111 optocoupler (€ 0,41)
    – 2x Weerstand 4K7 Ohm (€ 0,16)
    – 7x Weerstand 2K7 Ohm (€ 0,56)
    – 1x Weerstand 560 Ohm (€ 0,08)
    – 1x Elco 1000 µF 6.3 V (€ 0,23)
    – 1x Condensator 330nF (€ 0,13)
    – 1x Condensator 100nF (€ 0,05)
    – 2x Led (€ 0,06)
    – 1x USB, type B, pcb (€ 0,67)
    – 1x Tactile switch (€ 0,09)
    – 1x Pinheader, male, 6 breed (€ 0,03)
    – 4x Jumper kabel, female (€ 1,95)
    – 1x Micro sd-kaart (€ 2,50)
    – 1x PTT-wandcontactdoos (€ 2,99)
    – 1x Behuizing (€ 1,22)
    Totaal € 20,82

    Voor de compacte pcb kun je de switch, een led, een weerstand van 2k7 Ohm en de twee weerstanden van 4k7 Ohm weglaten.

  7. [Wayback] .Build – Bouw een Wonderfoon – Voor wie gaat hij worden? – Achtergrond – Tweakers

    The inside of the non-debug box:

    .Build Wonderfoon - TeleJukebox

 

Wonderfoon got more versatile

Note that the most recent Wonderfoon products got more versatile allowing more songs, warnings for taking pills, and ring-reminders based on morse code.

[Wayback] Home | Wonderfoon

. De Wonderfoon-Centrale

–jeroen

Read the rest of this entry »

Posted in Arduino, Arduino, Development, ESP32, ESP8266, ESP8266X, Hardware, Hardware Development, Hardware Interfacing, Raspberry Pi, Software Development | Leave a Comment »

Some links on Wireguard as DHCP clients were not supported back then yet

Posted by jpluimers on 2021/11/12

Wireguard seems more light-weignt and secure than OpenVPN and IPsec. So I’m anxious to know how it is supposed to work for road warriors that often depend on receiving DHCP addresses into the network of the VPN server.

Some links that hopefully get me started to install a Wireguard VPN server and provide services to road warrior clients.

First the Twitter thread that got me investigating:

Then some links I found:

–jeroen

Read the rest of this entry »

Posted in Hardware, Network-and-equipment, Power User, Tailscale, VPN, Wireguard | Leave a Comment »

In case I ever need to jail-break a Mikrotik device

Posted by jpluimers on 2021/11/02

Some links in case I ever need to jail-break a Mikrotik device:

–jeroen

Posted in Development, Internet, MikroTik, Power User, routers, Software Development | 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 »

M.2 SSD PCIe 3.0×4 vs 2.0×4 | Tom’s Hardware Forum

Posted by jpluimers on 2021/10/27

I wanted to know the influence of PCIe versions to NVMe support, and found [Archive.is] M.2 SSD PCIE 3.0×4 vs 2.0×4 | Tom’s Hardware Forum answering:

You already know that the Z97 motherboard has one M.2 port. The problem is there are several M.2 variations. Here are the current possibilities:

M.2 3.0 x4 – State of the art M.2 SSD that uses 4 PCIe 3.0 channels for proper operation. The M.2 port on the motherboard is sometimes referred to as an Ultra M.2 port. It is the appropriate port for the Samsung 950 Pro SSD.

There are other M.2 SSDs that either use PCIe 2.0 or use fewer PCIe channels:

  • M.2 2.0 x4
  • M.2 2.0 x2
  • M.2 SATA 3

You will need to check your motherboard manual or the company web site to determine if the M.2 port can support an M.2 3.0 x4 SSD like the 950 Pro. A lot of the Z87 and Z97 motherboards had M.2 ports for M.2 2.0 x2 SSDs that would not fully support an M.2 3.0 x4 SSD. With the exception of ASRock, the other motherboard manufacturers did not do a very good job of fully identifying the M.2 ports. You will have to find a little more information about the M.2 port on your motherboard. Hopefully the information is in the owner’s manual or the manufacturer’s web site.

The addition of M.2 ports on the the motherboard required the use of additional PCIe channels. Unfortunately Intel resisted adding chipset support for additional PCIe channels until recently. The lack of a sufficient number of PCIe channels resulted in some awkward solutions:

  • Some motherboards reduced the number of channels available to graphic cards. The cards might be reduced from PCIe 3.0 x16 down to PCIe 3.0 x8. Graphic card performance is reduced by about 5%. That is not a terrible hit in performance.
  • Some motherboards reduce the number of SATA 3 ports that are available. For example,the MSI Z107 Titanium motherboard has two M.2 3.0 x4 ports. If I install a 950 Pro in each port, then all of the standard SATA ports are disabled except for two ports. The M.2 ports do not reduce the performance of graphic cards
  • Some high end motherboards add an expensive PLX chip to handle M.2 SSDs. An example would be the ASRock Z97 Extreme9 motherboard. The PLX provides direct data transmission between the M.2 SSDs and the cpu. It is actually possible to run two graphic cards in SLI at PCIe 3.0 x16 each and still be able to run two M.2 SSDs.

The Samsung 950 Pro uses the new NVMe protocol instead of AHCI. A motherboard would have to have a UEFI BIOS, an Intel chipset, and a Microsoft Windows operating system that support the NVMe protocol. You would have to do the following:

  • Check for any BIOS updates. Sometimes the updates include new and improved support for the NVMe protocol.
  • Check for any Intel chipset updates. Sometimes the updates include new and improved support for the NVMe protocol.
  • Windows 7, 8, and 10 can support the NVMe protocol. Again you will have to check for updates or fixes that can improve NVMe support. NVMe is new so things could get a little complicated.
  • Finally Samsung has issued their own NVMe driver for the 950 Pro. Reviews and articles indicate the Samsung NVMe driver is better than the Windows NVme drivers.

Some modern motherboards still provide a PCIe 2.0 slot. That does not mean you should purchase a PCIE 2.0 SSD or an M.2 SSD with an adapter card. M.2 3.0 x4 SSDs are backwards compatible.

It might be confusing but for all practical purposes it is just a matter of checking requirements and specifications.

Note I have bulleted some entries for readability and bolded some text relevant to some motherboards I still have running and fixed some typos.

On connectors and B/M keying:

Read the rest of this entry »

Posted in Hardware, NVMe, Power User, SSD | Leave a Comment »