Cezary napisał/a:

To nie jest potrzebne, bo to się wykonuje przy pierwszym uruchomieniu. A przy pierwszym i tak zmian nie będzie które wykonałeś, więc...

ok dzięki za wyjaśnienie
nie wiedziałem
teraz jak zmieniam coś w GUI np. parametry WiFi to nie rozwala mi ustawień sieci WAN
bardzo dziękuje za pomoc smile

super dzięki pomogło smile
zmieniłem jeszcze wpis w 02_network

zte,mf286|\
zte,mf286a|\
zte,mf286r)
    ucidef_add_switch "switch0" \
        "0@eth0" "1:lan:4" "2:lan:3" "3:lan:2" "5:wan"
    ;;

dokładnie "5:wan"

czyli ma być tak?

default_lan_if    eth0.1
default_wan_if    eth0.2
default_wan_mac    d4:72:26:15:fd:ed

niestety zmiana w pomogła
w /tmp/cached_basic_vars
mam tak

var isBcm94704 = false;
var allLanMacs = [];
allLanMacs.push("d4:72:26:15:fd:ed");
allLanMacs.push("d4:72:26:15:fd:ed");
allLanMacs.push("d4:72:26:17:fd:ed");
allLanMacs.push("d4:72:26:17:fd:ed");
var isRamips = false;
var wifiDevG=uciWirelessDevs.length > 0 ? uciWirelessDevs[0] : "";
var wifiDevA="";
var phyRadio=[];
var radioPhy=[];
var phyCapab=[];
var wirelessDriver="mac80211";
var mac80211Channels = [];
var mac80211ChFreqs = [];
var mac80211ChPwrs = [];
var nextCh=[];
var dualBandWireless=true;
nextCh     = [];
nextChFreq = [];
nextChPwr  = [];
wifiDevA="radio0";
var AwifiN = true;
var AwifiAC = true;
var AwifiAX = false;
var maxACwidth = "80" ;
var AC80P80 = false;
var maxAXwidth = "0" ;
var AX80P80 = false;
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
mac80211Channels["A"] = nextCh ;
mac80211ChFreqs["A"]  = nextChFreq ;
mac80211ChPwrs["A"]   = nextChPwr ;
phyRadio["phy0"] = "radio0";
radioPhy["radio0"] = "phy0";
phyCapab["phy0"] = [];
phyCapab["phy0"]["5G"] = [];
phyCapab["phy0"]["5G"]["ht"] = 1;
phyCapab["phy0"]["5G"]["vht"] = 1;
phyCapab["phy0"]["5G"]["he"] = 0;
phyCapab["phy0"]["5G"]["max_width"] = 80;
phyCapab["phy0"]["5G"]["modes"] = [];
phyCapab["phy0"]["5G"]["modes"].push("NOHT");
phyCapab["phy0"]["5G"]["modes"].push("HT20");
phyCapab["phy0"]["5G"]["modes"].push("VHT20");
phyCapab["phy0"]["5G"]["modes"].push("HT40");
phyCapab["phy0"]["5G"]["modes"].push("VHT40");
phyCapab["phy0"]["5G"]["modes"].push("VHT80");
phyCapab["phy0"]["5G"]["channels"] = [];
phyCapab["phy0"]["5G"]["freqs"] = [];
phyCapab["phy0"]["5G"]["pwrs"] = [];
nextCh     = [];
nextChFreq = [];
nextChPwr  = [];
nextCh.push(36); nextChFreq[36] = "5180MHz"; nextChPwr[36] = 23;
nextCh.push(40); nextChFreq[40] = "5200MHz"; nextChPwr[40] = 23;
nextCh.push(44); nextChFreq[44] = "5220MHz"; nextChPwr[44] = 23;
nextCh.push(48); nextChFreq[48] = "5240MHz"; nextChPwr[48] = 23;
nextCh.push(52); nextChFreq[52] = "5260MHz"; nextChPwr[52] = 20;
nextCh.push(56); nextChFreq[56] = "5280MHz"; nextChPwr[56] = 20;
nextCh.push(60); nextChFreq[60] = "5300MHz"; nextChPwr[60] = 20;
nextCh.push(64); nextChFreq[64] = "5320MHz"; nextChPwr[64] = 20;
nextCh.push(100); nextChFreq[100] = "5500MHz"; nextChPwr[100] = 26;
nextCh.push(104); nextChFreq[104] = "5520MHz"; nextChPwr[104] = 26;
nextCh.push(108); nextChFreq[108] = "5540MHz"; nextChPwr[108] = 26;
nextCh.push(112); nextChFreq[112] = "5560MHz"; nextChPwr[112] = 26;
nextCh.push(116); nextChFreq[116] = "5580MHz"; nextChPwr[116] = 26;
nextCh.push(120); nextChFreq[120] = "5600MHz"; nextChPwr[120] = 26;
nextCh.push(124); nextChFreq[124] = "5620MHz"; nextChPwr[124] = 26;
nextCh.push(128); nextChFreq[128] = "5640MHz"; nextChPwr[128] = 26;
nextCh.push(132); nextChFreq[132] = "5660MHz"; nextChPwr[132] = 26;
nextCh.push(136); nextChFreq[136] = "5680MHz"; nextChPwr[136] = 26;
nextCh.push(140); nextChFreq[140] = "5700MHz"; nextChPwr[140] = 26;
nextCh.push(144); nextChFreq[144] = "5720MHz"; nextChPwr[144] = 13;
nextCh.push(149); nextChFreq[149] = "5745MHz"; nextChPwr[149] = 13;
nextCh.push(153); nextChFreq[153] = "5765MHz"; nextChPwr[153] = 13;
nextCh.push(157); nextChFreq[157] = "5785MHz"; nextChPwr[157] = 13;
nextCh.push(161); nextChFreq[161] = "5805MHz"; nextChPwr[161] = 13;
nextCh.push(165); nextChFreq[165] = "5825MHz"; nextChPwr[165] = 13;
nextCh.push(169); nextChFreq[169] = "5845MHz"; nextChPwr[169] = 13;
nextCh.push(173); nextChFreq[173] = "5865MHz"; nextChPwr[173] = 13;
phyCapab["phy0"]["5G"]["channels"] = nextCh ;
phyCapab["phy0"]["5G"]["freqs"]  = nextChFreq ;
phyCapab["phy0"]["5G"]["pws"]   = nextChPwr ;
nextCh     = [];
nextChFreq = [];
nextChPwr  = [];
wifiDevG="radio1";
var GwifiN = true;
var GwifiAX = false;
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
mac80211Channels["G"] = nextCh ;
mac80211ChFreqs["G"]  = nextChFreq ;
mac80211ChPwrs["G"]   = nextChPwr ;
phyRadio["phy1"] = "radio1";
radioPhy["radio1"] = "phy1";
phyCapab["phy1"] = [];
phyCapab["phy1"]["2G"] = [];
phyCapab["phy1"]["2G"]["ht"] = 1;
phyCapab["phy1"]["2G"]["vht"] = 0;
phyCapab["phy1"]["2G"]["he"] = 0;
phyCapab["phy1"]["2G"]["max_width"] = 40;
phyCapab["phy1"]["2G"]["modes"] = [];
phyCapab["phy1"]["2G"]["modes"].push("NOHT");
phyCapab["phy1"]["2G"]["modes"].push("HT20");
phyCapab["phy1"]["2G"]["modes"].push("HT40");
phyCapab["phy1"]["2G"]["channels"] = [];
phyCapab["phy1"]["2G"]["freqs"] = [];
phyCapab["phy1"]["2G"]["pwrs"] = [];
nextCh     = [];
nextChFreq = [];
nextChPwr  = [];
nextCh.push(1); nextChFreq[1] = "2412MHz"; nextChPwr[1] = 20;
nextCh.push(2); nextChFreq[2] = "2417MHz"; nextChPwr[2] = 20;
nextCh.push(3); nextChFreq[3] = "2422MHz"; nextChPwr[3] = 20;
nextCh.push(4); nextChFreq[4] = "2427MHz"; nextChPwr[4] = 20;
nextCh.push(5); nextChFreq[5] = "2432MHz"; nextChPwr[5] = 20;
nextCh.push(6); nextChFreq[6] = "2437MHz"; nextChPwr[6] = 20;
nextCh.push(7); nextChFreq[7] = "2442MHz"; nextChPwr[7] = 20;
nextCh.push(8); nextChFreq[8] = "2447MHz"; nextChPwr[8] = 20;
nextCh.push(9); nextChFreq[9] = "2452MHz"; nextChPwr[9] = 20;
nextCh.push(10); nextChFreq[10] = "2457MHz"; nextChPwr[10] = 20;
nextCh.push(11); nextChFreq[11] = "2462MHz"; nextChPwr[11] = 20;
nextCh.push(12); nextChFreq[12] = "2467MHz"; nextChPwr[12] = 20;
nextCh.push(13); nextChFreq[13] = "2472MHz"; nextChPwr[13] = 20;
phyCapab["phy1"]["2G"]["channels"] = nextCh ;
phyCapab["phy1"]["2G"]["freqs"]  = nextChFreq ;
phyCapab["phy1"]["2G"]["pws"]   = nextChPwr ;
var wpad_eap = true;
var wpad_sae = true;
var wpad_owe = true;
var wpad_sb192 = true;
var wpad_wep = false;
var distribTarget='ath79/nand';

