LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-25-2007, 01:36 PM   #1
st00
Member
 
Registered: Apr 2003
Posts: 50

Rep: Reputation: 15
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

Last edited by st00; 07-25-2007 at 07:05 PM.
 
Old 07-25-2007, 08:30 PM   #2
st00
Member
 
Registered: Apr 2003
Posts: 50

Original Poster
Rep: Reputation: 15
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
 
  


Reply



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
Routing for eth0 and wlan0 with static IPs on the same network. kelvinlo Linux - Wireless Networking 3 10-15-2007 04:54 PM
boxA, eth0 to boxB, boxB wlan0 to network, same as LQ network wiki? dns21 Linux - Networking 1 04-01-2005 03:33 AM
Remapping wlan0 to eth0 Berhanie Linux - Networking 1 02-17-2005 07:59 AM
How can i choose network card (eth0 or wlan0) to connect to internet? Klas Linux - Networking 4 05-07-2004 04:36 PM
Mandrake 9.2 can't get network running on eth0 or eth1 but can on wlan0 llindir Linux - Networking 2 03-20-2004 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:32 AM.

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
Open Source Consulting | Domain Registration