Hi,
I have a 4G/LTE hat with a Quectel EG25 on Raspbian . I have installed it as recommended with ECM mode, all trouble shooting tests go well and it connects to the internet : ping -I usb0 google.com works well.
But when I try to request an URL with curl it only works with sudo and not with pi user. Of course, I though of an authorization problem but my pi user is part of dialout groupe that should be sufficient to access usb0 resources and the ping command is working well with the pi user.
Do you have any clue to fix this issue ?
Thx a lot.
========= Some info
OS
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether b8:27:eb:36:c1:ac brd ff:ff:ff:ff:ff:ff
inet 192.168.20.40/24 brd 192.168.20.255 scope global dynamic noprefixroute eth0
valid_lft 26348sec preferred_lft 20948sec
inet6 2a01:e0a:51a:a8d0:7301:7ff:a695:6d37/64 scope global dynamic mngtmpaddr noprefixroute
valid_lft 86206sec preferred_lft 86206sec
inet6 fe80::973:a386:73e0:1294/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
link/ether b8:27:eb:63:94:f9 brd ff:ff:ff:ff:ff:ff
4: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 02:78:83:52:9c:ae brd ff:ff:ff:ff:ff:ff
inet 192.168.225.50/24 brd 192.168.225.255 scope global dynamic noprefixroute usb0
valid_lft 26344sec preferred_lft 20944sec
inet6 fe80::ef00:cf6a:f90f:44e7/64 scope link
valid_lft forever preferred_lft forever
$ lsusb
Bus 001 Device 004: ID 2c7c:0125 Quectel Wireless Solutions Co., Ltd. EC25 LTE modem
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub