Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
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 04:43 AM.
Reason: removed repetitive sentence
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
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
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.