(English readers: this is an explanation on how to configure the modem of a Dutch ISP for VOIP usage).
Onlangs heb ik mijn Telfort ADSL abonnement geupgrade en kreeg een Zyxel modem, type P-2812HNU-F1. Vorig jaar heb ik reeds voor type Zyxel 2601HN-F1 instructies gegeven, hierbij een update.
Om via een SIP account bij VoIP Planet te bellen met een telefoontoestel dat je aansluit op het modem, volg de volgende instructies op.
Om het modem te configureren, log in als admin (standaard wachtwoord: 1234) op het modem via adres http://192.168.1.254/ en kies in het onderste menu genaamd VoIP voor de optie SIP.
Het scherm dat tevoorschijn komt, heeft drie tabbladen. Het eerste tabblad is genaamd "SIP Service Provider". Laat het drop-down menu "Service Provider Selection" staan op "Provider-1" en vul deze als hieronder in. Klik daarna op Apply, en het drop-down menu toont nu netjes "VoipPlanet".
Klik daarna op het tweede tabblad, en klik op het pen-en-papier icoon in de Modify kolom, eerste rij. Er komt een popup-scherm waarin je slechts een viertal dingen hoeft te veranderen. Eerst moet je de "Active SIP Account" aanvinken, dan vul je de SIP Account Number in, en daarna Username en Password.
Waarbij je natuurlijk de vermeldde SIP Account Number en Username verandert in diegene die je van VoIP Planet hebt gekregen:
Als het goed is, hoef je niet naar beneden te scrollen. Klik op apply om op te slaan. Ga onderaan het scherm naar het menu System Monitor, en kies voor Log.
Activeer de tweede tab, "Phone Log". Hier moet nu staan:
SIP Registration: SIP:12345: Register Success
Voorbeeld:
Je kunt nu bellen met het aangesloten (analoge) telefoontoestel via VoIP Planet!
I've received the specs for a modification to our software library for the SAFARI project, and after a two-month hiatus, I'm looking again at what's currently present.
What's existing, is basically a script that displays a menu with a bunch of testing options. It's called demuxtest, because it tests the electronics board which we call "the demux board".
The Demux board plays the intermediary role here; all commands are routed through this board to the FEE (front-end electronics) board. If the FEE board isn't present, then it can generate a dummy response for testing purposes.
Zooming in on the electronics, it would look as follows:
You could roughly see the demux board as the digital part, and the rest of this picture as the analog part.
This is our test setup:
This is how the FEE (front end electronics) board looks like:
This is the demux board:
For the past days, I've seen a number of glitches on OS X Lion (update 10.7.3) with my mid-2010 Macbook Pro, and apparently, I'm not the only one.
It seems to happen especially on external monitors:
https://discussions.apple.com/message/17524501#17524501
However, iMacs have a lot more trouble:
https://discussions.apple.com/thread/3201871
A possible solution for the graphics glitches is mentioned at the end of the thread:
https://discussions.apple.com/message/17804906#17804906
I've encountered a bug where the screen would blank, reproducible as follows:
I've also encountered a bug where the laptop screen would just stay black, not reproducible. I took the following steps:
Remotely I could log into the laptop, though.
Another set of circumstances happens as follows:
The following lines are then visible in the kernel.log:
--- last message repeated 1 time --- kernel[0]: NVDA(OpenGL): Channel timeout! --- last message repeated 1 time --- kernel[0]: NVDA(OpenGL): Channel timeout! --- last message repeated 1 time --- kernel[0]: NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error kernel[0]: NVDA(OpenGL): Channel timeout! kernel[0]: NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error kernel[0]: NVDA(DisplayBase): Channel timeout!
For my colleagues, I've put together a presentation on using the model/view stuff that's present in Qt.
If you're an old-school Unix or Linux person, you're probably also used to the SysV system initialization routine. Nowadays, it's slowly being replaced by upstart and the likes, but I'm going to skip that for now. This is meant as a guide for ye olde Unix neckbeards.
Basically, SysV init means:
OS X does this differently, and superficially, much simpler.
When the system boots, the launchd process is responsible for starting all daemons. To sum up the characteristics of this method:
There is a further distinction which I haven't talked about. OS X has the concept of user-specific daemons. These are called "launch agents" instead of daemons and they have their configuration files in /System/Library/LaunchAgents, and other locations specified in the launchd man page. Examples of these launch agents: the dock and software for your Wacom tablet.
The stuff below is equivalent to listing the contents of the /etc/init.d directory on Linux.
To see what system daemons are present on the system;
$ cd /System/Library/LaunchDaemons $ ls
Note that this does not tell you whether they've actually been configured to start, or not!
The stuff below is equivalent to listing the contents of the /etc/rcX.d directories on Linux, or using the "chkconfig --list" command on RedHat.
Since launchd is more than just managing daemons, but also a replacement for init, it can show us some bookkeeping on previously run daemons. Use launchctl its 'list' parameter to list the currently running daemons, including the daemons that have already exited (i.e. configured for a one-time run).
To list all daemons:
$ launchctl list
To show daemons, but filter out those that aren't currently running:
$ launchctl list | grep -v "^-"
The stuff below is equivalent to using the scripts in /etc/init.d on Linux.
To temporarily stop a daemon, you use the unload parameter plus the config filename. For instance to stop the daemon that controls swapping memory to disk:
$ sudo launchctl unload /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
If it says "nothing to unload", then the daemon wasn't configured to be started in the first place.
To temporarily start a daemon, use the load parameter:
$ sudo launchctl unload /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
The stuff below is equivalent to using the chkconfig or update-rc.d commands in Linux.
To start or stop a daemon, and make sure it'll be started the next boot, use the -w flag. For example: to start the dynamic pager now, and after rebooting:
$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
If the daemon wasn't configured to start before, you might want to pass the -F flag, which forces starting.
The stuff below is equivalent to editing a script in /etc/init.d, or a configuration file in /etc under linux.
To configure the start/stop flags of a daemon, you edit the plist file with the defaults command. To read the current configuration:
$ defaults read /System/Library/LaunchDaemons/com.apple.dynamic_pager.plist
To change a config file, simply use the defaults 'write' parameter. As an example, to disable Bonjour advertising on the network:
$ sudo defaults write /System/Library/LaunchDaemons/com.apple.mDNSResponder \
ProgramArguments -array-add "-NoMulticastAdvertisements"Note that whenever software is updated, these changes get written over! OS X does not have a package system to my knowledge, which will save any adjusted configuration files.
Some notes:
Articles, chronologically (latest first):
Not yet finished. Maybe will never be finished. Maybe they'll get deleted. Who knows?
Programming:
System administration:
Others:
Files: