The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
8 views

characteristics of interface type dummy

I've configured an interface 'nonlocal' with type dummy ip link add nonlocal type dummy on that interface are some IPv6 addresses configured. Now an apache can start with some ip based vhosts on ...
1
vote
1answer
187 views

Metasploitable 2 on VirtualBox. Virtualbox Host Interface Networking Error

I get this message when I try to run Metasploitable 2 on VirtualBox VM 5.0.0 win.amd64: Failed to open a session for the virtual machine Metasploitable 2. Failed to open/create the internal network ...
5
votes
1answer
128 views

How to find out the number of network interfaces available in a linux system?

I need to loop over the network interfaces available in Linux. I'm interested in all kinds of interfaces (loopback, ethernet, vlan, bridge) - whatever shows up in ifconfig -a. Is there a way to ...
0
votes
0answers
8 views

I wish to move SBC flash image to new board and maintain network interface indexing

I wrote a small php application on a SBC. I created a disk image from the CF card. When I write the image to a new CF and install on a new SBC the interface index numbers (I hope I am stating that ...
0
votes
0answers
41 views

Create the button's action with glade

I used linux glade to create interfaces of a bash script but I can not configure the button's actions the first interface asks the user to choose the type of the query. When they click the button ...
1
vote
0answers
83 views

Add vlan to interface with unique mac - different syntax for different Linux distros

I need to add a subinterface to an existing interface, which is on a VLAN. Furthermore, the subinterface must have it's own MAC address. Through the man pages I found this syntax which works fine on ...
1
vote
0answers
51 views

Linux choke on interface labels > 16 characters under Fedora 20+

I have an app that creates a subinterface (appending :ABCDE to the associated NIC label). This worked fine when interfaces were labelled something like eth0 or eth1. However, under Fedora 20 (and ...
0
votes
1answer
48 views

SUSE 12 setting up virtual network interface

I'm struggling to setup virtual eth interface on Suse 12 When I run: ipconfig eth0:1 10.0.0.2 netmask 255.255.255.0 Output from ifconfig is as expected: eth0 Link encap:Ethernet HWaddr ...
2
votes
0answers
207 views

Connecting to two ISP in local network using two different network

We have two ISP 1. BSNL (INDIA), 2. Airtel (INDIA). we getting Bsnl internet through D-Link DSL 2750U modem which holds the IP 192.168.1.1, Airtel internet modem with 192.168.2.1 IP address, Here it's ...
1
vote
1answer
567 views

How to save customized interface of DeadBeef?

DeadBeeF has a new option, 'Designer mode' allowing to modify the displayed features, modules, addons, in the way Foobar2000 is doing by its layout editing mode. Example of difficulty: All ...
1
vote
0answers
113 views

How to populate /etc/network/interfaces automatically

I am trying to populate /etc/network/interfaces with a dhcp config for all interfaces at the first system boot (Debian 7.6 server). I modified the script in : /lib/udev/write_net_rules by adding: ...
1
vote
1answer
142 views

Binding to not existing interface

I've just noticed the very weird situation I don't have a good explanation for. The machine (debian) has one interface with one IP address assigned: # ifconfig vmbr0 |grep inet inet ...
0
votes
0answers
138 views

How to merge two network interface in one?

I have two network interface on my router: wlan0 and wlan1. First for 2.4Ghz and second for 5Ghz. Also i have Coova-chilli with setting HS_LANIF=wlan0. Therefore captive portal (chilli) work for only ...
1
vote
0answers
36 views

Why do I get “authentication” errors on this “Open” configuration?

I have the following ifcfg-wlan0 file: DEVICE=wlan0 BOOTPROTO=none ONBOOT=yes IPADDR=192.168.5.1 NETMASK=255.255.255.0 NETWORK=192.168.5.0 NAME=wlan0 USERCTL=no the following dhcpd.conf file: ...
3
votes
2answers
165 views

Is there an equivalent book/resource to “The Linux Programming Interface” for FreeBSD? [closed]

Most of you here are probably aware of the famous The Linux Programming Interface, which presents a truly masterful guide to the Linux and general POSIX APIs. I know that much of the general POSIX ...
1
vote
1answer
2k views

RHEL5/6/7 : If NM_CONTROLLED is not set what is the default value?

If /etc/sysconfig/network-scripts/eth0 does not include any NM_CONTROLLED setting on a RHEL-based distribution, what's the default behaviour? Is there any difference in the default setting between ...
3
votes
2answers
1k views

Primary network interface in Linux

I have a server box with two interfaces. One of the interfaces is connected to the internal network, another - to external. I have assigned IP 192.168.1.200 to internal interface (eth0). I have some ...
1
vote
3answers
10k views

How to see if an interface is connected in Centos/Linux

With Centos installed on a server with 2 onboard ethernet ports, how can I check which port has an IP? In windows you can go to network & sharing center and you can see the network interface with ...
1
vote
1answer
137 views

How does Fedora name wireless interfaces?

Until recently, my network interfaces were always named eth{0..x} or wlan{0..x} depending on what type they were. However, now I see that I have em1 for the ethernet card and wlp3s0 for the wireless. ...
2
votes
1answer
554 views

What does lo in iptables mean exactly?

I have seen countless examples of this rule in iptables: -A INPUT -i lo -j ACCEPT I thought lo means localhost (a.k.a. 127.0.0.1), but when I commented it out, I can't access the server using its ...
13
votes
1answer
18k views

Good detailed explanation of /etc/network/interfaces syntax?

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 ...
2
votes
0answers
35 views

Manually adding static ip not resolved after a while

Hi Unix/Linux community, I have a small problem with a device I am connecting to my laptop, running Debian Linux. While connected to a router on my wlan1 interface (using wicd, if that matters), I am ...
0
votes
0answers
2k views

No wireless interface detected in Linux

I'm using Backtrack5R3 via bootable CD and getting no wireless interface found output. These are the o/p of commands by which you can get details of my problem. My laptop model is Lenovo b490(20205). ...
1
vote
1answer
261 views

Define specific TTL for each interfaces

After some research, I was wondering if it was possible to define a TTL by interface as I can the Hop Limit definition in ipv6. To change the TTL in IPv4, I can change the file ...
1
vote
1answer
812 views

Route HTTP traffic thorugh different interface

I have my normal eth0 interface and an setup ppp0 interface, the problem I have is that I want to exclusively route all HTTP/HTTPS traffic through the ppp0 interface and everything else through the ...
2
votes
0answers
56 views

How to route traffic to different interfaces for different ports [duplicate]

I have an eth0 connection providing internet connection through a proxy server only for port 80 and 443 (provided by university). For ssh, git and related purposes, I got a different connection on my ...
1
vote
1answer
1k views

Remotely accessing cassandra running on local loopback IP/port 127.0.0.1

I have been using ccm for some time and it's pretty awesome tool to test out admin stuff. Now, I really want to test modeling data by trying to access ccm running cassandra using Thrift based ...
9
votes
4answers
16k views

How to use ifconfig to show active interface only

By default ifconfig will show me all available interfaces , but what if I just want to display active ones? Like, en0 only in below. en0: ...
3
votes
0answers
3k views

How do I force ssh to use a second interface with higher metric?

I have a Crunchbang VM with two interfaces, eth0 and eth1, each of which connects to an OpenWRT VM (eth0 being 10.232.64.20 and eth1 being 10.232.65.20). I'm using Network Manager and DHCP. My ...
1
vote
2answers
758 views

Linux Operating System Graphical user interface [closed]

So I am currently looking into operating systems at the moment out of interest and have read quite a few articles and guides on making your own, I found Linux and how its possible to create your own ...
1
vote
1answer
64 views

retrieve the host interface name used by a VirtualBox interface in “bridged mode”

I need to retrieve the tuntap interface name used from my the VM interfaces in "bridged adapter" mode. I found that this information resides in the xml file of the VirtualBox VM under: val ...
1
vote
1answer
4k views

CentOS 6.2 black screen…help

I'm facing some problems with the CentOS graphical interface. When I try to reboot the machines, it seems everything okay. I can connect to the machine through ssh from other machine and it has no ...
1
vote
0answers
441 views

Difference between virtual interfaces with ifconfig and iproute2

I am wondering what is the difference between: # ifconfig eth0:0 1.1.1.1/24 and just # ip addr add 1.1.1.1/24 dev eth0 Btw I cannot do # ip addr add 1.1.1.1/24 dev eth0:0 RTNETLINK answers: ...
0
votes
1answer
257 views

Not able to run vnstat unless as root in debian 7

So, I need to run this command: vnstat -tr 2 But as a user I just created, not as root, as root it works fine, but as a regular user I get this: Error: Unable to get interface "eth0" statistics. ...
3
votes
3answers
2k views

Why is delay after ifconfig down needed before up if changing MAC address?

Hi I made bash script to put down my interface, change MAC address and get it up again. #!/bin/bash INTERFACE_STATUS=$( cat /sys/class/net/eth0/operstate ) echo "$INTERFACE_STATUS" if [ ...
0
votes
0answers
257 views

Centreon Web Interface Slow

Our Centreon web interface is so slow ! about 3/4 mins to have my click's results ... While Nagios is working perfectly ... Thanks to Google, i guess it comes from mysql. But I can't understand ...
2
votes
1answer
137 views

Troubleshooting internet connectivity

Recently I see that I often lose internet connectivity on my Linux machines. I am starting to think that it may be a router problem, but I have no idea to check if this is indeed the problem. ...
2
votes
3answers
1k views

What are the interface prefix meanings in ifconfig?

I'm not sure if these have a name, but on most computers I use the interface prefixes are usually: eth- : Ethernet/Wired wlan- : Wireless/WiFi However, on my ASUS RT-N56U, I have the following: ...
0
votes
1answer
139 views

Renamed network interfaces [duplicate]

A recent update on my Mint system caused the eth1 to end up being renamed as eth3 and therefore breaking all my firewall & forwarding rules. How does this happen? How can I enforce the network ...
1
vote
1answer
441 views

Postfix uses the interface alias instead of the primary interface

When sending e-mail with /usr/sbin/sendmail (e.g., using a script), Postfix causes the mail to be sent using one of the host's interface aliases (eth0:0, 74.50.122.55) instead of using the primary ...
0
votes
1answer
390 views

Regex awk to Cisco Interface

I would like to know if have some Sed/Grep or Awk regex to parse Cisco interface section, with specific attribute, like bellow. Content of file.txt ! interface FastEthernet0/1 no ip unreachables ! ...
0
votes
2answers
373 views

CentOS GUI problem using Gnome

For some reason lately when I try to set the date using the interface, or simply install a .rpm by double clicking the dialog that should prompt me to input my passowrd just shakes like it has a bug. ...
2
votes
1answer
67 views

switch network on and off of a virtual remote server

I need to perform a testing panel which disconnects a network cable and connect it again on a specific virtual server via a php web page. I found that ip & ifconfig can disconnect a network, but ...
2
votes
1answer
1k views

Wait for interface to brought up before UDHCP

I am using an embedded linux distro with busybox utilities. During system boot I am configuring my interface via DHCP in startup scripts. /etc/rcS.d/S40networking |---------> ifup ...
5
votes
2answers
4k views

Network naming on Arch Linux

I've just installed Arch Linux on my old PC, to do the installation I used wifi-menu wlan0, now I've reboot but if I type: ifconfig wlan0 up I have as a result: wlan0: ERROR while getting ...
1
vote
1answer
3k views

How do I set up several interfaces all bridged onto eth0?

I have found several guides to bridging a single interface (eg br0) onto eth0 but none for multiple interfaces (eg br0, br1 etc). Is this possible?