How to Display and List All Network Interfaces and Devices in Linux Kako in Prikaži seznam vseh omrežnih vmesnikih in naprave v Linux
In Linux, network interfaces are software-based configuration which can be activated or deactivated, while network devices are physical networking card or adapter connected to the system. V Linux, omrežni vmesniki so na podlagi programske opreme konfiguracijo, ki se lahko aktivira ali deaktivira, medtem ko omrežnih naprav so fizično povezovanje kartico ali adapter priključen na sistem. All network communications occur between configured network interfaces and physical network devices before the data packets are sent or transmitted. Vsa komunikacijsko omrežje, ki se zgodijo med nastavite vmesnike omrežja in fizično omrežnih naprav, preden so poslani pakete podatkov ali prenašati.
System administrators may occasionally want to display or get a list of all network interfaces and/or network devices in Linux operating system. Sistem skrbniki lahko občasno želite prikazati ali zaslužiti seznam vseh omrežnih vmesnikov in / ali omrežnih naprav v operacijski sistem Linux. There are plenty of ways to retrieve network interfaces and network devices information in Linux or Unix system, the most common of it is “ifconfig”. Obstaja veliko načinov za pridobivanje omrežje vmesnikov in omrežnih naprav informacij v Linux ali Unix sistem, najpogostejši od tega je "ifconfig".
ifconfig command is useful for administrator who only want to know which network interfaces, eg eth0, eth1, lo, wlan0, venet0, venet1 or rausb0, that are currently configured. ifconfig ukaz je uporaben za skrbnika, ki samo želijo vedeti, kateri omrežni vmesniki, npr eth0, eth1, lo, wlan0, venet0, venet1 ali rausb0, ki so trenutno nastavljen. To use ifconfig command to display network interfaces, just type ifconfig into the console or command-line shell. Če želite uporabiti ifconfig ukaz za prikaz omrežni vmesniki, šele stavek ifconfig v konzolo ali ukazni vrstici lupine.
An output that similar to format below with configuration details, IP address, MAC address and other information, including ip-aliasing. Output to podoben format spodaj s konfiguracijo podrobnosti, IP naslov, MAC naslov in druge informacije, vključno z IP-aliasing.
eth0 Link encap:Ethernet HWaddr 00:1E:FF:FF:FF:FF eth0 Link encap: Ethernet HWaddr 0:01 E: FF: FF: FF: FF inet addr:10.1.1.1 Bcast:10.1.1.254 Mask:255.255.255.0 inet addr: 10.1.1.1 Bcast: 10.1.1.254 Mask: 255.255.255.0 inet6 addr: fe80::21e:2aff:8888:8888/64 Scope:Link inet6 addr: fe80:: 21e: 2aff: 8888:8888 / 64 Scope: Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 UP ODDAJANJE TEKOČIH multicast MTU: 1500 Metric: 1 RX packets:105 errors:0 dropped:0 overruns:0 frame:0 RX packets: 105 errors: 0 dropped: 0 prekoračitev: 0 frame: 0 TX packets:3817 errors:0 dropped:0 overruns:0 carrier:0 TX packets: 3817 errors: 0 dropped: 0 prekoračitev: 0 Prevoznik: 0 collisions:0 txqueuelen:1000 trčenja: 0 txqueuelen: 1000 RX bytes:6318 (6.1 KiB) TX bytes:234216 (228.7 KiB) RX bytes: 6318 (6,1 KiB) TX bytes: 234216 (228,7 KiB) Interrupt:177 Base address:0xe000 Interrupt: 177 Base naslov: 0xe000 eth1 Link encap:Ethernet HWaddr 00:1C:FF:FF:FF:FF eth1 Link encap: Ethernet HWaddr 0:01 C: FF: FF: FF: FF inet addr:188.8.8.1 Bcast:188.8.8.254 Mask:255.255.255.0 inet addr: 188.8.8.1 Bcast: 188.8.8.254 Mask: 255.255.255.0 inet6 addr: fe80::21c:c0ff:8888:8888/64 Scope:Link inet6 addr: fe80:: 21c: c0ff: 8888:8888 / 64 Scope: Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 UP ODDAJANJE TEKOČIH multicast MTU: 1500 Metric: 1 RX packets:747061040 errors:0 dropped:0 overruns:0 frame:0 RX packets: 747061040 errors: 0 dropped: 0 prekoračitev: 0 frame: 0 TX packets:947783149 errors:0 dropped:0 overruns:0 carrier:0 TX packets: 947783149 errors: 0 dropped: 0 prekoračitev: 0 Prevoznik: 0 collisions:0 txqueuelen:100 trčenja: 0 txqueuelen: 100 RX bytes:3475826459 (3.2 GiB) TX bytes:2684871507 (2.5 GiB) RX bytes: 3475826459 (3.2 GiB) TX bytes: 2684871507 (2,5 GiB) Memory:e0400000-e0420000 Memory: e0400000-e0420000
Linux can support multiple physical network devices, compounding multiple network interfaces that can be configured for each network cards. Linux lahko podpira več fizične omrežne naprave, mešanju več omrežnih vmesnikov, ki se lahko nastavite za vsako omrežje kartice. For user who wants to view information about physical network devices, a tool named “lshw” can be used. Za uporabnika, ki želi, da si ogledate informacije o fizičnih naprav omrežja, orodje imenovan "lshw" se lahko uporablja. lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. lshw (Hardware Lister) je majhno orodje za zagotavljanje podrobnih informacij o konfiguraciji strojne opreme stroja. On some flavors or distributions of Linux, lshw is installed by default, or can be downloaded or installed easily with command such as “yum install lshw”. Na nekaterih okus ali distribucijo Linuxa, je lshw nameščen privzeto, ali se lahko prenese in namesti enostavno z ukazom, kot so "yum namestite lshw".
Once lshw is enabled on the system, just enter the following command into the console to get a list of all attached physical network devices on the system. Ko je omogočena lshw na sistemu, le vnesite naslednji ukaz v konzoli, da bi dobili seznam vseh priložen fizičnih naprav omrežja na sistemu.
lshw -class network
Example of output are: Primer proizvodnje so:
*-network *- omrežje description: Ethernet interface Opis: Ethernet vmesnik product: VT6105 [Rhine-III] izdelka: VT6105 [Porenje-III] vendor: VIA Technologies, Inc. prodajalec: VIA Technologies, Inc physical id: 7 telesne id: 7 bus info: pci@03:07.0 bus info: pci @ 03:07.0 logical name: eth0 logično ime: eth0 version: 9a verzija: 9a serial: 00:88:88 serijsko: 00:88:88 width: 32 bits širina: 32 bitov clock: 33MHz ura: 33MHz capabilities: bus_master cap_list ethernet physical zmogljivosti: bus_master cap_list ethernet fizično configuration: broadcast=yes driver=via-rhine driverversion=2.6.22-14-generic latency=32 maxlatency=8 mingnt=3 multicast=yes konfiguracija: oddaja = yes voznik = preko-Ren driverversion = 2.6.22-14-generičnih prikritost maxlatency = 32 = 8 mingnt multicast = 3 = yes resources: ioport=d300-d3ff iomemory:d8883888-d88838ff viri: ioport = D300-d3ff iomemory: d8883888-d88838ff
IMPORTANT : The page is machine translated and provided "as is" without warranty. POMEMBNO: stran je stroj prevod in če "kot je" brez garancije. Machine translation may be difficult to understand. Strojno prevajanje je lahko težko razumeti. Please refer to Prosimo, da original English article original angleški člen whenever possible. kadar je to mogoče.
Related Articles Povezani članki
- Free The Definitive Guide to Linux Network Programming PDF eBook Download Free The Definitive Guide to Linux Network Programming eBook PDF Download
- How to Show and Display IP Routing Table in Windows or Linux Kako Pokaži in Display IP Routing tabele v okno ali Linux
- D-Link (DLink) Routers, Switches, Modems and Network Devices Default Factory Admin Password D-Link (DLink) usmerjevalniki, stikala, modemi in Network Devices Factory Default Admin Password
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Odpri, Extract in Convert DAA, ISO ter zaboj pila v Linux s prost PowerISO za Linux
- Wi-Fi Direct Enabling Wi-Fi Devices Connect To One Another In “Wi-Fi Network” Wi-Fi Direct Omogočanje Wi-Fi naprave Connect ena na drugo "Wi-Fi Network"
- Display USB Devices Detailed Information with USBDeview Prikaži USB naprave Podrobne informacije s USBDeview
- Use ScrollLock and NumLock Keyboard LED As Network Traffic Indicators with Network Lights Uporaba ScrollLock ter NumLock tipke LED kot omrežje promet s kazalci Network Lights
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Kako v sprememba ali prevara Škot Naslov v operacijskem sistemu Windows XP, Vista, Server 2003/2008, Mac OS X, Unix in Linux
- Retrieve, View or Display Wireless (WEP or WPA WiFi) Network Security Key or Password in Windows 7 Naloži, Prikaži ali Display Wireless (WEP ali WPA Wi-Fi) za varnost omrežij zakleniti ali gesla v Windows 7
- Spy and Sniff Passwords and Private Information beside Analyse Network with Microsoft Eavesdropping Tool Network Monitor 3.0 plus Reviews Vohun ter vohanje parola ter zaseben sporočilo zraven Analyse omrežje z orodjem za prisluškovanje Microsoft Network Monitor 3,0 plus Reviews









































