Re: Sharing ppp connection with wlan interface

2009-09-21 Thread Vinícius Massuchetto
Celejar escreveu: [...] You'd normally use 'master' / hostapd where the wireless clients are connecting to the box. I've never used ad-hoc mode, and I don't know anything about it. I've been trying to set it to master mode, but I'm starting to think that this card doesn't support it. How c

Re: Sharing ppp connection with wlan interface

2009-09-20 Thread Vinícius Massuchetto
Oh Sorry... I forgot to mention an important info. Here's my dnsmasq.conf file: domain-needed bogus-priv interface=wlan0 dhcp-range=192.168.0.1,192.169.0.100,12h Thanks again. -- Vinícius André Massuchetto http://vinicius.soylocoporti.org.br Vinícius Massuchetto escreveu: Dear all.

Sharing ppp connection with wlan interface

2009-09-20 Thread Vinícius Massuchetto
Dear all. I've been trying to serve a ppp0 internet connection through a wireless network. I made a small script to be ran when i want to do that: ifdown wlan0 iwconfig wlan0 essid "VinaNET" mode Ad-Hoc ifconfig wlan0 192.168.0.254 echo 1 > /proc/sys/net/ipv4/ip_forward /etc/init.d/dnsmasq st