Nie wiem jak włączyć debug dla ppp.....
Logi po uruchomieniu urządzania(błąd połączenia):
root@OpenWrt:~# ifup wan
root@OpenWrt:~# logread
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] Zone PFN ranges:
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] Normal 0x00000000 -> 0x00008000
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] Movable zone start PFN for each node
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] Early memory PFN ranges
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] 0: 0x00000000 -> 0x00008000
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.090000] registering PCI controller with io_map_base unset
Dec 21 17:41:03 OpenWrt kern.err kernel: [ 0.330000] pci 0000:00:00.0: invalid calibration data
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.500000] m25p80 spi0.0: found s25fl064k, expected m25p80
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.530000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Dec 21 17:41:03 OpenWrt kern.warn kernel: [ 0.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
Dec 21 17:41:03 OpenWrt kern.err kernel: [ 10.540000] sd 0:0:0:0: [sda] No Caching mode page present
Dec 21 17:41:03 OpenWrt kern.err kernel: [ 10.550000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Dec 21 17:41:03 OpenWrt kern.err kernel: [ 10.560000] sd 0:0:0:0: [sda] No Caching mode page present
Dec 21 17:41:03 OpenWrt kern.err kernel: [ 10.560000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Dec 21 17:41:03 OpenWrt kern.err kernel: [ 10.580000] sd 0:0:0:0: [sda] No Caching mode page present
Dec 21 17:41:03 OpenWrt kern.err kernel: [ 10.580000] sd 0:0:0:0: [sda] Assuming drive cache: write through
Dec 21 17:41:05 OpenWrt daemon.warn pppd[756]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:41:11 OpenWrt kern.err kernel: [ 41.440000] EXT4-fs (sda1): couldn't mount as ext3 due to feature incompatibilities
Dec 21 17:41:11 OpenWrt kern.err kernel: [ 41.450000] EXT4-fs (sda1): couldn't mount as ext2 due to feature incompatibilities
Dec 21 17:41:35 OpenWrt daemon.warn pppd[756]: LCP: timeout sending Config-Requests
Dec 21 17:41:36 OpenWrt daemon.warn pppd[1858]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:42:06 OpenWrt daemon.warn pppd[1858]: LCP: timeout sending Config-Requests
Dec 21 17:42:06 OpenWrt daemon.warn pppd[1915]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:42:36 OpenWrt daemon.warn pppd[1915]: LCP: timeout sending Config-Requests
Dec 21 17:42:37 OpenWrt daemon.warn pppd[1958]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:42:55 OpenWrt daemon.warn pppd[2012]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:43:25 OpenWrt daemon.warn pppd[2012]: LCP: timeout sending Config-Requests
Dec 21 17:43:26 OpenWrt daemon.warn pppd[2195]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:43:56 OpenWrt daemon.warn pppd[2195]: LCP: timeout sending Config-Requests
Dec 21 17:43:56 OpenWrt daemon.warn pppd[3030]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:44:26 OpenWrt daemon.warn pppd[3030]: LCP: timeout sending Config-Requests
Dec 21 17:44:27 OpenWrt daemon.warn pppd[3868]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Dec 21 17:45:19 OpenWrt daemon.warn pppd[5268]: Connected to 00:90:1a:a3:79:d9 via interface eth0.2
Konfiguracja:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth0.2'
option proto 'pppoe'
option username 'xxxxxx@webnet24.pl'
option password 'XXXXXX'
option keepalive '3 5'
option macaddr '64:70:02:67:86:35'
config interface 'wan2'
option ifname 'eth0.2'
option proto 'static'
option ipaddr '192.168.0.2'
option netmask '255.255.255.0'
option dns '192.168.0.1'
config switch
option name 'eth0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'eth0'
option vlan '1'
option ports '0t 2 3 4 5'
config switch_vlan
option device 'eth0'
option vlan '2'
option ports '0t 1'
Mam dziwne wrażenie że polecenie ifup wan lub ifdown wan nie robi nic w systemie, czy po ifdown powinny połączenia wan zniknąć?