Wednesday, October 22, 2014

I'm gonna forget this someday.

Needed to get Cisco VPN client 5.0.07.0290 working on Windows 8 (now 8.1 here) and couldn't get it to install.  Ran across this info:

http://idoneitmyself.com/2014/06/20/installing-cisco-vpn-client-5-0-07-0440-k9-vs-5-0-07-0290-on-windows-8-1/

"I initially received an error:  VPN Client install – Error 27850.  Doing some Googling, I found a newer version, 5.0.07.0440-K9, which I found I already had on another Windows 7 PC.  So I decided to try it.  Same error. 
I started mucking with the registry to no avail and then found the secret sauce.  It all has to do with some “Deterministic Networks” drivers.  Apparently Citrix acquired Deterministic Networks some time ago, so the fixes are available on their site.
Download Winfix.exe and DNEUpdate64 (are there still people using 32-bit?) from Citrix (Citrix acquired Deterministic Networks).  Here’s the main page.  http://www.citrix.com/go/lp/dne.html
  1. Run Winfix and then reboot.
  2. Run dneupdate64 (and then I rebooted, not sure if you need to)
  3. Download later version of Cisco VPN client (5.0.07.0440).  Again not sure if 5.0.07.0290 will work or not.
  4. Put any PCF files in the new Cisco VPN client installation folder so it picks them up or you can import them later.
  5. Run the Cisco VPN client installation (it should work fine).
The installation ran fine and the connection was good.  No problems. "

Friday, May 17, 2013

Star Trek sounds - Easily the best collection I've seen

Enjoy!!

http://www.trekcore.com/audio/

Converting MP3's for Polycom phones like the IP550

UPDATED:  An online tool can do this easily!  http://audio.online-convert.com/convert-to-wav  
Choose 16-bit resolution, 8000 Hz sampling rate, and Mono audio channels... and voila!  

After some research, I finally figured this out.  I think some other posts online are missing a step.

I'm on a Mac doing this... OSX 10.7.3 Lion

So, download Audacity:  http://audacity.sourceforge.net/

Install it.  Run it.

File> Open> feed it your MP3 or whatnot.

Under the Tracks menu, choose Stereo track to Mono.

Now, in the lower left corner of the main window, you'll see Project Rate (Hz), and it'll probably default to 48000.  This has to be changed to 8000 !!

File>Export> choose Format: Other Uncompressed Files
Then hit the Options button to the right.

Header:  Choose WAV (Microsoft)
Encoding:  Choose A-law or U-law.  Both worked for me and had little difference on the test file.

Now use your browser (Chrome in my case) to browse to the IP of the phone.  The default password for admin is 8679 (need to verify this again...)

Under the Preferences menu, choose Ringtones, and click the green '+' symbol to upload.

That's it!!




Monday, March 4, 2013

Making a shared drive on an ASUS rt-56u writable for Mac OS

Someday I'll want to do this, or decide that it's not working properly as-is on my RT-N66U ...
http://goddammit.co.uk/2011/10/01/making-a-shared-drive-on-an-asus-rt-56u-writable-for-mac-os/


Making a shared drive on an ASUS rt-56u writable for Mac OS..

