Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

orange pi r1 path incorrect (5.90)

Featured Replies

Armbian 5.90 Orangepi-r1 Debian buster next
kernal was upgraded to 4.19.62 using aptitude (not that that matters)

armbian-config wont run because it wants dpkg-reconfigure which in /usr/sbin which in not in the path.

where dose this get set ?

root@orangepi:/home/james# $PATH
bash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory
root@orangepi:/home/james# 
  • Author

Problem was fixed by rebooting.

It was something in the initial setup scripts did not finish.

It took several reboots to finish.

  • Author

My mistake, this is not fixed.

 

if i login as root the path is correct for root.

if i login as user the path is correct for user.

if i su from user to root, the path stays set for user.

i think it has something to do with /etc/profile but i don't know how su interacts with it.

--------------------------------------------------------------------------------
root@nanopi:/home/james# cat /etc/armbian.txt | head
--------------------------------------------------------------------------------
Title:			Armbian 5.91 Nanopi-r1 Debian buster next
Kernel:			Linux 4.19.59
Build date:		16.07.2019
Maintainer:		Igor Pecovnik <igor.pecovnik@****l.com>
Authors:		https://www.armbian.com/authors
Sources: 		https://github.com/armbian/
Support: 		https://forum.armbian.com/
Changelog: 		https://www.armbian.com/logbook/
Documantation:		https://docs.armbian.com/

  
james@nanopi:~$ 
james@nanopi:~$ $PATH
-bash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory
james@nanopi:~$ su
Password: 
root@nanopi:/home/james# $PATH
bash: /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games: No such file or directory
root@nanopi:/home/james# 

 

  • Author

never mind, it is new thing. i have to keep up with the trends.

using su - solves it

 

on to the next problem (.=> rtl8188e_iol_efuse_patch errors, no wireless)

11 hours ago, jamezg said:

never mind, it is new thing. i have to keep up with the trends.

using su - solves it

another new trend could be to set the alias please for sudo ;)

please.png

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.