Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mstriani

#1
Thanks!
#2
The users doesnt overlap, but they has no access to shell and set sh as /usr/sbin/nologin...

Should I grant the login??
#3
Hi Team, I have this thing that I'm not sure if is something missconfigured or what... but befor (in other releases) it didn't happend.

The thing is that I have 2 users crated within the OS (adduser) or even created with the webgui and every update they are gone (from the OS but not from the webgui), to solve this I create the users every update... but it's kind of anoying... any clue of what'd be happening here??

Versions
OPNsense 25.1.3-amd64
FreeBSD 14.2-RELEASE-p2
OpenSSL 3.0.16

Thanks

#4
Hi, I didnt configure any power plan in previus version... and the power state is ON

ugen0.5: <Seagate Desktop> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)

When it happends, it desapear the ugen0.5

root@cerebro:/home/jack # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Dell Dell USB Keyboard> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (70mA)
ugen0.3: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA)
ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen0.5: <Seagate Desktop> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)

root@cerebro:/home/jack # umount /mnt/harddisk/
root@cerebro:/home/jack # mount /dev/da0p1
mount: /dev/da0p1: Input/output error
root@cerebro:/home/jack # us
usbconfig    usbdump      usbhidaction usbhidctl    users
root@cerebro:/home/jack # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Dell Dell USB Keyboard> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (70mA)
ugen0.3: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA)
ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (100mA)



I changed the power state of the usb hub that I think the hdd is conected to....

#5
I think it's not enabled

root@cerebro:~ # powerd
powerd: no cpufreq(4) support -- aborting: No such file or directory
#6
For more info here are the outputs of the commands I use to debug...

root@cerebro:~ # usbconfig
ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA)
ugen0.2: <Dell Dell USB Keyboard> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (70mA)
ugen0.3: <Ralink 802.11 n WLAN> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (450mA)
ugen0.4: <vendor 0x05e3 USB2.0 Hub> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA)
ugen0.5: <Seagate Desktop> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)


root@cerebro:~ # camcontrol identify /dev/da0
camcontrol: Can't get ATA command status
pass1: <WDC WD20EURX-64HYZY0 80.00A80> ACS-2 ATA SATA 3.x device
pass1: 40.000MB/s transfers

protocol              ACS-2 ATA SATA 3.x
device model          WDC WD20EURX-64HYZY0
firmware revision     80.00A80
serial number         WD-WCC4M886WPN9
WWN                   50014ee2b50c9c97
additional product id
cylinders             16383
heads                 16
sectors/track         63
sector size           logical 512, physical 4096, offset 0
LBA supported         268435455 sectors
LBA48 supported       3907029168 sectors
PIO supported         PIO4
DMA supported         WDMA2 UDMA6
media RPM             5400
Zoned-Device Commands no

Feature                      Support  Enabled   Value           Vendor
read ahead                     yes   yes
write cache                    yes   yes
flush cache                    yes   yes
Native Command Queuing (NCQ)   yes      32 tags
NCQ Priority Information       yes
NCQ Non-Data Command           no
NCQ Streaming                  no
Receive & Send FPDMA Queued    no
NCQ Autosense                  no
SMART                          yes   yes
security                       yes   no
power management               yes   yes
microcode download             yes   yes
advanced power management      no   no
automatic acoustic management  no   no
media status notification      no   no
power-up in Standby            yes   no
write-read-verify              no   no
unload                         yes   yes
general purpose logging        yes   yes
free-fall                      no   no
sense data reporting           no   no
extended power conditions      no   no
device statistics notification no   no
Data Set Management (DSM/TRIM) no
Trusted Computing              no
encrypts all user data         no
Sanitize                       no
Host Protected Area (HPA)      yes      no      3907029168/0
HPA - Security                 yes      no
Accessible Max Address Config  no


#7
Hi All, I have an external usb hdd that has self power (it a segate enclousure with WD disk in it)... until 21.7 it works fine.. but since the upgrade, when the disk goes to sleep it wont wake up...

for the disk to wake up I make a series of convinations of
usbconfig reset and mount -a... when I see the blink in the HDD I have to give about 5 minutes and then mount -a again... and it restart....

Any suggestions???
#8
Hardware and Performance / Re: Speed negotiation fail
November 23, 2021, 02:56:03 PM
Not really.. I'll take a try!

Thanks
#9
Hardware and Performance / Re: Speed negotiation fail
November 18, 2021, 01:28:13 PM
Here is dmseg for the nics

igb0: <Intel(R) I211 (Copper)> port 0xe000-0xe01f mem 0xd0900000-0xd091ffff,0xd0920000-0xd0923fff irq 16 at device 0.0 on pci1
igb0: Using 1024 TX descriptors and 1024 RX descriptors
igb0: Using 2 RX queues 2 TX queues
igb0: Using MSI-X interrupts with 3 vectors
igb0: Ethernet address: xxxxxxxxxxx
igb0: netmap queues/slots: TX 2/1024, RX 2/1024
igb1: <Intel(R) I211 (Copper)> port 0xd000-0xd01f mem 0xd0800000-0xd081ffff,0xd0820000-0xd0823fff irq 17 at device 0.0 on pci2
igb1: Using 1024 TX descriptors and 1024 RX descriptors
igb1: Using 2 RX queues 2 TX queues
igb1: Using MSI-X interrupts with 3 vectors
igb1: Ethernet address: xxxxxxxx
igb1: netmap queues/slots: TX 2/1024, RX 2/1024
igb2: <Intel(R) I211 (Copper)> port 0xc000-0xc01f mem 0xd0700000-0xd071ffff,0xd0720000-0xd0723fff irq 18 at device 0.0 on pci3
igb2: Using 1024 TX descriptors and 1024 RX descriptors
igb2: Using 2 RX queues 2 TX queues
igb2: Using MSI-X interrupts with 3 vectors
igb2: Ethernet address: xxxxxxxxxx
igb2: netmap queues/slots: TX 2/1024, RX 2/1024
igb3: <Intel(R) I211 (Copper)> port 0xb000-0xb01f mem 0xd0600000-0xd061ffff,0xd0620000-0xd0623fff irq 19 at device 0.0 on pci4
igb3: Using 1024 TX descriptors and 1024 RX descriptors
igb3: Using 2 RX queues 2 TX queues
igb3: Using MSI-X interrupts with 3 vectors
igb3: Ethernet address: xxxxxxxxxxxx
igb3: netmap queues/slots: TX 2/1024, RX 2/1024
#10
Hardware and Performance / Re: Speed negotiation fail
November 17, 2021, 10:34:22 PM
the behavior is strange, from the administration console the speed is set to auto-negotiate, if I want to set it to 1000TX it stops having a link, I tried 3 different cables in the 3 ports and they all work at 1000 in igb2 and igb3 but igb1 always negotiates 100

Any clues??
#11
Hardware and Performance / Speed negotiation fail
November 16, 2021, 11:36:42 PM
Hello, I wanted to ask you a question, I have opnsense installed on 4 LAN Mini PC with Intel celeron Processor j1900 onboard.

Amazon link: https://www.amazon.com/Intel-celeron-procesor-onboard-pfSense/dp/B01CSCGJ7A

The 4 ports are as follows
igb0 -> WAN
igb1, igb2, igb3 -> Bridge to LAN

the thing is that the igb1 port only negotiates at 100MB full duplex, I tried changing the cables and in the other ports it negotiates at 1Gb

Where can I look for the problem?

Thanks in advance!
#12
Hi all, How can I enable the real driver?? since run0 dosnt support full speed and others...I saw that FreeBSD 12 supports it