Jump to content

I'm trying to setup my Raspberry Pi 3 as a USB server over Wi-Fi as an ad-hoc network using Virtual Here. I have succeeded in getting it to work over my local network, but as soon as I create an Ad-Hoc network on the Pi and connect to it with my laptop, it can no longer connect to the server on the Pi. I have allowed TCP 7575 and UPD 5353 through my firewall, and I have set a static IP on the Pi using nmtui, but so far no luck. Not sure what I'm missing, or if Windows 10/11 are the issue.

Link to comment
https://linustechtips.com/topic/1620531-raspberry-pi-debian-bookworm-usb-server/
Share on other sites

Link to post
Share on other sites

Why do you want to set up an ad hoc network? What is the use case..?

Rig: i7 13700k +Contact Frame - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Crucial P3 2TB NVMe for photo work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - PTM 7950 - - XT45 X-Flow 420 + UT60 280 rads externally mounted - - EK XRES RGB PWM - - Fractal Define S2 - - DellAlienware AW3423DWF 34" -- Logitech Pro X Superlight - - Logitech G710+ - - LTT Northern Lights Deskpad

 

Headphones/amp/dac: Schiit Bifrost Multibit - -  Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x8TB WD Red RAID Z2 - - 2x 800 GB SAS SSD’s (1 SLOG, 1 L2Arc) - - 45 HomeLab HL15 15 Drive 4U - - Corsair RM650i - - LSI 9305-16i HBA - - TreuNAS + many other VM’s

 

Unifi UDM Pro in front of full unifi network infrastructure

 

iPhone 17 Pro - - MacBook Air M3

Link to post
Share on other sites

30 minutes ago, ReivaXVrai said:

My goal is to have the Pi sit in my car with my ECU plugged into it. Then, I can remote access the ECU via WiFi using the Pi and tune the car from inside my trailer. 

What an interesting use case, that’s a cool idea. 
 

I have never tried to create an ad hoc network, nor used or heard of virtual here. But you will need to make sure you are exposing whatever webUI’s/services over the ad hoc interface you set up. 
 

There are A LOT of tutorials and YouTube videos on turning a pi into a WiFi router, you effectively want to do that here. I personally don’t know enough to walk you through how to do what you are after, hopefully someone else jumps in who can help or point you to a specific tutorial. I tried googling “r pi travel router plex media server” and such to see how folks are setting up a basic travel router and exposing something popular like plex, but I didn’t quickly see much. 
 

But assuming you can successfully connect to the ad hoc network, the only missing part is exposing the needed services over the required interface. 

Rig: i7 13700k +Contact Frame - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Crucial P3 2TB NVMe for photo work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - PTM 7950 - - XT45 X-Flow 420 + UT60 280 rads externally mounted - - EK XRES RGB PWM - - Fractal Define S2 - - DellAlienware AW3423DWF 34" -- Logitech Pro X Superlight - - Logitech G710+ - - LTT Northern Lights Deskpad

 

Headphones/amp/dac: Schiit Bifrost Multibit - -  Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x8TB WD Red RAID Z2 - - 2x 800 GB SAS SSD’s (1 SLOG, 1 L2Arc) - - 45 HomeLab HL15 15 Drive 4U - - Corsair RM650i - - LSI 9305-16i HBA - - TreuNAS + many other VM’s

 

Unifi UDM Pro in front of full unifi network infrastructure

 

iPhone 17 Pro - - MacBook Air M3

Link to post
Share on other sites

16 minutes ago, LIGISTX said:

What an interesting use case, that’s a cool idea. 
 

I have never tried to create an ad hoc network, nor used or heard of virtual here. But you will need to make sure you are exposing whatever webUI’s/services over the ad hoc interface you set up. 
 

There are A LOT of tutorials and YouTube videos on turning a pi into a WiFi router, you effectively want to do that here. I personally don’t know enough to walk you through how to do what you are after, hopefully someone else jumps in who can help or point you to a specific tutorial. I tried googling “r pi travel router plex media server” and such to see how folks are setting up a basic travel router and exposing something popular like plex, but I didn’t quickly see much. 
 

