LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-07-2007, 06:01 AM   #16
Zelige
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
OpenDNS running


Thanks for all the help - OpenDNS is up and running.
 
Old 07-07-2011, 09:13 AM   #17
jetole
LQ Newbie
 
Registered: Feb 2008
Posts: 9

Rep: Reputation: 2
Quote:
Originally Posted by netjack View Post
Code:
$ sudo ifdown eth0 && sudo ifup eth0
Quote:
Originally Posted by netjack View Post
Code:
ifdown: interface eth0 not configured
Ignoring unknown interface eth0=eth0.
Quote:
Originally Posted by gcordoba View Post
About the eth0 confiuration, I found that in my interfaces, the lines
eth0 auto
iface eth0 inet dhcp
were comented. Once I delete the comment the eth0 was not longer reported as "not configured".
gcordoba got this right. "Ignoring unknown interface" error has nothing to do with drivers or if you have the device, etc and also you should never configure your Ethernet device in /etc/rc.local. ifup and ifdown, as the manual says, is entirely based on the configuration of /etc/network/interfaces. If ifup says "Ignoring unknown interface eth0=eth0." Then that is because the device is not configured in /etc/network/interfaces, essentially ifup doesn't know how it should start eth0 (Is it DHCP? Is it static? If so what is the address? etc). /etc/network/interfaces should be the only place where you edit your networking configuration on Debian, Ubuntu or pretty much any Debian based distro.

TO quote the DESCRIPTION[sic] right at the top of the man page for ifup: The ifup and ifdown commands may be used to configure (or, respectively, deconfigure) network interfaces based on interface definitions in the file /etc/network/interfaces.

To learn more about how ifup works and how to properly setup /etc/network/interfaces, run the commands man ifup and man interfaces.

If you are running any recent enough version of Ubuntu (and I don't think it has to be that recent either) then there is also a nm-applet icon in the system tray which is linked to /etc/init.d/network-manager (or /etc/init/network-manager.conf if you have a recent enough edition to use upstart, 10.04+ I think) which allows you to setup /etc/network/interfaces through the GUI, activated in real time, without needing to understand ifup, interfaces or any of the other command-line/console options.
 
  


Reply

Tags
configuration, device, network, opendns


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
network device down varun_saa Mandriva 16 02-10-2010 08:11 AM
Where is the network device? essdeeay Linux - Networking 1 04-21-2006 10:10 AM
3c905C network card in docking station. Cannot activate network device eth0. pathelms Linux - Networking 4 04-12-2006 02:55 PM
Network card not working? Cannot activate network device eth0 lifeonitsown Linux - Networking 1 11-17-2005 06:30 AM
no network device?!?! sjefke37 Linux - Newbie 8 03-28-2004 12:58 PM


All times are GMT -5. The time now is 01:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration