How to Fix: “Ubuntu No Wi-Fi Adapter Found” issue - command-line

Many Ubuntu users face hardware compatibility problems like being unable to detect a Wi-Fi adapter or unable to detect a graphics card including me.
I tried to use Software Updater but it fails

Related

Holographic Remoting (Hololens 2) connection problem in both Unity and Unreal : TransportConnectionFailed

I'm new in hololens 2 developing and trying to use Holographic Remoting.
Unity 2019 LTS
MRTK 2.5.3
Unreal 4.26
Hololens 2
Win 10
VS 2019
In Unity : I follow a popular tutorial,
On HoloLens, go to the Microsoft Store and install the Holographic Remoting Player application.
On HoloLens, start the Holographic Remoting Player application.
In Unity, click the "Windows" menu and select "XR->Holographic Emulation".
Set the simulation mode to the remote device.
For remote computers, please enter the IP address of HOLOLENS.
Click "Connect". You should see the connection status change to "Connected", and you should see the screen appear blank in HoloLens.
Click the "Play" button to start the play mode and experience the application on HoloLens.
What I met:
Setting in Unity
Setting in Unity
When I start to "Connect", Error there:
Disconnected with error TransportConnectionFailed
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
In Unreal I follow: https://docs.unrealengine.com/zh-CN/SharingAndReleasing/XRDevelopment/AR/HoloLens/QuickStartStreaming/index.html
https://learn.microsoft.com/zh-cn/windows/mixed-reality/develop/unreal/tutorials/unreal-uxt-ch6
Setting in Unreal
Setting in Unreal
Similiar error:
LogTemp: Editor connecting to remote HoloLens2: 192.168.19.57
LogWmrHmd: WMRInterop: ConnectToRemoteHoloLens trying to connect to HoloLens2 192.168.19.57
LogWmrHmd: WMRInterop: RemotingDisconnectedEvent: Reason: 12 TransportConnectionFailed
LogHoloLensAR: Warning: HoloLens AR session disconnected from peer
I can connect the device in device portal, and in the Unreal device manager I can also connect my hololens.
device portal
Unreal device manager
Anyone meet this problem?
Could you check that is there any network management software (such as anti-virus software, Firewall, VPN, etc.) is running on your PC? Because we have solved same problems of another customer, and the reason is that he installed VPN software on the PC, which caused UDP port to be blocked. If you still see the same behavior after shutting down the network management software, please open a support ticket through this link: http://aka.ms/hololenssupport
I still didn't find a solution with this configuration (thank you Hernando, but it's not a VPN problem).
However, after I used :
unity2019LTS-XRSDK-MRTK2.4.0-DefaultXRSDKConfigurationProfile
All the things work well (whether VPN is on or not).

Cannot create a work profile The security policy prevents the creation of a managed device because a custom os is or has been installed on this device

