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

10.3: Turn fax services on and off from the command Line UNIX
Faxing is a cool feature on OS X, but few people purchase a separate phone line for a fax machine at home. So, if you want to receive a fax during the day on your home Mac, then legitimate callers will get the fax tone rather than your answering machine, because the modems built into the Macs do not detect if a fax is coming in and automatically answer it like the old Global Village (and probably other modems) did. The solution is to log into your Mac remotely (SSH) and using the command line turn faxing on and off as needed to minimize the amount of time your fax software is turned on. First, start with faxing enabled in the System Preferences. Then, you can remotely log in to stop it by typing the following at the command line:
sudo fax stop
Now the tricky part is starting it up again remotely. You need to remove a file at the following location:
sudo rm /private/var/spool/fax/cu.modem.stop
Once that file is removed, the fax daemon (efax) should automatically start up again. I believe you can start it remotely, if it isn't already on, by entering the following:
sudo fax answer
But that should be all you need to do. You can read the man page for fax and efax for more information. The only item in the man pages that isn't correct is the name of the file that needs to be deleted. In the man pages it indicates the DEV.stop file needs to be deleted. That's not correct for Mac OS X.
    •    
  • Currently 1.29 / 5
  You rated: 1 / 5 (7 votes cast)
 
[15,417 views]  

10.3: Turn fax services on and off from the command Line | 4 comments | Create New Account
Click here to return to the '10.3: Turn fax services on and off from the command Line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: Turn fax services on and off from the command Line
Authored by: rlinsurf on Jan 21, '04 01:21:50PM

Hi--

Does anyone here know of a way to repair permissions through the command line instead of using Disk Utility?

All My Best,
Jeffrey



---
Jeffrey



[ Reply to This | # ]
10.3: Turn fax services on and off from the command Line
Authored by: glc on Jan 21, '04 04:10:27PM

type

man diskutil



[ Reply to This | # ]
10.3: Turn fax services on and off from the command Line
Authored by: banderson623 on Jan 22, '04 11:21:31AM
Jeffery,
 diskutil repairpermissions / 
"Ownership of the affected disk is required." says the diskutil application...

Hope that helps, Brian

[ Reply to This | # ]
10.3: Turn fax services on and off from the command Line
Authored by: rlinsurf on Jan 22, '04 12:45:36PM

Thanks!

All My Best,
Jeffrey



---
Jeffrey



[ Reply to This | # ]