PDA

View Full Version : Networking with Mac OS X computers



Kaldrenon
12-29-2005, 05:41 PM
I'm having trouble networking with a few Mac OS computers on the LAN I've got my knoppix machine running on. LEt me see if I can give all of the pertinent details.

This system is a salvaged Intel Celeron 1.1 GHz running Knoppix 3.9. It's connected via eth0 to a router on which reside an iMac and two Apple Laptops (I don't know their models, I'm not sure it's relevant to the problem).

I've been trying to get this computer and the Apple computers to connect to a Freeciv server being run on one of the machines, but whenever a connection is attempted between the Knoppix computer and the Macs, I get a "Failed looking up host" error". It's frustrating because this computer has internet access, and I can ping the other computers with no packet loss, but I can't see them or connect to them via games or the network.

Any suggestions?

Kaldrenon
01-04-2006, 03:32 AM
Well...I found out from a pair of users on UnderNet's #linuxhelp that Freeciv has had trouble networking across OSes before, and that it was neither my fault nor Knoppix's fault. I'm still not sure how to get computers networking across OSes the way I'm used to in Windows, but I guess unless I debug Freeciv myself I won't be able to play it on that particular LAN config.

Thanks to anyone who read this and was willing to answer, even though I found the answer byother means. Hope this helps more than just me, in the long run.

r3dlp
01-06-2006, 07:50 PM
Just curious, did you also open the respective ports on the Macs?

If so, then skip this part. In general (since I don't know which version(s) of OSX that you're using), you'll need to open System Preferences, select Sharing (in the Internet & Network section), and click on the Firewall tab. Here, you can add an entry for the port(s) that you'll need to open.

Second, did you check your firewall rules to ensure that the respective ports are also open on your Linux boxes?

If so, then skip this part. Assuming that you use iptables for your firewall rules, then you can list the rules in effect with the following: iptables --line-numbers -nvx. Depending upon how your firewall is set up (ie does it have default deny-all or allow-all rule?), you might have to explicitly add a rule to open the respective port(s). You'll definitely have to add a rule if your firewall has a default deny-all rule.

Third, assuming you configured your game server to work with either inetd or xinetd, did you check to ensure that inetd or xinetd is running? And did you check your /etc/hosts.allow to ensure that the respective ports are also open on your Linux boxes?

If so, then skip this part. Open /etc/services in your editor of choice. Check to ensure that an entry exists for the port that your game server uses. Add an entry if it doesn't already exist. Open /etc/inetd.conf or /etc/xinetd.conf in your editor of choice. Check to ensure that you have an entry for the game server, and check to ensure that you enabled it. Open /etc/hosts.allow in your editor of choice. You should also check here to see if you have a default deny-all rule. If so, then you'll need to also add an entry for the respective port(s).

Fourth, although you didn't mention whether you were using a switch, route, or some other network appliance, you'll need to check to ensure that the device isn't blocking any ports.

Fifth, you should use a sniffer like ethereal or tcpdump--both on the Linux boxes and the Macs. This way you'll be able to verify whether or not the network traffic is at least reaching the destinations.