How to Display and List All Network Interfaces and Devices in Linux Kā Displejs un saraksts visu tīkla saskarnes un ierīcēm 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, tīkla saskarnes programmatūras bāzes konfigurāciju, ko var aktivizēt vai deaktivizēt, bet tīkla iekārtas ir fiziski tīkla karti, vai adapteris, kas saistīti ar sistēmu. All network communications occur between configured network interfaces and physical network devices before the data packets are sent or transmitted. Visi tīkla komunikāciju notiek starp konfigurēt tīkla saskarnes un fiziskās tīkla ierīcēm līdz datu paketes tiek nosūtīti vai pārsūtīti.
System administrators may occasionally want to display or get a list of all network interfaces and/or network devices in Linux operating system. Sistēmas administrators dažkārt vēlaties parādīt vai saņemt sarakstu ar visiem tīkla pieslēgumu un / vai tīkla ierīces ar Linux operētājsistēmu. 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”. Ir daudz veidu, lai iegūtu tīkla saskarnes un tīkla ierīces informācija Linux vai UNIX sistēmas, visbiežāk tā ir "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 komanda ir noderīga administratoram, kas tikai vēlas uzzināt, kuras tīkla saskarnes, piemēram, eth0, eth1, lo, wlan0, venet0, venet1 vai rausb0, ka pašlaik konfigurēta. To use ifconfig command to display network interfaces, just type ifconfig into the console or command-line shell. Lai izmantotu ifconfig komandu, lai parādītu tīkla saskarnes, vienkārši ierakstiet ifconfig vērā konsole vai komandrindas čaula.
An output that similar to format below with configuration details, IP address, MAC address and other information, including ip-aliasing. Produkcija, kas līdzīgs formāts turpmāk, konfigurācijas dati, IP adrese, MAC adrese un cita informācija, ieskaitot 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 BROADCAST DARBĪBAS multicast MTU: 1500 Metric: 1 RX packets:105 errors:0 dropped:0 overruns:0 frame:0 RX packets: 105 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets:3817 errors:0 dropped:0 overruns:0 carrier:0 TX packets: 3.817 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions:0 txqueuelen:1000 collisions: 0 txqueuelen: 1000 RX bytes:6318 (6.1 KiB) TX bytes:234216 (228.7 KiB) RX bytes: 6.318 (6.1 KiB) TX bytes: 234.216 (228,7 KiB) Interrupt:177 Base address:0xe000 Interrupt: 177 Base address: 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 BROADCAST DARBĪBAS multicast MTU: 1500 Metric: 1 RX packets:747061040 errors:0 dropped:0 overruns:0 frame:0 RX packets: 747061040 errors: 0 dropped: 0 overruns: 0 frame: 0 TX packets:947783149 errors:0 dropped:0 overruns:0 carrier:0 TX packets: 947783149 errors: 0 dropped: 0 overruns: 0 carrier: 0 collisions:0 txqueuelen:100 collisions: 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 Atmiņa: e0400000-e0420000
Linux can support multiple physical network devices, compounding multiple network interfaces that can be configured for each network cards. Linux var atbalstīt vairākas fiziskās tīkla ierīces, sarežģījot vairāki tīkla interfeisi, kas var konfigurēt katru tīkla kartes. For user who wants to view information about physical network devices, a tool named “lshw” can be used. Lietotāju, kas vēlas apskatīt informāciju par fizisko tīklu, iekārtu, instrumentu ar nosaukumu "lshw" var izmantot. lshw (Hardware Lister) is a small tool to provide detailed information on the hardware configuration of the machine. lshw (Hardware Lister) ir neliels rīks, lai sniegtu detalizētu informāciju par aparatūras konfigurācijas mašīna. 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”. Par dažiem flavors vai sadali Linux, lshw tiek instalēta pēc noklusējuma, vai to var lejupielādēt un uzstādīt viegli ar komandu, piemēram, "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. Kad lshw ir iespējots sistēmas, vienkārši ievadiet komandu vērā konsole, lai iegūtu sarakstu ar visām pievienoto fiziskais tīkls ierīču sistēmu.
lshw -class network
Example of output are: Piemērs produkcija ir:
*-network *- tīkls description: Ethernet interface description: Ethernet interface product: VT6105 [Rhine-III] produkts: VT6105 [Rhine-III] vendor: VIA Technologies, Inc. piegādātājs: VIA Technologies, Inc physical id: 7 fiziskās id: 7 bus info: pci@03:07.0 bus info: pci @ 03:07.0 logical name: eth0 loģisks name: eth0 version: 9a version: 9a serial: 00:88:88 sērijas: 00:88:88 width: 32 bits width: 32 bits clock: 33MHz clock: 33MHz capabilities: bus_master cap_list ethernet physical spējas: bus_master cap_list Ethernet physical configuration: broadcast=yes driver=via-rhine driverversion=2.6.22-14-generic latency=32 maxlatency=8 mingnt=3 multicast=yes configuration: raidījums = yes vadītāja = caur-Vestfālenes driverversion = 2.6.22-14-generic latency = 32 maxlatency = 8 mingnt = 3 multicast = yes resources: ioport=d300-d3ff iomemory:d8883888-d88838ff resursi: ioport = D300-d3ff iomemory: d8883888-d88838ff
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: lapa mašīna iztulkot un pasniegts tàds, "kàds tas ir" bez garantijas. Machine translation may be difficult to understand. Mašīntulkošanas var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- Free The Definitive Guide to Linux Network Programming PDF eBook Download Bezmaksas Definitive Guide to Linux Network Programming PDF eBook Download
- How to Show and Display IP Routing Table in Windows or Linux Kā Show un Displeja IP maršrutizācijas tabulu Windows vai Linux
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux Open, ekstrakts un konvertēšana DAA, ISO, BIN faili Linux ar bezmaksas PowerISO for Linux
- D-Link (DLink) Routers, Switches, Modems and Network Devices Default Factory Admin Password D-Link (dlink) Routers, Switches, Modemi un Tīkla iekārtas Default Factory Admin Password
- Wi-Fi Direct Enabling Wi-Fi Devices Connect To One Another In “Wi-Fi Network” Wi-Fi Direct Pilnvarojuma Wi-Fi ierīcēm Savienojuma viena ar otru, "Wi-Fi Network"
- Display USB Devices Detailed Information with USBDeview Displejs USB ierīces Sīkāka informācija ar USBDeview
- Use ScrollLock and NumLock Keyboard LED As Network Traffic Indicators with Network Lights Izmantojiet ScrollLock un NumLock Keyboard LED, tīkla Traffic Indicators ar tīkla Lights
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux Kā nomainīt vai mānīšanās MAC adrese Windows XP, Vista, Server 2003/2008, Mac OS X, Unix un Linux
- Spy and Sniff Passwords and Private Information beside Analyse Network with Microsoft Eavesdropping Tool Network Monitor 3.0 plus Reviews Spiegs un šņaukāties paroles un privātās informācijas blakus Analyse tīklam Microsoft noklausīšanos Tool Network Monitor 3,0 plus Atsauksmes
- Display and View List of Gmail Messages That Have Either One of the Labels Displejs un Skatīt saraksts Gmail ziņojumus, kas ir vai nu viens no Labels









































