Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 09-20-2009, 09:14 PM   #1
LQ Newbie
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
Sharing ppp connection with wlan interface

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
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 port 67 interval x
Here's my dnsmasq.conf file:

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

Old 10-01-2009, 10:35 AM   #2
LQ Newbie
Registered: Aug 2007
Location: San Antonio, TX
Distribution: FC6, UBUNTU
Posts: 1

Rep: Reputation: 0
Is your Wifi access point running a DHCP Server on it that would be conflicting with your server?


network, ppp, share, wireless

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager & gprs/ppp DNS: after using wlan/eth0, DNS for ppp doesn't work mtess Linux - Networking 3 03-12-2008 03:31 PM
ppp interface... culin Linux - Networking 4 04-13-2007 03:49 PM
waiting for the PPP interface ertz Linux - Networking 2 05-17-2004 04:25 PM
Why don't file and print sharing of Samba pass throgh PPP connection? ritsasa Linux - Networking 1 03-08-2004 07:35 AM
Internet Connection Sharing via ppp l0f33t Linux - Networking 4 05-22-2003 05:01 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration