I want to connect via a 3G modem to the internet.
I installed via apt-get install ppp wvdial usb-modeswitch
When I POWERUP, with the modem in a 4-port hub (with keyboard), the mode does not switch.
If I remove the modem from the hub for 10 seconds and place it back, it appears correctly - and /dev/gsmmodem appears.
Connecting with wvdial works perfectly.
With rebooting the 3G modem mode switch happens perfectly, and with the root crontab @reboot wvdial connects perfectly to the internet
But, when going down with sudo shutdown -h now and removing power after a minute and then again plugging in the power, the switching does not happen.
I need to unplug the modem from the hub again, and the replace it. Then the mode switching happens and wvdial works like a charm again.
What am I doing wrong?
The Raspberry Pi must eventually operate without human intervention and connect to 3G on every reboot.