Can't access OVM Samba share MacOs / iOS (Invalid argument) - ios

I have Open Media Vault set up on Raspberry Pi. I have connected an external drive, created the required shared folders, enabled SMB/CIFS.
Everything works great on Windows machine and Android devices, however, if I try to connect to the share through MacOS or iOS (files app), I get an error:
MacOS: There was a problem connecting to the server “raspberrypi”.
iOS: The operation couldn't be completed. Invalid argument
OMV is a default latest installation, no custom configs or anything.
The external drive is exFat type, it was working fine on pure Samba server before (without OMV).
Any ideas how can I fix this or at least how can I debug why I can't connect from MacOS and iOS?

I don't know if problem still persists on your side but enabling FTP server solved the issue for me.

Fix:
sudo kextload /System/Library/Extensions/smbfs.kext
https://developer.apple.com/forums/thread/659331?login=true

Related

Xamarin and gRPC: connection close by peer

I am trying to do some tries with xamarin android and gRPC.
I have my service running in my computer, and I have a net standard 2.1 library with the gRPC client. If I use this library in a wpf application in the same computer, I get response from server, but if I use this library in my xamarin proyect, that I run in a virtual machine with android 8.0, I get the message error connection closed by peer.
In the xamarion prject, the address that I am using is https://10.0.2.2:5001. I am using the IP 10.0.2.2 because if I am not wrong, it is the IP that is used to communicate with localhost.
How could I solve this problem?
Thanks.
PD: I have set permissions to application to can use internet.
PD: I have realized that if my WPF application I use https://localhost:5001 it works, but if I use https:x.x.x.x:5001 where x.x.x.x is the IP of the computer, it gives the same error.
Xamarin works with native nugets Grpc.Core and Grpc.Core.Api
It wont work with Grpc.Net.Client
Find more on
https://learn.microsoft.com/en-us/aspnet/core/grpc/client?view=aspnetcore-3.1
Calling gRPC over HTTP/2 with Grpc.Net.Client is currently not supported on Xamarin. We are working to improve HTTP/2 support in a future Xamarin release. Grpc.Core and gRPC-Web are viable alternatives that work today.

Windows10 internet connection problems after restarting. No hardware devices connections found

Yesterday was 13th, probably well known virus caused crash of internet connection and Windows 10 functions. I could not use keyboard and mouse either to restart or to repair Windows10 with advanced options. With installation USB program started but with bugs and no internet connections was available since no hardware devices found.
The freeware tool cFosICS manages Windows Internet Connection Sharing. It comes with additional commands to fix the Windows 10 bug which may stop Internet Connection Sharing from working after a reboot.
See details here: https://www.cfos.de/en/cfosspeed/cfosics.htm
Try Installation from a DVD .This is Most preferable.Or you can use latest version of RUFUS to boot your Flash Drive.Install the latest version of Windows 10 Pro.
Goto Here For Download
Make sure you have internet connectivity to Sign in to Windows Account.
Set the Update off if you have all problems are solved.
Hope it will help !!
I checked status on cmd with configip/all and got answer IP routing is disabled. So I went to device manager I looked in help how to connect to internet. In Microsoft Management Console/Contents/Get Connected/ there is Connecting to the Internet procedure.
I used Get-NetAdapter. t-NetAdapter: Cannot connect to CIM server error. The service can not be started, either because it is disabled or because another software installation is in progress. Same with Test-Configuration command. The error means: „Cannot connect the computer to the server because of restart pending.
The simple is to use Microsoft Virtual Agent which will with your problem question and it will guide it through steps needed to solve problem. It also recommednds cmd commands as referred above. In my case I had to update Windows10 with formed USB key.

Unable to connect Visual Studio to remotebuild on El Capitan VM

