ping google.com
from routerping 8.8.8.8
from router- Please provide results
root@OpenWrt:~# ping google.com
ping: bad address 'google.com'
root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
^C
--- 8.8.8.8 ping statistics ---
17 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt:~#
No DNS server...
One more...can you traceroute 8.8.8.8
please?
ifstatus wwan_4
please, then ping the DNS server(s) assigned.
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets``
root@OpenWrt:~# ifstatus wwan
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 495,
"l3_device": "wwan0",
"proto": "qmi",
"updated": [
"data"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
i stiil loose all packet
My mistake, please use wwan_4
root@OpenWrt:~# ifstatus wwan_4
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": true,
"uptime": 944,
"l3_device": "wwan0",
"proto": "dhcp",
"device": "wwan0",
"updated": [
"addresses",
"routes",
"data"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
{
"address": "10.24.120.128",
"mask": 24
}
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
- But no gateway (default route)...odd...
(BTW, you don't have to respond in 2 messages to others, just use one post.)
If this is correct, perhaps you need to set the mode as well.
- To be clear, your local cell service is actually LTE, correct?
- If not, what mode is it?
but i read that the mode is not necessary, by default is set to all?
No; and you didn't answer my question(s).
You may need to set the other values too, only your carrier could tell you. I surmise you got the APN information, etc. from your cell phone?
config interface 'wwan'
option proto 'qmi'
option device '/dev/cdc-wdm0'
option apn 'web.ho-mobile.it'
option auth 'none'
option modes 'all'
Please edit your message and provide complete output of ifstatus wwan_4.
Ping your DNS as asked earlier and also show ip r output.
There is no need to touch any configuration right now.
complete output of what? i don't see any dns here that was the complete output
root@OpenWrt:~# ip r
default via 10.24.120.129 dev wwan0 src 10.24.120.128
10.24.120.0/24 dev wwan0 scope link src 10.24.120.128
192.168.1.0/24 dev br-lan scope link src 192.168.1.1
root@OpenWrt:~#
So the OP did edit the output...?
From what I read, I saw no DNS or gateway...what's incomplete?
My bad, that would be a gateway.
Rerun ifstatus wwan_4
"route": [
{
"target": "0.0.0.0",
"mask": 0,
"nexthop": "10.24.120.129",
"source": "10.24.120.128/32"
}
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
"hostname": "OpenWrt",
"leasetime": 7200,
"zone": "wan"
}
}
root@OpenWrt:~#
OK...but no DNS...can you ping 8.8.8.8
now?
no i can't
I guess external resources are not available at the moment and all the traffic is redirected to a captive portal or something like that.
If the same SIM works in the phone I suggest to use the phone to obtain operator's DNS settings. Once they are known, they could be added to OpenWrt manually.
Just in case... will be good to see a result of
uqmi -s -d /dev/cdc-wdm0 --get-current-settings
and
wget -s http://194.185.163.71
Using curl -I
is more common for this purpose, but it is not installed by default
i tried another sim card and is working.so why ho is not?
It probably works, but 1st they probably want you to do something on their portal. Please test as I described to be fully confident.