Sometimes my Whonix templates think they are not being connected to a Whonix gateway when they are. Some Whonix templates (both gateway and workstation) will connect to the update VM just fine, but others will complain.
On the complaining template I am not able to use apt-get at all, but whonixcheck
gives no errors up until checking for updates. Changing the NetVM to another Whonix gateway sometime fixes it, simply restarting sometimes fixes it, sometimes nothing seems to fix it.
System info:
-
Qubes 3.1 updated from
qubes-dom0-current-testing
-
whonix-gateway-packages-dependencies 2.9-1
-
Whonix Build Version: 12.0.0.3.2 testers
Here is the error given:
Whonix-Gateway NetVM required for updates!
Please ensure that this TemplateVM has a Whonix-Gateway as its NetVM.
No updates are possible without an active (running) Whonix-Gateway VM.
Ran on Whonix-Gateway template:
user@host:~$ sudo apt-get update Ign http://security.debian.org jessie/updates InRelease Ign http://ftp.us.debian.org jessie InRelease Ign http://deb.qubes-os.org jessie InRelease Ign http://mirror.whonix.de testers InRelease Err http://security.debian.org jessie/updates Release.gpg Cannot initiate the connection to 10.137.255.254:8082 (10.137.255.254). - connect (111: Connection refused) Ign http://deb.torproject.org jessie InRelease Err http://deb.qubes-os.org jessie Release.gpg Cannot initiate the connection to 10.137.255.254:8082 (10.137.255.254). - connect (111: Connection refused) Err http://mirror.whonix.de testers Release.gpg Cannot initiate the connection to 10.137.255.254:8082 (10.137.255.254). - connect (111: Connection refused) Err http://ftp.us.debian.org jessie Release.gpg Cannot initiate the connection to 10.137.255.254:8082 (10.137.255.254). - connect (111: Connection refused) Err http://deb.torproject.org jessie Release.gpg Cannot initiate the connection to 10.137.255.254:8082 (10.137.255.254). - connect (111: Connection refused)
Ran on NetVM for Whonix-Gateway template, which is a Whonix-Gateway:
[code]user@host:~$ sudo ifconfig
eth0 Link encap:Ethernet HWaddr 00:16:3e:5e:6c:20
inet addr:10.137.3.34 Bcast:10.255.255.255 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27838 errors:0 dropped:0 overruns:0 frame:0
TX packets:14421 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:34461845 (32.8 MiB) TX bytes:1973510 (1.8 MiB)
eth1 Link encap:Ethernet HWaddr 5e:b5:c0:4f:ad:d6
inet addr:10.137.12.1 Bcast:10.255.255.255 Mask:255.255.255.255
UP BROADCAST RUNNING NOARP MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:13226 errors:0 dropped:0 overruns:0 frame:0
TX packets:13226 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:31350942 (29.8 MiB) TX bytes:31350942 (29.8 MiB)
vif20.0 Link encap:Ethernet HWaddr fe:ff:ff:ff:ff:ff
inet addr:10.137.12.1 Bcast:0.0.0.0 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1972 errors:0 dropped:0 overruns:0 frame:0
TX packets:1962 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:32
RX bytes:88501 (86.4 KiB) TX bytes:128300 (125.2 KiB)[/code]
Please let me know anything else needed for debugging. I’m getting this error almost ever time I do updates on at least one template.