Witam,
wiem że głupie pytanie, ale czy jest jakiś inny adres(lub sposób) z którego mogę pobrać imagebuilder'a do obrazów ,,tiny'' z oficjalnej strony?
Tutaj niestety są ,,lekko'' przestarzałe: https://downloads.openwrt.org/snapshots/targets/ar71xx/

Oczywiście bez ręcznej kompilacji Imagebuilder'a

tptomek napisał/a:

Może zmień sobie DNS na jakieś googlowskie itp a jak już masz to daj na domyślne.

Nie ma sensu zmieniać DNS'y na Googlowskie, skoro nie może nawet pingować tych adresów. Najlepiej byłoby sprawdzić, czy chociaż odpowiadają: nslookup google.com 8.8.8.8 oraz nslookup google.com 8.8.4.4

3

(572 odpowiedzi, napisanych Oprogramowanie / Software)

Jeżeli nowe OpenWRT będzie większe i pamięciożerne, to będzie możliwość zbudowania obrazu max. 4MB? (np. mr3420)

Dodałem block-mount, usbstorage oraz system plików ext4 (nic więcej nie zmieniałem poza zmianą targetu na router)
factory 3.9mb
sysupgrade 3.5mb
Czy pliki nie ważą za dużo, aby zostały poprawnie wgrane? Jeżeli tak, to jakie pakiety najlepiej usunąć/zamienić?

Dziękuje za szybką odpowiedź

Witam,
przeczytałem poniższy tutorial:
https://eko.one.pl/?p=openwrt-kompilacja
i według niego skompilowałem czysty obraz OpenWRT (z pakietem block-mount), ale teraz mam kilka pytań:

1) Czy mogę z obrazu ,, Reboot (17.01-SNAPSHOT, r3862-60f8d38) '' pobranego z dl.eko.one bezpiecznie wykonać sysupgrade do skompilowanego obrazu? Czy lepiej będzie powrót do orig. oraz wgranie factory? (prosiłbym o komendę)

2) Pakiet block-mount zaznaczony w menuconfig wystarczy do wykonania roota?

3) Jak domyślnie ustawić włączone wifi

Z góry dziękuje za odpowiedź wink

7

(15 odpowiedzi, napisanych Oprogramowanie / Software)

No tak właśnie myślałem, ale musiałem się upewnić. Bardzo dziękuje za pomoc smile

8

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Proszę: https://pastebin.com/eLkQM1db

9

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Tutaj interfejs wan:
eth0      Link encap:Ethernet  HWaddr 18:A6:F7:5E:C1:E7
          inet addr:192.168.10.136  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::1aa6:f7ff:fe5e:c1e7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1077804 errors:0 dropped:1858 overruns:0 frame:0
          TX packets:289864 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:813465130 (775.7 MiB)  TX bytes:36315514 (34.6 MiB)
          Interrupt:4


Tutaj wynik iptables-save: https://pastebin.com/Ks9i2jsj

10

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Ustawiłem 82 i zrestartowałem serwer, ale chyba się nie rozumiemy. Otóż problem jest w tym, że pomimo posiadania publicznego IP, dalej jest otwierana strona modemu ISP do którego nie mam danych, zamiast routera. I teraz nie wiem, czy to błąd w konfiguracji routera, czy muszę pisać do dostawcy.
Przepraszam, jeżeli wprowadziłem w błąd.

Po zmianie Portu serwera HTTP (OpenWRT) dalej jest pokazywana strona modemu.

11

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Niestety to nie pomogło, dalej przekierowywuje na stronę modemu/routera (wan). Nie na adres, na który przekierowałem porty lub router z Luci.

12

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Właśnie problem jest w tym, że przekierowałem wszystkie porty 1-65535 i nic to nie pomogło. Nawet nie mogę się połączyć z SSH (Błąd, niby serwer jest wyłączony)
Nie mogę zmienić portu, ponieważ nie mam dostępu do tego routera/modemu. Tutaj możecie zobaczyć stronę: http://XXXXXX (Nie wiem czy to bezpieczne, aby podawać tą stronę jeżeli passy są domyślne, a ja o tym nie wiem)

Bardzo dziękuje za tak szybką odpowiedź.

13

(15 odpowiedzi, napisanych Oprogramowanie / Software)

Witam serdecznie,
mam drobny problem z publicznym adresem IP,  otóż za każdym razem, gdy próbuje się łączyć z serwerem Web, to łączy z panelem modemu/routera WAN. Niby operator udzielił mi publicznego IP, więc chciałbym wiedzieć, czy to problem po jego stronie, czy mojej.

Połączenie wygląda tak:

Ja -> Router -> (wan) ISP (z oprogramowaniem airOS)

Próbowałem przekierowywać porty z zakresu 1-65535, ale to nic nie dawało.

Z góry dziękuje za pomoc.

#Edit
Model    TP-Link TL-MR3420 v2
Wersja firmware    LEDE Reboot 17.01-SNAPSHOT r3794-dca4dfa / LuCI lede-17.01 branch (git-18.026.51772-73abb7d)
Wersja jądra    4.4.108

z zrobionym Root'em i zainstalowanym Luci

No dobra, więcej roboty niż pożytku. Dziękuje że próbowałeś mi pomóc. Jednak zaczekam na huba, zrobię extroota i dopiero zainstaluję pptp.

Zlinkowałem wszystkie pliki z /mnt/sda1 i nic to nie dało. Mam po zlinkowaniu zrestartować router czy od razu wpisywać ,, ifup vpn '' ?

Prawdopodobnie zrobię extroota jak przyjdzie hub ale aktualnie potrzebuję połączenia z PPTPD

Mam wiele plików które mogę zlinkować ale nwm dokładnie jakie. pptp.ko linkowałem ale to nic nie dało.

Znalazłem pliki /mnt/sda1/etc/modules.d /mnt/sda1/lib/modules/3.3.8/pptp.ko

Te mam zlinkować?

A jednak dalej ten sam błąd.

Jan  1 01:09:19 Gargoyle daemon.info pppd[6988]: Plugin pptp.so loaded.
Jan  1 01:09:19 Gargoyle daemon.info pppd[6988]: PPTP plugin version 1.00
Jan  1 01:09:19 Gargoyle daemon.notice pppd[6988]: pppd 2.4.5 started by root, uid 0
Jan  1 01:09:19 Gargoyle daemon.err pppd[6988]: PPTP: failed to create PPTP socket (Protocol not supported)
Jan  1 01:09:28 Gargoyle daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 WPA: group key handshake completed (WPA)
Jan  1 01:09:35 Gargoyle daemon.info pppd[6988]: Terminating on signal 15
Jan  1 01:09:35 Gargoyle daemon.info pppd[6988]: Exit.
Jan  1 01:09:35 Gargoyle daemon.notice netifd: Interface 'vpn' is now down

root@Dom:/etc/init.d# opkg install resolveip
WARNING: Package resolveip is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

Wynik:

Oct 17 16:03:55 Gargoyle daemon.notice netifd: Interface 'vpn' is now down
Oct 17 16:03:55 Gargoyle daemon.notice netifd: vpn (4613): ./ppp.sh: eval: line                   1: resolveip: not found
Oct 17 16:03:55 Gargoyle daemon.notice netifd: vpn (4613): Could not resolve ser                  ver address

Podam odpowiedź za ok. 10 minut ponieważ zabrakło miejsca przez próbę skopiowania kilku kolejnych plików.

root@Dom:/etc/init.d# ls -al /lib/netifd/proto
drwxrwxr-x    2 root     root            72 Nov  8  2013 .
drwxrwxr-x    3 root     root           100 Oct 27  2013 ..
-rwxr-xr-x    1 root     root          2712 Sep 27  2014 3g.sh
-rwxrwxr-x    1 root     root          1317 Jul 10  2013 dhcp.sh
-rwxr-xr-x    1 root     root          2972 Nov  9  2013 ndis.sh
-rwxr-xr-x    1 root     root          4595 Sep 27  2014 ppp.sh


root@Dom:/etc/init.d# ls -al /usr/lib/pppd/*/pptp.so
lrwxrwxrwx    1 root     root            36 Oct 17 15:42 /usr/lib/pppd/2.4.5/pptp.so -> /mnt/sda1/usr/lib/pppd/2.4.5/pptp.so

Zapomniałem wspomnieć o tym iż zainstalowałem kilka pakietów na USB

Dodałem do opkg.conf
dest usb /mnt/sda1
I zlinkowałem wszystkie pliki z /usr/sbin /sbin /usr/bin /etc/modules.d itp. za pomocą ln -s

Logread:


