Hoje deixo-vos aqui um pequeno tutorial a explicar como configurar um ip fixo, no novíssimo Debian 12, que foi lançado hoje.
Vamos começar por editar o seguinte ficheiro
# nano /etc/network/interfaces
Partindo do principio que a máquina se encontra na gama de ip's 192.168.0.x, vamos então proceder à atribuição do IP 192.168.0.250. Para tal, é necessário adicionar ao ficheiro, o seguinte:
auto eth0
iface eth0 inet static
address 192.168.0.250/24
netmask 255.255.255.0
gateway 192.168.0.254
dns-nameservers 8.8.4.4 8.8.8.8
vamos agora testar as configurações, correndo o comando
# systemctl restart NetworkManager
e é isso.
Pedro Resende
With over two decades of experience as a Full Stack Developer, I have journeyed through diverse facets of software development. Commencing with the creation of compact institutional websites, I progressed to crafting portals for insurance brokers and contributed to substantial projects for renowned companies such as MS Amlin. My expertise expanded further by delving into product development for Advertiser Kwanko and collaborating with startups in their pivotal ramp-up stages. Notably, I've been involved in architecting extensive e-commerce solutions for global enterprises like Wayfair.
I currently serve as the Tech Lead at Emergn, contributing to the establishment and advancement of the Strategyzer client.