I have 5000 devices enrolled with EMM using android management API and recently I am getting issues with multiple devices out of nowhere and getting and error prompt after scanning the QR code on re-enrollment. All of my enrolled devices are Samsung Tab with the older version of android(7-9) and the issue doesn't seem to be related to the android version. Also, The issue has been experienced for the device which was earlier enrolled and was working fine but recently has this issue, we tried re-enrolling it but it gives us the same following error prompt after QR scan.
Cannot create a work profile - The security policy prevents the
creation of a managed device because a custom os is or has been
installed on this device
For your kind information, there is no custom os installed on the device and the device is not rooted or bootloader is not unlocked. I have researched a lot over the internet but cannot find a solution to the problem I have tried following approaches but it doesn't seem to work in my case
To fix this, you will need to update the time on the device by either connecting to wifi or cellular data (insert SIM-card), or by manually changing it in the set-up screen. After this is done you will be able to provision the device.
Tried DPC Identifier method for enrollment, When prompted to sign in on fresh factory reset device, enter afw#setup, which downloads Android Device Policy. Scan a QR code or manually enter an enrollment token to provision the device.
None of the above seems to work for me, I have also seen that its an issue related to Samsung Knox version, so can anyone from Samsung or google help me debugging and solving this issue, will removing the Knox app from the device work in my case.
Eagerly awaiting for the response as most of my device has started getting affected with this issue, please let me know your thoughts and resolution on this.
Not sure if that's an option for you as you have multiple devices, but on my single device, manually downloading and installing "google apps device policy" resolved the issue.
Been a lurker for a while and posting for the first time
Work as IT helpdesk and found a fix for us (context below)
We use Azure, InTune and Samsung Knox
Needing to assign a Knox profile so an application installs and runs
How we fixed this
Unassigned Knox profile
Ran tablet normally, skipping setup of Google, Samsung account and security
Running Samsung updates until current (24th Feb 2021)
Reassign the Knox profile
Factory resetting through settings
run through the setup process
Error has stopped at this point
You can either use Wi-Fi or SIM Card Data for OS updates through Knox
I had the same problems and this is how i fixed it. I have Samsung Tablet Android 10 and need to set it up under Enterprise.
Straight out of the box, you expand the OS, set up Network connection and than type in the google gmail space: afw#mobicontrol. This Does Not install the custom OS. Once expanded the OS has all the bloated software in tact plus the Mobicontrol app. I kept getting an error 'Can't Create Work Profile because Custom OS is installed on this device'. I did a factory reset but did so by powering it off than using the Power Button and Up Arrow to force it to the Android Recovery Screen. There is a factory reset option to choose from. "This Does Not Work". It still keeps the bloated software in tact.
You need to expand the Android OS first than do a reset. Go to SETTINGS. than ABOUT. at bottom is a RESET option. Choose that. Choose Factory Reset. This will delete all those apps. It reboots. Now you can enter afw#mobicontrol at the google email screen and it will install the custom OS and works under Soti.
Reset From the SETTINGS and do a Factory Reset. Than type in AFW#MOBICONTOL and the custom OS will work.

"No ST-LINK detected" error message, when trying to connect with ST-LINK Utility

I have a
NUCLEO-F401RE board
(with STM32F401RE)
and it has been working fine for the most part. Here recently, I followed a tutorial in the book
"Mastering STM32"
where it says to install
OpenOCD.
I had been following along before this as well, and I had been able to connect to my board and flashing it with no problem.
After attempting to get OpenOCD to work though, this is no longer possible. Every time I try to connect to my board, I simply get the following error message:
No ST-LINK detected
I have tried updating the drivers multiple times, rebooting the board, reinstalling the ST-LINK Utility, switching the USB-Cable, resetting the board and reinstalling everything and I have also tried the trick where you hold down the reset button and try to erase the chip.
So far, none of this has worked for me unfortunately.
Here you find a picture of my board.
On my desktop, I am using Windows 10. On my board, and I am using FreeRTOS.
Here you find an image of my Windows Device Manager.
I have also tried to update the firmware on my board using the ST-Link upgrade, but without luck. When attempting this, I either do not have the option to select my device (when using the .jar app) or when using the .exe app, I just get the following error messages:
No ST-Link device detected
Please connect it and then retry
I have not been able to find a solution for this anywhere, so I hope you guys can help! If you need any further relevant information, just let me know. Thank you very much.
As mentioned in other answers, the problem is almost certainly due to a competing driver (something like libusb) taking control of the device.
However, you do not need to "uninstall and reinstall everything" to select the correct driver, assuming that you have already installed it once before. Moreover, the reinstallation procedure most likely won't help, because the uninstallers usually do not uninstall the drivers anyway, and Windows will keep prefering the same wrong driver.
Instead, open Device Manager, find your STM32 STLink device, double-click to open the Properties dialog. Then click "Update Driver", then "Browse my computer for driver software", then "Let me pick from a list of available drivers on my computer", and you should see something like that:
You see that in this example, at least four different drivers available on the system are happy to service the device. The first two are generic libusb drivers, not specific to the dongle (OpenOCD is happy to use either of those, if I remember correctly). The ST-Link utility, however, wants a dedicated driver, developed by STM - those are the two entries below on my picture. If you do not see those, try installing the ST-Link utility again (no need to uninstall anything) or download just the driver from the STM website.
You can now click on the preferred driver in this list and have it replace whatever driver was assigned to the device before.
From my poor experience the "No ST-LINK detected" message in the STM32 Utility shows when you are disconnected or when other program is using a ST-LINK. So, if this start happens after installing OpenOCD try to uninstall this and try again (maybe with option "Connect under reset"?).
For your information. When you plug the cable to the PC and the board is power on then in the settings (STM32 Utility) you can see available ST-Links (even blocked). Here is example when ST-Link is blocked
From what I have learned and understood (but everyone can correct me :)), your board is divided in two parts :
The ST-Link debugger part ;
The rest with the actual microcontroller.
The ST-Link part is used to flash the microcontroller and can be used to flash any other STM32F4 device through SWD. With your picture :
The STM32 ST-Link Utility uses the ST-Link part of your board to flash it. My point is that if you have the "No ST-Link detected", the issue, I am quite sure, doesn't come from the microcontroller part but comes from the ST-Link part. And since you did say that it worked before you install openocd, I would suggest the driver part in W10 that may be the root of your problems.
Try to uninstall everything (and I mean everything) related to the STM32 (openocd, STM32 ST-Link Utility and its driver through Device Manager).
Reinstall only STM32 ST-Link utility (if you did uninstall the drivers correctly, it should ask you the permission to install the drivers during set up) and try to connect your board.
You can also try to remove the SWD jumpers (connector CN2) on your board to detach the ST-Link from the built-in microcontroller part. Since the ST-Link part is independent it will still be detected by the STM32 ST-Link Utility (but you will have to put the jumpers back if you want to actually program your microcontroller).
Just ran into this. The problem boiled down to using nucleo boards and trying to interface with them using older versions of ST-LINK (ST's search for ST-Link's first hit led me to stsw-link0004, which was not installing the right drivers). Why they don't point you to the latest greatest first, who knows.
Whenever I tried to install drivers, I could only select USB Composite device as a compatible driver, despite repeatedly uninstalling/reinstalling stlink0004.
You need to install the newest st-link e.g. stsw-link0009 (or newer).
Uninstall device (device manager had it under USB Composite Device)
Uninstall ST-LINK
Disconnect nucleo.
Reboot.
Install ST-link (stsw-link0009)
The prompt should have you install 3+ drivers. Not just 2.
Plug in. Voila.

