Ubuntu 24.04.1 LTS | Lataa ja asenna | Tutustu yhteisöön | Blogi | Yritysten tarjoamat palvelutValmistajien tukemat Ubuntu-tietokoneet: kannettavatietokone.fi uudet ja käytetyt sekä Lenovo-verkkokauppa
lspci | grep network
lspci | grep -i ethernet
sudo lshw -c network
00:0a.0 Ethernet controller: NVIDIA Corporation MCP77 Ethernet (rev a2)
*-network description: Ethernet interface product: MCP77 Ethernet vendor: NVIDIA Corporation physical id: a bus info: pci@0000:00:0a.0 logical name: eth0 version: a2 serial: 00:24:8c:d7:bd:91 size: 100Mbit/s capacity: 1Gbit/s width: 32 bits clock: 66MHz capabilities: pm msi ht bus_master cap_list ethernet physical mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation configuration: autonegotiation=on broadcast=yes driver=forcedeth driverversion=0.64 duplex=full ip=127.0.1.1 latency=0 link=yes maxlatency=20 mingnt=1 multicast=yes port=MII speed=100Mbit/s resources: irq:41 memory:fbf7c000-fbf7cfff ioport:c880(size=8) memory:fbf7f400-fbf7f4ff memory:fbf7f000-fbf7f00f
/etc/network/interfaces
# This file describes the network interfaces available on your system# and how to activate them. For more information, see interfaces(5).# The loopback network interfaceauto loiface lo inet loopback# The primary network interfaceauto eth0iface eth0 inet static address 127.0.1.1 netmask 255.255.255.0 network 127.0.1.0 broadcast 127.0.1.255 gateway 192.168.0.1
Varmaan selvää kauraa, mutta ajattelin varmistaa. Koneessa on varmaankin tarkoituksella kiinteät osoitteet vs. dhcp?
sudo ifup eth0
tomin@tomin-workstation:~$ cat /etc/network/interfaces auto loiface lo inet loopbacktomin@tomin-workstation:~$