LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-08-2008, 09:48 PM   #1
bigbrovar
LQ Newbie
 
Registered: Oct 2008
Posts: 3

Rep: Reputation: 0
How to Share ppp connection over wifi


Hi guys am quite new here and am still a noob as far as linux networking goes so i need a bit of helping hands . I have a 3g modem and can connect to it using wvdial, ie it connects over ppp0. I was wondering has anyone managed to share a 3g connection using the wireless card of their laptop .
my laptop uses Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)

Any help would be great,

Regards,
 
Old 10-09-2008, 09:29 AM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
You should be able to turn on forwarding (echo 1 > /etc/sys/net/ipv4/ip_forward) and set the other computer to using the laptop as its default route. Then just masquerade anything going out the ppp0 interface (iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE)
 
  


Reply



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
How to prioritise LAN connection over WiFi connection __spc__ Linux - Wireless Networking 0 09-05-2008 02:38 PM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 12:28 AM
Can't share Internet with Wifi der_kaiser1 Linux - Wireless Networking 5 09-09-2006 07:35 AM
How To Share WiFi Conn. djrayon Linux - Wireless Networking 0 12-11-2005 10:13 AM
HOW TO share I internet connection through wifi?? piggyaugu Linux - Newbie 4 07-03-2005 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:03 AM.

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