Tag Archive: networking

Aug
04
2011

Tethering from iPhone 3G to iPad 2 – works

If you own a iPhone 4 and have iOS 4.3 or up installed your lucky because Apple gave you a personal WLAN hotspot for sharing your 3G internet connection to your WLAN enabled devices nearby. But i still have my old iPhone 3G but wish to share its internet with my brand new iPad 2, …

Continue reading »

Dec
15
2010

Nagios 3.0.x on Ubuntu Server 10.04 LTS

install nagios3 packages: ?View Code BASH1 2 3 $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install nagios3 nagios3-doc config files are located in /etc/nagios3 and /etc/nagios3/conf.d configure your contacts and hosts accordingly. what got me crazy was enabling external commands (needed to perform actions in the webinterface like sending alerts or …

Continue reading »

Jun
22
2010

Getting SNMPD to work on Ubuntu

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 …

Continue reading »

Mar
23
2010

Enable your webserver to feed iPhone with MP4 videos

I’m using iPhone OS 3.x on my iPhone and recently i had problems to get my .mp4 files displayed in mobile Safari. I tried different settings for encoding the files but not a single one worked. When i clicked the link to the .mp4 file in mobile Safari, all i got was the “file can’t …

Continue reading »

Aug
22
2008

How to hide a worpress instance behind a different apache server with mod_rewrite

I had the need to move my blog running wordpress 2.0.x to a different server, but keeping the domain name on the “old” server. I tried to do this with mod_rewrite and succeeded only partially :-( after some hours of hacking around with mod_rewrite and wordpress itself i got i working and want to share my solution: note: let’s call the origin server SERVER A and the “new” server running wordpress and mysl SERVER B.

Continue reading »

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.

Continue reading »

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!

Continue reading »