Η iefimerida είναι εδώ!

Μαρτίου 27, 2011

iefimerida.grΣυγχωρέστε με για το spam, αλλά δεν άντεξα. Σε ένα κόσμο που αλλάζει δραματικά και ίσως μπει στον πειρασμό της αυταρχικότητας, το διαδίκτυο δίνει μια δημοκρατική προοπτική. Η iefimerida θέλει να είναι ένα από τα μέσα υλοποίησης αυτής της προοπτικής. Στημένο με αγνά, open source υλικά, δηλαδή με Drupal πάνω σε LAMP πλατφόρμα, το νέο ειδησεογραφικό portal είναι από σήμερα online και προσφέρει ένα νέο προορισμό για την ενημέρωση μας. Ωραίο σχέδιο, έγκυρο content. Δείτε το: http://www.iefimerida.gr

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
0

Linux Inside #1 – Καλή μας αρχή!

Φεβρουαρίου 2, 2011

Linux Inside #1

Μετά από 2 μήνες προετοιμασίας, με πολύ καφέ, τρέξιμο, συννενοήσεις, διορθώσεις επί διορθώσεων αλλά και χαρά, προσμονή και ευχαρίστηση για αυτό το νέο που γεννιέται από το μηδέν, το πρώτο τεύχος του Linux Inside είναι επιτέλους στα περίπτερα.

Πρόκειται για ένα νέο περιοδικό που φιλοδοξεί να γίνει το περιοδικό της ελληνικής κοινότητας ανοικτού λογισμικού: εδώ χωράμε όλοι, εδώ συναντιώμαστε όλοι, εδώ αποτυπώνουμε στο χαρτί ότι καλύτερο έχουμε να παρουσιάσουμε ως μεμονωμένοι developers, projects ή και απλοί χρήστες.

Προσπαθήσαμε η ύλη να είναι οργανωμένη σε λογικές ενότητες: δοκιμές (reviews διανομών και εφαρμογών, συγκριτικά), εργαστήρια (how-to), περιεκτικά θέματα και αφιερώματα, αλλά και νέα, μόνιμες στήλες γνώμης, παρουσίαση προϊόντων, ορολογία κλπ, με στόχο να καλύπτουμε όσο το δυνατόν περισσότερους χρήστες γίνεται.

Στο Linux Ιnside, κάθε άρθρο θα είναι πρωτότυπο και επί της ουσίας. Δεν υπάρχουν μεταφράσεις ή αναδημοσιεύσεις, δεν θα βρειτε άρθρα που απλώς γεμίζουν σελίδες… Θα δημοσιεύουμε μόνο άρθρα που αξίζουν να τυπωθούν, γραμμένα από ανθρώπους που αξίζει να διαβάσουμε ότι έχουν να πουν.

Για να γίνει πράξη αυτό το εγχείρημα, βοήθησαν και θα συνεχίσουν να βοηθούν σε κάθε τεύχος πολλοί φίλοι, παλιοί και νέοι συνεργάτες, developers και απλοί χρήστες. Αντί να τους αναφέρω έναν-έναν, σας παραπέμπω στη λίστα που θα ανανεώνουμε συνεχώς εδώ. Ένα μεγάλο ευχαριστώ σε όλους!

Φυσικά, ένα ελληνικό περιοδικό Linux έχει πάντοτε ανάγκη από νέους συνεργάτες με φρέσκες ιδέες για how-to και projects. Γι’ αυτό θα έχουμε ένα μόνιμο call for papers. Αν ψήνεστε να γράψετε για το Linux Inside, στείλτε μου email από αυτή τη φόρμα.

Καλή μας αρχή, καλό μας ταξίδι…

ΥΓ: Όταν λέω ανοικτό λογισμικό αναφέρομαι και στο ελεύθερο λογισμικό και στον ανοικτό κώδικα. Ας μην αρχίσουμε τους διαχωρισμούς…

ΥΓ: Ακολουθήστε το περιοδικό και το linuxinside.gr μέσω Facebook ή/και Twitter!

ΥΓ3: Για να λαμβάνετε άμεσα το περιοδικό στην πόρτα σας, με courier, προτείνω να γίνετε συνδρομητές, συμπληρώνοντας αυτή τη φόρμα

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
3

How to connect to PPTP-based VPN from Linux

Σεπτεμβρίου 14, 2010

Do you need to connect to a Windows VPN from Linux command line? It’s simple even though the Point-to-Point Tunneling Protocol (PPTP) is proprietary. First, install the pptp client for the linux command line:

sudo apt-get install pptp-linux

Then create a new file called chap-secrets, inside /etc/ppp:

sudo vim /etc/ppp/chap-secrets

This file is where your VPN username and password will be kept. Add this line to it:

your_username      PPTP    your_password        *

Apparently, you need to change ‘your_username’ and ‘your_password’ to your own. The ‘PPTP’ is just a name you give to remote server. You might want to change it to something else. It doesn’t really matter.

Next, create the basic configuration file for pptp-linux. This file must be kept inside /etc/ppp/peers but you can name it anyway you want. Let’s say, you name it ‘cnc’:

sudo vim /etc/ppp/peers/cnc

Inside the new file, add the following lines:

pty "pptp REMOTE_SERVER_IP --nolaunchpppd" 
name your_username    #use the same name you used in chap-secrets
remotename PPTP       #use the same remote name you used in chap-secrets
ipparam cnc           #use the same name you used in naming this file
require-mppe-128      #encrypt all traffic using 128-bit encryption
file /etc/ppp/options.pptp #use standard PPP options when connecting

Apparently, you need to change REMOTE_SERVER_IP to the IP address of your VPN server.

Finally, create a new script inside /etc/ppp/ip-up.d to route traffic through the new ppp0 device. This script will be running every time ppp is up. Use any filename you like. I used ‘my_traffic’.

sudo vim /etc/ppp/ip-up.d/my_traffic

As you see in this example, I use 10.172.16.0/24 to force the kernel to route all packets directed to the IP range 10.172.16.0 – 10.172.16.254 to go through PPTP:

#!/bin/bash
route add -net 10.172.16.0/24 dev ppp0

Apparently, you need to change the ’10.172.16.0′ part with the IP range of your remote network.

That’s all! Connect with this simple command:

sudo pon cnc

In parallel, you can watch for PPTP messages with

tail -f /var/log/syslog

You need to see something like that:

Sep 14 02:09:30 vaio pppd[4516]: local IP address 10.172.16.249
Sep 14 02:09:30 vaio pppd[4516]: remote IP address 10.49.217.

This means that you have acquired a VPN IP and you are probably OK. Check ifconfig to be sure.

If you manage to connect to your VPN, you will be able to ping to the above IP range, ssh to them, etc, just like as you were in office.

When you are done, disconnect with this command:

sudo poff cnc
Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
2

SocNetV on Maemo-N900?

Αυγούστου 21, 2010
Tags: , , ,

Easy. Short of.

I did this ‘experiment’ to test how much cross-platform Qt really is. I wanted to see if SocNetV can run on Maemo with no modifications whatsoever. These are the steps I followed:

1. Downloaded and installed the Xephyr X11 server (this is a small X11 server that runs inside ‘normal’ X and provides a virtual device screen where you see all the Maemo applications running):

sudo apt-get install xserver-xephyr

2. Downloaded and installed  Scratchbox and  Maemo SDK  in my laptop (Kubuntu x86/lucid).  I followed the straightforward instructions from the Maemo wiki and especially «Installing Maemo 5 SDK on x86-32 Debian based distribution«. It’s only seven steps and circa 100MBs of total downloads…

(συνέχεια…)

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
0

How-to configure file sharing in KDE4/Samba

Αυγούστου 5, 2010
Tags: ,

Simple. At least in Debian, Kubuntu and other Debian-derivatives. Install Samba server and the appropriate KDE4 module as root:

# apt-get install samba kdenetwork-filesharing

The kdenetwork-filesharing package installs a nice System Settings panel to configure network file-sharing using NFS and Samba. It also adds (the initially missing) functionality in the Properties > Share tab of each file and folder in Dolphin.

So, install the above packages, then open Dolphin, select a folder, right-click on it and select Properties then go to Share tab. Click on Configure File Sharing button and a new dialog appears. Let the «Simple Sharing» option intact and click on the Add button. A new dialog appears where you select and add the desired folder. Click OK twice. You are done.

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Google Bookmarks
0