Setting up snmpd on ubuntu seems easy, but i never got it full working. It was working locally, but not for a cacti setup from another server. The problem was that the default install of snmpd on Ubuntu starts the demon on the loopback interface only, refusing connections from other computers. Edit /etc/default/snmpd to fix …
Tag Archive: linux
Jun
22
2010
Feb
26
2007
Ubuntu: networking tip
But when i tried to ping some other machine, this didn’t work
I checked /var/log/messages and the onboard Broadcom Interface showed up as eth1, but i was not able to start it. When i ran $ sudo /etc/init.d/networking restart i got some error messages like: SIOCSIFADDR: No such device eth1 eth1: ERROR while getting interface flags: No such device No clue what went wrong, i googled a lot and finally i stumbled upon this forum entry: http://ubuntuforums.org/showthread.php?t=221768 Then i ran: $ ifconfig -a and got a list with my network interfaces and more importantly with it’s MAC address.
Feb
19
2007
Ubuntu Server insecurity?
i just found out that my Ubuntu Server 6.10 has login shells for almost all users set in the /etc/passwd file! That’s a very bad idea because this maybe enabled someone to install “Data Cha0s Back Backdoor” on my machine
I checked this with 2 other fresh Ubuntu Server 6.10 installations and both also had the login shells for users like daemon, mail, www-data and so on. Especially www-data should not have a chance to create a shell in my opinion!
Jan
14
2007
Installing Flash Media Server 2 on Ubuntu 6.10
The installation script for Flash Media Server works only on RedHat Enterprise by default. With some modifications it works fine on Ubuntu Edgy: apt-get install libnspr4 libstdc++5 libstdc++5-3.3-dev wget http://download.macromedia.com/pub/flashmediaserver/ updates/2_0_3/linux/flashmediaserver2.tar.gz tar xfz flashmediaserver2.tar.gz cd FMS* wget http://www.bluetwanger.de/~mbertheau/fms.patch patch -p1 < fms.patch sudo ./installFMS Live aus der Marschrutka √?¬ª Installing Flash Media Server 2 on Ubuntu 6.10 Edgy this howto is written bei Markus Bertheau, please check the original article and his blog here.
Mar
22
2006
The power of vim
vim is the commandline text editor vi (improved) and it features syntax highlight and colors. The good thing is, vim is included by default in Mac OS X – the bad thing is, color support is not enabled by default. To enable syntax highlight in vim create a .vimrc file in your home directory: ?View …