VS 2017 RC - No Internet in Hyper-V Android Emulator

I am having a strange problem in VS 2017 RC, I know it's still quite buggy but maybe someone here can shed some light on my problem.
I have configured 2 devices in VS Emulators, one is for "Windows 10 Phone 14393.0" which runs fine and I have internet access but the other one for Android doesn't have internet access. The only settings I found different (apart from processor and RAM and such) were the network adapters.
Windows Phone emulator uses two network adapters, one is for data transfer which is used internally in both of the emulators and is common for them but the other one is a NAT switch which I believe is used for internet access.
The problem is Android emulator only creates the first adapter for data pass-through and doesn't create the 2nd one for internet. Now I am able to create 2nd adapter and save the settings but as soon as I try to deploy any app it asks me to configure the network settings on emulator and I have to choose yes or it doesn't start the emulator. Now if I choose yes it replaces the configuration and removes the 2nd adapter and I guess that is why I am not able to access internet.
So can someone help me on this so it doesn't replace settings and let me use the emulator with modified settings?
Thanks.

How to speed up download unity asset

I usually download assets on Unity Assets store.It's not really large but the speed of download in unity is too slow and it takes me alot of time.Is there any way to speed up it?
I don't know how fast your internet is. If the problem is NOT your internet speed the problem could be one of the following below.
1) You computer has multiple network adapters enabled and that could be the problem. If you have two or more Network Adapters installed on your computer, disable one of them. For example, your computer usually comes with on-board Ethernet port(internet cable connected to your computer) and a wifi adapter if it is a laptop. If you are only using wifi, go to the Control Panel and disable Ethernet network card but leave the wifi card enabled.
If you are using Ethernet port(internet cable connected to your computer), go to the Control Panel and disable the wifi adapter. There is a conflict between the too.
2) If you have the TeamViewer software installed, uninstall it too.
3) VMware could be the problem too. If VMware is installed on your computer, uninstall it and then test the download again.
4) Disable Internet protocol Version 6 as there could a conflict.
I had thesame before but the first solution worked. So solution 1 is likely to be the culprit.
http://forum.unity3d.com/threads/asset-store-very-slow-with-unity-4.158660/page-2