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,854 other subscribers

Archive for 2013

ASUS Wireless Router RT-N66U – General Log: full of “protocol 0000 is buggy, dev eth0”

Posted by jpluimers on 2013/06/05

Not sure what happened, but my log appeared to be full of these messages:

Jun  5 12:46:56 kernel: protocol 0000 is buggy, dev eth0
Jun  5 12:47:02 kernel: printk: 61 messages suppressed.
Jun  5 12:47:02 kernel: protocol 0000 is buggy, dev eth0
Jun  5 12:47:06 kernel: printk: 132 messages suppressed.
Jun  5 12:47:06 kernel: protocol 0000 is buggy, dev eth0
Jun  5 12:47:11 kernel: printk: 544 messages suppressed.
Jun  5 12:47:11 kernel: protocol 0000 is buggy, dev eth1
Jun  5 12:47:17 kernel: printk: 163 messages suppressed.
Jun  5 12:47:17 kernel: protocol 0000 is buggy, dev eth0
Jun  5 12:47:21 kernel: printk: 115 messages suppressed.
Jun  5 12:47:21 kernel: protocol 0000 is buggy, dev eth1
Jun  5 12:47:26 kernel: printk: 275 messages suppressed.
Jun  5 12:47:26 kernel: protocol 0000 is buggy, dev eth0
Jun  5 12:47:31 kernel: printk: 644 messages suppressed.
Jun  5 12:47:31 kernel: protocol 0000 is buggy, dev eth1
Jun  5 12:47:36 kernel: printk: 866 messages suppressed.
Jun  5 12:47:36 kernel: protocol 0000 is buggy, dev eth1
Jun  5 12:47:41 kernel: printk: 750 messages suppressed.
Jun  5 12:47:41 kernel: protocol 0000 is buggy, dev eth0
Jun  5 12:47:46 kernel: printk: 665 messages suppressed.
Jun  5 12:47:46 kernel: protocol 0000 is buggy, dev eth1
Jun  5 12:47:51 kernel: printk: 766 messages suppressed.
Jun  5 12:47:51 kernel: protocol 0000 is buggy, dev eth1
Jun  5 12:47:56 kernel: printk: 625 messages suppressed.
Jun  5 12:47:56 kernel: protocol 0000 is buggy, dev eth1
Jun  5 12:48:01 kernel: printk: 782 messages suppressed.
Jun  5 12:48:01 kernel: protocol 0000 is buggy, dev eth0

Note sure what caused it, but others have had it in the past as well.
Other symptoms:

  • br0 network becoming slower and slower on download speed (but not on upload speed; in the end I had 0.5 megabit downstream and 5 megabit upstream)
  • br0 ping times twice as high as normal (around 30 milliseconds on SpeedTest.net in stead of 15 milliseconds)
  • WiFi (especially 2.4: eth1) becoming impossible to connect to from new connections
  • packet drops

I thought they were caused because of me experimenting with a Fonera 2100A -> TomadoUSB experiment, especially since my FON access point was limited to 1 megabit.

But as soon as other users started to use the LAN, I got speed complaints about the slowness.

I’ve been running the ASUS RT-N66U in Firmware Version 3.0.0.4.260 with Operation Mode:Wireless router for quite a while now, but I also noticed that it had rebooted itself recently, as the was Uptime 0 days 20 hours when I started digging in the log.

The worst I got:

Ping (milliseconds) Down (megabit) Up (megabit) WiFi connection to
31 0.4 0.9 ASUS RT-N66U: 2.4 Ghz

Time for a Reboot to see if it gets any better.

Later:

After a reboot the situation turned to normal:

Ping (milliseconds) Down (megabit) Up (megabit) WiFi connection to
16 90 10 ASUS RT-N66U: 2.4 Ghz
17 9 8 Fonera: MyPlace
17 3 1 Fonera: FON_AP
15 2 0.6 Wireless-N 3G Router
15 1.5 0.7 RT N66U TomatoUSB 2.4 Ghz

–jeroen

via: ASUS Wireless Router RT-N66U – General Log.

Posted in ASUS RT-N66U, Hardware, Internet, Network-and-equipment, Power User, SpeedTest | 2 Comments »

WinAmp AACPlus v2 Encoder: how to encode mono

Posted by jpluimers on 2013/06/05

AACPlus allows for a many combinations of encoding flags.

Finding out whick allows to encode a mono audio stream is a bit time consuming.

Luckily, I found this post:

If you want encode in mono make this:

enc_aacPlus test.wav test.aac --br (max 256000) --mono

or for streaming:

enc_aacplus - - --br (max 256000) --silent --rawpcm 44100 2 16 --mono

Note that the various versions of enc_aacPlus.exe requires the enc_aacPlus.dll from WinAmp.

--jeroen

via: AACPlus v2 Encoder Problem..

Posted in BASS.NET, Batch-Files, Development, Media Streaming, Power User, Scripting, Software Development, Un4seen BASS Audio Library | Leave a Comment »

Things That Turbo Pascal is Smaller Than

Posted by jpluimers on 2013/06/04

Things That Turbo Pascal is Smaller Than.

Well basically anything.

About 30k was the size our complete IDE in the 80s century.

(Thanks @pstalenh and @rand)

–jeroen

Posted in Delphi, Development, Pascal, Software Development, Turbo Pascal | 4 Comments »

A few notes on Google Reader replacements that I’m testing

Posted by jpluimers on 2013/06/03

