opensubscriber
   Find in this group all groups
 
Unknown more information…

d : debian-user@lists.debian.org 20 September 2009 • 9:49PM -0400

Sharing ppp connection with wlan interface
by Vinícius Massuchetto

REPLY TO AUTHOR
 
REPLY TO GROUP




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 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

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


--
To UNSUBSCRIBE, email to debian-user-REQUEST@list...
with a subject of "unsubscribe". Trouble? Contact listmaster@list...


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.