Установил openwrt на mikrotik rb951g-2hnd. Зайти на него теперь могу только через uart - ни dhcpc, ни manual ip не работают. В какую сторону смотреть? dhcp - запущен. Единственная ошибка - «rocd: Not starting instance igmpproxy::instance1, an error was indicated» - врядли имеет к этому отношение. В какую сторону смотреть?
root@OpenWrt:/# ifconfig
br-lan Link encap:Ethernet HWaddr D4:CA:6D:92:A4:7E
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::d6ca:6dff:fe92:a47e/64 Scope:Link
inet6 addr: fde6:42b9:2ab2::1/60 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:26 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:2852 (2.7 KiB)
eth0 Link encap:Ethernet HWaddr D4:CA:6D:92:A4:7E
inet6 addr: fe80::d6ca:6dff:fe92:a47e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:151 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:605 (605.0 B) TX bytes:47218 (46.1 KiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr D4:CA:6D:92:A4:7E
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:1656 (1.6 KiB)
eth0.2 Link encap:Ethernet HWaddr BC:5F:F4:7C:42:40
inet6 addr: fe80::be5f:f4ff:fe7c:4240/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:133 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:44526 (43.4 KiB)
wlan0 Link encap:Ethernet HWaddr D4:CA:6D:92:A4:89
inet6 addr: fe80::d6ca:6dff:fe92:a489/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1904 (1.8 KiB
root@OpenWrt:/# ps
1 root 1396 S /sbin/procd
2 root 0 SW [kthreadd]
3 root 0 SW [ksoftirqd/0]
4 root 0 DW [kworker/0:0]
5 root 0 SW< [kworker/0:0H]
6 root 0 SW [kworker/u2:0]
7 root 0 SW< [khelper]
8 root 0 SW [kworker/u2:1]
62 root 0 SW< [writeback]
65 root 0 SW< [bioset]
67 root 0 SW< [kblockd]
93 root 0 SW [kworker/0:1]
98 root 0 SW [kswapd0]
143 root 0 SW [fsnotify_mark]
250 root 0 SW< [deferwq]
261 root 0 SW [khubd]
379 root 880 S /sbin/ubusd
380 root 1364 S /bin/ash --login
928 root 0 SW< [cfg80211]
929 root 0 DW [kworker/0:2]
1076 root 1036 S /sbin/logd -S 16
1126 root 1484 S /sbin/netifd
1160 root 1152 S /usr/sbin/odhcpd
1166 root 0 SW [kworker/0:3]
1204 root 1152 S /usr/sbin/dropbear -F -P /var/run/dropbear.1.pid -p
1210 root 784 S {p910nd} /usr/sbin/p9100d -b -f /dev/usb/lp0 0
1469 root 2076 S /usr/sbin/uhttpd -f -h /www -r OpenWrt -x /cgi-bin -
1507 root 2816 S /usr/sbin/vsftpd
1578 root 856 S xl2tpd
1663 root 1360 S udhcpc -p /var/run/udhcpc-eth0.2.pid -s /lib/netifd/
1725 root 1784 S /usr/sbin/hostapd -P /var/run/wifi-phy0.pid -B /var/
1787 root 1360 S /usr/sbin/ntpd -n -p 0.openwrt.pool.ntp.org -p 1.ope
2247 root 1444 S {ppp.sh} /bin/sh ./ppp.sh pptp setup vpn {"ifname":"
2250 root 1352 S sleep 5
2251 root 1360 R ps
OpenWrt kernel loader for AR7XXX/AR9XXX
Copyright (C) 2011 Gabor Juhos <juhosg@openwrt.org>
Decompressing kernel... done!
Starting kernel at 80060000...
[ 0.000000] Linux version 3.10.49 (andrew@netbook) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4
.8-2014.04 r42887) ) #5 Mon Jan 12 15:41:46 EET 2015
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Clocks: CPU:600.000MHz, DDR:400.000MHz, AHB:400.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 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] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: no-uart parts=1 boot_part_size=4194304 gpio=249387 HZ=300
000000 mem=128M kmac=D4:CA:6D:92:A4:7E board=951G ver=3.19 boot=1 mlc=7 console=ttyS0,115200 r
ootfstype=yaffs noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 126448k/131072k available (2213k kernel code, 4624k reserved, 439k data
, 224k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 299.82 BogoMIPS (lpj=1499136)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] NET: Registered protocol family 16
[ 0.090000] MIPS: machine is MikroTik RouterBOARD 951G-2HnD
[ 0.310000] bio: create slab <bio-0> at 0
[ 0.320000] Switching to clocksource MIPS
[ 0.320000] NET: Registered protocol family 2
[ 0.330000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.330000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.340000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.340000] TCP: reno registered
[ 0.350000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.350000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.360000] NET: Registered protocol family 1
[ 0.380000] msgmni has been set to 246
[ 0.380000] io scheduler noop registered
[ 0.390000] io scheduler deadline registered (default)
[ 0.390000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.420000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.430000] console [ttyS0] enabled, bootconsole disabled
[ 0.430000] console [ttyS0] enabled, bootconsole disabled
[ 0.440000] NAND device: Manufacturer ID: 0x98, Chip ID: 0xf1 (Toshiba NAND 128MiB 3,3V 8-b
it), 128MiB, page size: 2048, OOB size: 64
[ 0.450000] Scanning device for bad blocks
[ 0.560000] Creating 3 MTD partitions on "ar934x-nfc":
[ 0.560000] 0x000000000000-0x000000040000 : "booter"
[ 0.570000] 0x000000040000-0x000000400000 : "kernel"
[ 0.580000] 0x000000400000-0x000008000000 : "rootfs"
[ 0.580000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.590000] mtdsplit: no squashfs found in "rootfs"
[ 0.590000] mtdsplit: no squashfs found in "ar934x-nfc"
[ 0.640000] switch0: Atheros AR8327 rev. 4 switch registered on ag71xx-mdio.0
[ 1.900000] libphy: ag71xx_mdio: probed
[ 2.450000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd034, driver=Ath
eros AR8216/AR8236/AR8316]
[ 2.460000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:RGMII
[ 2.470000] TCP: cubic registered
[ 2.480000] NET: Registered protocol family 17
[ 2.480000] 8021q: 802.1Q VLAN Support v1.8
[ 2.490000] yaffs: dev is 32505858 name is "mtdblock2" ro
[ 2.490000] yaffs: passed flags ""
[ 2.810000] VFS: Mounted root (yaffs filesystem) readonly on device 31:2.
[ 2.820000] Freeing unused kernel memory: 224K (802f8000 - 80330000)
procd: Console is alive
procd: - watchdog -
[ 4.190000] usbcore: registered new interface driver usbfs
[ 4.200000] usbcore: registered new interface driver hub
[ 4.200000] usbcore: registered new device driver usb
[ 4.210000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.220000] ehci-platform: EHCI generic platform driver
[ 4.230000] ehci-platform ehci-platform: EHCI Host Controller
[ 4.230000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.240000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.270000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.270000] hub 1-0:1.0: USB hub found
[ 4.280000] hub 1-0:1.0: 1 port detected
[ 4.280000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
procd: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 4.600000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 6.450000] eth0: link up (1000Mbps/Full duplex)
mounting /dev/root
[ 7.680000] eth0: link down
procd: - early -
procd: - watchdog -
Failed to connect to ubus
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 10.190000] NET: Registered protocol family 10
[ 10.210000] zram: Created 1 device(s) ...
[ 10.210000] tun: Universal TUN/TAP device driver, 1.6
[ 10.220000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 10.250000] l2tp_core: L2TP core driver, V2.0
[ 10.260000] l2tp_netlink: L2TP netlink interface
[ 10.270000] sit: IPv6 over IPv4 tunneling driver
[ 10.310000] gre: GRE over IPv4 demultiplexor driver
[ 10.310000] ip_gre: GRE over IPv4 tunneling driver
[ 10.340000] nf_conntrack version 0.5.0 (1979 buckets, 7916 max)
[ 10.350000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 10.410000] u32 classifier
[ 10.410000] input device check on
[ 10.420000] Actions configured
[ 10.420000] Mirror/redirect action on
[ 10.460000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[ 10.460000] Backport generated by backports.git backports-20140320-37-g5c33da0
[ 10.490000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 10.580000] usbcore: registered new interface driver usblp
[ 10.600000] usbcore: registered new interface driver usbserial
[ 10.600000] usbcore: registered new interface driver usbserial_generic
[ 10.620000] usbserial: USB Serial support registered for generic
[ 10.690000] xt_time: kernel timezone is -0000
[ 10.740000] cfg80211: Calling CRDA to update world regulatory domain
[ 10.740000] cfg80211: World regulatory domain updated:
[ 10.750000] cfg80211: DFS Master region: unset
[ 10.750000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp),
(dfs_cac_time)
[ 10.760000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.770000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.780000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.790000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.800000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 10.810000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 10.810000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 10.820000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 10.950000] PPP generic driver version 2.4.2
[ 10.960000] PPP MPPE Compression module registered
[ 10.960000] NET: Registered protocol family 24
[ 10.970000] PPTP driver version 0.8.5
[ 11.070000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[ 11.080000] usbcore: registered new interface driver option
[ 11.100000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 11.160000] cfg80211: Calling CRDA for country: US
[ 11.160000] cfg80211: Regulatory domain changed to country: US
[ 11.170000] cfg80211: DFS Master region: FCC
[ 11.170000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp),
(dfs_cac_time)
[ 11.180000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[ 11.190000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[ 11.200000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[ 11.210000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[ 11.220000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[ 11.230000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[ 13.080000] Adding 62460k swap on /dev/zram0. Priority:-1 extents:1 across:62460k SS
[ 19.560000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 19.570000] IPv6: ADDRCONF(NETDEV_UP): eth0.1: link is not ready
[ 19.580000] device eth0.1 entered promiscuous mode
[ 19.590000] device eth0 entered promiscuous mode
[ 19.590000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 19.630000] IPv6: ADDRCONF(NETDEV_UP): eth0.2: link is not ready
[ 21.480000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 21.480000] device wlan0 entered promiscuous mode
[ 21.490000] br-lan: port 2(wlan0) entered forwarding state
[ 21.490000] br-lan: port 2(wlan0) entered forwarding state
[ 21.540000] eth0: link up (1000Mbps/Full duplex)
[ 21.550000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 21.560000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 21.570000] br-lan: port 2(wlan0) entered disabled state
[ 21.570000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.580000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.580000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[ 21.590000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.2: link becomes ready
[ 22.790000] br-lan: port 2(wlan0) entered forwarding state
[ 22.800000] br-lan: port 2(wlan0) entered forwarding state
[ 22.800000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 23.580000] br-lan: port 1(eth0.1) entered forwarding state
procd: Not starting instance igmpproxy::instance1, an error was indicated
procd: - init complete -
[ 24.800000] br-lan: port 2(wlan0) entered forwarding state
BusyBox v1.22.1 (2015-01-10 16:24:45 EET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
BARRIER BREAKER (Barrier Breaker, r43889)
-----------------------------------------------------
* 1/2 oz Galliano Pour all ingredients into
* 4 oz cold Coffee an irish coffee mug filled
* 1 1/2 oz Dark Rum with crushed ice. Stir.
* 2 tsp. Creme de Cacao
-----------------------------------------------------
root@OpenWrt:/#