Almost 3 months after the Powering Down Google Reader announcement, most Google Reader users will have been looking for alternatives.

If you were whining, Stop whining about Google Reader, then take some action.

Before switching away from Google Reader, be sure to export the data through Google Takeout then download the export.
Read How to painlessly export your Google Reader feeds | News | Geek.com for more information.

Note that the subscriptions.xml in the download is in fact an OPML file.

Until early may, I was waiting for Announcing Digg Reader to become a real reader, but gave up.

Right now I’m experimenting with a couple of replacements, so here are some notes: Read the rest of this entry »

Posted in Google, GoogleReader, Keyboards and Keyboard Shortcuts, Power User | Leave a Comment »

Find my MacBook with “Find My iPhone” Service

Posted by jpluimers on 2013/05/31

So I won’t forget when setting up a new MacBook from scratch: enable the “Find my Mac”  feature:

Find my MacBook with “Find My iPhone” Service? – Online Tech Support Help from Ask Dave Taylor!®.

It makes it easier to do things like this: osx – How to find my stolen Macbook – Super User.

I might actually install Open source anti-theft solution for laptops, phones & tablets – Prey as well.

–jeroen

Posted in Apple, Mac, MacBook, MacBook-Air, MacBook-Pro, Power User | Leave a Comment »

Office 2013 Plus on Windows 8 x64: how to force update (via: Super User)

Posted by jpluimers on 2013/05/30

If you install Office 2013 on Windows 8, be sure to transform the default Windows Update mechanism to Microsoft Update: that will get you the Office 2013 updates too.

Here are the one-time steps to accomplish that (which also work for other non-Windows products from Microsoft like Visual Studio, SQL Server, etc):

  1. Start the “Windows Update” window
  2. Click the link in “Get updates for other Microsoft Products. Find out more
  3. Internet Explorer starts at the Microsoft Update page which detects you only have “Windows Update” configured and asks you if you want to configure “Microsoft Update” as well by agreeing to its Terms of Use.
  4. Clicking there refreshes the same page into “Choose how Windows can install Updates” page (I took the “current settings” choice)
  5. Click on the “Install” button
  6. In the UAC screen, confirm you are an Administrator
  7. Internet Explorer now refreshes the page to show “Find Windows Update using your Start Screen”
  8. “Windows Update” now will find updates for other Microsoft products like Office 2013 as well (some 300 megabytes in my case)

–jeroen

via: Office 2013 Plus on Windows 8 x64: how to force update? – Super User.

Posted in Office, Office 2013, Power User, Windows, Windows 8 | Leave a Comment »

Run batch file from Delphi IDE (via: Stack Overflow)

Posted by jpluimers on 2013/05/29

In pre-Galileo versions of Delphi it was easy to run a .BAT or .CMD file as a main project file: just press F9.

Thanks to iManBiglary for posting how to do this in modern Delphi versions. Paraphrased:

Add the file path to cmd.exe (easieist is to add $(ComSpec) which expands the %ComSpec% environment variable) in the tools menu, with /c$EDNAME as the parameter.
In addition, you can tell the IDE to save your file before running the external tool with the $SAVE macro

One of the things you can do with this is add a project containing a batch file that starts to assemble your build results to create a deployment set.

–jeroen

via: Run batch file from Delphi IDE – Stack Overflow.

Posted in Delphi, Delphi 2005, Delphi 2006, Delphi 2007, Delphi 2009, Delphi 2010, Delphi XE, Delphi XE2, Delphi XE3, Development, Software Development | Leave a Comment »

Some links on Registry and LINQ

Posted by jpluimers on 2013/05/28

A few notes for my research list:

One important thing that most of the code examples miss is to close the registry keys when they are done with them.

 

–jeroen

Posted in .NET, .NET 4.0, .NET 4.5, C#, C# 4.0, C# 5.0, Development, Software Development | Leave a Comment »

XP/2000 Create Windows shares and GRANT access from command line using RMTSHARE.EXE

Posted by jpluimers on 2013/05/27

The NET SHARE does not support the/GRANT option in Windows XP and 2000.

An alternative is the RMTSHARE.EXE tool from the resource kit.

thinking.nerd explains how in Create Windows shares from command line using RMTSHARE.EXE ~ thinking.nerd.

Note I’ve had this fail on one or two machines with this message:

Account everyone is not found.
The command failed: 1788

There I used fsmgmt.msc to manually set the grants.

–jeroen

via:

Posted in Power User, Windows, Windows Server 2000, Windows XP | Leave a Comment »

IBM Pascal Compiler Aug81 pdf (via: Bitsavers’ Index of /pdf/ibm/pc/dos)

Posted by jpluimers on 2013/05/26

Wow, I didn’t know that IBM had their own DOS based Pascal compiler for the PC in 1981, but they did, and BitSavers just uploaded their manual
IBM_Pascal_Compiler_Aug81.pdf

Edit:
document moved from http://bitsavers.trailing-edge.com/pdf/ibm/pc/dos/IBM_Pascal_Compiler_Aug81.pdf
to: http://bitsavers.trailing-edge.com/pdf/ibm/pc/languages/IBM_Pascal_Compiler_Aug81.pdf

It is part of their “Personal Computer Computer Language Series”

From the era of DOS Pascal compilers before Turbo Pascal.

–jeroen

via Index of /pdf/ibm/pc/dos.

Posted in BitSavers.org, Delphi, Development, History, IBM Pascal, Pascal, Software Development | 7 Comments »