26

Odp: Most WiFi - zonk

uci set network.lan.dns=192.168.x.x
uci commit

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

27 (edytowany przez kamilian 2020-05-05 18:31:25)

Odp: Most WiFi - zonk

Cezary napisał/a:

Jak masz starą wersję gargoyle to nie możesz wyłączyć, w nowych dopiero można to zrobić skutecznie lub z konsoli możesz to zrobić.

jak z konsoli wyłączyć dhcp bo z GUI nie idzie w gargolye 1.13 pod archer c6, podejrzewam ze tutaj moze byc problem z połączeniem po kablu

28

Odp: Most WiFi - zonk

W 1.13 jest to dawno naprawnio. Odzancz w gui, zapisz i ma zostać odznaczone.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

29

Odp: Most WiFi - zonk

no własnie nie da się

30

Odp: Most WiFi - zonk

A ja twierdzę że się, właśnie to zrobiłem i jest nadal wyłączone. I co teraz?

Co i gdzie klikasz, dokładnie napisz.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

31

Odp: Most WiFi - zonk

https://i.ibb.co/6WPctCT/a1.jpg

32

Odp: Most WiFi - zonk

Tak to. Odklikaj, zapisz na dole stony.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

33 (edytowany przez kamilian 2020-05-05 18:47:44)

Odp: Most WiFi - zonk

odznaczam i dalej to samo wraca do zaznaczonego, zapisuję

34

Odp: Most WiFi - zonk

Odznaczasz, zapisujesz. Nie odświeżasz w tym czasie strony itd.

Co to znaczy że "odznaczam i dalej to samo wraca do zaznaczonego, zapisuję". W jakiej kolejności to robisz?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

35 (edytowany przez kamilian 2020-05-05 18:54:10)

Odp: Most WiFi - zonk

odznaczam, zapisuję
https://i.ibb.co/r31LbPp/a2.jpg
wraca do stanu początkowego, czyli jak kliknę potem w jakikolwiek odnoscnik i wrócę na DHCP jest znowu zaznaczone

36 (edytowany przez Cezary 2020-05-05 18:55:53)

Odp: Most WiFi - zonk

Zaloguj się przez ssh, pokaż wynik poleceń

df -h
cat /rom/etc/banner

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

37

Odp: Most WiFi - zonk

Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.8M      4.8M         0 100% /rom
tmpfs                    60.8M     96.0K     60.7M   0% /tmp
/dev/mtdblock5            1.3M    280.0K      1.0M  21% /overlay
overlayfs:/overlay        1.3M    280.0K      1.0M  21% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@Gargoyle:~# cat /rom/etc/banner

  _____                             _         _____  _
 |  __ \                           | |       |  __ \| |
 | |  \/ __ _ _ __ __ _  ___  _   _| | ___   | |__) | |
 | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \  |  ___/| |
 | |_\ \ (_| | | | (_| | (_) | |_| | |  __/  | |    | |__
  \____/\__,_|_|  \__, |\___/ \__, |_|\___|  |_|    |____|
                   __/ |       __/ |
                  |___/       |___/

 -----------------------------------------------------------------------------
 |                                                                           |
 | Gargoyle PL 1.13.0.0pre4 (27ec1e48)                                       |
 | OpenWrt 19.07-SNAPSHOT, r11012-efe837de84                                 |
 |                                                                           |
 | Build time: 2020-04-25 13:27 CEST                                         |
 | Cezary Jackiewicz (obsy), http://eko.one.pl                               |
 |                                                                           |
 -----------------------------------------------------------------------------

38

Odp: Most WiFi - zonk

Pokaż

uci show dhcp

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

39

Odp: Most WiFi - zonk

uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].nonegcache='0'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
dhcp.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].server='/.bit/178.32.31.41' '/.bit/106.187.47.17' '/.bit/176.58.118.172' '/.glue/66.244.95.20' '/.glue/95.211.32.162' '/.glue/95.142.171.235' '/.parody/66.244.95.20' '/.parody/95.211.32.162' '/.parody/95.142.171.235' '/.dyn/66.244.95.20' '/.dyn/95.211.32.162' '/.dyn/95.142.171.235' '/.bbs/66.244.95.20' '/.bbs/95.211.32.162' '/.bbs/95.142.171.235' '/.free/66.244.95.20' '/.free/95.211.32.162' '/.free/95.142.171.235' '/.fur/66.244.95.20' '/.fur/95.211.32.162' '/.fur/95.142.171.235' '/.geek/66.244.95.20' '/.geek/95.211.32.162' '/.geek/95.142.171.235' '/.gopher/66.244.95.20' '/.gopher/95.211.32.162' '/.gopher/95.142.171.235' '/.indy/66.244.95.20' '/.indy/95.211.32.162' '/.indy/95.142.171.235' '/.ing/66.244.95.20' '/.ing/95.211.32.162' '/.ing/95.142.171.235' '/.null/66.244.95.20' '/.null/95.211.32.162' '/.null/95.142.171.235' '/.oss/66.244.95.20' '/.oss/95.211.32.162' '/.oss/95.142.171.235' '/.micro/66.244.95.20' '/.micro/95.211.32.162' '/.micro/95.142.171.235'
dhcp.@dnsmasq[0].rebind_domain='free.aero2.net.pl' '.bit' '.glue' '.parody' '.dyn' '.bbs' '.free' '.fur' '.geek' '.gopher' '.indy' '.ing' '.null' '.oss' '.micro'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'

40

Odp: Most WiFi - zonk

To teraz zrób

uci set dhcp.wan.ignore=1
uci commit
uci show dhcp

I pokaż co wyszło ze wszystkich w/w poleceń.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

41

Odp: Most WiFi - zonk

uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].nonegcache='0'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
dhcp.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].server='/.bit/178.32.31.41' '/.bit/106.187.47.17' '/.bit/176.58.118.172' '/.glue/66.244.95.20' '/.glue/95.211.32.162' '/.glue/95.142.171.235' '/.parody/66.244.95.20' '/.parody/95.211.32.162' '/.parody/95.142.171.235' '/.dyn/66.244.95.20' '/.dyn/95.211.32.162' '/.dyn/95.142.171.235' '/.bbs/66.244.95.20' '/.bbs/95.211.32.162' '/.bbs/95.142.171.235' '/.free/66.244.95.20' '/.free/95.211.32.162' '/.free/95.142.171.235' '/.fur/66.244.95.20' '/.fur/95.211.32.162' '/.fur/95.142.171.235' '/.geek/66.244.95.20' '/.geek/95.211.32.162' '/.geek/95.142.171.235' '/.gopher/66.244.95.20' '/.gopher/95.211.32.162' '/.gopher/95.142.171.235' '/.indy/66.244.95.20' '/.indy/95.211.32.162' '/.indy/95.142.171.235' '/.ing/66.244.95.20' '/.ing/95.211.32.162' '/.ing/95.142.171.235' '/.null/66.244.95.20' '/.null/95.211.32.162' '/.null/95.142.171.235' '/.oss/66.244.95.20' '/.oss/95.211.32.162' '/.oss/95.142.171.235' '/.micro/66.244.95.20' '/.micro/95.211.32.162' '/.micro/95.142.171.235'
dhcp.@dnsmasq[0].rebind_domain='free.aero2.net.pl' '.bit' '.glue' '.parody' '.dyn' '.bbs' '.free' '.fur' '.geek' '.gopher' '.indy' '.ing' '.null' '.oss' '.micro'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'
df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.8M      4.8M         0 100% /rom
tmpfs                    60.8M    100.0K     60.7M   0% /tmp
/dev/mtdblock5            1.3M    280.0K      1.0M  21% /overlay
overlayfs:/overlay        1.3M    280.0K      1.0M  21% /
tmpfs                   512.0K         0    512.0K   0% /dev
cat /rom/etc/banner

  _____                             _         _____  _
 |  __ \                           | |       |  __ \| |
 | |  \/ __ _ _ __ __ _  ___  _   _| | ___   | |__) | |
 | | __ / _` | '__/ _` |/ _ \| | | | |/ _ \  |  ___/| |
 | |_\ \ (_| | | | (_| | (_) | |_| | |  __/  | |    | |__
  \____/\__,_|_|  \__, |\___/ \__, |_|\___|  |_|    |____|
                   __/ |       __/ |
                  |___/       |___/

 -----------------------------------------------------------------------------
 |                                                                           |
 | Gargoyle PL 1.13.0.0pre4 (27ec1e48)                                       |
 | OpenWrt 19.07-SNAPSHOT, r11012-efe837de84                                 |
 |                                                                           |
 | Build time: 2020-04-25 13:27 CEST                                         |
 | Cezary Jackiewicz (obsy), http://eko.one.pl                               |
 |                                                                           |
 -----------------------------------------------------------------------------

42

Odp: Most WiFi - zonk

Wykonaj te polecenia które są w poście 40.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

43

Odp: Most WiFi - zonk

wykonałem

root@Gargoyle:~# uci set dhcp.wan.ignore=1
root@Gargoyle:~# uci commit
root@Gargoyle:~# uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].nonegcache='0'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
dhcp.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].server='/.bit/178.32.31.41' '/.bit/106.187.47.17' '/.bit/176.58.118.172' '/.glue/66.244.95.20' '/.glue/95.211.32.162' '/.glue/95.142.171.235' '/.parody/66.244.95.20' '/.parody/95.211.32.162' '/.parody/95.142.171.235' '/.dyn/66.244.95.20' '/.dyn/95.211.32.162' '/.dyn/95.142.171.235' '/.bbs/66.244.95.20' '/.bbs/95.211.32.162' '/.bbs/95.142.171.235' '/.free/66.244.95.20' '/.free/95.211.32.162' '/.free/95.142.171.235' '/.fur/66.244.95.20' '/.fur/95.211.32.162' '/.fur/95.142.171.235' '/.geek/66.244.95.20' '/.geek/95.211.32.162' '/.geek/95.142.171.235' '/.gopher/66.244.95.20' '/.gopher/95.211.32.162' '/.gopher/95.142.171.235' '/.indy/66.244.95.20' '/.indy/95.211.32.162' '/.indy/95.142.171.235' '/.ing/66.244.95.20' '/.ing/95.211.32.162' '/.ing/95.142.171.235' '/.null/66.244.95.20' '/.null/95.211.32.162' '/.null/95.142.171.235' '/.oss/66.244.95.20' '/.oss/95.211.32.162' '/.oss/95.142.171.235' '/.micro/66.244.95.20' '/.micro/95.211.32.162' '/.micro/95.142.171.235'
dhcp.@dnsmasq[0].rebind_domain='free.aero2.net.pl' '.bit' '.glue' '.parody' '.dyn' '.bbs' '.free' '.fur' '.geek' '.gopher' '.indy' '.ing' '.null' '.oss' '.micro'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'

44

Odp: Most WiFi - zonk

Moja pomyłka, jeszcze raz:

uci set dhcp.lan.ignore=1
uci commit
uci show dhcp

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

45

Odp: Most WiFi - zonk

root@Gargoyle:~# uci set dhcp.lan.ignore=1
root@Gargoyle:~# uci commit
root@Gargoyle:~# uci show dhcp
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].nonegcache='0'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.auto'
dhcp.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].server='/.bit/178.32.31.41' '/.bit/106.187.47.17' '/.bit/176.58.118.172' '/.glue/66.244.95.20' '/.glue/95.211.32.162' '/.glue/95.142.171.235' '/.parody/66.244.95.20' '/.parody/95.211.32.162' '/.parody/95.142.171.235' '/.dyn/66.244.95.20' '/.dyn/95.211.32.162' '/.dyn/95.142.171.235' '/.bbs/66.244.95.20' '/.bbs/95.211.32.162' '/.bbs/95.142.171.235' '/.free/66.244.95.20' '/.free/95.211.32.162' '/.free/95.142.171.235' '/.fur/66.244.95.20' '/.fur/95.211.32.162' '/.fur/95.142.171.235' '/.geek/66.244.95.20' '/.geek/95.211.32.162' '/.geek/95.142.171.235' '/.gopher/66.244.95.20' '/.gopher/95.211.32.162' '/.gopher/95.142.171.235' '/.indy/66.244.95.20' '/.indy/95.211.32.162' '/.indy/95.142.171.235' '/.ing/66.244.95.20' '/.ing/95.211.32.162' '/.ing/95.142.171.235' '/.null/66.244.95.20' '/.null/95.211.32.162' '/.null/95.142.171.235' '/.oss/66.244.95.20' '/.oss/95.211.32.162' '/.oss/95.142.171.235' '/.micro/66.244.95.20' '/.micro/95.211.32.162' '/.micro/95.142.171.235'
dhcp.@dnsmasq[0].rebind_domain='free.aero2.net.pl' '.bit' '.glue' '.parody' '.dyn' '.bbs' '.free' '.fur' '.geek' '.gopher' '.indy' '.ing' '.null' '.oss' '.micro'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.lan.ignore='1'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'

46

Odp: Most WiFi - zonk

Ok, wejdź do gui, zobacz czy jest odznaczone (musi być). Zaznacz, zapisz, zobacz czy się zapisało. Odznacz, zapisz, zobacz czy się odznaczyło.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

47

Odp: Most WiFi - zonk

teraz jest ok, internet zaczął działać smile dziękuje

48

Odp: Most WiFi - zonk

Czekaj, zapisuje to ustawienie w końcu czy nie?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

49 (edytowany przez kamilian 2020-05-05 19:47:17)

Odp: Most WiFi - zonk

https://i.ibb.co/fNKwhv3/a3.jpg
błąd ale grunt że działa smile

50

Odp: Most WiFi - zonk

Uzupełnij pola, wiadomo.

100
200
12

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.