Archive for May, 2012

off topic: Can’t ssh into a Ubuntu 12.04 box

After a fresh install of Ubuntu 12.04 followed by an install of the ssh-meta package (which includes the ssh server and client) as well as firestarter (to allow ssh access through the firewall) I wasn’t able to login from a remote machine. Worse: firestarter didn’t show a denied ssh-access, which I expected after a fresh install. Fooling around with /etc/sshd_config didn’t change a thing. Until I stumbled about a piece of information on the internet, that open my eyes.
Starting up firestarter it displayed a message saying “Failed to open the system log. No event information will be available” and “Error reading system log (null), file does not exist.”. At first I ignored them and thought, oh well, I don’t care. But I do, ’cause that is the reason for not displaying the deny-message which I needed to allow access. Another search revealed the solution:

From Ubuntu 11.04 on rsylogd is installed rather than syslogd which firestarter was expecting. I edited /etc/rsyslog.d/50-default.conf by changing the lines commented out that create the relevant logfile

#*.=info;*.=notice;*.=warn;\
    # auth,authpriv.none;\
    # cron,daemon.none;\
    # mail,news.none -/var/log/messages

to

*.=info;*.=notice;*.=warn;\
    auth,authpriv.none;\
    cron,daemon.none;\
    mail,news.none -/var/log/messages

Then restarting rsyslog with sudo service rsyslog restart and restarting firestarter the problem disappears.

(the last bit I found on askubuntu)

Advertisements

m-audio transit on Ubuntu 12.04

I freshly installed Ubuntu 12.04 and the ubuntustudio meta package. To get the m-audio transit card working I followed my older post (m-audio transit and ubuntu linux), i.e. installing madfuload which comes in the repository and adjust the udev-rules. They do not work the way they come installed.

So I used the content from corrected-madfu-rules and saved it as /etc/udev/rules.d/41-madfuload.rules. The according file in /lib/udev/rules.d I left untouched. The “41” instead of “42” is there because it reads “…Pick a number higher than the rules you want to override, and yours will be used. …” in /etc/udev/rules.d/README.

Something hang on my machine when trying the outcome so I rebooted the machine, although this might not be necessary for everybody. After that the sound card works as it used to.