tak będzie OK?

{
    "model": {
        "id": "zte,mf286r",
        "name": "ZTE MF286R"
    },
    "switch": {
        "switch0": {
            "enable": true,
            "reset": true,
            "ports": [
                {
                    "num": 0,
                    "device": "eth0",
                    "need_tag": false,
                    "want_untag": false
                },
                {
                    "num": 1,
                    "role": "lan",
                    "index": 4
                },
                {
                    "num": 2,
                    "role": "lan",
                    "index": 3
                },
                {
                    "num": 3,
                    "role": "lan",
                    "index": 2
                },
                {
                    "num": 5,
                    "role": "wan",
                    "index": 1
                }
            ],
            "roles": [
                {
                    "role": "lan",
                    "ports": "1 2 3 0t",
                    "device": "eth0.1"
                },
                {
                    "role": "wan",
                    "ports": "5 0t",
                    "device": "eth0.2"
                }
            ]
        }
    },
    "network": {
        "lan": {
            "device": "eth0.1",
            "protocol": "static"
        },
        "wan": {
            "device": "eth0.2",
            "protocol": "dhcp"
        }
    },
    "gpioswitch": {
        "power_btn_block": {
            "name": "Power button blocker",
            "pin": "532",
            "default": 0
        }
    },
    "wlan": {
        "phy0": {
            "path": "pci0000:00/0000:00:00.0",
            "info": {
                "antenna_rx": 3,
                "antenna_tx": 3,
                "bands": {
                    "5G": {
                        "ht": true,
                        "vht": true,
                        "max_width": 80,
                        "modes": [
                            "NOHT",
                            "HT20",
                            "VHT20",
                            "HT40",
                            "VHT40",
                            "VHT80"
                        ],
                        "default_channel": 36
                    }
                },
                "radios": []
            }
        },
        "phy1": {
            "path": "platform/ahb/18100000.wmac",
            "info": {
                "antenna_rx": 7,
                "antenna_tx": 7,
                "bands": {
                    "2G": {
                        "ht": true,
                        "max_width": 40,
                        "modes": [
                            "NOHT",
                            "HT20",
                            "HT40"
                        ],
                        "default_channel": 1
                    }
                },
                "radios": []
            }
        }
    }
}

