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

Repair a Broken Ethernet Plug – All

Posted by jpluimers on 2017/06/09

The locking tab of RJ45 plugs breaks very easily. Replace it by two nylon cable ties (aka zip ties), in minutes. IMPORTANT NOTES: – This must be regarded as a temporary “Mac Gyver” solution, for home usage. – Definitely not for IT staff! (no crimper? asking for one in the budget won’t get you fired!) – Before the tab breaks, consider protecting the plug.

Source: Repair a Broken Ethernet Plug – All

via:  Now that’s very cool!! – Joe C. Hecht – Google+

Read the rest of this entry »

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

Mikrotik scripting language: a list of questions I had linking to the forum messages having answers

Posted by jpluimers on 2017/06/08

The RouterOS scripting language you can use on Mikrotik device immediately shows it’s origin: the console.

  • It is a statement oriented language where statement separators can be both semicolons and new-lines.
  • You can use the \ at the end-of the line as line-continuation character effectively spreading statements over multiple lines.

As promised some links to questions I asked:

Some questions by others that were also extremely useful:

And a few observations:

  • Functions do not need to be global. The RouterOS Scripting Manual paragraph on functions shows an example with :global that works just as fine with :local
    :local myFunc do={:put "hello from function"} 
    $myFunc
     
    # output: 
    # hello from function
  • a

–jeroen

Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | 1 Comment »

APC 7xxx models, DHCP Option 43 and Mikrotik DHCP servers

Posted by jpluimers on 2017/06/07

When switching my DHCP to a Mikrotik CCR1009, both the AP7920 and AP7921 failed to get IP addresses. The APC7921 would look bounce between waiting and offered states like this:

The cause is the need of DHCP Option 43 (Vendor Class Identifier) specified in RFC2132 – based on [WayBack] RFC 2131 – Dynamic Host Configuration Protocol and [WayBackRFC 1533 – DHCP Options and BOOTP Vendor Extensions – which I found first via these links:

Read the rest of this entry »

Posted in Development, Internet, MikroTik, Power User, RouterOS, routers, Scripting, Software Development | 3 Comments »

Reminder to self: when your PPTP server is behind a NAT, forward both GRE protocol and TCP port 1723

Posted by jpluimers on 2017/06/06

The WAN sides of my Mikrotik CCR1009 are partly behind Fritz!Box routers that do NAT and contain a truckload of port-forwards.

A while ago, I wanted the CCR1009 to do PPTP as Fritz!Box 7360 and 7490: static routes over VPN don’t work (so I could only VPN to the WAN side of the CCR1009). However, it would not pass through the Fritz!Box from the outside.

It appears you need to forward both:

Maybe one day I will ditch the Fritz!Box 7490 and directly hookup the Mikrotik to the NTU: xs4all ftth en Mikrotik router – Google Groups.

But preferably I should follow Don’t use PPTP, and don’t use IPSEC-PSK either (via: CloudCracker blog)

–jeroen

via: VPNs einrichten mit PPTP – administrator.de: Achtung mit PPTP VPN Servern hinter NAT Firewalls !

Forward both PPTP TCP port 1723 and the GRE protocol

Forward both PPTP TCP port 1723 and the GRE protocol

Posted in Fritz!, Fritz!Box, Fritz!WLAN, Internet, IPSec, MikroTik, Network-and-equipment, Power User, PPTP, routers, VPN | Leave a Comment »

FRITZ!Box tuning part 1: Enable remote access over ssh

Posted by jpluimers on 2017/06/05

Interesting:

As I always try to maximize the usage of new hardware I started to explore what is possible with this combination. In this post I will explain how you get access to your FRITZ!Box using ssh.

Source: FRITZ!Box tuning part 1: Enable remote access over ssh [WayBack]

–jeroen

Posted in Fritz!, Fritz!Box, Internet, Power User | Leave a Comment »

This is why nobody upgrades their consumer IoT, router, etc firmware…

Posted by jpluimers on 2017/06/02

Just one example; it applies to virtually all consumer IoT and routers I know: upgrading is hard especially if it’s undocumented on how to keep your configuration.

–jeroen

Posted in Internet, IoT Internet of Things, Power User, routers, TomatoUSB | Leave a Comment »

Two ScanSnap ix500 tips: cleaning the scanner and preparing the paper for scanning

Posted by jpluimers on 2017/05/25

For my own reference:

–jeroen

Read the rest of this entry »

Posted in Fujitsu ScanSnap, Hardware, ix500, LifeHacker, Power User, Scanners | Leave a Comment »

CheatSheet for Readline keyboard shortcuts for bash, bc, ftp, gnuplot, gpg, ksh, mysql, psql, python, smbclient, xmllint and zsh

Posted by jpluimers on 2017/05/24

Cool: someone made a CheatSheet for Readline keyboard shortcuts for bash, bc, ftp, gnuplot, gpg, ksh, mysql, psql, python, smbclient, xmllint and zsh [WayBack] of the GNU Readline library [WayBack].

–jeroen

Posted in *nix, *nix-tools, Keyboards and Keyboard Shortcuts, Power User | Leave a Comment »

What to change after a fresh Delphi (RAD Studio) installation…

Posted by jpluimers on 2017/05/23

Reminder to self: document what I change, and borrow some from this interesting thread:

Just curious, what do you change after installing Studio? During all these (21!) years, the only thing I change is the editor keyboard settings to… – David Berneda – Google+

–jeroen

Posted in Delphi, Development, Keyboards and Keyboard Shortcuts, Power User, Software Development | Leave a Comment »

People have been asking about the fact I use old Xeon boxes for my development…

Posted by jpluimers on 2017/05/19

An interesting discussion on Xeon based 2nd hand systems that are way cheaper than new ones:

[WayBack] People have been asking about the fact I use old Xeon boxes for my development platforms (and indeed more). I want to cover what I use, why I use them, … – Alan Cox – Google+

I still run a couple of HP XW6600 workstations with [WayBackE5420 processors (of the [WayBackHarpertown family) to host VMs on. Works splendid.

–jeroen

Source: [People have been asking about the fact I use old Xeon boxes for my developmen…1919

Posted in Hardware, HP XW6600, LifeHacker, Power User, Virtualization | Leave a Comment »