Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do you access host data? #156

Closed
te5s3rakt opened this issue Feb 7, 2024 · 8 comments
Closed

How do you access host data? #156

te5s3rakt opened this issue Feb 7, 2024 · 8 comments

Comments

@te5s3rakt
Copy link

I want to access data on my shares. How can I do this?

Passing the path through doesn't seem to work. And I can seem to seem to discover anything under network either.

Network is on Bridge.

@kroese
Copy link
Contributor

kroese commented Feb 7, 2024

I justed tested it and I could reach the shares on the host if I used the IP address instead of the computer name.

So typing \\COMPUTER did not work, but typing \\10.0.0.100 for example, worked fine.

So can you try if it works for you by using the IP instead of the hostname?

@kroese
Copy link
Contributor

kroese commented Feb 7, 2024

In the latest version (v2.00) I now added a shared network folder which allows for easy filesharing with the host systems /storage folder. For other computers, using the IP instead of the name is still required though.

@te5s3rakt
Copy link
Author

I justed tested it and I could reach the shares on the host if I used the IP address instead of the computer name.

So typing \\COMPUTER did not work, but typing \\10.0.0.100 for example, worked fine.

So can you try if it works for you by using the IP instead of the hostname?

even using an IP, just get a network error.

In the latest version (v2.00) I now added a shared network folder which allows for easy filesharing with the host systems /storage folder. For other computers, using the IP instead of the name is still required though.

where's the mapped folder show up inside the VM? can't seem to find it anywhere.

do I have to fresh install to get it to update the VM?

@kroese
Copy link
Contributor

kroese commented Feb 8, 2024

using an IP, just get a network error.

What Windows version is it?

where's the mapped folder show up inside the VM? can't seem to find it anywhere.

If you go to Network in File Explorer, it will show a computer called host.local if you double click that computer you see a shared folder called Data which shows the contents of /storage/shared.

But since you are unRaid it makes much more sense to stop using the bridge network and use the custom br0 network with DHCP=Y. That way Windows can find other Windows PCs in your home and browse their shared folders (without having to use their IP).

@te5s3rakt
Copy link
Author

What Windows version is it?

Tiny 10.

If you go to Network in File Explorer, it will show a computer called host.local if you double click that computer you see a shared folder called Data which shows the contents of /storage/shared.

mmm, I just get a "Windows cannot access" error when I access it. Error code 0x80070035 😖

But since you are unRaid it makes much more sense to stop using the bridge network and use the custom br0 network with DHCP=Y. That way Windows can find other Windows PCs in your home and browse their shared folders (without having to use their IP).

No windows machines over here 😉. I'd actually never need pass data to/from machines on my network to the VM anyway. Pretty much only ever going to move data from an unRaid share to/from the VM. Would it still be worth running the DHCP method?

Ideally I'd like to run it on my existing custom docker network all my services are on that I pass through my proxy/tunnel.

@kroese
Copy link
Contributor

kroese commented Feb 8, 2024

@te5s3rakt Tiny 10 is based on Win10 LTSC and that version does not allow guest access to shares (shares without a password). So during installation of Tiny 10 using v2.00 I change a registry key to allow it, but I think you already installed Tiny 10 before v2.00 was released. So to solve it either start with a fresh install or if you want to keep your install, execute this command in a command prompt and reboot:

reg.exe add "HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v "AllowInsecureGuestAuth" /t REG_DWORD /d 1 /f

That will allow you to browse the passwordless share in Win10 LTSC and fixes your code 0x80070035.

As for the DHCP method, it is much better than bridge because it does not use any NAT or tunnels/forwarding, but gives Windows direct access to the LAN. Also the performance will be increased because there are less layers. The only requirement is that your unRaid br0 network is in 'macvlan' mode and not in 'ipvlan' mode (it is a setting in unRaid). If you have it in 'ipvlan' mode than it cannot work and you need to stick with bridge.

@Dikakus
Copy link

Dikakus commented Feb 11, 2024

Hi. I tried accessing to the /storage/shared folder with XP but I cant connect to the host.local.

@kroese
Copy link
Contributor

kroese commented Feb 12, 2024

@Dikakus Yes it works in every version except for XP, I think its version of SMB might be too old.

@kroese kroese closed this as completed Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants