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?
First your opnsense is not resolving DNS correctly. (hence no address record error)
so make sure /etc/resolv.conf has something like name server entry like Quad9 or Cloudflare in there.
Second it is vim-console for vim, also make sure to use sudo if you are not root.
thanks ,after config dns in /etc/resolv.conf, everything is ok. Thanks you very much..