But assuming you can successfully connect to the ad hoc network, the only missing part is exposing the needed services over the required interface. 

How would I go about exposing the webUIs/services over ad-hoc? 

Link to post
Share on other sites

3 minutes ago, ReivaXVrai said:

How would I go about exposing the webUIs/services over ad-hoc? 

That’s the part I’m not sure about. But hopefully that will be helpful enough info to point you towards the research you need to do. Or hopefully someone else jumps in on this thread. 

Rig: i7 13700k +Contact Frame - - Asus Z790-P Wifi - - RTX 4080 - - 4x16GB 6000MHz - - Samsung 990 Pro 2TB NVMe Boot + Main Programs - - Crucial P3 2TB NVMe for photo work - - Corsair RM850x - - Sound BlasterX EA-5 - - Corsair XC8 JTC Edition - - Corsair GPU Full Cover GPU Block - - PTM 7950 - - XT45 X-Flow 420 + UT60 280 rads externally mounted - - EK XRES RGB PWM - - Fractal Define S2 - - DellAlienware AW3423DWF 34" -- Logitech Pro X Superlight - - Logitech G710+ - - LTT Northern Lights Deskpad

 

Headphones/amp/dac: Schiit Bifrost Multibit - -  Schiit Lyr 3 - - Fostex TR-X00 - - Sennheiser HD 6xx

 

Homelab/Media Server: Proxmox VE host - - 512 NVMe Samsung 980 RAID Z1 for VM's/Proxmox boot - - Xeon e5 2660 V4- - Supermicro X10SRF-i - - 128 GB ECC 2133 - - 10x8TB WD Red RAID Z2 - - 2x 800 GB SAS SSD’s (1 SLOG, 1 L2Arc) - - 45 HomeLab HL15 15 Drive 4U - - Corsair RM650i - - LSI 9305-16i HBA - - TreuNAS + many other VM’s

 

Unifi UDM Pro in front of full unifi network infrastructure

 

iPhone 17 Pro - - MacBook Air M3

Link to post
Share on other sites

How are you doing your "ad-hoc" network? That's an ancient thing that's been deprecated for more than a decade, you can just create an AP now.

 

Maybe easier if you do it the other way, turn on hotspot on your laptop, and connect the pi to it. Whenever you want to use the thing turn on hotspot. Also avoids the Pi broadcasting an AP all the time.

F@H
Desktop: i9-13900K, ASUS Z790-E, 64GB DDR5-6000 CL36, RTX3080, 2TB MP600 Pro XT, 2TB SX8200Pro, 2x16TB Ironwolf RAID0, Corsair HX1200, Antec Vortex 360 AIO, Thermaltake Versa H25 TG, Samsung 4K curved 49" TV, 23" secondary, Mountain Everest Max

Mobile SFF rig: i9-9900K, Noctua NH-L9i, Asrock Z390 Phantom ITX-AC, 32GB, GTX1070, 2x1TB SX8200Pro RAID0, 2x5TB 2.5" HDD RAID0, Athena 500W Flex (Noctua fan), Custom 4.7l 3D printed case

 

Asus Zenbook UM325UA, Ryzen 7 5700u, 16GB, 1TB, OLED

 

GPD Win 2

Link to post
Share on other sites

7 hours ago, Kilrah said:

How are you doing your "ad-hoc" network? That's an ancient thing that's been deprecated for more than a decade, you can just create an AP now.

 

Maybe easier if you do it the other way, turn on hotspot on your laptop, and connect the pi to it. Whenever you want to use the thing turn on hotspot. Also avoids the Pi broadcasting an AP all the time.

I setup the ad-hoc through the network manager with nmtui. I tried setting it up as an access point, and I had the same issue. The only way it works is on an actual network with access to the internet. 

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×