How to Display and List All Network Interfaces and Devices in Linux Kaip rodyti ir sąrašą visų tinklo sąsajos ir įrangos 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. Linux, tinklo sąsaja yra pagrįsta programinės įrangos konfigūraciją, į kurią gali būti įjungtas arba išjungtas, o tinklo įrenginių yra fizinis tinklo kortelę arba adapteris, prijungtas prie sistemos. All network communications occur between configured network interfaces and physical network devices before the data packets are sent or transmitted. Visi tinklo ryšių atsirasti tarp konfigūruoti tinklo sąsajos ir fizinės tinklo įrenginių iki duomenų paketai yra siunčiami arba perduodami.
System administrators may occasionally want to display or get a list of all network interfaces and/or network devices in Linux operating system. Sistemos administratoriai gali retkarčiais norite rodyti arba gauti visų tinklo sąsajos ir / ar tinklo įrangos Linux operacinė sistema, sąrašą. 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”. Yra daug būdų gauti tinklo sąsajų ir tinklo įrenginiai informacija Linux arba UNIX sistemos, dažniausi yra "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 komandą yra naudinga administratorius, kurie tik nori sužinoti, kokios tinklo sąsajų, pvz eth0, eth1, štai, wlan0, venet0, venet1 arba rausb0, kad šiuo metu yra sukonfigūruotas. To use ifconfig command to display network interfaces, just type ifconfig into the console or command-line shell. Norėdami naudoti ifconfig komandą rodyti tinklo sąsajas, tiesiog įrašykite ifconfig į konsolę arba command-line lukštais.
An output that similar to format below with configuration details, IP address, MAC address and other information, including ip-aliasing. Galia, kad panašus į žemiau formatas su konfigūracijos duomenis, IP adresą, MAC adresas ir kita informacija, įskaitant IP-aliasing.
eth0 Link encap:Ethernet HWaddr 00:1E:FF:FF:FF:FF 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 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:105 errors:0 dropped:0 overruns:0 frame:0 TX packets:3817 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:6318 (6.1 KiB) TX bytes:234216 (228.7 KiB) Interrupt:177 Base address:0xe000 eth1 Link encap:Ethernet HWaddr 00:1C:FF:FF:FF:FF 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 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:747061040 errors:0 dropped:0 overruns:0 frame:0 TX packets:947783149 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:3475826459 (3.2 GiB) TX bytes:2684871507 (2.5 GiB) Memory:e0400000-e0420000 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 inet6 addr: fe80:: 21e: 2aff: 8888:8888 / 64 sritis: Nuoroda MULTICAST UP BROADCAST RUNNING MTU: 1500 Metric: 1 RX packets: 105 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets: 3817 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions: 0 txqueuelen: 1000 RX bytes: 6318 (6.1 KiB) TX bytes: 234216 (228,7 KiB) Interrupt: 177 Base address: 0xe000 eth1 Link encap: Ethernet HWaddr 0:01 D: FF: FF: FF: FF 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 UP BROADCAST RUNNING MULTICAST MTU: 1500 Metric: 1 RX packets: 747.061.040 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets: 947783149 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions: 0 txqueuelen: 100 RX bytes: 3475826459 (3,2 GB) TX bytes: 2684871507 (2,5 GB) Atmintis: e0400000-e0420000 Linux can support multiple physical network devices, compounding multiple network interfaces that can be configured for each network cards. Linux gali palaikyti keletą fizinių tinklo įrenginiai, sudėties keletą tinklo sąsajų, kurios gali būti konfigūruojamas, už kiekvieną tinklo korteles. For user who wants to view information about physical network devices, a tool named “lshw” can be used. Vartotojo, kuris nori pamatyti informaciją apie fizinę tinklo įrenginių, įrankių, pavadintą "lshw" gali būti naudojamas. lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. lshw (Hardware Lister) yra maža priemonė suteikti išsamios informacijos apie techninės konfigūracijos mašinos. 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”. Apie kai kuriuos skonį ar paskirstymo Linux, lshw įdiegta pagal nutylėjimą, ar galima atsisiųsti ir įdiegti lengvai komandą kaip "yum install 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. Kai lshw yra įjungta sistemos, įveskite šią komandą į konsolę gauti visų pridedamas fizinį tinklo prietaisų sistema, sąrašą.
lshw -class network
Example of output are: Pavyzdys produkcija yra:
*-network *- tinklas description: Ethernet interface Aprašymas: Ethernet sąsaja product: VT6105 [Rhine-III] produktas: VT6105 [Reinas-III] vendor: VIA Technologies, Inc. Gamintojas: VIA Technologies, Inc physical id: 7 fizinių ID: 7 bus info: pci@03:07.0 autobusas info: pci @ 03:07.0 logical name: eth0 logiška vardas: eth0 version: 9a versija: 9a serial: 00:88:88 Serijos numeris: 00:88:88 width: 32 bits width: 32 bits clock: 33MHz Clock: 33MHz capabilities: bus_master cap_list ethernet physical galimybes: bus_master cap_list Ethernet fizinio configuration: broadcast=yes driver=via-rhine driverversion=2.6.22-14-generic latency=32 maxlatency=8 mingnt=3 multicast=yes konfigūracija: transliuoti = yes Driver = per Reino driverversion = 2.6.22-14-generic latency = 32 maxlatency = 8 mingnt = 3 multicast = yes resources: ioport=d300-d3ff iomemory:d8883888-d88838ff ištekliai: ioport = D300-d3ff iomemory: d8883888-d88838ff
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Automatinis vertimas gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- Free The Definitive Guide to Linux Network Programming PDF eBook Download Laisvas Definitive Guide to Linux Network Programavimas PDF eBook Atsisiųsti
- How to Show and Display IP Routing Table in Windows or Linux Kaip rodyti ir rodyti IP Routing Table Windows arba Linux
- D-Link (DLink) Routers, Switches, Modems and Network Devices Default Factory Admin Password D-Link (DLink) Maršrutizatoriai, komutatoriai, modemai ir tinklo įranga Numatytasis Factory admin Slaptažodis
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Atidaryti, ekstraktas ir konvertavimas DAA, ISO ir BIN failus Linux Nemokami PowerISO Linux
- Wi-Fi Direct Enabling Wi-Fi Devices Connect To One Another In “Wi-Fi Network” Wi-Fi Tiesioginis Įjungus Wi-Fi įrenginių prisijungti prie vieno kito "Wi-Fi tinklas
- Display USB Devices Detailed Information with USBDeview Rodyti USB Devices detaliai USBDeview
- Use ScrollLock and NumLock Keyboard LED As Network Traffic Indicators with Network Lights Naudokite ScrollLock ir klaviatūros NumLock LED, tinklo eismo rodikliai Network Lights
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Kaip pakeisti ar Spoof MAC adresas, Windows XP, Vista, Server 2003/2008, Mac OS X, Unix, Linux
- Retrieve, View or Display Wireless (WEP or WPA WiFi) Network Security Key or Password in Windows 7 Priimti, vaizdas arba Rodyti Wireless (WEP arba WPA WiFi) tinklą Apsaugos kodas arba slaptažodis Windows 7
- Spy and Sniff Passwords and Private Information beside Analyse Network with Microsoft Eavesdropping Tool Network Monitor 3.0 plus Reviews Spy ir Sniff slaptažodžius ir privačios informacijos be Analyse tinklą Microsoft eavesdropping įrankis Network Monitor 3,0 plius Atsiliepimai









































