Open kannan-sosaley opened 2 years ago
rpi@raspberrypi:~ $ nfctool -l Unable to find NFC netlink family netlink init failed No such file or directory I use libnl-3-dev libnl-nf-3-dev, as opposed to what stated libnl2 kindly please address my issue
I will try to get to this and several other issues this weekend.
On 5/23/22 4:01 AM, kannan-sosaley wrote:
@.***:~ $ nfctool -l Unable to find NFC netlink family netlink init failed No such file or directory
kindly please address my issue
— Reply to this email directly, view it on GitHub https://github.com/linux-nfc/neard/issues/18#issuecomment-1134526311, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAON5EWBL3ER3335EO7OA2LVLNQPLANCNFSM5WVMA5LA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks and i greatly look forward for a fix
Install all dependencies libnl-3-dev libnl-nf-3-dev libnl-route-3-dev sudo npm i netlink-nfc
npm WARN enoent ENOENT: no such file or directory, open '/home/sosdt002/package.json' npm WARN sosdt002 No description npm WARN sosdt002 No repository field. npm WARN sosdt002 No README data npm WARN sosdt002 No license field.
Errror still persists
Erm, you ran 'npm'... Are you sure you wanted to use that???
On 5/31/22 12:45 AM, Kannan wrote:
i did sudo npm i netlink-nfc
npm WARN enoent ENOENT: no such file or directory, open '/home/sosdt002/package.json' npm WARN sosdt002 No description npm WARN sosdt002 No repository field. npm WARN sosdt002 No README data npm WARN sosdt002 No license field.
Errror still persists
— Reply to this email directly, view it on GitHub https://github.com/linux-nfc/neard/issues/18#issuecomment-1141781340, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAON5ET35LXF6MECV45NCDTVMW7RZANCNFSM5WVMA5LA. You are receiving this because you commented.Message ID: @.***>
netlink-nfc couldn't be found anywhere except from npm
https://www.npmjs.com/package/netlink-nfc
Any other means to overcome this issue
The neard does not use anything from npm, so you still miss libraries.
can u list what am i missing apart from libnl-3-dev libnl-nf-3-dev libnl-route-3-dev
I don't what system do you have, what packages did you install, so I have no clue what you are missing. The README file has a list of dependencies. Optionally you can check CI installation scripts for specific Ubuntu flavor in https://github.com/linux-nfc/neard/tree/master/ci .
I tried and tested on both Ubuntu on X86_64 and Raspiberry pi4, both results to same error Digging the source from netlink.c i found kinda socket init error i use Ubuntu environment.
Do you have all the required packages as described by CI installation scripts?
May 23 16:06:28 raspberrypi neard[2379]: neard[2379]: NEAR daemon version 0.18 May 23 16:06:28 raspberrypi neard[2379]: NEAR daemon version 0.18 May 23 16:06:28 raspberrypi neard[2379]: neard[2379]: Unable to find NFC netlin> May 23 16:06:28 raspberrypi neard[2379]: Unable to find NFC netlink family May 23 16:06:28 raspberrypi neard[2379]: neard[2379]: netlink init failed May 23 16:06:28 raspberrypi neard[2379]: neard[2379]: NETLINK INITIALIZATIO> May 23 16:06:28 raspberrypi neard[2379]: netlink init failed May 23 16:06:28 raspberrypi neard[2379]: NETLINK INITIALIZATION FAILED *** May 23 16:06:28 raspberrypi systemd[1]: neard.service: Main process exited, cod> May 23 16:06:28 raspberrypi systemd[1]: neard.service: Failed with result 'exit