było tak

{
    "model": {
        "id": "zte,mf286r",
        "name": "ZTE MF286R"
    },
    "switch": {
        "switch0": {
            "enable": true,
            "reset": true,
            "ports": [
                {
                    "num": 0,
                    "device": "eth0",
                    "need_tag": false,
                    "want_untag": false
                },
                {
                    "num": 1,
                    "role": "lan",
                    "index": 4
                },
                {
                    "num": 2,
                    "role": "lan",
                    "index": 3
                },
                {
                    "num": 3,
                    "role": "lan",
                    "index": 2
                },
                {
                    "num": 5,
                    "role": "lan",
                    "index": 1
                }
            ],
            "roles": [
                {
                    "role": "lan",
                    "ports": "1 2 3 5 0t",
                    "device": "eth0.1"
                }
            ]
        }
    },
    "network": {
        "lan": {
            "device": "eth0.1",
            "protocol": "static"
        }
    },
    "gpioswitch": {
        "power_btn_block": {
            "name": "Power button blocker",
            "pin": "532",
            "default": 0
        }
    },
    "wlan": {
        "phy0": {
            "path": "pci0000:00/0000:00:00.0",
            "info": {
                "antenna_rx": 3,
                "antenna_tx": 3,
                "bands": {
                    "5G": {
                        "ht": true,
                        "vht": true,
                        "max_width": 80,
                        "modes": [
                            "NOHT",
                            "HT20",
                            "VHT20",
                            "HT40",
                            "VHT40",
                            "VHT80"
                        ],
                        "default_channel": 36
                    }
                },
                "radios": [
                ]
            }
        },
        "phy1": {
            "path": "platform/ahb/18100000.wmac",
            "info": {
                "antenna_rx": 7,
                "antenna_tx": 7,
                "bands": {
                    "2G": {
                        "ht": true,
                        "max_width": 40,
                        "modes": [
                            "NOHT",
                            "HT20",
                            "HT40"
                        ],
                        "default_channel": 1
                    }
                },
                "radios": [
                ]
            }
        }
    }
}

<W pierwszym poście>
ZTE MF286R z Gargoyle: 1.15.0.5 (Built 20260411-1712 git@cf140c45)

Cezary napisał/a:

Wyciągnij kabel z wanu, przełączy się na lte.

jasne smile
ale jak dam zapis w GUI to mam tak

config interface 'loopback'
    option device 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fdf8:4727:2690::/48'
    option dhcp_default_duid '0004ddc5efd08f9d4bac9b0394e94a99420c'

config device 'brlan_dev'
    option name 'br-lan'
    option type 'bridge'
    list ports 'eth0.1'

config interface 'lan'
    option device 'br-lan'
    option proto 'static'
    option ipaddr '192.168.40.1'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ip6ifaceid '::1'
    option dns '192.168.40.1'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan 'switch_lan_vlan'
    option device 'switch0'
    option vlan '1'
    option ports '1 2 3 0t'

config switch_vlan 'switch_wan_vlan'
    option device 'switch0'
    option vlan '2'
    option ports '5 0t'

config device 'wan_eth_dev'
    option name 'eth0.2'
    option macaddr 'd4:72:26:15:fd:ed'

[b]config interface 'wan'
    option device '/dev/ttyACM0'
    option proto 'dhcp'
    option metric '10'
    option ipv6 '0[/b]'

config interface 'lte'
    option proto 'ncm'
    option device '/dev/ttyACM0'
    option username 'internet'
    option password 'internet'
    option apn 'internet'
    option pincode '6505'
    option mobile_isp 'Poland - Orange'
    option ipv6 '0'
    option metric '20'
    option peerdns '0'
    list dns '8.8.8.8'
    list dns '1.1.1.1'

co co pogrubione powinno być takie
wtedy będzie działać redundancja

config interface 'wan'
    option device 'eth0.2'
    option proto 'dhcp'
    option metric '10'
    option peerdns '0'
    list dns '8.8.8.8'
    list dns '1.1.1.1'

Jest tak

ifstatus wan
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 15,
        "l3_device": "eth0.2",
        "proto": "dhcp",
        "device": "eth0.2",
        "updated": [
                "addresses",
                "routes",
                "data"
        ],
        "metric": 10,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [
                {
                        "address": "192.168.5.189",
                        "mask": 24
                }
        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [
                {
                        "target": "0.0.0.0",
                        "mask": 0,
                        "nexthop": "192.168.5.1",
                        "source": "192.168.5.189/32"
                }
        ],
        "dns-server": [
                "8.8.8.8",
                "1.1.1.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [
                        "192.168.5.1"
                ],
                "dns-search": [
                        "home.arpa"
                ],
                "neighbors": [

                ]
        },
        "data": {
                "dhcpserver": "192.168.5.1",
                "hostname": "Gargoyle",
                "leaseacquired": 1102,
                "leasetime": 43200
        }
}
root@Gargoyle:~# ifstatus lte
{
        "up": true,
        "pending": false,
        "available": true,
        "autostart": true,
        "dynamic": false,
        "uptime": 1035,
        "l3_device": "usb1",
        "proto": "ncm",
        "updated": [
                "data"
        ],
        "metric": 20,
        "dns_metric": 0,
        "delegation": true,
        "ipv4-address": [

        ],
        "ipv6-address": [

        ],
        "ipv6-prefix": [

        ],
        "ipv6-prefix-assignment": [

        ],
        "route": [

        ],
        "dns-server": [
                "8.8.8.8",
                "1.1.1.1"
        ],
        "dns-search": [

        ],
        "neighbors": [

        ],
        "inactive": {
                "ipv4-address": [

                ],
                "ipv6-address": [

                ],
                "route": [

                ],
                "dns-server": [

                ],
                "dns-search": [

                ],
                "neighbors": [

                ]
        },
        "data": {
                "manufacturer": "\"zte"
        }
}
root@Gargoyle:~# ip route
default via 192.168.5.1 dev eth0.2 proto static src 192.168.5.189 metric 10
default via 10.109.105.30 dev usb1 proto static src 10.109.105.225 metric 20
10.109.105.0/24 dev usb1 proto static scope link metric 20
192.168.5.0/24 dev eth0.2 proto static scope link metric 10
192.168.40.0/24 dev br-lan proto kernel scope link src 192.168.40.1
Cezary napisał/a:

Bo oba pola są typu password i przeglądarka wprowadza ci zapamiętane hasło w pola.

Nie rób zapamiętywania haseł dla tej strony

Chyba nie precyzyjnie zapytałem smile
Chodzi o to że po jakiejkolwiek zmianie i zapisie w GUI, w pliku nerwork zmienia sie sekcja 'wan' w

config interface 'wan'
    option device 'eth0.2'
    option proto 'pppoe'
    option username 'TU_WPISZ_LOGIN_OD_DOSTAWCY'
    option password 'TU_WPISZ_HASLO_OD_DOSTAWCY'
    option ipv6 '0'
    option metric '10'
    option peerdns '0'
    list dns '8.8.8.8'
    list dns '1.1.1.1' 

Wzmianka o haśle była tylko przykładem
Redundancja nie działa
Czyli jak wypne kabel z wan lte nie działa, a ma sie przełączyć automatycznie

mam tak

config interface 'loopback'
    option device 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fdf8:4727:2690::/48'
    option dhcp_default_duid '0004ddc5efd08f9d4bac9b0394e94a99420c'

config device 'brlan_dev'
    option name 'br-lan'
    option type 'bridge'
    list ports 'eth0.1'

config interface 'lan'
    option device 'br-lan'
    option proto 'static'
    option ipaddr '192.168.0.1'
    option netmask '255.255.255.0'
    option ip6assign '60'
    option ip6ifaceid '::1'
    option dns '192.168.0.1'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan 'switch_lan_vlan'
    option device 'switch0'
    option vlan '1'
    option ports '1 2 3 0t'

config switch_vlan 'switch_wan_vlan'
    option device 'switch0'
    option vlan '2'
    option ports '5 0t'

config device 'wan_eth_dev'
    option name 'eth0.2'
    option macaddr 'd4:72:26:15:fd:ed'

config interface 'wan'
    option device 'eth0.2'
    option proto 'pppoe'
    option username 'TU_WPISZ_LOGIN_OD_DOSTAWCY'
    option password 'TU_WPISZ_HASLO_OD_DOSTAWCY'
    option ipv6 '0'
    option metric '10'
    option peerdns '0'
    list dns '8.8.8.8'
    list dns '1.1.1.1'

config interface 'lte'
    option proto 'ncm'
    option device '/dev/ttyACM0'
    option username 'internet'
    option password 'internet'
    option apn 'internet'
    option pincode 'XXXX'
    option mobile_isp 'Poland - Orange'
    option ipv6 '0'
    option metric '20'
    option peerdns '0'
    list dns '8.8.8.8'
    list dns '1.1.1.1'

ale jak tylko coś zmienia w GUI np longin i hasło to łącze pada
czy jest zatem przewidywana w przyszłości zmiana w samym GUI w tym zakresie? smile
mam router ZTE MF286R z Gargoyle: 1.15.0.5 (Built 20260411-1712 git@cf140c45) czyli najnowsza

Cezary napisał/a:

Ustaw albo statyczny dhcp  albo po prostu nazwę https://eko.one.pl/?p=openwrt-konfigura … nazwyhosta i będziesz mógł się po nazwie odwołać. Jak w każdym openwrt...

gdzie to dopisać
    # uci add dhcp domain
    # uci set dhcp.@domain[-1].name=malgosia
    # uci set dhcp.@domain[-1].ip=192.168.1.100
    # uci commit dhcp
do jakiego pliku
czy to są komendy Putty

Cezary napisał/a:

Jeżeli drukarka jest po dhcp to automatycznie się to dzieje, tak jak w każdym openwrt.

drukarka to przykład ale są urządzenia, które tak nie działają
czy można ustawić tak router żeby to on przekierowywał na odpowiednie IP

a czy w Gargoyle można ustawić lokalny dns chodzi to żebym mógł w przeglądarce w sieci wewnętrznej wpisać drukarka i zostało to przekierowane do ip 192.168.1.40 co otwiera stronę drukarki.
nie chcę tego dużo raptem kilka wpisów

14

(15 odpowiedzi, napisanych Oprogramowanie / Software)

jecekjacek napisał/a:
Cezary napisał/a:

Ustawiłeś w serwerze zezwolenie na komunikację pomiędzy klientami?

Tak

Czy spotkał się ktoś z podobnym przypadkiem
Ja nie widzę błędu w ustawieniach

Wszystko o czym wspomniał Cezary sprawdziłem jest ustawione dobrze, a mimo to nie działa routing jak należy sad

15

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

Ustawiłeś w serwerze zezwolenie na komunikację pomiędzy klientami?

Tak

16

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Cezary napisał/a:

A adresy klientów (2/3) możesz pingować?

Adresy klientów  10.64.0.2 i 10.64 .0.3 pingują

17

(15 odpowiedzi, napisanych Oprogramowanie / Software)

połączyłem 3 routery MF286D na każdym jest wgrany Gargoyle
jeden jest serwerem Wireguard, dwa ustawiłem jako klient
routery wzajemnie są połączone pokazują status Online, IP: x.x.x.x   
jak jestem podłączony do jednego z nich spokojnie wchodzę na dwa pozostałe routery wpisując (10.64.0.1/2/3)  oraz na adresy urządzeń które są podłączone w podsieci w której jestem (192.168.1.0/24).
natomiast nie pingują mi adresy podsieci podłączone do dwóch pozostałych routerów
podsieć 1- 192.168.2.0/24
            2- 192.168.3.0/24
czy coś jeszcze trzeba ustawić w tablicy routingu żeby te połączenia działały
jak kiedyś miałem openvpn to wszystko działało a przy  Wireguard nie chce. sad

