惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
Webroot Blog
Webroot Blog
GbyAI
GbyAI
S
SegmentFault 最新的问题
Cyberwarzone
Cyberwarzone
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
J
Java Code Geeks
Google DeepMind News
Google DeepMind News
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
博客园 - 【当耐特】
S
Secure Thoughts
酷 壳 – CoolShell
酷 壳 – CoolShell
AWS News Blog
AWS News Blog
Engineering at Meta
Engineering at Meta
S
Security Affairs
H
Help Net Security
Microsoft Security Blog
Microsoft Security Blog
D
DataBreaches.Net
云风的 BLOG
云风的 BLOG
Hugging Face - Blog
Hugging Face - Blog
Google DeepMind News
Google DeepMind News
Spread Privacy
Spread Privacy
T
Threatpost
Forbes - Security
Forbes - Security
C
Cisco Blogs
Scott Helme
Scott Helme
Attack and Defense Labs
Attack and Defense Labs
Simon Willison's Weblog
Simon Willison's Weblog
腾讯CDC
The Last Watchdog
The Last Watchdog
Cloudbric
Cloudbric
Last Week in AI
Last Week in AI
Recorded Future
Recorded Future
小众软件
小众软件
V
Vulnerabilities – Threatpost
美团技术团队
人人都是产品经理
人人都是产品经理
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
Hacker News - Newest:
Hacker News - Newest: "LLM"
I
Intezer
月光博客
月光博客
C
Cyber Attacks, Cyber Crime and Cyber Security
博客园 - 司徒正美
C
Cybersecurity and Infrastructure Security Agency CISA
Martin Fowler
Martin Fowler
博客园 - 聂微东

博客园 - hai

会移动的文字(Marquee)学习 Mac OSX 下配置 Google Android 开发环境 Mac OSX Eclipse3.6下安装erlide搭建erlang集成开发环境 Installing Erlang on Mac OS X 浏览器解析 XML DOM How to set the JAVA_HOME variable in Mac OS X – Snow Leopard code sign error doesn't match any valid certificate private key pair in the default keych 错误的解决办法 CSS的跨浏览器代码准则 Google Maps API详解--02 Google Earth API 讲解--02 Google Maps API 详解--01 Network Programming Using Properties And Synthesize In Objective-C 2.0 For Getters And Setters Tutorial: Networking and Bonjour on iPhone 5个必看的cocos2d 开源游戏 有机会都学习下 iPhone开发技巧之工具篇(1)— 将XIB文件转换为Objective-C源程序 Google Earth API 讲解--04 Google Earth API 讲解--05 浏览器获取地理位置
How To Share The Internet Connection Between Mac and PC
hai · 2010-08-30 · via 博客园 - hai

Here’s the scenario that brought me to write this article: the ISP I’ve signed up with decided to temporarily block the internet connectivity in our area. Where I live, it’s actually possible — things like these do happen without reason. Because of that, Mark O’Neill suggested purchasing a UMTS device that would allow me to go online just about anywhere with reception. So I did. It costed me quite a bit but I thought it would be worth the money.

Now, here’s the tricky part. In my home network, we have 2 Macs and one PC running on Windows XP. The UMTS device connects via USB. How do we decide who gets to use it? We put our thinking caps on and finally decided that it would be easier to share the internet connection using one of the Macs. I rolled up my sleeves and got to work.

Internet sharing between Macs is basically very easy but if you add a Windows PC into the mix, things get a little problematic. Sharing the internet connection between Mac and PC turned out to be harder than I thought. I’ll explain why in a minute. But first, let’s just assume that we only needed to share the connection between 2 (or more) Macs via AirPort (WiFi). It’s very simple.

Open System Preferences and click on Sharing.

Before Internet Sharing can be enabled, you first have to configure the proper settings.

share internet connection between mac and pc

In the ‘Share your connection from’ dropdown list, select the port that has internet connectivity. In the screenshot above, I have “Ethernet” selected when it actually should be USB — ignore that. Then select how you would like to share the connectivity. I chose AirPort so that I can share the connection with several other computers. Checking the box next to ‘AirPort’ unbricks the ‘Airport options’ button.

Click on that button and configure your network name and security options.

share internet connection between mac pc

Alright, here’s where the whole Windows and Mac concoction starts to rear its ugly head. Due to the different methods that the two operating systems deals with Hex encryption, the password you enter here will not be easily accepted by Windows. A Windows PC will be able to detect the wireless network but it will not be able to join.

Here’s the workaround. Select the 128-bit WEP encryption option and enter a 13-character password. Then, rename the network to something really short without spaces. When you’re done, hit OK.

Now you can check the box next to ‘Internet Sharing’. You may get a prompt to start AirPort, click Start. Right, the connection is shared. Macs detect the network automatically (and so will iPhones and iPod touches) and will connect to it as though it’s a regular router.

On the Windows PC, a little bit of manipulation is required. Turn on the wireless adapter and right-click on its taskbar icon to select “View available wireless networks”. In the subsequent window, click on “Change advanced settings”.

Click on the Wireless Networks tab and then click the ‘Add’ button to add our shared network.

how to share internet connection between two computers

Print the network name accurately, then set the network authentication to ‘Shared’, data encryption to ‘WEP’, uncheck the box next to “This key is provided for me automatically” and enter the 13-character password.

how to share internet connection between two laptops

注意:中文版系统,在这里一定要选择“共享式”。否则连不到网络。

Click on the Authentication tab and disable IEEE 802.1x authentication. Next, click on the Connection tab and make sure that it will connect when in range. Click OK and apply the settings.

It should now try to connect to the shared AirPort connection. Cross your fingers. This sort of busts the myth that Macs and Windows won’t work well together, doesn’t it?

I noted a few oddities during the whole procedure: 40-bit WEP encryption didn’t work when trying to share the internet connection between Macs and PC. The password was always incorrect. Then I changed it to 128-bit and everything was well. Also, the network name must not contain any spaces. The Windows PC wouldn’t connect to “Jackson Chung’s MacBook” but it connected with “jxn”.

How would you go about this procedure from a Window’s point of view? I would love to hear it. Tell me how — in the comments!