Seeing as network interfaces don't have a location within /dev, I'm curious as to how one would program utilities that make web requests (or configure stuff), i.e

ip link set *interface* up
iw dev *interface* scan

Specifically, what system calls would one even use?

1 Answers

0
jamieguinan On

Try this,

strace -e trace=network ip link 2>log2.txt

then read log2.txt to see what system calls were made by ip link. From there you can search the web or man pages for more specific details.