LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-27-2005, 07:18 PM   #1
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Rep: Reputation: 30
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.
 
Old 10-27-2005, 09:15 PM   #2
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

Original Poster
Rep: Reputation: 30
Resolved - installed Breezy.

Thanks,

M.
 
Old 10-28-2005, 09:09 AM   #3
FliesLikeABrick
Member
 
Registered: Aug 2005
Location: NY,USA
Distribution: Debian, Gentoo, Ubuntu
Posts: 103

Rep: Reputation: 15
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
 
Old 10-28-2005, 06:35 PM   #4
J_K9
Member
 
Registered: Nov 2004
Distribution: Slackware 11, Ubuntu 6.06 LTS
Posts: 700

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


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
Connecting Pocket PC and Ubuntu 5.04 Navyblue Linux - Newbie 3 05-08-2006 10:41 PM
Problem with Linux PC connecting to Internet, but not LAN. tofu713 Linux - Networking 5 04-23-2005 11:54 AM
3com NIC not connecting on Ubuntu cmoir Linux - Newbie 3 01-31-2005 04:46 PM
Problem with LAN connecting to internet. duffboygrim Linux - Networking 6 02-29-2004 04:50 PM
Problem connecting to LAN in order to get internet J_angel2000 Linux - Networking 7 02-27-2004 05:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration