Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pppoA on an ethernet link [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sat Apr 14, 2012 9:29 am    Post subject: pppoA on an ethernet link [Solved] Reply with quote

And the unsupported software is... WinXP ! :oops:
Well... I perfectly accept a solution that transforms the problem into a Gentoo-Linux supported question... 8)

1/ A Gentoo desktop is linked to the internet via an old ADSL USB modem using the pppoA protocol.
This is working fine, and I get a ppp0 network interface.
2/ This Gentoo desktop gets a working eth0 interface used for a local network with static IPs.
A WinXP of this local network system running putty can get a working ssh on the Gentoo desktop.

3/ I would like the browsers of the WinXP system to access to the internet as well.
I think that, thanks to all the howtos I found on the net, I implemented the appropriate iptable rules on the Gentoo Desktop for forwarding and masquerading.

My trouble is that I cannot find my way on the WinXP system to declare a connection to the internet via the Gentoo Desktop.
It seems that the only protocol I can choose is pppoE.

=> Is there a way on the WinWP system to force it using pppoA or....
Is there a (simple, I mean not transforming the Gentoo desktop into a proxy) way on the Gentoo Desktop to convert from pppoE to pppoA before forwarding from eth0 to ppp0 (And the other way around I presume) ?
_________________


Last edited by aCOSwt on Sun Apr 15, 2012 4:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Apr 14, 2012 10:32 am    Post subject: Reply with quote

aCOSwt,

In WinXP set up your default route - staticaly to point the the Gentoo box, as its your router.
Thats not being a proxy ... it will perform NAT.

On XP, PPPoX is is no interest. PPP can have at most two ends - your ISP and your USB modem, which is connected to the Gentoo box.

Follow the Gentoo Home Router guide. That will add a DHCP server to your Gentoo, so that the WinXP setup will be automatic. No messing with a static default route.
_________________
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
aCOSwt
Bodhisattva
Bodhisattva


Joined: 19 Oct 2007
Posts: 2537
Location: Hilbert space

PostPosted: Sun Apr 15, 2012 4:25 pm    Post subject: Reply with quote

Thank you NeddySeagoon.

I had not wished following the Gentoo Home Router guide because I had not understood it was fitting my purpose.
Quote:
Building your own router out of old spare parts
, suggesting to select CONFIG_IP_ADVANCED_ROUTER documented as follows
Quote:
If you intend to run your Linux box mostly as a router

I had understood that this howto was serving the purpose of those who intend to dedicate a box to routing. And this was not my intention.

I wanted to keep things as minimalistic as possible. (=> not worrying about things I know nothing about, that is dhcp, dnsmasqd...)

Moreover... because I know nothing in security and am not clever enough in networking... I... well... dislike having ACCEPT default policies...

So... this was just too many things not fitting.

Well... at the end of the day everything incidentally worked well selecting the pppoE protocol on WinXP and the Gentoo desktop as default bridge.
I had just forgotten that /proc/sys/net/ipv4/ip_forward is reset when I reboot... :oops:
_________________
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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