Advertising
Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl
~$ inxi -SG
System:
Host: haus Kernel: 6.6.13-amd64 arch: x86_64 bits: 64 Console: pty pts/1 Distro: SparkyLinux 8
(Seven-Sisters)
Graphics:
Device-1: NVIDIA TU106 [GeForce RTX 2060 Rev. A] driver: nvidia v: 525.147.05
Device-2: Microsoft LifeCam HD-3000 driver: snd-usb-audio,uvcvideo type: USB
Display: server: X.org v: 1.21.1.11 driver: X: loaded: fbdev,modesetting,nouveau,nvidia,vesa
gpu: nvidia tty: 128x45
API: EGL v: 1.5 drivers: nvidia,swrast platforms: gbm,surfaceless,device
API: OpenGL Message: GL data unavailable in console for root.
~$ systemctl status lightdm
● lightdm.service - Light Display Manager
Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; preset: enabled)
Active: active (running) since Sun 2024-02-04 09:19:53 CET; 6min ago
Docs: man:lightdm(1)
Main PID: 1378 (lightdm)
Tasks: 5 (limit: 38268)
Memory: 9.9M (peak: 10.4M)
CPU: 65ms
CGroup: /system.slice/lightdm.service
├─1378 /usr/sbin/lightdm
└─1395 /usr/lib/xorg/Xorg :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
Feb 04 09:19:53 haus systemd[1]: Starting lightdm.service - Light Display Manager...
Feb 04 09:19:53 haus systemd[1]: Started lightdm.service - Light Display Manager.
~$ dkms status
nvidia-current/525.147.05, 6.6.13-amd64, x86_64: installed
~$ systemctl get-default
graphical.target
Quote from: mirto on January 20, 2024, 08:05:18 PM[....]
I have a motherboard with 2 network interfaces
Sparky names the interfaces "eth0" and "eth1" (names assignment to hardware address changes at every boot)
I need to use the "enp38s0" and "enp39s0" naming schema.
How can I do this?
[....]
sudo fallocate -l 4G /swapfile
Notes: 'fallocate' is the program being run. '-l 4G' tells it to create a file with a 'length' (i.e. size) of 4 GB. '/swapfile' tells it to create the file in the root ('/') directory and name it 'swapfile'.sudo chmod 0600 /swapfile
sudo mkswap /swapfile
If you want to confirm this worked, you can run this command:sudo file /swapfile
sudo swapon /swapfile
At this point, the system should have access to this file to use as swap space if needed. If you have 'inxi' installed, you can run the following command to confirm this:inxi --swap
/swapfile none swap defaults 0 0
gdebi-gtk
Note that this is a Debian-based response, and I'm not sure if Sparky uses its own solution for this or not. You could browse the Sparky wiki section on package management (and perhaps other sections) to see if it mentions anything. In any case, I'm reasonably certain that gdebi would work if you want to use it.