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 May, 2016

Nice diskinfo alias showing du, df, btrfs, parted, lsblk

Posted by jpluimers on 2016/05/20

I bumped into a disk full issue again because of the btrfs/snapper combination in openSuSE and df basically lying about the disk space, so I w rote this Nice diskinfo alias showing du, df, btrfs, parted, lsblk.

You can combine this with A bash script to btrfs snapshot details like disk sizes (requires btrfs quota to be enabled) to find out which snapper snapshots take up a truckload of space and might be safely removed.

–jeroen

via: How can a partition be full if du does not show it is? (via: linux – Super User) #OpenSuSE #btrfs #snapshots « The Wiert Corner – irregular stream of stuff.

Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »

Android ADB over TCP/IP

Posted by jpluimers on 2016/05/19

Android ADB over TCP/IP can be a bit of a pain to setup. Some devices have a built-in option to enable this (by default on port 5555), otherwise you have to connect through USB first, then use ADB to enable TCP/IP:

adb tcpip 5555

I got it to work without being root, but on some devices you need to be.

See these links for more information:

Note that while writing this, ADB For Chrome could not run over TCP/IP.

–jeroen

Posted in Android, Android Devices, Development, Mobile Development, OnePlus One, Power User, Software Development | 2 Comments »

networking – Is there a command or application similar to ipconfig? – Android Enthusiasts Stack Exchange

Posted by jpluimers on 2016/05/18

Trick:

use “netcfg” to list all available devices

It will show you the IP addresses associated with them too.

On my OnePlus One, it was wlan0.

–jeroen

via networking – Is there a command or application similar to ipconfig? – Android Enthusiasts Stack Exchange.

Posted in Android, Android Devices, Development, Mobile Development, OnePlus One, Power User, Software Development | Leave a Comment »

Setting your DTAP environments apart: Push a solid colored background to a Windows Server 2012 or later | Tidbits of Information from Virot

Posted by jpluimers on 2016/05/17

This post summarises it nicely: [Wayback/Archive.is] Push a solid colored background to a Windows Server 2012 or later | Tidbits of Information from Virot.

I already knew about the one below, but the post above gives a more complete picture with:

  • Background color
  • Wallpaper
  • tells how to set the menu and

These I already knew:

–jeroen

 

Posted in Agile, Color (software development), Development, Power User, Software Development, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista, Windows XP | Leave a Comment »

MOnSter 6502

Posted by jpluimers on 2016/05/16

This is so impressive: MOnSter 6502 basically a 6502 on a PC board running at 100s of kHz.

via:

–jeroen

Posted in 6502, 6502 Assembly, Assembly Language, Development, History | Leave a Comment »

Windows RDP error 3489661694 when connecting from a Mac, connecting from Windows fails without any message

Posted by jpluimers on 2016/05/16

Connecting from Mac OS X edition of Microsoft Remote Desktop
Sometimes I connecting to various Windows systems over RDP fails. On Windows the mstsc (Remote Desktop Connection) application recognises the server has a certificate, presents you with a login dialog, then just stops without any message.

Connecting from Mac OS X edition of Microsoft Remote Desktop does give you error message “The server denied the logon with reason: 3489661694”.

Read the rest of this entry »

Posted in Power User, Remote Desktop Protocol/MSTSC/Terminal Services, Windows, Windows 8.1 | 4 Comments »

BrickPi! – Gertjan van der Loo

Posted by jpluimers on 2016/05/15

Source: BrickPi! – Gertjan van der Loo

Posted in Uncategorized | Leave a Comment »

This week’s guest poster, +Jac Goudsmit, tells us all about video chips in microcomputers… – mos6502 – Google+

Posted by jpluimers on 2016/05/14

Recommended reading:

This week’s guest poster, +Jac Goudsmit, tells us all about video chips in microcomputers… – mos6502 – Google+

–jeroen

Posted in 6502, Development, History, Software Development | Leave a Comment »

Buffalo WLAE-AG300N DHCP client is buggy and adds a NULL character to the host name.

Posted by jpluimers on 2016/05/13

Buffalo WLAE-AG300N is one of those buggy DHCP clients… Even running firmware Ver.1.85 (R1.05/B1.00)), it gets the length of the DHCP host name wrong so adds a bogus NULL byte to that name.

@Buffalo: please fix this.

The DHCP client options are of structure Type/Length/Value so a client is supposed to set the length of the hostname to exactly the number of characters.
However there exist buggy clients that either send a length of 1 more and a \00 at the end of the name, or send a fixed length and pad it with \00 as necessary.

Source: DHCP server: Odd active hostname behaviour: some views have null character at the end, some don’t. – MikroTik RouterOS

Fromt a packet capture:

Buffalo WLAE-AG300N gets the length of the DHCP name wrong and inserts an extra NULL character.

Buffalo WLAE-AG300N gets the length of the DHCP name wrong and inserts an extra NULL character.

This besides these devices also not automatically powering up when power goes out and comes back up

Mikrotik packet capture and viewing it in Wireshark

Anyway: getting and displaying the packet capture was quite easy:

  1. In Winbox (or from the console):
    1. Tools ->
    2. Packet Sniffer ->
    3.  General tab: set filename and file limit, then click Apply
    4. Filter tab: choose the interface, protocol (UDP) and port (67), then click Apply
    5. Click Start
    6. Wait for the DHCP refresh to happen
    7. Click Stop
  2. In Winbox (or from the console):
    1. Files -> Choose the captured file -> Download
  3. In your file manager, ensure the downloaded file gets the .pcap extension
  4. In Wireshark: load the .pcap file and inspect it

 

–jeroen

Posted in Access Points, Buffalo, Internet, MikroTik, Power User, routers | Leave a Comment »

Cool Windows tool of the day: RegJump by SysInternals

Posted by jpluimers on 2016/05/13

RegJump.exe is really cool, and has already there for more than a year (:

This little command-line applet takes a registry path and makes Regedit open to that path. It accepts root keys in standard (e.g. HKEY_LOCAL_MACHINE) and abbreviated form (e.g. HKLM).

usage: regjump <<path>|-c>
-c Copy path from clipboard.
e.g.: regjump HKLM\Software\Microsoft\Windows

–jeroen

via: RegJump.

Posted in Power User, Windows, Windows 7, Windows 8, Windows 8.1, Windows 9, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista, Windows XP | Leave a Comment »