Jan  1 01:00:36 Dom kern.debug kernel: [    4.980000] Registered led device: tp-link:green:wlan
Jan  1 01:00:36 Dom kern.debug kernel: [    4.990000] Registered led device: tp-link:green:3g
Jan  1 01:00:36 Dom kern.notice kernel: [    8.270000] JFFS2 notice: (446) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 24 of xref (0 dead, 7 orphan) found.
Jan  1 01:00:36 Dom kern.notice kernel: [    8.880000] SCSI subsystem initialized
Jan  1 01:00:36 Dom kern.info kernel: [    9.020000] usbcore: registered new interface driver usbfs
Jan  1 01:00:36 Dom kern.info kernel: [    9.030000] usbcore: registered new interface driver hub
Jan  1 01:00:36 Dom kern.info kernel: [    9.030000] usbcore: registered new device driver usb
Jan  1 01:00:36 Dom kern.info kernel: [    9.420000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan  1 01:00:36 Dom kern.info kernel: [    9.430000] ehci-platform ehci-platform: Generic Platform EHCI Controller
Jan  1 01:00:36 Dom kern.info kernel: [    9.440000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
Jan  1 01:00:36 Dom kern.info kernel: [    9.470000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
Jan  1 01:00:36 Dom kern.info kernel: [    9.490000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
Jan  1 01:00:36 Dom kern.info kernel: [    9.490000] hub 1-0:1.0: USB hub found
Jan  1 01:00:36 Dom kern.info kernel: [    9.500000] hub 1-0:1.0: 1 port detected
Jan  1 01:00:36 Dom kern.info kernel: [    9.510000] Initializing USB Mass Storage driver...
Jan  1 01:00:36 Dom kern.info kernel: [    9.520000] usbcore: registered new interface driver usb-storage
Jan  1 01:00:36 Dom kern.info kernel: [    9.530000] USB Mass Storage support registered.
Jan  1 01:00:36 Dom kern.info kernel: [   11.200000] usb 1-1: new high-speed USB device number 2 using ehci-platform
Jan  1 01:00:39 Dom user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.8_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Jan  1 01:00:39 Dom user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=0123456789ABCDEF
Jan  1 01:00:39 Dom user.notice usb-modeswitch: 1-1:1.0: Selecting /etc/usb_modeswitch.d/12d1:1f01 for mode switching
Jan  1 01:00:40 Dom kern.notice kernel: [   40.300000] sd 0:0:0:1: [sda] Synchronizing SCSI cache
Jan  1 01:00:40 Dom syslog.notice usb_modeswitch: switch device 12d1:1f01 on 001/002
Jan  1 01:00:40 Dom kern.warn kernel: [   40.320000] usb 1-1: usbfs: process 819 (usb_modeswitch) did not claim interface 0 before use
Jan  1 01:00:40 Dom kern.info kernel: [   40.350000] usb 1-1: USB disconnect, device number 2
Jan  1 01:00:42 Dom daemon.notice netifd: Interface 'lan' is now up
Jan  1 01:00:42 Dom kern.info kernel: [   42.570000] device eth1 entered promiscuous mode
Jan  1 01:00:42 Dom daemon.notice netifd: Interface 'loopback' is now up
Jan  1 01:00:42 Dom user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Jan  1 01:00:43 Dom kern.info kernel: [   43.720000] usb 1-1: new high-speed USB device number 3 using ehci-platform
Jan  1 01:00:44 Dom kern.info kernel: [   44.490000] cdc_ether 1-1:1.0: eth2: register 'cdc_ether' at usb-ehci-platform-1, CDC Ethernet Device, 0c:5b:8f:27:9a:64
Jan  1 01:00:44 Dom kern.info kernel: [   44.520000] scsi1 : usb-storage 1-1:1.2
Jan  1 01:00:44 Dom kern.info kernel: [   44.670000] eth1: link up (1000Mbps/Full duplex)
Jan  1 01:00:44 Dom kern.info kernel: [   44.670000] br-lan: port 1(eth1) entered forwarding state
Jan  1 01:00:44 Dom kern.info kernel: [   44.680000] br-lan: port 1(eth1) entered forwarding state
Jan  1 01:00:44 Dom daemon.notice netifd: wan (963): udhcpc (v1.19.4) started
Jan  1 01:00:44 Dom daemon.notice netifd: wan (963): Sending discover...
Jan  1 01:00:45 Dom kern.notice kernel: [   45.520000] scsi 1:0:0:0: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
Jan  1 01:00:45 Dom kern.notice kernel: [   45.530000] sd 1:0:0:0: [sda] 15564800 512-byte logical blocks: (7.96 GB/7.42 GiB)
Jan  1 01:00:45 Dom kern.notice kernel: [   45.550000] sd 1:0:0:0: [sda] Write Protect is off
Jan  1 01:00:45 Dom kern.debug kernel: [   45.550000] sd 1:0:0:0: [sda] Mode Sense: 0f 00 00 00
Jan  1 01:00:45 Dom kern.notice kernel: [   45.550000] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Jan  1 01:00:45 Dom kern.info kernel: [   45.570000]  sda: sda1
Jan  1 01:00:45 Dom kern.notice kernel: [   45.580000] sd 1:0:0:0: [sda] Attached SCSI removable disk
Jan  1 01:00:46 Dom kern.info kernel: [   46.680000] br-lan: port 1(eth1) entered forwarding state
Jan  1 01:00:47 Dom daemon.notice netifd: wan (963): Sending discover...
Jan  1 01:00:48 Dom kern.info kernel: [   48.360000] device wlan0 entered promiscuous mode
Jan  1 01:00:48 Dom kern.info kernel: [   48.800000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:48 Dom kern.info kernel: [   48.810000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:50 Dom kern.info kernel: [   50.810000] br-lan: port 2(wlan0) entered forwarding state
Jan  1 01:00:50 Dom daemon.notice netifd: wan (963): Sending discover...
Jan  1 01:00:50 Dom daemon.notice netifd: wan (963): Sending select for 192.168.8.100...
Jan  1 01:00:50 Dom daemon.notice netifd: wan (963): Lease of 192.168.8.100 obtained, lease time 86400
Jan  1 01:00:51 Dom kern.err kernel: [   51.120000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
Jan  1 01:00:51 Dom kern.err kernel: [   51.150000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
Jan  1 01:00:51 Dom daemon.notice netifd: Interface 'wan' is now up
Jan  1 01:00:51 Dom kern.warn kernel: [   51.260000] EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
Jan  1 01:00:51 Dom kern.info kernel: [   51.280000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Oct 17 12:00:02 Dom user.notice usb-modeswitch: 1-1:1.0: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=?
Oct 17 12:00:02 Dom user.notice usb-modeswitch: 1-1:1.1: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=?
Oct 17 12:00:02 Dom authpriv.info dropbear[1649]: Running in background
Oct 17 12:00:02 Dom user.notice usb-modeswitch: 1-1:1.2: Manufacturer=HUAWEI_MOBILE Product=HUAWEI_MOBILE Serial=?
Oct 17 12:00:03 Dom daemon.warn httpd_gargoyle[1708]: started as root without requesting chroot(), warning only
Oct 17 12:00:03 Dom daemon.notice httpd_gargoyle[1708]: httpd_gargoyle/1.0 14mar2008 starting on Dom, port 80
Oct 17 12:00:04 Dom kern.err kernel: [   55.270000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
Oct 17 12:00:04 Dom kern.err kernel: [   55.290000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
Oct 17 12:00:04 Dom kern.warn kernel: [   55.340000] EXT4-fs (sda1): warning: maximal mount count reached, running e2fsck is recommended
Oct 17 12:00:04 Dom kern.info kernel: [   55.350000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
Oct 17 12:00:04 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: authenticated
Oct 17 12:00:04 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: associated (aid 1)
Oct 17 12:00:04 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 WPA: pairwise key handshake completed (RSN)
Oct 17 12:00:04 Dom user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Oct 17 12:00:04 Dom user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Oct 17 12:00:04 Dom user.notice dnsmasq: Allowing RFC1918 responses for domain free.aero2.net.pl
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: started, version 2.66 cachesize 150
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: compile time options: no-IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth
Oct 17 12:00:08 Dom daemon.info dnsmasq-dhcp[1797]: DHCP, IP range 192.168.2.100 -- 192.168.2.249, lease time 12h
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: reading /tmp/resolv.conf.auto
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 12:00:08 Dom daemon.info dnsmasq[1797]: read /etc/hosts - 3 addresses
Oct 17 12:00:08 Dom user.info sysinit: ERROR: No valid dynamic DNS service configurations defined
Oct 17 12:00:08 Dom user.info sysinit: (Did you specify correct configuration file path?)
Oct 17 15:31:44 Dom user.info sysinit: setting up led WAN
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN1
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN2
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN3
Oct 17 15:31:44 Dom user.info sysinit: setting up led LAN4
Oct 17 15:31:44 Dom user.info sysinit: setting up led WLAN
Oct 17 15:31:44 Dom user.info sysinit: setting up led USB
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: read /etc/ethers - 0 addresses
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.191 00:08:22:10:43:a7 android-fc2a7bf8410083fb
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPDISCOVER(br-lan) 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPOFFER(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:31:45 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.191 00:08:22:10:43:a7 android-fc2a7bf8410083fb
Oct 17 15:31:49 Dom authpriv.info dropbear[1827]: Child connection from 192.168.2.215:50796
Oct 17 15:31:54 Dom authpriv.notice dropbear[1827]: Password auth succeeded for 'root' from 192.168.2.215:50796
Oct 17 15:31:56 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.215 90:fb:a6:16:46:5b
Oct 17 15:31:56 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.215 90:fb:a6:16:46:5b Damian-PC
Oct 17 15:31:58 Dom user.notice firewall: Reloading firewall due to ifup of wan (eth2)
Oct 17 15:32:36 Dom cron.err crond[1572]: time disparity of 212 minutes detected
Oct 17 15:32:41 Dom authpriv.info dropbear[2104]: Child connection from 192.168.2.215:50804
Oct 17 15:32:44 Dom authpriv.notice dropbear[2104]: Password auth succeeded for 'root' from 192.168.2.215:50804
Oct 17 15:32:49 Dom kern.warn kernel: [  125.500000] ipt_bandwidth: timezone shift of 120 minutes detected, adjusting
Oct 17 15:32:49 Dom kern.warn kernel: [  125.510000]                old minutes west=0, new minutes west=-120
Oct 17 15:32:51 Dom authpriv.info dropbear[2798]: Child connection from 192.168.2.215:50805
Oct 17 15:32:55 Dom kern.info kernel: [  131.300000] IMQ driver unloaded successfully.
Oct 17 15:32:55 Dom kern.info kernel: [  131.360000]    Hooked IMQ after mangle on INPUT
Oct 17 15:32:55 Dom kern.info kernel: [  131.360000]    Hooked IMQ after mangle on FORWARD
Oct 17 15:32:55 Dom kern.info kernel: [  131.370000] IMQ driver loaded successfully. (numdevs = 1, numqueues = 1)
Oct 17 15:32:58 Dom authpriv.notice dropbear[2798]: Password auth succeeded for 'root' from 192.168.2.215:50805
Oct 17 15:33:10 Dom local5.info qosmon[3666]: starting socketfd = 5, statusfd = 4
Oct 17 15:33:34 Dom daemon.notice netifd: Interface 'lan' is now down
Oct 17 15:33:34 Dom kern.info kernel: [  169.860000] br-lan: port 2(wlan0) entered disabled state
Oct 17 15:33:34 Dom kern.info kernel: [  169.860000] br-lan: port 1(eth1) entered disabled state
Oct 17 15:33:34 Dom kern.info kernel: [  169.870000] device eth1 left promiscuous mode
Oct 17 15:33:34 Dom kern.info kernel: [  169.870000] br-lan: port 1(eth1) entered disabled state
Oct 17 15:33:34 Dom kern.info kernel: [  169.890000] eth1: link down
Oct 17 15:33:34 Dom kern.info kernel: [  169.890000] device wlan0 left promiscuous mode
Oct 17 15:33:34 Dom kern.info kernel: [  169.900000] br-lan: port 2(wlan0) entered disabled state
Oct 17 15:33:34 Dom daemon.notice netifd: Interface 'loopback' is now down
Oct 17 15:33:34 Dom daemon.notice netifd: wan (963): Sending renew...
Oct 17 15:33:34 Dom daemon.notice netifd: wan (963): Received SIGTERM
Oct 17 15:33:34 Dom daemon.notice netifd: Interface 'wan' is now down
Oct 17 15:33:34 Dom local5.notice qosmon[3666]: terminated sigterm=15, sel_err=-1
Oct 17 15:33:37 Dom daemon.warn dnsmasq[1797]: no servers found in /tmp/resolv.conf.auto, will retry
Oct 17 15:33:37 Dom kern.info kernel: [  173.460000] device eth1 entered promiscuous mode
Oct 17 15:33:37 Dom daemon.notice netifd: Interface 'lan' is now up
Oct 17 15:33:37 Dom daemon.notice netifd: Interface 'loopback' is now up
Oct 17 15:33:37 Dom daemon.notice netifd: wan (3888): udhcpc (v1.19.4) started
Oct 17 15:33:37 Dom user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Oct 17 15:33:38 Dom daemon.notice netifd: wan (3888): Sending discover...
Oct 17 15:33:38 Dom daemon.notice netifd: wan (3888): Sending select for 192.168.8.100...
Oct 17 15:33:38 Dom daemon.notice netifd: wan (3888): Lease of 192.168.8.100 obtained, lease time 86400
Oct 17 15:33:38 Dom kern.info kernel: [  174.060000] eth1: link up (1000Mbps/Full duplex)
Oct 17 15:33:38 Dom kern.info kernel: [  174.060000] br-lan: port 1(eth1) entered forwarding state
Oct 17 15:33:38 Dom kern.info kernel: [  174.070000] br-lan: port 1(eth1) entered forwarding state
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: reading /tmp/resolv.conf.auto
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 15:33:38 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 15:33:38 Dom daemon.notice netifd: Interface 'wan' is now up
Oct 17 15:33:40 Dom kern.info kernel: [  176.070000] br-lan: port 1(eth1) entered forwarding state
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: reading /tmp/resolv.conf.auto
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.220.220#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using nameserver 208.67.222.222#53
Oct 17 15:33:41 Dom daemon.info dnsmasq[1797]: using local addresses only for domain lan
Oct 17 15:33:42 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.215 90:fb:a6:16:46:5b
Oct 17 15:33:42 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.215 90:fb:a6:16:46:5b Damian-PC
Oct 17 15:33:43 Dom kern.info kernel: [  179.050000] device wlan0 entered promiscuous mode
Oct 17 15:33:43 Dom kern.info kernel: [  179.280000] br-lan: port 2(wlan0) entered forwarding state
Oct 17 15:33:43 Dom kern.info kernel: [  179.280000] br-lan: port 2(wlan0) entered forwarding state
Oct 17 15:33:44 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: authenticated
Oct 17 15:33:44 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 IEEE 802.11: associated (aid 1)
Oct 17 15:33:44 Dom daemon.info hostapd: wlan0: STA 00:08:22:10:43:a7 WPA: pairwise key handshake completed (RSN)
Oct 17 15:33:44 Dom daemon.info dnsmasq-dhcp[1797]: DHCPREQUEST(br-lan) 192.168.2.191 00:08:22:10:43:a7
Oct 17 15:33:44 Dom daemon.info dnsmasq-dhcp[1797]: DHCPACK(br-lan) 192.168.2.191 00:08:22:10:43:a7 android-fc2a7bf8410083fb
Oct 17 15:33:45 Dom kern.info kernel: [  181.280000] br-lan: port 2(wlan0) entered forwarding state

Wyniki:

uci show network


network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth1
network.lan.type=bridge
network.lan.proto=static
network.lan.netmask=255.255.255.0
network.lan.ipaddr=192.168.2.1
network.lan.dns=208.67.222.222 208.67.220.220
network.ppp0=interface
network.ppp0.proto=pptp
network.ppp0.server=188.***.***.***
network.ppp0.username=******
network.ppp0.password=******
network.ppp0.keepalive=10
network.wan=interface
network.wan.proto=dhcp
network.wan.ifname=eth2
network.wan.mtu=1472
network.wan.dns=208.67.222.222 208.67.220.220
network.wan.peerdns=0
network.@switch[0]=switch
network.@switch[0].name=switch0
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=switch0
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=0 1 2 3 4

opkg list_installed | grep ppp

kmod-ppp - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
kmod-pppoe - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
kmod-pppox - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
ppp - 2.4.5-10
ppp-mod-pppoe - 2.4.5-10
ppp-mod-pptp - 2.4.5-10

opkg list_installed | grep pptp

kmod-pptp - 3.3.8-1-3b70fc7d412617eb97c6bdc7d8fb7844
ppp-mod-pptp - 2.4.5-10
pptpd - 1.3.4-2

ifup ppp0

logread

0 wyników z ppp0