hirschmann/nbfc

Nbfc not working in arch linux

harisudarsan1 opened this issue · 6 comments

Describe the bug
sudo nbfc start gives an error : /usr/local/etc/nbfc/nbfc.json: /usr/local/etc/nbfc/nbfc.json: No such file or directory. nbfc is installed using pacman and also tried installing from source both of them are not working.

systemctl enable nbfc.service gives this error : Failed to enable unit: Unit file nbfc.service does not exist. But I have installed nbfc-linux package for arch.

To Reproduce
Steps to reproduce the behavior.

  • run sudo nbfc start
  • run systemctl enable nbfc.service

Expected behavior
The nbfc start should start the service

System information

Hi, you can use arch packages from AUR (https://wiki.archlinux.org/title/Arch_User_Repository). For me the package "nbfc" works very well.

If you install from source and have problems with "systemctl enable nbfc.service": Does the nbfc.service-file exists in /etc/systemd/system or /usr/lib/systemd/system/? And don't forget to "systemctl daemon-reload" before enabling the service.

hello @harisudarsan1! you've probably picked the nbfc-linux pacakge at Arch, which is a different repo:
https://github.com/nbfc-linux/nbfc-linux

Same

I have the same problem, and altenativally I dont wanna use nbfc I want to use nbfc-linux because is updated instead of nbfc package.

I dont test it this but I think that is the obvious fix nbfc-linux/nbfc-linux#100

I do this:

sudo nbfc config -r
sudo nbfc config --apply "Lenovo ThinkPad Helix"
sudo nbfc start