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.

Baos

Members
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Baos reacted to tkaiser in board with 5 ethernet, 802.11ac, and nas   
    http://www.armbian.com/clearfog/
    http://forum.armbian.com/index.php/topic/1925-some-storage-benchmarks-on-sbcs/?p=15265
  2. Like
    Baos got a reaction from filemoon in armbian ssh login motd   
    For /etc/update-motd.d/30-sysinfo I noticed it likes to say my system is up 6 seconds and then when I check with uptime I notice it's wrong and has been up for hours or over a day.
    Just curious if there is a reason for not doing it in a way similar to this?
    function displaytime {     # we need dedicated function     local X=$(/usr/bin/uptime -p)     printf "Up time:       "     printf "\x1B[92m%s\x1B[0m\t\t" "$X" }
  3. Like
    Baos reacted to vlad in armbian ssh login motd   
    ok so on a quick search looks like there are some discrepancies on what the pam_motd is supposed to do and what it actually does 
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743286
    https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1169558
    http://unix.stackexchange.com/questions/246436/how-to-set-a-dynamic-message-of-the-day-motd-in-debian-jessie-8-2-for-ssh
     
    anyway this is how i fixed the problem on my armbian 
     
    first edit the /etc/pam.d/login and /etc/pam.d/sshd and comment this line (in both files) 
    session    optional   pam_motd.so  motd=/run/motd.dynamic noupdate and create a link from /run/motd.dynamic to /etc/motd/
    ln -s /run/motd.dynamic /etc/motd reopen your session and the motd should be updated every time on login
  4. Like
    Baos got a reaction from Igor in armbian ssh login motd   
    Thanks Igor.  I figured as much.  I will try and work with the code, also taking into account vlad's analysis.  Will post results.  Oh, and fyi, my proposed solution also fell victim to the same bug today.  The bug can be confirmed by having the motd output the current time.
  5. Like
    Baos got a reaction from tkaiser in armbian ssh login motd   
    For /etc/update-motd.d/30-sysinfo I noticed it likes to say my system is up 6 seconds and then when I check with uptime I notice it's wrong and has been up for hours or over a day.
    Just curious if there is a reason for not doing it in a way similar to this?
    function displaytime {     # we need dedicated function     local X=$(/usr/bin/uptime -p)     printf "Up time:       "     printf "\x1B[92m%s\x1B[0m\t\t" "$X" }

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.