-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, Apr 11, 2015 at 05:11:08PM -0400, cprise wrote:
> On 04/11/15 14:05, nrgaway wrote:
> >
> >On 11 April 2015 at 13:12, cprise <
cpr...@gmail.com
> ><mailto:
cpr...@gmail.com>> wrote:
> >
> > On some VMs I've started replacing fedora with debian 7. So far its
> > working for my firewall and VPN, but the netvm refuses to work.
> > After manually adding the iwlwifi firmware the system creates a wlan
> > device on boot, but networkmanager is unable to make a connection.
> >
> > Is the debian template not yet ready for netvm duty, or am I doing
> > something wrong?
> >
> >
> >Have you assigned the proper pci devices to the netvm?
>
> Yes, one ethernet and one wifi. And there are no conflicting assignments in
> other VMs.
>
> The ethernet link basically works (at least I can ping from the netvm). NM
> does show 2 wired connections, however, with 'Wired Connection 2' being a
> vif. And NM keeps trying to connect to ...I dunno.... something?... even
> when eth0 is connected and wifi is disabled; the swirly animation keeps
> re-displaying.
This can be a problem - I guess it tries to get IP on vif* interface
using DHCP, which will of course fail. And will break connection to
downstream VMs... NetworkManager should ignore those interfaces (should
be marked as "unmanaged"). Check if that's true in
/etc/NetworkManager/NetworkManager.conf, you should have something like
this:
[main]
plugins=keyfile
[keyfile]
unmanaged-devices=mac:fe:ff:ff:ff:ff:ff
> Also, with eth0 connected there is no forwarding of traffic, so my proxyvms
> and appvms can't access the Internet. I haven't yet checked to see if
> forwarding needs manual setup.
This can be related to the above problem.
This looks like nm-applet do not want to as you for a passphrase. Maybe
you can try to enter them manually in connection editor? I'm not sure
what nm-applet requires to prompt for the password. Maybe gnome-keyring?
> Apr 11 16:53:42 localhost NetworkManager[1760]: <warn> Activation (wlan0)
> failed for access point (XYZ)
> Apr 11 16:53:42 localhost NetworkManager[1760]: <info> Marking connection
> 'XYZ' invalid.
> Apr 11 16:53:42 localhost NetworkManager[1760]: <warn> Activation (wlan0)
> failed.
> Apr 11 16:53:42 localhost NetworkManager[1760]: <info> (wlan0): device state
> change: failed -> disconnected (reason 'none') [120 30 0]
> Apr 11 16:53:42 localhost NetworkManager[1760]: <info> (wlan0): deactivating
> device (reason 'none') [0]
@nrgaway:
One additional, NetworkManager related problem I've found during
testing: On Debian 7, when you enable NetworkManager in
ProxyVM/AppVM (qvm-service VMNAME -e network-manager), startup scripts
prepare static configuration for eth0 based on Qubes settings (via
xenstore/qubesdb). It is created by setup-ip script and the output file
is /etc/NetworkManager/system-connections/qubes-uplink-eth0. Apparently
NetworkManager in Debian 7 does not understand this file:
- -----
Apr 12 00:14:54 localhost NetworkManager[1495]: keyfile: parsing
qubes-uplink-eth0 ...
Apr 12 00:14:54 localhost NetworkManager[1495]: Unknown setting
'ethernet'
Apr 12 00:14:54 localhost NetworkManager[1495]: Invalid setting name
'ethernet'
Apr 12 00:14:54 localhost NetworkManager[1495]: read_ip4_addresses:
ignoring invalid IPv4 address item ''
Apr 12 00:14:54 localhost NetworkManager[1495]: keyfile: error:
invalid or missing connection property 'addresses'
- -----
And tries to configure eth0 using DHCP...
The same file works on Debian 8. It looks like this:
- -----
[802-3-ethernet]
duplex=full
[ethernet]
mac-address=00:16:3e:5e:6c:30
[connection]
id=VM uplink eth0
uuid=de85f79b-8c3d-405f-a652-cb4c10b4f9ef
type=802-3-ethernet
[ipv6]
method=ignore
[ipv4]
method=manual
may-fail=false
dns=10.137.1.1;10.137.1.254
address1=
10.137.1.50/32,10.137.1.1
- -----
I've created a ticket for this problem here:
https://github.com/QubesOS/qubes-issues/issues/955
- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJVKZ82AAoJENuP0xzK19csMn8H/3NXEiG0tkcfn4SKQlX+xVDZ
vqnr3rEchtbx8uy1/71io5Ru/Ti19zngCwN9jJ9ChlM/5E/ij2Io5gLChjrtzYaS
qkFUZDM9m1WCYv9WsyOgu5opD8oysKNEt/0KcPkUGxBIVvVEEtnmzX6sjjFr7JU0
C4pGVkF6FIsCjeSFdSyJDfozXKMf/h5WgV3SME9LXPEoR0UMKYoBjQHAOyiRUdeU
n7Y7leC6Bq29qHgZM+GcA8YcrP3hQuCAbHPBzQNYrJygKFirdwjLZ8jb9/HYEKjj
CFH/cSCibQDCzIr2H1e235vRpu/pPfA0ZfJ2suNw/wKYrOnRlxHnG1wA5UXJhek=
=P5VZ
-----END PGP SIGNATURE-----