Red alert: This is a wholly and unapologetically geeky post.  Yes, even more so than usual!!
This is one of those things that might never help anyone, but it might.  Given that I have encountered random snippets to fix problems on unexpected corners of the Internet, I decided to be magnanimous and share a solution with potential future problem-sufferers, because I’m nice like that!
The problemI recently bought an ASUS rt-56u router.  I like it a lot.  It gives me gigabit wired and wireless-n, as well as two USB ports to which I can connect either storage or even printer/scanner type peripherals.  The reason I did this was in preparation for my acquisition of a Macbook Air – I didn’t want to clog up a quarter or more of the storage on the laptop with my iTunes library, so wanted to store it centrally.
So I set it all up, plugged in my gigabyte USB drive in (formatted to NTFS – the router doesn’t support HFS+ plus we have numerous Windows things on our network too).  The Mac was happy to see the drive, but wouldn’t write to it – quite a dent in my plans.  With some help from a friend and some investigating, I discovered I need to adjust the settings on router – a setting not made available in the web-based router admin in the latest firmware release.
What a headache!  This all refers to a router using 1.0.1.7c firmware – as ever, things might change depending on which firmware you have (earlier versions had the option to enable telnet access without hacking!).
The solutionFirst up, you need to gain access to the innards of your router – you can’t enable telnet access from the web-based admin.  Well, not by design anyway, if you’re using the latest firmware as I write.  But there’s a hack, and you can do it quite easily, to do it you need to make sure you haveFirefox installed, and if you don’t already have it install the Firebugextension.
Got all that sorted?  Then we can begin…
  • Open up your router’s admin page in Firefox, and navigate to the LAN settings under the Advanced section (or click on this link:http://192.168.1.1/Advanced_LAN_Content.asp)
  • Right-click (or double-finger tap if you’re Mac gesturing!) on either of the two text boxes on the main screen, and select ‘Inspect Element’
  • In the Firebug section that opens, select the option to Edit the html
  • Add a new line to the code that says:
  • You’ll note a box appears next to the text box with a 1 already in it, click Apply in the browser window, and it will enable telnet access to your router.  Now is perhaps not the best time to remind you that changing the default password might be a good plan!
  • Test the connection, use your telnet client of choice and point it to 192.168.1.1 and log in with username admin and whatever your password is.  You should be able to access it, if not, then – erm – bugger, sorry!
  • Now you are ‘in’ you need to be careful if you’re not au fait with using command line access to Linux systems, or you might break something.  The file we need to edit is the configuration file for Samba, the protocol by which the hard drive is shared.  My editor of choice is vi, which is a complete clusterfuck to the uninitiated, in fairness.
  • Here is an attempt at a very noddy guide to making the changes you need to:
    - Type: vi /etc/smb.conf 
    This will open a text editor window displaying the config fileUse the arrow key to scroll down to where it says ‘use sendfile = yes’- Press the I key – this puts vi in insert mode
    - Press enter to add a new line, and type:
    unix extensions = no
    Press ESC to exit Insert mode, then hold shift and press the semi-colon (;) key
    - This will bring up a prompt, type wq and enter (this means ‘write quit’)
    - Type exit and press – this disconnects you from the telnet session
  • That’s it.  If you remount the drive now you should be able to both read and write to the volume – job’s a good ‘un!
The only pitfall with this is the smb.conf file is dynamic, so it gets recreated when the drive is mounted – so you might need to repeat some of the process (the enabling of the telnet daemon on the router should remain – although obviously if you don’t undo this it does pose a potential security risk – albeit no more so than somebody being able to gain access to the web-based administration should your password not be strong enough).
The cleverer solution would be to have some kind of script that auto-runs when you start up that edits the configuration and then mounts the network drive – that’s a bit beyond me but hopefully something that’s in progress by a friend!

Sunday, March 3, 2013

Audrey - make CF image in the Audrey from a share

Under "USE your image library", this worked...
http://audrey.wikia.com/wiki/Archiving_CF_Images#USE_your_Image_Library


Making Multiple CF Images

Why?

Now that you can make a CF image and have a good backup ROM, it's time to experiment and tweak your Audrey to your liking. How about a slimmed down version with all extraneous programs deleted, how about a dedicated web browser version, how about a mp3 player to hook up to your stereo? The possibilities abound.
Except, once you get a version you like, what happens if you need to use the Audrey for other things? Here's an idea for how create a library of various Audrey ROM images on your hard disk for future reference: as incremental backups or as a quiver of pre-made Audrey ROM configurations to swap in as the occasion demands...
This is a bit cumbersome, but if you have to have multiple images this could be handy assuming you:
  • Keep a "Master CF" that will always boot on the Audrey w/ fs-cifs installed and working networking w/ the USB Ethernet adapter.
  • Have a second CF that you can use as the carrier for the new image after you resore off of the "Master CF".
  • Don't mind using your hard drive as a repository/library for all those 16,384 KB CF images.

Making your Image Library

  1. Create a folder/directory on your Desktop and make it available for file sharing (in Windows, right click on the folder and select "Properties". In the window that comes up, find the "Sharing" tab and activate sharing for this directory. Make sure you give it a share name, let's call it "AudreyShare" in this example. Don't assign any passwords and select full access.
    Note: If you decide to activate ANY file sharing under Windows, make sure you have some sort of firewall protection or else you are open to anyone on the internet if you are on a broadband connection!
  2. Mount a shared directory off your desktop onto the audrey, I'm currently using #:fs-cifs:
    fs-cifs -a //Desktop_Name:192.168.###.###:/AudreyShare /mnt guest guest
  3. Copy the filesystem to the shared directory:
    cat /dev/fs0p0 /dev/fs0p1 > /mnt/image_9-14-01
  4. Your flashable image should be on your desktop's Hard Drive now. Do it some more as you want to create more images at a later time:
    cat /dev/fs0p0 /dev/fs0p1 > /mnt/image_9-25-01
    cat /dev/fs0p0 /dev/fs0p1 > /mnt/image_xterm
    cat /dev/fs0p0 /dev/fs0p1 > /mnt/image_mp3
    ...
    etc...you get the picture.

USE your Image Library

  1. At a later time, when you want/need to restore one of these images (assuming your Audrey still works, if not boot off that "Master Backup CF" to re-create a working Audrey), you insert your target CF and type:
    devb-cf
    fs-cifs -a //Desktop_Name:192.168.###.###:/Share_Dir /mnt guest guest
    cat /mnt/image1 > /dev/cf
  2. Then boot your new CF.
MAKE SURE YOU REMOVE THE CF IMAGE FROM THE SLOT BEFORE UNPLUGGING YOUR AUDREY. NOT DOING SO WILL CORRUPT YOUR IMAGE.

Thursday, February 21, 2013

ASUS Router RT-N56U + RT-N66U (?) HD writing

I don't quite get it.  I can write files to my HD from my Mac Pro.. but in case I (or someone else) need this in the future:

http://goddammit.co.uk/2011/10/01/making-a-shared-drive-on-an-asus-rt-56u-writable-for-mac-os/

Tuesday, January 15, 2013

How to enable mirroring on Asus RT-N66U

If for the purpose of troubleshooting etc., you need to mirror on the Asus RT-N66U [Asus Dual-Band Black Wireless-N900 Gigabit Router - RT-N66U (Google Affiliate Ad)] you'll find no easy switch in the control panels.  Fortunately I found a PDF here that includes a couple commands on page 2 that do the trick nicely.

First, you'll have to telnet into the router, or access it's system command console here:
https://xxx.xxx.xxx.xxx:8443/Main_AdmStatus_Content.asp
(Insert your IP instead of the 'xxx's.  Also, I have mine set for secure access on port 8443)

Then issue each of these, followed by enter.  The console will provide no feedback.

iptables -A PREROUTING -t mangle -j ROUTE --gw 192.168.1.40 --tee

iptables -A POSTROUTING -t mangle -j ROUTE --gw 192.168.1.40 --tee

"The above commands will make a copy of all of the traffic on your network to the
gateway IP address 192.168.1.40", for example.

When done, to switch off mirroring, use:
iptables -F -t mangle

"The above command will flush the 'mangle' table and stop mirroring traffic to IP address
192.168.1.40 without rebooting the router."

Special thanks to Bill Parker for that info!


Asus Dual-Band Black Wireless-N900 Gigabit Router - RT-N66U (Google Affiliate Ad)

Followers