This is my analyses till now. If someone is able to give more details or to direct me to a good reading resource that will save me this investigation, it will be almost too good to be true. Networking is a vast subject as there are very diverse means of connecting computers.
On my machine with wlan0 up and active, this is what I found:
- Code: Select all
Text Data: pid of running dhclient daemon
pgrep dhclient gives pid of running dhclient
How dhclient is run:
"dhclient -v -pf /run/dhclient.wlan0.pid -lf /var/lib/dhcp/dhclient.wlan0.leases wlan0"
Text Data:pid of running wpa_supplicant
pgrep wpa_supplicant gives pid of running wpa_supplicant
How wpa_supplicant is run:
"/sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.wlan0.pid -i wlan0 -D nl80211,wext -C /run/wpa_supplicant"