All of lore.kernel.org
 help / color / mirror / Atom feed
* Sharing ppp connection with wlan interface
@ 2009-09-20 21:43 Vinícius Massuchetto
       [not found] ` <4AB6A375.2070801@standarduniversal.com.au>
  0 siblings, 1 reply; 5+ messages in thread
From: Vinícius Massuchetto @ 2009-09-20 21:43 UTC (permalink / raw)
  To: netfilter

Dear all.

I'm on Debian Sid, and 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 stop
/etc/init.d/dnsmasq start
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

The script goes just fine and the client computer 
can see the wireless network but can't connect, it 
only keeps trying:

DHCPDISCOVER on ath0 to 255.255.255.255 port 67 
interval x

Here's my dnsmasq.conf file:

domain-needed
bogus-priv
interface=wlan0
dhcp-range=192.168.0.1,192.169.0.100,12h

I'm not quite sure if that's an iptables or a 
dnsmasq problem.

Thanks!
--
Vinícius Massuchetto
http://vinicius.soylocoporti.org.br

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-09-21  9:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-20 21:43 Sharing ppp connection with wlan interface Vinícius Massuchetto
     [not found] ` <4AB6A375.2070801@standarduniversal.com.au>
2009-09-20 22:19   ` Vinícius Massuchetto
2009-09-20 23:01     ` I want to connect a PC from Internet to my LAN (Asterisk server) Juan Cardoza
2009-09-21  9:10       ` Richard Horton
     [not found]     ` <4AB6B3EE.4050100@standarduniversal.com.au>
2009-09-21  2:58       ` Sharing ppp connection with wlan interface Vinícius Massuchetto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.