ifconfig (short for interface configuration) is a system administration utility

learn more… | top users | synonyms

0
votes
1answer
19 views

Can not configure eth0 and eth1

I have two physical networks: eth0 192.168.0.0/24 with with several PCs and NAT adresss 192.168.0.1 where PPPoE connecting to inet; eth1 192.168.0.1/24 with several PCs and no internet. auto lo ...
3
votes
2answers
6k views

eth0 NO-CARRIER, ifconfig shows no IP address

I left Ubuntu and came back after a while so I don't remember much. Now I'm trying to get my IP address. All I'm getting from running ifconfig is eth0 Link encap:Ethernet HWaddr ...
0
votes
0answers
10 views

How do I get reputation on http://askubuntu.com/ [migrated]

How do I get reputation on http://askubuntu.com/ I would like help please
0
votes
0answers
71 views

VirtualBox Ubuntu 14.04 - Bridge adapter not working

I'm having some troubles setting up my network connection using the Bridged Adapter configuration. I'm just starting with Linux and even if I was going through different forum discussions on the web, ...
4
votes
1answer
10k views

Connecting to internet after clean install of ubuntu server 12.04

I've installed ubuntu server on my computer. I would like to connect to the internet to download more software. I've done: ifconfig eth0 up so when I print ifconfig I can see the eth0 listed, but ...
0
votes
0answers
19 views

Is that right configuration?

I'm new to ubuntu and networking too i used ip addr to check the ip address and got 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default link/loopback ...
1
vote
0answers
21 views

How can I use multiple network connections from the same host?

Suppose I could use both a wired and wireless connection; now, let's say I want to run firefox using the wireless and steam using the wired, how can I achieve that? How can I plug them in? First ...
0
votes
0answers
219 views

Cannot configure eth0 in Ubuntu Server 15.10

