NetBSD aarch64 10.0 install on Raspberry Pi 4B, wahoo it works, Fred!
NetBSD aarch64 10.0 install on Raspberry Pi 4B, wahoo it works, Fred!
Well, this is a good accomplishment for May 7th 2024. Installing NetBSD 10.0 on a Raspberry Pi 4B with 8Gigs.
May 7th is also my son Conner Louis Tilley: 7lbs, 7 ounces, born on the 7th of May. My little triple 7 ( in the next month June of 1995 Boeing announced the Triple Seven, 777 model Dreamliner Airplane ) arrived into my Life, my son, Connor Louis Tilley.
https://www.facebook.com/connor.tilley.2903 He is a video games developer with Amazon Games
force_turbo=1
Wish to add firefox browser package to your running NetBSD 10.0 aarch64 system?
edit file /etc/pkg_install.conf using vi or nano with this text line:
arm64$ cat /etc/pkg_install.conf
PKG_PATH=ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/aarch64/10.0/All/
Pre-compiled packages:
- Pre-compiled packages path setting: see /etc/pkg_install.conf
PKG_PATH=http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/aarch64/10.0/All/
arm64$pkg_add firefox
arm64$ pkg_info -a
gtk3+-3.24.38nb6 GIMP Toolkit v3 - libraries for building X11 user interfaces
libv4l-1.24.1 Video4Linux userspace library
firefox-120.0.1 Web browser with support for extensions (version 120)
htop-3.2.2 Enhanced version of top utility
tree-1.8.0 Print a text or HTML tree diagram of a directory structure
arm64#arm64# pkg_info tree
Information for tree-1.8.0:
Comment:
Print a text or HTML tree diagram of a directory structure
Description:
Tree is a recursive directory listing program that produces a depth
indented listing of files, which is colorized ala dircolors if the
LS_COLORS environment variable is set and output is to tty.
Tree has various options for changing the information printed (size,
permissions, etc.) As well as plain text output, it is capable of
producing HTML output that includes links with an appropriate prefix.
Homepage:
http://mama.indstate.edu/users/ice/tree/
arm64$ pkg_add tree
pkg_add: Can't create pkgdb entry: /usr/pkg/pkgdb/tree-1.8.0: Permission denied
pkg_add: no files matching ``/usr/pkg/pkgdb/tree-1.8.0/+*'' found: No such file or directory
pkg_add: 1 package addition failed
arm64$ whoami
fred
arm64$ su root
Password:
arm64# pkg_add tree
arm64# tree .
.
|-- Arm64
|-- Documents
|-- Downloads
|-- Photos
`-- firefox.core
4 directories, 1 file
arm64# pwd
/home/fred
arm64# ls
.Xauthority .cshrc .login .profile Arm64 Photos
.cache .dbus .logout .serverauth.3020 Documents firefox.core
.config .local .mozilla .shrc Downloads
arm64#
arm64# pkg_add firefox
pkg_add: package `firefox-120.0.1' already recorded as installed
arm64#
# TEST HDMI using audiocfg
arm64# audiocfg test 0
0: [*] audio0 @ vcaudio0: vchiq auds 3
playback: 2ch, 48000Hz
record: unavailable
(P-) slinear_le 16/16, 2ch, 48000-48000Hz
testing channel 0... done
testing channel 1... done
arm64#
Show the mounting and file space available
Last login: Tue May 7 12:53:38 2024 from 192.168.1.31
NetBSD 10.0_STABLE (GENERIC64) #0: Sun Apr 28 13:43:59 UTC 2024
Welcome to NetBSD!
arm64$ ls
Arm64 Documents Downloads Photos firefox.core
arm64$ mount
/dev/dk1 on / type ffs (noatime, local)
/dev/dk0 on /boot type msdos (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
arm64$ df -h
Filesystem Size Used Avail %Cap Mounted on
/dev/dk1 28G 3.5G 23G 13% /
/dev/dk0 79M 32M 47M 40% /boot
ptyfs 1.0K 1.0K 0B 100% /dev/pts
procfs 4.0K 4.0K 0B 100% /proc
tmpfs 743M 4.0K 743M 0% /var/shm
arm64$
du: /root/.cache: Permission denied
du: /root/.dbus: Permission denied
du: /root/.config: Permission denied
du: /usr/games/hide: Permission denied
du: /var/at/jobs: Permission denied
du: /var/at/spool: Permission denied
du: /var/cron/tabs: Permission denied
du: /var/games/hackdir/save: Permission denied
du: /var/spool/ftp/hidden: Permission denied
du: /var/spool/postfix/active: Permission denied
du: /var/spool/postfix/bounce: Permission denied
du: /var/spool/postfix/corrupt: Permission denied
du: /var/spool/postfix/defer: Permission denied
du: /var/spool/postfix/deferred: Permission denied
du: /var/spool/postfix/flush: Permission denied
du: /var/spool/postfix/hold: Permission denied
du: /var/spool/postfix/incoming: Permission denied
du: /var/spool/postfix/private: Permission denied
du: /var/spool/postfix/maildrop: Permission denied
du: /var/spool/postfix/public: Permission denied
du: /var/spool/postfix/saved: Permission denied
du: /var/spool/postfix/trace: Permission denied
du: /var/tpm: Permission denied
2.5G /
arm64$ su root
Password:
arm64# du -hs /
3.6G /
arm64#
df -h
Filesystem Size Used Avail %Cap Mounted on
/dev/dk1 28G 3.5G 23G 13% /
/dev/dk0 79M 32M 47M 40% /boot
ptyfs 1.0K 1.0K 0B 100% /dev/pts
procfs 4.0K 4.0K 0B 100% /proc
tmpfs 743M 4.0K 743M 0% /var/shm
arm64# mount
/dev/dk1 on / type ffs (noatime, local)
/dev/dk0 on /boot type msdos (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)
tmpfs on /var/shm type tmpfs (local)
arm64#
https://wiki.netbsd.org/tutorials/user_management/ Instructions for the adding Users to the NetBSD system
https://www.netbsd.org/docs/misc/index.html Miscellaneous Documents to read about setting up a NetBSD system
arm64# useradd --list
useradd: unknown option -- -
usage: useradd -D [-F] [-b base-dir] [-e expiry-time] [-f inactive-time]
[-g gid | name | =uid] [-k skel-dir] [-L login-class]
[-M homeperm] [-r lowuid..highuid] [-s shell]
usage: useradd [-moSv] [-b base-dir] [-c comment] [-d home-dir] [-e expiry-time]
[-f inactive-time] [-G secondary-group] [-g gid | name | =uid]
[-k skeletondir] [-L login-class] [-M homeperm] [-p password]
[-r lowuid..highuid] [-s shell] [-u uid] user
arm64# useradd -mv -G wheel -p fathog14 joe
useradd: Password `fathog14' is invalid: setting it to `*************'
arm64# passwd joe
Changing password for joe.
New Password:
Retype New Password:
arm64# userdel joe
arm64# ls /etc/skel
.cshrc .login .logout .profile .shrc Arm64 Documents Downloads Photos
arm64# # I added 4 directory entries to the user skeleton directory file list:
cd /etc/skel; mkdir -p Arm64 Documents Downloads Photos
cd /etc/skel; mkdir -p Arm64 Documents Downloads Photos
man useradd
preset for all users by using the range field in the
/etc/usermgmt.conf file.
-v Enable verbose mode - explain the commands as they are executed.
This option is included if built with EXTENSIONS.
Once the information has been verified, useradd uses pwd_mkdb(8) to
update the user database. This is run in the background, and, at very
large sites could take several minutes. Until this update is completed,
the password file is unavailable for other updates and the new
information is not available to programs.
FILES
/etc/usermgmt.conf
/etc/skel/*
/etc/login.conf
EXIT STATUS
The useradd utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
chpass(1), passwd(1), pwhash(1), group(5), login.conf(5), passwd(5),
usermgmt.conf(5), pwd_mkdb(8), user(8), userdel(8), usermod(8)
A window manager running on top of the X server. The window manager is a special X client that is allowed to control the placement of windows. It can also “decorate” windows with standard “widgets” (usually these provide actions like window motion, resizing, iconifying, window killing, etc.). ctwm(1) is NetBSD's default window manager.
A window manager running on top of the X server. The window manager is a special X client that is allowed to control the placement of windows. It can also “decorate” windows with standard “widgets” (usually these provide actions like window motion, resizing, iconifying, window killing, etc.). ctwm(1) is NetBSD's default window manager.
9.5. Starting X
You can start X with the following command:
$
startx
If your basic X server configuration is correct, you are left in the X environment with the default window manager (ctwm). If you want a more advanced window manager or desktop environment, many are available in pkgsrc. See Section 9.7, “Other window managers or desktop environments” for information about adding and changing window managers.
startx will start the ctwm window manage ? right click with a mouse button, and you can open a terminal or open a web browser.
How I use JuiceSSH on a chromebook to log in to NetBSD 10.0 over the network.
https://mail-index.netbsd.org/oindex.html See a good read in the mailing list. I am looking for evbarm information in the mailing list.
https://mail-index.netbsd.org/port-arm/oindex.html Port Arm mailing list
Comments
Post a Comment