Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-06-2006, 05:50 AM   #1
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Rep: Reputation: 31
IPv4 addresser are not being assigned on boot under Ubuntu 6.10


I have two network adapters configured on my laptop.
a Wireless LAN adapter and an Ethernet 100 card.

this is what my /etc/networking/interfaces looks like:

# cat interfaces
auto lo
iface lo inet loopback

iface eth0 inet static

auto eth1
iface eth1 inet dhcp

auto eth2
iface eth2 inet dhcp

auto ath0
iface ath0 inet dhcp

auto wlan0
iface wlan0 inet dhcp

auto provider
iface provider inet ppp
provider provider

    pre-up /sbin/ifconfig eth0 up # line maintained by pppoeconf
as you can see, eth0 has a static IP, but this IP is not being assigned on boot.

I have to assign it with ifconfig manually, after I log in, which is really annoying.

It used to work for some time, but in the last week or so, it just seized to assign the IPv4 address, while the IPv6 address and the interface itself, is loaded at boottime.

please help.

Old 11-06-2006, 04:19 PM   #2
Senior Member
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36

just add "auto eth0" line before "iface eth0..." line and it should work

Old 11-07-2006, 01:01 PM   #3
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Original Poster
Rep: Reputation: 31
Nevermind, I fixed it myself.

The pre-up command was th source of the problems.

As well as the provider directive, since the ppoeconf allreade has a pppd script in init.d, so I was establishing my interconnection twice.

auto eth0
line is the last line in the file, works fine.


ifconfig, interfaces, netconfig, ubuntu

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
How to make XP boot as default OS in WinXP-Ubuntu dual boot system svin Ubuntu 14 11-04-2009 05:49 PM
Routers assigned IP carlos22 Linux - Networking 4 09-12-2006 08:01 AM
Need help fixing boot problem on Ubuntu/WinXp dual-boot Ay-Karamba! Linux - General 5 09-06-2005 10:20 PM
What's my DHCP assigned IP and where is it? Buckyjunior Linux - Networking 7 02-27-2004 02:29 PM
net.ipv4.ip_forward=1 How define it on boot ? sergiodemoura Linux - Newbie 5 12-04-2003 05:52 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:10 PM.

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