Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Announcements: #armbian-announcements | Developer talk: #armbian-devel | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
<DC-IRC> [Discord] <frozen.synapse> Are devicetrees difficult or am I just a doofus? I added (using armbian-add-overlay) an overlay that uses a module I had to compile separately. I restart the board and I can't see any dmesgs about it
<DC-IRC> [Discord] <frozen.synapse> https://paste.armbian.com/zicuvocomu.cpp
archetech has quit [Quit: Konversation terminated!]
Toasty has quit []
<DC-IRC> [Discord] <frozen.synapse> I can't find any of these things in /sys/devices or /proc/devicetree
<DC-IRC> [Discord] <frozen.synapse> is it just not loading it?
invisiblek has quit [Ping timeout: 245 seconds]
invisiblek has joined #armbian
sally_ has joined #armbian
sally has quit [Ping timeout: 252 seconds]
sally_ is now known as sally
califax has quit [Remote host closed the connection]
califax has joined #armbian
JackFrost has joined #armbian
zeemate has quit [Ping timeout: 245 seconds]
buzzmarshall has quit [Quit: Konversation terminated!]
<DC-IRC> [Discord] <Werner> Did you also enable it? Check /boot/armbianEnv.txt
JackFrost has quit [Read error: Software caused connection abort]
JackFrost has joined #armbian
yann-kaelig has joined #armbian
<DC-IRC> [Discord] <quer_beet_ein> i want to backup my system but get this failure: sudo dd if=/dev/mmcblk1 bs=4M | pv | gzip > /home/backup.img.gz Permission denied
<DC-IRC> [Discord] <quer_beet_ein> what i do wrong?
<DC-IRC> [Discord] <Werner> Try as actual root, not sudo
coldfeet has joined #armbian
coldfeet has quit [Ping timeout: 276 seconds]
<DC-IRC> [Discord] <quer_beet_ein> root@bigtreetech-cb2:/dev# sudo bash -c dd if=/dev/mmcblk1 | pv | gzip > /media/backup/backup.gz
<DC-IRC> [Discord] <quer_beet_ein> 0.00 B 0:00:37 [0.00 B/s] [<=>
<DC-IRC> [Discord] <quer_beet_ein> ok i got no error but it wont backup any informations......... no data moving
coldfeet has joined #armbian
<DC-IRC> [Discord] <Werner> Is your rootfs on mmcblk1?
<DC-IRC> [Discord] <quer_beet_ein> yes
<DC-IRC> [Discord] <Werner> I won't recommend trying to backup the partiton with your running OS on. Rather boot from a microsd and then do an offline backup of your emmc
<DC-IRC> [Discord] <quer_beet_ein> is it the only way to make a backup of the whole emmc?
<DC-IRC> [Discord] <Werner> Probably yes unless the emmc chip is removable so it can be attached to a usb reader for example
<DC-IRC> [Discord] <quer_beet_ein> not really its a bigtreetech cb2 cob
<DC-IRC> [Discord] <quer_beet_ein> actual i dont have a microsd so then i have to buy one
<DC-IRC> [Discord] <Werner> having spare sd cards is always handy when playing with sbcs
yann-kaelig has quit []
alekksander has quit [Ping timeout: 252 seconds]
laz0r has quit [Ping timeout: 252 seconds]
laz0r has joined #armbian
zeemate has joined #armbian
<DC-IRC> [Discord] <igorpec> fingers https://github.com/armbian/build/pull/7609
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/9b5dc3b0466420453c694db31a83ef11ef54eecd>): *Odroid XU4: remove deprecated patches*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/48ad33ed22dccec09a344114b9b37679cf8c048c>): *build(deps): bump actions/upload-artifact from 4.4.3 to 4.5.0*
califax has quit [Remote host closed the connection]
califax has joined #armbian
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [chainsx](<https://github.com/chainsx>) - [Link](<https://github.com/armbian/build/commit/4c61f61a8e21baac2ae0a66b3c3e946ef512f80b>): *add community support for DShanPI-R1*
Mangix has quit [Read error: Connection reset by peer]
Mangix has joined #armbian
zeemate has quit [Ping timeout: 260 seconds]
coldfeet has quit [Quit: Lost terminal]
buzzmarshall has joined #armbian
zeemate has joined #armbian
flyback has quit [Ping timeout: 276 seconds]
flyback has joined #armbian
<DC-IRC> [Discord] <quer_beet_ein> so i got my image but in newer kernel versions there is no way like in the old images to change wifi credentials. looked for system.cfg but theres no way to find that . how can is set my wifi credentials before i put it in my sbc?
<DC-IRC> [Discord] <johnthecoolingfan> https://docs.armbian.com/User-Guide_Networking/
<DC-IRC> [Discord] <quer_beet_ein> there is no easier way before first boot?
<DC-IRC> [Discord] <johnthecoolingfan> You can edit teh configuration files on teh sd card
<DC-IRC> [Discord] <johnthecoolingfan> You can edit teh configuration files on the sd card before booting
<DC-IRC> [Discord] <johnthecoolingfan> https://docs.armbian.com/User-Guide_Networking/#connecting-to-wifi-network (link to the chapter specifically about wifi)
<DC-IRC> [Discord] <johnthecoolingfan> You can edit the configuration files on the sd card before booting
<DC-IRC> [Discord] <menu> there *is* the firstboot config but netplan is preferable
archetech has joined #armbian
laz0r_ has joined #armbian
laz0r has quit [Ping timeout: 244 seconds]
laz0r_ is now known as laz0r
<DC-IRC> [Discord] <quer_beet_ein> ok is it so correct if i will put this as a file?
<DC-IRC> [Discord] <quer_beet_ein> without .txt ending
<DC-IRC> [Discord] <menu> in theory, yes
<DC-IRC> [Discord] <quer_beet_ein> ok i will try, but for my reasons the old style of firstboot config was much easier
<DC-IRC> [Discord] <menu> i will try to have the refactor done by the end of Jan, but i am currently very busy
<DC-IRC> [Discord] <quer_beet_ein> what refactor you will do?
alekksander has joined #armbian
lanefu has quit [Ping timeout: 272 seconds]
lanefu has joined #armbian
jtj has quit [Read error: Connection reset by peer]
jtj has joined #armbian
coldfeet has joined #armbian
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/1ab73573f4c4d30c25afde15b29ea7bb75478ad8>): *Fix orangepizero wifi and usb otg (#7614)*
Mangix has quit [Read error: Connection reset by peer]
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/documentation](<https://github.com/armbian/documentation>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/documentation/commit/54bffcbdfce4d486da0cd3eba9d4ea253aa8bc8e>): *`Automatic` documentation update*
Mangix has joined #armbian
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/b80ff2c79a09146f4b78fae0ee5ff52df12965fc>): *JeteHome: update JetHub D2 dt file to cpu board rev1.3*
<DC-IRC> [Discord] <Github> ✅ **Merged** into [armbian/build](<https://github.com/armbian/build>) by [igorpecovnik](<https://github.com/igorpecovnik>) - [Link](<https://github.com/armbian/build/commit/4fd0e0c29d3f8e58c182f6c5042307bbb15163b2>): *rootfs-to-image: preserve sparse files when moving artefacts to final destination with rsync*
coldfeet has quit [Quit: Lost terminal]
<DC-IRC> [Discord] <menu> refactoring firstboot config to be significantly more resilient and provide more options, there's a lot that requires pre-baking into a build right now and i'd like to reduce that
<DC-IRC> [Discord] <menu> i've currently got the loader interface built, debating adding json support as well as cfg/yaml/toml syntax
<DC-IRC> [Discord] <c0rnelius77> My problem with that file is it resides in the /root dir. Wouldn't it make more sense to make it as visible as possible? /boot. Also not make the file a secret, but call it something like /boot/credentials.txt.
<DC-IRC> [Discord] <c0rnelius77> Also forcing people to create a root account is a huge security mistake.
<DC-IRC> [Discord] <menu> yes, that's already covered by the new loader, it'll also support network loading and loading from a USB drive
<DC-IRC> [Discord] <menu> a root account is necessary on a debian-derived system, but it won't be enabled for login by default
<DC-IRC> [Discord] <c0rnelius77> The account yes... needing a password no. `sudo`
<DC-IRC> [Discord] <c0rnelius77> Let me reword that; Also forcing people to create a root account PASSWORD is a huge security mistake.
<DC-IRC> [Discord] <menu> sudo isn't always the only solution, i'll provide an interactive + predetermined option for both enabling the account and providing it a password
<DC-IRC> [Discord] <menu> bear in mind that my standard deployment of Armbian *requires* a root account as the only account with a login shell
<DC-IRC> [Discord] <c0rnelius77> I just feel, if people want a root password they can do it all on their own. They don't need Armbians help once the user account is created and has sudo prevs.
<DC-IRC> [Discord] <menu> the account isn't created and added to sudoers until after root login
<DC-IRC> [Discord] <c0rnelius77> Exactly. Thats a problem.
<DC-IRC> [Discord] <menu> that's... a function of not pre-baking users in
<DC-IRC> [Discord] <c0rnelius77> Nah
<DC-IRC> [Discord] <menu> it is not safe to run anything interactive prior to a login shell
<DC-IRC> [Discord] <c0rnelius77> You can create a service that creates the account during login.
<DC-IRC> [Discord] <c0rnelius77> You can create a service that creates the account during firstboot... sorrt
<DC-IRC> [Discord] <c0rnelius77> You can create a service that creates the account during firstboot... sorry
<DC-IRC> [Discord] <menu> and how exactly would that be interactive without a login shell?
<DC-IRC> [Discord] <c0rnelius77> Well there is a way for interactive but I've only been able to pull that off with a monitor. Which isn't ideal. The other option is to force users to edit a /boot/whatever.txt file and place in their user info. After the service runs, remove all traces of the file and service.
<DC-IRC> [Discord] <menu> that is... objectively worse
<DC-IRC> [Discord] <c0rnelius77> how so?
<DC-IRC> [Discord] <menu> because that stops images being flash-and-go
<DC-IRC> [Discord] <c0rnelius77> I'm speaking security. Not happy people that can't read.
<DC-IRC> [Discord] <menu> if it bothers you that much create a userpatch to change it, don't insult users that have different work flows to you.
<DC-IRC> [Discord] <c0rnelius77> I didn't think I was insulting anyone? But ok.
<DC-IRC> [Discord] <menu> > Not happy people that can't read.
<DC-IRC> [Discord] <menu> you'd literally be excluding all mac users from booting armbian on their SBC fwiw
<DC-IRC> [Discord] <c0rnelius77> If you set a standard than people will eventually follow it. The service could also be bypassed by not enabling it `ENABLE="false"`.
<DC-IRC> [Discord] <c0rnelius77> You know we can think out of the box here. Its not frowned upen.
<DC-IRC> [Discord] <menu> if you want to write a full userspace filesystem driver for ext4 for both Mac and windows go ahead, i'm not stopping you
<DC-IRC> [Discord] <menu> mounting the image is not always possible
<DC-IRC> [Discord] <c0rnelius77> I don't use macs and I just suggested a way around it. The service is disabled by default. For those who care to use it the options would be there.
<archetech> c0rn got any new boards lately
<DC-IRC> [Discord] <c0rnelius77> @archetech Nothing worth talking about. Maybe next year?
<archetech> k
alekksander has quit [Remote host closed the connection]
parabyte has quit [Quit: Leaving]
archetech has quit [Quit: Konversation terminated!]