* [gentoo-user] Sharing linux's internet connection with an iMac?
@ 2006-03-27 7:07 Ian
2006-03-27 7:29 ` Boyd Stephen Smith Jr.
2006-03-27 7:40 ` Uwe Thiem
0 siblings, 2 replies; 6+ messages in thread
From: Ian @ 2006-03-27 7:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 421 bytes --]
Hi there
Just because you guys/gals are smart.
I have a Linux laptop, and an iMac.
This linux laptop uses a wifi connection to a router for network/internet
access.
While its connected to the network, can I plug in my iMac to my laptop and
fool it
into thinking it is connected to the router? I did this a long time ago with
2 windows
boxes. Can it be done from Linux to OS X?
Thanks!!
--
Cheers,
Ian
[-- Attachment #2: Type: text/html, Size: 519 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing linux's internet connection with an iMac?
2006-03-27 7:07 [gentoo-user] Sharing linux's internet connection with an iMac? Ian
@ 2006-03-27 7:29 ` Boyd Stephen Smith Jr.
2006-03-27 11:36 ` Hans-Werner Hilse
2006-03-27 7:40 ` Uwe Thiem
1 sibling, 1 reply; 6+ messages in thread
From: Boyd Stephen Smith Jr. @ 2006-03-27 7:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1336 bytes --]
On Monday 27 March 2006 01:07, Ian <omega21@gmail.com> wrote
about '[gentoo-user] Sharing linux's internet connection with an iMac?':
> I have a Linux laptop, and an iMac.
> This linux laptop uses a wifi connection to a router for
> network/internet access.
> While its connected to the network, can I plug in my iMac to my laptop
> and fool it
> into thinking it is connected to the router? I did this a long time ago
> with 2 windows
> boxes. Can it be done from Linux to OS X?
Yes. Set up a bridge device on the laptop between the wifi interface and
the iMac interface; assuming your setup is as simple as I think, that
should be all you need to do.
Helpful documentation:
http://gentoo-wiki.com/HOWTO_setup_a_gentoo_bridge
Although, that does mention there could be some issues. If a bridge
doesn't work, you can probably just enable IPv4 (and IPv6, if you use it)
forwarding and set up your iMac with a static IP. That should get you up
and running, although you might want to look deeper into the magic for
iptables, iproute2, dhcp, etc. at some point in the future.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing linux's internet connection with an iMac?
2006-03-27 7:07 [gentoo-user] Sharing linux's internet connection with an iMac? Ian
2006-03-27 7:29 ` Boyd Stephen Smith Jr.
@ 2006-03-27 7:40 ` Uwe Thiem
1 sibling, 0 replies; 6+ messages in thread
From: Uwe Thiem @ 2006-03-27 7:40 UTC (permalink / raw
To: gentoo-user
On 27 March 2006 09:07, Ian wrote:
> Hi there
> Just because you guys/gals are smart.
>
> I have a Linux laptop, and an iMac.
> This linux laptop uses a wifi connection to a router for network/internet
> access.
> While its connected to the network, can I plug in my iMac to my laptop and
> fool it
> into thinking it is connected to the router? I did this a long time ago
> with 2 windows
> boxes. Can it be done from Linux to OS X?
Of course, it can be done. Set you laptop up as a firewall that uses
masquerading or Network Address Translation (NAT) to hide anything behind it.
Then point the default route of any box connecting to your laptop to the
laptop or use dhcp.
Uwe
--
Why do consumers keep buying products they will live to curse?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing linux's internet connection with an iMac?
2006-03-27 7:29 ` Boyd Stephen Smith Jr.
@ 2006-03-27 11:36 ` Hans-Werner Hilse
2006-03-27 16:23 ` Matthias Bethke
0 siblings, 1 reply; 6+ messages in thread
From: Hans-Werner Hilse @ 2006-03-27 11:36 UTC (permalink / raw
To: gentoo-user
Hi,
On Mon, 27 Mar 2006 01:29:54 -0600 "Boyd Stephen Smith Jr."
<bss03@volumehost.net> wrote:
> Yes. Set up a bridge device on the laptop between the wifi interface
> and the iMac interface; assuming your setup is as simple as I think,
> that should be all you need to do.
Most likely it wouldn't work because of the wlan link layer. Most WiFi
cards don't go well with bridging... So routing is the option which is
left.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing linux's internet connection with an iMac?
2006-03-27 11:36 ` Hans-Werner Hilse
@ 2006-03-27 16:23 ` Matthias Bethke
2006-03-27 17:51 ` Hans-Werner Hilse
0 siblings, 1 reply; 6+ messages in thread
From: Matthias Bethke @ 2006-03-27 16:23 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
Hi Hans-Werner,
on Monday, 2006-03-27 at 13:36:38, you wrote:
> Most likely it wouldn't work because of the wlan link layer. Most WiFi
> cards don't go well with bridging... So routing is the option which is
> left.
The 802.11 link layer is almost exactly the same as in Ethernet so that
should be a driver issue. Particularly the LLC part is completely
compatible...I never actually tried the bridging though.
cheers!
Matthias
--
I prefer encrypted and signed messages. KeyID: FAC37665
Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Sharing linux's internet connection with an iMac?
2006-03-27 16:23 ` Matthias Bethke
@ 2006-03-27 17:51 ` Hans-Werner Hilse
0 siblings, 0 replies; 6+ messages in thread
From: Hans-Werner Hilse @ 2006-03-27 17:51 UTC (permalink / raw
To: gentoo-user
Hi,
On Mon, 27 Mar 2006 18:23:24 +0200 Matthias Bethke
<matthias@towiski.de> wrote:
> on Monday, 2006-03-27 at 13:36:38, you wrote:
> > Most likely it wouldn't work because of the wlan link layer. Most
> > WiFi cards don't go well with bridging... So routing is the option
> > which is left.
>
> The 802.11 link layer is almost exactly the same as in Ethernet so
> that should be a driver issue. Particularly the LLC part is completely
> compatible...I never actually tried the bridging though.
I should have been more verbose. 802.11 may be almost the same
regarding the logical link layer, but not the Media Access Control
layer. In fact, 802.11 has the DS bits in its headers and potentially
up to four relevant addresses for routing the packet (Receiver,
Transmitter, Source, Destination for our scenario). Bridging can in
fact work if the WiFi node in question can make use of these features.
However, most STA's cannot due to restrictions in their firmware. IIRC,
that's basically the difference between STA/AP firmware versions. By
definition, this is an AP function (see 802.11 standard, 1999, pg.
37ff.), WDS (Wireless Distribution Service). As it isn't relevant for
hardware design, I tend to agree that it is a "driver problem",
although not quite like usual "driver problems"...
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-03-27 17:58 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-27 7:07 [gentoo-user] Sharing linux's internet connection with an iMac? Ian
2006-03-27 7:29 ` Boyd Stephen Smith Jr.
2006-03-27 11:36 ` Hans-Werner Hilse
2006-03-27 16:23 ` Matthias Bethke
2006-03-27 17:51 ` Hans-Werner Hilse
2006-03-27 7:40 ` Uwe Thiem
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox