Many people have noticed that the Xbox and Xbox 360 will not obtain an IP address from a Mac running Internet Sharing using DHCP. (Apparently some other devices have the same problem, but I don't have any of them to test with.) One workaround is to simply set. In Terminal, type sudo cp /tmp/bootpd.plist /etc; Start Internet Sharing. Did the command in step 2 execute without an error message? The WiFi connection is good because I am using Medialink as a. It was nice as I didn't have a serial cable (or a USB/serial adapter) and was setting up a new Sun box.
I have just started experimenting with Serproxy and Arduino to get some serial data into Flash Builder/Flex. Serproxy seems to work fine and seems to connect to whatever port is specified. However, I am not able to see or read any data from the serial port using ActionScript. This is odd, because the Arduino should be printing data on a loop. The only thing I can think of is that I am not setting the correct serial port number. I have been trying to figure out how to find out what number should be set, that is, 5331, 5332, 5333, etc.
How do I find out the port number? Is there a way to do this using Terminal on OS X maybe?
As of Mac OS X Lion 10.7, Terminal will do this by default if you're using bash as your shell (which is the default). You can set preferences to decide whether to have new tabs and/or windows open at the same directory as the current terminal: Terminal Preferences Startup New windows/tabs open with Same Working Directory This works by having your shell (or other programs) send an escape sequence to tell Terminal the current working directory.
![Mac serial junkie Mac serial junkie](/uploads/1/2/5/3/125390102/314058004.jpg)
The code to do this is in the system-wide bash configuration file /etc/bashrc. If you're using zsh, I've adapted and expanded the code for /etc/zshrc in my answer to.