OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of moonmoonbird »
  • Show Posts »
  • Messages
  • 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

Messages - moonmoonbird

Pages: 1 [2]
16
20.7 Legacy Series / Re: how to rebuild dvd image after change config file?
« on: October 26, 2020, 09:48:13 am »
Thanks, i will give it a try.

17
20.7 Legacy Series / make kernel error
« on: October 26, 2020, 09:12:58 am »
command: make kernel-again

result:


>>> stage 3.1: building everything
--------------------------------------------------------------
In file included from /usr/src/sys/kern/imgact_elf32.c:33:
/usr/src/sys/kern/imgact_elf.c:2682:25: error: use of undeclared identifier 'MAP_ASLR'
        if ((imgp->map_flags & MAP_ASLR) == 0)
                               ^
1 error generated.
--- imgact_elf32.o ---
*** [imgact_elf32.o] Error code 1

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/SMP
A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/src/sys/modules/aac
--- all_subdir_aac ---
*** [all_subdir_aac] Error code 2

make[3]: stopped in /usr/src/sys/modules
1 error

make[3]: stopped in /usr/src/sys/modules
--- modules-all ---
*** [modules-all] Error code 2

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/SMP
2 errors

make[2]: stopped in /usr/obj/usr/src/amd64.amd64/sys/SMP
--- buildkernel ---
*** [buildkernel] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
--- buildkernel ---
*** [buildkernel] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
*** Error code 2

Stop.
make: stopped in /usr/tools


how to make it right , thanks.

18
20.7 Legacy Series / how to rebuild dvd image after change config file?
« on: October 26, 2020, 07:53:47 am »
after changing tools/config/20.7/SMP , how to rebuild dvd image to apply this change, what i was doing is to ran `make dvd-again`, but i am not sure it is the right way to do it. thanks.

19
20.7 Legacy Series / Segmentation fault (core dumped)
« on: October 26, 2020, 07:11:34 am »
the process i did are:
1, change dns, make sure domain can be resolved correctly.
2, kldload linux64, make sure can run linux program on unix
3, pkg install linux_base-c7,
4, copy linux_server64 file into opnsense server, say in /usr directory, give it execute privilege, chmod +x linux_server 64
5, when run  ./linux_server64, it occured Segmentation fault (core dumped) error.

what i want to do is  to debug process using IDA (https://www.hex-rays.com/), the file  linux_server64 comes from IDA, and should be running in target server so that IDA client can communicate with target server, but failed, it seemed the security of hbsd prevent this or opnsense prevent this, please guide me how to enable it or something else. thanks very much.

20
20.7 Legacy Series / Re: pkg install vim error: no address record
« on: October 26, 2020, 06:50:43 am »
thanks ,after config dns in /etc/resolv.conf, everything is ok. Thanks you very much..

21
20.7 Legacy Series / pkg install vim error: no address record
« on: October 26, 2020, 04:33:55 am »
after install opnsense, i ran 'pkg install vim', showed messages below:

Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating OPNsense repository catalogure...
pkg:https://pkg.opnsense.org/FreeBSD:12:amd64/latest/meta.txz:no address record
repository OPNsense has no meta file, using default settings
pkg:https://pkg.opnsense.org/FreeBSD:12:amd64/latest/packagesite.txz: No address record
Unable to upgrade repository OPNsense
Error updating repositories!


how to install packages on opnsense or what config to rewrite to enable it and how to install linux_base-c7 to enbale IDA to debug it?

22
20.7 Legacy Series / Re: build from alternative src?
« on: October 22, 2020, 12:57:45 pm »
i just build another, with fully replaced /usr/src with freebsd, generate an iso file, but this iso can not boot up,
it said : cant load 'kernel' in brief.
so what is the  problem?

23
20.7 Legacy Series / Re: build from alternative src?
« on: October 22, 2020, 12:39:12 pm »
Alright,still thank you for your suggestions, that is an direction, i will try you method.

24
20.7 Legacy Series / Re: build from alternative src?
« on: October 22, 2020, 11:12:05 am »
Thanks for your reply, i have tried replace src with freebsd 12.1 and successfully compiled to iso file and installed.
the command i used is "make prefetch-packages,base,kernel dvd  VERSION=20.7", so how to prove that the system is replaced successfully?

as you metioned, removing hardendbsd is also what exactly i need.  At very beginning, I installed some packages and self developed programs, but all have been flushed after reboot, and some directories are read only, so some packages cant be installed, and in the freebsd12.1, i can execute "pkg install linux_base-c7", and successful installed, but in the opnsense or custom builded system, i cant install it. so maybe it is related to hardendbsd.
can you point out which option is to remove hardendbsd and how, thanks you very much.

25
20.7 Legacy Series / build from alternative src?
« on: October 22, 2020, 05:13:55 am »
hi, i want to build dvd image from source and replace /usr/src with freebsd12.1, is that possible?
if possible, just replace /usr/src with freebsd src or something else? and what is the command to rebuild from replaced source ? thanks in advance!

26
20.7 Legacy Series / how much disk space it need to build from source?
« on: October 21, 2020, 09:12:28 am »
i followed the process:
# pkg install git
# cd /usr
# git clone https://github.com/opnsense/tools
# cd tools
# make update
# make dvd

my disk is 80GB SSD, after 5hours more or less, error occurred : no more space, /usr/ports and /usr/src took much space. each took 40GB around. so why it too so much space and how much we need.

Pages: 1 [2]
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