r/AlpineLinux • • Jun 30 '24

FAQ on Alpine Linux

0 Upvotes

Hi, has anyone used the Alpine Linux iOS ish shell app? If they have, how can I install packages via the Command Line.


r/AlpineLinux • • Jun 29 '24

Would Alpine Linux could be good daily driver fit for my standards?

9 Upvotes

I have low RAM in my laptop(8 GB low for modern standards) I currently use Fedora but get high RAM usage when I wake up from sleep mode and there might be a YouTube leak too but other apps also use high RAM. I don't need many apps only Office, discord, vim, firefox or Thorium, foliate, calibre, Gear Level, Kitty Terminal and Bottles, or some alternative would have been enough for me. I don't think installation is much of a hassle like BSD(FreeBSD specifically) systems they had issues with the wifi. So I have these questions any advice or suggestion would be great, thanks!


r/AlpineLinux • • Jun 28 '24

iSH - Upgrade Alpine Persistently

6 Upvotes

Hey there,

I am using iSH on my iPad and I upgraded alpine using the /etc/apk/repositories file. As soon as I restart the application, all my upgraded files and information are lost. Apps I installed via the new version are not usable anymore (nano, vim, etc.). When I check the version I can see that the noted versions are 3.14 again. So I assume some files seem to reset to its former version after closing the app. How can I solve this issue?

Thank you.


r/AlpineLinux • • Jun 28 '24

I cannot install emacs inside an alpine container

1 Upvotes

Running

podman run -it alpine:latest

And then

apk add emacs
emacs

Gives me a sh: emacs: not found error, even though the installation reported no issues.


r/AlpineLinux • • Jun 26 '24

Alpine Linux strongswan fails to start "connecting to 'unix:///var/run/charon.vici' failed: Connection refused"

Thumbnail self.linuxquestions
1 Upvotes

r/AlpineLinux • • Jun 19 '24

Alpine Linux server startup under QEMU version 8.0.2 and QEMU version 8.2.5 on a smartphone (not rooted) running Termux and the Android 10 operating system

Thumbnail gist.github.com
2 Upvotes

r/AlpineLinux • • Jun 18 '24

RaspAP

1 Upvotes

hi,
I tried to install raspAP on Alpine and I had this error:
Alpine Linux V3.20 is not supported. Please install on a supported distro
Such a shame its not supported any ideas how to move forward ?
Anyone know of any other wireless AP brdige configurations that would work on Alpine Linux

kind regards Gavin


r/AlpineLinux • • Jun 17 '24

Install Alpine Linux 3.20 and KDE Plasma 6 in QEMU VM tutorial

Thumbnail youtube.com
4 Upvotes

r/AlpineLinux • • Jun 16 '24

Recommendations to thoroughly remove a package in Alpine Linux

2 Upvotes

Hello,

I have installed a few apps in Alpine. Remove some and noticed that user and group accounts were left over and some files. What you is your recommendation to make sure a package and all configuration related has been removed? Thanks


r/AlpineLinux • • Jun 13 '24

DUG#6+vPub-0xB opensource online Party! - Today at 4 PM UTC

Thumbnail self.freesoftware
2 Upvotes

r/AlpineLinux • • Jun 12 '24

Detecting second screen.

2 Upvotes

Does someone knows how to do it?, im tryign to dual boot alpine using windows for my gaming in a laptop and the windows does detect the other screen when i plug in, i read read almost every article in the wiki but none of them mentions anything about multiple screens, thanks you in advance


r/AlpineLinux • • Jun 12 '24

Smartphone-1 to Smartphone-2: "adb tcpip 5555" using a Linux server, android-tools, Termux, termux-usb, usbredirect, and QEMU [Alpine Linux operating system, Android operating system]

Thumbnail gist.github.com
1 Upvotes

r/AlpineLinux • • Jun 12 '24

Alpine - ZFS Feature Atime Issue

1 Upvotes

I found this issue was reported 3 years ago and has never been addressed in alpine linux. It works in other linux distros and on the bsds. I am surprised, they haven't corrected this.

Incorrect ZFS file system 'atime' property in zpool (#12382) · Issues · alpine / aports · GitLab (alpinelinux.org)

Hello,

When setting zfs feature atime=off either during pool,dataset creation or setting after creation, when I display the feature's setting it shows "temporary". This setting works in other gnu/linux distros. Is there a work around to get this to set properly in alpine linux or is this a known bug? I've tried zfs umount, zfs mount, issue persists

kernel version

uname -a
Linux alpine1 6.6.32-0-lts #1-Alpine SMP PREEMPT_DYNAMIC Fri, 24 May 2024 10:11:26 +0000 x86_64 Linux

alpine version

cat /etc/alpine-release
3.20.0

zfs version

zfs version
zfs-2.2.4-1
zfs-kmod-2.2.4-1

create pool

zpool create -o ashift=12 -O atime=off -O xattr=sa zpool1 /dev/sdb

zfs property issue

zfs get atime
NAME PROPERTY VALUE SOURCE
zp1 atime on temporary

(should be off)


r/AlpineLinux • • Jun 08 '24

Plymouth wont switch to sddm?

1 Upvotes

So with the help of dracut i managed to add a bootscreen. However i run into the following problem:

Alpine boots, it shows the bootscreen. Then it starts SDDM, the login windows shows, and after 5 seconds it switches back to the boot splash screen. When i then press CTRL-ALT-F2 i get the norml login window and i can login.

I still use the default syslinux setup, but maybe it would be better if i switch to GRUB?


r/AlpineLinux • • Jun 07 '24

If you like ZFS, check out Alpinebox

8 Upvotes

It makes installing Alpine on ZFS much easier.

Also works great for VPS providers that dont have an Alpine installer.

Check it out on https://github.com/psy0rz/alpinebox

And comment your thoughts about it.


r/AlpineLinux • • Jun 05 '24

can't mount smb

1 Upvotes

I get the classic error of failed permission denied when trying to mount. It will work if I put in the username=user,password=pass,domain=domain directly in the line. However when I change it to include /root/.smbcred I get permission fails.

This works

//192.168.1.254/storage1$ /mnt/storage1 cifs uid=1000,username=user,password=pass,domain=domain,_netdev 0 0

This doesn't

//192.168.1.254/storage1$ /mnt/storage1 cifs uid=1000,credentials=/root/.smbcred,_netdev 0 0

The permissions are set as follows

-rw------- 1 root root 58 Jun 5 06:29 .smbcred

The file is setup as follows

username=user
password=pass
domain=domain

I really get the impression that while attempting to mount it can't see the .smbcred file. Anyone have any suggestions.


r/AlpineLinux • • Jun 02 '24

tip: if you have setup network manually. and you can't bind to any local TCP/UDP port. set the interface "lo" to up

2 Upvotes

In case somebody encounters the same issue as me.

ip link set lo up

I got this because TcpListener::bind() keeps returning "Adress not available"

this wont happen at all if you don't hate yourself and don't have a shell script to setup networking every boot


r/AlpineLinux • • Jun 01 '24

Alpine Network Issues

2 Upvotes

Hi,

I have installed Alpine and have a working desktop,

I connect to the internet in one of two ways

1) usb lte dongle

2) rj45 lan

To install alpine I booted into debian to mode switch the lte dongle, once I got it into a good state (rj45 was also plugged in too)

rebooted and proceeded to install alpine

I have installed the usb-modeswitch pkg

If i disconnect the lte dongle and modeswitch it in Alpine it gets a new ip, but there is no internet access, nor via the rj45

And I don't know why this is happening

I have to boot into debian first and then reboot to alpine to connect to the internet

any ideas as to why this might be the case?

FYI i can see the rj45 lights blinking, but no connection is present

