Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
Right followed your instructions, all went fine, reboot with gateway switch but still no ip address OCTEON eMMC stage 1 bootloader Partition: 1, start: 0x0000000000000800, size: 0x0000000000200000 Reading 470976 bytes. ................................................................................ ................................... Done. Loaded OCTBOOT2BIN, size: 0x0000000000072FC0 Branching to stage 2 at: 0xFFFFFFFF81004000 Board TLV descriptor Read - RHino continues ... 2 board 0x4e26 major 1 minor 0, DDR HERTZ 0 hz Rhino: early board init, mem_clk 0x29b .. U-Boot 2013.07 (Development build, svnversion: u-boot:exported, exec:) (Build ti me: Mar 27 2015 - 10:49:38) Initializing DRAM U-Boot is not RAM-resident Rhino: lookup_ddr_config_structure: cpu_id 890370 board_type 20006 ... Rhino: cpu_id 0xd9602 board_type 0x4e26 major 0x1 minor 0x0 mask 1 ... Initializing DDR, clock = 667000000hz, reference = 50000000hz LMC0_DCLK_CNT: 0xffffffffffffffff Measured DDR clock 666666649 Hz Mem size in MBYTES: 1024 RHino: new Ram size 1024MiB (0x40000000) Ram size 1024MiB (0x40000000) Clearing memory from 0 to 1048576 Done clearing memory CUST_PRIVATE_RHINO_ITUS7X board revision major:1, minor:0, serial #: OCTEON CN7020-AAP pass 1.2, Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 667 MHz (1334 Mhz DDR) Base DRAM address used by u-boot: 0x4f804000, size: 0x7fc000 DRAM: 1 GiB Clearing DRAM.....Clearing base address: 0x100000, size: 0xff00000, ub_base: 0x4 f804000, ub_size: 0x7fc000 Stack: 0xc03f5c60 Done clearing memory, ub_base: 0x4f804000 .Clearing base address: 0x20000000, size: 0x30000000, ub_base: 0x4f804000, ub_si ze: 0x7fc000 Stack: 0xc03f5c60 Done clearing memory, ub_base: 0x4f804000 done Using default environment MMC: Octeon MMC/SD0: 1 Hit any key to stop autoboot: 0 reading u-boot-octeon_rhino_itus7x.bin early_board_init: Early board init ................. Importing environment from RAM address 0x1000 RAM environment is 33 bytes U-Boot 2013.07 (Development build, svnversion: u-boot:exported, exec:) (Build ti me: May 04 2015 - 15:37:16) Initializing DRAM U-Boot is RAM resident Using DRAM size from environment: 1024 MBytes DDR clock is 667 MHz RHino: new Ram size 1024MiB (0x40000000) Ram size 1024MiB (0x40000000) Preserving environment in RAM Done clearing memory Configuring DLM0 for QSGMII DLM1: mini-PCIe slots selected CUST_PRIVATE_RHINO_ITUS7X board revision major:0, minor:1, serial #: 75201119152 1-36838 OCTEON CN7020-AAP pass 1.2, Core clock: 1000 MHz, IO clock: 600 MHz, DDR clock: 667 MHz (1334 Mhz DDR) Base DRAM address used by u-boot: 0x4f000000, size: 0x1000000 DRAM: 1 GiB Clearing DRAM.....Clearing base address: 0x100000, size: 0xff00000, ub_base: 0x4 f000000, ub_size: 0x1000000 Stack: 0xc0f71c60 Done clearing memory, ub_base: 0x4f000000 .Clearing base address: 0x20000000, size: 0x30000000, ub_base: 0x4f000000, ub_si ze: 0x1000000 Stack: 0xc0f71c60 Done clearing memory, ub_base: 0x4f000000 done board_fixup_fdt: Found PCIe GPIO2 .. MMC device not found, initializing Octeon MMC/SD0: 1 PCIe: Link timeout on port 0, probably the slot is empty PCIe: Port 1 not in PCIe mode, skipping PCIe: Port 2 not in PCIe mode, skipping Net: cvmx_helper_interface: interface 0 cvmx_helper_interface: interface 1 cvmx_helper_interface: interface 4 octeth0, octeth1, octeth2, octeth3 Type the command 'usb start' to scan for USB storage devices. late_board_init .. ITUS: SW1 3 Gateway (OUTER) Hit any key to stop autoboot: 0 mmc1(part 0) is current device reading ItusgatewayImage 59941192 bytes read in 5085 ms (11.2 MiB/s) argv[2]: mem=0 argv[3]: numcores=2 argv[4]: serial#=752011191521-36838 Allocating memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x1100 000), size 0x4a795b0 ## Loading big-endian Linux kernel with entry point: 0xffffffff8164c2c0 ... Bootloader: Done loading app on coremask: 0x3 Starting cores: 0x3 [ 0.000000] Linux version 4.19.65 (grommish@norwits) (gcc version 7.4.0 (Open Wrt GCC 7.4.0 r10665-efaace1f8b)) #0 SMP Sun Aug 11 19:12:34 2019 [ 0.000000] Skipping L2 locking due to reduced L2 cache size [ 0.000000] CVMSEG size: 3 cache lines (384 bytes) [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 000d9602 (Cavium Octeon III) [ 0.000000] FPU revision is: 00739600 [ 0.000000] Checking for the multiply/shift bug... no. [ 0.000000] Checking for the daddiu bug... no. [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 0000000009400000 @ 0000000005c00000 (usable) [ 0.000000] memory: 0000000000c00000 @ 000000000f200000 (usable) [ 0.000000] memory: 000000002f000000 @ 0000000020000000 (usable) [ 0.000000] memory: 0000000004a795b0 @ 0000000001100000 (usable) [ 0.000000] Wasting 243712 bytes for tracking 4352 unused pages [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Using passed Device Tree. [ 0.000000] software IO TLB: mapped [mem 0x06800000-0x06840000] (0MB) [ 0.000000] Primary instruction cache 78kB, virtually tagged, 39 way, 16 sets , linesize 128 bytes. [ 0.000000] Primary data cache 32kB, 32-way, 8 sets, linesize 128 bytes. [ 0.000000] Zone ranges: [ 0.000000] DMA32 [mem 0x0000000000000000-0x00000000efffffff] [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x0000000005b78fff] [ 0.000000] node 0: [mem 0x0000000005c00000-0x000000000effffff] [ 0.000000] node 0: [mem 0x000000000f200000-0x000000000fdfffff] [ 0.000000] node 0: [mem 0x0000000020000000-0x000000004effffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000004effffff] [ 0.000000] random: get_random_bytes called from start_kernel+0x94/0x500 with crng_init=0 [ 0.000000] percpu: Embedded 19 pages/cpu s39712 r8192 d29920 u77824 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 253376 [ 0.000000] Kernel command line: bootoctlinux 0x20000000 numcores=2 serial#= 752011191521-36838 console=ttyS0,115200 [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes) [ 0.000000] Memory: 916056K/1027556K available (5458K kernel code, 311K rwdat a, 1332K rodata, 52464K init, 16677K bss, 111500K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=128, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: CONFIG_RCU_FANOUT set to non-default value of 32. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=2. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 127 [ 0.000000] CIB interrupt controller probed: 800107000000e000 23 [ 0.000000] CIB interrupt controller probed: 800107000000e200 12 [ 0.000000] CIB interrupt controller probed: 800107000000e400 6 [ 0.000000] CIB interrupt controller probed: 800107000000ec00 15 [ 0.000000] CIB interrupt controller probed: 800107000000e600 4 [ 0.000000] CIB interrupt controller probed: 800107000000e800 11 [ 0.000000] CIB interrupt controller probed: 800107000000e900 11 [ 24.425415] clocksource: OCTEON_CVMCOUNT: mask: 0xffffffffffffffff max_cycles : 0x1cd42e4dffb, max_idle_ns: 881590591483 ns [ 24.436470] Calibrating delay loop (skipped) preset value.. 2000.00 BogoMIPS (lpj=1000000) [ 24.444720] pid_max: default: 32768 minimum: 301 [ 24.449388] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 24.456004] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes) [ 24.463518] Checking for the daddi bug... no. [ 24.468190] rcu: Hierarchical SRCU implementation. [ 24.473150] smp: Bringing up secondary CPUs ... [ 24.477758] SMP: Booting CPU01 (CoreId 1)... [ 24.482054] CPU1 revision is: 000d9602 (Cavium Octeon III) [ 24.482058] FPU revision is: 00739600 [ 24.482166] smp: Brought up 1 node, 2 CPUs [ 24.497419] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma x_idle_ns: 1911260446275000 ns [ 24.507030] futex hash table entries: 512 (order: 4, 65536 bytes) [ 24.513400] NET: Registered protocol family 16 [ 24.522351] PCIe: Initializing port 0 [ 24.529091] PCIe: BIST2 FAILED for port 0 (0x0000000000000003) [ 24.633085] random: fast init done [ 26.534787] PCIe: Link timeout on port 0, probably the slot is empty [ 26.541087] PCIe: Initializing port 1 [ 26.547958] PCIe: BIST FAILED for port 1 (0xffffffffffffffff) [ 28.558667] PCIe: Link timeout on port 1, probably the slot is empty [ 28.570950] SCSI subsystem initialized [ 28.574735] usbcore: registered new interface driver usbfs [ 28.580103] usbcore: registered new interface driver hub [ 28.585420] usbcore: registered new device driver usb [ 28.590591] PCI host bridge to bus 0000:00 [ 28.594545] pci_bus 0000:00: root bus resource [mem 0x1000000000000] [ 28.600873] pci_bus 0000:00: root bus resource [io 0x0000] [ 28.606437] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 28.613218] pci_bus 0000:00: No busn resource found for root bus, will use [b us 00-ff] [ 28.622423] clocksource: Switched to clocksource OCTEON_CVMCOUNT [ 28.628862] NET: Registered protocol family 2 [ 28.633484] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes) [ 28.641018] TCP established hash table entries: 8192 (order: 4, 65536 bytes) [ 28.648105] TCP bind hash table entries: 8192 (order: 5, 131072 bytes) [ 28.654661] TCP: Hash tables configured (established 8192 bind 8192) [ 28.660968] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 28.666835] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 28.673298] NET: Registered protocol family 1 [ 28.896232] Crashlog allocated RAM at address 0x3f00000 [ 28.901843] workingset: timestamp_bits=62 max_order=18 bucket_order=0 [ 28.913300] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 28.919130] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORIT Y) (c) 2001-2006 Red Hat, Inc. [ 28.930909] io scheduler noop registered [ 28.934715] io scheduler deadline registered (default) [ 28.940290] octeon_gpio 1070000000800.gpio-controller: OCTEON GPIO driver pro bed. [ 28.947816] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 28.954474] console [ttyS0] disabled [ 28.957921] 1180000000800.serial: ttyS0 at MMIO 0x1180000000800 (irq = 44, ba se_baud = 37500000) is a OCTEON [ 28.967731] console [ttyS0] enabled [ 28.967731] console [ttyS0] enabled [ 28.974675] bootconsole [early0] disabled [ 28.974675] bootconsole [early0] disabled [ 28.982940] 1180000000c00.serial: ttyS1 at MMIO 0x1180000000c00 (irq = 45, ba se_baud = 37500000) is a OCTEON [ 28.993043] octeon_rng octeon_rng: Octeon Random Number Generator [ 28.999281] cacheinfo: Failed to find cpu0 device node [ 29.004451] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 29.013186] loop: module loaded [ 29.016820] libphy: mdio_octeon: probed [ 29.020707] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@0: Whitel isted compatible string. Please remove [ 29.040835] irq: gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ4 8 mapping (rc=-22) [ 29.049686] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@1: Whitel isted compatible string. Please remove [ 29.069102] irq: gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ4 8 mapping (rc=-22) [ 29.077958] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@2: Whitel isted compatible string. Please remove [ 29.097251] irq: gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ4 8 mapping (rc=-22) [ 29.106106] [Firmware Warn]: /soc@0/mdio@1180000001800/ethernet-phy@3: Whitel isted compatible string. Please remove [ 29.125524] irq: gpio-controller@1070000000800 didn't like hwirq-0x7 to VIRQ4 8 mapping (rc=-22) [ 29.134364] mdio_octeon 1180000001800.mdio: Probed [ 29.139377] libphy: Fixed MDIO Bus: probed [ 29.143558] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 29.150104] ehci-pci: EHCI PCI platform driver [ 29.154591] ehci-platform: EHCI generic platform driver [ 29.159905] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 29.166118] ohci-platform: OHCI generic platform driver [ 29.171473] usbcore: registered new interface driver usb-storage [ 29.177530] octeon_wdt: Initial granularity 5 Sec [ 30.070817] Interface 0 has 4 ports (SGMII) [ 30.075062] Interface 1 has 4 ports (SGMII) [ 30.079819] Interface 3 has 4 ports (LOOP) [ 30.090219] NET: Registered protocol family 10 [ 30.096573] Segment Routing with IPv6 [ 30.100329] NET: Registered protocol family 17 [ 30.104821] 8021q: 802.1Q VLAN Support v1.8 [ 30.109708] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed [ 30.138921] Freeing unused kernel memory: 52464K [ 30.143565] This architecture does not have kernel memory protection. [ 30.150019] Run /init as init process Waiting for external root for Gateway: /dev/mmcblk1p3 : 0 [ 31.228373] random: crng init done Waiting for external root for Gateway: /dev/mmcblk1p3 : 1 Waiting for external root for Gateway: /dev/mmcblk1p3 : 2 Waiting for external root for Gateway: /dev/mmcblk1p3 : 3 Waiting for external root for Gateway: /dev/mmcblk1p3 : 4 Waiting for external root for Gateway: /dev/mmcblk1p3 : 5 Waiting for external root for Gateway: /dev/mmcblk1p3 : 6 Waiting for external root for Gateway: /dev/mmcblk1p3 : 7 Waiting for external root for Gateway: /dev/mmcblk1p3 : 8 Waiting for external root for Gateway: /dev/mmcblk1p3 : 9 Waiting for external root for Gateway: /dev/mmcblk1p3 : 10 Waiting for external root for Gateway: /dev/mmcblk1p3 : 11 Waiting for external root for Gateway: /dev/mmcblk1p3 : 12 Waiting for external root for Gateway: /dev/mmcblk1p3 : 13 Waiting for external root for Gateway: /dev/mmcblk1p3 : 14 Waiting for external root for Gateway: /dev/mmcblk1p3 : 15 Waiting for external root for Gateway: /dev/mmcblk1p3 : 16 Waiting for external root for Gateway: /dev/mmcblk1p3 : 17 [ 48.822274] mmc1: new DDR MMC card at address 0001 [ 48.827484] mmcblk1: mmc1:0001 P1XXXX 3.60 GiB [ 48.832152] mmcblk1boot0: mmc1:0001 P1XXXX partition 1 2.00 MiB [ 48.838193] mmcblk1boot1: mmc1:0001 P1XXXX partition 2 2.00 MiB [ 48.844212] mmcblk1rpmb: mmc1:0001 P1XXXX partition 3 128 KiB, chardev (252:0 ) [ 48.852251] mmcblk1: p1 p2 p3 p4 Waiting for external root for Gateway: /dev/mmcblk1p3 : 18 Found /sys/block/mmcblk1/mmcblk1p3 : 19 Creating /dev/mmcblk1[ 49.223421] EXT4-fs (mmcblk1p3): mounting ext3 file syst em using the ext4 subsystem p3 Mounting external root for Gateway /dev/mmcblk1p3 on /extroot [ 49.246199] EXT4-fs (mmcblk1p3): mounted filesystem with ordered data mode. O pts: (null) Checking for /extroot/init : 0 /extroot/init not found! Setting up block device for initial boot. Checking for /extroot/init : 1 Found /extroot/init Firstboot flag: 1 [ 57.698451] init: Console is alive [ 57.702035] init: - watchdog - [ 57.715098] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 57.726415] kmodloader: done loading kernel modules from /etc/modules-boot.d/ * [ 57.735835] init: - preinit - [ 57.884804] eth0: 1000 Mbps Full duplex, port 0, queue 0 [ 57.890264] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready 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 [ 58.919523] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 60.954174] mount_root: mounting /dev/root [ 61.156693] EXT4-fs (mmcblk1p3): re-mounted. Opts: (null) [ 61.172769] urandom-seed: Seed file not found (/etc/urandom.seed) [ 61.201471] eth0: Link down [ 61.208719] procd: - early - [ 61.211774] procd: - watchdog - [ 61.740217] procd: - watchdog - [ 61.743583] procd: - ubus - [ 61.796931] procd: - init - Please press Enter to activate this console. [ 61.930030] urngd: v1.0.0 started. [ 61.981874] kmodloader: loading kernel modules from /etc/modules.d/* [ 62.012799] Mirror/redirect action on [ 62.023915] u32 classifier [ 62.026717] input device check on [ 62.030399] Actions configured [ 62.063316] usbcore: registered new interface driver ums-alauda [ 62.070621] usbcore: registered new interface driver ums-cypress [ 62.077719] usbcore: registered new interface driver ums-datafab [ 62.084584] usbcore: registered new interface driver ums-freecom [ 62.091555] usbcore: registered new interface driver ums-isd200 [ 62.098412] usbcore: registered new interface driver ums-jumpshot [ 62.105289] usbcore: registered new interface driver ums-karma [ 62.112155] usbcore: registered new interface driver ums-sddr09 [ 62.119286] usbcore: registered new interface driver ums-sddr55 [ 62.126170] usbcore: registered new interface driver ums-usbat [ 62.150981] xt_time: kernel timezone is -0000 [ 62.159623] PPP generic driver version 2.4.2 [ 62.164939] NET: Registered protocol family 24 [ 62.171971] kmodloader: done loading kernel modules from /etc/modules.d/* [ 69.866946] br-lan: port 1(eth1) entered blocking state [ 69.872251] br-lan: port 1(eth1) entered disabled state [ 69.877720] device eth1 entered promiscuous mode [ 69.885099] br-lan: port 1(eth1) entered blocking state [ 69.890367] br-lan: port 1(eth1) entered forwarding state [ 69.895896] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready [ 69.919303] eth2: 1000 Mbps Full duplex, port 2, queue 2 [ 69.936702] br-lan: port 2(eth2) entered blocking state [ 69.941985] br-lan: port 2(eth2) entered disabled state [ 69.947475] device eth2 entered promiscuous mode [ 69.952222] br-lan: port 2(eth2) entered blocking state [ 69.957483] br-lan: port 2(eth2) entered forwarding state [ 69.977717] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 70.886726] br-lan: port 1(eth1) entered disabled state [ 70.892213] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready [ 70.899557] br-lan: port 2(eth2) entered disabled state [ 70.950565] br-lan: port 2(eth2) entered blocking state [ 70.955828] br-lan: port 2(eth2) entered forwarding state [ 74.096519] eth0: 1000 Mbps Full duplex, port 0, queue 0 [ 74.101871] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 77.168390] eth0: Link down [ 82.289507] eth0: 1000 Mbps Full duplex, port 0, queue 0 On Fri, 16 Aug 2019 at 18:08, Grommish [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
What does ifconfig say? On Fri, Aug 16, 2019, 1:41 PM Roadrunnere42 [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote]
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
ifconfig enp10s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::4537:e7ac:fbc8:321a prefixlen 64 scopeid 0x20<link> ether 40:16:7e:2a:47:37 txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 49 bytes 33110 (33.1 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1000 (Local Loopback) RX packets 266 bytes 46390 (46.3 KB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 266 bytes 46390 (46.3 KB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 On Fri, 16 Aug 2019 at 18:43, Grommish [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
Is that from your Linux box? The Shield should have br-lan, eth0/1/2, lo On Fri, Aug 16, 2019, 2:45 PM Roadrunnere42 [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote]
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
I cant log into the shield via ssh not sure how to do it through the serial cable as im using sudo minicom -w On Fri, 16 Aug 2019 at 19:48, Grommish [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
just installed putty and here the result from the Shield On Fri, 16 Aug 2019 at 19:58, Roadrunnere42 [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
I use minicom for console connections. See my screenshot below on settings that I use..
As for your ifconfig output, your upstream device is not assigning an IP to eth0. If you're using a cable modem, try rebooting the cable modem and then bringing up the Shield. I've run into this problem where it just doesn't want to pickup an IP and I've not been able to figure out why. It happened from time to time on the Itus images to, so I don't know if its hardware or software related. You may want to try unplugging the Shield for a few minutes as well.. Once it does link properly, you won't have any problems. I've screenshot my ifconfig as well. You can see where your eth0 isn't getting assigned an DHCP IP. By default, my image replicates the router firmware where eth0 = WAN and is DHCP assigned. eth1/eth2 are bridges to br-lan and acts as a DHCP server to the LAN.
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
Great now up and running, unplugged Shield, both eth0 and eth2 , restarted then after several minutes re-plugged in eth0 and eth2 whilst running and ip address assigned ok. Now to start playing!!!! On Fri, 16 Aug 2019 at 22:23, Grommish [via Itus Networks Owners Forum] <[hidden email]> wrote: I use minicom for console connections. See my screenshot below on settings that I use.. ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
Fantastic!
As I've told Gnomad in the past, my time with the Shield has been limited (Since Feb of this year). You all have had years of experience with it and will be better able to do the real work of fine tuning. Besides, you personally have the experience in dealing with the FW updates (along with user8446 and Hans); far beyond what I've done. My hopes is to get something that is functional, secure, and up to date. Then maybe we can get people who have tossed the Shield aside to see about bringing it back. Gnomad had said he gave up on his Shield over a year ago and he can't be the only one. Any changes you make can either be posted here, Github, or you can email them and I can put it in the image for future users. I'm still working on the opkg issues, and may have to bite the bullet and revert back to the standard Octeon III CPU define, but I'm not sure exactly what changes that'll have to the kernel. I'll need to dig deeper and see when I get time. Also, I need to get more information about the update system. It calls the sysupdate script, but errors because of some reason - probably I didn't set the device defines up properly. I wasn't worried about being upstream compliant with OpenWrt - I just wanted it to work. Since they'll never see it as a legit device anyway, I wasn't overly concerned about just making the code do what I needed it to do, even if it wasn't how OpenWrt does it.
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
Did you every get the 5 volt fan to work? if not what was the problem? On Sat, 17 Aug 2019 at 08:31, Grommish [via Itus Networks Owners Forum] <[hidden email]> wrote: Fantastic! ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
I did not. I could never find a true 5vDC fan that would work with the header on the PCB.. I probably COULD get it to work if I really worked on it, but the time I was spending wasn't worth it.
Instead, I put a Raspberry Pi flat copper heatsink on the CPU to passively cool the chip. I don't know if heating was the issue, I can tell you that the temps weren't THAT hot (right around 50*C), but it was more than I was comfortable with. So, the heatsink could be totally unnecessary, but it makes ME feel better. I may revisit the fan later.. i've got 3 of them that I ordered sitting here that I've torn apart. < quote author="Roadrunnere42"> Did you every get the 5 volt fan to work? if not what was the problem?
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
94 posts
|
In reply to this post by Gnomad
I realised I hadn't paid the luci Intrusion Detection UI any attention yet..
Turns out not too difficult to tweak it and updaterules.sh to play nice with each other. Updated gist at https://gist.github.com/DaveA-W/e3e9e95a21d418e9c83a3a3a0731e3cc and PR files at https://github.com/Grommish/Itus_Shield_v2/pull/1/files
OpenWrt SNAPSHOT, r10391-3d8d528939
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
I merged the pull request and added a comment. I'll sync the source when I get home. I'm dealing with an electrical issue in the work truck. Fun times! The relay on the DC to AC generator decided to break on me. Just crumbled to pieces. Got to try and find a replacement now. On Sat, Aug 17, 2019, 10:47 AM Gnomad [via Itus Networks Owners Forum] <[hidden email]> wrote: I realised I hadn't paid the luci Intrusion Detection UI any attention yet.. ... [show rest of quote]
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
In reply to this post by Gnomad
Gnomad Great work on the updated scripts. I'm have trouble running updaterules.sh, which is on a fresh image installed yesterday, had a look through and I must admit it's better code than what i did, nice a clean. 1. Ll2blacklist file is not present so script need to check if present if not create folder and files. Replacing /etc/snort/rules/iplists/L2.blacklist mv: can't rename '/etc/snort/rules/iplists/L2.blacklist': No such file or directory mv: can't rename 'L2.blacklist': No such file or directory 2. ./updaterules.sh: line 66: file: not found. Again I think this is to do with folder / files not present on fresh install Downloading community-rules https://www.snort.org/downloads/community/community-rules.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 467 0 467 0 0 812 0 --:--:-- --:--:-- --:--:-- 1212 100 321k 100 321k 0 0 190k 0 0:00:01 0:00:01 --:--:-- 400k . /updaterules.sh: line 66: file: not found Downloading abuse-sslbl.rules https://sslbl.abuse.ch/blacklist/sslipblacklist.rules % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 21127 100 21127 0 0 36425 0 --:--:-- --:--:-- --:--:-- 88768 ./updaterules.sh: line 66: file: not found 3. Don't thing this is anything to do with your script but anyidea. I don't have the profile directory present, has this been added lately. Restarting SNORT service cat: can't open '/etc/snort/profile/config1_advanced.conf': No such file or directory cat: can't open '/etc/snort/profile/config2_engine.conf': No such file or directory cat: can't open '/etc/snort/profile/config3_preprocessors.conf': No such file or directory cat: can't open '/etc/snort/profile/config4_other.conf': No such file or directory On Tue, 13 Aug 2019 at 17:47, Gnomad [via Itus Networks Owners Forum] <[hidden email]> wrote: Updated the script with some improvements - parameterised downloads which now continue if one fails, excluded sids out to a separate (optional) file. |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
Let me check to see if I actually included this updated script in the image you have. I haven't synced in a few days and just did the pull request merge. I'll sync up and build out here in a bit, then link up the updated image On Sat, Aug 17, 2019, 11:23 AM Roadrunnere42 [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote]
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
Road, Here is the link to the commit if you just want to grab the files locally. Anything under the files/ directory get injected into the image file tree as laid out (files/etc get put into /etc for example) On Sat, Aug 17, 2019, 11:27 AM Grommish [via Itus Networks Owners Forum] <[hidden email]> wrote:
... [show rest of quote]
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
262 posts
|
In reply to this post by Gnomad
followed the link https://github.com/Grommish/Itus_Shield_v2/pull/1/files created all the files but im still getting the error ./updaterules.sh: line 67: file: not found ls: community-rules/*.rules: Not a directory I'm running the updaterules.sh from /etc/snort/ nice work on the intrusion prevention page (will have to study how it works) On Sat, 17 Aug 2019 at 15:47, Gnomad [via Itus Networks Owners Forum] <[hidden email]> wrote: I realised I hadn't paid the luci Intrusion Detection UI any attention yet.. ... [show rest of quote] |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
I know what's going on.. Be back in a few..
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
This issue wasn't with the script, but with the image.
Gnomad was using an image that I had made that included Suricata in addition to Snort. One of the dependencies for Suricata was the file command, which isn't needed or included when i built with just Snort. No file command = no workie. I also need to add some other directories into the image, because Gnomad removed my snort.tgz file which put some stuff in there :D And, I'll need to fix an issue with the snort config. I'll put up a new image here in a bit
Running Itus Shield v2 Firmware
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
Administrator
262 posts
|
Ok.. Road/Gnomad, try this image.
https://drive.google.com/open?id=1Q_j-WTYhwqab9SOi4oPWQazvL6jst5w4
Running Itus Shield v2 Firmware
|
Free forum by Nabble | Edit this page |