Jump to content

Recommended Posts

Posted

Hi Guys,

I just installed Armbian_21.08.1_Bananapim2zero_buster_current_5.10.60.img and selected bash when proposed.

When i do nano /etc/network/interfaces or with /usr/bin/nano  i got :

Error opening terminal: unknown

i tryed vim, not able to just create a new line with "Enter", anyway i'm not familar with Vim so i do not waht to use it.

 

What i did wrong for nano?

For now i do not have internet yet so i can't do any kind of update. I use Orange pi M2 Zero.

Posted

More than likely an error with ncurses, which figures out what control characters need to be sent to your terminal / console to move the cursor around and place stuff at particular spots on the screen.

 

Depending on how you start your shell (eg - serial console), the Linux system may have no idea what to send.

 

You can manually specify something doing something like this:

 

$ sudo -i
# TERM=linux nano /etc/network/interfaces

... or ..

# export TERM=linux
# nano /etc/network/interfaces

 

But you may have to specify what terminal you're using with the TERM variable, and may have to try other options (eg = TERM=xterm).

 

Offhand, not enough information here to determine what you need.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines