[support] Unable to use Ubuntu /etc/network/interfaces script for interface configuration

Martin André andre at hongo.wide.ad.jp
Tue Oct 30 17:17:45 JST 2007


Hello Florian,

after some research we found out that this is actually a bug in ifupdown
package from ubuntu. They assume that IPv6 has been compiled as a module
and ifup command will fail if IPv6 support has been built in the kernel.

I've opened a bug in ubuntu bug tracker:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/158582

Regards,
Martin

Florian RODARY wrote:
> Hello Martin,
> Thanks for your answer.
> Below are the results of the commands asked.
> 
> Thanks,
> Florian
> 
> root at rangiroa:/home/florian# cat /etc/network/interfaces
> auto lo
> iface lo inet loopback
> 
> auto eth0
> 
> iface eth0 inet6 static
>        address 3ffe:1:0:0:0:0:0:1
>        netmask 64
> 
> auto eth1
> iface eth1 inet6 static
>        address 3ffe:2:0:0:0:0:0:1
>        netmask 64
> 
> auto ath2
> iface ath2 inet6 manual
> 
> auto wlan0
> iface wlan0 inet6 manual
> 
> root at msc01:/home# dpkg -l *mip6*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend
> 
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
> uppercase=bad)
> ||/ Name                      Version                   Description
> +++-=========================-=========================-==================================================================
> 
> ii  linux-backports-modules-2 2.6.22-14.10              Ubuntu supplied
> Linux modules for version 2.6.22 on x86/x86_64
> ii  linux-backports-modules-m 2.6.22.14.21              Backported drivers
> for Mobile IPv6-enabled kernel image
> ii  linux-headers-2.6.22-14-m 2.6.22-14.46              Linux kernel headers
> for version 2.6.22 on x86/x86_64
> ii  linux-headers-mip6        2.6.22.14.21              Linux kernel headers
> on Mobile IPv6-enabled kernel
> un  linux-image-2.6-mip6      <none>                    (no description
> available)
> ii  linux-image-2.6.22-10-mip 2.6.22-10.30              Linux kernel image
> for version 2.6.22 on x86/x86_64
> ii  linux-image-2.6.22-14-mip 2.6.22-14.46              Linux kernel image
> for version 2.6.22 on x86/x86_64
> ii  linux-image-mip6          2.6.22.14.21              Linux kernel image
> on Mobile IPv6-enabled kernel
> ii  linux-mip6                2.6.22.14.21               Complete Linux
> kernel on Mobile IPv6-enabled kernel
> ii  linux-restricted-modules- 2.6.22.3-10.1             Non-free Linux
> 2.6.22 modules on x86/x86_64
> ii  linux-restricted-modules- 2.6.22.4-14.9             Non-free Linux
> 2.6.22 modules on Mobile IPv6 kernel
> ii  linux-restricted-modules- 2.6.22.14.21              Restricted Linux
> modules on Mobile IPv6-enabled kernel
> ii  linux-ubuntu-modules-2.6. 2.6.22-10.23              Ubuntu supplied
> Linux modules for version 2.6.22 on x86/x86_64
> ii  linux-ubuntu-modules-2.6. 2.6.22-14.37              Ubuntu supplied
> Linux modules for version 2.6.22 on Mobile IPv6 en
> 
> 
> 
> 2007/10/30, Martin André < andre at hongo.wide.ad.jp>:
>> Hello Florian,
>>
>> Could you post the content of your /etc/network/interface file that
>> causes problems here? Also, please post the result of "dpkg -l *mip6*".
>>
>> Thanks,
>> Martin
>>
>> Florian RODARY wrote:
>>> Hello,
>>>
>>> After installing the latest MIPv6 userland and kernel provided by
>> Nautilus6,
>>> I've noticed that I couldn't use ifup/ifdown/ifconfig ethX up/down
>> anymore.
>>> I mean, the interface will actually go up or down, but the commands
>> entered
>>> in the /etc/network/interfaces won't be effective, and the message
>> "Failed
>>> to bring up ethX" will show up. Any other method to specify parameters
>> will
>>> work (ip addr add, etc)
>>> I've tried with a fresh install of Gutsy and it worked fine, that's why
>> I'm
>>> making a bug report here. The problem was already effective with the
>> last
>>> kernel/userland, but at the time, I assumed it was a glitch with my
>>> configuration.
>>> Feel free to ask me some supplementary information, as I don't know what
>> to
>>> include here.
>>>
>>> Best regards,
>>> Florian
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Support mailing list
>>> Support at ml.nautilus6.org
>>> http://ml.nautilus6.org/mailman/listinfo/support
>> _______________________________________________
>> Support mailing list
>> Support at ml.nautilus6.org
>> http://ml.nautilus6.org/mailman/listinfo/support
>>
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Support mailing list
> Support at ml.nautilus6.org
> http://ml.nautilus6.org/mailman/listinfo/support



More information about the Support mailing list