ip link add dummy0 type dummy
ip link set dummy0 up
ip addr add 192.168.0.1/24 dev dummy0
ip route add default via 192.168.0.2 dev dummy0
| ip route add default via 127.0.0.1
|
This seems to be a "bug" of GNOME Software, it won't trigger the package installation if it can't find a default route. The hack here is to create a fake route that goes nowhere, in a virtual network interface connected to nothing.
| This seems to be a "bug" of GNOME Software, it won't trigger the package installation if it can't find a default route. The hack here is to create a fake route that goes nowhere on the loopback interface.
|
Packages are downloaded through the proxy exactly like when using the command line. The template is not connected to the internet, the network added is totally fake (hence the name dummy) but enough to make the program happy. | Packages are downloaded through the proxy exactly like when using the command line. The template is not connected to the internet, nothing changed except we added a false route that can't go anywhere. |