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 September, 2017

Reminder to self: brew update needs re-accepting the xcode license agreement

Posted by jpluimers on 2017/09/29

Even though I have accepted this before, I needed to accept it again:

$ brew-update-ugprade 
Error: You have not agreed to the Xcode license. Please resolve this by running:
  sudo xcodebuild -license accept
$ sudo xcodebuild -license accept
Password:
$ brew-update-ugprade

–jeroen

Posted in Apple, Development, Home brew / homebrew, Power User, Software Development, xCode/Mac/iPad/iPhone/iOS/cocoa | Leave a Comment »

On my research list: connecting Fritz!Box devices together into a virtual PBX

Posted by jpluimers on 2017/09/29

I’ve some Fritz!Box devices on various locations that each provide VoIP access and either ISDN or PSTN lines.

Wouldn’t it be cool to be able to join them together into a virtual PBX?

I’m not sure how it’s possible and what you need for it, so here are some links that should make my future research on this easier:

–jeroen

Posted in Fritz!, Gigaset, Internet, ISDN, LifeHacker, Power User, PSTN, Telephony, VoIP | Leave a Comment »

Siemens GigaSet DX600A TCP port 650 protocol looks like old-school AT commands…

Posted by jpluimers on 2017/09/29

While playing around with nmap to view some of my IoT^w LoT devices, I found out my Siemens GigaSet DX600A ISDN (yes: ISDN; I’m an old fart) has these two ports open:

PORT    STATE SERVICE VERSION
80/tcp  open  http    Siemens Gigaset A580, DX800A, or S450 VoIP phone http config
| http-methods: 
|_  Supported Methods: GET POST
|_http-server-header: 
| http-title: Site doesn't have a title (text/html).
|_Requested resource was http://dx600a-isdn.pso71.local/login.html
650/tcp open  telnet  Gigaset telnetd
MAC Address: 7C:2F:80:15:D6:10 (Gigaset Communications GmbH)
Device type: general purpose
Running: Linux 2.6.X
OS CPE: cpe:/o:linux:linux_kernel:2.6
OS details: Linux 2.6.13 - 2.6.32

I’m going to play with port 650 later as it looks like it supports an AT command protocol(on Windows the GigaSet QuickSync TAPI driver translates TAPI to AT commands) so it should be possible to do all kinds of cool stuff with it.

These links should help ans it should work with the DX800A as well:

–jeroen

Posted in DECT, Gigaset, ISDN, Power User, PSTN, Telephony | Leave a Comment »

Oops: OF: /soc/usb at 7e980000: could not get #phy-cells for /phy

Posted by jpluimers on 2017/09/28

 

kvm [1]: Invalid trigger for IRQ4, assuming level low
OF: /soc/usb at 7e980000: could not get #phy-cells for /phy

Via [WayBack] Oops. – Jeroen Wiert Pluimers – Google+

This was after updating my Raspberry Pi 3 with Tumbleweed to 20170920.

Not sure what do do now. Some searches didn’t reveal much:

–jeroen

Posted in *nix, Development, Hardware Development, Linux, openSuSE, Power User, Raspberry Pi, SuSE Linux, Tumbleweed | Leave a Comment »

IANA Service Name and Transport Protocol Port Number Registry

Posted by jpluimers on 2017/09/28

Cool! Search by port number, name, user or description straight from the source: IANA.org Service Name and Transport Protocol Port Number Registry

Posted in Communications Development, Development, Internet protocol suite, Network-and-equipment, Power User, TCP | Leave a Comment »

mention-bot (Mention Bot) – automagically mentions potential review users for a pull request depending on context

Posted by jpluimers on 2017/09/28

mention-bot (Mention Bot) is cool!

It mentions potential review users on a pull-request depending on the context (currently: if the users have lines deleted by the pull request or have enough blame presence around the modified lines in the pull request).

First saw it used here: https://github.com/libssh2/libssh2/pull/144#issuecomment-257244996

It has source code at facebook/mention-bot: Automatically mention potential reviewers on pull requests.

And there is mention-bot/how-to-unsubscribe

–jeroen

Posted in Continuous Integration, Development, DVCS - Distributed Version Control, git, GitHub, Power User, Software Development, Source Code Management | Leave a Comment »

How I use Linux to write software for multiple target platforms using Wine, Delphi 7, Lazarus and Delphi Berlin

Posted by jpluimers on 2017/09/27

How I use Linux to write software for multiple target platforms – Kris Kamil Jacewicz – Google+

WINE has come a long way. Many things do not have a native look and feel, but so do many Delphi FMX or Lazarus LCL applications.

In fact I use quite a few tools (including Mikrotik WinBox) through Wine on Mac OS and it runs a lot more stable than quite a few of the FMX applications I’ve tried and ditched.

So for business applications not requiring a platform specific look and feel this indeed is quite acceptable direction to follow.

More at http://kriscode.blogspot.tw/2016/10/how-i-use-linux-to-write-software-for.html

–jeroen

Posted in Delphi, Development, Software Development | 2 Comments »

How does one configure Notepad++ to use spaces instead of tabs? – Stack Overflow

Posted by jpluimers on 2017/09/27

The StackOverflow screenshot it out-dated so a new one is below.

  1. In the Settings menu, choose Preferences...
  2. In the Preferences dialog, choose Language
  3. Ensure the (default empty) Replace by space checkbox is checked
  4. Optionally change the Tab size from 4 to another suitable value

I prefer these settings: 

via: How does one configure Notepad++ to use spaces instead of tabs? – Stack Overflow [WayBack]

–jeroen

Read the rest of this entry »

Posted in Notepad++, Power User, Text Editors, Windows | 1 Comment »

Mikrotik – viewing when users logged in/out (on/off) when logging is high-volume

Posted by jpluimers on 2017/09/27

When logging on a Mikrotik is high-volume, then you need to have either:

  • separate logging actions (they end up in logging buffers each having the same name as the action) and logging rules for specific information that you want to retain
  • log to file in stead of memory

Since my devices have plenty memory, I made a separate accountAction with a rule sending the topic account to accountAction which I then can query like either of these:

/log print detail where message~"logged"

/log print detail where message~"logged" && buffer=accountAction

Here is the /system logging export condensed result:

/system logging action add name=accountAction target=memory
/system logging add action=accountAction topics=account

–jeroen

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

KPN CPS (carrier pre select) code is 1655

Posted by jpluimers on 2017/09/26

Since the CPS I used was increasing the subscription cost to above zero, the the price difference to KPN was too large, so I wanted to switch back and needed the KPN CPS code.

From [WayBackHet verschil tussen WLR en CPS I found out the CPS code for KPN is 1655.

Then I called 0800-1273 to set it back and then verified it was set back for all destinations on all ISDN numbers.

It’s time to research how to move away from ISDN anyway, but that’s a different story.

–jeroen

Posted in ISDN, LifeHacker, Power User, PSTN, Telephony | Leave a Comment »