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


Click here to return to the 'Enable and disable Airport from the command line' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable and disable Airport from the command line
Authored by: Whosawhatsis on Dec 14, '03 02:10:23AM

The same commands should work with modem. The problem is, once the modem is re-enabled (you may or may not need to disable and enable it), you need to make it dial again. Since I use my dialup modem an average of once a year, I haven't bothered to find out how to do this from the command line, but I'd be shocked if there wasn't a way to do it. It's unix! there has to be a way...



[ Reply to This | # ]
Enable and disable Airport from the command line
Authored by: Anonymous on Dec 14, '03 05:25:04PM
Two notes.

First, this command works fine for an Airport card, as well. It is not just limited to Airport Extreme cards, as the hint somewhat implies.

Second, this command does not work correctly on the modem. System Profiler shows the interface for the modem as being named 'modem.' However, try that, and you get:

ifconfig: interface modem does not exist

On my system, at least, sudo ifconfig -l shows:

lo0 gif0 stf0 en0 en1 fw0

Perhaps the modem corresponds to one of these interfaces?

[ Reply to This | # ]