LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2013, 09:44 PM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Rep: Reputation: Disabled
[SOLVED] Where is ifcfg-eth0 File In Debian 7?


I have been using CentOS for a while now and ive switched to Debian. I am trying to setup bind9 dns server and I need to edit files that would be in the directory
Code:
/etc/sysconfig/network-scripts/ifcfg-eth0
however I found out that there is no such directory on Debian.

Where would this file be on debian? I need to setup a dns asap, I have tried already
Code:
/etc/network/interfaces
and whenever I add anything into that file I get an error saying debian cant read the file.

Thaknks!

Last edited by Altiris; 06-02-2013 at 08:25 AM.
 
Old 06-01-2013, 12:34 AM   #2
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Just have a look into: http://www.debian.org/doc/manuals/ne...r/ch-bind.html
 
Old 06-01-2013, 01:01 AM   #3
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
This is not urgent for us, please don't demand urgent help from a voluntary community. Instead you should use a useful and informative thread title.
Maybe if you spelled "eth0" correctly that might help.
Quote:
/etc/sysconfig/network-scripts/ifcfg-eh0/
jdk
 
Old 06-01-2013, 03:38 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
@Altiris: shivaa already gave you a Debian based document about setting up bind.
This document describes Debian networking: Chapter 5. Network setup

@jdkaye: Debian does not use the /etc/sysconfig/network-scripts/ifcfg-XXX convention.....
 
Old 06-01-2013, 04:07 AM   #5
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
@jdkaye: Debian does not use the /etc/sysconfig/network-scripts/ifcfg-XXX convention.....
Thanks, druuna. Yes, I know that. I could find no trace of it. I was just pointing out a misspelling in the command.
jdk
 
Old 06-01-2013, 08:15 AM   #6
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
I typed that command by hand on on a seperate computer so it's not really that big of a deal, I got the title correct though. Thanks for your help. When I type urgent I'm just trying to draw more attention because I really do need to get this finished, I understand its not urgent for you (obviously since you guys aren't experiencing any problems).

Thanks for the guide, I didn't see anything similar to the ifcfg-eth0 file so I am guessing it doesn't need to be done on Debian.

Last edited by Altiris; 06-01-2013 at 08:24 AM.
 
Old 06-01-2013, 08:40 PM   #7
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Bump please, sorry.
 
Old 06-02-2013, 03:01 AM   #8
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387Reputation: 2387
Quote:
Originally Posted by Altiris View Post
Bump please, sorry.
Not sure why you bumped this thread, I can only assume you're still not clear about what's been said earlier. Let me elaborate a bit:

Debian and CentOS differ on many points, the way networking is set up is one example. The concepts are the same, but the implementations differ.

Your first post tells us that you want to set up bind on Debian and ran into a difference between Debian and CentOS, which is correct. If bind is what you are after follow the 2 manuals posted by shivaa (the bind manual) and me (the networking manual). Do start with the network manual, a correctly set up network is essential before starting with bind.

Last edited by druuna; 06-02-2013 at 05:43 AM. Reason: removed repetitive sentence
 
Old 06-02-2013, 03:19 AM   #9
jdkaye
LQ Guru
 
Registered: Dec 2008
Location: Westgate-on-Sea, Kent, UK
Distribution: Debian Testing Amd64
Posts: 5,464

Rep: Reputation: Disabled
It's not important for this thread but for the record you've managed to misspell eth0 once again.
Quote:
/etc/sysconfig/network-scripts/ifcfg-eht0
If you think of it as the first 3 letters of ethernet followed by a number that may make it easier for you.
It may not be important but you must admit it is funny.
jdk

Last edited by jdkaye; 06-02-2013 at 03:20 AM.
 
Old 06-02-2013, 08:23 AM   #10
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jdkaye View Post
It's not important for this thread but for the record you've managed to misspell eth0 once again.

If you think of it as the first 3 letters of ethernet followed by a number that may make it easier for you.
It may not be important but you must admit it is funny.
jdk
I'm on a phone.
 
Old 06-02-2013, 08:24 AM   #11
Altiris
Member
 
Registered: Mar 2013
Posts: 554

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by druuna View Post
Not sure why you bumped this thread, I can only assume you're still not clear about what's been said earlier. Let me elaborate a bit:

Debian and CentOS differ on many points, the way networking is set up is one example. The concepts are the same, but the implementations differ.

Your first post tells us that you want to set up bind on Debian and ran into a difference between Debian and CentOS, which is correct. If bind is what you are after follow the 2 manuals posted by shivaa (the bind manual) and me (the networking manual). Do start with the network manual, a correctly set up network is essential before starting with bind.
Oh my bad I didn't notice the network setup guide you gave me, sorry bro. I need to look better.
 
  


Reply


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
Ifcfg-eth0 not found iftikhar.tutul Linux - Newbie 10 10-11-2013 02:02 AM
[SOLVED] Network eth0 activated upon boot in ifcfg-eth0; but no network connection after login TomRaaijmakers Linux - Networking 1 06-17-2010 09:29 AM
fedora/redhat: ifcfg-eth0 and ifcfg-eth1 Shaun2222 Linux - Networking 9 01-23-2008 04:25 PM
eth0 not coming up at bootup even when configured in ifcfg-eth0 djcham Linux - Networking 1 12-04-2006 09:09 PM
editing ifcfg-eth0 nkeever Linux - Newbie 4 05-05-2005 03:46 PM


All times are GMT -5. The time now is 12:16 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration