freebox:index
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| freebox:index [2016/05/07 13:42] – orel | freebox:index [2024/03/18 15:06] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Tunnel Wifi entre les Freebox | + | ====== Tunnel Wifi entre les Freebox Server et Player ====== |
| Si, comme moi, vous disposez d'un Freebox Revolution (v6), vous pouvez connecter votre boîtier ADSL (Freebox Server ou FS) à votre boîtier HD (Freebox Player ou FP) de deux manières : soit avec les FreePlugs basée sur la technologie CPL (Courants Porteurs en Ligne), soit avec un cable Ethernet qui courent à travers le salon, le plus souvent quand les FreePlugs ne fonctionnent pas ou mal ! Nous nous proposons ici de proposer une alternative sans fil basé sur un tunnel wifi entre le FS et le FP ;-) | Si, comme moi, vous disposez d'un Freebox Revolution (v6), vous pouvez connecter votre boîtier ADSL (Freebox Server ou FS) à votre boîtier HD (Freebox Player ou FP) de deux manières : soit avec les FreePlugs basée sur la technologie CPL (Courants Porteurs en Ligne), soit avec un cable Ethernet qui courent à travers le salon, le plus souvent quand les FreePlugs ne fonctionnent pas ou mal ! Nous nous proposons ici de proposer une alternative sans fil basé sur un tunnel wifi entre le FS et le FP ;-) | ||
| Line 35: | Line 35: | ||
| <code - server.sh> | <code - server.sh> | ||
| - | # réseau | + | # reseau |
| ifconfig wlan0 down | ifconfig wlan0 down | ||
| iwconfig wlan0 essid pouet mode ad-hoc channel 1 | iwconfig wlan0 essid pouet mode ad-hoc channel 1 | ||
| ifconfig wlan0 192.168.1.1/ | ifconfig wlan0 192.168.1.1/ | ||
| + | |||
| + | # reseau local | ||
| + | ifconfig eth0 up | ||
| # tunnel VPN | # tunnel VPN | ||
| Line 55: | Line 58: | ||
| brctl addif br0 eth0.100 | brctl addif br0 eth0.100 | ||
| ifconfig br0 up | ifconfig br0 up | ||
| - | |||
| </ | </ | ||
| Line 69: | Line 71: | ||
| <code - client.sh> | <code - client.sh> | ||
| - | # réseau | + | # reseau |
| ifconfig wlan0 down | ifconfig wlan0 down | ||
| iwconfig wlan0 essid pouet mode ad-hoc channel 1 | iwconfig wlan0 essid pouet mode ad-hoc channel 1 | ||
| ifconfig wlan0 192.168.1.2/ | ifconfig wlan0 192.168.1.2/ | ||
| + | |||
| + | # reseau local | ||
| + | ifconfig eth0 up | ||
| # tunnel VPN | # tunnel VPN | ||
| Line 89: | Line 94: | ||
| brctl addif br0 eth0.100 | brctl addif br0 eth0.100 | ||
| ifconfig br0 up | ifconfig br0 up | ||
| - | |||
| </ | </ | ||
| Line 98: | Line 102: | ||
| secret openvpn.key | secret openvpn.key | ||
| </ | </ | ||
| + | |||
| + | ==== Remise à zéro ===== | ||
| + | |||
| + | <code - reset.sh> | ||
| + | rmmod 8021q | ||
| + | ifconfig eth0 down | ||
| + | ifconfig wlan0 down | ||
| + | ifconfig tap0 down | ||
| + | ifconfig br0 down | ||
| + | brctl delbr br0 | ||
| + | pkill -9 openvpn | ||
| + | |||
| + | </ | ||
| + | |||
| + | ==== Conclusion ==== | ||
| + | |||
| + | Bon, ça marche ! Voici une archive avec les scripts et les configs {{: | ||
| + | Mais le débit a l'air juste suffisant pour regarder la TV avec un flux ADSL bas débit. On peut également remplacer la connexion wifi ad-hoc en utilisant simplement l' | ||
| + | |||
| + | Afin d' | ||
| + | |||
| + | Bench à faire... | ||
| + | |||
| + | |||
| Line 107: | Line 135: | ||
| * http:// | * http:// | ||
| * https:// | * https:// | ||
| + | * http:// | ||
| + | * http:// | ||
freebox/index.1462628569.txt.gz · Last modified: 2024/03/18 15:05 (external edit)
