cisco ip phone 7942

checkout: https://usecallmanager.nz/

lots of funky configs out there…

If the phone is able to get its IP address over dhcp, its config via tftp, and you have a valid ntp IP address in your config file and you have connectivity to that server and the phone isn’t updating the time at boot you probably have a bug in your config file and may need to start from basics and built up slowly…

reboot sequence – hit the settings key then dial **#**

don’t use the factory reset key sequence unless you have a dhcpserver and tftp server setup and the software to put on the tftpserver … otherwise it will just spin trying to install new default software.

my big hurdle was figuring out that the proxy section of <sipLines><line button=”1″><featureID>9</featureID> wasn’t <proxy>USECALLMANAGER</proxy>

I tried to be special and add the ip address again of my sip server – the behavior of the phone in this mode is to get the SEP<MAC>.cfg.xml file, get the dialplan.xml and do nothing.

Here’s a good reference I found after I was up and running: https://blog.kmp.or.at/cisco-ip-phone-7942-w-asterisk/

usb audio fun

so I tried to reset my bios defaults earlier today to try to fix another problem that popped up and I accidentally enabled by builtin sound card… rather than rebooting to take advantage of my new /etc/modprobe.d/blacklist of snd_hda_intel, and my new /etc/modprobe.d/alsa-base.conf settings ( see: https://www.smarthomebeginner.com/solving-onboard-and-usb-sound-card-issues-in-alsa/ ) so to be able to rmmod all the sound modules (snd or snd_something I first had to kill off pulseaudio at the same time as I removed the blocking snd module in this case snd_usb_audio

#killall pulseaudio;rmmod snd_usb_audio

after that module fell I could remove all the rest in an orderly fashion. and then once the evil snd_hda_intel was vanquished I just pulled the USB sound card out and plugged it back in, voila!

installing canon printer drivers on ubuntu 20.04 without running their bash script

So I really like canon color laser multi function printers – for their full duplex color printing, their copying, for full duplex scanning to a pdf on a usb stick (scanning to sane didn’t work the last time I looked), but certainly not for installing packages via a bash script as root…

So I spent some time today finding the relevant deb file (similar named RPM if you prefer).

Untar the tar ball you got from the canon website and then

# dpkg -i 64-bit_Driver/cnrdrvcups-ufr2-us_5.20-1_amd64.deb

then install the printer under the ubuntu settings / printers

odds are that your printers’ ppd is included in the above deb file, if you happen to have trouble with that, you can look through the PPD/Debian directory for your printers ppd file.

ubuntu 18.04 stopped working after update

had to boot into single user mode – edit the grub entry – add single near the end of the linux line – search single user mode ubuntu 18.04

Then I had to run the first few startup items so that I had a network – update the software and then install lightdm

the list of things to start you can get with ls /etc/rc2.d (leave off the S01 at the beginning).

then start them with systemctl start

e.g.:
systemctl start acpid anacron apf-firewall apport atd avahi-daemon