Bonsoir,
Je vous expose mon problème avec ma Raspberry Pi.
Je souhaite faire de ce petit bébé une passerelle wifi sur un Hotspot "Freewifi".
J'ai plug une carte wifi AlfaNetwork RTL8187 (AWUS036H) en USB qui se connecte sans soucis au Hotspot de façon automatique.
Mais je n'arrive pas a faire de l'ethernet:
-Un serveur DHCP.
-Un pont pour l'accès web.
-Un serveur NoIp (optionnel)
Ma Raspberry tourne sous Raspbian (Debian 9).
J'ai testé "hostapd" avec différent tuto pour faire l'inverse, ethernet vers wifi mais ou j'ai fait des modifications.
Serveur DHCP avec ISC-DHCP-Server, utilisation des iptables, de sysctl et modification des configuration dans /etc/network/interfaces.
Pour faire mes tests je suis sur un Raspberry Pi Model A (oui c'est vieu) et je souhaite juste connecté un laptop en ethernet pour testé l'attribution d'IP etc via mon propre réseau wifi avant de basculer sur le HotSpot)
Je souhaiterais faire un DHCP compatible Windows/linux
Configuration ici:
sudo nano /etc/sysctl.conf
Code: Select all
net.ipv4.ip_forward=1Code: Select all
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
#For the wlan0 who's my AlfaNetwork Card
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.20;
option broadcast-address 192.168.10.255;
option routers 192.168.10.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local-network";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}Si vous avez des pistes des idées ou autres je suis preneur
Merci d'avance pour vos réponses
Hello
I expose here my problem about my Raspberry Pi.
I want to turn this little baby into a wireless bridge on an open Hotspot called "Freewifi"
I put a wireless usb card AlfaNetwork RTL8187 (AWUS036H) who's connected to the Hotspot automatised.
But i'm not able to turn the ethernet:
-Into a DHCP server
-A bridge for the web.
-A NoIp server (optionnal)
My Raspberry is running on raspbian (Debian 9)
I've tested "hostapd" with differents tuto but it's for ethernet to wireless but i've made some modifications.
DHCP server with ISC-DHCP-Server, using the iptables, sysctl and modifications of the configuration into /etc/network/interfaces.
To run my tests, i'm on a Raspberry Pi Model A (quiet older) and i'd like to connect my laptop to the ethernet for testing the ip pool ect from my personnal wirelesss network before the Htspot tests.
I want a windows/linux working DHCP
Configuration here:
sudo nano /etc/sysctl.conf
Code: Select all
net.ipv4.ip_forward=1Code: Select all
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
authoritative;
#For the wlan0 who's my AlfaNetwork Card
subnet 192.168.10.0 netmask 255.255.255.0 {
range 192.168.10.10 192.168.10.20;
option broadcast-address 192.168.10.255;
option routers 192.168.10.1;
default-lease-time 600;
max-lease-time 7200;
option domain-name "local-network";
option domain-name-servers 8.8.8.8, 8.8.4.4;
}But if it needed i can learn.
If you ahve some idea, sugestion or other i'm open
Thanks a lot for reading my bad english lol
