search for: host_ipaddr

Displaying 4 results from an estimated 4 matches for "host_ipaddr".

Did you mean: host_addr
2015 Jun 08
3
Recommended change for the networking page in wiki
...are highlighted. For some reason the original script didn't work using /bin/sh, but it did with /bin/bash, so I changed that too). *#!/bin/bash* # used some from advanced script to have multiple ports: use an equal number of guest and host ports Guest_name=xxxxxxx Guest_ipaddr=xxx.xxx.xxx.xx *Host_ipaddr=xxx.xxx.xxx.xx* Host_port=( '80' '443' ) Guest_port=( '80' '443' ) length=$(( ${#Host_port[@]} - 1 )) if [ "${1}" = "${Guest_name}" ]; then if [ "${2}" = "stopped" -o "${2}" = "reconnect" ]; then f...
2015 Jun 08
2
Re: Recommended change for the networking page in wiki
...; original, simpler version of the script, written by me.) > >> >> *#!/bin/bash* >> # used some from advanced script to have multiple ports: use an equal >> number of guest and host ports >> >> Guest_name=xxxxxxx >> Guest_ipaddr=xxx.xxx.xxx.xx >> *Host_ipaddr=xxx.xxx.xxx.xx* >> Host_port=( '80' '443' ) >> Guest_port=( '80' '443' ) In fact, these two lines are also bashisms. All the more reason to require bash. >> length=$(( ${#Host_port[@]} - 1 )) >> if [ "${1}" = "${Guest_name}&q...
2015 Jun 12
0
Re: Recommended change for the networking page in wiki
...ritten by me.) > > > >> > >> *#!/bin/bash* > >> # used some from advanced script to have multiple ports: use an equal > >> number of guest and host ports > >> > >> Guest_name=xxxxxxx > >> Guest_ipaddr=xxx.xxx.xxx.xx > >> *Host_ipaddr=xxx.xxx.xxx.xx* > >> Host_port=( '80' '443' ) > >> Guest_port=( '80' '443' ) > > In fact, these two lines are also bashisms. All the more reason to > require bash. > > >> length=$(( ${#Host_port[@]} - 1 )) > >> if [ &q...
2015 Jun 12
1
Re: Recommended change for the networking page in wiki