I posted this up on another forum, but thought I would also share it here. Some of you maybe in possession of a working BMW ISSS that includes ISTA/D and ISTA/P. Most of these systems either require a cloned hardware ICOM or a virtual emulator ICOM to work. With the ICOMs these will come with an USB security dongle - basically a USB flash drive - this can be easily damaged or lost. So I set out to find a way to clone the USB security and have wrote up a how to in case anyone needed to make a backup.
As most will know some of the ICOM emulator comes with an USB flash drive dongle as copyright protection. Whilst you can do an image snapshot of the ICOM VM when the emulator is running and just revert back to it without needing the dongle plugged in, there's always that fear in the back of your mind that you might lose that USB Dongle or that it might break., rendering the emulator useless. Especially so if the Vendor that sold you the emulator isn't very helpful at all.
Basically the security is two tier based. The ICOM emulator checks for the "Volume Serial Number" (easily changed with software) and the Hardware Serial number (much harder as it requires flashing the USB chip), both of which must match the security check built into the ICOM emulator before it will start up and do the "rollback".
Here's how you duplicate the USB dongle> I will not provide the software required, just a general knowledge of how to do this - as each USB dongle is different and has a different chip set, YOU WILL NEED to find the correct USB factory flash tool to do the necessary cloning.
The serial number shown is the Hardware Serial Number - this is the key component looked at by the ICOM emulator security check. WRITE THIS DOWN as you will need to flash your back up USB flash drive with this exact same serial number.
There are pros and cons between a native installed system and a vmware system - most of the time the issues arising with the vmware stuff is more often than not related to setup and user understanding of vmware - I've personally never had an issue at all and I've been using it for a while.
If one is limited to only doing diagnostics and occasional system resets the vmware stuff is actually better - to name a few - ability to take snapshots, ability to reset if the system hangs, ability to run emulators, ease of adaptability with various cables ect ect.
I have an internet connected Ubuntu server, connected by Ethernet to a residential ADSL line. This is adequate, most of the time, but I can't rely upon the ADSL link to be as reliable as I'd like. Murphy's law has already dictated that down-time comes when it is least convenient.
I'd like to use a 'pay-as-you-go' 3G USB dongle to provide a fail-over. I'm lacking information both about sample configurations that work for other people - and about the most suitable (inexpensive) hardware for my purposes. The objective is that, when my ADSL line is disconnected, the server detects this and dials up the 3G service - monitoring the ADSL line and switching back seamlessly when its connection is restored.
I have done this any times for customers and i have not found a developed system to make this so i have ever roll my own, the steps that Manwe has given you are more or less what i do when i need them but i will paste here any crude bash scripts i am using (when i have time i want to make this much better in python).
Given that you only want your server to use 3g if adsl goes down i would only use iptables snat or masquerade only in the adsl iface and i would block access to squid in ./script_change_to_secondary.sh, your files could be:
Well like i have said it is a bit ugly and crude but it works :) if you find a integrated clean solution for this make me know please :), one good thing of roll-your-own it is that you have a complete control of the system, this is an oversimplification of what i do in any customers that have two or three connections alive at the same time and do a load balancing and QoS all integrated with scripts that detect connections problems and changes the routes and the QoS.
If you prefer an integrated solution to a roll-your-own you can use a distribution like zentyal, it supports what you want to use but it is a complete distribution tailored to create a SmallBusiness server, i usually prefer to configure my servers at my own but this is a good distribution that can be managed via web.
We have couple of smaller edimax 3g routers that have 1 wlan, 1 lan and usb for 3G stick. Lan port can be configured to be part of the lan or as primary wan port port (3g acting as failover). I'm not affiliated with edimax and we use them on the road or on conventions for their size (and one of the ones we have is battery powered).
Using dhcp with adsl will screw this simple example and you have to either modify /etc/resolv.conf with every change or use open dns servers like google 8.8.8.8 (or your own resolver). Now.. monitoring is a bit more difficult, but putting something like this to cron (don't, this is a naive exmaple), will give you failover to 3g and back.
Not sure of how much you want to spend but a DrayTek Vigor 2830n would accommodate your needs. There may be cheaper alternatives, but this is the one I've used at two different sites and has functioned exceptionally well.
There are 3 WAN connectivity on this device, the Standard ADSL line, Ethernet connection and 3G dongle. You can set this up just using the ADSL and 3G dongle and using the router itself. The 3G dongle does not need to be on 'load-balance mode' but pure WAN-backup mode only.
2 & 3) Never checked for a prebuild package myself, as my favourite firewall does include that feature by default. Check www.astaro.com (the software-appliance is free for home-use or you can use the default 30day trial for testing)
I think you could use keepalived to ping a remote internet address (Google mayhaps) every .. 30 seconds with some timeout. If the ping times out configure keepalived to shutdown eth0 and bring up the 3G interface then restart your VPN.
You should consider delays etc. when configuring keepalived so that it does not switch interfaces when not needed. Some testing/experiments will be needed. I cant think of a way to revert to the ADSL line when its back alive though.
DongleBackup PRO is a dongle emulator based on Virtual USB emulation technology. It can be used with Safe-Net HASP 4, Safe-Net HASP HL, Safe-Net HASP SRM, Safe-Net Hardlock, Safe-Net Sentinel SuperPRO and Safe-Net Sentinel UltraPRO devices. You can easily load a dongle image, install/uninstall Windows drivers, start/stop services, etc. from this program.
Rocker Dongle supports widest range of Motorola models present on market. Its unique algorithms allows handling and repairing of allmost any problem in Motorola phones. Secure unlocking without test point, flashing with latest firmware files, repairing software bugs - all these features are available only to Rocker Dongle users.
This program is designed to help you manage your Paraben dongle(s). All you need is an Internet connection to keep your dongle updated to work with the latest version of your Paraben software.Paraben's Dongle Manager is designed to run on a Windows 2000 or newer 32-bit operating system and requires .NET Framework 2.0 to be installed on the computer.
Sentinel License Monitor shows the details of the Sentinel UltraPro and Sentinel SuperPro keysattached/installed on a system and clients accessing them, via a Web browser. It is a convenientway to view and track the license activity and analyze application usage.
The Quota & File Sentinel Explorer Add-on is an optional utility available for use with the NTP Software Quota & File Sentinel product. It lets you check information such as the size of a Quota & File Sentinel quota limit set on an object, whether the object is below, close to, or above its limit, and the amount of space left on the limit.
PC Sentinel's AutoKeys! is a desktop typing aid that eliminates repetitive and redious typing tasks.Use PCSentinel's Autokeys to eliminate tedious and repetitive typing tasks, answer hundreds of emails a day, complete forms with the touch of a button, save and retrieve sensitive information like passwords and account numbers!
Securely backup your PC and Mac files online - access them anytime from a variety of mobile devices including iPhone, IPad and Android devices. Rest assured that you will never lose data again from a hard drive crash, theft or accidental deletion.
Backup Now is a backup solution for end users, small businesses and IT professionals. Its Drive Backup feature can back up your entire computer (operating system, programs, data files, and computer settings); in the event of a hard drive crash, Backup Now can quickly restore your computer back to how it was before the crash.
Sentinel Protection enables the use of either software- or hardware-based protection keys to enforce software protection and licensing. With Sentinel Protection you can increase your profits by protecting against losses from software piracy and intellectual property theft and enable innovative business models to increase value and differentiate your products.
Dell Backup and Recovery is a backup and recovery application designed to reliably protect your most important digital documents and memories in just a few clicks.Backing up your data with Dell Backup and Recovery can protect against data loss resulting from:-Virus attack-Accidental file deletion-OS/software corruption-Hardware failure
Bluesoleil is a program capable of integrating a diverse array of Bluetooth enabled digital devices, such as mobile phones, headsets, printers or keyboards. You can view and manage your contacts in your mobile phone from computer and backup your contacts wirelessly.
Hard Disk Sentinel is a hard disk monitoring and analysis tool, which can find, test, diagnose, and repair hard disk drive problems, and report and display SSD and HDD health, performance degradations, and failures. It can monitor temperature and S.M.A.R.T. parameters to detect an impending failure.
b1e95dc632