So I use weechat as my main IRC client. It’s awesome and looks lovely with solarized theme. Running on ubuntu 14.04 and using gnome-terminal there is a problem somewhere that beep.pl doesn’t work. It seems to be some problem in gnome-terminal since the terminal bell isn’t working. I’ve spent countless of hours trying to figure this out. In the end I just thought, to hell with it. Let’s hack beep.pl.
So I looked around for sound files and found a not too long once that sounds pretty decent.
Since I moved to Norway the internet I’m able to get at home is pretty shitty. So I decided to order a modem from Ebay. I ordered an unlocked Huawei E398 from Lithuania that has all possible bands used by different providers here in Norway.
However, it’s not plug and play for ubuntu. Even though it was stated from the seller. I tried loads and loads of different kinds of “solutions” (probably solutions to other peoples problem but not mine) online but they all failed. After a while I eventually found it.
LSUSB showed it as
12d1:1505 but network-manager/modem-manager wouldn’t want to recognize it. So it had to change to
12d1:1506. This was a bit weird to fix. I had to create a file named
/etc/usb_modeswitch.d/ As you see below.
$ cat /etc/usb_modeswitch.d/12d1\:1505
And then you had to call usb_modeswitch (I needed root).
usb_modeswitch -I -W -c /etc/usb_modeswitch.d/12d1\:1505