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.

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines