thanks, one more thing. how about the firewall configuration? is there a way to split the config info in a separate file? Or should i use the uci-default approach to modify the firewall when the package is installed?
where is the default interface specified? i think that openwrt will try to bring up everyinterface defined in /etc/config/network. How could I specify a priority for the default interface? Thanks R. On 02/10/2010 01:40 AM, Jo-Philipp Wich wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi. Take a look at /lib/network/ the per-protocol "handlers" are implemented there. You need to provide at least two functions setup_interface_yourproto() and stop_interface_yourproto(). The network config infrastructure in OpenWrt will source all scripts in /lib/network/ so you can put your protocol handler procedures in a separate script file shipped along with the package providing your new interface protocol. ~ JoW -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktyAI4ACgkQdputYINPTPOWhgCeI+9MVtS7CJfUdLx8ZMWm934n d5EAn1jqxJUzrBTsYlXP7K/Huuvye6EU =1Ose -----END PGP SIGNATURE----- _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
-- -------------------------------------------------------- Roberto Riggio, PhD CREATE-NET Pervasive Area Researcher Via alla Cascata 56/D - 38123 Povo Trento (Italy) e-mail: [email protected] Tel: (+39) 0461 408400 - interno/extension 708 Fax: (+39) 0461 421157 http://www.create-net.org/ -------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited according to the Italian Law 196/2003 of the Legislature. If you received this in error, please contact the sender and delete the material from any computer. Le informazioni contenute in questo messaggio di posta elettronica e nei file allegati sono da considerarsi strettamente riservate. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalita' indicate nel messaggio stesso. Qualora riceveste questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla cancellazione del messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalita' diverse, costituisce comportamento contrario ai principi dettati dal D. Lgs. 196/2003. _______________________________________________ openwrt-devel mailing list [email protected] https://lists.openwrt.org/mailman/listinfo/openwrt-devel
