LinuxQuestions.org
Review your favorite Linux distribution.
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 08-21-2009, 06:00 PM   #1
AngelGabriel
LQ Newbie
 
Registered: Aug 2009
Location: Iraq + Oman + Bahrain
Distribution: ubuntu 9.04 + Back|Track 4
Posts: 2

Rep: Reputation: 0
Question how can I bridge ppp0 with wifi on ubuntu 9.04 box ?


Hello all,

I have Ubuntu 9.04 installed and running on a dell laptop (let's say laptop A)

(laptop A) is connected to the internet via dial-up modem and wvdial as a software


so now I have (laptop B) and I wish to connect to the internet via (laptop A) as a wifi access point, and I want to connect to it from multi-laptop, hence (laptop e, laptop c, ....) all connected to the internet via laptop A

I know it is possible by the CLI but I need some GUI interface to do this

now how to do this by both ways CLI and GUI ?
 
Old 08-22-2009, 12:14 PM   #2
evilted
Member
 
Registered: Aug 2009
Location: Ouagadougou, Burkina Faso
Distribution: centos
Posts: 92

Rep: Reputation: 18
should be able to..

on laptop A
Code:
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
where ppp0 is your out interface..(and yeah i know its a bad way of natting)

to save so the effective changes are lost after a reboot edit the two files...
Code:
/etc/sysctl.conf:
net.ipv4.ip_forward = 1

/etc/rc.local:
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
gui? idk.. im sure there is somewhere, but why? 2 commands and you can share your connection on a local net..

Last edited by evilted; 08-22-2009 at 12:21 PM. Reason: additonal info
 
1 members found this post helpful.
Old 08-23-2009, 08:45 AM   #3
AngelGabriel
LQ Newbie
 
Registered: Aug 2009
Location: Iraq + Oman + Bahrain
Distribution: ubuntu 9.04 + Back|Track 4
Posts: 2

Original Poster
Rep: Reputation: 0
thanks buddy ,, you're great
 
Old 03-08-2013, 12:16 PM   #4
georgew3
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
I'm trying to bridge ppp0 to eth0 without NAT.

I've done it before, and it worked great, but I don't remember how I did it, it has been 8 years...

So how to I do this?
 
  


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
need help setting up a bridge connection on Virtual Box (Ubuntu) 3vra Linux - Networking 1 07-23-2009 11:48 AM
can't bridge ppp0 interface a550ee Linux - Networking 2 07-16-2007 03:07 AM
Bridge serial ppp0 to eth0 cluelessnewb Linux - Networking 6 04-05-2007 08:22 PM
How to bridge a ppp0 connection? SentralOrigin Linux - Networking 1 02-03-2007 12:22 PM
How to forward net connection on ppp0 to wifi at eth1 slackist Linux - Wireless Networking 1 01-04-2006 10:34 AM

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

All times are GMT -5. The time now is 10:10 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