Panther Internet Sharing
by Wei-Meng Lee, Author of Windows XP Unwired, Contributor to Mac OS X Unwired11/11/2003
Editor's note: IP over FireWire is now integrated into Mac OS X 10.3. We're publishing this short article by Wei Meng Lee to serve as a reminder that this method for sharing an Internet connection at work is preferred over setting up an ad hoc AirPort base station that might compromise security. Since many of us readily have FireWire cables on hand (for our iPods, iSights, etc.), IP over FireWire seems like a reasonable and secure option for quick and dirty Internet sharing in the business world. Here's a quick look at using it and a refresher on AirPort sharing.
I'm sure you've encountered this many times; you're at a location with a single network connection, but you need to provide connectivity for one or more machines. Since you most likely don't have a hub handy in your back pocket, it's helpful to know the options provided by Mac OS X. In this article, I'm going to show you how to share an Internet connection using IP over FireWire (more secure) and AirPort Internet broadcasting (less secure).
Using IP over FireWire
With the release of Panther, you can use your FireWire port for Internet sharing using a technology known as IP over FireWire (previously available for download as preview release). IP over FireWire essentially allows IP protocols-based services (such as HTTP, FTP, SSH, etc.) to be used over the FireWire connection. This means that you can use your FireWire port much like your Ethernet port.
|
Related Reading Mac OS X Unwired |
For example, you have one Mac connected to the Internet via AirPort, and you want to allow another Mac to connect to the Internet via your FireWire port.
On the Mac sharing the Internet connection, go to System Preferences and open the Network preference. In the Network window, select Network Port Configurations under the Show: drop-down list box (see Figure 1).
|
|
Click on New... to create a new port. Give a name to your port and select Built-in FireWire as the port (see Figure 2). Click OK. Click Apply Now.
|
|
Go back to the System Preferences menu and select Sharing. Click on the Internet tab (see Figure 3). Choose the connection that you want to share from. Since you are connected to the Internet via AirPort, select AirPort; if you are connected through the Ethernet port, then select Built-in Ethernet.
Now you have to select how users share your Internet connection. In this case, we are sharing the connection through the FireWire port. So check the Built-in FireWire option in the "To Computers using:" selection. Finally, click the Start button to start sharing the Internet connection.
|
|
On the Mac using the shared Internet connection, you need to also add in a new FireWire port if you have not already done so. Then connect the two Macs using a FireWire cable. That's it! You can now connect to the Internet. To verify the connection, use Safari and see if you can load a web page. You can also go to the Network item in System Preferences and show the status of the FireWire port (see Figure 4).
|
|
Sharing over AirPort
While sharing an Internet connection using a FireWire cable is quick and easy, you do need to have a FireWire cable on hand. In this section I am going to show you how to share an Internet connection using AirPort.
Keep in mind that if you're in the workplace or somewhere else that already has a secure wireless network in place, you may compromise the integrity of that network by setting up an ad hoc AirPort base station. Always keep your system administrator informed about wireless networking outside the normal business configuration.
First, you must be connected to the Internet using some other means (such as the built-in Ethernet port) than AirPort. This is because you won't be able to use the AirPort to connect to the Internet and use it for sharing at the same time.
To share an Internet connection through the AirPort, go to System Preferences and click on the Sharing item. Click on the Internet tab (see Figure 5). Select your connection to share (such as the built-in Ethernet port) and check the AirPort checkbox.
|
|
You should also click on AirPort Options... to further customize the wireless connection. I strongly recommend that you do this, then enable password-protected encryption (WEP). When sharing through the AirPort connection, you're essentially creating an ad-hoc network (also known as a peer-to-peer network). WEP is not fail-safe security by any means, but it is a good first level of protection that should be used with all AirPort sharing on 802.11b networks (see figure 6). While in the options pane, you can also specify the wireless network name and the channel number to use.
|
|
On the other Mac, you should be able to see the network name (see Figure 7). Select it and you can now connect to the Internet through this shared connection.
|
|
Final Thoughts
Mac OS X allows you to share your Internet connection through any of your network ports. For example, here are some possible combinations:
- Share Built-in Modem connection using Ethernet port
- Share AirPort connection using Ethernet port
- Share Ethernet connection using AirPort
- Share Ethernet connection using FireWire port
- Share AirPort connection using FireWire port
Of course, you cannot share an Internet connection using the same port you're accessing the Web on. For example, you cannot share through an AirPort if you connect to the Internet using AirPort.
When network security isn't an issue, such as outside the business environment, using AirPort to share a single hard wire connection with multiple users is probably the most convenient method. Remember to enable WEP. If you're in the workplace with your Mac connected via Ethernet, then IP over FireWire might be a better and more secure sharing method.
Wei-Meng Lee (Microsoft MVP) http://weimenglee.blogspot.com is a technologist and founder of Developer Learning Solutions http://www.developerlearningsolutions.com, a technology company specializing in hands-on training on the latest Microsoft technologies.
Return to Mac DevCenter
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 31 of 31.
-
Share PC internet connect with Mac via bluetooth
2006-09-13 06:53:20 brandonwilm [Reply | View]
If a friend has his PC connected to the internet but has no wireless router and I would like to connect my mac and share his internet connection via bluetooth. Is this possible? if not, any ideas how I can connect the two so I can share his internet connection?
-
mac to winxp - works without password
2006-08-18 07:57:18 neo-one [Reply | View]
Hi, when i active the share internet option in my macbook, the dell pc with winxp detects instantly the conecction and internet pass by,, but if i put a password option , the winxp pc, can't conect.
What can i do?
thnx for any help!
-
Internet Sharing with Windows computers
2006-06-19 15:01:16 beckon [Reply | View]
I have successfully managed to connect to internet from Windows PC via Mac. However, it's very troublesome and stops working for no apparent reason. I have been able to fix it once by shutting down all computers for 5 minutes. But now it's not working again. Computers see each other, but the Windows PC cannot use Internet. Windows ICS is much more stable (unlike the rest of Windows :). Apple take note!
-
SHARING A CONNECTION WITH A PS2
2006-03-30 12:57:03 LIDVAC [Reply | View]
I have a g4 powerbook that is connected to the net through a wireless router that is downstairs. It too far from my PS2 upstairs to connect with an ethernet cable. Is it possible to share the wireless connection through my labtop using the built in ethernet connected to my PS2?
-
Https and e-mail
2005-05-30 15:20:32 Hanz [Reply | View]
Hello and thank you for that great article!
I just configured my old g4, so that it now sits between 'the web' (ethernet based office) and the newest mac member, a g4 powerbook.
Surfing now is an activity again! The old 450Mhz, despite it's charme, made me roll my eyes, bite my nails and change my diet to coffeine based products mostly.
Though there is a problem, and it only leaves me guessing, as I have no or only very little knowledge of firewall configuration: Neither am I able to open https based sites nore does the mail assistent recognize my mail accounts.
Any ideas on what need to be done to be able to have these 'basics' on the firewired book?
-
Sharing aitport over bluetooth
2005-05-24 13:46:42 Inzaghi [Reply | View]
Hi,
I've read somewhere that, by default, it's not possible to share an airport internet connection to a bluetooth device, while it's possible to share an ethernet or adsl port.
Somebody suggested buying a firewall/gateway software but indeed it's simpler than that.
The following example has been tested with a treo 650 and OS 10.3.8, a sitecom Bluetooth and Airport extreme; it should work on other versions too:
1) Assign a local IP to your bluetooth device (in this example: 10.0.1.105)
2) Pair your pda via bluetooth to your imac; after that, the bluetooth discovery option can be set to "off"
3) Open a terminal window
4) Run a ppp daemon without authentication on the pda bluetooth port (the following command all on one line):
sudo /usr/sbin/pppd /dev/tty.Bluetooth-PDA-Sync 115200 noauth local passive proxyarp ktune asyncmap 0 persist :10.0.1.105
n.b. the "persist" flag will keep the daemon running even after a connection is terminated, waiting for new connections
4) Enable ip forwarding:
sudo sysctl -w net.inet.ip.forwarding=1
5) Setup your PDA for a new bluetooth connection; the device should be setup as "pc connection", 115200 spped, and a fixed IP (in our case 10.0.1.105) and DNS same as the one on your Mac
Regards,
Andrea
-
Panther Internet Share
2004-09-21 07:50:43 relaxrelaxx [Reply | View]
I have a cable internet connection going into a cable modem. The modem connects to a _hub_ with an ethernet cable. Out of the hub, I have two ethernet cables going into two different iMacs. I am trying to share via "built-in ethernet." The primary computer connects without a problem. The seconday computer doesn't seem to recognize the local network and tries to connect directly through the cable modem. I also can't get it to recognize the printer that the other computer is sharing.
Does anyone know what I'm doing wrong? Do you have to have firewire or AirPort to set up a shared connection? I thought the hub would be enough.
Please treat me like an idiot and go slow ;-).
I sincerely appreciate your help.
-
AirPort Internet Sharing and VoIP on ethernet port
2004-09-12 12:25:33 YiFai [Reply | View]
Hi,
I'm currently running OS X 10.3 using a 12' Powerbook G4 and connected to the internet through AirPort. However, I have a VoIP Gateway that needs to obtain internet access through an ethernet port, so i was wondering if it is possible to connect the gateway through my ethernet port.
I did try to use internet sharing, removed the firewall but i still couldn't get it to work. Right now my VoIP Gateway is set to obtain IP address through DHCP, and my ethernet port is set to DHCP as well. Are these settings incorrect??
THanks in advance,
YiFai
-
Problems with accessing web using FireWire
2004-08-11 01:59:36 xeloi [Reply | View]
Hi
Great article... unfortunately, I have a weird problem.
I'm using OS 10.3.X. I have a laptop that is connected to the internet via the ethernet and bought a used IMac (also using OS 10.3) and tried to connect the two together using the FireWire. I followed the instructions exactly. Both computers say that the connection via FireWire is active and that I am connected to the internet. However, when I open Safari on the second computer, I can't connect to anything. I checked my firewalls and there's nothing turned on.
I know I'm a Mac newbie, but this does seem a bit weird to me. I would be eternally grateful if anyone could help me with this problem.
Thanks,
Brandon Tingley
-
Firewall issues
2004-05-29 17:19:24 mathewlu [Reply | View]
Thanks for the article. I set this up as described, but even though I could access the host computer (the one connected to the net) from the client, I couldn't get out to the Internet. I finally suspected that it might be the firewall, and sure enough when I turned it off on the host computer I was able to access the net through the client. I later realized that it would work if I started Personal Web Sharing.
Regards,
--Mathew
-
Problem Sharing Internet Connection at Hotel
2004-02-05 18:52:19 kevinciotta [Reply | View]
I travel with my business partner and frequently share the single Ethernet connection in a hotel room by using the Internet Sharing feature in 10.3. 99% of the time it's no problem. At one hotel served by Datanamics (ISP), this won't work. I can go online, getting a real IP address via DHCP. I then enable Internet Sharing of the Ethernet connection via Airport. He then accesses "my wireless network" (from an IBM laptop) and gets an internal IP address from me via DHCP (10.X.X.X). All of this is what works fine evevywhere else --- and he usually gets full access. But at this one hotel, when he tries to access the web or pop email, he can't. I have figured out that my connection through the ISP is using a proxy server, but am not sure if that is affecting anything. Any thoughts? Has this ISP figured out how to block this type of access? They also provide their own wireless in the hotel (with a very weak signal) so maybe they don't want others sharing? Can that tell that virtual routing is going on?
-
Networking over firewire (panther)
2004-01-19 12:42:16 fredvig [Reply | View]
I've got a rather strange problem. I'm trying to use the firewire network feature of pather to connect my Quicksilver 733 to my Tibook 667, but for some reason, my Firewire connection isn't showing up in the Network Status window of the desktop( although it does show up in the laptop), so needless to say, I ain't got no network.
Firewire Disk mode works just fine, and any peripherals I connect via firewire are working, just no firewire networking .
Anyone have any ideas?
Thanks
Fred V
-
Firewire Ethernet Interface?
2004-01-05 18:02:42 anonymous2 [Reply | View]
Given that IP over Firewire is directly supported, does anyone make a device that plugs into the Firewire port that connects to an Ethernet cable?
-
Airport Sharing worked in Jaguar, broke in Panther
2004-01-05 13:10:13 germuska [Reply | View]
Given that I've found this article, I'm assuming my problem is local, but since I'm casting about, I figure I'll see if anyone has info...
I was happily sharing my internet connection from my tower (a 400MHz G4) to my laptop (1GHz 17" Powerbook) when I had Jaguar installed on both, and continued to share with no problems after upgrading the laptop to Panther. However, since I upgraded the tower to Panther, I now have serious problems when I turn on Internet sharing over Airport. When I turn it on, my ethernet TCP/IP connection drops, and I can't even get it back by turning off internet sharing. I have to reboot the machine to get it back.
Any troubleshooting hints greatly appreciated...
-
yes, but why is it so slow?
2003-11-29 14:16:23 anonymous2 [Reply | View]
I thought it was a big deal until I began transferring files... Backing up a 8.17Gb folder takes 12 hours wirh Firewire over IP connecting a firewire drive on 867 DP G4 and a 800Mhz IBook !
The same 8.17Gb folder transfer in 6 minutes when the fire wire disk is plugged directly in the M00mhz iBook.
The firewire HD and the Firewire IP each use a separate FW port.
-
Panther OSX Server and IP over Firewire
2003-11-21 09:52:00 skaman [Reply | View]
How do you share a connection on a computer running OSX 10.3 Server? I have a G4 400 running 10.3 server with a connection to the internet via Ethernet which I want to share with a G4 Dual 1Ghz via Firewire. I can't find the ICS tab in the server version of Panther.
Hmmm. Where's it gone? Security reasons?
-
usb adsl connection sharing
2003-11-20 09:50:27 anonymous2 [Reply | View]
has anyone had any experience with, or know if its possible, to share a usb adsl connection with an ethernet network?
I'd assume that once the usb drivers are installed a new network port should be created which will appear in the appropriate drop down in the preferences > sharing > internet tab?? and then the connection can be duly shared through the built in ethernet.
-
More than 2 macs on firewire
2003-11-14 01:32:12 anonymous2 [Reply | View]
Then, is it possible to create a network with a FireWire hub and more than 2 macs?
-
PANTHER INTERNET SHARING AND FILE SHARING
2003-11-13 11:06:08 tazgrump [Reply | View]
Is there anyway to use USB 2.0 to accomplish the same tasks? I know there are USB 2.0 data bridge cables available but they all require drivers and there are no OS X.X drivers that I know of. I am primarily interested in a cross platform connection, Mac to XP.
-
USB 2.0 sharing
2003-11-13 11:03:34 anonymous2 [Reply | View]
Is there anyway to use USB 2.0 to accomplish the same tasks? I know there are USB 2.0 data bridge cables available but they all require drivers and there are no OS X.X drivers that I know of. I am primarily interested in a cross platform connection, Mac to XP.
-
IP over firewire from Panther to OS 9
2003-11-13 11:00:29 anonymous2 [Reply | View]
At the moment i'm using Panther on a Powerbook, would like to share my ethernet connection via firewire to a BW G3. Can this be possible? Also, I'm running OS 9 on the G3.
Thanks
-
IP over firewire from Panther to OS 9
2003-11-13 10:59:48 anonymous2 [Reply | View]
At the moment i'm using Panther on a Powerbook, would like to share my ethernet connection via firewire to a BW G3. Can this be possible? Also, I'm running OS 9 on the G3.
Thanks
-
USB 2.0 sharing
2003-11-13 10:58:22 anonymous2 [Reply | View]
Is there anyway to use USB 2.0 to accomplish the same tasks? I know there are USB 2.0 data bridge cables available but they all require drivers and there are no OS X.X drivers that I know of. I am primarily interested in a cross platform connection, Mac to XP.
-
More than 2 firewire computer
2003-11-13 10:46:37 anonymous2 [Reply | View]
Is it possible with a firewire hub to create a network with more than 2 computers using firewire?
-
Cable type (6-4 or 6-6) ??
2003-11-12 12:27:57 anonymous2 [Reply | View]
Is there any need for concern in connecting 2 mac's (Pismo power book and Blue & White G3) via firewire with a 6 pin to 6 pin cable. Would this cable connect the power leads of both computers together???
-
Sharing on same port
2003-11-12 10:41:05 jameshowison1 [Reply | View]
<blockquote>
Of course, you cannot share an Internet connection using the same port you're accessing the Web on. For example, you cannot share through an AirPort if you connect to the Internet using AirPort.
</blockquote>
I'm not sure that this is right. For example I know that I can share an internet connection on my built-in ethernet port with others via that same port.
It works like this:
Laptop -> hub -> uni network
\
computer wanting to share
Basically the laptop (me) is the only one that the uni network will route packets for (does MAC address authentication at the DHCP server), so I route those packets on behalf of the other computer.
Unix boxes can run two interfaces through the one ethernet card---keeping the 'external interface IP' while dishing out 10.0.0.0 addresses to other clients.
The only danger here is that you are running an unauthorized DHCP server on the university network which could cause serious problems as other people that would normally pick up their IP from the uni DHCP servers might get one from you (and therefore appear to the internet as your public IP address. Actually for basic browsing this won't be a huge prob but could cause unexpected issues . Turning turning off the sharing will cause the accidentlly connected clients to hiccup ---they will need to re-new their DHCP lease from the right server. Also your sysadmins might well beat you up.
Note that, wierdly, this also works for "Sharing Airport over Airport"---but only if the network that you are connecting to is an open connect one that the other client can associate with---in this case the Airport network is working as the Hub. At least I have this option when I attach to an Ad-hoc network. What you can't do with Airport-to-Airport is run two channels, with one being the external interface and one the internal interface (the cards can't do it).
I haven't tested all this but it is worth keeping in mind. Again the DHCP issues could be serious.
-
internet sharing with WinPC
2003-11-12 08:31:30 anonymous2 [Reply | View]
I have a G4 running panther, that internet is connected to and has a belkin usb wireless adapter attahed, I want to share my connection to my winpc laptop using the wireless adaptor on the laptop is this possible and how?
-
iSight FireWire cable
2003-11-12 08:21:49 anonymous2 [Reply | View]
To me it seemed that the FireWire cable that came with the iSight was very thin. I am not sure if thickness of cables is relevant for FireWire cables. Can I safely use this cable to hook up two Macs?
-
Panther and XP
2003-11-12 07:50:18 anonymous2 [Reply | View]
Now, I'm wondering if anyone knows whether or not XP's IP over Firewire implementation is compatible with OS X's.
I'd love to have a 400Mb/s connection between my XP based Home Theater and my Mac Desktop.
-
Airport Base Station range: real vs. ad hoc
2003-11-12 05:52:56 anonymous2 [Reply | View]
How does the range of a real AirPort Base Station compare to a the range of an AirPort equipped Mac used as an "ad hoc base station", as explained above for wireless internet sharing? Is it more or less the same ("approx. 150 ft")?













