Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sharing internet connection from USB dongle to ethernet
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
UnoSD
Apprentice
Apprentice


Joined: 27 Jun 2011
Posts: 273

PostPosted: Sat May 25, 2013 9:25 pm    Post subject: Sharing internet connection from USB dongle to ethernet Reply with quote

Hi everyone,

I'm trying really hard, finding thousand of guides and forum topics but none of them is working.

I'd like to share a connection started by wvdial, (which creates the device ppp0), on my local network (eth0).

I don't need dhcp if it's not mandatory since there is just one machine with static IP which wants to use the connection.

What can I do to sort this out?

Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54827
Location: 56N 3W

PostPosted: Sat May 25, 2013 10:04 pm    Post subject: Reply with quote

UnoSD,

You do not need dhcp but you do need NAT as PPP gives you exactly one IP address, so you have to make the outside world think you only have one machine connected.

The Gentoo Home Router Guide contains all the information you need and then some.
You already have PPP set up. You don't need DHCP The guide is written as if you are setting up an old PC to be a router but the same ideas apply if you are adding routing to your system.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum