1

Temat: nie zapisuje mi configu

Mam dopiero co skompilowane AA i nie mogę zmienić konfiguracji. Sprawa jest o tyle dziwna, że zapisują sie nowe pliki, (są też w /overlay) natomiast zmiany w /etc/config/network i .../wireles przepadają po restarcie. Nie wiem czy ma znaczenie pakiet mtd, który jakoś przypadkiem odznaczyłem i nie skompilował się, ale przecież bez niego ustawiłem hasło i pozmieniałem kilka plików - później doinstalowałem mtd jak już zauważyłem problemy, ale nic to nie dało.

2

Odp: nie zapisuje mi configu

A jak zmieniasz, przez uci czy edytor?

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

3

Odp: nie zapisuje mi configu

Próbowałem i tak i tak - efekt ten sam. Możliwe, że te pliki są jakoś przywracane po restarcie, bo wystarczy sam reboot bez wyłaczenia zasilania żeby zniknęło.

4

Odp: nie zapisuje mi configu

Pokaż mi wynik mount.

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

5

Odp: nie zapisuje mi configu

root@OpenWrt:/etc# mount
rootfs on / type rootfs (rw)
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,noatime)
sysfs on /sys type sysfs (rw,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=14680k)
tmpfs on /dev type tmpfs (rw,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,noatime,mode=600)
/dev/mtdblock4 on /tmp/overlay type jffs2 (rw,noatime)
root on /tmp/root type tmpfs (rw,noatime,mode=755)
overlayfs:/tmp/root on /tmp/root type overlayfs (ro,noatime,lowerdir=/,upperdir=/tmp/root)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
none on /proc/bus/usb type usbfs (rw,relatime)
/dev/mtdblock4 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay)

6

Odp: nie zapisuje mi configu

Ale Ty nie masz jffs zrobionego. Wszystko masz w pamięci ram przecież. Coś Ci nie wyszedł ten obraz...

Przeszukaj jeszcze logread i poszukaj "erase block"

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

7

Odp: nie zapisuje mi configu

Mam podobny problem z gargoyle w 3420 o którym pisałem w innym wątku. Po dokonaniu jakichkolwiek zmian ustawienia nie są zapisywane. U Ciebie przepadają po restarcie a u mnie w ogóle się nie zapisują...

8

Odp: nie zapisuje mi configu

Tu jest prosta sprawa - nie ma gdzie zapisać bo nie ma systemu pliku we flash.

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

9

Odp: nie zapisuje mi configu

Cezary napisał/a:

Ale Ty nie masz jffs zrobionego.

W którym miejscu to wyczytałeś? No i dlaczego w takim razie mogę zapisywać inne pliki, tworzyć nowe itp i nie znikają?

root@OpenWrt:/overlay# ls -e
drwxrwxr-x    6 root     root             0 Sat Jan  5 14:26:35 2013 etc
drwxr-xr-x    2 root     root             0 Thu Jan  1 00:11:09 1970 root
drwxr-xr-x    2 root     root             0 Sat Jan  5 20:11:54 2013 sbin
drwxrwxr-x    3 root     root             0 Sat Jan  5 14:29:25 2013 usr

10

Odp: nie zapisuje mi configu

overlayfs:/tmp/root on /tmp/root type overlayfs (ro,noatime,lowerdir=/,upperdir=/tmp/root)

Zgadnij gdzie katalog /tmp jest...

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

11

Odp: nie zapisuje mi configu

W logread nie ma "erase block".
Skoro overlay jest w ram to jakim cudem coś zapisałem i nadal mogę zapisać.
Spróbowałem jeszcze raz i zapis do pliku /etc/config/proba nie znika po wyłaczeniu zasilania.
Plik ten niczym nie rózni się od ..../network:

root@OpenWrt:~# ls -e /etc/config
-rw-r--r--    1 root     root           134 Sat Jan  5 15:56:31 2013 dropbear
-rw-r--r--    1 root     root           347 Thu Jan  1 00:00:12 1970 network
-rw-r--r--    1 root     root            27 Thu Jan  1 00:36:37 1970 proba
-rw-r--r--    1 root     root           251 Wed Dec 12 23:31:53 2012 system
-rw-r--r--    1 root     root             0 Thu Jan  1 00:00:12 1970 ubootenv
-rw-r--r--    1 root     root           437 Thu Jan  1 00:00:12 1970 wireless

To samo jest w /overlay/etc/config i /tmp/overlay/etc/config

12

Odp: nie zapisuje mi configu

W ogóle co to za router? Pokaż cały dmesg i logread po restarcie.

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

13

Odp: nie zapisuje mi configu

Ubiquiti nano m5. Jak chcesz się temu przyjrzeć to wkleję logi, ale może nie ma sensu szukać przyczyny tylko przeflashuje jeszcze raz, a jak nie pomoże to przekompiluje na defaulcie - ja tam wiele w konfigu nie grzebałem, tylko dodałem nano i asteriska. Nie jest to zresztą mój pierwszy obraz (działający czy nie).

14

Odp: nie zapisuje mi configu

root@OpenWrt:~# dmesg
[    0.000000] Linux version 3.3.8 (mir@mir-kbnt) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jan 5 18:33:39 CET 2013
[    0.000000] MyLoader: sysp=ff08ff20, boardp=dd00bf00, parts=f02ff90f
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7240 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 802ce170, node_mem_map 81000000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8128 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=UBNT-NM console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware) rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 29148k/32768k available (2086k kernel code, 3620k reserved, 403k data, 208k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
[    0.100000] MIPS: machine is Ubiquiti Nanostation M
[    0.100000] registering PCI controller with io_map_base unset
[    0.510000] bio: create slab <bio-0> at 0
[    0.520000] PCI host bridge to bus 0000:00
[    0.520000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[    0.530000] pci_bus 0000:00: root bus resource [io  0x0000]
[    0.530000] pci 0000:00:00.0: [168c:002a] type 0 class 0x000280
[    0.530000] pci 0000:00:00.0: fixup device configuration
[    0.540000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
[    0.540000] pci 0000:00:00.0: supports D1
[    0.540000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.540000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[    0.540000] pci 0000:00:00.0: using irq 40 for pin 1
[    0.550000] Switching to clocksource MIPS
[    0.550000] NET: Registered protocol family 2
[    0.560000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.560000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.570000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.580000] TCP reno registered
[    0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.600000] NET: Registered protocol family 1
[    0.600000] PCI: CLS 0 bytes, default 32
[    0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.620000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.640000] msgmni has been set to 56
[    0.640000] io scheduler noop registered
[    0.640000] io scheduler deadline registered (default)
[    0.650000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.680000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.680000] console [ttyS0] enabled, bootconsole disabled
[    0.700000] m25p80 spi0.0: found m25p64, expected m25p80
[    0.700000] m25p80 spi0.0: m25p64 (8192 Kbytes)
[    0.710000] 7 cmdlinepart partitions found on MTD device spi0.0
[    0.710000] Creating 7 MTD partitions on "spi0.0":
[    0.720000] 0x000000000000-0x000000040000 : "u-boot"
[    0.720000] 0x000000040000-0x000000050000 : "u-boot-env"
[    0.730000] 0x000000050000-0x000000150000 : "kernel"
[    0.740000] 0x000000150000-0x0000007b0000 : "rootfs"
[    0.750000] mtd: partition "rootfs" set to be root filesystem
[    0.750000] mtd: partition "rootfs_data" created automatically, ofs=660000, len=150000 
[    0.760000] 0x000000660000-0x0000007b0000 : "rootfs_data"
[    0.770000] 0x0000007b0000-0x0000007f0000 : "cfg"
[    0.770000] 0x0000007f0000-0x000000800000 : "EEPROM"
[    0.780000] 0x000000050000-0x0000007b0000 : "firmware"
[    0.810000] ag71xx_mdio: probed
[    0.810000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.390000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:04 [uid=004dd041, driver=Generic PHY]
[    1.400000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    1.970000] eth1: Found an AR7240/AR9330 built-in switch
[    3.000000] TCP cubic registered
[    3.000000] NET: Registered protocol family 17
[    3.000000] 8021q: 802.1Q VLAN Support v1.8
[    3.010000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    3.020000] Freeing unused kernel memory: 208k freed
[    4.960000] Registered led device: ubnt:red:link1
[    4.960000] Registered led device: ubnt:orange:link2
[    4.960000] Registered led device: ubnt:green:link3
[    4.960000] Registered led device: ubnt:green:link4
[    7.390000] eth0: link up (100Mbps/Full duplex)
[    8.280000] JFFS2 notice: (406) jffs2_build_xattr_subsystem: complete building xattr subsystem, 14 of xdatum (0 unchecked, 13 orphan) and 114 of xref (0 dead, 106 orphan) found.
[    8.400000] eth0: link down
[    9.170000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[    9.180000] Backport based on wireless-testing.git master-2012-09-07
[    9.190000] compat.git: wireless-testing.git
[    9.230000] cfg80211: Calling CRDA to update world regulatory domain
[    9.230000] cfg80211: World regulatory domain updated:
[    9.240000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.250000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.260000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    9.270000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.280000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.620000] usbcore: registered new interface driver usbfs
[    9.630000] usbcore: registered new interface driver hub
[    9.630000] usbcore: registered new device driver usb
[   10.110000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[   10.120000] ath: EEPROM regdomain: 0x0
[   10.120000] ath: EEPROM indicates default country code should be used
[   10.120000] ath: doing EEPROM country->regdmn map search
[   10.120000] ath: country maps to regdmn code: 0x3a
[   10.120000] ath: Country alpha2 being used: US
[   10.120000] ath: Regpair used: 0x3a
[   10.130000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   10.130000] Registered led device: ath9k-phy0
[   10.130000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
[   10.140000] cfg80211: Calling CRDA for country: US
[   10.140000] cfg80211: Regulatory domain changed to country: US
[   10.150000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.150000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   10.160000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   10.170000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.180000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.190000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.190000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   10.240000] PPP generic driver version 2.4.2
[   10.310000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.420000] NET: Registered protocol family 24
[   10.440000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   10.460000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
[   10.680000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   13.900000] device eth0 entered promiscuous mode
[   16.440000] eth0: link up (100Mbps/Full duplex)
[   16.440000] br-lan: port 1(eth0) entered forwarding state
[   16.450000] br-lan: port 1(eth0) entered forwarding state
[   18.450000] br-lan: port 1(eth0) entered forwarding state
root@OpenWrt:~# logread
Jan  1 00:00:12 OpenWrt syslog.info syslogd started: BusyBox v1.19.4
Jan  1 00:00:12 OpenWrt kern.notice kernel: klogd started: BusyBox v1.19.4 (2013-01-05 16:53:18 CET)
Jan  1 00:00:12 OpenWrt kern.notice kernel: [    0.000000] Linux version 3.3.8 (mir@mir-kbnt) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Jan 5 18:33:39 CET 2013
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000] MyLoader: sysp=ff08ff20, boardp=dd00bf00, parts=f02ff90f
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] bootconsole [early0] enabled
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] SoC: Atheros AR7240 rev 2
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Determined physical RAM map:
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000]  memory: 02000000 @ 00000000 (usable)
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Initrd not found or empty - disabling initrd
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000] Zone PFN ranges:
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000]   Normal   0x00000000 -> 0x00002000
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000] Movable zone start PFN for each node
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000] Early memory PFN ranges
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000]     0: 0x00000000 -> 0x00002000
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000] On node 0 totalpages: 8192
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000] free_area_init_node: node 0, pgdat 802ce170, node_mem_map 81000000
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 64 pages used for memmap
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 0 pages reserved
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000]   Normal zone: 8128 pages, LIFO batch:0
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0 
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Jan  1 00:00:12 OpenWrt kern.notice kernel: [    0.000000] Kernel command line:  board=UBNT-NM console=ttyS0,115200 mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env)ro,1024k(kernel),6528k(rootfs),256k(cfg)ro,64k(EEPROM)ro,7552k@0x50000(firmware) rootfstype=squashfs,jffs2 noi
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Memory: 29148k/32768k available (2086k kernel code, 3620k reserved, 403k data, 208k init, 0k highmem)
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] NR_IRQS:51
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.080000] pid_max: default: 32768 minimum: 301
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.080000] Mount-cache hash table entries: 512
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.090000] NET: Registered protocol family 16
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.090000] gpiochip_add: registered GPIOs 0 to 17 on device: ath79
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.100000] MIPS: machine is Ubiquiti Nanostation M
Jan  1 00:00:12 OpenWrt kern.warn kernel: [    0.100000] registering PCI controller with io_map_base unset
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.510000] bio: create slab <bio-0> at 0
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.520000] PCI host bridge to bus 0000:00
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.520000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.530000] pci_bus 0000:00: root bus resource [io  0x0000]
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.530000] pci 0000:00:00.0: [168c:002a] type 0 class 0x000280
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.530000] pci 0000:00:00.0: fixup device configuration
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.540000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0000ffff 64bit]
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.540000] pci 0000:00:00.0: supports D1
Jan  1 00:00:12 OpenWrt kern.debug kernel: [    0.540000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.540000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.540000] pci 0000:00:00.0: using irq 40 for pin 1
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.550000] Switching to clocksource MIPS
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.550000] NET: Registered protocol family 2
Jan  1 00:00:12 OpenWrt kern.info kernel: [    0.560000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.120000] ath: EEPROM regdomain: 0x0
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.120000] ath: EEPROM indicates default country code should be used
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.120000] ath: doing EEPROM country->regdmn map search
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.120000] ath: country maps to regdmn code: 0x3a
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.120000] ath: Country alpha2 being used: US
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.120000] ath: Regpair used: 0x3a
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.130000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Jan  1 00:00:12 OpenWrt kern.debug kernel: [   10.130000] Registered led device: ath9k-phy0
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.130000] ieee80211 phy0: Atheros AR9280 Rev:2 mem=0xb0000000, irq=40
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.140000] cfg80211: Calling CRDA for country: US
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.140000] cfg80211: Regulatory domain changed to country: US
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.150000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.150000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.160000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.170000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.180000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.190000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.190000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.240000] PPP generic driver version 2.4.2
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.310000] ip_tables: (C) 2000-2006 Netfilter Core Team
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.420000] NET: Registered protocol family 24
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.440000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.460000] nf_conntrack version 0.5.0 (458 buckets, 1832 max)
Jan  1 00:00:12 OpenWrt kern.info kernel: [   10.680000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Jan  1 00:00:13 OpenWrt kern.info kernel: [   13.900000] device eth0 entered promiscuous mode
Jan  1 00:00:13 OpenWrt daemon.notice netifd: Interface 'lan' is now up
Jan  1 00:00:13 OpenWrt daemon.notice netifd: Interface 'loopback' is now up
Jan  1 00:00:15 OpenWrt daemon.notice netifd: wan (656): udhcpc (v1.19.4) started
Jan  1 00:00:15 OpenWrt daemon.notice netifd: wan (656): Sending discover...
Jan  1 00:00:15 OpenWrt user.info sysinit: 'radio0' is disabled
Jan  1 00:00:15 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Jan  1 00:00:15 OpenWrt user.info sysinit: 'radio0' is disabled
Jan  1 00:00:16 OpenWrt user.info sysinit: 'radio0' is disabled
Jan  1 00:00:16 OpenWrt kern.info kernel: [   16.440000] eth0: link up (100Mbps/Full duplex)
Jan  1 00:00:16 OpenWrt kern.info kernel: [   16.440000] br-lan: port 1(eth0) entered forwarding state
Jan  1 00:00:16 OpenWrt kern.info kernel: [   16.450000] br-lan: port 1(eth0) entered forwarding state
Jan  1 00:00:16 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Jan  1 00:00:18 OpenWrt daemon.notice netifd: wan (656): Sending discover...
Jan  1 00:00:18 OpenWrt kern.info kernel: [   18.450000] br-lan: port 1(eth0) entered forwarding state
Jan  1 00:00:21 OpenWrt daemon.notice netifd: wan (656): Sending discover...
Jan  1 00:00:21 OpenWrt user.info sysinit: ^[[0;37mcopying files ... done
Jan  1 00:00:27 OpenWrt authpriv.info dropbear[936]: Running in background
Jan  1 00:02:33 OpenWrt authpriv.info dropbear[937]: Child connection from 192.168.1.100:54797
Jan  1 00:02:44 OpenWrt authpriv.notice dropbear[937]: Password auth succeeded for 'root' from 192.168.1.100:54797

15

Odp: nie zapisuje mi configu

Już wszystko w porządku. Kompilowałem od nowa, ale to raczej nie miało znaczenia.