Categories
Computers Gadgets

Misbehaving Netgear WGPS606

To avoid having to run cables I have used a Netgear WGPS606 to wirelessly connect computers on my desktop with my broadband connection. When checking the log files on my Linux box I noticed that the Netgear unit was causing my log to fill up with DHCPDISCOVER/DHCPOFFER:

Jun 20 23:21:21 xxx dhcpd: DHCPDISCOVER from <mac>(WGPS606) via eth0
Jun 20 23:21:21 xxx dhcpd: DHCPOFFER on 10.1.1.191 to <mac>(WGPS606) via eth0
Jun 20 23:21:41 xxx dhcpd: DHCPDISCOVER from <mac> (WGPS606) via eth0
Jun 20 23:21:41 xxx dhcpd: DHCPOFFER on 10.1.1.191 to <mac> (WGPS606) via eth0
Jun 20 23:22:01 xxx dhcpd: DHCPDISCOVER from <mac> (WGPS606) via eth0
Jun 20 23:22:01 xxx dhcpd: DHCPOFFER on 10.1.1.191 to <mac> (WGPS606) via eth0

It is all very strange since the MAC address for which the DHCP discover is sent is the wireless NIC. But the wireless NIC has a static IP address and should not need to request a DHCP address in the first place. Furthemore, the DHCP server is on the LAN side of the Netgear box.

Netgear support has been unable to assist so in the end I had to blacklist the WGSP606 using the following few lines in dhcpd.conf:

host wgps606 {
        hardware ethernet <mac>;
        ignore booting;
        ignore bootp;
}

Apart from this the WGPS606 has been doing a great job for now almost a year.

Categories
Gadgets

Standard connectors, please!

Over the past ten years I have had a number of mobile phones from a couple of manufactures. In the process I have gathered an impressive (although my wife would tell you otherwise) collection of chargers, sync cables and headphones, most of which are incompatible with each other.

I understand the manufacturers' interest in making easy money on the after-market by flogging substandard equipment at a premium price but I would rather see they made my life easier.

I already have a set of headphones that are better than anything they would ever make me able to connect to their phone. I don't want to spoil a small phone by having to drag along a set of accessories and if I need to charge my phone when I am at a friend's place I want to use whatever charger is available. And I most certainly don't want a dongle that is sure to get lost anyway to connect a standard set of headphones to some proprietary connector.

So please:

  • Use Mini-USB to connect the phone with a computer and make it possible to charge via the same connector
  • Provide a 3.5″ audio connector directly on the phone
Categories
Computers Windows

How to save a Real audio stream using only freeware

On more than one occassion I have found myself with a need to save a Real audio stream from a web site. Each time I have had to browse through multiple web sites to find a working solution. This is how I managed to do it last time around.

  1. Download and install FlashGet (http://www.flashget.com/index_en.htm)
  2. Copy audio stream URL (ending with .ram) from the web browser
  3. Create a new download in FlashGet using the URL taken from the previous step
  4. Run the download job to get the Real audio file
  5. Download and install Switch (http://www.nch.com.au/switch/)
  6. Use Switch to convert the Real audio file to the desired format

If required, use an application such as Mp3splt (http://mp3splt.sourceforge.net) to split the file into manageable parts.

All of the above applications are free to download and use.

Categories
Computers Windows

SimpleSocket

SimpleSocket is a COM DLL server that wraps basic UDP send/receive functionality. It is quite simple to use from all major Windows programming environments (C++, C#, VB, VBScript etc).

This application is provided as-is and is free for any use provided that it is not resold or included in any commercial offering.

The DLL must be registered prior to use. Although this can be done in many ways, one simple way is:

  1. Extract the File SimpleSocket.dll to a suitable folder
  2. Press the start button and select “Run…”
  3. Type cmd and press OK
  4. Type regsvr32 followed by the full path to the DLL

Although the exact usage varies depending on programming environment, the following sample should be able to serve as a guide. It includes a sending and a receiving application. Put each of these code segments in a file with the suffix .vbs, then run them both.

Receiver

Set socket=WScript.CreateObject("SimpleSocket.Udp", "event_")
Sub event_OnReceive(data)
    WScript.Echo "Received: " & data
End Sub

socket.Listen "127.0.0.1", 10000
While(True)
    WScript.Sleep(5000)
Wend
socket.Abort

Sender

Set socket=WScript.CreateObject("SimpleSocket.Udp")
socket.Send "127.0.0.1", 10000, "Data sent from the client"

Methods

The following methods are supported

  • Listen {ip}, {port} – Starts listening for incoming data on the ip and port.
  • Abort – Stops listening for data.
  • Send {ip}, {port}, {data} – Sends the data to the peer using the ip and port. The data must be provided in text format.
  • OnReceive – Callback method for asynchronous notification of incoming data.

Uninstallation

  1. Press the start button and select “Run…”
  2. Type cmd and press OK
  3. Type regsvr32 -u followed by the full path to the DLL

Attachments

Categories
Computers Windows

Descript

Descript provides for an easy way to stop specific VBScripts. VBScripts running under either WScript.exe or CScript.exe, the two script hosts in Windows, turn up with just the name of the script host in the task manager and it can be difficult to know which process to kill.

descript_taskmgr.gif

By using this application the scripts are distinguished by the name of the actual script file.

descript_gui.gif

This application works on Windows XP and later only. This application is provided as-is and is free for any use provided that it is not resold or included in any commercial offering.

To install this application:

  1. Extract the application to your disk
  2. Run descript.exe

Usage
Right-click on the icon in the notification area (system tray) and select Stop. A list of scripts, if any, is shown. By selecting a script it is terminated. As an alternative, all scripts can be stopped in one operation. The icons to the left of the script names indicates if the script is running under WScript.exe or CScript.exe.

Attachments

css.php
%d bloggers like this: