Utilities to handle basic networking
Wired
Wireless
$ sudo apt-file -x search ".*/iw$"
iw: /sbin/iw
$ /sbin/iw dev // Find out the wireless device name.
Check that the wireless device is up.
$ ip link show wlan0
$ ip link show wlan0
3: wlan0: (BROADCAST,MULTICAST) mtu 1500 qdisc noop state DOWN mode DEFAULT qlen 1000
link/ether 74:e5:43:a1:ce:65 brd ff:ff:ff:ff:ff:ff
Look for the word “UP” inside the brackets in the first
line of the output.
In the above example, wlan0 is not UP. Execute the
following command to bring it up:
$ sudo ip link set wlan0 up
If you run the show link command again, you can tell
that wlan0 is now UP.
$ ip link show wlan0
3: wlan0: (NO-CARRIER,BROADCAST,MULTICAST,UP) mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
link/ether 74:e5:43:a1:ce:65 brd ff:ff:ff:ff:ff:ff
Installation and Setup state
How do we know that we have installated or not and setup or not local (lan) sharing of files?
$ debtags search protocol::nfs
$ dpkg -l '*nfs*' // is a way to see if we have installed any nfs package.
[server] $ sudo apt-get install nfs-kernel-server nfs-common
[client] $ sudo apt-get install nfs-common
-- ChomWitt - 26 Sep 2024