public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Q: How is that terminus technicus for...
@ 2014-11-16 13:49 meino.cramer
  2014-11-16 14:12 ` [gentoo-user] " Holger Hoffstätte
  2014-11-16 14:19 ` [gentoo-user] " Mick
  0 siblings, 2 replies; 4+ messages in thread
From: meino.cramer @ 2014-11-16 13:49 UTC (permalink / raw
  To: Gentoo

Hi,

I connected a Arietta.G25 via Ethernet over USB (using a simple USB
cable and hardware USB->Ethernet Adaptor to my Gentoo PC. I can ssh
on that little tiny board. Now I want to access the internat from
within the Arietta.  Therefore all requests need to be transfered from
the Arietta board to my PC, which then plays the role of an ISP to
the Arietta board and itself places the requests to the internet
instead of the Arietta board itself.

But this is a too longish explanation to be put into a google request.

Is there any name for that...so I am able to find the tutorials/howtos
myself?

Sorry...I am no native english speaker...

Best regards,
Meino

PS: What USB->Ethernet adaptor could one recommend...the Arietta is
USB-powered...?




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: Q: How is that terminus technicus for...
  2014-11-16 13:49 [gentoo-user] Q: How is that terminus technicus for meino.cramer
@ 2014-11-16 14:12 ` Holger Hoffstätte
  2014-11-16 14:19 ` [gentoo-user] " Mick
  1 sibling, 0 replies; 4+ messages in thread
From: Holger Hoffstätte @ 2014-11-16 14:12 UTC (permalink / raw
  To: gentoo-user

On Sun, 16 Nov 2014 14:49:02 +0100, meino.cramer wrote:

> I connected a Arietta.G25 via Ethernet over USB (using a simple USB
> cable and hardware USB->Ethernet Adaptor to my Gentoo PC. I can ssh
> on that little tiny board. Now I want to access the internat from
> within the Arietta.  Therefore all requests need to be transfered from
> the Arietta board to my PC, which then plays the role of an ISP to
> the Arietta board and itself places the requests to the internet
> instead of the Arietta board itself.
> 
> But this is a too longish explanation to be put into a google request.

:)

> Is there any name for that...so I am able to find the tutorials/howtos
> myself?

If I understood this correctly this should do what you want:

- on the board set the default route to the PC

- on the PC set up "packet forwarding"

That's the best explanation I can give you without writing a full-blown
tutorial, but searching for that should get you going. :)

-h



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Q: How is that terminus technicus for...
  2014-11-16 13:49 [gentoo-user] Q: How is that terminus technicus for meino.cramer
  2014-11-16 14:12 ` [gentoo-user] " Holger Hoffstätte
@ 2014-11-16 14:19 ` Mick
  2014-11-16 15:31   ` meino.cramer
  1 sibling, 1 reply; 4+ messages in thread
From: Mick @ 2014-11-16 14:19 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1406 bytes --]

On Sunday 16 Nov 2014 13:49:02 meino.cramer@gmx.de wrote:
> Hi,
> 
> I connected a Arietta.G25 via Ethernet over USB (using a simple USB
> cable and hardware USB->Ethernet Adaptor to my Gentoo PC. I can ssh
> on that little tiny board. Now I want to access the internat from
> within the Arietta.  Therefore all requests need to be transfered from
> the Arietta board to my PC, which then plays the role of an ISP to
> the Arietta board and itself places the requests to the internet
> instead of the Arietta board itself.
> 
> But this is a too longish explanation to be put into a google request.
> 
> Is there any name for that...so I am able to find the tutorials/howtos
> myself?
> 
> Sorry...I am no native english speaker...
> 
> Best regards,
> Meino
> 
> PS: What USB->Ethernet adaptor could one recommend...the Arietta is
> USB-powered...?

Sorry, I don't even know what Arietta may be.  You need to be able to forward 
packets from Arietta via your PC and 'masquerade' their address.  If the 
connection was via ethernet, then something like this would work:

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -F
iptables -t nat -A POSTROUTING -j MASQUERADE

However, I am not sure if something special is needed for a USB to PC 
connection, it depends what the USB connection shows up as.  I hope this gets 
you on the right path.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Q: How is that terminus technicus for...
  2014-11-16 14:19 ` [gentoo-user] " Mick
@ 2014-11-16 15:31   ` meino.cramer
  0 siblings, 0 replies; 4+ messages in thread
From: meino.cramer @ 2014-11-16 15:31 UTC (permalink / raw
  To: gentoo-user

Mick <michaelkintzios@gmail.com> [14-11-16 15:20]:
> On Sunday 16 Nov 2014 13:49:02 meino.cramer@gmx.de wrote:
> > Hi,
> > 
> > I connected a Arietta.G25 via Ethernet over USB (using a simple USB
> > cable and hardware USB->Ethernet Adaptor to my Gentoo PC. I can ssh
> > on that little tiny board. Now I want to access the internat from
> > within the Arietta.  Therefore all requests need to be transfered from
> > the Arietta board to my PC, which then plays the role of an ISP to
> > the Arietta board and itself places the requests to the internet
> > instead of the Arietta board itself.
> > 
> > But this is a too longish explanation to be put into a google request.
> > 
> > Is there any name for that...so I am able to find the tutorials/howtos
> > myself?
> > 
> > Sorry...I am no native english speaker...
> > 
> > Best regards,
> > Meino
> > 
> > PS: What USB->Ethernet adaptor could one recommend...the Arietta is
> > USB-powered...?
> 
> Sorry, I don't even know what Arietta may be.  You need to be able to forward 
> packets from Arietta via your PC and 'masquerade' their address.  If the 
> connection was via ethernet, then something like this would work:
> 
> echo 1 > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -F
> iptables -t nat -A POSTROUTING -j MASQUERADE
> 
> However, I am not sure if something special is needed for a USB to PC 
> connection, it depends what the USB connection shows up as.  I hope this gets 
> you on the right path.
> 
> -- 
> Regards,
> Mick

Hi Holger, Hi Mick,

Thanks fpr the quick help and infos!
It works! :)

Arietta G25:
http://www.acmesystems.it/arietta

Best regards,
Meino




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-11-16 15:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-16 13:49 [gentoo-user] Q: How is that terminus technicus for meino.cramer
2014-11-16 14:12 ` [gentoo-user] " Holger Hoffstätte
2014-11-16 14:19 ` [gentoo-user] " Mick
2014-11-16 15:31   ` meino.cramer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox