Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-12-2006, 04:36 AM   #1
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Rep: Reputation: 30
ifup cant read network interfaces

Has anybody got a working /etc/network/interfaces.

On boot mine is not working and I have tried tomake it from the man pages but something is wrong. I use dhcp on eth0. My network interfaces is
# 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 eth0
script grep
map eth0

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

auto eth0
I can bring the network up with dhcpcd eth0 but would like it to work right off the bat.
Old 03-12-2006, 06:34 AM   #2
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
SuSE 10 has separate files for each interface. They are named like ifcfg-eth0.

Use YaST to configure them.
Old 03-12-2006, 11:55 AM   #3
Registered: Feb 2006
Location: Oklahoma
Distribution: Debian Sid and Etch
Posts: 423

Rep: Reputation: 30
Is your nic pcmcia or usb?
If not you shouldn't need the hotplug mapping

auto lo eth0
iface lo inet loopback
iface eth0 inet dhcp

should be all you need.
Old 03-13-2006, 04:42 AM   #4
Registered: Jan 2005
Location: Newcastle, Australia
Distribution: debian stable
Posts: 394

Original Poster
Rep: Reputation: 30

Thanks, worked I think i just overdid it


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
Debian can't read etc/network/interfaces file at boot up Tons of Fun Debian 7 06-30-2006 11:17 PM
could not read /etc/network/interfaces mediolanum Linux - Networking 18 02-04-2006 12:41 PM
server ifup: RTNETLINK answers: Network is unreachable problem evasion81 Linux - Networking 5 07-07-2005 08:44 AM
ISA modem works except with ifup or rh-config-network Simon Bridge Linux - Networking 3 05-25-2005 09:27 PM
nForce 2 network card & ifup problem dmellem Linux - Hardware 1 06-06-2003 12:45 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration