* How to modify /etc/network/interfaces file in a OE recipe
@ 2010-10-07 21:11 Elvis Dowson
2010-10-07 22:54 ` Gary Thomas
0 siblings, 1 reply; 5+ messages in thread
From: Elvis Dowson @ 2010-10-07 21:11 UTC (permalink / raw)
To: OpenEmbedded Developer Mailing List
Hi,
Would someone be able to help me with modifying an omap3-console-image recipe, such that in the final image, the /etc/network/interfaces file gets edited as follows
#auto eth0 <- remove # sign ( auto eth0 )
#iface eth0 inet dhcp <- remove # sign ( iface eth0 inet dhcp )
#iface eth1 inet dhcp
I am using a Gumstix Overo + Chestnut43 expansion board, which has an inbuilt wired ethernet interface. I have to make this modification manually, to enable this interface each time. However, if I can modify the OE recipe somehow to do this it would be great. I know it can be done, but I don't know where to start and which file to modify.
Elvis Dowson
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: How to modify /etc/network/interfaces file in a OE recipe
2010-10-07 21:11 How to modify /etc/network/interfaces file in a OE recipe Elvis Dowson
@ 2010-10-07 22:54 ` Gary Thomas
2010-10-08 3:26 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2010-10-07 22:54 UTC (permalink / raw)
To: openembedded-devel
On 10/07/2010 03:11 PM, Elvis Dowson wrote:
> Hi,
> Would someone be able to help me with modifying an omap3-console-image recipe, such that in the final image, the /etc/network/interfaces file gets edited as follows
>
> #auto eth0 <- remove # sign ( auto eth0 )
> #iface eth0 inet dhcp <- remove # sign ( iface eth0 inet dhcp )
> #iface eth1 inet dhcp
>
> I am using a Gumstix Overo + Chestnut43 expansion board, which has an inbuilt wired ethernet interface. I have to make this modification manually, to enable this interface each time. However, if I can modify the OE recipe somehow to do this it would be great. I know it can be done, but I don't know where to start and which file to modify.
Add the file the way you like it to .../openembedded/recipes/netbase/netbase/overo
and rebuild netbase. Use the beagleboard as an example.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to modify /etc/network/interfaces file in a OE recipe
2010-10-07 22:54 ` Gary Thomas
@ 2010-10-08 3:26 ` Khem Raj
2010-10-08 6:36 ` Frans Meulenbroeks
2010-10-08 7:30 ` Petr Štetiar
0 siblings, 2 replies; 5+ messages in thread
From: Khem Raj @ 2010-10-08 3:26 UTC (permalink / raw)
To: openembedded-devel
On Thu, Oct 7, 2010 at 3:54 PM, Gary Thomas <gary@mlbassoc.com> wrote:
> On 10/07/2010 03:11 PM, Elvis Dowson wrote:
>>
>> Hi,
>> Would someone be able to help me with modifying an
>> omap3-console-image recipe, such that in the final image, the
>> /etc/network/interfaces file gets edited as follows
>>
>> #auto eth0 <- remove # sign ( auto eth0 )
>> #iface eth0 inet dhcp <- remove # sign ( iface eth0 inet dhcp )
>> #iface eth1 inet dhcp
>>
>> I am using a Gumstix Overo + Chestnut43 expansion board, which has an
>> inbuilt wired ethernet interface. I have to make this modification manually,
>> to enable this interface each time. However, if I can modify the OE recipe
>> somehow to do this it would be great. I know it can be done, but I don't
>> know where to start and which file to modify.
>
> Add the file the way you like it to
> .../openembedded/recipes/netbase/netbase/overo
> and rebuild netbase. Use the beagleboard as an example.
or use bblayers and bbappend.
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to modify /etc/network/interfaces file in a OE recipe
2010-10-08 3:26 ` Khem Raj
@ 2010-10-08 6:36 ` Frans Meulenbroeks
2010-10-08 7:30 ` Petr Štetiar
1 sibling, 0 replies; 5+ messages in thread
From: Frans Meulenbroeks @ 2010-10-08 6:36 UTC (permalink / raw)
To: openembedded-devel
2010/10/8 Khem Raj <raj.khem@gmail.com>:
> On Thu, Oct 7, 2010 at 3:54 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>> On 10/07/2010 03:11 PM, Elvis Dowson wrote:
>>>
>>> Hi,
>>> Would someone be able to help me with modifying an
>>> omap3-console-image recipe, such that in the final image, the
>>> /etc/network/interfaces file gets edited as follows
>>>
>>> #auto eth0 <- remove # sign ( auto eth0 )
>>> #iface eth0 inet dhcp <- remove # sign ( iface eth0 inet dhcp )
>>> #iface eth1 inet dhcp
>>>
>>> I am using a Gumstix Overo + Chestnut43 expansion board, which has an
>>> inbuilt wired ethernet interface. I have to make this modification manually,
>>> to enable this interface each time. However, if I can modify the OE recipe
>>> somehow to do this it would be great. I know it can be done, but I don't
>>> know where to start and which file to modify.
>>
>> Add the file the way you like it to
>> .../openembedded/recipes/netbase/netbase/overo
>> and rebuild netbase. Use the beagleboard as an example.
>
> or use bblayers and bbappend.
Actually if you use an overlay you can just put your patch file in the
files dir of your overlay.
If I recall correctly files will be first fetched in the FILESPATHPKG
in the overlay before looking in the oe dir (assuming your layer
priorities are ok)
Have fun! Frans
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How to modify /etc/network/interfaces file in a OE recipe
2010-10-08 3:26 ` Khem Raj
2010-10-08 6:36 ` Frans Meulenbroeks
@ 2010-10-08 7:30 ` Petr Štetiar
1 sibling, 0 replies; 5+ messages in thread
From: Petr Štetiar @ 2010-10-08 7:30 UTC (permalink / raw)
To: openembedded-devel
Khem Raj <raj.khem@gmail.com> [2010-10-07 20:26:58]:
> On Thu, Oct 7, 2010 at 3:54 PM, Gary Thomas <gary@mlbassoc.com> wrote:
>
> or use bblayers and bbappend.
Nice bblayers/bbappend howto http://sakrah.dontexist.org/node/2
-- ynezz
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-10-08 7:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-07 21:11 How to modify /etc/network/interfaces file in a OE recipe Elvis Dowson
2010-10-07 22:54 ` Gary Thomas
2010-10-08 3:26 ` Khem Raj
2010-10-08 6:36 ` Frans Meulenbroeks
2010-10-08 7:30 ` Petr Štetiar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.