Sharing Internet to Pi Access Point - Raspberry Pi Forums


hi, received rpi 2 , using ap (access point, im trying share laptop's wlan connection thru ethernet port on pi (from ethernet ap (hostapd. problem debian laptop (jessie 8.2 cannot share using "shared other computers" in network manager, seems dnsmasq problem. set static ip debian (ip: 10.10.10.1 bcast 255.255.255.0 gateway 0.0.0.0 . set static pi ip: 10.10.10.2 bcast 255.255.255.0 gateway 0.0.0.0 . tried route packets (pi eth wlan using ip tables:

code: select all

ifconfig wlan0 10.53.0.1 #because dnsmasq in pi doesnt set sddress reason iptables -t nat -a postrouting -o eth0 -j masquerade #route traffic iptables -a forward -i eth0 -o wlan0 -m state --state related,established -j accept iptables -a forward -i wlan0 -o eth0 -j accept 
did on debian laptop still doesnt work, (route wlan eth
i've been trying hours. please , thanks.

other info:
rpi2: raspbian jessie 8
laptop: debian jessie 8.2 stable



raspberrypi



Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code