[Spce-user] sip:wise installation behind proxy
Andreas Granig
agranig at sipwise.com
Fri Jun 15 19:14:40 EDT 2012
Hello Athanasios,
On 06/15/2012 05:20 PM, Αθανάσιος Οικονόμου wrote:
> Making a fresh installation behind http proxy (eg squid) the sip:wise
> fails with the following error:
>
> Error: Check your internet access. This script cannot access Sipwise's
> debian repository.
<snip>
> Changing the above to include also wget and the error goes away.
>
> #Check if we have internet access, at least to our repos
> if (ping -c 3 deb.sipwise.com <http://deb.sipwise.com> >> $LOGFILE 2>&1)
> || (printf "GET /spce/ HTTP\n\r\n\r" | netcat -w 3 deb.sipwise.com
> <http://deb.sipwise.com> 80 >> $LOGFILE 2>&1) || (wget -c
> http://deb.sipwise.com/spce/ -O /dev/null >> $LOGFILE 2>&1); then
> echo $MSG004
> else
> echo $MSG005 >&2
> exit 1
> fi
Sounds like a sane approach, we're going to review it an incorporate
support for http_proxy in the installer.
Thanks,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20120616/9a63becd/attachment-0001.asc>
More information about the Spce-user
mailing list