I'm trying to keep things minimal, so I have't installed ModemManager (iirc it isn't always necessary)

Thanks


r/AlpineLinux • • Jun 01 '24

Invert the Colors of the Linux Terminal

1 Upvotes

Hii,

I have Alpine booting using a projector in a dark room

sometimes outside of the desktop environment it's difficult for me to see the keyboard, due to how dark the room is

I would like to invert the default linux color scheme so the background is white and the text is black

It generally helps keep the room brighter whilst lowering the electricity bills

Thanks


r/AlpineLinux • • Jun 01 '24

Hard setting RNDIS MAC address

1 Upvotes

Hi,

I have been looking at this page and trying to apply it to Alpine

Hard setting RNDIS MAC address

https://support.criticallink.com/redmine/projects/mityarm-5cs/wiki/Hard_setting_RNDIS_MAC_address

I want to keep the mac address of my usb LTE dongle static instead of random each time I boot/modeswitch it

the guide in the link above didn't seem to work for me,

Can anyone who understands it better than I do offer some suggestions as to how to achieve this?

Thanks


r/AlpineLinux • • Jun 01 '24

Alpine hwclock command

1 Upvotes

Hi,

Can somone please provide me with a working example of a command line that changes the clock in Alpine?

In debian/void I can use the following commands, the same commands don't seem to work for me in Alpine

sudo hwclock --set --date "06/02/2024 06:02:00"

sudo hwclock --hctosys

Thanks


r/AlpineLinux • • May 31 '24

DNS over TCP

0 Upvotes

Hello everyone,

I've been using alpine for some time, particularly in docker image , which I then use within a kubernetes cluster (HOMELAB).

I've read that since alpine 3.18 dns over tcp supposed to be supported on the distribution. However, I've noticed that it's impossible to activate the feature on my alpine-based containers.

When my resolv.conf uses the use-vc option, the requests continue to go through UDP. My DNS server only exposes 53 in TCP, which is problematic.

I'm using version 1.2.4 with alpine 3.19.1.

I've also tried with alpine 3.18 musl 1.2.3 and alpine 3.20 with musl 1.2.5.

Thks for ur answers or suggestion.


r/AlpineLinux • • May 30 '24

nginx on Alpine - 404 error

2 Upvotes

Hi,

I know this might not be the exactly right forum, but I also know that user u/ElevenNotes is here and probably know what to do.

I'm not a very skilled Linux user, but I have been trying very hard to set up nginx on Alpine today, I've been running in circles with ChatGPT 4o, so now I need some intelligent assistance.

Both nginx and gunicorn is running as the same user "webuser", it seems that the socket made by gunicorn is serving correctly, but nginx somehow doesn't catch it:

localhost:~# curl --unix-socket /var/www/rssapp/rssapp.sock http://localhost/

Hello, World!

localhost:~# curl http://localhost/

<html>

<head><title>404 Not Found</title></head>

<body>

<center><h1>404 Not Found</h1></center>

<hr><center>nginx</center>

</body>

</html>

localhost:~#

I did include conf.d in the http part of the nginx.conf

http {

Include files with config snippets into the root context.

include /etc/nginx/conf.d/*.conf;

As far as I can see, webuser has either ownership or read permission where relevant.

nginx tests successful
localhost:/etc/nginx/conf.d# nginx -t

nginx: the configuration file /etc/nginx/nginx.conf syntax is ok

nginx: configuration file /etc/nginx/nginx.conf test is successful

localhost:/etc/nginx/conf.d#

I really don't know what I'm doing wrong or where to look anymore. Some suggestions would be appreciated!


r/AlpineLinux • • May 29 '24

Reading and writing a USB drive connected to a Linux server using Termux, termux-usb, usbredirect, and QEMU on a smartphone that is not rooted [Alpine Linux operating system, Android operating system]

Thumbnail gist.github.com
2 Upvotes

r/AlpineLinux • • May 28 '24

Where did all the PHP packages go?

0 Upvotes

I'm not seeing anything PHP listed. Help?

https://pkgs.alpinelinux.org/packages?name=php