Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
No Serial menu on nano image
« previous
next »
Print
Pages: [
1
]
Author
Topic: No Serial menu on nano image (Read 8529 times)
masterofcode
Newbie
Posts: 4
Karma: 0
No Serial menu on nano image
«
on:
July 12, 2015, 04:43:31 am »
I am having trouble getting started. Trying to use a Soekris box like i used to with mono wall but the menu wont come up to configure opnsense. I managed to get ssh running and ssh to the soekris running 15.7 nano but still no menu. Any ideas?
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: No Serial menu on nano image
«
Reply #1 on:
July 14, 2015, 01:09:31 pm »
The root menu should be there even when you use SSH. What kind of login are you getting instead? Have you set the serial console to 115200?
Logged
masterofcode
Newbie
Posts: 4
Karma: 0
Re: No Serial menu on nano image
«
Reply #2 on:
July 15, 2015, 12:39:46 am »
Yes using 115200. When it boots up it prompts for username. I type root. then it logs in without the password and goes to the command line.
Also i am using 15.7 nano i386 image.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: No Serial menu on nano image
«
Reply #3 on:
July 15, 2015, 07:02:41 am »
Could you please provide output for:
# df -h
# pkg info
Logged
masterofcode
Newbie
Posts: 4
Karma: 0
Re: No Serial menu on nano image
«
Reply #4 on:
July 15, 2015, 06:06:37 pm »
Below is the output from login
This is on a soekris box with no vga connected via console. It previously ran monowall with no problem.
Also i've tried reimaging the CF card several times, and tried other images.
Could this have something to do with etc/ttys?
If i cant get the menu from the console is there a way to start the web service so i can configure it through the web?
I can set an IP using ifconfig but can't currently connect to the web interface as it is not bound or not running.
I'd be ok with that approach as well assuming that all works ok.
OUTPUT FROM CONSOLE:
FreeBSD/i386 (Amnesiac) (ttyu0)
login: root
FreeBSD 10.1-RELEASE-p14 (SMP) #0 7994037(master): Wed Jul 1 12:35:04 CEST 2015
Welcome to FreeBSD!
Release Notes, Errata:
https://www.FreeBSD.org/releases/
Security Advisories:
https://www.FreeBSD.org/security/
FreeBSD Handbook:
https://www.FreeBSD.org/handbook/
FreeBSD FAQ:
https://www.FreeBSD.org/faq/
Questions List:
https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/
FreeBSD Forums:
https://forums.FreeBSD.org/
Documents installed with the system are in the /usr/local/share/doc/freebsd/
directory, or can be installed later with: pkg install en-freebsd-doc
For other languages, replace "en" with a language code like de or fr.
Show the version of FreeBSD installed: freebsd-version ; uname -a
Please include that output and any error messages when posting questions.
Introduction to manual pages: man man
FreeBSD directory layout: man hier
Edit /etc/motd to change this login announcement.
root@:~ # df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ufs/OPNsense0 936M 640M 221M 74% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/md0 38M 8.0K 35M 0% /tmp
/dev/md1 58M 9.7M 43M 18% /var
root@:~ # pkg -info
pkg: illegal option -- i
pkg: illegal option -- n
pkg: illegal option -- f
pkg: option requikg: no commands specified
Usage: pkg [-v] [-d] [-l] [-N] [-j <jail name |-c <chroot path>|-r <rootdir>] [-C <configuration file>] [-R <repo config dir>] [-o var=value] [-4|-6] <command> [<args>]
For more information on available commands and options see 'pkg help'.
root@:~ # pkg info
apinger-0.6.1_3 IP device monitoring tool
ataidle-2.7.2 Utility to spin down ATA drives
beep-1.0_1 Beeps a certain duration and pitch out of the PC Speaker
bind910-9.10.2_5 BIND DNS suite with updated DNSSEC and DNS64
bsdinstaller-2.3_5 BSD Installer mega-package
bsnmp-regex-0.6_1 bsnmpd module allowing creation of counters from log files
bsnmp-ucd-0.4.1 bsnmpd module that implements parts of UCD-SNMP-MIB
ca_root_nss-3.19.1_1 Root certificate bundle from the Mozilla Project
choparp-20021107_4 Simple proxy arp daemon
clog-1.0.1_3 Circular log support for FreeBSD syslogd
cpdup-1.17_2 Comprehensive filesystem mirroring and backup program
cpustats-0.1 cpustats
curl-7.43.0_2 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
dhcp6-20080615_2 KAME DHCP6 client, server, and relay
dhcpleases-0.2 read dhpcd.lease file and add it to hosts file
dnsmasq-2.73,1 Lightweight DNS forwarder, DHCP, and TFTP server
easy-rsa-2.2.2 Small RSA key management package based on openssl
expat-2.1.0_2 XML 1.0 parser written in C
expiretable-0.6_1 Utility to remove entries from the pf(4) table based on their age
filterdns-0.1 filterdns
filterlog-0.2 Parse pflog(4) output
freetype2-2.5.5 Free and portable TrueType font rendering engine
gettext-runtime-0.19.4 GNU gettext runtime libraries and programs
gmp-5.1.3_2 Free library for arbitrary precision arithmetic
idnkit-1.0_5 Library to handle internationalized domain names
ifinfo-10.1 Interface statistics reader
igmpproxy-0.1_2,1 Multicast forwarding IGMP proxy
indexinfo-0.2.3 Utility to regenerate the GNU info page index
isc-dhcp42-client-4.2.8 The ISC Dynamic Host Configuration Protocol client
isc-dhcp42-relay-4.2.8 The ISC Dynamic Host Configuration Protocol relay
isc-dhcp42-server-4.2.8 ISC Dynamic Host Configuration Protocol server
jansson-2.7 C library for encoding, decoding, and manipulating JSON data
libart_lgpl-2.3.21_2,1 Library for high-performance 2D graphics
libdaemon-0.14_1 Lightweight C library that eases the writing of UNIX daemons
libevent2-2.0.22_1 API for executing callback functions on events or timeouts
libffi-3.2.1 Foreign Function Interface
libhtp-0.5.16 Security-aware parser for the HTTP protocol
libiconv-1.14_8 Character set conversion library
libltdl-2.4.6 System independent dlopen wrapper
libmcrypt-2.5.8_2 Multi-cipher cryptographic library (used in PHP)
libnet-1.1.6_3,1 C library for creating IP packets
libpdel-0.5.3_6 Packet Design multi-purpose C library for embedded applications
libxml2-2.9.2_3 XML parser library for GNOME
libyaml-0.1.6_2 YAML 1.1 parser and emitter written in C
lighttpd-1.4.35_5 Secure, fast, compliant, and flexible Web Server
lzo2-2.09 Portable speedy, lossless data compression library
minicron-0.0.2 very small cron
miniupnpd-1.9_1,1 UPnP IGD implementation which uses pf/ipf
mpd4-4.4.1_2 Multi-link PPP daemon based on netgraph(4)
mpd5-5.7_2 Multi-link PPP daemon based on netgraph(4)
nettle-2.7.1 Low-level cryptographic library
ntp-4.2.8p3 The Network Time Protocol Distribution
oniguruma4-4.7.1_1 BSDL Regular Expressions library compatible with POSIX/GNU/Perl
openldap-client-2.4.41 Open source LDAP client implementation
openssh-portable-6.8.p1_8,1 The portable version of OpenBSD's OpenSSH
openssl-1.0.2_3 SSL and crypto library
openvpn-2.3.7 Secure IP/Ethernet tunnel daemon
opnsense-15.7 ea948fa3f
os-update-15.7 OPNsense system update utility
pcre-8.37_1 Perl Compatible Regular Expressions library
pecl-radius-1.2.7 Radius client library for PHP
perl5-5.20.2_5 Practical Extraction and Report Language
pftop-0.7_4 Utility for real-time display of statistics for pf
phalcon-2.0.3 Phalcon PHP Framework written in C-language
php-pfSense-0.2_4 Library for getting useful info
php-suhosin-0.9.37.1_1 PHP extension that implements high-level protections
php-xdebug-2.2.5 Xdebug extension for PHP
php56-5.6.10 PHP Scripting Language
php56-bcmath-5.6.10 The bcmath shared extension for php
php56-bz2-5.6.10 The bz2 shared extension for php
php56-ctype-5.6.10 The ctype shared extension for php
php56-curl-5.6.1The curl shared extension for php
php56-dom-5.6.10 The dom shared extension for php
php56-filter-5.6.10 The filter shared extension for php
php56-gettext-5.6.10 The gettext shared extension for php
php56-hash-5.6.10 The hash shared extension for php
php56-json-5.6.10 The json shared extension for php
php56-ldap-5.6.10 The ldap shared extension for php
php56-mbstring-5.6.10 The mbstring shared extension for php
php56-mcrypt-5.6.10 The mcrypt shared extension for php
php56-mysql-5.6.10 The mysql shared extension for php
php56-openssl-5.6.10 The openssl shared extension for php
php56-pdo-5.6.10 The pdo shared extension for php
php56-pdo_sqlite-5.6.10 The pdo_sqlite shared extension for php
php56-session-5.6.10 The session shared extension for php
php56-simplexml-5.6.10 The simplexml shared extension for php
php56-sockets-5.6.10 The sockets shared extension for php
php56-sqlite3-5.6.10 The sqlite3 shared extension for php
php56-tokenizer-5.6.10 The tokenizer shared extension for php
php56-xml-5.6.10 The xml shared extension for php
php56-zlib-5.6.10 The zlib shared extension for php
pkg-1.5.4 Package manager
png-1.6.17 Library for manipulating PNG images
py27-Babel-1.3_2 Collection of tools for internationalizing Python applications
py27-Jinja2-2.7.3 Fast and easy to use stand-alone template engine
py27-MarkupSafe-0.23 Implements a XML/HTML/XHTML Markup safe string for Python
py27-pytz-2014.10,1 World Timezone Definitions for Python
py27-requests-2.7.0 HTTP library written in Python for human beings
py27-setuptools27-17.0 Python packages installer
py27-sqlite3-2.7.10_6 Standard Python binding to the SQLite3 library
py27-ujson-1.33 Ultra fast JSON encoder and decoder for Python
python27-2.7.10 Interpreted object-oriented programming language
radvd-1.9.7 Linux/BSD IPv6 router advertisement daemon
rate-0.9 Traffic analysis command-line utility
relayd-5.5.20140810_1 OpenBSD relay daemon
rrdtool12-1.2.30_7 Round Robin Database Tools v1.2
smartmontools-6.4 S.M.A.R.T. disk monitoring tools
sqlite3-3.8.10.2 SQL database engine in a C library
squid-3.5.3_1 HTTP Caching Proxy
sshlockout_pf-0.0.2_2 Automatically block IPs with failed SSH logins using pf(4)
strongswan-5.3.2 Open Source IKEv2 IPsec-based VPN solution
sudo-1.8.13 Allow others to run commands as root
suricata-2.0.8_1 High Performance Network IDS, IPS and Security Monitoring engine
syslogd-10.1_1 FreeBSD syslogd with additions
voucher-0.1_4 voucher support
wol-0.7.1_2 Tool to wake up Wake-On-LAN compliant computers
zip-3.0_1 Create/update ZIP files compatible with PKZIP
root@:~ #
root@:~ #
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: No Serial menu on nano image
«
Reply #5 on:
July 15, 2015, 07:02:14 pm »
Out of curiosity, which Soekris model do you have?
I have a net6501-30, so could have a look if yours is a net6501 model too.
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: No Serial menu on nano image
«
Reply #6 on:
July 15, 2015, 07:36:11 pm »
Memory disks are being set up, but at some point the init system likely dies from a OOM kill or something similar (/usr/local/etc/rc.bootup). We'll need the full boot sequence as seen from the serial to narrow this down.
You only have 128 MB RAM, yes/no/maybe?
Logged
masterofcode
Newbie
Posts: 4
Karma: 0
Re: No Serial menu on nano image
«
Reply #7 on:
July 15, 2015, 09:21:50 pm »
Ill do a full capture when i get home.
I hadn't really looked into the amount of ram until you mentioned it in your post. It is actually only 64MB.
http://soekris.com/products/eol-products/net4521.html
That may be the problem. I think monowall only required 64 and it was an older build.
Is there a way to configure it to run on 64MB? I'm only using the FW features and was considering the IPSec vpn features.
Logged
franco
Administrator
Hero Member
Posts: 17668
Karma: 1611
Re: No Serial menu on nano image
«
Reply #8 on:
July 15, 2015, 09:30:28 pm »
The boot script is killed on boot. That's as bad as it gets. You may get lucky by disabling var/tmp MFS in the config. Remove the following from /conf/config.xml:
<use_mfs_tmpvar/>
However, that's not the amount of RAM that'll keep you happy for long with OPNsense. Another issue is going to be upgrades which land in RAM, at least with /var MFS enabled -- worst case packages 10-50 MB + kernel 20 MB + base system 40 MB. The nano image is also just 1GB per slice and already at 75% full. I'm sorry. t1n1wall or SmallWall are better alternatives for your hardware.
PS: No need for a capture in this case.
«
Last Edit: July 15, 2015, 09:39:13 pm by franco
»
Logged
weust
Hero Member
Posts: 650
Karma: 57
Re: No Serial menu on nano image
«
Reply #9 on:
July 15, 2015, 09:37:32 pm »
opnsense will crawl on that :-)
Logged
Hobbyist at home, sysadmin at work. Sometimes the first is mixed with the second.
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
No Serial menu on nano image