Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
10-27-2005, 07:18 PM
|
#1
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Rep:
|
Ubuntu 5.04 problem connecting to LAN
Hi,
I am having trouble connecting my Ubuntu box to my home ethernet network. 'sudo ifup eth0' returns: 'Ignoring unknown interface eth0=eth0.' I then found out that my resolv.conf did not exist, and so I created one (with the appropriate DNS server addresses). I checked the Device Manager, but the ethernet adapter was both found and accepted, as can be seen here and here.
Here is my /etc/network/interfaces:
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
# This is a list of hotpluggable network interfaces.
# They will be activated automatically by the hotplug subsystem.
mapping hotplug
script grep
map eth0
|
What is wrong? It should be working....anyway, yeah, any help would really be appreciated. I'm trying to teach my mum Linux and not being able to connect to the network isn't a great start - haha!
Thanks in advance,
M.
|
|
|
10-27-2005, 09:15 PM
|
#2
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Resolved - installed Breezy.
Thanks,
M.
|
|
|
10-28-2005, 09:09 AM
|
#3
|
Member
Registered: Aug 2005
Location: NY,USA
Distribution: Debian, Gentoo, Ubuntu
Posts: 103
Rep:
|
just so you know, the problem was because you don't have a line in your /etc/network/interfaces file for eth0.
if you look in /etc/network/interfaces on breezy, you'll see that there should be a line saying something like:
iface eth0 inet dhcp
-OR-
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
If neither of these exist, then when you try to put the interface up it doesnt know what to do with it, so it ignores it. With your pasted file, this seems to be the case
|
|
|
10-28-2005, 06:35 PM
|
#4
|
Member
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700
Original Poster
Rep:
|
Ah, thank you! I must've overlooked that...hehe! I assumed that 'map eth0' did something similar, although I really didn't give it much thought. Thanks again,
M. 
|
|
|
All times are GMT -5. The time now is 07:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|