Candela Technologies provides test equipment to companies around the world to aid in the testing of network equipment and applications. DSLAM, DSL Modem, Cable Router and Cable Modem and various other networking equipment manufacturers and testers are our target market for the LANforge FIRE product line. Our LANforge ICE WAN emulator product is excellent for anyone writing or deploying applications that are designed to work across wide area networks, including VOIP, web applications, online-gaming, and database replication.
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Candela Technologies Inc is a small company with low overhead. We have been in business since November of 2000, and have been profitable since 2002. We have an ever growing list of happy customers, and have been able to expand our products and sales steadily.
Should unfortunate circumstances force our closure, the LANforge software suite will be released under the GNU Public License (GPL). This ensures that you will be able to arrange to have any support and/or features added that you require.
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
To resolve problems quickly, perform the following procedure for Linux based systems:
cd /home/lanforge ./lfdebug.bash
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Students and certain non-profit organizations may qualify for a free LANforge software license. For students, the LANforge software must be used on personal machines. If LANforge is to be used on a school's machines, or mandated as part of the in-class curriculum, licenses will need to be purchased. Charitable non-profit organizations may also qualify for free licenses.
If you believe you might qualify, and would like free LANforge software licenses, please send email to support@candelatech.com explaining your status and/or organization and describing how you wish to use LANforge.
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Our LANforge-GUI, LANforge-ICECap and some other tools are already released as source code under the GPL.
Candela Technologies Inc is willing to license you the source code to the proprietary parts of LANforge under certain circumstances. Contact us if you wish to learn more.
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
The nc200* image that is used with the LANforge appliance can also boot from a USB storage device on many machines. Assuming your hardware is supported, this is a good way to try out LANforge without having to install Linux from scratch. Unless your machine has exactly 4 ethernet interfaces, you will must reconfigure LANforge to be aware of your network cards once the system has booted. All changes will be saved through reboots (using the USB disk as storage.)
Please note, if you use the wrong of= argument for dd, you can easily completely corrupt your system, requiring a complete re-install. If you have questions, or are un-sure of something, please contact support@candelatech.com before continuing!
bunzip2 nc200*.img.bz2
dd-removable --list
\\?\Device\Harddisk2\Partition0 link to \\?\Device\Harddisk2\DR12 Removable media other than floppy. Block size = 512 size is 512483328 bytes
In this case the output device (of=) is: \\?\Device\Harddisk2\Partition0
Please note the size (512 MB in this case). If the size does not match your USB disk, you are probably looking at the wrong device! In the example above, \\?\Device\Harddisk2\Partition0 is actually a Compact Flash disk. That is, if you have Compact Flash cards and/or USB disks discovered be careful about which you overwrite. You may have existing partitions on the media, but that does not matter. All data on the USB disk will be destroyed when you run the dd command below.
dd-removable --progress if=nc200.4.4.9.img of=\\?\Device\Harddisk2\Partition0 bs=4k
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Please note, if you use the wrong of= argument for dd, you can easily completely corrupt your system, requiring a complete re-install. If you have questions, or are un-sure of something, please contact support@candelatech.com before continuing!
bunzip2 nc200*.img.bz2
dmesg | tail -40
You are looking for something similar to this:
SCSI device sda: 1000944 512-byte hdwr sectors (512 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 08 sda: assuming drive cache: write through sda: sda1
Please note the (512 MB). If the size does not match your USB disk, you are probably looking at the wrong device! In the example above, /dev/sda is the USB disk, and /dev/sda1 is the first partition. You may have more or no partitions, but that does not matter. All data on the USB disk will be destroyed when you run the dd command below.
dd if=nc200*.img of=/dev/sda bs=4k
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
must hit a key within 3 seconds to get into the boot-loader, and then hit some other key (not ENTER) within 3 seconds to select the correct boot image. In most cases, this will be the fifth option (Generic P-II, USB Bootable, VGA-Console)
GNU GRUB version 0.97 (638K lower / 505792K upper memory) +-------------------------------------------------------------------------+ | Candela Technologies Linux 2.6.18.2 (Appliance) | | Candela Technologies Linux 2.6.18.2 (Appliance, USB Bootable) | | Candela Technologies Linux 2.6.18.2 (Generic P-II, VGA-Console) | | Candela Technologies Linux 2.6.18.2 (Generic P-II, Serial-Console) | | Candela Technologies Linux 2.6.18.2 (Generic P-II, USB Bootable, VGA-> | | Candela Technologies Linux 2.6.18.2 (Generic P-II, USB Bootable, Seri> | | | | | | | | | | | | | +-------------------------------------------------------------------------+ Use the ^ and v keys to select which entry is highlighted. Press enter to boot the selected OS, 'e' to edit the commands before booting, 'a' to modify the kernel arguments before booting, or 'c' for a command-line.
cd /home/lanforge
./serverctl.bash stop ./lfconfig --new_layout > Make appropriate changes, including setting the mgt_dev to a device that exists on your machine (eth0 is a good option). > config ./serverctl.bash start
use it to connect to the management ethernet port on the USB-booted LANforge machine.
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
These instructions are intended for users who do not have a built-in floppy drive in the machine being used to run the LANforge bootable CD-ROM.
/etc/init.d/bbc_lanforge start
cd /home/lanforge ./serverctl.bash stop
insmod /lib/modules/2.6.18.2/kernel/drivers/usb/host/uhci-hcd.ko
mount /mnt/rw/floppy
cp /mnt/rw/floppy/license.txt /home/lanforge
./serverctl.bash start
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
The complete LANforge database is typically saved in the following directory:
/home/lanforge/DB
Within that directory you will find various saved directories that contain LANforge databases.
You can restore a single database by copying a saved directory to the /home/lanforge/DB directory.
A refresh of the GUI should show the new database on the Status tab under the “Test Configuration Database→List:” drop down menu. Then just choose the Load Behavior for the new database and click “Load”
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Generally, the kernel version should be upgraded match the LANforge software version which is found on the LANforge software downloads page.
/usr/local/bin/kinstall_ct<You current kernel version>.bash
cd /home/lanforge
./serverctl.bash stop * Backup the existing installation using the following commands:
cd /home tar -cvzf lanforge_bkup.tar.gz lanforge
./lfconfig –new_layout
./serverctl.bash start
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Uninstall the old one using add-remove-programs or the uninstall program menu option. To install the new GUI, just run the installer and follow the directions.
your configuration database!
To upgrade the LF0200 or CT920 appliance, you can either upgrade the server and kernel components as described above for Linux, or you can upgrade the entire compact-flash (CF) image. The latter may be easier, and will also include any other upgrades to the basic Operating System configuration and components, but you will lose your LANforge configuration.
As of LANforge Release 4.4.10 the CF image requires a 1GB CF card with a true minimum size of 1039417344 bytes. For example, RiDATA Pro 1GB Model CFR1G-SILV is known to work whereas a SANDisk Ultra II 1.0GB is too small. To be safe, any 2GB CF card should work fine.
As of LANforge Release 5.0.6 the CF image requires a 2GB CF card.
Please note, if you use the wrong of= argument for dd, you can easily completely corrupt your system, requiring a complete re-install. If you have questions, or are un-sure of something, please contact support@candelatech.com before continuing!
dmesg | tail -40
You are looking for something similar to this:
SCSI device sda: 1000944 512-byte hdwr sectors (512 MB) sda: Write Protect is off sda: Mode Sense: 43 00 00 08 sda: assuming drive cache: write through sda: sda1
Please note the (512 MB). If the size does not match your CF disk, you are probably looking at the wrong device! In the example above, /dev/sda is the CF disk, and /dev/sda1 is the first partition. You may have more or no partitions, but that does not matter. All data on the CF disk will be destroyed when you run the dd command below.
dd if=nc200*.img of=/dev/sda bs=4k
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Please note, if you use the wrong of= argument for dd, you can easily completely corrupt your system, requiring a complete re-install. If you have questions, or are un-sure of something, please contact support@candelatech.com before continuing!
As of LANforge Release 5.0.6 the CF image requires a 2GB CF card.
bunzip2 nc200*.img.bz2
\\?\Device\Harddisk2\Partition0 link to \\?\Device\Harddisk2\DR12 Removable media other than floppy. Block size = 512 size is 512483328 bytes
Please note the size is 512 MB. If the size does not match your CF disk, you are probably looking at the wrong device! In the example above, \\?\Device\Harddisk2\Partition0 is the CF disk. You may have partitions, but that does not matter. All data on the CF disk will be destroyed when you run the dd command below.
dd-removable --progress if=nc200.4.4.9.img of=\\?\Device\Harddisk2\Partition0 bs=4k
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
When using the LANforge layer-4 endpoint feature, you can build your URL such that LANforge will attempt to log in to the destination machine as a particular user with a particular password. The syntax is:
ftp://user:password@ftp.my.site:8021/README
Candela Technologies, Suite A, 2026 Main Street, Ferndale, WA 98248, USA | www.candelatech.com | sales@candelatech.com | +1 360 380 1618 (PST, GMT -8)
Please note: It is usually a bad idea to force the speed of an interface. If possible, leav