My system just went a bit crazy past night. It was fully working, and nobody touched it. I configured a static public IP in my Ubuntu, and I could connect to it everywhere (My system accepts public ...
1
vote
0answers
27 views

Odd interface when running sudo ifconfig

So, I've noticed an odd looking interface... Apparently, it has it's own MAC address (which I don't even know where it came from... Attempting to perform an OUI lookup on it returns no results...) ...
4
votes
5answers
28k views

ifconfig : Command 'ifconfig' is available in '/sbin/ifconfig'

My question is related to another open question. My echo $PATH gives me an output which is like ...
6
votes
1answer
38k views

Is it possible to use Ifconfig to switch an interface to DHCP and if not, what is the best way?

I have just set up a new Ubuntu server and I am going to be doing a lot of networking tests. During setup, I simply skipped the network step. I now need to switch between DHCP and an address quite ...
0
votes
1answer
4k views

Ubuntu-server first start

How do you change network settings? ifconfig gives ip 192.168.122.1 (I ping it and the Ethernet card works) I use sudo vi /etc/network/interfeces then after editing auto eth0 ifaces eth0 inet ...
4
votes
1answer
170 views

Find MAC address in the filesystem

My laptop is down, but I need to extract its MAC address thas was previously used to establish wifi connection. The filesystem was cloned, so I am trying to find any configurational file which ...
0
votes
0answers
17 views

upstart my.conf ifconfig changes seem to either have no effect, or get overwritten during startup

I have installed an upstart script like this: # This needs to go into the /etc/init/ folder description "Run MCP" start on runlevel [2345] stop on runlevel [016] console output script # ...
2
votes
2answers
7k views

What does interrupt in eth0 mean?

I wonder if "Interrupt" affects internet connection. eth0 Link encap:Ethernet HWaddr 60:eb:69:6c:55:83 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 ...
1
vote
1answer
380 views

scripts in if-up.d not executed when ppp connection is created

I have a simple script "test" in /etc/network/if-up.d directory. The script contains below commands. It creates a empty text file, whenever an interfaces changes state from down to up. #!/bin/bash ...
1
vote
0answers
101 views

ipv6 global address missing after link flap

in linux/ubuntu after the link flap on an interface the global ipv6 address is flushed out & not seen in ifconfig. Any kernel patch/sysctl to retain the ipv6 address configured after the ...
0
votes
1answer
53 views

usb Ethernet adapter disapear after Stoping network-manager service

I am using D-Link (DUB-E100) for handling 2 seperated network under linux ubuntu 14.04. at first i have 2 eth on my system . ifconfig yields: eth0 Link encap:Ethernet HWaddr b8:ae:ed:70:27:3e ...
4
votes
5answers
30k views

Is there a safe way to disable DHCP from command line?

Short version I know this question is very similar to others and I did really search the Internet for answers, but it seems that no approach is working or the solutions seem to be "to complicated to ...
3
votes
3answers
7k views

NetworkManager problem with 'cloned MAC address'

My problem is that at univ. each desktop computer is given a 'fake'/'cloned' MAC address which is recognised by our network and let us in without further authentication/VPN and the likes (don't ask ...
0
votes
0answers
41 views

Use systemd to “mount” wlan0 at boot

Context (if needed) : at boot, the service "myservice" is launched. It manages to "up" the wlan0 interface. But it does not exist yet at boot. ifconfig, after boot, lists only eth0 and lo. If ...
0
votes
1answer
70 views

cannot ping localhost

I am not able to ping localhost ashish@ashishk:~$ ping localhost PING localhost (127.0.0.1) 56(84) bytes of data. ^C --- localhost ping statistics --- 16 packets transmitted, 0 ...
0
votes
0answers
24 views

Networking Issue, Binding on 14.04

IPs routed at the switch just fine. interface Vlan100 ip address xxx.xxx.235.1 255.255.255.0 secondary ip address xxx.xxx.236.1 255.255.255.0 secondary ip address xxx.xxx.237.1 255.255.255.0 ...
0
votes
1answer
40 views

Xubuntu Install-No Network

I installed Xubuntu 14.04 clean on a Dell Vostro 1000 and now I have no network at all. Entering ifconfig gets a return of ifconfig not found. Everything was fine from the live disk.
0
votes
2answers
100 views

wlan0 interface is missing

Whan I ran;: ifconfig eth0 Link encap:Ethernet HWaddr xxxxxxxxxxxxxxxxx inet addr:192.168.1.7 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: xxxxxxxxxxxxxxxxxxxxxx ...
0
votes
2answers
96 views

How to change priority interfaces

I have 3 network interfaces : lo, new0 and new1. I use the new1 to access the internet. My computer went nuts a few days ago and try to access the internet on lo. (localhost). When i ifconfig lo down ...
2
votes
1answer
106 views

Internet not working on Ubuntu 14.04.01 LTS

I am unable to connect to the internet from within Ubuntu (version 14.04.01 LTS). I've tried solutions in related forum posts, but none of them have worked so far. Any help to resolve this would be ...
1
vote
1answer
18 views

Problems turning off the wireless card

I am trying to turn off wireless using the ifconfig command ifconfig wlan0 down and nothing happens no errors displayed in the terminal and wireless networks are still displayed in the network ...
1
vote
2answers
377 views

It is impossible to bring down tun interface

I cannot either bring down or delete a tun interface which is added on startup. Here's the output when I type ifconfig: eth0 Link encap:Ethernet HWaddr 50:b7:c3:92:38:e2 UP ...
0
votes
4answers
210 views

No Wireless Internet Connections Show Up!

Just got Ubuntu on another computer and I've never had this issue. On Windows Vista, (the operating system alongside Ubuntu) The internet works fine. But when I click on the icon in the top right, ...
1
vote
0answers
341 views

Script in /etc/network/if-up.d not executing when eth1 is on

I have a script in /etc/network/if-up.d . My intention is that script will execute automatically whenever my eth1 interface is up. But it is not happening. The script also have 755 permission level. ...
0
votes
0answers
49 views

Force a process to use a different network interface

If i have two separate connections. Let's say 3G on usb0 and wifi on wlan0. How can i easily ask for let's say transmission to download only with wlan0 and firefox to use usb0.
0
votes
0answers
7 views

iwconfig and ifconfig don't show wlan0, can't connect to wifi [duplicate]

iwconfig and ifconfig only list eth0 and lo. The network card is listed in lspci, however. How can I get my wifi back? Output from lspci -nn | grep 280: 02:00.0 Network controller [0280]: Realtek ...
0
votes
1answer
211 views

Even after removing vlan entry in /etc/network interfaces file, ifconfig is showing the intreface

I had set up a vlan in interfaces file. Later on, even after removing the entries and restarting network, the ifconfig command is displaying that interface. Even ifdown isnt taking it down. Ifdown ...
7
votes
2answers
18k views

How to rename an Ethernet interface?

As my built-in NIC was not supported by Ubuntu out-of-the-box I was forced to use a USB NIC for temporary installation-time Internet connection. And the USB NIC has taken the eth0 name making the ...
1
vote
1answer
175 views

ifconfig sets wrong broadcast until ran again

This issue is very confusing for me. ifconfig sets a different broadcast address then specified, until I run the same command again. I'm trying to change the eth0 interface: inet addr:172.23.5.1 ...
1
vote
0answers
26 views

Using Multiple IPs for the same interface for different application?

I want to do some IP aliasing, but I want my browser to use a different IP from the IP for BitTorrent. For example: I want the browser to use this IP for example 192.168.1.45 and BitTorrent to use ...
0
votes
0answers
78 views

How cleanup configuration of network interface without ifdown

I'm trying to develop a wifi remote configurator. Now I'm fighting with ifdown command. This command work good if you use the right "sequence": ifup wlan0=wlan0-HomeWiFi ifdown wlan0 but when I ...
0
votes
0answers
88 views

no inet 6 address-sftp and ftp not working and no eth1 showing on ifconfig.

I am trying to transfer files between a ubuntu 12.04 server and a 12.04 desktop using sftp. it told me that the connection had been reset by peer(port 22) and doesn't work. However, the ftp doesn't ...
0
votes
1answer
130 views

What is the difference between “Cloned MAC address” in “Edit Connection” GUI and ifconfig command?

I found that there are at least two methods to assign a spoofed MAC address to my network connection: Assign a MAC address to a connection using "Edit connection" GUI in WiFi (or Ethernet) tab ...
1
vote
1answer
4k views

How to change wlan0's channel

When setting the channel to wlan0, I get an error: SET failed on device wlan0 ; Device or resource busy. I tried to shutdown wlan0 by: sudo ifconfig wlan0 down and wlan0 did not appear in the ...
0
votes
1answer
7k views

How to change internal IP address from DHCP to static?

I have a pc running Ubuntu server 14.04.1. The internet was set up using DHCP I believe. I want to keep the same IP and subnet I have now but just change it to static for the internal IP.
1
vote
2answers
1k views

What's the difference between `ifconfig`, `interfaces`, `ifup` and `ifdown`? [duplicate]

I'm somewhat new to network interfaces and I'm confused with the difference between the 4 terms. I've seen the related question here: What is the difference between Network Manager and ...
0
votes
1answer
270 views

use of eth0 and wlan0

I have a simple Arduino HTTP Server and I want to browse this server from my Ubuntu. If I assign to Arduino an IP 192.168.0.9 and I connect the Arduino HTTP Server to my router (to any of the 4 ...
28
votes
3answers
18k views

What is the difference between Network Manager and 'ifconfig' 'ifup', etc?

Ubuntu seems to provide at least two network "toolsets" (for lack of a better term). I'm running into conflicts between these two. Network Manager Something which is more like the traditional ...
0
votes
1answer
91 views

Ubuntu Server , Installed Hdd into another computer and now have no internet connection

EDIT: NVRM I figured it out on my own.. I needed to edit a file and remove the Previous eth0 and then rename my eth1 to eth0. I would like to set a static IP adress though if anyone wants to help me ...
0
votes
1answer
46 views

I could'nt use ethernet in windows so i installed Ubuntu14.04 but its same.i ran the commands results are below

tonycarter@tonycarter-Inspiron-3521:~$ ifconfig lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK ...
2
votes
2answers
4k views

Losing ip addresses, during cable disconnects

I have two Ubuntu PCs whose network cards connected directly to each other with cross-over cable. I have assigned ip addresses manually to their interfaces using command similar to ifconfig eth0 ...
2
votes
3answers
132 views

Finding all other workstations on the network

at my home I have both workstations directly use Ethernet cables to connect to router, and also a few laptops/mobile devices that connect to wifi. Is there a command in linux to see list of all ...
0
votes
2answers
970 views

Bonding interfaces not working

Everytime I put in the following code (below). The problem is that network devices become unmanaged. I set the managed to true. That didn't work. when I do the ifconfig it is missing the "bond0" ip ...