OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of tejas.designer07 »
  • Show Posts »
  • Topics
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Topics - tejas.designer07

Pages: [1]
1
20.1 Legacy Series / Error code 1 during make vga
« on: 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.

Code: [Select]
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.

Code: [Select]
>>> 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
19.7 Legacy Series / IDS/Suricata download and update rules using cron
« on: January 28, 2020, 03:32:40 pm »
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
19.1 Legacy Series / IPsec Site-to-Site VPN Low Performance
« on: November 18, 2019, 01:42:35 am »
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
« on: 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
Development and Code Review / Unable to build 19.1 version as all the repositories have been updated to 19.7
« on: July 21, 2019, 07:46:37 pm »
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
19.1 Legacy Series / Changing the default compiler to different version of clang compiler?
« on: June 12, 2019, 10:43:46 pm »
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
Development and Code Review / Adding new files to the core. Package file lists do not match. Please run 'make'
« on: February 20, 2019, 03:15:22 am »
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:
Code: [Select]
--- /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
Development and Code Review / [SOLVED] Core package doesn't get packed into the packages sets
« on: February 11, 2019, 09:49:02 am »
Hi,

I created a package from /usr/core
Code: [Select]
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.
Code: [Select]
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
Development and Code Review / Custom Package cannot be installed. No manifest found.
« on: February 06, 2019, 05:11:23 am »
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.

Code: [Select]
>>> 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.

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2