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

Topics - wimopn

#1
General Discussion / cold reboot : network inactive
February 25, 2019, 02:05:46 PM
Hi,

apu2c4 , Opnsense 19.1.1, fresh install (I had same problem with previous version):

After a cold reboot (power cycle) the Lan interfaces do become active (they have the correct ip adres when i logon to the console with a serial cable) but al my devices get strange ip adresses. After a console logon with the serial cable i do a ifconfig igbx down, then ifconfig igbx up) and everything starts to work...

My lan interfaces have static adresses.

=> Is this a know problem ?

Best regards,

Wim
#2
19.1 Legacy Series / syslogd uses not std syslog.conf
February 22, 2019, 03:32:20 PM
Hi,

I had some trouble with the syslog daemon, but opnsense uses /var/etc/syslog.conf instead of /etc/syslog.conf

Silly me for posting this non-issue  :-[

Best Regards,

Wim
#3
Development and Code Review / getpwnam_r always "*"
February 21, 2019, 10:05:00 PM
Hi,

In https://forum.opnsense.org/index.php?topic=11719.0 I was asking about users & pw.

I tried to read the users & pw from the system in C with getpwnam_r, and in perl with getpwuid but they keep returning "*" as pw, even executing as root user. The same code on a centos VM works as expected.

I'm obviously doing something wrong, where is the difference between a vm with linux and an embedded freebsd setup ?

Best regards,

Wim
#4
General Discussion / toor loginshell + value of pw
February 20, 2019, 11:56:19 AM
Hi,

I've got opnsense 19.1.1, 


1) toor loginshell
Most technical users have /usr/sbin/nologin as a loginshell: in my understanding this very save.
I see on my install that the toor user has a missing loginshell: Is there something missing ?
toor:*:0:0::0:0:Bourne-again Superuser:/root:

2) PW value
In the old unix's it was possible to force an "illegal" password in the passwd file so that no real password would match the encrypted string. How can i check this for al the "technical" users , or do i just set the value with chpass ?
The encrypted strings are stored in spwd.db => is there a simple tool to read this ?


Keep up the good work with OPNsense !!

Best Regards,

Wim

EDIT:
I know toor is a netbsd thing, and having a super user with another login shell can be a safety measure ...

#5
General Discussion / filesystems umount by reboot ?
February 19, 2019, 03:25:21 PM
Hi

I'm running opensense 19.1.1 on an apu2c4. Al the other filesystems are on the sd card

I added 2 filesystems (on ssd) in the /etc/fstab (the idea was to put var on a ssd to minimise wear & tear on the sd

/dev/ufs/OPNsense_Nano / ufs rw 1 1 # notrim
/dev/ada0p1 /var ufs rw 2       2
/dev/ada0p2 /home ufs rw 2       2


=> Is there anything more to be done (for example to properly dismount by a reboot=> some config to add in a confog file ) ?

Thank you

Wim