2008-02-02, 00:26 | Link #1 |
Love Yourself
Join Date: Mar 2003
Location: Northeast USA
Age: 38
|
Mac OS X and Internet Sharing
Greetings all! Believe it or not, this isn't related to my recent topic about using a Mac system as a proxy server (that's still being worked on, but one of the sewer pipes leaked for the second time in my office, resulting in a mad rush to power everything down and move computers and drives away from the leak area. So, no progress on that for now, and I'm praying that I have no water damage). This time, I'm attempting to share the internet from my Macbook Pro to my girlfriend's laptop.
In past internet sharing experiences, I'd share my ethernet connection with her by setting the system to act as a wireless access point. This worked perfectly fine. The problem is that more recently her computer gets finnicky about wireless connections and as a result she has problems using our apartment's wireless. I figured that this was a simple solution - I'd just share my wireless connection through ethernet with her. It didn't work, because her system wouldn't take a proper IP and she couldn't use the internet. Now, at work I use a G5 system that has two ethernet ports. I've shared the connection to a Dell XPS system, using a regular ethernet cable, without a problem (other than the fact that IT services caught me and didn't like that setup). I was surprised that an older system would be able to do it with such ease (MDI/MDI-X capable ethernet card), but figured that maybe the problem was my ethernet cable. No big deal - I went on eBay and got a relatively cheap crossover cable. Confident that this would fix the issue, I was distraught to find that it still doesn't work. I've Googled around and can't find anything on this. Usually people are trying to share their internet with the PC acting as the host, and they run into problems. This makes me think that either nobody is trying to do what I'm doing, or it works so effortlessly that I must be in the extreme minority. If it helps, here are some of the messages that appear in my console while my system is connected to my girlfriend's. Note that these are the exact same messages that appear when using a regular ethernet cable: Code:
2/1/08 9:10:54 PM kernel AppleYukon2 - en0 link active, 100-Mbit, full duplex, flow control disabled port 0 2/1/08 9:10:55 PM mDNSResponder[25] getifaddrs ifa_netmask for vmnet8(7) Flags 8863 Family 2 192.168.148.1 has different family: 0 2/1/08 9:10:55 PM mDNSResponder[25] getifaddrs ifa_netmask for vmnet1(8) Flags 8863 Family 2 192.168.188.1 has different family: 0 2/1/08 9:10:55 PM mDNSResponder[25] SetupAddr invalid sa_family 0 2/1/08 9:10:55 PM mDNSResponder[25] SetupAddr invalid sa_family 0 2/1/08 9:10:57 PM mDNSResponder[25] getifaddrs ifa_netmask for vmnet8(7) Flags 8863 Family 2 192.168.148.1 has different family: 0 2/1/08 9:10:57 PM mDNSResponder[25] getifaddrs ifa_netmask for vmnet1(8) Flags 8863 Family 2 192.168.188.1 has different family: 0 2/1/08 9:10:57 PM mDNSResponder[25] SetupAddr invalid sa_family 0 2/1/08 9:10:57 PM mDNSResponder[25] SetupAddr invalid sa_family 0 2/1/08 9:11:01 PM mDNSResponder[25] getifaddrs ifa_netmask for vmnet8(7) Flags 8863 Family 2 192.168.148.1 has different family: 0 2/1/08 9:11:01 PM mDNSResponder[25] getifaddrs ifa_netmask for vmnet1(8) Flags 8863 Family 2 192.168.188.1 has different family: 0 2/1/08 9:11:01 PM mDNSResponder[25] SetupAddr invalid sa_family 0 2/1/08 9:11:01 PM mDNSResponder[25] SetupAddr invalid sa_family 0 Thanks for any help and advice you can provide.
__________________
Last edited by Ledgem; 2008-02-02 at 01:29. |
2008-02-02, 10:46 | Link #2 |
Geek
|
The only relevant line in that log output there is the first one. The rest of the lines are related to vmware's vmnet interfaces. You should be able to ignore those.
That line only states that it detects a link on the en0 interface. Look for messages from bootpd in the console. Should look like this: Code:
Feb 2 10:40:27 Mac-Pro bootpd[47320]: DHCP REQUEST [en1]: 1,0:17:f2:e6:8d:6b <MacBook-Pro> |
2008-02-02, 15:10 | Link #3 | |
Love Yourself
Join Date: Mar 2003
Location: Northeast USA
Age: 38
|
Quote:
I'd need to test this with a different computer to see where the problem really lies, but do you think that VMWare's network interfaces are interfering? After just enabling internet sharing, here's what the log shows: Code:
2/2/08 11:44:17 AM com.apple.launchd[1] (com.apple.InternetSharing) Unknown key: SHAuthorizationRight 2/2/08 11:44:17 AM named[2819] starting BIND 9.4.1-P1 -c /etc/com.apple.named.conf.proxy -f 2/2/08 11:44:18 AM named[2819] running 2/2/08 11:44:18 AM mDNSResponder[25] getifaddrs ifa_netmask for vmnet8(7) Flags 8863 Family 2 192.168.148.1 has different family: 0 2/2/08 11:44:18 AM mDNSResponder[25] getifaddrs ifa_netmask for vmnet1(8) Flags 8863 Family 2 192.168.188.1 has different family: 0 2/2/08 11:44:18 AM mDNSResponder[25] SetupAddr invalid sa_family 0 2/2/08 11:44:18 AM mDNSResponder[25] SetupAddr invalid sa_family 0
__________________
|
|
|
|