[strongSwan] Urgent: need help with uml installation

Andreas Steffen andreas.steffen at strongswan.org
Thu Mar 8 20:29:03 CET 2012


Hello,

you must install the brctl ubuntu package which provides the bridging
functions needed to connect the UML hosts.

Regards

Andreas

On 03/08/2012 07:09 PM, xrats melkonian wrote:
> hey guys i need some help with installation plz.
>
> i successful install srongswan on ubuntu 10.04 86 in top of virtualbox.
> then i install uml_utlilities from the software center and i copy these
> files
> gentoo-fs-20100830.tar.bz2 .config-3.1.0 linux-2.6.39.4.tar.bz2
> strongswan-4.6.2.tar.bz2
> ha-3.0.patch.bz2
> to my strongswan-testing when i try to create the environment
> ./make-testing <hosts>
> before all are running smothly
>
> Now compiling uml kernel..done
> * Copying uml kernel to
> '/home/xrats/strongswan-testing/umlbuild/linux-uml-2.6.39.4'..mv: cannot
> stat `linux': No such file or directory
> done
> Adding ssh public keys of the uml instances (scripts/build-sshkeys)
> * Backing up ~/.ssh/known_hosts to '~/.ssh/known_hosts.before_uml'..done
> !! Warning: An entry exists for the following IP address: 10.1.0.10
> !! Warning: An entry exists for the following IP address: 10.1.0.20
> !! Warning: An entry exists for the following IP address: 192.168.0.1
> !! Warning: An entry exists for the following IP address: 192.168.0.100
> !! Warning: An entry exists for the following IP address: 192.168.0.150
> !! Warning: An entry exists for the following IP address: 192.168.0.200
> !! Warning: An entry exists for the following IP address: 192.168.0.2
> !! Warning: An entry exists for the following IP address: 10.2.0.10
> * Checking for ssh rsa key '~/.ssh/id_rsa.pub'..already exists
> Building host configurations (scripts/build-hostconfig)
> * Copied default host config directory to
> '/home/xrats/strongswan-testing/umlbuild/hosts'
> * Generate default config
> for..sun..moon..dave..carol..alice..venus..bob..winnetou..done
> Building uml root file system with strongSwan (scripts/build-umlrootfs)
> * Looking for strongSwan at
> '/home/xrats/strongswan-testing/strongswan-4.6.2.tar.bz2'..found it
> * strongSwan version is 'strongswan-4.6.2'
> * Looking for gentoo root filesystem at
> '/home/xrats/strongswan-testing/gentoo-fs-20111212.tar.bz2'..found it
> * Building basic root filesystem (gentoo)..done
> * Removing /etc/resolv.conf
> * Copying
> '/home/xrats/strongswan-testing/umlbuild/hosts/default/etc/hosts' to the
> root filesystem
> * Extracting strongSwan into the root filesystem
> * Preparing strongSwan installation script
> * Compiling strongswan-4.6.2 within the root file system as chroot..done
> * Copying
> '/home/xrats/strongswan-testing/umlbuild/hosts/default/etc/ipsec.d/tables.sql'
> to the root filesystem
> cp: cannot create regular file
> `/home/xrats/strongswan-testing/umlbuild/root-fs/loop/etc/ipsec.d/tables.sql':
> No such file or directory
> mkdir: cannot create directory
> `/home/xrats/strongswan-testing/umlbuild/root-fs/loop/lib/modules/ha-3.0.patchum':
> File exists
> umount: /home/xrats/strongswan-testing/umlbuild/root-fs/loop is not
> mounted (according to mtab)
> Building uml host root file systems (scripts/build-umlhostfs)
> * Creating root filesystem for..xrats..mount: only root can do that
> cp: cannot stat
> `/home/xrats/strongswan-testing/umlbuild/hosts/xrats/etc': No such file
> or directory
> umount: /home/xrats/strongswan-testing/umlbuild/root-fs/loop is not
> mounted (according to mtab)
> done
> Starting the uml switches and instances (start-testing)
> Start the uml bridges (scripts/start-bridges)
> ./scripts/start-bridges: line 23: brctl: command not found
> * Starting umlbr1 with taps.../scripts/function.sh: line 90: brctl:
> command not found
> ./scripts/function.sh: line 91: brctl: command not found
> ./scripts/function.sh: line 92: brctl: command not found
> ./scripts/function.sh: line 93: brctl: command not found
> SIOCSIFADDR: Permission denied
> umlbr1: ERROR while getting interface flags: No such device
> SIOCSIFNETMASK: Permission denied
> umlbr1: ERROR while getting interface flags: No such device
> alice..venus..moon..done
> ./scripts/start-bridges: line 37: brctl: command not found
> * Starting umlbr0 with taps.../scripts/function.sh: line 90: brctl:
> command not found
> ./scripts/function.sh: line 91: brctl: command not found
> ./scripts/function.sh: line 92: brctl: command not found
> ./scripts/function.sh: line 93: brctl: command not found
> SIOCSIFADDR: Permission denied
> umlbr0: ERROR while getting interface flags: No such device
> SIOCSIFNETMASK: Permission denied
> umlbr0: ERROR while getting interface flags: No such device
> alice..moon..carol..winnetou..dave..sun..done
> ./scripts/start-bridges: line 54: brctl: command not found
> * Starting umlbr2 with taps.../scripts/function.sh: line 90: brctl:
> command not found
> ./scripts/function.sh: line 91: brctl: command not found
> ./scripts/function.sh: line 92: brctl: command not found
> ./scripts/function.sh: line 93: brctl: command not found
> SIOCSIFADDR: Permission denied
> umlbr2: ERROR while getting interface flags: No such device
> SIOCSIFNETMASK: Permission denied
> umlbr2: ERROR while getting interface flags: No such device
> sun..bob..done
> Start the uml instances (scripts/gstart-umls)
> * Starting xrats..done
> * Waiting for the uml instances to finish booting
> * Checking on xrats..........................exit
>
> what i am missing plz help me :P thank you

======================================================================
Andreas Steffen                         andreas.steffen at strongswan.org
strongSwan - the Linux VPN Solution!                www.strongswan.org
Institute for Internet Technologies and Applications
University of Applied Sciences Rapperswil
CH-8640 Rapperswil (Switzerland)
===========================================================[ITA-HSR]==




More information about the Users mailing list