live blogging: lets create a vm for a vagrant box

photoLive blogging:

Be aware reader: this is live blogging which means that this article has been written during the experiment and not after it. For this reason this is just a note, what is contained here can be used to produce a precise checklist of what to do and what NOT to do to get to the achievement.


How to create a vagrant box

Hi all, today i want o build my own box to be used with Vagrant starting from a VirtualBox export.

What we know since now? Continue reading “live blogging: lets create a vm for a vagrant box”

(Visited 743 times, 1 visits today)

Linux & Alsa: Toggle speakers off remotely, from ssh

Today I’ll stay home instead going to the Amsterdam office. I have a terrible headache and i stay better on the dark-silence.

But i want to stay in touch with the office so i start my email, chat, and other web apps, but  suddenly I realize that probably in the office, my colleagues hear a sound for each chat, email i receive and calendar alarms as well.

So I wanted to shut down my pc speaker in the office from ssh.

Continue reading “Linux & Alsa: Toggle speakers off remotely, from ssh”

(Visited 941 times, 1 visits today)

[ITA]Guida: Il perfetto mirror modulare di ISPConfig con Virtualbox

backup automatico con rsync ed shh per mirror di ISPConfig in ambiente virtualeQuesto è il log AGGIORNATO della mia prossima avventura nel paese delle meraviglie (che poi sarebbe Debian) in cui utilizzerò 2 Virtual Machines, una delle quali sarà ottenuta partendo da un clone della macchina originale da tenere sotto mirroring, ed agirà da mirror venendo aggiornata 4 volte al giorno.

La macchine clone, verrà aggiornata in tutto e per tutto, configurazioni ed utenti compresi. Inoltre la procedura può essere replicata N volte senza sovraccaricare la macchina master, potendo agganciare le nuove macchine a cascata.
Continue reading “[ITA]Guida: Il perfetto mirror modulare di ISPConfig con Virtualbox”

(Visited 644 times, 1 visits today)

[ITA]Linux: Mirror di ISPConfig con Rsync, SSH, VirtualBox.

backup automatico con rsync ed shh per mirror di ISPConfig in ambiente virtualeQuesto è il log della mia prossima avventura nel paese delle meraviglie (che poi sarebbe Debian) in cui utilizzerò 2 Virtual Machines di cui una pubblicata sul web con server web, email, ftp, database e DNS ed un altra sulla stessa subnet privata della prima ma senza indirizzo ip pubblico.
Continue reading “[ITA]Linux: Mirror di ISPConfig con Rsync, SSH, VirtualBox.”

(Visited 731 times, 1 visits today)

**[Quick Solution] for ssh: connect to host 192.168.100.2 port 22: Connection refused and ssh_exchange_identification: read: Connection reset by peer

untitledSo i just faced this, and i immediatelly got it. It’s ARP stuff.
If you are trying to connect to your ssh remote shell and you see this:

MacBook-Pro-di-giuseppe-urso:~ giuseppeurso$ ssh -l giuseppe 192.168.100.67
ssh: connect to host 192.168.100.67 port 22: Connection refused
MacBook-Pro-di-giuseppe-urso:~ giuseppeurso$ ssh -l giuseppe 192.168.100.149
ssh_exchange_identification: read: Connection reset by peer

It means Continue reading “**[Quick Solution] for ssh: connect to host 192.168.100.2 port 22: Connection refused and ssh_exchange_identification: read: Connection reset by peer”

Incoming search terms:

  • ** QuickSolution forssh:connecttohost192 168 100 2port22:Connectionrefusedandssh_exchange_identification:read:Connectionresetbypeer|GiuseppeUrsoBlog (48)
  • raspbmc ssh connection refused (22)
  • raspberry pi ssh connection refused (17)
  • ssh_exchange_identification: (13)
  • stargfp (1)
  • private6qi (1)
  • girlzjv (1)
  • fulltqi (1)
  • front6j4 (1)
  • amongznl (1)
(Visited 11,202 times, 6 visits today)

[ITA] Guida indirizzo IP fisso con Debian Squeeze da console ssh

headMolto facile e veloce:

Apri il file /etc/network/interfaces con

su -

per diventare root
e

nano /etc/network/interfaces

per editare il file con nano.

Una volta modificato,
salvare con +”o” + invio
e
chiudere con
+”x”

Ovviamente occorre adattare il seguente contenuto alla propria sottorete (è ovvio che può essere anche un indirizzo ip pubblico…). In questo esempio viene utilizzato l’ indirizzo IP 192.168.0.100/24, la subnet 192.168.0.0, il router 192.168.0.1, l’ interfaccia di rete ETH0
Continue reading “[ITA] Guida indirizzo IP fisso con Debian Squeeze da console ssh”

(Visited 192 times, 1 visits today)

DD-wrt internal client NAT to port redirected internal host with external address

My messy routers: linksys dd-wrt enabled and Cisco epc3925 bridged.

After configuring your Internet router to act as bridge (mine is a Bridged Cisco epc3925), basically you configured your dd-wrt enabled device in order to map some external ports to one or more internal hosts so you can expose a webserver listening on port 80 or a ssh instance on port 22 using your public ip address given by your internet company to your router, or, better you can even use an FQDN like home-haarlem.giuseppeurso.net to point dns records to your home internet address. Cool. Continue reading “DD-wrt internal client NAT to port redirected internal host with external address”

(Visited 2,401 times, 1 visits today)

Using rsync, ssh and cronjob – automatic secured backup

One of My favourite technical article EVER!

I don’t usually produce redundancy copying articles from other’s websites, but after happened to a website (cannot mention, but it was suddenly closed), i decided to keep it (until its license grants me to keep it).

source: http://troy.jdmz.net/rsync/index.html

Using Rsync and SSH
Keys, Validating, and Automation
This document covers using cron, ssh, and rsync to backup files over
a local network or the Internet. Part of my goal is to ensure no user
intervention is required when the computer is restarted (for passwords,
keys, or key managers).

Incoming search terms:

  • raspberry pi rsync (18)
  • rsync raspberry pi (11)
(Visited 3,901 times, 1 visits today)

How to configure Wireless Lan Raspberry Headless Server

It could be useful for wlan configuration without a Desktop GUI or just from ssh client, you choose why.


The point is: you can’t do it with iwconfig, unless you have just wep encription enabled, if you use to have wpa/wpa2, instead you want to use wpa_supplicant.
If you type Continue reading “How to configure Wireless Lan Raspberry Headless Server”

Incoming search terms:

  • raspberian (14)
(Visited 4,444 times, 1 visits today)