LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Network problem with DNS, eth0 and wlan0 (https://www.linuxquestions.org/questions/debian-26/network-problem-with-dns-eth0-and-wlan0-572218/)

st00 07-25-2007 01:36 PM

Network problem with DNS, eth0 and wlan0
 
Hi, hopefully this should be a quick question but I've been struggling for a while with it.

I have been using RedHat and Fedora for a long time but Fedore Core 6 kept locking up my old Athlon 1200 so I switched to Debian and did a netinst. I used wireless bridge into eth0 to install everything and it went fine. Now I want to use the built in wireless card wlan0. I installed ndiswrapper (that took a while but that's a different story) and everything works if I set it all up using ifconfig and iwconfig. I took out all references to eth0 from /etc/network/interfaces but on restart eth0 is still brought up. I also seem to have a problem with DNS as I seem to have to set that up every time I want access to the internet (I do that using Network Admin GUI since I don't know how else to do it).

My interfaces file looks like this ...

Quote:

# 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

# The primary network interface
iface wlan0 inet static
wireless-essid Lisa
wireless-key 1234509876
address 10.0.0.11
netmask 255.0.0.0
gateway 10.0.0.2

auto wlan0
/etc/resolv.conf is empty apart from this ...

Quote:

# generated by NetworkManager, do not edit!
Hope someone can straighten me out, thanks, Stu

st00 07-25-2007 08:30 PM

OK it seems that my issue was due to Gnome's Network Manager trying to help out by re-writing my resolv.conf and interfaces files. I removed the network manager and set up the files manually and I'm sorted.

Maybe this will help someone else??

Cheers, Stu


All times are GMT -5. The time now is 09:21 PM.