Debian 10 and clone have no ifconfig enabled

45 views
Skip to first unread message

Richard Gaylord

unread,
Feb 21, 2020, 12:17:28 PM2/21/20
to qubes-users
Been trying to get network connection on Debian template and a clone to get network connection.  When I attempt to ping 8.8.8.8 I get: connect: Network is unreachable.  Same for ip address on local net assigned by qubes.  When I type "ifconfig -a" the reply is: "bash: ifconfig: command not found"  I've tried sh, to avoid bash, and get "sh: 0: Can't open ifconfig"

I can't update, upgrade or install katoolin, which was my initial objective.

Can anyone please get my Debian templates to get a network connection?

Thanks.

unman

unread,
Feb 21, 2020, 12:33:26 PM2/21/20
to qubes-users
You shouldnt really do this in a template.
They dont have network connection, nor should they for security.
There is a proxy installed which allows you to run standard apt
operations to install software/upgrade.

As a general point, your problem is permissions and path:
user doesnt have \sbin in path, so you have to specify:
`/sbin/ifconfig`
or `su - ifconfig`

unman

Richard Gaylord

unread,
Feb 21, 2020, 1:05:43 PM2/21/20
to qubes-users
Thank you for getting back to me so soon.

The '/sbin/ifconfig' brought up the screen.

But I am unsure about how to clone a machine such that its not a template as per your suggestion.

As part of the same problem, the firewall rules tab claims "Firewall has been modified manually - please us qvm-firewall for any further configuration."  I did in the Services tab but nothing happened.

Can't find on search how to clone a machine without it being a template.

Thanks.

R

unman

unread,
Feb 21, 2020, 8:56:05 PM2/21/20
to qubes-users
The convention here is not to top-post.
Please scroll to the bottom of the message before you start typing. Or
reply inline.
It only takes you seconds, makes it much easier to follow threads, and
cumulatively saves your fellow users hours.
Thanks.

On your exact issue, I'm not quite clear what you are trying to acheive.
Do you want a standalone Kali? Or a Kali template?
Have you read the docs on installing Kali?

If you *do* want to create a new qube based on a template, just open
Qube Manager, Qube->Create New Qube, and select "Standalone qube copied
from a template" as the Type.



unman
Reply all
Reply to author
Forward
0 new messages