Will this work? shairport-sync with RPi 4 and iPhone mobile hotspot with no Internet #1353
-
Niche Use Case: looking to use a RPi4 with HiFiberry DAC HAT on a boat using a 12V to 5V step down converter. The goal is to improve overall sound quality (versus relying on Bluetooth) by leveraging shairport-sync AP/AP2 for audio only and be able to use the phone/mobile device to control, select audio tracks/playlists, etc.. The problem or hurdle I see is that while in most cases, I will have good cellular data connection and mobile hotspot capability (via the iPhone), I will NOT have a traditional Internet connection or LAN on the boat. Can what I'm trying to do be accomplished if I don't have Internet, but do have cellular/mobile hotspot capability with the iPhone? How do I best tackle this and where do I start? I have purchased a RPi4 model B, a HiFiBerry DAC+ Pro ADC HAT and the necessary case. Would it be technically feasible to turn the WiFi on the Pi into an access point and connect the phone to that? Or the other way around? Been searching for a couple days, but have not found anything definitive, so here I am. Thank you in advance for any insight, guidance and/or advice. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
I'm not sure if it would work but you might be able to connect the Raspberry Pi to the iPhone's Wi-Fi hotspot and AirPlay might appear as an option that way? |
Beta Was this translation helpful? Give feedback.
-
Yes, this is possible. With an access point configured on the pi you can connect directly to that network from your iphone. In order to use cellular data the network connection on the iphone needs to be configured Manually. For the network setting for the pi connection set Configure IP to Manual. Use the same settings (from Automatic) for IP and Router but set Subnet Mask to 8.8.8.8 and save. This is the only way I've been able to get this to work to use cellular data for streaming, etc. |
Beta Was this translation helpful? Give feedback.
-
...just follow the instructions that mikebrady made for a car-install. It will do exactly what you are asking for...and instructions are easy to follow :-) |
Beta Was this translation helpful? Give feedback.
...just follow the instructions that mikebrady made for a car-install. It will do exactly what you are asking for...and instructions are easy to follow :-)
https://github.com/mikebrady/shairport-sync/blob/master/CAR%20INSTALL.md