NTRIP over 3g/4g

Hi there

I’ve been using 2 x Reach RS for marking GCP’s for mapping. I’ve been using 2 mobile phones as hot spots to send corrections via NTRIP. Everything has been working flawlessly so far. Since it’s winter here in Finland (-20 celcius) it’s real pain in the a** to deal with external power supplies to power my base phone.

I’ve been trying to get the usb modem with otg cable to work to send the correction from base to rover with no luck. I’ve searched this forum and tried to ssh to base and update the kernel ip routing table etc with to no avail.

Is there a “how to get 3g dogle to work for dummies”?

I have Huawei E173 and E3276 modems at my disposal. Both work fine on computer and when I connect them to reach everything seems to work fine but no data is transmitted. What am I doing wrong?

Hello,

Do you have a way to test your modems with a Linux computer? That’s the easiest way to figure it out.

I could make a live cd but my experience with linux is close to none. I’ll get back to this topic once I get linux running.

Linux up and running. Whats the next step?

Well, I would try just plugging it in and seeing if it works :slight_smile:.

Usually they would be recognized as a wired, USB Ethernet connection. Your only concern is to configure the modem to not require any actions before providing Internet connection. So, it has to be plug and play on Linux. After you plug it in, go to the system network settings, check if you have a new network connection and if you have an IP address for USB Ethernet.

1 Like

I’ve tried both of them. They both show as mass media storge devices. Tried that “usb_modeswitch” command but could’t get them to work.

Any advice would be greatly appreciated

I might be able to help with some basic troubleshooting. Which Linux distribution do you have?

Can you open up a Terminal window (a.k.a. system console) and tail the syslog with this command:
sudo tail -f /var/log/syslog
Then plug in the USB modem and see what appears on the screen. Look for productID and vendorID, and also there should be some reference to the driver name in that group of lines as well.

1 Like

Im running Ubuntu 16.04.4 LTS from usb stick
This is what came up after I plugged the 4G dongle:

Mar 15 14:51:28 ubuntu kernel: [ 259.997290] usb 5-1.1: new high-speed USB device number 5 using xhci_hcd
Mar 15 14:51:28 ubuntu kernel: [ 260.109855] usb 5-1.1: New USB device found, idVendor=12d1, idProduct=14fe
Mar 15 14:51:28 ubuntu kernel: [ 260.109857] usb 5-1.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
Mar 15 14:51:28 ubuntu kernel: [ 260.109859] usb 5-1.1: Product: HUAWEI Mobile
Mar 15 14:51:28 ubuntu kernel: [ 260.109861] usb 5-1.1: Manufacturer: HUAWEI Technology
Mar 15 14:51:28 ubuntu kernel: [ 260.152487] usb-storage 5-1.1:1.0: USB Mass Storage device detected
Mar 15 14:51:28 ubuntu kernel: [ 260.152573] scsi host10: usb-storage 5-1.1:1.0
Mar 15 14:51:28 ubuntu kernel: [ 260.152671] usb-storage 5-1.1:1.1: USB Mass Storage device detected
Mar 15 14:51:28 ubuntu kernel: [ 260.152745] scsi host11: usb-storage 5-1.1:1.1
Mar 15 14:51:28 ubuntu mtp-probe: checking bus 5, device 5: "/sys/devices/pci0000:00/0000:00:07.1/0000:0d:00.3/usb5/5-1/5-1.1"
Mar 15 14:51:28 ubuntu mtp-probe: bus: 5, device: 5 was not an MTP device
Mar 15 14:51:28 ubuntu systemd[1]: Created slice system-usb_modeswitch.slice.
Mar 15 14:51:28 ubuntu systemd[1]: Starting USB_ModeSwitch_5-1.1:1.0…
Mar 15 14:51:28 ubuntu usb_modeswitch_dispatcher[5787]: Could not read attribute: No such file or directory
Mar 15 14:51:29 ubuntu kernel: [ 261.181743] scsi 11:0:0:0: Direct-Access HUAWEI TF CARD Storage 2.31 PQ: 0 ANSI: 2
Mar 15 14:51:29 ubuntu kernel: [ 261.181907] scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
Mar 15 14:51:29 ubuntu kernel: [ 261.181980] sd 11:0:0:0: Attached scsi generic sg2 type 0
Mar 15 14:51:29 ubuntu kernel: [ 261.182978] sr 10:0:0:0: [sr0] scsi-1 drive
Mar 15 14:51:29 ubuntu kernel: [ 261.182979] cdrom: Uniform CD-ROM driver Revision: 3.20
Mar 15 14:51:29 ubuntu kernel: [ 261.183177] sr 10:0:0:0: Attached scsi CD-ROM sr0
Mar 15 14:51:29 ubuntu kernel: [ 261.183232] sr 10:0:0:0: Attached scsi generic sg3 type 5
Mar 15 14:51:29 ubuntu kernel: [ 261.183645] sd 11:0:0:0: [sdc] Attached SCSI removable disk
Mar 15 14:51:28 ubuntu usb_modeswitch_dispatcher[5787]: message repeated 3 times: [ Could not read attribute: No such file or directory]
Mar 15 14:51:29 ubuntu usb_modeswitch: switch device 12d1:14fe on 005/005
Mar 15 14:51:30 ubuntu udisksd[5066]: Adding read ACL for uid 999 to `/media/ubuntu’ failed: Operation not supported
Mar 15 14:51:30 ubuntu kernel: [ 261.370479] ISO 9660 Extensions: Microsoft Joliet Level 1
Mar 15 14:51:30 ubuntu kernel: [ 261.374614] ISOFS: changing to secondary root
Mar 15 14:51:30 ubuntu udisksd[5066]: Mounted /dev/sr0 at /media/ubuntu/Mobile Broadband on behalf of uid 999
Mar 15 14:51:30 ubuntu usb_modeswitch_dispatcher[5787]: Could not read attribute: No such file or directory
Mar 15 14:51:30 ubuntu usb_modeswitch[5787]: usb_modeswitch: switched to 12d1:14fe on 5/5
Mar 15 14:51:31 ubuntu usb_modeswitch_dispatcher[5787]: Unable to open bind list file: No such file or directory
Mar 15 14:51:31 ubuntu kernel: [ 263.208692] usbcore: registered new interface driver usbserial
Mar 15 14:51:31 ubuntu kernel: [ 263.208706] usbcore: registered new interface driver usbserial_generic
Mar 15 14:51:31 ubuntu kernel: [ 263.208716] usbserial: USB Serial support registered for generic
Mar 15 14:51:31 ubuntu kernel: [ 263.216344] usbcore: registered new interface driver option
Mar 15 14:51:31 ubuntu kernel: [ 263.216354] usbserial: USB Serial support registered for GSM modem (1-port)
Mar 15 14:51:31 ubuntu usb_modeswitch[5787]: usb_modeswitch: add device ID 12d1:14fe to driver option
Mar 15 14:51:31 ubuntu usb_modeswitch[5787]: usb_modeswitch: please report the device ID to the Linux USB developers!
Mar 15 14:51:38 ubuntu systemd[1]: Started USB_ModeSwitch_5-1.1:1.0.

These lines seem to indicate that you have a serial device registered. I am not familiar with USB modems myself, but I wonder if a new device appears in the /dev directory like /dev/ppp0 or /dev/ttyACM0 or similar?

I did a little bit of searching, but I’m in a little over my head now, so here is a page from the Arch Linux website. They always have good documentation, so you might find some hints here:
https://wiki.archlinux.org/index.php/USB_3G_Modem

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.