I have additional question . How to insert into image the packages
with proper way(under it i means the packages must be in packages list
and i can work with it with opkg) ?


2012/1/28 Mr Dash Four <[email protected]>:
>
>> When building a custom OpenWrt image, how do you pre-configure static
>> routes? So that when the image is freshly installed, several static routes
>> are already configured?
>
> This is usually configured with
> /etc/sysconfig/network-scripts/route-<dev_name>
> (/etc/sysconfig/network-scripts/route-eth1 for the eth1 device for example).
> According to the OpenWRT wiki [1], custom files are included in <buildroot
> dir>/files/, so for static routes for eth1 that would be <buildroot
> dir>/files/etc/sysconfig/network-scripts/route-eth1, I think.
>
> [1] - http://wiki.openwrt.org/doc/howto/build#custom.files (Custom files -
> OpenWrt Buildroot – Usage - OpenWrt Wiki)
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-users
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to