1 (edytowany przez viper_lasser 2012-04-21 11:52:36)

Temat: tl-mr3220, extroot i problem z dns'ami

Witam
Na swoim routerze zrobiłem extroota i mam problem z dns'ami.

Ping 8.8.8.8 działa a już ping wp.pl nie

Wszystkie pliki konfiguracyjne z /etc/config skopiowałem i wrzuciłem na pendrive'a.
Ale dalej nie działa.
Co może być tego przyczyną ?

Po tych wpisach widać że też z tym ludzie mieli problem

https://forum.openwrt.org/viewtopic.php?id=26557

https://forum.openwrt.org/viewtopic.php?id=24394

Edit:
Próbowałem porad z tych 2 linków ale narazie jest lipa

Apr 21 12:46:27 Gargoyle daemon.notice pppd[1084]: Connection terminated.
Apr 21 12:46:27 Gargoyle user.info firewall: removing wan (3g-wan) from zone wan
Apr 21 12:46:28 Gargoyle daemon.info pppd[1084]: Exit.
Apr 21 12:46:30 Gargoyle user.notice ifup: Enabling Router Solicitations on loopback (lo)
Apr 21 12:46:31 Gargoyle user.info kernel: device eth0 entered promiscuous mode
Apr 21 12:46:31 Gargoyle user.info kernel: eth0: link up (1000Mbps/Full duplex)
Apr 21 12:46:31 Gargoyle user.info kernel: br-lan: port 1(eth0) entering forwarding state
Apr 21 12:46:33 Gargoyle user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Apr 21 12:46:33 Gargoyle user.info firewall: adding lan (br-lan) to zone lan
Apr 21 12:46:34 Gargoyle daemon.notice pppd[2965]: pppd 2.4.5 started by root, uid 0
Apr 21 12:46:35 Gargoyle local2.info chat[2970]: abort on (BUSY)
Apr 21 12:46:35 Gargoyle local2.info chat[2970]: abort on (NO CARRIER)
Apr 21 12:46:35 Gargoyle local2.info chat[2970]: abort on (ERROR)
Apr 21 12:46:35 Gargoyle local2.info chat[2970]: report (CONNECT)
Apr 21 12:46:35 Gargoyle local2.info chat[2970]: timeout set to 10 seconds
Apr 21 12:46:35 Gargoyle local2.info chat[2970]: send (AT&F^M)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: expect (OK)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: AT&F^M^M
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: OK
Apr 21 12:46:36 Gargoyle local2.info chat[2970]:  -- got it
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: send (ATE1^M)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: expect (OK)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: ^M
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: ATE1^M^M
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: OK
Apr 21 12:46:36 Gargoyle local2.info chat[2970]:  -- got it
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: send (AT+CGDCONT=1,"IP","internet"^M)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: timeout set to 30 seconds
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: expect (OK)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: ^M
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: AT+CGDCONT=1,"IP","internet"^M^M
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: OK
Apr 21 12:46:36 Gargoyle local2.info chat[2970]:  -- got it
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: send (ATD*99***1#^M)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: expect (CONNECT)
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: ^M
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: ATD*99***1#^M^M
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: CONNECT
Apr 21 12:46:36 Gargoyle local2.info chat[2970]:  -- got it
Apr 21 12:46:36 Gargoyle local2.info chat[2970]: send ( ^M)
Apr 21 12:46:36 Gargoyle daemon.info pppd[2965]: Serial connection established.
Apr 21 12:46:36 Gargoyle daemon.info pppd[2965]: Using interface 3g-wan
Apr 21 12:46:36 Gargoyle daemon.notice pppd[2965]: Connect: 3g-wan <--> /dev/ttyUSB0
Apr 21 12:46:37 Gargoyle daemon.info pppd[2965]: CHAP authentication succeeded
Apr 21 12:46:37 Gargoyle daemon.notice pppd[2965]: CHAP authentication succeeded
Apr 21 12:46:40 Gargoyle daemon.warn pppd[2965]: Could not determine remote IP address: defaulting to 10.64.64.64
Apr 21 12:46:40 Gargoyle daemon.notice pppd[2965]: local  IP address 31.61.89.163
Apr 21 12:46:40 Gargoyle daemon.notice pppd[2965]: remote IP address 10.64.64.64
Apr 21 12:46:40 Gargoyle daemon.notice pppd[2965]: primary   DNS address 79.163.127.70
Apr 21 12:46:40 Gargoyle daemon.notice pppd[2965]: secondary DNS address 217.116.100.65
Apr 21 12:46:41 Gargoyle user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Apr 21 12:46:41 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Apr 21 12:46:44 Gargoyle cron.err crond[3252]: crond (busybox 1.15.3) started, log level 9

Polecenie ifup -a powoduje wpisanie do /tmp/resolv.conf.auto poprawnych dnsów - adresów ip które mogę zpingować ale dalej nie mogę zpingować np wp.pl

Zna ktoś dobrą wersje gargole'ya
Tą co mam to 1.5.4. Bez extroota chodzi wszystko ok

2

Odp: tl-mr3220, extroot i problem z dns'ami

Zrobiłeś system plików na ubuntu zamiast na routerze, prawda?

Zrób jeszcze raz, tym razem formatując nośnika z poziomu routera.

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

3

Odp: tl-mr3220, extroot i problem z dns'ami

Tak - zgadza się - zrobiłem na ubuntu

4 (edytowany przez viper_lasser 2012-04-21 13:04:02)

Odp: tl-mr3220, extroot i problem z dns'ami

Mam mały problem
Zainstalowałem sobie do pamięci tymczasowej e2progs żebym mógł sformatować pendrive'a ale nie wiem jak sformatować bo mkfs.ext2 /dev/sdX nie działa

Pakiet z powodu braku flasha zainstalowałem do ramu w ten sposób
opkg install e2progs -d ram

Edit:
Jednak mam problem

Nie mogę formatować pendrive'a.


root@Gargoyle:/$ opkg install e2fsprogs -d ram
Package e2fsprogs (1.41.11-1cj) installed in ram is up to date.

Mam niby zainstalowane narzędzia do formatowania ale
root@Gargoyle:/$ ./mkfs.ext2 -m 0 /dev/sdb1
-ash: ./mkfs.ext2: not found

nie działa

5

Odp: tl-mr3220, extroot i problem z dns'ami

Na pewno nie ./ tylko podaj pełną ścieżkę. Przeczytaj "extroot dla mr3420" tam masz to opisane.

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

6

Odp: tl-mr3220, extroot i problem z dns'ami

Ktoś się orientuje czemu dokładnie tak jest? Co jest specjalnego w formatowaniu pod Ubuntu?

7

Odp: tl-mr3220, extroot i problem z dns'ami

Nie wiem. To dla mnie też tajemnica, ale kilku userów tak zrobiło i nie działało.

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

8

Odp: tl-mr3220, extroot i problem z dns'ami

Ja też miałem problem z DNSami i gdzieś przeczytałem pomysł żeby przeformatować. Problem ustąpił (format z poziomu routera) a teraz czytając ten temat skumałem, że wcześniej faktycznie formatowałem pod Ubuntu. Tak więc jestem kolejnym potwierdzeniem :-)

9

Odp: tl-mr3220, extroot i problem z dns'ami

Witam.
Odkurzyłem swój stary router EDIMAX 6104k i zrobiłem mod USB. Wpierw chciałem wgrać jakiś gotowy firmware i resztę na pendrive. Aby sprawdzić, czy sprzęt jest sprawny pierwszą próbę wgrania plików wykonałem spod Ubuntu. A tu (i nie tylko) wyczytałem, że pod tą dystrybucją nie uda się tego dokonać. Chciałem zapytać jaką dystrybucję powinienem zainstalować na początek na komputerze PC?

10

Odp: tl-mr3220, extroot i problem z dns'ami

Dowolną. Po prostu format nośnika zrób z poziomu routera.

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

11

Odp: tl-mr3220, extroot i problem z dns'ami

Cezary czy ten problem ma związek z tym, że na pc formatuje się dysk z konta innego niż root?

12

Odp: tl-mr3220, extroot i problem z dns'ami

Nie wiem smile Extroot sam w sobie działa, rozwiązywanie dnsów tylko nie.

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

13

Odp: tl-mr3220, extroot i problem z dns'ami

Problem z uprawnieniami

14

Odp: tl-mr3220, extroot i problem z dns'ami

Nie wiem, nie miałem okazji. Mnie to nie spotkało, więc nie diagnozowałem problemu.

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