Помогите! Прошил openwrt - успешно. telnet - не доступен. ssh - доступен. Интернет временно идёт от другого роутера. Подключение: D-link DIR-815 из порта lan в порт wan на WNR2200, а от туда из lan в пк. Так вот интернет от D-link и WNR2200 ПК видит, а вот WNR2200 отказывается в это верить. В ssh прописал "opkg update" и он не может загрузить (*** Failed to download the package list from
https://downloads.open…c/packages/Packages.gz), следовательно не могу установить luci. NWR2200 имеет 16mb.
прописал 'dmesg', 'cat /proc/mtd', 'ifconfig', 'ip route', 'cat /etc/config/network', 'cat /tmp/resolv.conf.auto'
dmesg
[ 0.000000] Linux version 5.4.75 (builder@buildhost) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r14926-41b867165d)) #0 Thu Nov 12 17:21:55 2020
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] MIPS: machine is Netgear WNR2200 (16M)
[ 0.000000] SoC: Atheros AR7241 rev 1
[ 0.000000] Initrd not found or empty - disabling initrd
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] Normal zone: 144 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16240
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootfstype=squashfs,jffs2
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 56888K/65536K available (5139K kernel code, 193K rwdata, 1172K rodata, 1232K init, 205K bss, 8648K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 51
[ 0.000000] random: get_random_bytes called from start_kernel+0x32c/0x520 with crng_init=0
[ 0.000000] CPU clock: 360.000 MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 10618113593 ns
[ 0.000014] sched_clock: 32 bits at 180MHz, resolution 5ns, wraps every 11930464253ns
[ 0.007924] Calibrating delay loop... 239.10 BogoMIPS (lpj=478208)
[ 0.046061] pid_max: default: 32768 minimum: 301
[ 0.050948] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.058256] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.073648] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.083421] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[ 0.090400] pinctrl core: initialized pinctrl subsystem
[ 0.099864] NET: Registered protocol family 16
[ 0.151951] workqueue: max_active 576 requested for napi_workq is out of range, clamping between 1 and 512
[ 0.167597] clocksource: Switched to clocksource MIPS
[ 0.174638] NET: Registered protocol family 2
[ 0.180651] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.189100] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.196770] TCP bind hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.203819] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.210401] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.217004] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 0.224459] NET: Registered protocol family 1
[ 0.228906] PCI: CLS 0 bytes, default 32
[ 0.238953] workingset: timestamp_bits=14 max_order=14 bucket_order=0
[ 0.257851] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.263739] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.295141] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.306595] pinctrl-single 18040028.pinmux: 64 pins, size 8
[ 0.313833] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.324298] printk: console [ttyS0] disabled
[ 0.328703] 18020000.uart: ttyS0 at MMIO 0x18020000 (irq = 9, base_baud = 11250000) is a 16550A
[ 0.337406] printk: console [ttyS0] enabled
[ 0.345823] printk: bootconsole [early0] disabled
[ 0.371447] spi-nor spi0.0: mx25l12805d (16384 Kbytes)
[ 0.376788] 4 fixed-partitions partitions found on MTD device spi0.0
[ 0.383199] Creating 4 MTD partitions on "spi0.0":
[ 0.388049] 0x000000000000-0x000000040000 : "u-boot"
[ 0.394681] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.401644] 0x000000050000-0x000000ff0000 : "firmware"
[ 0.413822] 2 netgear-fw partitions found on MTD device firmware
[ 0.419948] Creating 2 MTD partitions on "firmware":
[ 0.424968] 0x000000000000-0x000000212440 : "kernel"
[ 0.431452] 0x000000212440-0x000000fa0000 : "rootfs"
[ 0.437985] mtd: device 4 (rootfs) set to be root filesystem
[ 0.446686] 1 squashfs-split partitions found on MTD device rootfs
[ 0.453038] 0x0000004c0000-0x000000fa0000 : "rootfs_data"
[ 0.460160] 0x000000ff0000-0x000001000000 : "art"
[ 0.469828] libphy: Fixed MDIO Bus: probed
[ 0.792109] libphy: ag71xx_mdio: probed
[ 0.797129] libphy: ar8xxx-mdio: probed
[ 0.804475] switch0: Atheros AR724X/AR933X built-in rev. 2 switch registered on mdio.0
[ 1.143585] random: fast init done
[ 1.161272] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04 [uid=004dd041, driver=Generic PHY]
[ 1.171518] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 1.493844] ag71xx 1a000000.eth: connected to PHY at fixed-0:00 [uid=00000000, driver=Generic PHY]
[ 1.504083] eth1: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[ 1.510827] i2c /dev entries driver
[ 1.520151] NET: Registered protocol family 10
[ 1.536430] Segment Routing with IPv6
[ 1.540397] NET: Registered protocol family 17
[ 1.544996] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[ 1.558042] 8021q: 802.1Q VLAN Support v1.8
[ 1.563826] PCI host bridge /ahb/apb/pcie-controller@180c0000 ranges:
[ 1.570386] MEM 0x0000000010000000..0x0000000013ffffff
[ 1.575663] IO 0x0000000000000000..0x0000000000000000
[ 1.581225] PCI host bridge to bus 0000:00
[ 1.585410] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 1.592342] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.597968] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.604811] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 1.612859] pci 0000:00:00.0: [168c:002e] type 00 class 0x028000
[ 1.618995] pci 0000:00:00.0: reg 0x10: [mem 0x10000000-0x1000ffff 64bit]
[ 1.626018] pci 0000:00:00.0: supports D1
[ 1.630077] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 1.637814] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 1.644557] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1000ffff 64bit]
[ 1.654988] hctosys: unable to open rtc device (rtc0)
[ 1.672625] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.690949] Freeing unused kernel memory: 1232K
[ 1.695543] This architecture does not have kernel memory protection.
[ 1.702023] Run /sbin/init as init process
[ 3.230652] init: Console is alive
[ 3.234599] init: - watchdog -
[ 5.606789] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 6.007460] usbcore: registered new interface driver usbfs
[ 6.013221] usbcore: registered new interface driver hub
[ 6.018770] usbcore: registered new device driver usb
[ 6.033722] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 6.042591] ehci-fsl: Freescale EHCI Host controller driver
[ 6.051065] ehci-platform: EHCI generic platform driver
[ 6.056846] ehci-platform 1b000000.usb: EHCI Host Controller
[ 6.062663] ehci-platform 1b000000.usb: new USB bus registered, assigned bus number 1
[ 6.070764] ehci-platform 1b000000.usb: irq 3, io mem 0x1b000000
[ 6.091615] ehci-platform 1b000000.usb: USB 2.0 started, EHCI 1.00
[ 6.099225] hub 1-0:1.0: USB hub found
[ 6.103744] hub 1-0:1.0: 1 port detected
[ 6.113144] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 6.131143] init: - preinit -
[ 8.438980] random: jshn: uninitialized urandom read (4 bytes read)
[ 8.940780] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.376667] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.473812] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.751415] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.848215] random: jshn: uninitialized urandom read (4 bytes read)
[ 10.855140] eth1: link up (1000Mbps/Full duplex)
[ 10.867723] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 10.879372] IPv6: ADDRCONF(NETDEV_CHANGE): eth1.1: link becomes ready
[ 10.992053] urandom_read: 1 callbacks suppressed
[ 10.992065] random: procd: uninitialized urandom read (4 bytes read)
[ 15.433513] jffs2: notice: (571) jffs2_build_xattr_subsystem: complete building xattr subsystem, 23 of xdatum (0 unchecked, 16 orphan) and 25 of xref (14 dead, 2 orphan) found.
[ 15.454132] mount_root: switching to jffs2 overlay
[ 15.468177] overlayfs: upper fs does not support tmpfile.
[ 15.487363] urandom-seed: Seeding with /etc/urandom.seed
[ 15.649778] eth1: link down
[ 15.687314] procd: - early -
[ 15.690476] procd: - watchdog -
[ 16.325131] procd: - watchdog -
[ 16.328798] procd: - ubus -
[ 16.384499] random: ubusd: uninitialized urandom read (4 bytes read)
[ 16.393517] random: ubusd: uninitialized urandom read (4 bytes read)
[ 16.402399] procd: - init -
[ 18.057518] kmodloader: loading kernel modules from /etc/modules.d/*
[ 18.473790] Loading modules backported from Linux version v5.8-0-gbcf876870b95
[ 18.481148] Backport generated by backports.git v5.8-1-0-g79400d9e
[ 18.575661] xt_time: kernel timezone is -0000
[ 18.805479] PPP generic driver version 2.4.2
[ 18.819734] NET: Registered protocol family 24
[ 18.986116] ath: phy0: Ignoring endianness difference in EEPROM magic bytes.
[ 18.994752] ath: EEPROM regdomain sanitized
[ 18.994762] ath: EEPROM regdomain: 0x64
[ 18.994768] ath: EEPROM indicates we should expect a direct regpair map
[ 18.994796] ath: Country alpha2 being used: 00
[ 18.994802] ath: Regpair used: 0x64
[ 19.012317] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 19.015701] GPIO line 506 (netgear:power:usb) hogged as output/high
[ 19.022502] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=12
[ 19.157937] urngd: v1.0.2 started.
[ 19.188255] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 20.142336] random: crng init done
[ 41.435172] eth1: link up (1000Mbps/Full duplex)
[ 41.456192] br-lan: port 1(eth1.1) entered blocking state
[ 41.461710] br-lan: port 1(eth1.1) entered disabled state
[ 41.467763] device eth1.1 entered promiscuous mode
[ 41.472643] device eth1 entered promiscuous mode
[ 41.503851] br-lan: port 1(eth1.1) entered blocking state
[ 41.509340] br-lan: port 1(eth1.1) entered forwarding state
[ 42.439731] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 42.447395] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 43.657793] eth0: link up (100Mbps/Full duplex)
[ 43.686004] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "u-boot-env"
mtd2: 00fa0000 00010000 "firmware"
mtd3: 00212440 00010000 "kernel"
mtd4: 00d8dbc0 00010000 "rootfs"
mtd5: 00ae0000 00010000 "rootfs_data"
mtd6: 00010000 00010000 "art"
ifconfig
br-lan Link encap:Ethernet HWaddr 00:8E:F2:58:8A:94
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::28e:f2ff:fe58:8a94/64 Scope:Link
inet6 addr: fd03:2695:279d::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20215 errors:0 dropped:0 overruns:0 frame:0
TX packets:172761 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1550880 (1.4 MiB) TX bytes:237431250 (226.4 MiB)
eth0 Link encap:Ethernet HWaddr 00:8E:F2:58:8A:95
inet addr:192.168.0.25 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::28e:f2ff:fe58:8a95/64 Scope:Link
inet6 addr: fd01::28e:f2ff:fe58:8a95/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:171610 errors:0 dropped:0 overruns:0 frame:0
TX packets:18470 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:237274501 (226.2 MiB) TX bytes:1647851 (1.5 MiB)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:8E:F2:58:8A:94
inet6 addr: fe80::28e:f2ff:fe58:8a94/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20274 errors:0 dropped:0 overruns:0 frame:0
TX packets:172792 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1920841 (1.8 MiB) TX bytes:238127253 (227.0 MiB)
Interrupt:5
eth1.1 Link encap:Ethernet HWaddr 00:8E:F2:58:8A:94
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20215 errors:0 dropped:0 overruns:0 frame:0
TX packets:172759 errors:0 dropped:2 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1550880 (1.4 MiB) TX bytes:237430990 (226.4 MiB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:55 errors:0 dropped:0 overruns:0 frame:0
TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:6028 (5.8 KiB) TX bytes:6028 (5.8 KiB)
ip route
default via 192.168.0.1 dev eth0 src 192.168.0.25
192.168.0.0/24 dev eth0 scope link src 192.168.0.25
192.168.1.0/24 dev br-lan scope link src 192.168.1.1
cat /etc/config/network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd03:2695:279d::/48'
config interface 'wan'
option proto 'dhcp'
option ifname 'eth0'
config interface 'wan6'
option ifname 'eth0'
option proto 'dhcpv6'
config interface 'lan'
option type 'bridge'
option ifname 'eth1.1'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '1 2 3 4 0t'
cat /tmp/resolv.conf.auto
cat: can't open '/tmp/resolv.conf.auto': No such file or directory
Я сам уже не знаю что делать. К провайдеру не подключить, так как PPPoE, а для него нужен имя, пароль и ещё загрузить пакет, который роутер не может загрузить.