Debian :: Configuring Interfaces For Ethernet
Feb 27, 2016
I'm trying to connect my computer to an ethernet cable and having no luck, I looked up the problem and was told to put
Code: Select allauto eth0
iface eth0 inet dhcp
But after a restart the computer I still did not have access to the internet (aslo, dhcp is enabled on my modem, I checked)...
View 14 Replies
ADVERTISEMENT
Dec 20, 2010
Alright, every time I boot or shutdown my routing box, it hangs at configuring and deconfiguring network interfaces. Below is my interfaces file. I see no errors or warnings in my log and I am running a pure kernel, not tainted with proprietary drivers. All of my hardware is 100% supported.
[code]...
View 14 Replies
View Related
Jan 6, 2016
As above, my wheezy 32bit hangs at boot. the last few lines displayed are
Code: Select allMounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files...
Setting kernel variables ...done.
Setting up resolvconf...done.
Configuring network interfaces...
[Code] ....
I removed the files from /etc/network/interfaces.d/ just in case. i still can't boot up.
Resolved (I think) as on this post: [URL] ....
View 14 Replies
View Related
Oct 16, 2010
I have two interfaces, gprs0 and gprs1, both connected to the Internet from the same HW device, but through two different access points I just read another blog entry with a guy who had two network cards, using one as a back up - I guess this is a little similar, but should be much easier I am guessing - I am just lost Using ifconfig (IP address given by the network) and route to setup the connection,
ifconfig gprs0 10.20.30.40 up
route add default dev gprs0
ping 66.102.7.99 works fine
afterwards
[code]....
There is data being transmitted and received to device again, I guess the kernel just doesn't know where the incoming data should go without the correct routing tables? Or what exactly is going on?The question I have is how do I configure the device to do the correct routing, using only the ifconfig and route commands? Maybe too trivial for you guys, but I am getting tired of goofing around not knowing what is up and down anymore
View 1 Replies
View Related
Jul 1, 2010
It took almost one minute.How do I reduce the time?Also how do I undo the changes for update-rc.d networking defaults
View 2 Replies
View Related
Aug 17, 2011
I have two HP servers which have a total of 10 Ethernet ports each, both running RHEL 5.7. I need to make sure that Ethernet ports are mapped to the same devices in Linux on both systems (see below) because these servers must be identical (the second box is a drop-in replacement in case the first system fails).The ethernet ports on the first system are mapped as follows:
Device Port
eth0 Intel Dual Port Card, Port 1 (Rightmost Port)
eth1 Dual, Port 2
[code]....
View 1 Replies
View Related
Jan 4, 2010
We have a server and a target board. Most of the times I am able to mount the server through network file system. But sometimes it is observed that mounting hangs. When this happens, it was noted that both ethernet interfaces are up. Now when I make one down,mount works properly. The interface which I made down was having dummy(default) IP address, gateway etc.
View 5 Replies
View Related
Mar 12, 2010
I have an Ubuntu 9.10 machine with three ethernet interfaces, eth0, eth1 and eth2. eth2 is connected to a private network. eth0 and eth2 are connected to two different LANs. Either one will provide access to the internet. All three networks have DHCP servers. Using Ubuntu's the default settings (And Gnome), when I boot up all the interfaces are active and my system gets three IP addresses. However any attempt to access the internet results in connection timeouts and other weirdness.
I suspect that traffic is going out on one NIC (like eth0) and coming back in on another (like eth1). I'm not sure what's going on. The only way I can access the internet at the moment is to bring two of the devices down with ifdown. How can I configure eth0 as my primary interface so all trafic goes out by default on that interface, while keeping the other two active? Also, I want to make sure Avahi broadcasts properly on all three IPs so that the computers on the LAN of eth1 can still connect to myHostname.local...
Here's my routing table:
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
172.16.151.0 0.0.0.0 255.255.255.0 U 0 0 0 eth2
172.16.30.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
10.1.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth1
0.0.0.0 172.16.30.2 0.0.0.0 UG 0 0 0 eth0
0.0.0.0 10.1.0.1 0.0.0.0 UG 0 0 0 eth1
I want the 172.16.30.2 network to be the primary one and the 10.1.0.0 network to be the secondary one. My nameservers are also incorrect. It seems like Ubuntu is bringing the networks up in order, eth0, then 1, then 2, and the DHCP information from eth1 is overriding eth0, and eth2 is overriding eth1. How can I reverse this so the DHCP information from eth0 is the "master"? This seems to be an issue with Gnome's NetworkManager.
View 1 Replies
View Related
Dec 28, 2010
The ethernet configuration files are under
"/etc/sysconfig/network-scripts" such as "ifcfg-eth0:1" etc.
The file looks as follow:
Code:
DEVICE="eth0:1"
BOOTPROTO="static"
ONBOOT=no
IPADDR="172.23.17.10"
NETMASK="255.255.255.0"
ALIAS="yes"
I've set the ONBOOT=no. This means this device should not be activated at boot-time. But as I reboot the machine, this device is activated again. This means the option ONBOOT doesn't work. Seems this is a bug of RedHat LINUX?
View 3 Replies
View Related
Mar 2, 2010
Problem:I got a new Acer Aspire 8935G notebook, installed Ubuntu 9.10 on it and everything is fine, except the fact, that it wont detect any network interfaces (or how to call it So there are no ethernet or wlan connections available in the network-manager..
lspci gives me following lines:
joe@IGNAZ ~ $ lspci
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev
[code]...
View 9 Replies
View Related
Nov 3, 2010
I am using 3 machines in a LAN connected through a hub. My intention is to have a end-to-end connection between 2 machines so that I can control delay/loss rate. For that purpose, I am using a 3rd machine with 2 NIC and intend to use a bridge and installing Dummynet in this machine to control the traffic between the other 2 machines.I have successfully installed Dummynet in the bridge machine. Now I require to configure Ethernet bridge in the machine. What is the process? Do I need a kernel compilation or can be done without it? read somewhere that recent kernels can be configured without recompilation.I am using Mandriva 2010 with 2.6.31.5-desktop-1mnb kernel.
View 1 Replies
View Related
Apr 16, 2010
I have a system with one (sometimes two) ethernet ports, that works happily in an old Fedora 5 build. But I can't get it to work on a new Centos 5.4 build. Original system: One dedicated ethernet port on card always connected to the systems dedicated equipment and no external access (the system is the DHCP master for that network). An optional second USB dongle that is a second ethernet port, used for debugging and development. (This is a DHCP client with full conectivity. In /etc/sysconfig/network-scripts I have ifcfg-eth0, ifcfg-eth1 and a route-eth0. Neither of the ifcfg files needs an explicit HWADDR, which means the same ones work for all boxes. And when one needs to be connected to the network all is fine.
The system is being moved to Centos 5.4, most is working with minimal change, but I am having problems with the ethernet ports. If it only has the on board ethernet connected, all is fine. If you have the USB dongle connected things go wrong: This system brings up the USB ethernet first, and tries to assign it to eth0 (which fails), and then brings up the on board ethernet as eth1 (which also fails). I have tried forcing the behaviour of the network by setting the HWADDR(s), but this does not result in the on board coming up as eth0, it comes up as __tmpxxxx as follows:
ifconfig -a
__tmp226406138 Link encap:Ethernet HWaddr 00:80:66:07:A8:63
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
[Code]...
Currently the only solution is to unplug the USB dongle through restart and plug in afterwards, and this wont work when the unit is remote and in the field.
View 14 Replies
View Related
Aug 9, 2010
I have installed Unbuntu 10.4 Cloud Server. I have two servers:
Front End Server (clound-fe):
2 Dual Core 32 bit Xeon processors (They do not support Virtualization)
2 Ethernet Ports
[code]....
View 1 Replies
View Related
Sep 27, 2010
I am would like to configure postfix to send and receive email across Ethernet (just for now). I have two machines with postfix installed both using Ubuntu 10.04 directly connected with an ethernet cable. I have successfully configured a machine to send email to gmail, however i have been unsuccessful in having these machines send email back and forth. I have been interested in setting up a little mail server at home and have just been trying some simple projects with postfix to start with. At this moment i am using ip addresses and am not concerned with using a dns server
machine A: has a fixed ip of 10.137.202.1, hostname = mail.me.com,
machine B: has a fixed ip of 10.137.202.20, hostname = mail.ubuntu.com
in the /etc/hosts file I map each hostname to ip address receptively (not sure if a good idea, but at this point I have been trying everything)
So I will execute from Machine B
echo "Here is a message" | mail -s 'Hello' cmd@[10.137.202.1]
I currently get from mail.log timed out while receiving the initial server greeting. I get from mail.err valid hostname or network address required in server description #[10.137.202.1]. Obviously when I run the mail command from cmd user i do not receive anything. I can receive mail from myself if from machine A, I sent an email using the command above. I would just like to send email from machine B and receive it on machine A via direct Ethernet connection. I have been through postfix documentation and have also read the postfix definitive guide and have had no luck.
Here is a recent main.cf as I have tried getting this to work (this is for machine A however, similar for B)
# Debian specific: Specifying a file name will cause the first
# line of that file to be used as the name. The Debian default
# is /etc/mailname.
myorigin = /etc/mailname .....
View 2 Replies
View Related
Jan 7, 2010
I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.
It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"
Code:
ADVISEADDR:error in specifying interfaces: no existing ip interfaces found
#lspci
Code:
04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network
[code].....
View 5 Replies
View Related
Jan 25, 2010
I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:
Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255
View 12 Replies
View Related
Apr 16, 2010
If I try to add a new interface (eth1) to /etc/network/interfaces, I get
Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device
[Code]...
How do I add 2 interfaces and get anyone of them to work, as available ?
View 5 Replies
View Related
Jun 24, 2011
I'm using Debian Squeeze with backports turned on and I've installed connman and it cannot see my wireless networking interface. I know my wireless card has a working driver because I have WICD on the same system and it connects just fine.I am using the Enlightenment desktop though and it only integrates with the connman wireless manager - so I would prefer to use this instead of WICD. Anyone have any ideas on how I can get connman working? What extra configuration needs to be done after installing?
I added my user to have the same permissions as root to the /etc/dbus-1/system.d/connman.conf file and I added my tiwlan0 to /etc/network/interfaces as a DHCP connection with no changes in functionality :-/. Been searching around online and reading man pages for the last couple days with no good results. Any input would be awesome!
View 5 Replies
View Related
Mar 24, 2011
So I've always asked this in the past when I get on a Debian system. This makes no sense to me but I just don't see how I restart network interfaces (i.e. eth0) on a standard Debian install. If I change the static I.P. address listed in /etc/network/interfaces from x.x.x.100 to x.x.x.101, I then assume I can simply do any of the following:
- /etc/init.d/networking stop | start
- ifdown eth0
- ifup eth0
- service networking stop
- service networking start
All the commands above do nothing. My only solution I know that works and implements the changes I've made is a complete system reboot which to me in Linux, is ridiculous. I've struggled with this over and over and nothing I do correctly assigns the new I.P. in the 'interfaces' file to the actual adapter. This isn't my single isolated Debian machine but every Debian machine I can get my hands on. Servers, workstations, VM's, any release, etc etc etc. Below is my interfaces configuration file:
Code:
auto lo
iface lo inet loopback
[code]...
View 5 Replies
View Related
Jul 29, 2011
I recently switched from Ubuntu server to Debian server, and I carried over many of the same configurations. This is pretty much a fresh install.
I cannot get the default gateway to stick by using the /etc/network/interfaces. I can ping my default gateway but nothing beyond it either by name or IP. code...
I would like the default gateway to stick between reboots. Could someone point me in the right direction?
View 4 Replies
View Related
Mar 30, 2010
I had one of those random system deaths, so reinstalled squeeze (daily netinst image I think...) on my eee 1000, which uses an rt2860 wireless chip. The new install only installed 2.6.32, which I had been avoiding using because of a few problems, including it dealing with networking slightly differently. I couldn't get it to work - even without encryption - using wicd. Having had a read of [URL]... , I had a look at /etc/network/interfaces, which read; This file describes the network interfaces available on your system and how to activate them. For more information, see interfaces(5).
[code]...
ra0 is now called wlan0, as far as I'm aware. I've read in several places that it is best to expunge this file of all references to wifi, so I removed the bottom section (after '# The primary network interface'). I still got nothing. However, if I go ahead and change the 'ra0's to 'wlan0's, it seems to work - wicd connects. Not very familiar with Debian (spent more time on SUSE. Drop your tomatoes - I like it. Any idea what is happening? Is what I'm doing wrong? Conversely, is the file wrong? Should it be reported? Against which package? Including any particular files?
View 2 Replies
View Related
Jun 16, 2010
I have a netgear wg111t that is running with ndiswrapper. It has an atheros chipset, but calling it ath0 didn't work.
Heres /etc/network/interface :
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface auto lo
iface lo inet loopback
View 6 Replies
View Related
Sep 5, 2015
I just installed qemu and want that my VM should have net access too. So for that I installed bridge-utils and used URl....Add both the interface with the second computer, and the interface that leads to the existing network. Do it with this command: # brctl addif br0 eth0 eth1
View 1 Replies
View Related
Nov 5, 2015
My Iceweasel is not consistently opening pages. This is new behavior after changing the /etc/network/interfaces file for setting up bridging. The home page is advanced google search. When Iceweasel opens to google, I get a message saying the site is not secure and won't open it. Inputting [URL] ...., it takes about 90 seconds before it opens the site then freezes. If I go to forums.debian.net, the site is fully navigable, if I put anything in the Iceweasel search bar, it freezes.
View 3 Replies
View Related
Mar 23, 2011
I installed my new debain.(6.0) but its all code. (i looked it up, i need a a win X or GNOME). but since i dont know code based interfaces, how do i install it on the computer. (once Ive got my visual interface im generally fine till i hit advanced)
View 10 Replies
View Related
Aug 8, 2015
I have a laptop connected to internet via wlan0. I also have eth0 interface and with it I share internet. I want to modify/filter all the traffic passing by the first laptop, something like this:
Code: Select all          *---------------------------*
          |    LAPTOP 1      |   *--------------* ?
          |-----*  *------*  *----*   |       |
  INTERNET<------>|wlan0|<-->|MY_APP|<-->|eth0|<---->|ANOTHER LAPTOP|
          |-----*  *------*  *----|   |       |
          *---------------------------*   *--------------*
I know that in FreeBSD it is possible to use ipfw for that purpose, because it build-in into kernel. We set for example rule Code: Select allipfw add divert 2000 ip from any to 1.0.1.1
and we can use our own application to process those packets, reinject them forward etc. It will work also fast, because as I said, it build into kernel.
Is there any standart Linux-based solution to do the same? I found some info about netmap-ipfw. Is this a correct solution? Or I have to use for example IP-aliases and iptables to do that?
I need to process all the IP-packets, not only TCP/UDP/etc-protocol. Solution also must be very fast.
View 0 Replies
View Related
Mar 29, 2010
I have a rather urgent problem with my network, I got two virtual network interfaces one internal and one external. The problem is; I can't get connection to internet. The external NIC is set as a NAT and the internal is... internal.
/etc/network/interfaces
auto eth1
iface eth1 inet static
address 192.168.1.200
netmask 255.255.255.0
Running with this configuration makes my internet connect go away, however if I remove the configuration for eth1 everything is working fine.
View 3 Replies
View Related
May 11, 2010
My new Squeeze machine detects all of my hardware including the LAN and WLAN cards, but only brings up the LAN card. There isn't even an entry for it in /etc/network/interfaces for me to modify. I tried adding the info manually but then the entire network wouldn't start. I had it configured as a static IP and I know the commands were correct due to them working on the LAN card. I believe that the name "wlan0" was causing the problem, but how else can I bring it up at boot?
View 7 Replies
View Related
Jan 10, 2011
I was just wondering if there's any point having both auto and allow-hotplug against the same interface in network/interfaces as allow-hotplug seems to bring an interface up at boot on its own.
View 3 Replies
View Related
Jun 27, 2011
I have a Dell PowerEdge SC430, Squeeze 6.0.2 box, Broadcom NetXtreme NIC which works fine DHCP. The network-manager package is not installed. I have now reconfigured /etc/network/interfaces for a static IP:
auto eth0
iface eth0 inet static
address 192.168.1.2
[code]....
View 7 Replies
View Related