18

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Wszystkie nie. 11/12/13 (web, kernel, rootfs). Jeżeli mtdx nie będzie chciał ruszyć - użyj mtdblockX. Jeżeli partycja będzie tylko do odczytu - użyj mtd-rw (https://github.com/jclehner/mtd-rw - jest to w openwrt)

Dzięki za info

19

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Miałeś to na samym początku że nie modem nie chciał gadać. Napisałem też że w mifi nic specjalnie nie ma zmienionego, więc stan jest taki sam jak był w openwrt - nie połączy się.

Mifi już nie ma nie działał i minął tydzień jak wróciłem do Gargoyle
który też nie działa sad
potrzebuję info jak wgrać oryginał bo zamierzałem się tego routera pozbyć ale jak się zaktualizuje to jeszcze raz sprawdzę mifi zgodnie z radą 'wisipior' jak zadziała to wróci do łask i stanie na półce zamiast tkwić w pudle i czekać na nowego właściciela smile

20

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

mtd write /tmp/mtd'x' /dev/mtd'x' 

gdzie 'x' to  '0' - '15' 

czy w ten sposób wgram oryginał?

21

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

A to potrzebujesz jakiegokolwiek opisu? Jest opis, nie szukałeś: https://eko.one.pl/?p=easyconfig Jest wireguard tam.

Jeżeli już wgrałeś mifi to możesz przez ssh wgrać dowolny inny obraz openwrt, nie musisz wgrywać oryginału.

oryginał chciałem wgrać żeby modem zaktualizować bo Mifi mi się nie łączył
podejrzewam że problem jest z modemem

22

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

wisipior napisał/a:
jecekjacek napisał/a:
Cezary napisał/a:

To nie jest ten sam problem. Na dodatek nic wspólnego to z gargoyle nie ma.

masz racje
ale przed usunięciem problemu o którym pisałem modem miał cały czas status połączony dlatego pomyślałem że może miło to znaczenie, a to może jest tylko przypadek?
a czy modem na tej wersji oprogramowania powinien działać?
jeśli tak to podpowiedz co zrobić lub gdzie szukać rozwiązania?

Na twoim miejscu zapisałbym konfig i spróbował z MiFi, co ci szkodzi.

jeśli chodzi o MIFI to go wgrałem ale nie rozumiem jak to działa nie spotkałem nigdzie opisu
obecnie plan jest taki
  -powrót do oryginału i aktualizacja modemu do najnowszej wersji
  -po tym co napisałeś wgram ponownie MIFi ale muszę o nim poczytać - co to jest?  ponieważ mi on nie działał
czy w mifi działa WireGuard? jest to dla mnie istotne.
potrzebuje jeszcze info odnoście ja wgrać oryginał który mam zgrany. czy w tym przypadku komendy
mtd write /tmp/mtd'x' /dev/mtd'x' zadziałają?
jakie 'x' wgrać mam do '0' do '15' ale chyba wszystkich się nie wgrywa?

23

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

Mam kilka rad, a pierwsza - sprzedaj MF286R. Od samego początku ten modem robi problem, nie ma sensu się z nim bawić i próbować zaczarować rzeczywistość. Tym bardziej że taki MF286D kosztuje podobne pieniądze, a jest lepszy.

smile
rozumiem
poczekam jeszcze ze sprzedażą może za rok / dwa pojawi się framework który zmieni oprogramowanie modemu i ustabilizuje prace routera smile
a puki co kupuje drugiego MF286D smile

24

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

Cezary napisał/a:

To nie jest ten sam problem. Na dodatek nic wspólnego to z gargoyle nie ma.

masz racje
ale przed usunięciem problemu o którym pisałem modem miał cały czas status połączony dlatego pomyślałem że może miło to znaczenie, a to może jest tylko przypadek?
a czy modem na tej wersji oprogramowania powinien działać?
jeśli tak to podpowiedz co zrobić lub gdzie szukać rozwiązania?

25

(1,242 odpowiedzi, napisanych Sprzęt / Hardware)

miałem dokładnie taki sam problem

piratee napisał/a:

Wgrałem na ZTE MF286R Gargoyle 1.14
Chcę zrobić most bezprzewodowy.
1.przy konfiguracji  nie skanuje żadnej sieci
2. co bym nie wpisał nie działa u mnie przycisk zapisz.
Czy na tym routerze można zrobić most bezprzewodowy?
Pozdrawiam

udało się go pokonać po wskazówkach jakich udzielił Cezary

Cezary napisał/a:

Modem w MF286R wymaga specjalnego traktowania. Zaloguj się przez ssh i wykonaj to:

sed -i "s|echo \"hasNCM = false;\"|echo \"hasNCM = true;\"|" /www/basic.sh
sed -i "s|echo \"cdcif = .*|echo \"cdcif = \\\\\"\\\\\";\"|" /www/basic.sh
Odśwież później stronę, powinno pomóc.

ale modem działa <zakazanie w zakładce Status/Modem Komórkowy/> tyko przez chwilę po restarcie i budzi się na chwilę po czym znowu "śpi"
natomiast połączenia internetowego nie uzyskałam W zakładce WAN są same ---
producent modemu: "ZTE CORPORATION"
Model: "MF286R"
Wersja: "BD_PLAYMF286MODV1.0.0B02"
czy miał ktoś też taki problem i może podpowiedzieć rozwiązanie?