Shell without menu [INACTIVE]

BrazilFW 2.xhelp discussions in English.

Shell without menu

Mensagempor Iulian » Sáb Ago 22, 2009 4:24 am

Hello,

I try to connect with Symbian PuTTY to my BrazilFW and can not see the menu.
It is possible to log into a shell without the initial menu?

Thank you!
Iulian
 

Re: Shell without menu

Mensagempor gamba47 » Sáb Ago 22, 2009 4:28 pm

It´s possible.

1. get ssh access.
2. edit /root/.profile
3. Search for the line number 10.
4. Comment this line (add a "#" before the line)


Best Regards.
gamba47
Avatar do usuário
gamba47
BFW Beneméritos
 
Mensagens: 7243
Registrado em: Ter Dez 27, 2005 1:51 pm
Localização: Buenos Aires, Argentina
BrazilFW Box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.237 without Squid
3 ADSLs & 1 Cablemodem
50 Users & more!

Re: Shell without menu

Mensagempor Iulian » Dom Ago 23, 2009 9:34 am

I tried but not working!
Line 10 is this?
Código: Selecionar todos
if [ -n "$TERM" ] ; then

My /root/.profile is this:
Código: Selecionar todos
# ~/.profile: executed for shells.

export HOSTNAME=`hostname`
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export PS1="$HOSTNAME# "
export TERMINFO=/etc/terminfo

umask 022

if [ -n "$TERM" ] ; then
  . /tmp/boot.info
  . /etc/coyote/coyote.conf
  # If it's the first boot run the configuration wizard
  [ "$MEDIA" != "CDROM" ] && [ "$RUN_WIZARD" = "YES" ] && /usr/sbin/wizard --in
  /usr/sbin/menu
fi

if [ $? = 10 ] ; then
  exit
fi

cd /
Iulian
 

Re: Shell without menu

Mensagempor gamba47 » Dom Ago 23, 2009 5:16 pm

Ok, i check on my 2.30.1 version & you have 2.31.10

Comment this line:

Código: Selecionar todos
 /usr/sbin/menu



I really don´t know if a backup will save this change. We need to see this together.

Let me know about this!

gamba47
Avatar do usuário
gamba47
BFW Beneméritos
 
Mensagens: 7243
Registrado em: Ter Dez 27, 2005 1:51 pm
Localização: Buenos Aires, Argentina
BrazilFW Box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.237 without Squid
3 ADSLs & 1 Cablemodem
50 Users & more!

Re: Shell without menu

Mensagempor Iulian » Seg Ago 24, 2009 3:44 am

I tried this and it works, but, although I did backup does, not work after rebooting.
How can I make it work after restart?
Iulian
 

Re: Shell without menu

Mensagempor gamba47 » Seg Ago 24, 2009 9:24 am

Ok, let me see what can we do.

It´s a problem with the file /mnt/root.tgz


gamba47
Avatar do usuário
gamba47
BFW Beneméritos
 
Mensagens: 7243
Registrado em: Ter Dez 27, 2005 1:51 pm
Localização: Buenos Aires, Argentina
BrazilFW Box: Pentium4 1256mb RAM HD 200gb
BrazilFW 3.0.237 without Squid
3 ADSLs & 1 Cablemodem
50 Users & more!


Voltar para BrazilFW 2.x - English Forum

Quem está online

Usuários navegando neste fórum: Nenhum usuário registrado e 4 visitantes