OpenWrt_backfireDernière modification : - |
||
---|---|---|
Accueil / Changements récents | Éditer / Historique | |
// 2013/05/30 18:11 / 2.11.101.151 // 2014/01/12 21:10 / 86.214.220.51 voir aussi [wrt54g_hardware] !! fonctions * DNS : OK local, fwd vers gdns * DHCP : OK * reverse proxy * munin ? * term * wol : OK * dyndns, OK Cf [#7340|https://dev.openwrt.org/ticket/7340] * proxy transparent (dansguardian?) * ntp server ---- !! from sources https://dev.openwrt.org/wiki/GetSource {{svn co svn://svn.openwrt.org/openwrt/branches/backfire cd backfire wget http://downloads.openwrt.org/backfire/10.03/brcm47xx/OpenWrt.config -O .config make menuconfig}} {{make world }} !!! packages {{./scripts/feeds update # recup la liste des packages existants ./scripts/feeds search ddns # chercher les packages contenant ddns }} Compiler le package seul: {{make package/$PACKAGENAME/{clean,compile,install} V=99}} s'il n'est pas selectionné dans menuconfig, ajouter DEVELOPER=1 !!!nginx {{cd packages svn co svn://svn.openwrt.org/openwrt/packages/net/nginx cd .. make menuconfig make }} ---- !! config !!! DHCP * http://www.drazzib.com/docs:admin:dnsmasq |h name |h ip |h MAC | | huic |, 192.168.1.10 |, 00:0c:6e:d9:05:6c | | fortcigogne (onboard) |, 192.168.1.11 |, 00:40:63:C9:14:81 | | fortcigogne |, 192.168.1.11 |, 00:50:bf:a1:59:76 | | netgear |, 192.168.1.12 |, 00:24:b2:db:de:22 | | xerox |, 192.168.1.13 |, 00:00:aa:a4:74:35 | | meaban |, 192.168.1.14 |, 00:0e:7b:52:dd:a4 | | meaban (wifi) |, |, 00:13:02:3c:11:88 | | teleinfo |, 192.168.1.15 |, 54:55:58:10:00:24 | | xbox |, 192.168.1.16 |, 00:50:f2:87:03:7b | | penfret |, 192.168.1.50 |, 00:11:95:8a:c4:c4 | | wrt54g 2.2 |, 192.168.1.20 |, 00:18:e7:68:36:e5 | | wrt54g 1.1 |, |, 00:0C:41:E3:A4:E4 | | lb |, |, 00:24:17:11:92:fc | | roger (nabaztag) |, 192.168.2.x |, 00:60:B3:2E:7B:E6 | | Wii |, dhcp wifi |, 00:21:47:19:b0:be | | Tablette |, |, 00:40:63:21:17:50 | | Décodeur TV |, dhcp |, 00:21:4c:6a:39:35 | | guiautec |, 192.168.1.18 |, 10:bf:48:bb:e4:52 | | guiriden |, 192.168.1.17 |, 00:00:e2:59:aa:f9 | | xbmc (rpi) |, 192.168.1.21 |, b8:27:eb:60:76:b6 | | chauffage (rpi) |, 192.168.1.22 |, b8:27:eb:77:73:b4 | forcer lb comme router, dans le fichier ''/etc/dnsmasq.conf'': {{dhcp-option=option:router,192.168.1.1}} créer les fichiers /etc/ethers et /ets/hosts pour la correspondance @mac/@ip et @ip/hostname !!! dyndns * [ovh|http://guides.ovh.com/DynDns] * http://ptspts.blogspot.com/2009/06/how-to-configure-dynamic-dns-dyndns.html {{opkg install luci-app-ddns}} vieille méthode : {{opkg install updatedd-mod-ovh}} !!! Munin Fonctions : * météo (Cf open2300) * teleinfo * reseau * proxy vers fortcigogne ? * proxy vers huic ? Links: * munin-node implementation on openwrt : http://munin-monitoring.org/wiki/OpenWRT-HowTo !!! WOL Note: il faut que le driver de la cible soit bien configuré ! * http://wiki.debian.org/WakeOnLan * ethtool -s eth1 wol g Pour openwrt: * etherwake * backport de [luci-wol|http://luci.subsignal.org/trac/browser/luci/trunk/applications/luci-wol] de trunk vers luci-0.9.0 (version de backfire) voir [OpenWrt_luci] ** virer toutes les references à translate ** tgz de dist/... ** untargz sur la cible !! vlan !!! braz [data/WRT54G/lan5.png] '''/!\ l'interface Luci ne sait pas gérer les vlan taggués !''' à faire à la main dans /etc/config/network : {{config 'switch_vlan' 'eth0_2' option 'device' 'eth0' option 'vlan' '2' option 'ports' '0 2t 5'}} !!! fortcigogne ''/etc/modules'' {{8021q}} ''/etc/network/interfaces {{# vlan 2 auto eth1.2 iface eth1.2 inet static address 192.168.2.11 netmask 255.255.255.0 vlan_raw_device eth1}} --- !!LuCI * http://luci.subsignal.org/ * https://forum.openwrt.org/viewtopic.php?id=16599 ---- !!Links * http://hanez.org/openwrt-building-software-packages.html * http://wiki.openwrt.org/doc/howto/start ---- %TOC% |
||
Wiki utilisant WiKiss 0.3
2025/04/23 17:49 -- 160.79.108.56 |
Éditer / Historique |