I have a Cordova-Ionic application on Visual Studio (Microsoft Visual Studio Community 2015, Version 14.0.25123.00 Update 2). I am able to run the app on my android phone and all is good. I want to test the app by also running it on an iPhone/iOS simulator.
I have OS X El Capitan (version 10.11.6) running as a VM on virtual box. I have been following this guide (https://taco.visualstudio.com/en-us/docs/ios-guide/) to try to test the app on apple devices. I have installed version 0.12.9 Node.js and Xcode Version 8 Beta 4. I have also installed xcode command line tools, remote agent, homebrew. I have tried running 'remotebuild test' in a terminal and it executes successfully, ending with 'taco-remote test passed.' However, this is where the problems start.
To attempt to use secure remotebuild, i run 'remotebuild certificates reset' and then 'remotebuild certificates generate' in the terminal. I see
host: noyolks-iMac.local
port: 3000
PIN: 121422
I then run 'remotebuild'. On visual studios on my windows machine, I then go to tools -> options -> tools for apache cordova -> iOS configuration. I set 'Enable remote iOS processing' to 'true', 'host' to 'noyolks-iMac.local', 'port' to '3000', 'secure mode' to 'true', 'security pin' to '121422'. However, when i press ok, i see the following error popup 'Unable to connect to remote iOS build server. Underlying exception: The remote name could not be resolved: 'noyolks-imac.local''.
I try using the IP instead in place of the host name as suggested in the guide. On OS X, i go system preferences -> network. I then see '10.0.2.15' under IP address. I go back to my windows machine. I try '10.0.2.15' in place of the 'host'. When i press ok, i see the following error popup 'An error occurred trying to acquire certificate from https://10.0.2.15.'.
Please note, I ensured that all the above was done within the 10 minutes window before the security pin expires.
Following the guide, I then tried to start the remote agent without secure mode. I run 'remotebuild --secure false'. Once again on visual studio on my windows machine, i try host 'noyolks-imac.local' first (with 'port' to '3000', 'enable remote iOS processing' to 'true', 'secure mode' to 'false') and i get the error popup 'Unable to connect to remote iOS build server. Underlying exception: The remote name could not be resolved: 'noyolks-imac.local''.
Once again, running without secure mode, i instead use the ip address in place of the host '10.0.2.15'. I get the error popup 'Unable to connect to remote iOS build server. Underlying exception: Unable to connect to the remote server'.
I have also tried a similar procedure using a friends mac book pro and have not been able to get this to work. Any help would be appreciated and please do feel free to ask for any other information you might need.
Thanks.
I'm an idiot. The problem was that I couldnt even ping my El Capitan VM. Changing the network adapter settings in virtualbox to 'bridged adapter' solved this.

Visual Studio Cordova OS X or IOS Remote connection

I am using Visual Studio Cordova to build IOS app remote build or debug feature.
I tried to connect remote server with secure and non secure method and getting different error.
First i generated certificate and use Host IP(Mac IP), security PIN and IOS device Support Folder details in Visual Studio > Tools > Tool for Apache Cordova > IOS Configuration.
Mac IP = got from ifconfig can be see in attached image.
Security PIN = Genrated by command "remotebuild certificates generate"
ISO Device Folder = 192.168.169.130\Applications\Xcode.app\Contents\Developer\Platforms\iPhoneOS.platform\DeviceSupport.
when tried with secure method. Image Attached
when tried with secure false method. Image Attached
started the server by remotebuild. Image Attached
RemoteBuild test passed. Image Attached
First, please ensure you've followed the steps mentioned in http://taco.visualstudio.com/en-us/docs/ios-guide/
And ensure the remotebuild is started on you Mac.
Second, ensure you can successfully ping the ip of your Mac using ping 192.168.x.x
And from the IPs provided, you may run into the issue mentioned in "Did you receive an error that relates to your certificate?".
To fix the certificates error: In secure mode, you have not set up certificates correctly. On the Mac, you can re-set up your certificates. Close remotebuild using Ctrl + C. Enter on the command line:
remotebuild certificates reset (When prompted, type Y and then type Enter)
remotebuild certificates generate
Then enter the new pin in VS and connect.

Connection to Xamarin.iOS Build Host failed. Double click here to attempt to reconnect/select a server

While loading any new project in Visual Studio 2012 and connecting with Xamarin Build host provider, it gives error "Connection to Xamarin.iOS Build Host failed. Double click here to attempt to reconnect/select a server"
Followed below mentioned steps but none worked.
Tried to unpair and pair again from VS 2012 and MAC Build host provider
HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS\KnownServers remove this key from Registry but I was not able to find this registry
HKEY_CURRENT_USER\Software\Xamarin\MonoTouchVS\MonoTouchBuildServerAddress remove this registry key but didn't help.
Someone suggested to disable proxy by following below steps.
I had the some problem, all was configured well but got the same error. The solution for me, was to disable the proxy! on the windows machine
Hope that will help you
Could anyone please suggest how to disable proxy and on which PC Windows / MAC? And let me know if that helps you to resolve the issue?
Thanks..
Any other solution to get this issue resolved?
==========================
Updates on 24 July, 2014
Solution to my question above I found is: Network connection and constant PING to my MAC PC was broken and thats what causing the problem to connect to Visual Studio.
This works for my machine but not sure about yours.
Go to Xamarin Studio on your Mac, update Xamarin.
Reboot your Mac (just to be absolutely sure)
Startup the iOS Build Host on Mac.
Go to VS on your PC, when VS is trying to connect to the Build Host, make sure the IP address is correct (i.e. your Mac/build host machine IP).
If the IP Address is incorrect (which is my case), try manual connect by entering your Build Host IP Address and try to connect again.
Good luck.

Resources