[TemplateVM error] could not resolve host: github.com #2

42 views
Skip to first unread message

setem...@posteo.net

unread,
Sep 25, 2020, 1:19:30 AM9/25/20
to qubes...@googlegroups.com


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hello there,

I was following the instructions listed here
(https://www.qubes-os.org/doc/pentesting/kali/#katoolin4_0) to create a
kali template vm and ran into the following error for Qubes 4.0

Assume a default configuration for the most part, as I have not done
much tweaking. I'm still a noob per my last post. Anyway I hope we can
help anyone else who runs into the same issue.

Error:

user@kali:~$ git clone https://github.com/LionSec/katoolin.git
Cloning into 'katoolin'...
fatal: unable to access 'https://github.com/LionSec/katoolin.git/':
Could not resolve host: github.com


Attempted fixes prior to doing so are as follows:

1. Attempted to follow instructions listed here. No dice, same error
https://groups.google.com/g/qubes-users/c/o-EO4QEUqhU/m/TTHO2rULBwAJ
2.

applied the following commands (likely erroneously) based on this post
https://github.com/desktop/desktop/issues/4872
git config --global --unset http.proxy
git config --global --unset https.proxy

Please let me know if I accidentally broke something on a templatevm by
doing the above command.

I wanted to avoid breaking compartmentalization but could not figure out
a fix except for temporarily connecting the template vm to sys-firewall
long enough to download katoolin.

What would have been the appropriate way to resolve this error in
templateVMs? Let me know and thank you for your help

-----BEGIN PGP SIGNATURE-----

iNUEARYKAH0WIQQ1dEXQGozPU5kpff9tmhX5UaO3tQUCX218Vl8UgAAAAAAuAChp
c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0MzU3
NDQ1RDAxQThDQ0Y1Mzk5Mjk3REZGNkQ5QTE1Rjk1MUEzQjdCNQAKCRBtmhX5UaO3
tWgwAP4izFuAT4asztlFLRIujpmnZdG7p6ECMWtCH/KkDQIsGwD/SGHzcE8l1o9i
ZmNm8hez4OV2xnYjacnVGVZcPrRPLA8=
=Uskt
-----END PGP SIGNATURE-----

-----BEGIN PGP PUBLIC KEY BLOCK-----

mDMEXvNPzxYJKwYBBAHaRw8BAQdAl8KWTsa8HS2dXWQbNhG0OMPHq0FvQaCe4E4n
o1dZ+Ri0JVNldCBFbWVyYXVkZSA8c2V0ZW1lcmF1ZGVAcG9zdGVvLm5ldD6IlgQT
FgoAPhYhBDV0RdAajM9TmSl9/22aFflRo7e1BQJe80/PAhsDBQkJZgGABQsJCAcD
BRUKCQgLBRYCAwEAAh4BAheAAAoJEG2aFflRo7e1TxcBAO5iZc5Gi4Kaw2FBzyVg
9mkagWv13OBvZeBIpYeYx/rHAQCGS+oB23TA3v2+DHFJHsUXA4r93DvNoHkKJhoe
v6/qArg4BF7zT88SCisGAQQBl1UBBQEBB0B+voMSOto2it872wWBzLec/2aeIeDF
8SCL6iImyNKAAQMBCAeIfgQYFgoAJhYhBDV0RdAajM9TmSl9/22aFflRo7e1BQJe
80/PAhsMBQkJZgGAAAoJEG2aFflRo7e1zUsBAKlnnAbF6QpEUc3vpxxuahvhruBg
cYtMQVYPWyFABvy9AP0V+SoFLuSu/MPpBHlggIzt4Y08QzXylYxmhCg0+jawAA==
=XHqb
-----END PGP PUBLIC KEY BLOCK-----


Jarrah

unread,
Sep 25, 2020, 1:37:27 AM9/25/20
to qubes...@googlegroups.com

>
> user@kali:~$ git clone https://github.com/LionSec/katoolin.git
> Cloning into 'katoolin'...
> fatal: unable to access 'https://github.com/LionSec/katoolin.git/':
> Could not resolve host: github.com

Git does not know about the update proxy. Have a look at
https://www.qubes-os.org/doc/software-update-domu/ under "updates proxy"
for the configuration. Use the following command to configure git with
this proxy:

git config --global http.proxy http://<proxy address>:<port>

Alternatively, download and verify katoolin in any other trusted AppVM
and use `qvm-copy` to move it over.


lik...@gmx.de

unread,
Sep 25, 2020, 8:58:20 AM9/25/20
to qubes...@googlegroups.com
On 2020-09-25 06:19, setemeraude-VwIFZPTo/vqsTnJ...@public.gmane.org wrote:
>
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hello there,
>
> I was following the instructions listed here
> (https://www.qubes-os.org/doc/pentesting/kali/#katoolin4_0) to create a
> kali template vm and ran into the following error for Qubes 4.0
>

I recently came across this blog which uses salt to setup a kali machine. I haven't tried this, but you might find it useful:
https://alan-mushi.github.io/asap/2020/01/18/qubes-os-salt-kali-template.html

Frédéric Pierret

unread,
Sep 25, 2020, 10:37:30 AM9/25/20
to lik...@gmx.de, qubes...@googlegroups.com
We do have already Kali template. Only issue with missing DNF in bullseye prevent to build a full kali build. See notably https://github.com/QubesOS/qubes-issues/issues/6030#issuecomment-698667814 or other issues related to kali and bullseye.

signature.asc
Reply all
Reply to author
Forward
0 new messages