Getting Draytek LAN-to-LAN VPN setup

I've been trying to get two Draytek Vigor 2920Vn routers to connect to one another using LAN-to-LAN VPN. The setup process was largely intuitive, save one detail.

The general VPN process was pretty simple. The two routers are connected all the time, but there is still a sender (dial-out) and a receiver (dial-in). As I use this LAN-to-LAN connection to enable multiple foreign offices to connect back to headquarters, HQ is dial-in and everyone else is dial-out.
Dial-out end

  • Login to Draytek admin interface
  • Select VPN and Remote access

Drupal form validation failure can double up js settings array

I had an interesting Drupal bug. One of my forms has some javascript that turns an file field widget into an image gallery. When the form fails validation, the page reloads with the invalid fields highlighted (excellent Drupal feature). Unfortunately the Drupal.settings array is reloaded (using jQuery.extend) without clearing the previous array. This has the affect of changing an array of strings and ints into an array of arrays.


button_remote_url
"Choose something from the URL"

button_remove
"Change picture"

button_upload
"Upload your own"

error_ajax

Poser Pro 2014 Content library error messages again

I seem to have endless problems with Poser Pro 2014. I did with Poser 9 previously. I'm using 10.0.1.25099 and again I'm getting a startup error in the content library:

FAULT Detected!
[FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error:[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"].
URL: http://127.0.0.1:11530/apps/lms/api.py"] messageId="F74FC0CF-8F68-0592-DE4E-AEFE08947FED" type="false" bubbles=false cancelable=true eventPhase=2] --- Fault Request Info:
op=appConfig

Windows-updated Intel HD4000 driver broke Battlefield 3

My problems with auto-update continued today. Battlefield 3 failed to start up properly. The mouse froze over the in-game menu. This was a proper hardware crash that won't respond to task switching (Alt + Tab) or interrupts (Ctrl + Alt + Delete).

When Windows Updates fix Poser problems

Recently my copy of Poser 9 stopped working. The Library manager refused to open, posting this error message:

FAULT Detected!
[FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error:[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL: http://127.0.0.1:11530/apps/lms/api.py"] messageId=978869C0-8C30-E958-7AD1-F63700E8A6F1" type="fault" bubbles=false cancelable=true eventPhase=2] --- Fault Request Info:
op=appConfig

Samsung Galaxy S3 freezing and looping black (start-up logo) screen of death

I recently had a problem with a friend's S3. They had rooted their SGS3, which invalidates the warranty and is clearly something I would never do myself (ahem)!

The phone had been worked fine with its rooted OS (CF-Root-SGS3-v6.4.zip) for months, but on the evening of Saturday 4th May, Vodafone pushed an update. That update seemed to conflict with the rooted OS, and when they returned to the phone it was stuck in an endless loop; it would flash the Samsung Galaxy S3 screen (white text on black background) for a few seconds, then go black (reset), then flash it again for a few seconds.

Windows 7 permissions reset on external drive

I've got a few external disks and in travelling from machine to machine over the years, their windows (NTFS) permissions can get pretty screwy:

cmd (run as administrator)
cd
icacls * /T /Q /C /RESET

Designing URLs with moveable hash

I'm thinking about the URL structure for a new site. I'm trying to balance two forces:

1. a proper nested hierarchy of URL elements, organised by a single relationship type, for example

http://example.com/contains/section1/section1p1/section1p1p1

2. a single page javascript app that navigates them, individually or in groups, for example

http://example.com/contains/#section1/section1p1/section1p1p1

I think the solution is a moveable hash and a JS redirect.

URL Content

Django 1.4.1 with MongoDB

I'm experimenting with Python and Django at the moment. In trying to connect that pair to MongoDB I stumbled across a couple of alternatives:

Trend Micro 2012 interrupts Windows file sharing over Samba without warning

It's frustrating to be trying new things and they don't work, but there is nothing so irratating as something failing that you thought worked and consequently rely upon. These last few weeks I've been struggling with a file sharing bug in Trend Micro's anti-virus program, though as with all these antivirus software originated problems, they don't tell you that. Here's the bug report I was writing up while investigating and crucially the simple solution.

I'm trying to copy a virtual machine (VM) instance from one machine to another over a 1GB LAN.


Alex Stanhope is a Technology consultant to the UK Creative Industries and Venture Catalyst. This is my personal website.
Bristol | Lightenna | ManKind Project | goodkarma
All material copyright (c) 2006-2010 | Website by Lightenna, featuring N.Design's GlossyBlue theme.
Syndicate content Syndicate content