First of all I want to say “Hello”. This is my first post here on the Forum,
I installed the Volumio-Image on my RaspberryPi3b+ and configured the network and everything works fine.
But I wanted to put the PI in my Car and use a Huawei 3531 Modem (it is an USB-Dongle for SIM cards) for internet connection and share this internet connection via Wifi, so that I sit in my car and I connect my iPhone to the Network “MyCarWifi” and I can start streaming Deezer on my iPhone while the sound goes via AirPlay to my Car-Boxes.
Bevore I installed Volumio, I had a normal Raspbian installation on my Pi and installed LogitechMediaServer and then I configured the Huawei-Modem and shared the Internet connection via Wifi and it worked, but the AirPlay implementation was not that good sometimes the sound was comming and from one moment to the other there was no more sound but the Pi was still on and my iPhone was still connected.
So I installed Volumio and tried to configure the Huawei-Modem, but somehow it is not working.
Maybe because Volumio itself uses the WLAN0-Adapter and so I can not use it as Wifi-Hotspot for the dongle?
Has anybody an idea what I could do or what I am doing wrong?
If I understand correctly, you want to use this dongle as small router to get internet to get your R-Pi and phone in the same wireless network, with internet access for streaming?
This is not a standard configuration for Volumio. My guess is indeed that this interferes with the Volumio installation, that by default creates a hotspot with the built-in wireless chip. You’d have to dive into the code and disable this, and configure your dongle as you did before.
@PaulM:
thank you for your answer.
Well my plan is to use the Dongle to get the R-Pi to the internet and then use the integrated wifi-Chip to create a hotspot for my phone,
so that I connect my phone to the R-Pi Hotspot and the R-Pi redirects to the internet.
This would mean the R-Pi is functioning as an router and an multimedia(audio)-system.
and therefore the integrated Hotspot should not interfere, or am I wrong?
Right. I checked the interface, the E3531 as a dongle does not have a capability of Wifi. Then I understand what you say: the dongle provides internet to the Pi, and this connection is shared through a wifi hotspot from the Pi. This way when the phone connects to this network, it is able to access the Volumio UI and has internet access.
So the challenges here are: 1) Get the dongle to work under Volumio; 2) Disable Volumio’s auto hotspot-generation; 3) Create your own hotspot and share the dongle’s internet connection.
This tutorial should give you a good start: howtoraspberrypi.com/create-a-w … raspberry/
Do record well which steps you took. If you ever want to update Volumio, you will most likely have to re-flash a new version and set it up all over again.
(or write a bash-script to automate all the steps and share it ).
I already got the dongle work on Raspbian, but on Volumio it is making some mistakes…
in The VolumioUI you can disable the Hotspot, would this be enough?
Or should I look for an script-File or something similiar that is creating/starting the hotspot?
I already configured that, but somehow it seems that it is not working…
so first I will try to realize step 2, the I will try to realize step 1 and lastly I would try to realize step 3
and if all of these work fine, I can try to create a script that automates my steps.
I will try to follow the tutorial you sent me, if I fail I will try to reinstall Volumio and start from scratch
I would guess disabling the hotspot suffices. You can look at the script how the hotspot was created though
As a starting point, have you tried sharing the dongle internet via a hotspot on Raspbian first? The dongle works in Raspbian you say, and Raspbian is easier to customize. If it works, you can try to translate your steps to Volumio.
Yes, under Raspbian the dongle worked and I shared the Internet successfully with the hotspot.
The mistakes that I mean are for example that under Raspbian I only connected the dongle and it was recognized and if i did run “ifconfig” there was an additional entry called “usb0”. under Volumio the dongle was recognized as a massStorage-Device and there was no additional entry in “ifconfig”.
Under Raspbian the connection simply worked, I only had to go to the IP of the dongle and unlock the SIM, under volumio I had to use usb-modeswitch to switch the dongle from massStorage to Mode-Mode and after that I needed wvdial to start a connection. Using wvdial way the connection could be established, but some days later the connection did not work so I used Sakis3g which again firstly worked and after some hours it tryes to cennect and simply fails (in wvdial it says “the modem hung up the phone” or something likely).
But I will look at it as soon as I got the time, so if I dont try it today I will try it tomorrow.