Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Dynamic automounting of NFS volumes Network
I wanted to mount two AFP volumes that I have shared from my Redhat box to my home directory. There is a utility called Sharepoints Autmount, but it lacks a way to pass passwords during the mounting process. then I thought about exporting the volumes as NFS shares.

On the Linux side it was very simple, I used the Webmin Server configurator that comes with Redhat. I simply exported the volumes to my IP address and added myself as a read/write user. I tested it with this command:
% sudo mount server:/path/to/export /home/username/server/
This worked fine, but was only temporary. It needed to be performed at every boot.

[Editor's note: The following information deals with modifying the NetInfo database. Proceed at your own risk, and make sure you know what you're doing -- I have not tested this hint myself!]
read more (405 words)   Post a comment  •  Comments (13)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[23,234 views] Email Article To a Friend View Printable Version
Add a neighborhood to the Connect to Server dialog Network
From the Finder if you go to Connect to Server (Command-K) and type in Command-N, it will bring up a screen that will allow you to Add a Neighborhood to your browsing list. There doesn't seem to be a Menu option for this, or a way to delete it (at least not in the Connect to Server interface), unless you Cancel and start over.

I found this with my third mouse button set up to open new documents (Command-N) and accidently hit it when the Connect to Server window was up. I couldn't find any documentation on it ... so I thought it might be useful to someone.
  Post a comment  •  Comments (5)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (1 vote cast)
 
[3,660 views] Email Article To a Friend View Printable Version
LPD Printing to Inkjets on Win2K Box Network
This is a followup from the SMC Barricade hint, but folks in my situation might not find my comment as the subject sounds different.

I tried the SMC Barricade tip for getting the CUPS printer drivers set up by going to http://127.0.0.1:631 and changing my printers from generic PostScript to Epson Stylus printers. For the first time ever, I can print to my color printers without swapping cables between my Mac and Win2K box.

On the Win2K box, I set the TCP/IP Print Server Service to automatically start, then created a new local printer, created an LPD port and pointed it to my Epson inkjet. After getting a successful test page, I went to the Mac.

On the Mac, I went to the Print Center as recommended, and created my printer using the IP address and LPD queue name I had just set up on my Win2K box. Then I went to http://127.0.0.1:631 and clicked on Printers -> Modify and changed my printer from generic PostScript to an Epson Stylus Color. It works!!

Now I can print over Ethernet from my Mac to both my old parallel Stylus 600 and my newer USB based Stylus Photo 875DCS using my Win2K box as a print server!! Before CUPS I thought I would only be able to use Postscript printers...

Whoo Hoo!!
  Post a comment  •  Comments (5)  
  • Currently 3.33 / 5
  You rated: 3 / 5 (3 votes cast)
 
[7,851 views] Email Article To a Friend View Printable Version
Run remote UNIX programs locally Network
My university has Matlab installed on unix boxes. I wanted to be able to log into my school account and run matlab with graphical output on my laptop. After some trial and error a friend of mine figured out that all you have to do is add a -X tag to the ssh login command like this:
 % ssh -X  -l username
Now all the graphs show up on my local desktop. Of course, you have to be doing this via XDarwin. This may be obvious to a UNIX veteran but I thought it would save other less experienced users some time.

And, yes I realize there's an OSX version of Matlab, but if your university already has it, why spend the money?
  Post a comment  •  Comments (7)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[6,399 views] Email Article To a Friend View Printable Version
Setting up a multihoming ethernet network Network
Not sure if this has been reported before....

In OS X it is possible to assign more than one IP address to a single ethernet card. You might use this for instance if you wanted to use one IP as an external (public) IP and another as an internal-only secure IP for admin or whatever your needs are.

I was trying to do this via the Terminal in the same way it is done in other Unix variants. That method is:
 % ifconfig eth0:2 192.168.1.132 up
However, it's even easier in OS X. I cannot take credit for discovering this though - it is listed in an article at AFP548.
read more (146 words)   Post a comment  •  Comments (4)  
  • Currently 4.33 / 5
  You rated: 4 / 5 (3 votes cast)
 
[9,849 views] Email Article To a Friend View Printable Version
Classic file sharing can cause Apache IP problems Network
I'm running the latest Apache for 10.2 and for some reason my web server would revert to the File Sharing directory tree. This only happened every once in a while and I would reboot to resolve the issue.

Then I realized that I was launching Classic to use my email and then it would take over my web server. I would Force Quit OS 9 to resolve the issue.

Hope this helps someone!

[Editor's note: I would also think simply disabling File Sharing in Classic would work; I run Classic almost all the time while the web server is running and have never had a problem with it.]
  Post a comment  •  Comments (1)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[1,931 views] Email Article To a Friend View Printable Version
Access non-AFP servers from Classic in 10.2 Network
I haven't seen this anywhere yet. I just noticed that I can open files off of a WebDAV server from Classic Apps. Previously, only AppleShare volumes would interoperate with Classic. Out of curiousity, I tried it with an SMB server, and it worked too!

And I had just convinced my boss to buy an XServe for just this reason, after our Netatalk (Linux AppleShare) server started giving us fits. Turns out we could be using SMB. I think he already ordered the Xserve too. Darn!
  Post a comment  •  Comments (0)  
  • Currently 0.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (0 votes cast)
 
[2,500 views] Email Article To a Friend View Printable Version
Speed up working with Windows shares Network
I've found that browsing mounted Windows servers (SMB shares) is mindnumbingly slow and shows me the beachball for minutes at a time. My theory is that the Finder tries to download file information for each file so it can display the usual Finder goodies (file icons, number of items in a folder if you have it enabled like I do, etc.)

The solution that I came up was simple: use the Terminal. Servers are mounted in /Volumes/server's IP; for example, /Volumes/192.168.0.128.

So first, mount the server in the Finder by pressing Cmd-K, then open Terminal and type mount to see the server's IP, then cd to the correct /Volumes/ directory and use the normal cp and mv commands for file transfers. Type open to open the file just as if you double-clicked it in the Finder.
  Post a comment  •  Comments (7)  
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[16,491 views] Email Article To a Friend View Printable Version
Activate Finder FTP browsing via application links Network
Although the mounting of FTP servers using "Connect to Server" doesn't work well in 10.2 (see this hint), I found today that clicking a link of type "ftp://...", at least in Mail, worked correctly. The server appeared as a mounted disk on my desktop, and I could browse and copy as in a normal finder window. I haven't tried this in any other apps, because I don't want to bring my system down, so try at your own risk!

[Editor's note: I'm not sure if this is any more stable than the currently troublesome Finder FTP browsing, or if the hint author happened to get one link which worked correctly. I'm not going to test it myself, for I've had nothing but problems with this feature in 10.2 on both my machines. Rumor has it that it works much much better in the (due any day now) 10.2.1 update.]
  Post a comment  •  Comments (3)  
  • Currently 4.00 / 5
  You rated: 4 / 5 (2 votes cast)
 
[6,312 views] Email Article To a Friend View Printable Version
Create a wireless network bridge Network
In OS X 10.2, Apple has added the new "share your Internet connection" function, and I am sure that a lot of users are going to use it as a software AirPort basestation. But I thought, why couldn't you go the other way? So that is just what I did, created a wireless network bridge.
read more (368 words)   Post a comment  •  Comments (13)  
  • Currently 2.67 / 5
  You rated: 1 / 5 (6 votes cast)
 
[119,222 views] Email Article To a Friend View Printable Version