Cezary napisał/a:Nie ma czym się zająć. Z punktu widzenia openwrt masz wszystko co trzeba i modem wykazuje też stan jak by był chętny do współpracy. I tu już wyczerpaliśmy ten tamat
Zostaje tylko oryginalny soft i sprawdzenie czy w ogóle modem nadal działa.
PS. Nie, nie wszystko - zrób sobie proto 3g i zobaczy czy się połączy:
config 'interface' 'lte'
option 'proto' '3g'
option 'device' '/dev/ttyUSB1'
option 'apn' 'internet'
Reboot oczywiście po tym. Nie pamiętam czy w MF286D ogóle dochodziło do połączenia ppp, ale sprawdzić możesz.
Bez komentarza... Działa na 3g.
root@OpenWrt:~# ifstatus 3g
{
"up": true,
"pending": false,
"available": true,
"autostart": true,
"dynamic": false,
"uptime": 62,
"l3_device": "3g-3g",
"proto": "3g",
"updated": [
"addresses",
"routes"
],
"metric": 0,
"dns_metric": 0,
"delegation": true,
"ipv4-address": [
{
"address": "10.121.74.108",
"mask": 32,
"ptpaddress": "10.64.64.64"
}
],
"ipv6-address": [
],
"ipv6-prefix": [
],
"ipv6-prefix-assignment": [
],
"route": [
{
"target": "0.0.0.0",
"mask": 0,
"nexthop": "10.64.64.64",
"source": "0.0.0.0/0"
}
],
"dns-server": [
"89.108.195.20",
"89.108.202.20"
],
"dns-search": [
],
"neighbors": [
],
"inactive": {
"ipv4-address": [
],
"ipv6-address": [
],
"route": [
],
"dns-server": [
],
"dns-search": [
],
"neighbors": [
]
},
"data": {
}
}
root@OpenWrt:~# logread | grep -i 3g
Mon Oct 9 21:14:48 2023 daemon.notice netifd: Interface '3g' is setting up now
Mon Oct 9 21:14:52 2023 kern.info kernel: [ 31.621630] 3g-3g: renamed from ppp0
Mon Oct 9 21:14:52 2023 daemon.info pppd[2180]: Renamed interface ppp0 to 3g-3g
Mon Oct 9 21:14:52 2023 daemon.info pppd[2180]: Using interface 3g-3g
Mon Oct 9 21:14:52 2023 daemon.notice pppd[2180]: Connect: 3g-3g <--> /dev/ttyUSB1
Mon Oct 9 21:14:53 2023 daemon.notice netifd: Network device '3g-3g' link is up
Mon Oct 9 21:14:53 2023 daemon.notice netifd: Interface '3g' is now up
Mon Oct 9 21:14:54 2023 user.notice firewall: Reloading firewall due to ifup of 3g (3g-3g)
root@OpenWrt:~#
root@OpenWrt:~# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=56 time=125.352 ms
64 bytes from 8.8.8.8: seq=1 ttl=56 time=40.384 ms
64 bytes from 8.8.8.8: seq=2 ttl=56 time=28.647 ms
64 bytes from 8.8.8.8: seq=3 ttl=56 time=27.417 ms