If there are other models compatible, please send a comment or a mail to firstname.lastname@example.org so that I can add the model to the list.
If you have a WLAN network within reach of your apiary, you don’t need to buy a surf stick.
Configuring the Surfstick
Before connecting the Surfstick to the Raspberry Pi, the Surfstick should be connected to a laptop or computer. Follow the instructions of the Surfstick to save the PIN of the inserted SIM card in the web interface of the Surfstick. This web interface is usually accessible under “192.168.8.1” or “surf.stick”.
The procedure in detail
- First-time installation on a Windows PC: First insert the SIM card from Netzclub into the Surfstisck. Then the Surfstick can be connected to a USB port on the computer. When the Surfstick is put into operation for the first time, a “AutoRun.exe” must be executed once. A double click on the newly appearing drive is sufficient.
- Web interface: In the next step, open your web browser and enter the IP address “http://192.168.8.1” of the Surfstick. Depending on the manufacturer and model, it may be a different IP address.
- PIN: After you have successfully opened the web interface of the Surfstick, your SIM card asks for the SIM card PIN. This four-digit PIN was sent to you with the Netzcub SIM card. I recommend to deactivate the PIN request under “Settings=>Security” afterwards, then the stick always works immediately.
- APN: Depending on your mobile provider you may have to change additional settings. Netzclub has the APN “pinternet.interkom.de”. The APN cannot be changed for surf sticks with SIM lock. If you bought a Surfstick with SIM-Lock, only the supported mobile providers will work.
- Roaming: Roaming can be activated. The 100MB/month of Netzclub are valid in all EU countries. The activated roaming allows the surf stick to dial into the E-Plus and O2 network better (depending on availability).
Many thanks to Andreas, who created a manual for the configuration under Windows 10. The special feature of his manual is that the web interface (accessible via IP) was not used. The configuration is done via the control integrated in Windows 10.
Troubleshooting Huawei E3531i-1 Surfstick
The Surfstick is delivered in different model types. So far this problem has been noticed with model 1. The Surfstick works on the PC, but not on the Raspberry Pi? A power shortage could be the cause. The Surfstick must get enough ampere. Therefore a Y-cable (approx. 3€) is needed for model 1.
The Surfstick must be connected to the internal Micro-USB port of the Raspberry Zero W. The outer USB port is for power and the inner USB port is for USB.
WLAN hotspot at the apiary
For the sake of completeness I would like to mention the possibility of an external 3G modem which works as a hotspot. The Raspberry Pi in this variant can simply log into the WLAN of the 3G modem. This possibility is available from 10 Euro extra charge for a surf stick and has in my opinion a better reusability, because for example also a smartphone can be connected to the hotspot. Some models (e.g. Huawei E5330🛒) also have integrated status indicators for battery status and connection strength. The external 3G modems need their own power supply via Micro-USB, but can also be powered by the USB socket of the Raspberry Pis. When calculating the operating time of the power supply, it should be noted that an external 3G model – perhaps even one with LCD display – consumes more power than a pure surf stick. Some 3G modems already have their own battery installed.
Mit dem WLAN-Hotspot, wie der des Huawei E5330 🛒, kann sich mit mehreren HoneyPis verbunden werden. Unsere Firmware bietet eine WLAN-Unterstützung. Daher können sich mehrere Raspberry Pis mit einem WLAN-Hotspot verbinden. Das hat den Vorteil, das nicht für jeden Raspberry Pi Zero W je ein Surfstick gekauft werden muss, sondern nur noch ein gemeinsames Hotspot-Modem für alle Geräte.
With the WLAN hotspot, such as that of the Huawei E5330 🛒, several HoneyPis can be connected. Our firmware offers WLAN support. Therefore several Raspberry Pis can connect to one WLAN hotspot. This has the advantage that you do not have to buy one surf stick for each Raspberry Pi Zero W, but only one common hotspot modem for all devices.
Some of you may already have a different Surfstick than the ones we introduced above. If you want to use a different one than ours, you may have to make some adjustments. The following section is only interesting for those who want to change the raspbian system.
For those of you who know your way around: Getting other Surfsticks (modems) to work
With “usb_modeswitch” the USB device is recognized as an analog modem, which is controlled with AT codes. This is especially useful if you also want to send SMS. One problem is, however, that especially with many noname surf sticks the required AT commands are not documented.
Bernd got his surfstick “XS W14 Surfstick” working and created the following installation instructions:
How to install wvdial:
- wvdial mit apt install wvdial installieren.
- in /etc/rc.local vor „rpi-scripts/main.py“ „wvdial &“ (ohne Anführungszeichen) eingeben.
- in /etc/wvdial.conf folgendes eingeben:
[Dialer Defaults]Query the stored APNs. The first entry is used to dial in.
Phone = *99#
Username = " "
Password = " "
Stupid Mode = on
Dial Command = ATDT
Modem Type = USB Modem
Modem = /dev/ttyUSB2
Init1 = ATZ
Carrier Check = on
Examples for setting own APNs, for activating Remove semicolon!
ISDN = off
# This is suitable for Netzclub, otherwise change accordingly.
Further information about wvdial can be found here.
Translated 28.07.2019 by JK