network config

PHOTO EMBED

Tue Sep 13 2022 10:17:55 GMT+0000 (Coordinated Universal Time)

Saved by @medben #commandline

#automatic dhcp client services
dhclient
dhcpd
#static config
ifconfig eth0 10.10.2.110 255.255.255.0 10.10.2.255 (opt : broadcast)
#display ip routing table
route
#add a routing entry
route add -net 192.168.1.0 netmask 255.255.255.0 dev wlan0
#add a default gateway
route add default gw 10.10.2.1
#dns config
cat /etc/resolv.conf
#debian package repos
cat /etc/apt/source.list
content_copyCOPY