I am not getting eth0 when I type "ifconfig" in terminal. Even the output I get is different from the output which I used to get earlier. Below is the output which I am getting right now :-  gkv@GKVInnovations:~$ ifconfig enp1s0    Link encap:Ethernet  HWaddr 8c:dc:d4:d2:d5:60         UP BROADCAST MULTICAST  MTU:1500  Metric:1       RX packets:0 errors:0 dropped:0 overruns:0 frame:0       TX packets:0 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1000        RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)  lo        Link encap:Local Loopback         inet addr:127.0.0.1  Mask:255.0.0.0       inet6 addr: ::1/128 Scope:Host       UP LOOPBACK RUNNING  MTU:65536  Metric:1       RX packets:538 errors:0 dropped:0 overruns:0 frame:0       TX packets:538 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1        RX bytes:41686 (41.6 KB)  TX bytes:41686 (41.6 KB)  wlo1      Link encap:Ethernet  HWaddr 30:10:b3:3d:02:30         inet addr:192.168.0.5  Bcast:192.168.0.255  Mask:255.255.255.0       inet6 addr: fe80::fe8a:380d:89ea:7dce/64 Scope:Link       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       RX packets:2282 errors:0 dropped:0 overruns:0 frame:0       TX packets:2183 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1000        RX bytes:1990096 (1.9 MB)  TX bytes:384929 (384.9 KB)  gkv@GKVInnovations:~$    Earlier I used to get eth0 instead of enp1s0 and I think wlan0 or wlo(I don't know it completely) instead of wlo1. I think RX and TX values are also different. I don't know more about what I used to get. But I believe there is some problem in network adapter or driver. Please help me to get default settings back and the default output which I used to get when I typed "ifconfig" in the terminal. Please help me resolve this issue !  One more thing is that I experienced this issue after using Kali Linux live mode. Earlier I was not getting that problem even in Ubuntu 16.04 LTS.
24903
A lot of my scripts stopped working after installing Ubuntu 15.10 and I have trouble remembering this new name as I was used to ethx and wlanx for years. Is there a reason for this change? Do I have to get used to this or can I just rename it and go back to good old eth0?  $ ifconfig  enp0s25   Link encap:Ethernet  HWaddr 77:5a:5e:a6:86:d5         inet addr:192.168.31.239  Bcast:192.168.31.255  Mask:255.255.255.0       inet6 addr: fe80::725a:b6ff:fea6:86d7/64 Scope:Link       UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1       RX packets:4833 errors:1332 dropped:0 overruns:0 frame:666       TX packets:5589 errors:0 dropped:0 overruns:0 carrier:0       collisions:0 txqueuelen:1000        RX bytes:3266446 (3.2 MB)  TX bytes:1046654 (1.0 MB)       Interrupt:20 Memory:d3500000-d3520000
124107
I'm having a really hard time configuring ubuntu 13.04 to have a static ip address. I have tried multiple solutions but everytime I reboot (can't do the network reset command because ubuntu freezes) I end up with no connection.  Here is what I get when i type ifconfig into the terminal:  eth0      Link encap:Ethernet  HWaddr 10:bf:48:bc:07:cb             inet addr:192.168.0.8  Bcast:192.168.0.255  Mask:255.255.255.0           inet6 addr: fe80::12bf:48ff:febc:7cb/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:1763067 errors:0 dropped:0 overruns:0 frame:0           TX packets:1024326 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:2284491220 (2.2 GB)  TX bytes:136809317 (136.8 MB)  lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:1840 errors:0 dropped:0 overruns:0 frame:0           TX packets:1840 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:185688 (185.6 KB)  TX bytes:185688 (185.6 KB)   I have also tried this:  auto lo iface lo inet loopback auto eth0 iface eth0 inet static         address 192.168.0.160         netmask 255.255.255.0         broadcast 192.168.0.255         gateway 192.168.0.1         dns-nameservers 24.222.0.94         dns-nameservers 24.222.0.95   If anyone could help me it would be very much appreciated.
73104
So I have been trying to convert my linux box which is running Mint into an router. eth0 has a public address that has 71.xx.xx.xx for an IP addr. I created an eth0:0 and set it an IP address , 10.0.0.100. I started a DHCP server that is on eth0 ( because it wont use eth0:0) and that's giving out addresses between 10.0.0.101 and 10.0.0.200. I can ping between eth0 and eth0:0 on the same machine. I have a another laptop connected to the linux via a switch and its able to receive an ip addr via the DHCP server. Problem is how do I route traffic from and to eth0:0 to eth0 and vice versa so that computers on the private network that is 10.0.0.x can access internet via the static IP on eth0.
98476
I have bought an Alfa AWUS036NH and I think I have set it up properly but when I type ifconfig while running Kali Linux, there is no device showing an IPv4 address.   Output:  eth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500         inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255         inet6 fe80::a00:27ff:fef0:7ead  prefixlen 64  scopeid 0x20&lt;link&gt;         ether 08:00:27:f0:7e:ad  txqueuelen 1000  (Ethernet)         RX packets 2057987  bytes 1965468395 (1.8 GiB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 743272  bytes 114166643 (108.8 MiB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  lo: flags=73&lt;UP,LOOPBACK,RUNNING&gt;  mtu 65536         inet 127.0.0.1  netmask 255.0.0.0         inet6 ::1  prefixlen 128  scopeid 0x10&lt;host&gt;         loop  txqueuelen 1000  (Local Loopback)         RX packets 1198257  bytes 1736573576 (1.6 GiB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 1198257  bytes 1736573576 (1.6 GiB)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0  wlan0mon: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 1500         unspec 00-11-22-33-44-55-30-3A-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)         RX packets 0  bytes 0 (0.0 B)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 0  bytes 0 (0.0 B)         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
29167
Is there a workaround for ?  Problem: I want to have a network configuration on Debian with the following properties:   Automatically ifup network interface when a cable is plugged in boots without blocking for a long time when no cable is connected on boot not switching my init system   The standard way to do this would be the following snippet in /etc/network/interfaces:  allow-hotplug eth0 iface eth0 inet dhcp   However, this leads to the problem described in the linked bug report: The boot process blocks for >1min when no network cable is plugged in with the following message:  configuring network interfaces... ifup: waiting for lock on /run/network/ifstate.eth0   A workaround given in  seems to be changing allow-hotplug to auto:  auto eth0 iface eth0 inet dhcp   This effectively makes the boot blocking message disappear, however, the system now blocks right before a login prompt is shown at tty1. This time dhclient is blocking because it tries to get a dhcp reply on eth0, which is not connected, and waits for several attempts to timeout. The login prompt only appears after the dhclient timeouts.  For users with a graphical DE, this might not be a problem, as they don't need to log in on tty1, instead their DE boots and they never see the dhclient message.  Another workaround would probably be to use network-manager. Ideally, I would prefer to not use networkmanager, but as a last resort, I tried that. However, on Debian buster, network-manager's dependency chain conflicts with sysvinit-core, which is my init system.  The last alternative which comes to my mind is to not configure eth0 in interfaces(5). This makes all boot blocks go away, however, I need to manually ifup eth0 after plugging in an ethernet cable.  Any better ideas?  UPDATE: To address the quote from @sourcejedi, "allow-hotplug" is specified to "start interface  when the kernel detects a hotplug event from the interface" in the Debian docs under . Related questions:  and
63192
From the Terminal, how can I release and renew my DHCP lease?  Currently, I'm doing the following for the wireless interface, but I'm wondering if there's a better way:  sudo ifconfig en1 down sudo ifconfig en1 up   For the wired interface, replace en1 with en0.
91151
QUESTION:  How might I be able to specifically change the Mac Address of the enp3s0 and wlp2s0 interfaces through the /etc/network/interfaces file? What code would I have to include inside? I have been trying for some time now without success sadly enough.    ELABORATING:  So I found this great article online explaining how to change a Mac Address permanently through the /etc/network/interfaces file on my Ubuntu.  In the article, it says:      On Debian, Ubuntu, and similar systems, place the following in the   appropriate section of /etc/network/interfaces (within an iface   stanza, e.g., right after the gateway line) so that the MAC address is   set when the network device is started:      hwaddress ether 02:01:02:03:04:08   Source:  -WikiBooks  Now when I use the following code:  cat /etc/network/interfaces   I get the following output  # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback   And when I do ifconfig on my ubuntu, I get back 3 different interfaces:   enp3s0 lo wlp2s0   I would like to change the mac address of all of my interfaces (enp3s0, wlp2s0) (lo is loopback so no need there), but I am unfamiliar with the commands in the /etc/network/interfaces file. I have been looking at tutorials online though I can't seem to get stuff right, and my computer even started acting very strangely a few times afterwards.
1151
When I run ifconfig -a on my Chromebook (both through shell inside ChromeOS and my Ubuntu chroot) I get the following entries:  acrbr0: ... lo: ...  veth_android: ... wlan0: ...   I was able to find information about wlan0 and veth_android but not about the others. I don't really know much about networking so I would really appreciate some run down.
65875
I have a problem with my WiFi card on Kubuntu. Sometimes the system doesn't recognise it, but what is strange is that it doesn't happen everytime, but just about one boot on four, and I can't understand why. If I run lshw -C network I get: *-network UNCLAIMED               description: Network controller        product: Wireless 8265 / 8275        vendor: Intel Corporation        physical id: 0        bus info: pci@0000:03:00.0        version: 78        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress cap_list        configuration: latency=0        resources: memory:ef200000-ef201fff   *-network        description: Ethernet interface        product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller        vendor: Realtek Semiconductor Co., Ltd.        physical id: 0        bus info: pci@0000:04:00.0        logical name: enp4s0        version: 15        serial: 4c:ed:fb:07:64:b1        size: 100Mbit/s        capacity: 1Gbit/s        width: 64 bits        clock: 33MHz        capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation        configuration: autonegotiation=on broadcast=yes driver=r8169 duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.2.131 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s        resources: irq:19 ioport:d000(size=256) memory:ef104000-ef104fff memory:ef100000-ef103fff  Do anyone know how to make it work steadly?
15707
I am trying to (partially) reproduce the algorithm displayed in Figure 4 from   My problem is with the multi-line conditions present in the "IFs". I want them to be indented, but \Indp does not seem to take effect if a new line \\ is not present in the same line.  This is what I tried:  \begin{algorithm}[htb]     \SetAlgoNoLine%     \SetNoFillComment     \SetKwIF{If}{ElseIf}{Else}{if}{:}{elif}{else:}{}%      \If{(SYNs from both hosts and \\             \Indp SYNs in earliest NFs of both hosts and \\             \Indp hosts' earliest packets differ)}{         Host with earliest NF is originator      }     \If{(SYN only from one host and \\         \Indp SYN is in connection's earliest NF)}{     Host is originator     }     \If{one host uses port 20 (ftp-data)}{     Host is originator     }     \If{only one host uses a well-known port}{     Host is responder     }     \If{start of hosts' first packets differ}{     Host with earliest NF is originator     }     Arbitrarily choose originator     \caption{Pseudo code for determining connection server side}     \label{algo:serverside2} \end{algorithm}   For instance, the line "SYNs in earliest NFs of both hosts and" is indented correctly, but "hosts' earliest packets differ" is not.
55772
I would like to switch from gnome to awesome and I would like to connect my wifi network in command line (instead of using gnome tools).  So, I searched on the internet and found approximatively the same methods :  ifconfig wlan0 up iwconfig wlan0 essid "MyNetwork" key THEHEXAKEY dhclient wlan0   When I run awesome alone and execute those commands, I'm tucked at the 3rd one. It looks like DHCP cannot be resolve (the command continue running endlessly).  But when I run awesome in Xephyr and execute the same commands, dhclient wlan0 works well.  So I suppose Gnome do something that I don"t but I can't find what.  Could someone help me ?
83985
We have a RHEL 5.5 box with 8 interfaces. And the eth interface naming is flip flopping. Sometimes eth0 comes up on physical port 7th, and sometimes on another physical port.   We want the naming to be as per the sequence of PCI BUS. I did the research and found that   cat /sys/devices/pci0000\:00/0000\:00\:1e.0/0000\:07\:07.0/net\:eth0/address\   This locations have the mac address of the eth devices. So If I get "address" in sequence from this pci bus locations and put them in ifconfig-eth0 to ifconfig-eth7 in order of PCI BUS location, my eth naming will be stable.  I tried:  find /sys/devices/ -name "address"   but it does not bring any results. I don't know why&hellip;   Any help here?
124165
I understood the very basic concept of how to use /etc/network/interfaces, but all I find online are examples, example after example, which I can copy-paste from. What I miss is an explanation of the syntax, an explanation of the meaning of the commands and which order the commands require. I want to understand, because most of the time copy-paste is not enough, because I'm not working on a fresh machine, so I can't just overwrite existing configurations because it would break a lot of stuff. man interfaces was not very helpful since it is written very complicated.  Example questions I have: what does inet in an iface line mean exactly (I could not even find it in the manpage), what does manual in an iface line mean exactly (many examples use it, but according to manpage it needs an extra config file then, which the examples don't present), when do I use or need them? When not? When I create a bridge, what exactly happens to the interfaces?
48448
I cannot find the proxy settings anywhere. Do I have to set it through terminal, through gconftools or is there some GUI present for it?
64807
If it's subnet then it should have 254 hosts. But it's showing me that it's my private ip address of my linux VM but it looks like subnet. If i use ip addr command it shows my ip is 10.0.1.178/24 as show below but if i use ifconfig command it show my ipaddres is 10.0.1.178 as show below Output of ip addr eth0: &lt;BROADCAST,MULTICAST,UP,LOWER_UP&gt; mtu 9001 qdisc fq_codel state UP group default qlen 1000     link/ether 02:e4:6b:7e:e5:ea brd ff:ff:ff:ff:ff:ff     inet 10.0.1.178/24 brd 10.0.1.255 scope global dynamic eth0        valid_lft 1928sec preferred_lft 1928sec     inet6 fe80::e4:6bff:fe7e:e5ea/64 scope link         valid_lft forever preferred_lft forever  Output of ifconfig eth0: flags=4163&lt;UP,BROADCAST,RUNNING,MULTICAST&gt;  mtu 9001         inet 10.0.1.178  netmask 255.255.255.0  broadcast 10.0.1.255         inet6 fe80::e4:6bff:fe7e:e5ea  prefixlen 64  scopeid 0x20&lt;link&gt;         ether 02:e4:6b:7e:e5:ea  txqueuelen 1000  (Ethernet)         RX packets 782364  bytes 646522004 (646.5 MB)         RX errors 0  dropped 0  overruns 0  frame 0         TX packets 363184  bytes 42400501 (42.4 MB)
94785
Yesterday I upgraded my Ubuntu by SSH but before I finished it, I restarted my computer. I know that was not very smart. Anyway now I don't have internet connection, the WiFi or Ethernet is not recognized.  When I try on the latest version installed, the mice didn't work. When I try with previous version and go in gnome-network manager it's said:     The system network service is not compatible with this version   Another thing is when I comeback to the remote computer and look at the SSH terminal the process have stopped at:  Setting up desktop-file-utils (0.20-0ubuntu2) ...  Configuration file `/etc/gnome/defaults.list'  ==&gt; Modified (by you or by a script) since installation. ==&gt; Package distributor has shipped  an updated version. What would you like to do about it ?  Your options are: Y or I:install the package maintainer's  version N or O : keep your currently-installed version D :  show the differences between the versions Z : start a shell  to examine the situation The default action is to keep your  current version. * defaults.list (Y/I/N/O/D/Z) [default=N] ?  Write failed: Broken pipe   Is there any simple solution other than I having to reinstall my system?
76525
I've always used the ifcfg-eth0:1 alias files to create additional addresses. However, in , it states that:     As the ip command of the iproute package now supports assigning multiple address to the same interface it is no longer necessary to use this method of binding multiple addresses to the same interface.    Furthermore, numerous answers and comments on this site mention that ifconfig is deprecated and that "ip" should be used instead.  I'm fine using it for live changes, but how do I persist the changes across reboots without using the alias files?