Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Install on NETASQ U30 S ?

    Scheduled Pinned Locked Moved Hardware
    46 Posts 4 Posters 11.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • X
      xobix
      last edited by

      @stephenw10 said in Install on NETASQ U30 S ?:

      So you are connected to port1 and the 4 stacked ports labelled 2 and 3 show no link, correct?

      true 👍

      >cu -l /dev/cuau1 -s 19600
      Connected
      

      I can't type anything after, I have no prompt

      1 Reply Last reply Reply Quote 0
      • X
        xobix
        last edited by xobix

        can it help you ?

        > # dmesg
        Copyright (c) 2013-2018 The HardenedBSD Project.
        Copyright (c) 1992-2018 The FreeBSD Project.
        Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
                The Regents of the University of California. All rights reserved.
        FreeBSD is a registered trademark of The FreeBSD Foundation.
        FreeBSD 11.2-RELEASE-p16-HBSD  fc65add89c3(stable/20.1) i386
        FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0)
        VT(vga): resolution 640x480
        HardenedBSD: initialize and check features (__HardenedBSD_version 1100056 __FreeBSD_version 1102000).
        CPU: VIA Nano U3400@800MHz (800.05-MHz 686-class CPU)
          Origin="CentaurHauls"  Id=0x6fa  Family=0x6  Model=0xf  Stepping=10
          Features=0xafc9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE>
          Features2=0x8863a9<SSE3,MON,VMX,EST,TM2,SSSE3,CX16,xTPR,SSE4.1,POPCNT>
          AMD Features=0x20100800<SYSCALL,NX,LM>
          AMD Features2=0x1<LAHF>
          VIA Padlock Features=0x1ec33dcc<RNG,AES,AES-CTR,SHA1,SHA256,RSA>
          VT-x: HLT,PAUSE
          TSC: P-state invariant
        real memory  = 1073741824 (1024 MB)
        avail memory = 1012875264 (965 MB)
        Event timer "LAPIC" quality 100
        ACPI APIC Table: <031412 APIC1628>
        ioapic0 <Version 0.3> irqs 0-23 on motherboard
        ioapic1 <Version 0.3> irqs 24-47 on motherboard
        Timecounter "TSC" frequency 800047908 Hz quality 1000
        random: entropy device external interface
        wlan: mac acl policy registered
        kbd1 at kbdmux0
        000.000024 [4213] netmap_init               netmap: loaded module
        module_register_init: MOD_LOAD (vesa, 0xc116f230, 0) error 19
        random: registering fast source VIA Nehemiah Padlock RNG
        random: fast provider: "VIA Nehemiah Padlock RNG"
        nexus0
        vtvga0: <VT VGA driver> on motherboard
        cryptosoft0: <software crypto> on motherboard
        acpi0: <031412 XSDT1628> on motherboard
        acpi0: Power Button (fixed)
        cpu0: <ACPI CPU> on acpi0
        attimer0: <AT timer> port 0x40-0x43 on acpi0
        Timecounter "i8254" frequency 1193182 Hz quality 0
        Event timer "i8254" frequency 1193182 Hz quality 100
        atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
        atrtc0: registered as a time-of-day clock, resolution 1.000000s
        Event timer "RTC" frequency 32768 Hz quality 0
        hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
        Timecounter "HPET" frequency 14318180 Hz quality 950
        Event timer "HPET" frequency 14318180 Hz quality 450
        Event timer "HPET1" frequency 14318180 Hz quality 450
        Event timer "HPET2" frequency 14318180 Hz quality 450
        Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
        acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
        pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
        pci0: <ACPI PCI bus> on pcib0
        vgapci0: <VGA-compatible display> mem 0xfd000000-0xfdffffff,0xfc000000-0xfcffffff,0xfb800000-0xfbffffff irq 40 at device 1.0 on pci0
        vgapci0: Boot video device
        pcib1: <ACPI PCI-PCI bridge> irq 27 at device 3.0 on pci0
        pci1: <ACPI PCI bus> on pcib1
        pcib2: <ACPI PCI-PCI bridge> irq 31 at device 3.1 on pci0
        pci2: <ACPI PCI bus> on pcib2
        pcib3: <ACPI PCI-PCI bridge> irq 35 at device 3.2 on pci0
        pcib3: [GIANT-LOCKED]
        pci3: <ACPI PCI bus> on pcib3
        em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xdc00-0xdc1f mem 0xfeae0000-0xfeafffff,0xfeadc000-0xfeadffff irq 32 at device 0.0 on pci3
        em0: Using MSIX interrupts with 3 vectors
        em0: Ethernet address: 00:0d:b4:0d:f9:02
        em0: netmap queues/slots: TX 1/1024, RX 1/1024
        pcib4: <ACPI PCI-PCI bridge> irq 39 at device 3.3 on pci0
        pci4: <ACPI PCI bus> on pcib4
        em1: <Intel(R) PRO/1000 Network Connection 7.6.1-k> port 0xec00-0xec1f mem 0xfebe0000-0xfebfffff,0xfebdc000-0xfebdffff irq 36 at device 0.0 on pci4
        em1: Using MSIX interrupts with 3 vectors
        em1: Ethernet address: 00:0d:b4:0d:f9:03
        em1: netmap queues/slots: TX 1/1024, RX 1/1024
        pci0: <network> at device 11.0 (no driver attached)
        sdhci_pci0: <Generic SD HCI> port 0xcc00-0xcc07 mem 0xfe9ef400-0xfe9ef4ff irq 22 at device 12.0 on pci0
        sdhci_pci0: 1 slot(s) allocated
        atapci0: <VIA VX900 SATA300 controller> port 0xc880-0xc887,0xc800-0xc803,0xc480-0xc487,0xc400-0xc403,0xc080-0xc08f irq 21 at device 15.0 on pci0
        ata2: <ATA channel> at channel 0 on atapci0
        ata3: <ATA channel> at channel 1 on atapci0
        uhci0: <VIA 83C572 USB controller> port 0xc000-0xc01f irq 20 at device 16.0 on pci0
        uhci0: LegSup = 0xa000
        usbus0 on uhci0
        uhci1: <VIA 83C572 USB controller> port 0xbc00-0xbc1f irq 22 at device 16.1 on pci0
        uhci1: LegSup = 0xa000
        usbus1 on uhci1
        uhci2: <VIA 83C572 USB controller> port 0xb880-0xb89f irq 21 at device 16.2 on pci0
        uhci2: LegSup = 0xa000
        usbus2 on uhci2
        uhci3: <VIA 83C572 USB controller> port 0xb800-0xb81f irq 23 at device 16.3 on pci0
        uhci3: LegSup = 0xa000
        usbus3 on uhci3
        ehci0: <VIA VT6202 USB 2.0 controller> mem 0xfe9ef000-0xfe9ef0ff irq 23 at device 16.4 on pci0
        usbus4: EHCI version 1.0
        usbus4 on ehci0
        isab0: <PCI-ISA bridge> at device 17.0 on pci0
        isa0: <ISA bus> on isab0
        pcib5: <ACPI PCI-PCI bridge> at device 19.0 on pci0
        pci5: <ACPI PCI bus> on pcib5
        acpi_button0: <Sleep Button> on acpi0
        acpi_button1: <Power Button> on acpi0
        acpi_tz0: <Thermal Zone> on acpi0
        acpi_tz1: <Thermal Zone> on acpi0
        acpi_acad0: <AC Adapter> on acpi0
        uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
        uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
        pmtimer0 on isa0
        vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
        ata0: <ATA channel> at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0
        ata1: <ATA channel> at port 0x170-0x177,0x376 irq 15 on isa0
        atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
        atkbd0: <AT Keyboard> irq 1 on atkbdc0
        kbd0 at atkbd0
        atkbd0: [GIANT-LOCKED]
        ppc0: parallel port not found.
        est0: <Enhanced SpeedStep Frequency Control> on cpu0
        est: CPU supports Enhanced Speedstep, but is not recognized.
        est: cpu_vendor CentaurHauls, msr 84708470800084b
        device_attach: est0 attach returned 6
        Timecounters tick every 1.000 msec
        usbus0: 12Mbps Full Speed USB v1.0
        usbus1: 12Mbps Full Speed USB v1.0
        usbus2: 12Mbps Full Speed USB v1.0
        ugen0.1: <VIA UHCI root HUB> at usbus0
        uhub0: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
        ugen1.1: <VIA UHCI root HUB> at usbus1
        uhub1: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
        ugen2.1: <VIA UHCI root HUB> at usbus2
        uhub2: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus2
        usbus3: 12Mbps Full Speed USB v1.0
        usbus4: 480Mbps High Speed USB v2.0
        ugen3.1: <VIA UHCI root HUB> at usbus3
        uhub3: <VIA UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
        ugen4.1: <VIA EHCI root HUB> at usbus4
        uhub4: <VIA EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
        uhub0: 2 ports with 2 removable, self powered
        uhub1: 2 ports with 2 removable, self powered
        uhub2: 2 ports with 2 removable, self powered
        uhub3: 2 ports with 2 removable, self powered
        ada0 at ata2 bus 0 scbus0 target 1 lun 0
        ada0: <TOSHIBA MK1246GSX LB211A> ATA8-ACS SATA 1.x device
        ada0: Serial Number 97LNF2E8S
        ada0: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes)
        ada0: 114473MB (234441648 512 byte sectors)
        uhub4: 8 ports with 8 removable, self powered
        ugen1.2: <vendor 0x046d G15 Keyboard Hub> at usbus1
        uhub5 on uhub1
        uhub5: <vendor 0x046d G15 Keyboard Hub, class 9/0, rev 1.10/0.20, addr 2> on usbus1
        uhub5: 4 ports with 2 removable, bus powered
        random: unblocking device.
        ugen1.3: <vendor 0x046d G15 Gaming Keyboard> at usbus1
        ukbd0 on uhub5
        ukbd0: <vendor 0x046d G15 Gaming Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus1
        kbd2 at ukbd0
        ugen1.4: <vendor 0x046d G15 GamePanel LCD> at usbus1
        hid_get_item: Number of items(991) truncated to 255
        warning: total configured swap (1048576 pages) exceeds maximum recommended amount (496832 pages).
        warning: increase kern.maxswzone or reduce amount of swap.
        uhid0 on uhub5
        uhid0: <vendor 0x046d G15 Gaming Keyboard, class 0/0, rev 2.00/1.00, addr 3> on usbus1
        hid_get_item: Number of items(991) truncated to 255
        uhid1 on uhub5
        uhid1: <vendor 0x046d G15 GamePanel LCD, class 0/0, rev 2.00/0.20, addr 4> on usbus1
        hid_get_item: Number of items(991) truncated to 255
        hid_get_item: Number of items(991) truncated to 255
        hid_get_item: Number of items(991) truncated to 255
        aesni0: No AESNI support.
        pflog0: promiscuous mode enabled
        pflog0: promiscuous mode disabled
        pflog0: promiscuous mode enabled
        em0: link state changed to UP
        em0: link state changed to DOWN
        em0: link state changed to UP
        pflog0: promiscuous mode disabled
        pflog0: promiscuous mode enabled
        pflog0: promiscuous mode disabled
        pflog0: promiscuous mode enabled
        pflog0: promiscuous mode disabled
        pflog0: promiscuous mode enabled
        em0: link state changed to DOWN
        em0: link state changed to UP
        ugen1.2: <vendor 0x046d G15 Keyboard Hub> at usbus1 (disconnected)
        uhub5: at uhub1, port 1, addr 2 (disconnected)
        ugen1.3: <vendor 0x046d G15 Gaming Keyboard> at usbus1 (disconnected)
        ukbd0: at uhub5, port 1, addr 3 (disconnected)
        ukbd0: detached
        uhid0: at uhub5, port 1, addr 3 (disconnected)
        uhid0: detached
        ugen1.4: <vendor 0x046d G15 GamePanel LCD> at usbus1 (disconnected)
        uhid1: at uhub5, port 4, addr 4 (disconnected)
        uhid1: detached
        uhub5: detached
        
        
        X 1 Reply Last reply Reply Quote 0
        • X
          xobix @xobix
          last edited by

          It can be the cause?

          pci0: <network> at device 11.0 (no driver attached)
          
          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            There is no driver that recognises it, that;s the device shown as none0 in the pciconf output.

            Ok I typo'd the baud rate! Try: cu -l /dev/cuau1 -s 19200

            If there's still nothing look in /dev to see if there are other serial ports.

            Steve

            1 Reply Last reply Reply Quote 0
            • X
              xobix
              last edited by

              @stephenw10 said in Install on NETASQ U30 S ?:

              cu -l /dev/cuau1 -s 19200

              same issue.
              I tried cuau0 too

              # ls /dev
              acpi            ctty            hpet0           pass0           ttyu0.lock      ttyva
              ada0            cuau0           io              pci             ttyu1           ttyvb
              ada0s1          cuau0.init      kbd0            pf              ttyu1.init      ufs
              ada0s1a         cuau0.lock      kbd1            pts             ttyu1.lock      ufssuspend
              ada0s1b         cuau1           kbdmux0         random          ttyv0           ugen0.1
              apm             cuau1.init      klog            reroot          ttyv1           ugen1.1
              apmctl          cuau1.lock      kmem            sndstat         ttyv2           ugen2.1
              atkbd0          devctl          led             speaker         ttyv3           ugen3.1
              audit           devctl2         mdctl           stderr          ttyv4           ugen4.1
              auditpipe       devstat         mem             stdin           ttyv5           urandom
              bpf             fd              midistat        stdout          ttyv6           usb
              bpf0            fido            netmap          sysmouse        ttyv7           usbctl
              console         full            nfslock         ttyu0           ttyv8           xpt0
              consolectl      geom.ctl        null            ttyu0.init      ttyv9           zero
              
              
              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                Hmm, it's at 9600 on the U70: https://forum.netgate.com/post/882959

                Try: cu -l /dev/cuau1 -s 9600

                X 1 Reply Last reply Reply Quote 0
                • X
                  xobix @stephenw10
                  last edited by

                  @stephenw10 it's always the same issue.. ☹

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Hmm, you might try some other common board rates. I expect cuaU0 to be the front panel com port, but they might be swapped for some reason.

                    It could be that the switch in the smallest unit doesn't have a console to access. Can you see what the switch chip is on the board?

                    Steve

                    1 Reply Last reply Reply Quote 0
                    • X
                      xobix
                      last edited by

                      On the board I see near the RJ45 connectors a chip named "LB G4P109 LF"
                      My friend google said that it's a "quad port network transformer" ☺
                      alt text

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S
                        stephenw10 Netgate Administrator
                        last edited by

                        Hmm probably under that small heatsink unfortunately.

                        What baud rates did you try?

                        Any BIOS options that might suggest something?

                        Can you boot the original OS and check the boot messages?

                        Steve

                        X 1 Reply Last reply Reply Quote 0
                        • X
                          xobix
                          last edited by

                          I tried 4800 -> 115200 baudrate.

                          I will look in the bios tomorow.

                          OUPS ! Unfortunately I have written pfsense over the old OS

                          1 Reply Last reply Reply Quote 0
                          • X
                            xobix
                            last edited by

                            I don't see any option in bios thas suggest something. :(

                            1 Reply Last reply Reply Quote 0
                            • X
                              xobix
                              last edited by

                              [2.4.4-RELEASE][admin@pfSense.local]/dev: stty -a -f /dev/cuau0
                              speed 9600 baud; 0 rows; 0 columns;
                              lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
                                      -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
                                      -extproc
                              iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
                                      brkint -inpck -ignpar -parmrk
                              oflags: opost onlcr -ocrnl tab0 -onocr -onlret
                              cflags: cread cs8 -parenb -parodd hupcl clocal -cstopb -crtscts -dsrflow
                                      -dtrflow -mdmbuf
                              cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = <undef>;
                                      eol2 = <undef>; erase = ^?; erase2 = ^H; intr = ^C; kill = ^U;
                                      lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
                                      status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;
                              
                              
                              1 Reply Last reply Reply Quote 0
                              • X
                                xobix @stephenw10
                                last edited by

                                @stephenw10 said in Install on NETASQ U30 S ?:

                                Hmm probably under that small heatsink unfortunately

                                alt text

                                I took the heatsink off ( I already tear up the warranty label :D)

                                It's an Atheros AR8328

                                --> it's not like in the command result where it is written intel --> I need to install a new driver ?

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator
                                  last edited by

                                  Hmm, OK.
                                  It looks like the Atheros AR8328 does not have a serial interface that could be used to configure it unlike the other Netasq devices. That makes things immediately 100x more difficult as you need to configure it via MDC/MDIO or
                                  via the config eprom directly.
                                  Netasq/Stormshield OS is built on FreeBSD though I believe, they have contributed stuff back into the base. Unfortunately though I don't see the 8328 as supported:
                                  https://github.com/freebsd/freebsd/tree/master/sys/dev/etherswitch/arswitch
                                  Unless it's so similar to the 8327 it might be able to use that. We are still talking about significant work to get it running.

                                  One thing you might try here is Installing OpenWRT which does have support AR8328 switch. Even if just as a test.

                                  Kind of curious what those jumpers might do but it's hard to recommend you change them without knowing. Are they labelled?

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xobix
                                    last edited by

                                    @stephenw10 said in Install on NETASQ U30 S ?:

                                    Netasq/Stormshield OS is built on FreeBSD though I believe, they have contributed stuff back into the base. Unfortunately though I don't see the 8328 as supported:
                                    https://github.com/freebsd/freebsd/tree/master/sys/dev/etherswitch/arswitch
                                    Unless it's so similar to the 8327 it might be able to use that. We are still talking about significant work to get it running.

                                    How can I try that ?

                                    @stephenw10 said in Install on NETASQ U30 S ?:

                                    One thing you might try here is Installing OpenWRT which does have support AR8328 switch. Even if just as a test.

                                    I did it PM.
                                    eth1 is a Broadcomm, but down. nothing appends when i plug a cable in one of 4 ports.
                                    I don't know what test I have to do.

                                    @stephenw10 said in Install on NETASQ U30 S ?:

                                    Kind of curious what those jumpers might do but it's hard to recommend you change them without knowing. Are they labelled?

                                    Yes they are : JP3 et JP4 👎

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      So you did install OpenWRT already?

                                      I'm not sure exactly what you were seeing as Broadcom. The two NIC would still be Intel. It may have created a bridge as OpenWRT usually does.
                                      You probably have to install the correct switch control modules for it to see and recognise the switch. Not entirely sire what those might be though...

                                      X 1 Reply Last reply Reply Quote 0
                                      • X
                                        xobix @stephenw10
                                        last edited by

                                        I will search on this way

                                        X 1 Reply Last reply Reply Quote 0
                                        • X
                                          xobix @xobix
                                          last edited by

                                          Nothing better...
                                          I don't understand why cu command freez on "connected"

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            The 'connected' output is generated by cu, it implies that cu is connected to the port. After that there is nothing there because there is nothing connected to the second com port. It's listening but nothing ever arrives.

                                            You can only configure that switch chip via the MDC/MDIO bus.

                                            Steve

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.