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 - tejas.designer07

#1
20.1 Legacy Series / Error code 1 during make vga
February 15, 2020, 08:27:10 AM
Hi,

I am trying to build stable/20.1 and I am successfully able to complete src, ports, plugins and core builds. When I run 'make vga' I get the following error.


Message from syslog-ng324-3.24.1:

--
syslog-ng is now installed!  To replace FreeBSD's standard syslogd
(/usr/sbin/syslogd), complete these steps:

1. Create a configuration file named /usr/local/etc/syslog-ng.conf
   (a sample named syslog-ng.conf.sample has been included in
   /usr/local/etc). Note that this is a change in 2.0.2
   version, previous ones put the config file in
   /usr/local/etc/syslog-ng/syslog-ng.conf, so if this is an update
   move that file in the right place

2. Configure syslog-ng to start automatically by adding the following
   to /etc/rc.conf:

        syslog_ng_enable="YES"

3. Prevent the standard FreeBSD syslogd from starting automatically by
   adding a line to the end of your /etc/rc.conf file that reads:

        syslogd_enable="NO"

4. Shut down the standard FreeBSD syslogd:

     kill `cat /var/run/syslog.pid`

5. Start syslog-ng:

     /usr/local/etc/rc.d/syslog-ng start
--
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Agreed upon upstream one year deprecation policy.

It is scheduled to be removed on or after 2020-12-12.
=====
Message from wpa_supplicant-2.9:

--
To use the ports version of WPA Supplicant instead of the base, add:

    wpa_supplicant_program="/usr/local/sbin/wpa_supplicant"

to /etc/rc.conf
*** Error code 70

Stop.
make: stopped in /usr/tools


When I retry to make vga I now get the following error.


>>> Running build step: packages
>>> Setting up stage in /usr/obj/usr/tools/config/20.1/OpenSSL:amd64
*** Error code 1

Stop.
make: stopped in /usr/tools


I needed some help in debugging the issue. Thanks in advance  :)
#2
Hi,

I am using IDS on my network. I want to download and update the ruleset once a month automatically.
How can I achieve this?

Thanks in advance. :)
#3
Hi,

I have followed the following article to setup site-to-site IPsec VPN:
https://docs.opnsense.org/manual/how-tos/ipsec-s2s.html

I am able to successfully establish connection between both sites. I am getting very low performance(25mbps on a 1 gbps internet connection between both sites.) using iperf. I have also validated that AES-IN is enabled in the BIOS. I also noticed that the CPU usage doesn't increase even after file transfer has been initiated.

I am unable to detect the problem, please guide me through issue. Thanks in advance.
#4
Development and Code Review / Compiling using GCC
September 14, 2019, 07:43:45 AM
Hi,

I am currently compiling and building OPNsense using default clang library. I wanted to compile it using GCC.

Could someone guide me through the steps?

Thanks in advance. :)
#5
Hi,

I am trying to build OPNsense 19.1 from source code on FreeBSD 11.2. As all the repositories are updated to 19.7, I tried checking out tags 19.1 from all repositories but I am getting different errors while building ports.

Am I missing any steps?

Thanks for your help.
#6
Hi,

I wanted to use a different version of clang compiler stored in a different location instead of using the system compiler (/usr/bin/clang). How do I make sure that the OPNSense build process uses my version of clang rather than the system default?

Thanks.
#7
Hi,

I am trying to add new files to /usr/core/ repo.
E.g.

1) I added a new image file inside usr/core/src/opnsense/www/themes/opnsense/build/images/caret2.png
2) I updated the plist in /usr/core
3) I added and commited the changes to .git
3) I ran the command 'make core' from /usr/tools

Error:

--- /usr/core/work/plist.old ...
+++ /usr/core/work/plist.new ...
.
.
.
>>> Package file lists do not match.  Please run 'make plist-fix'.
*** Error code 1

Stop.
make[1]: stopped in /usr/core
*** Error code 1

Stop.
make[1]: stopped in /usr/tools


What are the changes I need to do for me to add my own files? Thanks in advance.
#8
Hi,

I created a package from /usr/core

cd /usr/core
make package CORE_NAME=myfirewall


package packs everything into myfirewall.txz and stores it into /usr/core/work directory.

I then try to build the iso from /usr/tools.

cd /usr/tools
make dvd NAME="MyFirewall"


The package set still doesn't have myfirewall.txz but instead has the original opnsense.txz.

What am I missing? Why doesn't it install my custom core into the package set?
#9
Hi,

I complied the base, kernel and packages. I wanted to modify one of the packages inside package set to add custom code. I did all the modifications that were required and ran 'make dvd'. I got the following error.


>>> Running build step: dvd
>>> Running build step: clean
>>> Removing dvd image
>>> Setting up stage in /usr/obj/usr/tools/config/19.1/OpenSSL:amd64
>>> Setting up world in /usr/obj/usr/tools/config/19.1/OpenSSL:amd64/work
>>> Setting up kernel in /usr/obj/usr/tools/config/19.1/OpenSSL:amd64/work
>>> Extracting packages in /usr/obj/usr/tools/config/19.1/OpenSSL:amd64/work
>>> Installing packages in /usr/obj/usr/tools/config/19.1/OpenSSL:amd64/work: os-dyndns myfirewall
pkg: No packages installed.  Nothing to do!
Installing pkg-1.10.5_5...
Extracting pkg-1.10.5_5: .......... done
Installing os-dyndns-1.12...
Extracting os-dyndns-1.12: .......... done
pkg: ./.pkg/All/myfirewall-19.1.r2_7.txz is not a valid package: no manifest found

Failed to install the following 1 package(s): ./.pkg/All/myfirewall-19.1.r2_7.txz
*** Error code 70

Stop.
make: stopped in /usr/tools


I noticed that there is a checksum for each file inside the package +MANIFEST file and I cannot modify any files inside.

How do I overcome this error? Thanks in advance.