I have two Macintosh computers at home and I have them interconnected with each other using a router, (Netgear RT 314), my problem is that my newest Mac is a G4 Cube with auto negotiation on the ethernet port. The router also uses auto negotiation and neither computer nor router will talk to each other. This problem was solved using a utility called "Duplexer Tool" which works fine in OS 9.1, and that solved my ethernet problem by setting my G4 cube to 10 Mb/s, and letting the router set itself to the same speed.
I cannot do this in OS X as the Duplexer tool only works in OS 9.1, now in OS X there is a command "ifconfig" which seems to address this problem, but I do not know how to configure this to set my Ethernet port to 10 Mb/s. Can anyone help me, and is this a fairly common problem?
[Editor's note: About the only value I can add here is that there's a file called "iftab" in /etc that needs to be edited. It contains this line:
en0 inet -AUTOMATIC-
which needs to be changed to specify the connect rate, I would imagine. Anyone have any info to help configure an Ethernet card manually?]
While I don't try to maintain macosxhints as a news site (there are many others that do it much better than I could ever hope to!), I am posting this one news blurb.
The demo of 10.1 at this morning's MWNY keynote was quite impressive (even if it was on a dual G4/800 ;-). However, there was much about the update that was not announced. If you haven't yet, make sure you check out Apple's Mac OS X New Version information page. There are a number of details there (like not just resizable column view, but individually resizable columns) that are quite interesting.
We have to wait until September to get it, but the good news is that it appears Apple has been listening to its customers.
I published a pointer to this program earlier, but it was buried with some other mySQL information, and I felt it was worth its own article.
If you use mySQL databases on OS X, phpmyadmin is one of the better database administration programs I've run across. It's free, and it gives you browser-based access to all your databases. You can add and delete tables, databases, and records, create queries, change data, etc., all from your favorite web browser.
Until recently, phpmyadmin did not get along nicely with OmniWeb (the database names wouldn't show up, making it tough to use the program!). However, there's a release candidate of phpmyadmin 2.2 on the site, and it works very nicely with OmniWeb. There may be a couple of bugs, but I didn't find anything major in 30 minutes of working with it at lunch today. If you're working with version 4 of PHP, make sure you download the version for .PHP files (not .PHP3 files).
Some of you may be familiar with the tsch shell's (the default shell in Terminal) auto-complete feature. When typing a file name, simply hit tab after enough of the name has been specified to be specific. Example: typing "De" in your home directory and hitting tab gives you "Desktop".
This feature also works in the Finder! By selecting the Go -> Go To Folder menu item, you bring up a message box. By typing, for example: "/user/hoff/De" and hitting TAB, you get "/user/hoff/Desktop"! This can be usefull if you wish to access folders with long names.
Just about everybody working in an NT world under Mac OS X should use Dave. Thursby Software made it available for free, waiting for a commecial release and , IMHO, that's really thinking different!
[Editor's note: Thursby Software has put up a support and download page for DaveX, and the actual file can be downloaded using this link. Just a heads-up that their server is quite busy, and the download may be very slow -- it took about 20 minutes for me to download it earlier this morning.]
I noticed that my preferences for Clock.app, specifically the setting to have it as a free-floating clock and not in the dock, were lost each time I logged out. I know that this is a much less than ideal solution, but I figured that since I loaded Terminal on login anyway, I would just add a defaults line to my ~/.tcshrc file. Specifically, adding the following line to that file, and having Terminal load first on login, keeps the clock floating:
defaults write com.apple.clock InDock "0"
I would more than welcome a reply from anyone who knows the right way to do this!
After trying out all the suggestions for running scripts (Perl, bash, tcsh, etc.) in the GUI and finding them less than satisfying, I decided to write my own app to do it the right way. I'm looking for a few folks to help give it a once-over prior to releasing it for general availability.
If you're interested in giving it a try and willing to give me a thorough critique, you can download it from my mac.com homepage. The code has been tested thoroughly on my own TiBook, but I'd like some "thumbs up" from independent third parties before I release it.
[Editor's note: I downloaded and ran Charles' program, and it seems to do exactly what he claims - it puts a nice GUI (and basic editor!) around your UNIX scripts. I have not extensively tested it, but it ran the three simple scripts I threw at it without any problems. Definitely worth a look, and Charles is looking for feedback if you give the program a trial run...]
Those of you who lust after the good old days of the text adventure may find this tip useful. The default installation of Mac OS X includes Emacs 20.7.1. Emacs is a very powerful tool, and includes the ability to retrieve/post news or mail, act as a calendar/diary application and has powerful text editing features. It also includes a few amusing games, most of which need to be executed within Emacs itself, except for one... dunnet. Using the following command at the shell will execute the game without opening up Emacs directly:
emacs -batch -l dunnet
For anyone familiar with text-based adventure games you will find most of the usual commands work (north, east, south, west, get, look, help, quit...). The following two commands allow you to save and restore your game to or from a specific file: