Qubes OS: No networking? - qubes-os

I am using a Lenovo T420 machine having Cubes OS 3.2 freshly installed. On the upper right corner where the system tray icons reside appears no entry that allows me to connect to my home wifi. I tried to reboot the system several times without change. Right before the install I had an up-to-date Ubuntu installation and networking was no problem at all.

Somewhere on the web I read about weird interference about networking in cubes having wifi enabled or ethernet plugged in during the install. Furthermore I read about Cubes OS having trouble sometimes with Lenovo systems that have to hardware wifi toggle.
As my Lenovo Thinkpad T420 has such hardware toggle this inspired me to do the following:
Having Cubes OS booted without any networking icon in the system tray
Toggle the hardware switch to disable the wifi
Reboot the whole system
Directly after the restart my networking has been recognized by Cubes OS showing up the icon in the system tray. After toggling the hardware wifi switch again to enable it, available wifi networks have been listed and I were able to connect. Since then my networking works fine. Indeed I have not tested out yet if a cable connection would still work out. But it doesn't matter for me for now.

Related

Is it possible to have different dev VM environments and access graphics card?

What I want to do on my laptop:
Develop and Run on windows with Visual Studio (CUDA, TensorRT,...)
Develop and Run on Linux (CUDA, TensorRT,...)
Environment to edit videos, photoshop,...
Play games
Environment for general use (web browser, outlook, word,...)
Environment to test applications
Possibly connecting some external GPU to offload the work (cuda,...) from my laptop's graphics card. Since I'm new to this, I haven't researched enough to understand how it can be done. But, this is in my plans.
What I did and reaserched:
As a start, I created VM environements in my host Windows OS using VirtualBox for #1 and #2, but I cannot run inside VM, since it doesn't provide access to graphics card. Even if it did, I still need somehow to switch to a different environment when I want to play games for example.
I probably need hypervisor type 1 if I want to have environment to play games? But, in this case I'll need a second laptop to access it, right?
Is this even possible to do on one laptop (I have strong laptop with enough RAM and SSD)
Graphics cards (GPU) are PCI devices, so they can be passed to VMs with PCI Passthrough. A device is not accessible to the host during passthrough. Hot plug can be used to reattach a graphics card to a different VM or the host without rebooting.
I don't know if a Windows host supports GPU passthrough (maybe you need Windows Server), but Linux host and Windows guest seems to work.
Setting this up is easier if you have a second GPU that remains attached to the host or another computer to control the host during GPU passthrough, for example via SSH.

USB Device Causing VM's to Freeze

USB Device Causing VM's to Freeze - Cannot Kill vmware-vmx.exe
The problem was described here - https://communities.vmware.com/thread/612551
but anyone has no answer for it.
Generally, the problem is like so:
launch vm
connect usb stick or usb phone cable
vm freezes
it is not possible to terminate vmware-vmx.exe process (even as a SYSTEM user with highest privs).
The issue occurs on vmware workstation 14 & 15 on Windows 10 Pro Build 1903
Also tried disabling windows defender (maybe some strange scan policy) but no results.
Tried also to change almost every setting in workstation but no results...
please help
I was facing exactly the same issue and I have finally found the solution.
Update to VMWare Workstation version 15.5. Update the VM Tools in the Guest operating System, and it works!! Tried with Android Devices, in USB Tethering Mode also.

HoloLens device portal not available

When connecting HoloLens via USB to my computer, the device portal is still not available after setting it up as explained in the install tools page.
All I get in the browser 127.0.0.1:10080 is the generic "unable to connect" page.
Is there any way to know what is failing? What could I check? Any tip will be appreciated!
EDIT: browsers used: Edge, Firefox and Chrome.
EDIT2: Hololens development mode is on.
Connecting over USB requires the PC be running IPoverUSB, which is installed with the Windows 10 SDK. You can verify that it's running by checking the Services tab of Task Manager for IpOverUsbSvc.
FYI, another resolution to this issue may be the USB port you are using.
I initially was using a USB 3 port (which I've used to flash my HoloLens many times) and had the same issues.
On a whim, I switched to an older USB2 port and it's working perfectly now. SO try different USB ports if you are having this issue.

genymotion stays on black screen when loading emulator

When i start a new virtual device with genymotion sometimes it will get stuck on the black screen and not load. Sometimes it will work especially just after a restart, otherwise it will hang on the black screen and become unusable.
If the emulator freezes or crashes this is likely due to incompatability with your video card driver.
If however it just hangs on the black screen, this can be due to two reasons:
Your Firewall or other program is blocking genymotion
If this is likely the case then try disconnecting any vpn services or other software which could be hindering this, and ensuring that genymotion is able to connect to the virtual device over the local network.
If you have a firewall, make sure that you allowed connections to the Genymotion network, set to 192.168.56.0/24 by default.
Your network adaptor is misconfigured
If this is the case you should try the following
Run VirtualBox.
Open File > Preferences > Network (or VirtualBox > Preferences for Mac OS X).
Edit the Host-only Network by clicking .
Check that the adapter IPv4 address is in the same network (192.168.56.0/24 by default) as the DHCP server address, lower address bound and upper address bound. If not, your virtual device cannot start.
You can also remove the Host-only Network by clicking . Genymotion will automatically recreate it at the next virtual device start.
I had this problem in Windows 10 after I updated to VirtualBox 6.0.4 and Genymotion 3.0.1. I am using 2nd generation core i5 cpu (i5 2400). Update to this graphics card is not available. According to the official documentation:
Your graphics card no longer matches Genymotion requirements. Please see https://www.genymotion.com/help/desktop/faq/#supported-graphics-cards.
If you are using a dual graphics card laptop (e.g. Intel/Nvidia or Intel/AMD), make sure you are using the most recent/powerful one.
https://www.genymotion.com/help/desktop/faq/#virtual-device-window-empty
Only solution to my problem was keep the VirtualBox 6.0.4 but downgrade genymotion to 2.12.2 version because my graphics cards is no longer supported and only supported intel graphics card is intel hd graphics 4000 generation. Link to Genymotion 2.12.2 is below:
https://dl.genymotion.com/releases/genymotion-2.12.2/genymotion-2.12.2.exe
Following the below steps solved the issue for me.
Open Windows Settings > Network & Internet > Change adapter options
Right-click on VirtualBox Host-Only Ethernet Adapter
Select Disable
Right-click on the VirtualBox Host-Only Ethernet Adapter again and Select Enable
Press power button doesn't start until then they will stuck on android logo screen then restart
I had the same problem in Windows. updating the video card driver solved the issue.
Genymotion 3.0.1
VirtualBox 6.0.4
I solved the issue in 2 steps:
Check the Android API versions installed on your system from \SDK\platforms directory.
Create New AVD using available Android versions only.
You need to check 4 different things:
proxy connections to be off( Gennymotion/setting/Network)
SDK be set( Gennymotion/ABD/SDK)
Graphic card driver be successfully installed
Virtual box installed and working correctly
Try again please. hope you will fix it easily.

USB HOST mode in ICS

I'm trying to connect a usb sensor (see Toradex) to an android phone (Desire Z) running android 4.0.3.
To test this, I wrote a small app to enumerate the attached device(s).
This supposed to have USB HOST mode implemented and to power the usb sensor (HID)... but it doesn't.
I got a USB OTG cable and now, when I attach the cable, a small icon appears in the status bar (car mode).
I'm disappointed since I waited for this feature for awhile now...
Any thoughts? I read almost everything out there related to this (Sven work and whatnot) but I might have missed something...
Thanks!
I have worked a lot in the past year and a half to build custom android platform. Some was under Froyo but mostly on Gingerbread. Most on the hardware I added was on either a UART or on USB, which is what you want to do. Unfortunately, it is not as easy to add a USB peripheral on an Android device than on a PC or a MAC. PCs and MACs have virtually unlimited memory space (hard drive). They can hold the drivers of a very large number of devices. That makes it possible to do auto-detection and automatic loading of drivers. On an Android device, it is a lot more lean therefor, just the required drivers are stored on the device. Every time I added a new device, I had to compile the driver for my platform and make some modification in my configuration. It is also possible to load the driver as a module instead of compiling it with the kernel (gives a file.ko output). Although, the driver must have been written accordingly. But, you will have to install it by modifying the "init.rc" which requires root privilege.
here is a few link of question/answer about about drivers in Android. That should give you a little bit more info:
USB touchscreen driver
Hope it helps but unfortunately, it is quiet a lot of work do do.