2015-08-26, 07:29
So im not sure if im in the right place for anyone to know but im trying to use my old pi with raspbmc(xbmc) on it to act like kind of a router.. Done it a hundred times before on my laptop with debian so this should be easy.
I enabled ip forwarding "echo 1 > /proc/sys/net/ipv4/ip_forward".
Then set my eth0 ipaddress to like 10.10.10.1. Set my winblows client to 10.10.10.2 etc etc.. I know the deal
Then run my iptables command "iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE".
Should be all good but i get nothing clientside. Soo after scratching my head for a bit i installed dnsmasq todo my networking shiz for me.. After configing that and restarting the service i got it..
Or so i thought.. It didnt last but 30 secs and i relized something changed the ipadress of eth0 after being issued my setup. Thinking its something in the o/s and i have no idea how to bypass it. Help please.
I enabled ip forwarding "echo 1 > /proc/sys/net/ipv4/ip_forward".
Then set my eth0 ipaddress to like 10.10.10.1. Set my winblows client to 10.10.10.2 etc etc.. I know the deal
Then run my iptables command "iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE".
Should be all good but i get nothing clientside. Soo after scratching my head for a bit i installed dnsmasq todo my networking shiz for me.. After configing that and restarting the service i got it..
Or so i thought.. It didnt last but 30 secs and i relized something changed the ipadress of eth0 after being issued my setup. Thinking its something in the o/s and i have no idea how to bypass it. Help please.