Boa server doesn't work without console

eduardo
Hi all,

I'm developing a project using the micro 2440. I want to prevent external
access from any user to my linux console, so on the supervivi boot
parameters I'd changed:

Linux command line: noinitrd root=/dev/mtdblock3 init=/linuxrc
console=ttySAC0

to:

Linux command line: noinitrd root=/dev/mtdblock3 init=/linuxrc console=NULL

The problem is that using the above configuration boa server doesn't work.
I don't have any idea how to fix it, so could someone give me a tip to
solve this issue?


Thanks in advance.

themadmax
When you say external access you speek about internet access ?
Just shut down or remove ssh and telnet deamon

eduardo
Thanks for your response themadmax!

The 'external access' is any access through serial (COM0) or TCP (telnet,
ssh).

The big problem was the serial port COM0, I can't prevent user's access to
it, so I set console option to NULL.

The problem with boa server is solved, just set the error output to
/dev/null instead of /dev/console on boa.conf file. Now it's everything ok.


I disabled telnet. Where can i find this ssh daemon?

regards

dm9
ssh daemon, if it is started, is dropbear (or sshd, depends on installed
packages). console=NULL prevents boot messages to display. One that you are
interested is in /etc/initab. Line:
S:2345:respawn:/sbin/getty 115200 ttySAC0
starts login prompt on serial port, and
1:2345:respawn:/sbin/getty 38400 tty1
starts login prompt on stdin - keyboard and stdout - display.
Problem is that you prevent access for yourself also. Better solution is to
set good password and leave at least ssh server.