very weird xfce behavior... please help

2012-02-23 Thread Joao Ferreira Gmail
Hello all,

Recently my xfce started behaving with strange issues that make me
unable to use it.

I can login to xfce, but...

I notice 2 major problems:

1) the windows have no frame, no minimize, maximize and close buttons;
so I can not close them, minimize them, nor move them; each new window I
open I'm unable to close it; i becomes unusable

2) I had 9 virtual desktops configured and now I have only one; if I try
to increase it does not work.

I'm very fond of xfce and I would like to continue using it.

I use Debian wheezy, fully updated. xfce version is:
ii  xfce4  4.8.0.3
ii  xfdesktop4 4.8.3-2   

Can anyone please help ?
Thank you
Joao



I use Debian GNU/Linux testing (wheezy); 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1330019251.2784.6.ca...@debjan.cmf.pt



Re: very weird xfce behavior... please help

2012-02-23 Thread Joao Ferreira Gmail
Hi guys,

thank you for the clear explanations. I was able to fix the issue now.

Thank you
Joao

On Thu, 2012-02-23 at 13:06 -0700, Joe Pfeiffer wrote:
 Maximilien Noal noal.maximil...@gmail.com writes:
 
  On 02/23/2012 06:47 PM, Joao Ferreira Gmail wrote:
  Hello all,
 
  Recently my xfce started behaving with strange issues that make me
  unable to use it.
 
  I can login to xfce, but...
 
  I notice 2 major problems:
 
  1) the windows have no frame, no minimize, maximize and close buttons;
  so I can not close them, minimize them, nor move them; each new window I
  open I'm unable to close it; i becomes unusable
  Hello,
 
  I think you can restore it it by restarting xfwm4. Type Alt and F2
  at the same time to bring xfrun4's prompt and enter xfwm4.
 
  For the rest, I'll leave it to people with more knowledge.
 
 Actually, the whole list of symptoms sounds like the window manager
 (xfwm4) isn't running
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1330033888.2896.0.ca...@debjan.cmf.pt



Re: rsync exclusions

2012-01-16 Thread Joao Ferreira Gmail
On Mon, 2012-01-16 at 10:19 +, Sharon Kimble wrote:
 I'm just fine tuning my rsync exclusion file which is called perfectly
 okay and works well, but now \i want to add these lines to it;-
 
 -/icedove/nipl*
 -/gnash/*
 -/mozilla/firefox/*
 -/opera/*
 
 Will they work with wildcards like that please to exclude the whole of
 the program and cache?

You just need to try :) But yes, the existing documentation is not the
most easy to read... I had that same problem once...


Below you will find some examples I used some time ago. But please
notice that I was using include-from instead of exclude-from; you
just need to revert your logic :) these are real life examples that are
being used on production systems to execute timed filesystem replication
of 2 linux boxes...

If you have more doubts please feel free. Just go ahead and try your own
examples... after a few tries you will understand how it works

Hope it helps...



/etc
=
#-files excluded
- /etc/resolv.conf
- /etc/hostname
- /etc/inittab
- /etc/modules
- /etc/passwd
- /etc/group
- /etc/fstab
- /etc/mtab
- /etc/release
- /etc/license.xml
- /etc/license.xml.sign
- /etc/*lock
- /etc/cron.d/hotbackup.cron
#-dirs excluded
- /etc/hotbackup
- /etc/init.d
- /etc/lilo
- /etc/rc.d
==


/home
==
#dirs excluded
- /home/lost+found
- /home/shareboxes
- /home/hbmaster
- /home/named/var/run
==



/usr
==
#
#
#_exclude most
- /usr/doc
- /usr/docs
- /usr/etc
- /usr/include
- /usr/info
- /usr/libexec
- /usr/man
- /usr/sbin
#
#
#
#_/usr/lib: mailscanner, webauth, asterisk, sophos libs, ...
+ /usr/lib/mailscanner
+ /usr/lib/webauth
+ /usr/lib/asterisk
+ /usr/lib/libsavi*
- /usr/lib/*
#
#
#
#_/usr/share: zoneinfo, clamav, phone-auto-config...
+ /usr/share/zoneinfo
+ /usr/share/phone-auto-config
+ /usr/share/clamav
- /usr/share/*
#



/var

#-files excluded
- /var/SWAPFILE*
#
#
#-dirs excluded
#
#
#/var/hotbackup
# this dir is used for: pgdump, resolv.conf,
fstab and friends !!!
#
#/var/items
#
- /var/lib/dhcpc
- /var/lib/epak
#- /var/lib/mailfax
#- /var/lib/openldap-data
#- /var/lib/radiusd
#- /var/lib/voicerlib
#
- /var/log
#- /var/log/hotbackup
- /var/lock
- /var/lost+found
#--- /var/notifyd
#
- /var/pgsql
- /var/pgsql-r
#
- /var/run
- /var/restore
- /var/squid
# /var/state
- /var/state/*lock
- /var/state/pppoecache.cache
- /var/state/pptp.sessions.conf
# /var/syslogmon
- /var/tmp
#- /var/webadmin
- /var/www
#
===

 
 If not, how do I do it please? I've found several sites on the
 internet to explain it but I dont understand what they're saying.
 
 Thankyou
 Sharon.
 -- 
 A taste of linux = http://www.sharons.org.uk/taste/index.html
 efever = http://www.efever.blogspot.com/
 efever = http://sharon04.livejournal.com/
 Debian 6,0.3, Gnome 1:2.30+7, LibreOffice 3.4.4
 Registered Linux user 334501
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1326709918.2663.28.ca...@wheejy.critical.pt



Re: sbin

2012-01-01 Thread Joao Ferreira Gmail
On Mon, 2012-01-02 at 00:42 +0800, lina wrote:
 Hi,
 
 Is it safe to add /sbin into PATH?

there should be no problem, but a regular (non-root) user will not be
able to do much with it because most of those executables will at some
point require root privilege (at least that is my guess)

 
 Why the default path not include /sbin,

On my system (Debian wheezy) I have it on root's PATH but not on regular
user's PATH:

root@wheejy:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

jmf@wheejy:~$ echo $PATH
/home/jmf/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games


tipically those commands are not used (not supposed to be used) by
regular users.

But I guess it won't hurt to add it to the PATH

Joao


 
 Thanks with best regards,
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1325436630.6724.6.ca...@wheejy.critical.pt



Re: xfce4

2011-12-19 Thread Joao Ferreira Gmail
On Mon, 2011-12-19 at 09:58 -0600, Kjetil brinchmann Halvorsen wrote:
 2=) How to change the system time?
 
 Kjetil 

try Applications Menu - Settings - Time and Date

cheers
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1324314667.2870.0.ca...@wheejy.critical.pt



Re: xfce4

2011-12-19 Thread Joao Ferreira Gmail
On Mon, 2011-12-19 at 11:12 -0600, Kjetil brinchmann Halvorsen wrote:
 see below.
 
 On Mon, Dec 19, 2011 at 11:11, Joao Ferreira Gmail
 joao.miguel.c.ferre...@gmail.com wrote:
  On Mon, 2011-12-19 at 09:58 -0600, Kjetil brinchmann Halvorsen wrote:
  2=) How to change the system time?
 
  Kjetil
 
  try Applications Menu - Settings - Time and Date
 
 
 My Applications Menu - Settings
 do not have Time and Date.

On my system I have all these xfce packages installed. Maybe one of them
is the one you want:

root@wheejy:/home/jmf# dpkg -l | grep xfce | cut -d   -f 3
gtk2-engines-xfce
libxfce4ui-1-0
libxfce4util-bin
libxfce4util-common
libxfce4util4
libxfcegui4-4
xfce-keyboard-shortcuts
xfce4
xfce4-appfinder
xfce4-artwork
xfce4-battery-plugin
xfce4-clipman
xfce4-clipman-plugin
xfce4-cpufreq-plugin
xfce4-cpugraph-plugin
xfce4-datetime-plugin
xfce4-dict
xfce4-diskperf-plugin
xfce4-fsguard-plugin
xfce4-genmon-plugin
xfce4-goodies
xfce4-indicator-plugin
xfce4-mailwatch-plugin
xfce4-mixer
xfce4-mount-plugin
xfce4-netload-plugin
xfce4-notes
xfce4-notes-plugin
xfce4-notifyd
xfce4-panel
xfce4-places-plugin
xfce4-power-manager
xfce4-power-manager-data
xfce4-power-manager-plugins
xfce4-quicklauncher-plugin
xfce4-radio-plugin
xfce4-screenshooter
xfce4-screenshooter-plugin
xfce4-sensors-plugin
xfce4-session
xfce4-settings
xfce4-smartbookmark-plugin
xfce4-systemload-plugin
xfce4-taskmanager
xfce4-terminal
xfce4-timer-plugin
xfce4-utils
xfce4-verve-plugin
xfce4-volumed
xfce4-wavelan-plugin
xfce4-weather-plugin
xfce4-xfapplet-plugin
xfce4-xkb-plugin
xfdesktop4
xfdesktop4-data



 
 Kjetil
 
  cheers
  Joao
 
 
 
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1324315347.2870.2.ca...@wheejy.critical.pt



Re: when did debian came into existence?

2011-12-12 Thread Joao Ferreira Gmail
On Mon, 2011-12-12 at 12:44 +, steef wrote:
 LinuxIsOne schreef:
  HI,
 
  when did Debian came into existence?
 
 
 
 1993

See Ian Murdock's opinion :)

http://ianmurdock.com/linux/linux-family-tree-version-0-90/

check out the image !!

Joao


 
 s.
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1323691644.2565.37.ca...@wheejy.critical.pt



Re: gnome 3 refugee: obstructive panel in xfce

2011-11-18 Thread Joao Ferreira Gmail
On Fri, 2011-11-18 at 20:52 +, Hendrik Boom wrote:
 I've fled from gnome 3 and am mostly happy with xfce.  But there's the 
 panel with six icons at the bottom of the screen that obscures the bottom 
 of a lot of windows.  How can I get rid  of it, or move it elsewhere?  Is 
 it possible to move it to be part of the strip at the top, for example?  
 In a pinch, I suppose I could get rid of it, because all those tools seem 
 to be available as part of the applications menu anyway. 
 

Go to Applications Menu - Settings - Panel

Select Panel 2 and press the '-' button at the top right corner.

I did not try it but it should work.

Joao

 The screen savers are pretty, but would it be possible to have them just 
 go blank and save power when the laptop in not plugged in?
 
 -- hendrik
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321651386.3031.1.ca...@wheejy.critical.pt



Re: debian 6.03 KDE desktop

2011-11-17 Thread Joao Ferreira Gmail
On Thu, 2011-11-17 at 15:57 +0200, Johan Scheepers wrote:
 Good day,
 
 Running Gnome desktop debian 6.03.
 
 Kindly is there a command to add the KDE desktop to a Gnome system.
 

apt-get install kde-standard should work (I did not try).

Joao

 I remember that in Ubuntu there is such a command.
 
 On boot up you have a choice to go either way.
 
 I have googled but could not get a clear instruction.
 
 Some pointers please.
 Thanks
 Johan
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321538812.4878.18.ca...@wheejy.critical.pt



Re: cut's counterpart: vcut ?!

2011-11-16 Thread Joao Ferreira Gmail
On Wed, 2011-11-16 at 17:15 +, Wolodja Wentland wrote:
 On Wed, Nov 16, 2011 at 16:58 +, Joao Ferreira Gmail wrote:
  Hi all,
  
  a crazy ideia just crossed my mind ?
  
  Is there a command that allows me to glue to text files together line
  by line ? more or like the inverse operation of 'cut' ... a vertical
 
 Something like paste ?

cool :)

nice. thx

Joao

 
 babilen@asasello: ~  $ cat a
 1
 2
 3
 babilen@asasello: ~  $ cat b
 a
 b
 c
 babilen@asasello: ~  $ paste -d '' a b
 1a
 2b
 3c



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321464030.2898.12.ca...@wheejy.critical.pt



can I safelly remove gnome ?

2011-11-14 Thread Joao Ferreira Gmail
Hello all,

I'm going to start using xfce4.

Can I safelly apt-get remove/purge gnome

Or should I expect any side impacts ?

Has anyone done this before ?

thank you
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321265999.2713.5.ca...@wheejy.critical.pt



Re: can I safelly remove gnome ?

2011-11-14 Thread Joao Ferreira Gmail
On Mon, 2011-11-14 at 08:14 -0600, Hugo Vanwoerkom wrote:
 Lorenzo Sutton wrote:
  On 14/11/11 11:19, Joao Ferreira Gmail wrote:
  Can I safelly apt-get remove/purge gnome
 
  Depends on what you call 'safely' and on what you are going to remove 
  (gnome is actually dozens of pakcages). Side effects will be all of 
  those not-so-evidetlty-related-to-gnome packages which you might remove 
  and which are doing important stuff on your system, for example gdm3, 
  network manager, gedit etc. Policykit stuff probably
 
  Has anyone done this before ?
  
  Yes I did it. Although I don't think just purging gnome tout-court has 
  any motive if not experimental/learning. The best option would probably 
  be fresh install with xfce4.
 
 snip
 
 That's what I did: D-i Wheezy, change sources to Sid, dist-upgrade + 
 install xfce4 + all my usual packages, just no gnome-anything.
 

ok guys. I guess I really should be carefull :)

Thanks for the hints.

João


 Hugo
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321281112.2713.6.ca...@wheejy.critical.pt



Re: Is for this community XFCE the most common DE to replace GNOME 3?

2011-11-14 Thread Joao Ferreira Gmail
On Mon, 2011-11-14 at 20:39 +0100, Ralf Mardorf wrote:
 Hi :)
 
 do most of you replace GNOME 3 by XFCE?
 
 I'm undecided what to do, but I guess it would be wise to install
 parallel to GNOME 3 the most used alternative installed by users who are
 subscribed to this list.
 
 Excepted of KDE users, XFCE seems to be the most used replacement for
 GNOME 3. Am I mistaken?
 

I never used xfce before but I know a lot of people that do. So since I
don't like G3 very much I decided to give it a try.

So far.. so god... so what !? :) I'm planning on sticking with xfce.
It's simple, fast... does what I need. That's about it.

Cheers
João


 Cheers!
 
 Ralf
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321304433.3611.1.ca...@wheejy.critical.pt



Re: [OT] mantis not sending e-mail

2011-11-13 Thread Joao Ferreira Gmail
:) bull's eye :)

On Sun, 2011-11-13 at 13:14 +, Camaleón wrote:
 On Sat, 12 Nov 2011 14:58:43 +, Joao Ferreira Gmail wrote:
 
 Did you already follow the steps detailed here? They are for Gmail but 
 the basics should also valid for other email servers. 
 
 Please read this if you have problems with emails
 http://www.mantisbt.org/forums/viewtopic.php?f=3t=15398
 
 Anyway, just for testing the mailing facility of Mantis, you can use your 
 own Gmail account and follows the same steps presented there.

Thank you. I got it working now after following the steps on that link.


 - The file you are editing (config_defaults_inc.php) is different than 
 the one of the forums guide (config_inc.php). Is that right?

Yes. On Debian systems there is an additional file for local changes:

# egrep config_local|Attention /usr/share/mantis/www/config_inc.php
  /* Attention: if you need to add another config params
  is highly recommended that you use the config_local.php file. */
  include(config_local.php);  

 
 Greetings,

Thanks a lot (again). You rule Camaleón :)

Joao

 
 -- 
 Camaleón
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321194944.2995.4.ca...@wheejy.critical.pt



[OT] mantis not sending e-mail

2011-11-12 Thread Joao Ferreira Gmail
Hello all,

I'm trying to get mantis to send e-mails but I can't get it right.

I posted on the mantis list but I got no replies. So I wonder if anyone
on Debian list is using mantis.

I've tried many scenarios but I still can't get mantis to send e-mails.
The logs generated are not clear enough.

Anyone out there has had experience with this ?

my config_local.php contains no settings. below is my config_inc.php

?php
/* Debian default configuration file for mantis. */

$g_hostname = 'localhost';
$g_db_username = 'mantis_user';
$g_db_password = '*';
$g_database_name = 'mantis';
$g_db_type = 'mysql';

/* E-Mail addresses */
$g_administrator_email = 'joao.miguel.c.ferre...@gmail.com';
$g_webmaster_email = 'joao.miguel.c.ferre...@gmail.com';
$g_from_email = 'joao.miguel.c.ferre...@gmail.com';
$g_return_path_email = 'joao.miguel.c.ferre...@gmail.com';

 include(config_local.php);  
?

and my contains this concerning smtp stuff

cat /usr/share/mantis/www/config_defaults_inc.php | grep smtp

$g_smtp_host = 'gate.***.com';
$g_smtp_username = 'jmcferreira';
$g_smtp_password = '***';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 25;


Any help would be much appreciated. The smtp settings are correct
because this is the smtp server I use every day.

Thank you
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1321109923.2980.7.ca...@wheejy.critical.pt



Re: ssh/dsa strange issue

2011-10-21 Thread Joao Ferreira Gmail
On Thu, 2011-10-20 at 23:40 -0600, Bob Proulx wrote:
 Joao Ferreira Gmail wrote:
  a) user jane on one system transfers her public DSA key to account john
  at a given remote host. it works. jane accesses john's account without
  typing a password.
  
  b) now the same user jane transfers her public DSA key to account mary
  at the _same_ remote host. it does not work. she get's prompted for a
  passord (she get's access by typing mary's password)
  
  my guess is that there must be some difference between john and mary
  accounts. I can not realise what it is (shell is bash on both).
 
 Usually people trip over permissions being too open.  Assuming you are
 using /home try this to look at the permissions.
 
   $ ls -ld /home /home/mary /home/mary/.ssh /home/mary/.ssh/authorized_keys
   drwxr-xr-x   9 root root  4096 Feb 28  2011 /home
   drwxr-xr-x 126 mary mary 16384 Oct 20 23:17 /home/mary
   drwx--   2 mary mary  4096 Sep 29 18:31 /home/mary/.ssh
   -rw-r--r--   1 mary mary   809 Oct 28  2010 /home/mary/.ssh/authorized_keys
 

:) bull's eye :)

/home/mary was 775. changed it to 755 and it immediately worked.

Thank you

João

 All of those directories should be writable only by the owner and the
 owner should be mary.  The typical problem is that people will have
 one of those files to be group writable.  In that case sshd refuses
 the authorized_keys file due to the possibility that another user can
 write to the file.
 
  Please find bellow the output of ssh -vvv  for both situations.
 
 The verbose output of the sshd would be more helpful.  Easiest to run
 it on another port temporarily.
 
   # /usr/sbin/sshd -d -p 
 
 And then try to log into it on that other port.
 
   jane@localhost:~$ ssh -p  localhost
 
 You might see an error like this one on the sshd server debug side:
 
   Authentication refused: bad ownership or modes for directory /home/mary
 
 Bob



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1319187918.2430.4.ca...@wheejy.critical.pt



ssh/dsa strange issue

2011-10-20 Thread Joao Ferreira Gmail
Hello all,

I have this strange situation:

a) user jane on one system transfers her public DSA key to account john
at a given remote host. it works. jane accesses john's account without
typing a password.

b) now the same user jane transfers her public DSA key to account mary
at the _same_ remote host. it does not work. she get's prompted for a
passord (she get's access by typing mary's password)

my guess is that there must be some difference between john and mary
accounts. I can not realise what it is (shell is bash on both).

Can anyone help ?

Please find bellow the output of ssh -vvv  for both situations.

Thank you

Joao

 success situation 
OpenSSH_5.3p1 Debian-3ubuntu7, OpenSSL 0.9.8k 25 Mar 2009
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to 192.168.126.61 [192.168.126.61] port 22.
debug1: Connection established.
debug1: identity file /home/jane/.ssh/identity type -1
debug1: identity file /home/jane/.ssh/id_rsa type -1
debug3: Not a RSA1 key file /home/jane/.ssh/id_dsa.
debug2: key_type_from_name: unknown key type '-BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-END'
debug3: key_read: missing keytype
debug1: identity file /home/jane/.ssh/id_dsa type 2
debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
debug1: Remote protocol version 2.0, remote software version
Sun_SSH_1.1.2
debug1: no match: Sun_SSH_1.1.2
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.3p1 Debian-3ubuntu7
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug3: Wrote 792 bytes for a total of 831
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit:
diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-...@lysator.liu.se
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit:
hmac-md5,hmac-sha1,umac...@openssh.com,hmac-ripemd160,hmac-ripemd...@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: none,z...@openssh.com,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: gss-group1-sha1-toWM5Slw5Ew8Mqkay
+al2g==,diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit:
aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
debug2: kex_parse_kexinit:
aes128-ctr,aes128-cbc,arcfour,3des-cbc,blowfish-cbc,aes192-ctr,aes192-cbc,aes256-ctr,aes256-cbc
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit: none,zlib
debug2: kex_parse_kexinit:
ca-ES,el-CY,el-GR,en-MT,es,es-ES,it,it-IT,mt-MT,ca,el,pt,pt-PT,i-default
debug2: kex_parse_kexinit:
ca-ES,el-CY,el-GR,en-MT,es,es-ES,it,it-IT,mt-MT,ca,el,pt,pt-PT,i-default
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-md5
debug1: kex: server-client aes128-ctr hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client-server aes128-ctr hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(102410248192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug3: Wrote 24 bytes for a total of 855
debug2: dh_gen_key: priv key bits set: 128/256
debug2: bits set: 487/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: Wrote 144 bytes for a total of 999
debug3: check_host_in_hostfile: filename /home/jane/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 1
debug1: Host '192.168.126.61' is known and matches the RSA host key.
debug1: Found key in /home/jane/.ssh/known_hosts:1
debug2: bits 

Re: login shell VS interactive shell

2011-10-14 Thread Joao Ferreira Gmail
On Fri, 2011-10-14 at 08:53 +0100, Chris Davies wrote:
 Joao Ferreira Gmail joao.miguel.c.ferre...@gmail.com wrote:
  I read a text about bash that mentions a difference between login
  shell and interactive shell.
 
  I'm affraid I don not know the difference. Can anyone enlighten me ?
 

Hello,

Thanks everybody for the explanations. I got the picture now :)

Cheers
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1318584235.2429.12.ca...@wheejy.critical.pt



login shell VS interactive shell

2011-10-13 Thread Joao Ferreira Gmail
Hello all,

I read a text about bash that mentions a difference between login
shell and interactive shell.

I'm affraid I don not know the difference. Can anyone enlighten me ?


text I read was:

When Bash starts executes the commands in a variety of different
scripts. When started as an interactive login shell: Bash reads and
executes the /etc/profile (if it exists). After reading that file, it
looks for ~/.bash_profile, ~/.bash_login, and ~/.profile in that order,
and reads and executes the first one (that exists and is readable). When
a login shell exits: Bash reads and executes ~/.bash_logout (if it
exists). When started as an interactive shell (but not a login shell):
Bash reads and executes ~/.bashrc (if it exists).

thank you
João



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1318542564.3378.16.ca...@wheejy.critical.pt



how ssh implements X forwarding

2011-10-03 Thread Joao Ferreira Gmail
Hello all,

I was wondering exactly how X11 forwarding is implemented on an ssh
tunnel...

can anyone point me to some hands-on/tutorial information on this, and
maybe other useful practical cases using ssh ?

thanks
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1317633165.2464.13.ca...@wheejy.critical.pt



Re: how ssh implements X forwarding

2011-10-03 Thread Joao Ferreira Gmail
On Mon, 2011-10-03 at 20:27 +1100, Scott Ferguson wrote:
 On 03/10/11 20:12, Joao Ferreira Gmail wrote:
  Hello all,
  
  I was wondering exactly how X11 forwarding is implemented on an ssh
  tunnel...
 
 http://en.wikipedia.org/wiki/X_Window_System#Network
 
  
  can anyone point me to some hands-on/tutorial information on this, and
  maybe other useful practical cases using ssh ?
  
  thanks
  Joao
  
  
  
 
 A general tutorial is unlikely to be useful to you (or you'd figure
 out your answers from man X). :-)
 
 I suspect you'll find a more specific tutorial helpful.
 
 What Display Manager are you running?
 eg. xdm, gdm, kdm etc.
 
 Hint: look in /etc/init.d
 
 What release of Debian are you running?

Hi,

I'm using gdm on wheezy.

Yes, the manual is a good starting point. I was just wondering how much
can I get from ssh... it's such an incredible tool...

cheers
Joao

 
 Cheers
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1317634959.2464.16.ca...@wheejy.critical.pt



wireless not working after upgrade

2011-09-20 Thread Joao Ferreira Gmail
hello all,

I've just upgraded to the latest software packages. Wireless stopped
working.

details:

jmf@wheejy:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux testing (wheezy)
Release:testing
Codename:   wheezy

jmf@wheejy:~$ lspci | grep 3945
0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
[Golan] Network Connection (rev 53)

jmf@wheejy:~$ su
Password: 
root@wheejy:/home/jmf# modprobe -l | grep iwl
kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
kernel/drivers/net/wireless/iwlegacy/iwl-legacy.ko
kernel/drivers/net/wireless/iwlegacy/iwl4965.ko
kernel/drivers/net/wireless/iwlegacy/iwl3945.ko
root@wheejy:/home/jmf# 

hardware is a DELL Latitude D620.

can I fix this somehow ?

thank you

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1316543248.2925.3.ca...@wheejy.critical.pt



Re: wireless not working after upgrade

2011-09-20 Thread Joao Ferreira Gmail
I have this on kern.log

Sep 20 20:07:46 wheejy kernel: [6.734160] iwl3945: Intel(R)
PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
Sep 20 20:07:46 wheejy kernel: [6.734164] iwl3945: Copyright(c)
2003-2011 Intel Corporation
Sep 20 20:07:46 wheejy kernel: [6.734240] iwl3945 :0c:00.0: PCI
INT A - GSI 17 (level, low) - IRQ 17
Sep 20 20:07:46 wheejy kernel: [6.734273] iwl3945 :0c:00.0:
setting latency timer to 64
Sep 20 20:07:46 wheejy kernel: [6.748103] iwl3945 :0c:00.0: bad
EEPROM signature,EEPROM_GP=0x
Sep 20 20:07:46 wheejy kernel: [6.748285] iwl3945 :0c:00.0:
EEPROM not found, EEPROM_GP=0x1000
Sep 20 20:07:46 wheejy kernel: [6.748499] iwl3945 :0c:00.0:
Unable to init EEPROM
Sep 20 20:07:46 wheejy kernel: [6.748670] iwl3945 :0c:00.0: PCI
INT A disabled
Sep 20 20:07:46 wheejy kernel: [6.751848] iwl3945: probe of
:0c:00.0 failed with error -2

any ideias ? could I just downgrade the firmware package ? how could I
achieve this ?

many thanks
Joao


On Tue, 2011-09-20 at 19:27 +0100, Joao Ferreira Gmail wrote:
 hello all,
 
 I've just upgraded to the latest software packages. Wireless stopped
 working.
 
 details:
 
 jmf@wheejy:~$ lsb_release -a
 No LSB modules are available.
 Distributor ID:   Debian
 Description:  Debian GNU/Linux testing (wheezy)
 Release:  testing
 Codename: wheezy
 
 jmf@wheejy:~$ lspci | grep 3945
 0c:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
 [Golan] Network Connection (rev 53)
 
 jmf@wheejy:~$ su
 Password: 
 root@wheejy:/home/jmf# modprobe -l | grep iwl
 kernel/drivers/net/wireless/iwlwifi/iwlagn.ko
 kernel/drivers/net/wireless/iwlegacy/iwl-legacy.ko
 kernel/drivers/net/wireless/iwlegacy/iwl4965.ko
 kernel/drivers/net/wireless/iwlegacy/iwl3945.ko
 root@wheejy:/home/jmf# 
 
 hardware is a DELL Latitude D620.
 
 can I fix this somehow ?
 
 thank you
 
 Joao
 
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1316546018.3228.2.ca...@wheejy.critical.pt



childsplay not starting

2011-09-18 Thread Joao Ferreira Gmail
Hello,

I've installed childsplay for my kids but it is not starting


jmf@wheejy:~$ childsplay 
2011-09-18 18:15:48,960 - schoolsplay.SPDataManager - ERROR - No
sqlalchemy package found
Traceback (most recent call last):
  File /usr/lib/pymodules/python2.6/childsplay_sp/SPDataManager.py,
line 41, in module
import sqlalchemy.exceptions as sqlae
ImportError: No module named exceptions
Traceback (most recent call last):
  File /usr/games/childsplay, line 118, in module
import childsplay_sp.SPMainCore as SPMainCore
  File /usr/lib/pymodules/python2.6/childsplay_sp/SPMainCore.py, line
59, in module
import SPDataManager as SPDataManager
  File /usr/lib/pymodules/python2.6/childsplay_sp/SPDataManager.py,
line 45, in module
raise Exception
Exception



this is debian wheezy

jmf@wheejy:~$ childsplay --version

Childsplay version: 1.5.1
Platform :linux2
Python version: 2.6.7 (r267:88850, Jul 10 2011, 09:55:27) 
Pygame version: 1.8.1release
SDL version: 1.2.14
Childsplay.ocempgui version: 0.2.9
Sqlalchemy version: 0.7.2

jmf@wheejy:~$ 

mf@wheejy:~$ uname -a
Linux wheejy 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 UTC 2011 i686
GNU/Linux
jmf@wheejy:~$ 




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1316366309.3181.2.ca...@wheejy.critical.pt



Re: childsplay not starting

2011-09-18 Thread Joao Ferreira Gmail
  
 
 It's a bug, see #638747, childsplay doesn't work with sqlalchemy from
 testing/sid. Fortunately a fix has already been proposed, you should
 watch it's upload in Sid and install it when it's available.
 

thx a lot.

I was able to fix it following the bug ID and found the proposed fix...

working fine now :)

Joao


 If you are in a hurry to save the day for your child, grab an older
 python-sqlalchemy version from stable (untested) or Ubuntu natty (works
 here), install it and then install childsplay.
 
 http://packages.ubuntu.com/natty/python-sqlalchemy
 
 http://packages.debian.org/squeeze/python-sqlalchemy
 
 If you'd rather go upstream here it is: http://www.sqlalchemy.org/
 
 Cheers, don't forget Gcompris in case Childsplay isn't playing ball ;-)
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1316381226.2441.0.ca...@wheejy.critical.pt



Re: which gnome version in sid?

2011-09-10 Thread Joao Ferreira Gmail
On Sat, 2011-09-10 at 15:05 -0400, Jude DaShiell wrote:
 Which gnome version is now in cid?  If the version is 3.0 or later I need 
 to do some customization like removing gnome-shell since that and orca 
 don't get along.
 

http://packages.debian.org/sid/gnome/gnome



 
 
 Jude jdash...@shellworld.net I love the Pope, I love seeing him in his 
 Pope-Mobile, his three feet of bullet proof plexi-glass. That's faith in 
 action folks! You know he's got God on his side.
 ~ Bill Hicks
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1315681997.2646.0.ca...@wheejy.critical.pt



evolution crashes and hangs

2011-09-08 Thread Joao Ferreira Gmail
Hello all,

I am using wheezy.

Yesterday I upgraded all packages and since then I have evolution
(3.0.2) crashing and hanging every 30 minutes.

In the Evolution mailing list they tell me the only way is to upgrade to
3.0.3 which is now on sid.

How do I achieve this ? I do not wish to upgrade to sid... only to
upgrade evolution.

I use e-mail a lot, so this is quite a problem for me :(

thank you
João



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1315491002.7921.7.ca...@wheejy.critical.pt



Re: How do I partition a 250 gb drive for a dual boot setup?

2011-08-21 Thread Joao Ferreira Gmail
On Sat, 2011-08-20 at 01:54 -1200, sdc wrote:
 Unfortunately I have to use Windows 7 as well so I need to setup a
 dual boot.

Alternativelly to dual-boot you might want to consider running windows
as a virtual machine, using, for example, VirtualBox (there are others).

It will work just fine. After some time you end up forgetting that the
windows computer is actually a virtual machine... because is as real as
any other computer.

The process would be very simple:

1) Install Debian (use automatic partitioning and take the everything
in same partition option)
2) Install Virtual box
3) install windows as a VM under virtual box.

I've been using this setup for about 5 years (3 years with VMware and 2
years with VirtualBox).

cheers
Joao


  This dual boot setup will run on a laptop with a 250 GB HDD and a
 Broadcom BCM4312(I tried installing debian 6 some while ago but had no
 network driver. I imagine that I need to download it using another
 computer then installing it on the laptop. From where can I get it?)
 
 
 My biggest concern is the fact that I don't know how many partitions
 to make for Debian and how large. I was thinking about making a
 windows partition of 100gb and the rest go to Debian. Please, if it's
 possible provide me with a partition scheme (that much for root, that
 much for swap, etc) and instructions of how to set the dualboot laptop
 up and running.
 
 
 
 
 
 Thank you and if you need other details please tell me.
 
 
 
 PS:I apologize if the content of the mail has already been discussed.
 I don't know how to search on a mail list. Also, I do know there is
 GOOOGLE but as a beginner I thought it was more advised to come here
 and ask questions that can help me solve this specific issue.
 
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1313933613.2532.4.ca...@wheejy.critical.pt



[OT] plot execution flows from C/C++ sources

2011-08-10 Thread Joao Ferreira Gmail
Hello all,

[  maybe some programers out there... :)  ]

I recently stared working on a project for maintenance and new
developments on an existing huge code base of C/C++ 

It's quite a challenge for newcommers.

Does anyone know of any tools that would help in ploting execution flow
diagrams from the sources ?

thx
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1312983226.2878.17.ca...@wheejy.critical.pt



Re: eog (Image Viewer) all black on jpg images

2011-08-09 Thread Joao Ferreira Gmail
On Mon, 2011-08-08 at 16:12 +, Camaleón wrote:
  eog does display pngs correctly. gimp displays jpgs correctly.
 
 It works fine here (running an updated wheezy) :-?

I'm also using updated wheezy (weird) ...

 
 Have you tried to...?
just did

 
 1/ Testing with a fresh-new user account?
same problem

 2/ Running from command line (eog /path/to/file.jpg)?
same problem (no console messages)

gimp is able to display the image correctly


 
 Greetings,
 
 -- 
 Camaleón
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1312882243.3217.1.ca...@wheejy.critical.pt



Re: eog (Image Viewer) all black on jpg images

2011-08-09 Thread Joao Ferreira Gmail

I've just realised that this does not happen on all JPG files. Only
some.

There are two common characteristics about the pictures that fail:
a) they are about 2,6MB size
b) they were all taken on the same camera

:P

More incredible is that Nautilus is able to show previews for all of
them...

well... nevermind. I have GIMP :)

cheers
Joao



On Tue, 2011-08-09 at 10:30 +0100, Joao Ferreira Gmail wrote:
 On Mon, 2011-08-08 at 16:12 +, Camaleón wrote:
   eog does display pngs correctly. gimp displays jpgs correctly.
  
  It works fine here (running an updated wheezy) :-?
 
 I'm also using updated wheezy (weird) ...
 
  
  Have you tried to...?
 just did
 
  
  1/ Testing with a fresh-new user account?
 same problem
 
  2/ Running from command line (eog /path/to/file.jpg)?
 same problem (no console messages)
 
 gimp is able to display the image correctly
 
 
  
  Greetings,
  
  -- 
  Camaleón
  
  
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1312884599.3217.10.ca...@wheejy.critical.pt



eog (Image Viewer) all black on jpg images

2011-08-08 Thread Joao Ferreira Gmail
Hello all,

I noticed recently that eog (aka Image Viewer) displays all black on jpg
files. This was not so a few weeks ago. I have recently upgraded (and
dist-upgraded).

Can anyone replicate this.

eog does display pngs correctly. gimp displays jpgs correctly.

cheers
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1312798530.2502.3.ca...@wheejy.critical.pt



Re: how to examine ssh problem

2011-08-02 Thread Joao Ferreira Gmail
On Tue, 2011-08-02 at 23:02 +0800, lina wrote:
 Hi,
 
 when I tried to ssh some_server, it showed me,
 
 Permission denied (publickey,gssapi-with-mic,password).
 
 1] I tried ssh from desktop, laptop and other server, the same problem.
 2] I generate a new key  by ssh-keygen in some_server, it still has
 this problem.
 
 I can ssh by username@full_some_server_address, but can't access in a
 simple way,

try:

ssh -vvv user@host

Joao


 
 Thanks for any advice,
 
 -- 
 Best Regards,
 
 lina
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1312298664.5701.0.ca...@wheejy.critical.pt



smart formatting csv files

2011-07-14 Thread Joao Ferreira Gmail
Hello all,

I'm currently dealing with some big ugly csv files (separator is ';').
I'm using gedit or kwrite to visualize them.

Does anyone know if there is some kind of plugin ou external scripts for
gedit/kwrite  that would allow me to align all that data vertically by
adding spaces where needed... the visual effect would be just like I
would get using a spreadsheet.

I'dd like to go from this:

a;aa;aa
bb;bb;bb
;;ccc

to this:

 a;aa;aa
bb;bb;bb
  ;  ;   ccc


Thanks for any hints
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1310642147.2782.7.ca...@wheejy.critical.pt



Re: smart formatting csv files

2011-07-14 Thread Joao Ferreira Gmail

Well no real particular reason... I was just wondering a bit.

I guess I'll use Open Office :)

thx
Joao


On Thu, 2011-07-14 at 13:35 +0200, Lorenzo Sutton wrote:
 Hi
 
 Joao Ferreira Gmail wrote:
  Hello all,
 
  I'm currently dealing with some big ugly csv files (separator is ';').
  I'm using gedit or kwrite to visualize them.
 
 Any particular reason you won't use a software which can import/export csv?
 
  Does anyone know if there is some kind of plugin ou external scripts for
  gedit/kwrite  that would allow me to align all that data vertically by
  adding spaces where needed... the visual effect would be just like I
  would get using a spreadsheet.
 
  I'dd like to go from this:
 
  a;aa;aa
  bb;bb;bb
  ;;ccc
 
  to this:
 
   a;aa;aa
  bb;bb;bb
;  ;   ccc
 
 A quick hack I can think of is in gedit search and replace all ';' with
 tabs ('\t') and then have a wide tab (depending on how wide each value
 is). Then just replace all tabs back to ';' to revert. This of course if
 you're 100% sure you have no tabs within the values themselves. Also
 make sure it is using real tabs not spaces.
 
 Lorenzo
 
 
  Thanks for any hints
  Joao
 
 
 
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1310650897.2782.8.ca...@wheejy.critical.pt



get package name from file name

2011-07-07 Thread Joao Ferreira Gmail
Hello,

how can I tell which package installs a given file ?

something like:

# find-package-from-file /usr/lib/libxml2.so.2
libxml2

thx
jmf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1310030553.2380.2.ca...@wheejy.critical.pt



Re: get package name from file name

2011-07-07 Thread Joao Ferreira Gmail
On Thu, 2011-07-07 at 10:24 +0100, kuLa wrote:
 dpkg -S /usr/lib/libxml2.so.2

cool. thx

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1310031477.2380.3.ca...@wheejy.critical.pt



join 2 contiguous ext3 partitions

2011-07-01 Thread Joao Ferreira Gmail
Hello,

can I somehow join 2 ext3 partitions ?

/dev/sda6  28G   15G   12G  56% /media/armazem
/dev/sda7  19G  8.2G  9.3G  47% /media/despensa

they both contain data.

thx
Joao




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309527915.20556.20.ca...@wheejy.critical.pt



Re: join 2 contiguous ext3 partitions

2011-07-01 Thread Joao Ferreira Gmail
On Sat, 2011-07-02 at 00:02 +1000, CaT wrote:
 On Fri, Jul 01, 2011 at 02:45:15PM +0100, Joao Ferreira Gmail wrote:
  Hello,
  
  can I somehow join 2 ext3 partitions ?
  
  /dev/sda6  28G   15G   12G  56% /media/armazem
  /dev/sda7  19G  8.2G  9.3G  47% /media/despensa
  
  they both contain data.
 
 It's fun danger time. :)
 
 They're small. Perhaps compressing onto a usb stick would be a go as a first
 step.
 
 Then you have two options:
 
 1. copy and resize
a. copy data in sda7 to sda6
b. with fdisk -c -u not the beginning of 6 and end of 7
c. delete 6 and 7
d. recreate 6 so that it begins where 6 did and ends where 7 did and save
   - very important to get right. most important is to get the beginning
 exactly the same. if you cannot, quit without saving and go for option
   2.
   - ending is less important. don't fret there
e. if sda is in use, reboot after commening out their entries in /etc/fstab
f. fsck the fs on 6 (the new 6)
g. use resize2fs to resize that filesystem
h. adjust fstab as appropriate

yes. this is mostly what I ended up doing. I elimnated sda7 (data in it
was not really that important).

Then I unmounted both and used gparted to increase sda6 into the sda7
free space. gparted did his job really great. at the end I commented 1
line out in /etc/fstab :)

I considered a union mount but I wasn't feeling very confortable with
the ideia :p

cheers.
thx a lot.


 2. format and copy back
a. do b-e from above
b. mkfs.ext3 (or 4 if you want) on 6
c. copy from usb stick
d. adjust fstab as appropriate
 
 Fun times ahead. :)
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309532422.2395.3.ca...@wheejy.critical.pt



perl xs error: unknown type name ‘off64_t’

2011-06-29 Thread Joao Ferreira Gmail
Hello all,

I'm trying some SWIG examples to work with perl XS.

I got this error:

jmf@wheejy:~/tech/swig/aaa$ swig -perl5 example.i
jmf@wheejy:~/tech/swig/aaa$ 
jmf@wheejy:~/tech/swig/aaa$ gcc -c example.c example_wrap.c
-I /usr/lib/perl/5.12.3/CORE/
In file included from /usr/lib/perl/5.12.3/CORE/perl.h:4946:0,
 from example_wrap.c:731:
/usr/lib/perl/5.12.3/CORE/proto.h:692:47: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:699:15: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:699:51: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:704:15: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:6178:15: error: unknown type name
‘off64_t’
/usr/lib/perl/5.12.3/CORE/proto.h:6179:53: error: unknown type name
‘off64_t’
jmf@wheejy:~/xarmazem/tech/swig/aaa$ 

seems that off64_t is not being found by gcc ! or something similar ?

can anyone point me in the correct direction ?

Thank you.

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1309354438.29375.7.ca...@wheejy.critical.pt



gnome-applet top bottom left right setting

2011-06-15 Thread Joao Ferreira Gmail
Hello all,

Where can I find the gnome-applet configuration setting that defines the
position (top, left, right, bottom) ?

I need to change it back to the default setting (bottom, I guess)...
changed it to right but the result is not so good and I can't find a way
to put it back the way it was before (this is a scenario where I call
gnome-applet from a command line on an ssx -X  connection).

thx

joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1308142400.3909.4.ca...@wheejy.critical.pt



Re: gnome-applet top bottom left right setting

2011-06-15 Thread Joao Ferreira Gmail
On Wed, 2011-06-15 at 13:37 +, Camaleón wrote:
 On Wed, 15 Jun 2011 13:53:20 +0100, Joao Ferreira Gmail wrote:
 
  Where can I find the gnome-applet configuration setting that defines the
  position (top, left, right, bottom) ?
 
 Position of what, exactly? You mean the panel? :-?

:) sorry... I meant gnome-panel !!!

  
  I need to change it back to the default setting (bottom, I guess)...
  changed it to right but the result is not so good and I can't find a way
  to put it back the way it was before (this is a scenario where I call
  gnome-applet from a command line on an ssx -X  connection).
 
 There are some keys that can be tweaked to set this in gconf:
 
 /apps/panel/toplevels/top_panel_screen0/orientation
 

thx :) following your suggestion I ended up editing the
.gconf/apps/panel/profiles/default/toplevels/bottom_panel/%gconf.xml
file and got the result I wanted

thank you (again :))

Joao


 If your running from console, maybe you can use gconftool-2 --set [...] 
 to get the job done and then restart the panel (killall gnome-panel) or 
 relogin to apply the changes.
 
 Greetings,
 
 -- 
 Camaleón
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1308146524.3909.7.ca...@wheejy.critical.pt



Re: gnome sensors applet: which is which ?

2011-06-12 Thread Joao Ferreira Gmail
On Sat, 2011-06-11 at 09:50 +, Camaleón wrote:
 On Fri, 10 Jun 2011 20:21:34 +0100, Joao Ferreira Gmail wrote:
 
  On Thu, 2011-06-09 at 18:46 +, Camaleón wrote:
   which is which ? CPU ? Motherboard ?
  
  Most probably the CPU, as Brian pointed out (there should be an icon
  identifiying the item)
  
  both icons are identical !!!
 
 And what do they represent? A CPU chip?

yes. seems to be some sort of chip. a CPU I'dd say, yes.

 
  but 74°C and 95°C -being Celsius- are a bit high values for whatever
  they meassure (even for a laptop). From what source (s) does
  sensors-applet gather the data?
  
  I don't know. but the following should help... I hope it does :)
  
  root@wheejy:/# sensors-detect
  No i2c device files found.
 
 This doesn't look good. 
 
 Ah, it's a solved bug, at least if you are running wheezy/sid:
 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=628228
  
  root@wheejy:/# sensors
  acpitz-virtual-0
  Adapter: Virtual device
  temp1:+57.5°C  (crit = +126.0°C)
 
 This looks like the CPU sensor. It is still a bit high but dependending 
 on the CPU model it could be in the safe range.

this is a DELL Latitude D620 laptop. It's a 2 core.

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 15
model name  : Intel(R) Core(TM)2 CPU T5500  @ 1.66GHz
stepping: 6
cpu MHz : 1000.000
cache size  : 2048 KB

thx a lot for the pointers :)

Joao



  
  nouveau-pci-0100
  Adapter: PCI adapter
  temp1:+79.0°C  (high = +100.0°C, crit = +110.0°C)
 
 Ah, this seems your VGA card's sensor.
  
  I can add that these 2 values (79 and 57) are actually the ones
  displayed by the applet. both the sensors and sensors-detect
  programs are part of the lm-sensors package.
  
  Can you guys make some sense out of these informations ?
 
 Yep. They now make more sense. But take an eye to the CPU temp, it should 
 not exceed its limits (neither 74°C nor 95°C are good numbers).
 
 Is this a notebook? Notebooks CPUs tend to be more heat and they support 
 higher values for T junction.
 
 Greetings,
 
 -- 
 Camaleón
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1307889027.2983.2.ca...@wheejy.critical.pt



Re: gnome sensors applet: which is which ?

2011-06-10 Thread Joao Ferreira Gmail
On Thu, 2011-06-09 at 18:46 +, Camaleón wrote:
 On Thu, 09 Jun 2011 16:34:37 +0100, Joao Ferreira Gmail wrote:
 
  I'm using gnome sensors applet to keep an eye on computer temperature.
  
  The applet configuration lets me choose:
  
  - libsensors
   \temp1
   \temp1
  
  I also have udisk (for hard disk temperature).
  
  These 2 libsensors/temp1 produce different values (about 20 degrees
  Celsius appart form each other; p.ex: 74 and 95). Can anyone tell me
  which is which ? CPU ? Motherboard ?
 
 Most probably the CPU, as Brian pointed out (there should be an icon 
 identifiying the item) 

both icons are identical !!!

 but 74°C and 95°C -being Celsius- are a bit high 
 values for whatever they meassure (even for a laptop). From what source
 (s) does sensors-applet gather the data?

I don't know. but the following should help (I hoper it does):

root@wheejy:/# sensors-detect 
No i2c device files found.

root@wheejy:/# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:+57.5°C  (crit = +126.0°C)

nouveau-pci-0100
Adapter: PCI adapter
temp1:+79.0°C  (high = +100.0°C, crit = +110.0°C)


I can add that these 2 values (79 and 57) are actually the ones
displayed by the applet. both the sensors and sensors-detect
programs are part of the lm-sensors package.

Can you guys make some sense out of these informations ? 

:)

thx
Joao




  It may need some tweaking.
 
 Greetings,
 
 -- 
 Camaleón
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1307733475.2760.4.ca...@wheejy.critical.pt



Re: gnome sensors applet: which is which ?

2011-06-10 Thread Joao Ferreira Gmail
On Thu, 2011-06-09 at 18:46 +, Camaleón wrote:
  which is which ? CPU ? Motherboard ?
 
 Most probably the CPU, as Brian pointed out (there should be an icon 
 identifiying the item) 

both icons are identical !!!

 but 74°C and 95°C -being Celsius- are a bit high 
 values for whatever they meassure (even for a laptop). From what source
 (s) does sensors-applet gather the data?

I don't know. but the following should help... I hope it does :)

root@wheejy:/# sensors-detect 
No i2c device files found.

root@wheejy:/# sensors
acpitz-virtual-0
Adapter: Virtual device
temp1:+57.5°C  (crit = +126.0°C)

nouveau-pci-0100
Adapter: PCI adapter
temp1:+79.0°C  (high = +100.0°C, crit = +110.0°C)


I can add that these 2 values (79 and 57) are actually the ones
displayed by the applet. both the sensors and sensors-detect
programs are part of the lm-sensors package.

Can you guys make some sense out of these informations ? 

:)

thx
Joao




  It may need some tweaking.
 
 Greetings,
 
 -- 
 Camaleón
 
 




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1307733694.2760.6.ca...@wheejy.critical.pt



mobi files reader

2011-05-25 Thread Joao Ferreira gmail
Hello all,

how can I read e-books in .mobi format in linux ?

thanks

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1306337552.2501.15.ca...@squeeje.critical.pt



need help with sed problem

2011-03-18 Thread Joao Ferreira gmail
Hello all

I need to use sed to replace a given line in a text file with the
current working directory. But this is getting quite tricky. Problem
ilustrated below:


$ cat text.txt 

:/some/wrong/path/


$ sed s/.*/:$TERM/ text.txt

:xterm


jmf@squeeje:~$ sed s/.*/:$PWD/ text.txt
sed: -e expression #1, char 16: unknown option to `s'
=

I'd like to have



:/home/myself



Can anyone help ? thanks in advance.

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1300470364.2932.5.ca...@squeeje.critical.pt



Re: need help with sed problem

2011-03-18 Thread Joao Ferreira gmail
On Fri, 2011-03-18 at 18:59 +0100, Andrej Kacian wrote:
 On Fri, 18 Mar 2011 17:46:04 +
 Joao Ferreira gmail joao.miguel.c.ferre...@gmail.com wrote:
 
 jmf@squeeje:~$ sed s/.*/:$PWD/ text.txt
 sed: -e expression #1, char 16: unknown option to `s'
 
 Hello,
 
 this is because $PWD gets expanded by shell before sed gets called, so what
 actually gets executed is:
 
 sed s/bbb.*/:/home/myself/ text.txt
 
 ...which is obviously syntactically incorrect.
 
 To get result you want, try using different separator character than /, for
 example the comma, or underscore:
 
 $ sed s,bbb.*,:$PWD, text.txt
 $ sed s_bbb.*_:$PWD_ text.txt

Thanks a lot... I did not know that was possible...

I used the # separator. Worked just fine

Thank you

Joao

 
 -- 
 Andrej Kacian
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1300475305.2285.0.ca...@squeeje.critical.pt



basic audio editing software

2011-02-24 Thread Joao Ferreira gmail
Hello,

I will need to make some simple volume adjustments and maybe some basic
noise reduction on a few sound files (wav, maybe others).

Is there some basic utility in Debian for this.

I really don't need sophisticated stuff, but any ideas are welcome.

:)

Thanks
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1298564360.3370.3.ca...@squeeje.critical.pt



Re: Looking for a watchdog for background processes and files

2011-02-10 Thread Joao Ferreira gmail
I'dd suggest you look at monit.

monit is a utility for monitoring and managing daemons or similar
programs running on a Unix system. It will start specified programs if
they are not running and restart programs not responding.

http://packages.debian.org/squeeze/monit

it is a quite popular tool for the kind of things you are considering :)

cheers

Joao


On Thu, 2011-02-10 at 07:45 -0800, Toni S wrote:
 Hi all,
 
 I am looking for a debian package, which can do the following:
 
 - supervision of other background processes
 - taking actions when the other background process dies (i.e.
 restarting, starting recovery procedures, sending email, etc ... )
 
 Is there another package doing similar things for files:
 - supervising whether a specific file exists
 - taking action when file is deleted
 
 I know all this can be solved by writing small (or large)
 shellscripts, but I'd like to know whether there are useful existing
 packages.
 
 Thanks for any help
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1297355053.2315.8.ca...@squeeje.critical.pt



Re: Hard disk high avalibity

2011-01-20 Thread Joao Ferreira gmail
On Thu, 2011-01-20 at 14:04 +0200, Juha Tuuna wrote:
 On 20.1.2011 14:02, Jesus arteche wrote:
  Hey guys,
  
  I have two servers...and I need that a folder in one of the servers will be
  updated every time to another server, in case the first server go down...the
  second will be able to replace it.
  
  anyone has any idea?
  
  thanks

check out DRBD and OCFS2 ... 

both very easy to setup and will give you real-time replication.

but not as simple as cron+rsync :)

jmf

 
 -- 
 Juha Tuuna
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1295526619.2853.1.ca...@squeeje.critical.pt



Re: transition from Ubuntu - Debian to avoid Unity Desktop?

2011-01-18 Thread Joao Ferreira gmail
You need to simply try it out.

I don't think Debian will choose Unity instead of Gnome... (I'm
personally very positive of this... but that is only my serious belief)

anyway, I need to consider carefully abandoning Ubuntu. I'm sure they
will keep supporting Gnome.

Nevertheless, I stared a long time ago with RedHat7 (2 years), then
Mandrake, then Fedora, then Mandrake again (3 years), then Ubuntu (2
months) and, for the last 4 years, Debian. And I must say Debian really
rules. But Ubuntu is also very good.

I'dd suggest you try out Debian for some weeks.


On Mon, 2011-01-17 at 12:09 -0600, Paul Johnson wrote:
 Greetings.
 
 On several laptops and desktops, I made the transition from Fedora -
 Ubuntu about 3 years ago.  I did that mainly because Fedora updates
 kept breaking the Nvidia proprietary video drivers and the
 developers openly said that they didn't really care whether or not
 their distribution had drivers that could work with the hardware.
 Ubuntu developers at least recognized the problem and have a
 repository for commercial/addon drivers and they try to make sure the
 OS doesn't break the video drivers.
 
 Anyway, I just learned that in the next Ubuntu, they are adopting the
 Unity Desktop. I did some checking on that and I totally hate it.  I
 hate Mac GUI and am disgusted that the free/open movement pushes to
 imitate it.  If I liked the look/feel of it, then I might be willing
 to put up with the pains of transition in the next Ubuntu, but, well,
 I don't.  They say they will have other desktop options, but, in my
 experience, it will be tough to avoid the packaging and configuration
 changes that they enforce on everybody in order to make Unity work
 (maybe I'm too skeptical).
 
 Can I escape Ubuntu to Debian?
 
 1. Is Debian defaulting to the Unity Desktop too?  (please say no)
 
 2. How can I make a transition to Debian from Ubuntu?  So I need to
 change my apt repositories and then do what else?  If glibc or the
 kernel headers are new, I'll have to recompile everything I've built,
 but that's OK.
 
 3. If I make this change Ubuntu - Debian, will I end up back in
 Nvidia Hell where the OS updates frequently break the
 commercial/proprietary video drivers?  I understand that nouveau is
 providing reasonable 2D for Nvidia cards, but my job requires the 3D
 support that seems available only from the commercial driver.
 
 I'm not trolling, not trying for a flame war here. If you like Unity,
 more power to you.  If you like Ubuntu, OK, it has been good for me
 too.
 
 PJ
 
 
 
 -- 
 Paul E. Johnson
 Professor, Political Science
 1541 Lilac Lane, Room 504
 University of Kansas
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1295348570.2398.4.ca...@squeeje.critical.pt



Re: transition from Ubuntu - Debian to avoid Unity Desktop?

2011-01-18 Thread Joao Ferreira gmail
On Mon, 2011-01-17 at 12:09 -0600, Paul Johnson wrote:
 They say they will have other desktop options, but, in my
 experience, it will be tough to avoid the packaging and configuration
 changes that they enforce on everybody in order to make Unity work
 (maybe I'm too skeptical). 

I sincerely believe Gnome is too important for them to just leave it
just like that

but... I can't tell for sure...

Gnome will always be available... (I hope and believe) 

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1295348985.2398.9.ca...@squeeje.critical.pt



Re: a perl question

2011-01-04 Thread Joao Ferreira gmail
On Tue, 2011-01-04 at 02:27 -0800, S Mathias wrote:
 cat asdf.txt
 bla-bla
 bla-bla
 bla[XYZ]
 importantthing
 another important thing
 [/XYZ]
 bla-bla
 bla-bla
 [XYZ]
 yet another thing
 hello!
 [/XYZ]
 bla-bla
 etc.
 $ SOMEPERLMAGIC asdf.txt  output.txt
 $ cat output.txt
 importantthing
 another important thing
 yet another thing
 hello!


j...@squeeje:~$ cat asdf.txt
bla-bla
bla-bla
bla[XYZ]
importantthing
another important thing
[/XYZ]
bla-bla
bla-bla
[XYZ]
yet another thing
hello!
[/XYZ]
bla-bla

j...@squeeje:~$ 
j...@squeeje:~$ 
j...@squeeje:~$ 
j...@squeeje:~$ 
j...@squeeje:~$ cat asdf.txt  | perl -e 'my $important =0; while () {if
(/\[XYZ\]/) {$important = 1;next;}; if (/\[\/XYZ\]/){$important=0;next};
if ($important) {print;}};'
importantthing
another important thing
yet another thing
hello!
j...@squeeje:~$ 


 
 
 how can i sovle this question? what is SOMEPERLMAGIC? are there any perl 
 gurus, that have a little spare time?


not a guru... I just love it... perl rules :)

joao


 
 Thank you! :\
 
 
   
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1294137620.2467.9.ca...@squeeje.critical.pt



Re: mkdosfs on usb pendrive

2011-01-03 Thread Joao Ferreira gmail
On Mon, 2011-01-03 at 10:33 -0500, Roman Gelfand wrote:
 I created a partition on a 8gb usb pendrive using mkdosfs.

can you show us the exact command you used ?

cheers

joao

   However,
 after mounting the drive, I see only 80mb available.   Is there a way
 to create a bigger partition?
 
 Thanks in advance
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1294069320.2706.17.ca...@squeeje.critical.pt



Re: mkdosfs on usb pendrive

2011-01-03 Thread Joao Ferreira gmail
On Mon, 2011-01-03 at 10:43 -0500, Roman Gelfand wrote:
 to create partition...
 
 mkdosfs /dev/sda1

this does not create the partition; this formats an existing partition
as fat.

the problem here is that the pen actually contains a ver small partition
in it (I'm just guessing).

install gparted on your computer and use it to actually get a map of
the partition layout of your pen.

I'dd say you need to remove any existing partition on the pen and create
a new partition with the size you want.

only then format it as dos, or ext3, or whatever you need.

gparted will help you with this.

be extra carefull not to touch your internal hard drives. sometimes it
can be confusing.

:)

cheers
joao


 
 To mount the volume
 
 mount /dev/sda1 /pendrive
 
 On Mon, Jan 3, 2011 at 10:42 AM, Joao Ferreira gmail
 joao.miguel.c.ferre...@gmail.com wrote:
  On Mon, 2011-01-03 at 10:33 -0500, Roman Gelfand wrote:
  I created a partition on a 8gb usb pendrive using mkdosfs.
 
  can you show us the exact command you used ?
  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1294070242.2706.21.ca...@squeeje.critical.pt



Re: Time zone utility to read olson database

2010-12-16 Thread Joao Ferreira gmail
On Thu, 2010-12-16 at 14:45 +0100, Adrian Chapela wrote:
 Hello,
 
 I am looking for tz the reader of olson database (tzdata). Where can I
 get it ? I am looking the official
 (http://www.twinsun.com/tz/tz-link.htm) URL and I was searching in
 Debian repository and I couldn't find any utility to read the database file.

not being 100% sure I'dd say it should be as simple as:

# apt-get install tzdata

or other related packages like tzwatch, python-tz, tzdata-java, etc

depends on what your purpose is...

joao



 
 Regards.
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292512913.2327.26.ca...@squeeje.critical.pt



Re: rsync; Shouldn't Deleted Files be Deleted on the Backup?

2010-12-13 Thread Joao Ferreira gmail
On Mon, 2010-12-13 at 12:09 -0600, Martin McCormick wrote:
 I really like rsync but I have something set wrong. It copys the
 file system perfectly but if I delete a file on the master, I
 really want it to delete on the backup system.
 
 I tried --delete, --delete-during and --delete-after with no
 effect.
 
   Can I do the incremental backup that effects only the
 changed files and have it remove those files that exist on the
 copy but no longer exist on the master?

that is exactly what --delete does. I've been using it for some time and
it works just fine for me.

are you sure it is not working ? that is strange...

Joao


 
   Thank you.
 
 Martin McCormick
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292266964.2348.4.ca...@squeeje.critical.pt



Re: ultimate backup choice

2010-12-12 Thread Joao Ferreira gmail

rsync _is_ the tool you want. there are other GUI based tools that use
rsync behind the scenes

rsync will only transfer the changes !!! this is good

2 suggestions:

rsync -a /etc r...@$serverb:/tmp/
- syncs the whole contents of Server A's etc into /tmp on SeverB
- uses ssh which is great and does not add significative overhead
- u'd need to adjust the directory names as needed



rsync -avv -c --delete --perms --acls
/etc r...@$serverb:/tmp/
- does the same as above with additional options
  -a: archive mode (read man rsync)
  -vv: more verbosity (help understanding what rsync id doing)
  -c: compare files on both ends by checksums (read man rsync)
  --delete: delete files on remote end if were deleted in the origin (u
might or might not want this)
  --perms: preserve permissions
  --acls: preserver POSIX acls


please make sure you read the man concerning all these options and you
test things before going into production

cheers

Joao





On Sat, 2010-12-11 at 04:17 -0800, S Mathias wrote:
 i have:
 SERVER A
 SERVER B
 
 with full root permisson [ssh, etc]
 
 each server has a folder.
 
 i want to backup a folder in SERVER A.
 
 are there any backup methods, that meets these two requirements? :
 
 
 1) running from e.g.: a cronjob
 
 2) when running, it just checks the folder in SERVER A and SERVER
 B. if a file/folder has been added/removed/modified in the SERVER
 A's folder, then it copies/removes it/them to SERVER B's folder.
 
 
 
 
 please help!
 
 Thank you in advance! [for any links, howtos :\ ]
 
 have a nice weekend
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1292171338.2315.6.ca...@squeeje.critical.pt



Re: parsing problem

2010-12-09 Thread Joao Ferreira gmail
On Thu, 2010-12-09 at 11:33 -0500, Bernard Fay wrote:
 Hi,
 
 
 I have long strings to parse which have permanent and variable
 information.  Somewhere in the strings we have something like  
 Handle: 0x12a7 .  Handle is permanent and 0x12a7 is variable.  I
 wish to be able to extract the variable part (0x12a7) and assign it to
 a variable.  
 

I'dd use Perl I love Perl and I don't know any other language
appropriate for this :)

j...@squeeje:~$ cat string.txt
foo bar abc 123 Handle: 0x12a7 some more things
zoo zar Handle: 0x12a7 and more stuff

j...@squeeje:~$ cat string.txt  | perl -e 'while () {if (/Handle:\s+(\S
+)/){$line++; $your_variable = $1; print $line $your_variable\n; }};'

1 0x12a7
2 0x12a7


 
 Does anyone have an idea how to extract this information?
 
 
 I think awk might be the tool to use but I not too good at it yet. 
 
 
 Thanks,
 Bernard
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1291914022.2387.31.ca...@squeeje.critical.pt



Re: parsing problem

2010-12-09 Thread Joao Ferreira gmail
cool :)

u'r wellcome glad to help...

I'm much more an asker on this list, rather than a responder...

glad to be of some help for a change :)

cheers
j

BTW: Perl rules ! Most incredible language in the World. !



On Thu, 2010-12-09 at 12:47 -0500, Bernard Fay wrote:
 Wonderful  Works like a charm.
 
 
 A few year ago I used Perl a lot but I lost my hand at it.
 Your idea of Perl helped me to fix another problem with the same file:
 non-breaking space.
 Perl and \xA0 fixed it for me.
 
 
 Thanks a lot Joao,
 Bernard
 
 
 On Thu, Dec 9, 2010 at 12:00 PM, Joao Ferreira gmail
 joao.miguel.c.ferre...@gmail.com wrote:
 On Thu, 2010-12-09 at 11:33 -0500, Bernard Fay wrote:
  Hi,
 
 
  I have long strings to parse which have permanent and
 variable
  information.  Somewhere in the strings we have something
 like  
  Handle: 0x12a7 .  Handle is permanent and 0x12a7 is
 variable.  I
  wish to be able to extract the variable part (0x12a7) and
 assign it to
  a variable.
 
 
 
 I'dd use Perl I love Perl and I don't know any other
 language
 appropriate for this :)
 
 j...@squeeje:~$ cat string.txt
 foo bar abc 123 Handle: 0x12a7 some more things
 zoo zar Handle: 0x12a7 and more stuff
 
 j...@squeeje:~$ cat string.txt  | perl -e 'while () {if
 (/Handle:\s+(\S
 +)/){$line++; $your_variable = $1; print $line $your_variable
 \n; }};'
 
 1 0x12a7
 2 0x12a7
 
 
 
 
  Does anyone have an idea how to extract this information?
 
 
  I think awk might be the tool to use but I not too good at
 it yet.
 
 
  Thanks,
  Bernard
 
 
 
 
 
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1291918413.2387.33.ca...@squeeje.critical.pt



Re: when does one change from testing to stable in sources.list

2010-12-09 Thread Joao Ferreira gmail

this is what I use

deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates main
contrib non-free
deb http://ftp.us.debian.org/debian/ squeeze  main
contrib non-free
deb http://security.debian.org/ squeeze/updates   main
contrib non-free

j



On Fri, 2010-12-10 at 00:23 +0530, shirish शिरीष wrote:
 At bottom :-
 
 On 10/12/2010, shirish शिरीष shirisha...@gmail.com wrote:
  Hi all,
   I know it probably is still a long road but want to know when should
  one change from testing to stable so that one is living in squeeze and
  not go into wheezy.
 
  Below is the sources.list I have.
 
  # Debian Main
  deb http://ftp.us.debian.org/debian/ testing main contrib non-free
 
  # Debian Security
  deb http://security.debian.org/ testing/updates main contrib non-free
 
  # Debian-Multimedia.org Repository
  deb http://www.debian-multimedia.org testing main non-free
 
  As of date, we have only passed beta2 few days back so I'm guessing
  there would be some more time before we hit stable.
 
  Also does testing freeze for a day or two or just starts pulling in
  stuff from unstable ?
 
  I am asking so I and many newbies would be clear to what it would entail.
 
 Please CC me when replying.
 -- 
   Regards,
   Shirish Agarwal  शिरीष अग्रवाल
   My quotes in this email licensed under CC 3.0
 http://creativecommons.org/licenses/by-nc/3.0/
 http://flossexperiences.wordpress.com
 065C 6D79 A68C E7EA 52B3  8D70 950D 53FB 729A 8B17
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1291921783.2387.34.ca...@squeeje.critical.pt



Re: jpg2pdf :-)

2010-12-02 Thread Joao Ferreira gmail
On Thu, 2010-12-02 at 12:45 +, Camaleón wrote:
  Now, I'd like convert any files to pdf (like png, txt, etc.) but I
 don't
  how do.
 
 The same tool you are using for JPGs (Imagemagick's convert) should
 do 
 the trick for PNGs and other image formats. 

works for txt too:

convert abc.txt abc.pdf

j



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1291294305.2432.0.ca...@squeeje.critical.pt



Re: jpg2pdf :-)

2010-12-02 Thread Joao Ferreira gmail
On Thu, 2010-12-02 at 14:01 +0100, Johannes Wiedersich wrote:
  convert abc.txt abc.pdf
 
 not on my lenny system:
 
 $ convert abc.txt abc.pdf
 convert: Improper image header `abc.txt'.
 convert: missing an image filename `abc.pdf'.
 

on my squeeze:

j...@squeeje:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:Debian GNU/Linux testing-proposed-updates (sid)
Release:testing-proposed-updates
Codename:   sid

j...@squeeje:~$ echo stuff  abc.txt

j...@squeeje:~$ convert abc.txt abc.pdf

j...@squeeje:~$ ls abc.pdf 
abc.pdf

I can add that abc.pdf contains the text stuff :)

j


 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1291299364.2432.2.ca...@squeeje.critical.pt



how to determine the interpreter

2010-11-26 Thread Joao Ferreira gmail
hello all,

considering sh, bash and csh, can I somehow, inside a script, determine
if I'm being run with any of these 3 shells...

I need to determine wich interpreter is running me...

thx

Joao






-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1290784267.3408.36.ca...@squeeje.critical.pt



Re: how to determine the interpreter

2010-11-26 Thread Joao Ferreira gmail
On Fri, 2010-11-26 at 11:27 -0500, Stephen Powell wrote:
 If a script wants to know which shell is running it, the
 variable $0 might work.  For example,
 
echo $0 

I tried this... but see what I got:

j...@squeeje:~$ cat sh.sh 
#!/bin/sh
echo $0

j...@squeeje:~$ cat bash.bash 
#!/bin/bash
echo $0

j...@squeeje:~$ 
j...@squeeje:~$ ./sh.sh
./sh.sh
j...@squeeje:~$ 
j...@squeeje:~$ ./bash.bash 
./bash.bash
j...@squeeje:~$ 


seems that $0 simply contains the program being run and not the
interpreter that is running it...

?

Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1290789632.6333.1.ca...@squeeje.critical.pt



Re: how to tell what packages are unused on a debian server?

2010-10-29 Thread Joao Ferreira gmail
On Fri, 2010-10-29 at 06:12 -0400, Robert P. J. Day wrote:
 just a cleanup-related question but on a debian lenny server that
 i've inherited, i'm curious to know which packages have no value
 whatever and that i can delete.  i recall there's a utility that will
 identify unused libraries but i'm curious about what else i can
 pinpoint that can be removed.

apt-get autoremove

will help you remove packages that are not needed by other packages !

 
   this system is a web/mail server and, since its IP address is
 assigned statically and another system is responsible for all DNS/DHCP
 functionality internally, i conclude that i can remove the
 dhcp-related packages.  that's just one example.

this is a bit more human dependent ... the packaging system can not
tell what packages _you_ don't want...

I'dd suggest dpkg -l and start looking at the one-by-one trying to
identify things you don't want.

then apt-get remove package-i-dont-want ... but be carefull with the
things that will be cascade-removed !!! read the messages carefully
before saying the final Yes :)

cheers
j


 
   any utilities that can help out in this regard?  thanks.
 
 rday
 
 -- 
 
 
 Robert P. J. Day   Waterloo, Ontario, CANADA
 http://crashcourse.ca
 
 Twitter:   http://twitter.com/rpjday
 LinkedIn:   http://ca.linkedin.com/in/rpjday
 
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1288351191.2397.7.ca...@squeeje.critical.pt



Re: Creating Video DVDs from VOB files only

2010-09-16 Thread Joao Ferreira gmail
On Thu, 2010-09-16 at 02:54 +0200, godo wrote:
 
 
 Try kdenlive, dvdauthor or devede.

I've been using devede and it works just fine.

It's very simple... but gets the job done... very easy to use.

You can save the result to an ISO file, watch it on Movie Player before
burning to the DVD. It works just fine just like it will work later on
your DVD player.

Then you just burn it when you're pleased with the result.

Cheers
jmf


 
 -- 
 Bye,
 Goran Dobosevic
 Hrvatski: www.dobosevic.com
   English: www.dobosevic.com/en/
 Registered Linux User #503414
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1284628146.2413.2.ca...@squeeje.critical.pt



Re: copy via rsync

2010-09-10 Thread Joao Ferreira gmail
On Fri, 2010-09-10 at 10:01 +0200, Jakub Jedelsky wrote:
 Hi list!
 
 I want to copy a lot of files via rsync (about 200GB), but the process
 ends in D state after some time. In /var/log/kern.log I have this error:
 
 Sep 10 09:26:45 servername kernel: [31527915.475952] EXT3-fs warning
 (device md2): ext3_dx_add_entry: Directory index full!
 
 Any ideas?
 

ask here:

rs...@lists.samba.org

:)

jmf

 Server info:
 # uname -a
 Linux d1241 2.6.26-2-amd64 #1 SMP Wed Aug 19 22:33:18 UTC 2009 x86_64
 GNU/Linux
 
 # cat /etc/debian_version
 5.0.3
 
 Many thanks for reply!
 
 Jakub Jedelsky.
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1284113464.2312.0.ca...@squeeje.critical.pt



Re: new squeeze

2010-09-10 Thread Joao Ferreira gmail
On Thu, 2010-09-09 at 22:30 -0400, Doug wrote:
 I just downloaded debian-testing i386 Net Inst and burned the
 .iso onto disk.  Before I do something silly, I want to make sure
 that this is designed to live with other os's on the hd. (I remember
 one older version of Ubuntu that took over the drive, and wiped 
 everything else out.) If everything is copacetic, I'll put it
 on my laptop along with Win XP and PcLinuxOs.  Please advise.
 thanx--doug

Hello Doug,

The setup you describe I have installed it a few times with WinXp, and
other Debians and Ubuntus on other partitions. It works just fine.

I also usualy use the netinst approach.

The one thing you must be absolutelly sure is that you have one
partition totally free, or if it is not free, you don't mind loosing
data in it. That is the partition to which you will install your new
Debian. You must be absolutely sure of its device name (hda1, sda3,
whatever), because the installer/partitioning/formating process will ask
you something like: I have found these X partitions ? where do I put
your new Debian ? and about the others, do you want to mount them on
startup ? do yopu want to erase/format them

If you are sure about the answers to these questions then you will be
ok. Even if you have any doubt during the process you can simply power
of the computer (but never do this during teh formating or during the
bootloader/grub install).

Having said that... there is always some percentage of risk (usually
less that 0.001%) that anything crazy might happen. So, if any really
important data exists in any of the partitions might as well back it
up... just to be 100% safe.

Like I said: I've installed a setup similar to yours several times using
lenny and squeeze netinsts and never had any problem whatsoever...

go for it...

jmf


   
 -- 
 Blessed are the peacemakers...for they shall be shot at from both sides. 
   --A.M. Greeley
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1284114062.2312.9.ca...@squeeje.critical.pt



Re: new squeeze-again

2010-09-10 Thread Joao Ferreira gmail
On Fri, 2010-09-10 at 01:59 -0400, Doug wrote:
 Trying to install.  I come to the partitioner.  It says there is 261 GB
 available.  (This is empty, unpartitioned and unformatted space, left 
 over after cloning drive from a smaller one.)  On-screen instructions say
 
 [!!] Partition disks
 
 The maximum size for this partition is 261.6 GB
 
 Hint: max can be used as a shortcut to specify the maximum size, or
 enter a percentage (e.g. 20%) to use that percentage of the
 maximum size.
 
 I try to enter 30 GB Continue and get invalid size go back
 so I go back, then I try to enter 15% and get the same answer.
 
 What now?  (Max is not an option.)

this never happened to me... can you take some pictures and publish them
on some server... I'dd like to see that problem...

also the screen with the list of partitions and filesystems found...

it's strange...

j

 
 tia--doug
 
 -- 
 Blessed are the peacemakers...for they shall be shot at from both sides. 
   --A.M. Greeley
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1284114740.2312.11.ca...@squeeje.critical.pt



help with wireless WPA2 Enterprise

2010-09-07 Thread Joao Ferreira gmail
hello all,

I'm not being able to connect to my company WPA2 Enterprise wireless
network using Network-Manager.

At home I have a router with WPA  WPA2 Personal and I can associate
just fine with NM. But, at work, we have a wifi network with WPA  WPA2
Enterprise and I'm unable to associate.

I'm using the following settings in the NM GUI configuration:
- Wireless Security   : WPA  WPA2 Enterprise
- Authentication  : Protected EAP (PEAP)
- Anonymous identity  : tried blank and my username
- CA certificate  : tried (None) and the company's certificate
- PEP Version : tried Automatic and Version 0
- Inner authentication: MSCHAPv2
- Username: my username
- Password: my password

NM is unable to connect. I've double-checked these settings with the
networks department people. All seems to be correct.

System is Debian/squeeze, NM 0.8.1-2+b1, wpasupplicant 0.6.10-2

See extract of /var/log/syslog bellow.

I'dd very much appreciate any help.

Thank you.
Joao



Sep  7 12:29:42 squeeje NetworkManager[1602]: info Activation (wlan0)
Stage 1 of 5 (Device Prepare) scheduled...
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Activation (wlan0)
Stage 1 of 5 (Device Prepare) started...
Sep  7 12:29:42 squeeje NetworkManager[1602]: info (wlan0): device
state change: 6 - 4 (reason 0)
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Activation (wlan0)
Stage 2 of 5 (Device Configure) scheduled...
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Activation (wlan0)
Stage 1 of 5 (Device Prepare) complete.
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Activation (wlan0)
Stage 2 of 5 (Device Configure) starting...
Sep  7 12:29:42 squeeje NetworkManager[1602]: info (wlan0): device
state change: 4 - 5 (reason 0)
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Activation
(wlan0/wireless): connection 'Auto wifi' has security, and secrets
exist.  No new secrets needed.
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'ssid' value 'wifi'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'scan_ssid' value '1'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'key_mgmt' value 'WPA-EAP'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'password' value 'omitted'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added 'eap'
value 'PEAP'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'fragment_size' value '1300'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'phase2' value 'auth=MSCHAPV2'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'identity' value 'jmcferreira'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: added
'anonymous_identity' value 'jmcferreira'
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Activation (wlan0)
Stage 2 of 5 (Device Configure) complete.
Sep  7 12:29:42 squeeje NetworkManager[1602]: info Config: set
interface ap_scan to 1
Sep  7 12:29:42 squeeje NetworkManager[1602]: info (wlan0): supplicant
connection state:  disconnected - scanning
Sep  7 12:29:45 squeeje wpa_supplicant[1677]: Trying to associate with
00:16:35:9d:fc:15 (SSID='wifi' freq=2437 MHz)
Sep  7 12:29:45 squeeje kernel: [ 9492.048893] wlan0: direct probe to AP
00:16:35:9d:fc:15 (try 1)
Sep  7 12:29:45 squeeje NetworkManager[1602]: info (wlan0): supplicant
connection state:  scanning - associating
Sep  7 12:29:45 squeeje kernel: [ 9492.051526] wlan0: direct probe
responded
Sep  7 12:29:45 squeeje kernel: [ 9492.051534] wlan0: authenticate with
AP 00:16:35:9d:fc:15 (try 1)
Sep  7 12:29:45 squeeje kernel: [ 9492.053936] wlan0: authenticated
Sep  7 12:29:45 squeeje kernel: [ 9492.053967] wlan0: associate with AP
00:16:35:9d:fc:15 (try 1)
Sep  7 12:29:45 squeeje kernel: [ 9492.059674] wlan0: RX AssocResp from
00:16:35:9d:fc:15 (capab=0x411 status=0 aid=0)
Sep  7 12:29:45 squeeje kernel: [ 9492.059681] wlan0: associated
Sep  7 12:29:45 squeeje wpa_supplicant[1677]: Associated with
00:16:35:9d:fc:15
Sep  7 12:29:45 squeeje NetworkManager[1602]: info (wlan0): supplicant
connection state:  associating - associated
Sep  7 12:29:45 squeeje wpa_supplicant[1677]: CTRL-EVENT-EAP-STARTED EAP
authentication started
Sep  7 12:30:08 squeeje NetworkManager[1602]: warn Activation
(wlan0/wireless): association took too long.
Sep  7 12:30:08 squeeje NetworkManager[1602]: info (wlan0): device
state change: 5 - 6 (reason 0)
Sep  7 12:30:08 squeeje NetworkManager[1602]: warn Activation
(wlan0/wireless): asking for new secrets
Sep  7 12:30:08 squeeje NetworkManager[1602]: info (wlan0): supplicant
connection state:  associated - disconnected
Sep  7 12:30:08 squeeje kernel: [ 9514.560037] wlan0: deauthenticating
from 00:16:35:9d:fc:15 by local choice (reason=3)
Sep  7 12:30:08 squeeje wpa_supplicant[1677]: CTRL-EVENT-DISCONNECTED -
Disconnect event - remove keys
Sep  7 12:30:18 squeeje NetworkManager[1602]: info Activation (wlan0)
Stage 1 of 5 (Device Prepare) scheduled...
Sep  7 12:30:18 

Re: How to format usb stick ?

2010-09-03 Thread Joao Ferreira gmail
On Fri, 2010-09-03 at 15:16 +0200, Axel Freyn wrote:
 Hi,
  How can I format USB stick with vfat?
  In system menu, I cannot find the tools for it.
 I would propose to use a text console. The tool is mkfs.vfat,
 contained in the debian-package dosfstools (This has to be installed
 first).

You can also try gparted if you'dd prefer GUI based... It also allows
you to re-arrange the partitions.


cheers
jmf

 
 HTH,
 
 Axel
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1283520200.2351.36.ca...@squeeje.critical.pt



Re: http://70gigapixel.cloudapp.net/ crashes Iceweasel 3.0.6 (2010072023 Firefox/3.0.6 (Debian-3.0.6-3))

2010-09-02 Thread Joao Ferreira gmail
On Thu, 2010-09-02 at 15:53 +0200, Merciadri Luca wrote:
 Hi,
 
 Everything is in the title: using Iceweasel 3.0.6, I'm sure to crash it
 if I go to http://70gigapixel.cloudapp.net/. What about your versions?
 

No crash here...

using iceweasel 3.5.11-1

jmf




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1283436506.2385.10.ca...@squeeje.critical.pt



Re: Huawei E220 on NetworkManager

2010-08-19 Thread Joao Ferreira gmail
  anyone had any luck with Huawei E220 on Network Manager ?
 
 I haven't tried Network Manager (I prefer wicd), but it works fine with 
 the software from https://forge.betavine.net/frs/?group_id=12
 

Yes. I've been using betavine utility for my Vodafone 3G for about 2
years  now...

but... that's exactly why I have problems with Network Manager :( 

I have a proper working network connection (betavine) but Network
Manager still says I dont have a network connection.

All works fine except Evolution. Evolution is somewhat adicted to
network manager and it simply refuses to work online in this scenario.

That is why I want to use the modem under Network Manager...

:)

cheers
joao


 Unfortunately the newer version requires NM :( but might be more 
 suitable for you.
 
 Regards,
 Andrei



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1282212725.2371.8.ca...@squeeje.critical.pt



Re: Enabling remote logon - any decent intro docs?

2010-08-14 Thread Joao Ferreira gmail
On Fri, 2010-08-13 at 21:51 +0100, AG wrote:
 Hi all
 
 I have a guest account on my machine and want to enable that user to 
 access that profile from another Debian machine on my LAN.  This task is 
 called remote networking, right?  And as far as I can tell OpenSSH is 
 probably the way to go.  How can I give this user the experience (i.e. 
 desktop, icons, files, etc.) from the LAN machine that they would get if 
 they were logged in directly?

I usually do it like this:

ssh -X guestu...@remotehost

it'll ask for a username and a password; once you get access to the
shell just call your favourite programs;

the remote machine will forward the graphical parts to your pc. for a
complete desktop feel you need to call the gnome-session program or
the start-kde program.

but, you should expect some minor discrepancies between this and a local
session, simply because things are not 100,00% perfect, only 99,9% :D

this what I usualy do

I've even tried this approach on a SunOS to WindowsXp running mingwin
for X server :) works good enough for me... cheers

cheers
jmf


 
 I'm sure that this is reasonably straight forward, but I can't seem to 
 find a coherent answer in a language I can understand.  I'm not hugely 
 technical and most docs that I've come across seem to assume computer 
 wizardry above my ability.  I'm not expecting others to do the work, but 
 just would appreciate a sign-post to some decent (newbie-friendly?) 
 documents that will enable me to give a remote user a local experience 
 of their user account while retaining a reasonable degree of security.
 
 Any ideas?  Thanks very much
 
 AG
 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1281796357.2472.11.ca...@squeeje.critical.pt



Re: Evolution Backup ??

2010-08-11 Thread Joao Ferreira gmail
On Tue, 2010-08-10 at 15:44 -0500, John W Foster wrote:
 Anyone know the best way to completely back up Evolutions files mail,
 contacts etc. There does not seem to be a way built in. Will gladly be
 proven wrong. I, lost all my files 2 times in the last few years  its a
 PITA.
 John

The File - Backup Settings / Restore Settings option does exactly
what you need.

It's been there for several years now. I've used it several times.

Just 2 weeks ago I changed from Lenny to Squeeze and all my Evolution
stuff migrated along with me:

on original system:
-- File/Backup Settings

on new system:
-- File/Restore Settings

It works just fine.

cheers
jmf


 
 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1281514336.2444.3.ca...@squeeje.critical.pt



Huawei E220 on NetworkManager

2010-08-11 Thread Joao Ferreira gmail
Hello,

has anyone out there been able to get NetworkManager to bring up a 3G
connection on a Huawei E220 (portuguese operator Vodafone).

I have never been able to achieve this. Now I migrated from Lenny to
Squeeze (fresh install) and still no luck.

I tried a Globetroter 3G modem (portuguese operator TMN) and it works
just fine on Network Manager...

anyone had any luck with Huawei E220 on Network Manager ?

thx
Joao



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1281518908.2444.7.ca...@squeeje.critical.pt



Re: bug 530024 on squeeze

2010-08-03 Thread Joao Ferreira gmail
On Mon, 2010-08-02 at 22:39 +0100, Brad Rogers wrote:
 On Mon, 02 Aug 2010 17:13:03 -0400
 John A. Sullivan III jsulli...@opensourcedevel.com wrote:
 
 Hello John,
 
  I wonder if this is why there are some many problems with Evolution
  2.30 breaking.  From those threads, it seems that Evolution is looking
 
 I don't use Evo, but from what you say, it seems highly likely that
 Network Manager's bug is the problem.

I use Evolution and yes, Evolutio relies on NM to determine if a
connection is up or not

If NM says there is no connection, then Evo will go into Offline mode;
sometimes I need to tell it to Work Online in order to have it work.

jmf


 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280824920.4921.3.ca...@debj5n.critical.pt



Re: how to dual boot debian with redhat?

2010-08-03 Thread Joao Ferreira gmail
On Tue, 2010-08-03 at 16:22 +0430, hadi motamedi wrote:
 Dear All
 On my debian machine, I need to install redhat on one of its
 partitions and so make it dual boot . Can you please let me know how
 this can be accomplished?

Hello,

the process should be quite straightforward.

1st u need to make sure you have a free partition with no relevant data
on it (partition to instal RH). 

then you simply start installing RedHat on the machine and (this is the
critical part) make absolutelly sure you tell the installer to choose
the correct partition (the partition you choose for RH will be formated
and any data in it will be lost).

in the end you can choose to instal the bootloader (GRUB possibly) and
it will detect you have Debian too and do all the magic for you. grub
usually does a very good job finding you other operatin systems and
automagically configuring the dual-boot...

It's usually a very simple process with no expert knowledge involved.

Just make sure you know exactly which is the partition that is empty
when the RH installer asks you to format the disk. you need to be 100%
sure of this. If you're not just power off the machine.

also make sure GRUB (or LILO, I0'm not sure) is installed in the end.
The normal installation process should probably do this for you. Just
read the messages. there should be no problem.

But... just in case... make a backup of all you important stuff in
Debian.

Cheers
jmf

 Thank you
 
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280841911.4921.20.ca...@debj5n.critical.pt



Re: bug 530024 on squeeze

2010-08-03 Thread Joao Ferreira gmail
On Tue, 2010-08-03 at 16:15 +, Camaleón wrote:
  Is this bug?  
 
 Not for me. But having the NM applet started by default and seeing no 
 ethernet device there (but working) is a bit confusing for users who
 want 
 to use NM. 

agree ! :)

if NM is a feature in Debian (and affects other SW components) then it
should be operating properly on a fresh install... 

... or fully disabled !

but, no... I would also not call it a bug... just an issue :)

jmf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280853429.4921.35.ca...@debj5n.critical.pt



Re: help parsing output

2010-08-03 Thread Joao Ferreira gmail
On Tue, 2010-08-03 at 12:12 -0700, Dino Vliet wrote:
 Does anyone have an idea how this could be accomplished?
 I not that great in programming so writing a ruby or shell script do
 do this would take me weeks:-(

use perl !!!

now seriously: use perl.

don't wonder around; perl is the way you should go; use perl !

:) it's so easy ...

open up a console and read these 2 perl manuals

$ perldoc perlintro
$ perldoc perlrequick

jmf

 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280863933.4378.4.ca...@debj5n.critical.pt



bug 530024 on squeeze

2010-08-02 Thread Joao Ferreira gmail
Hello all,

can anyone confirm the status of this issue in current Squeeze ? I also
had this problem some months ago but I ended up installing Lenny
(because of other reasons too)

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=530024

... or has anyone been able to safelly overcome the issue without any
side impacts... :)

thank you

Joao
jmf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280742494.4441.11.ca...@debj5n.critical.pt



Network Manager on Squeeze (was: bug 530024 on squeeze)

2010-08-02 Thread Joao Ferreira gmail
Hi all,

I really use Network Manager a bit... I use it to manage my eth0,
wireless and some VPNs too... I need to connect to several networks in 3
or 4 diferent locations and NM does what I need :)

In Lenny things are working ok... but I'dd like to jump to Squeeze
asap so...

is anyone using Network Manager on Squeeze ?

what's the status or workaround on bug 530024 !?

any other visual tools similar to NM that are known to work better for
eth, wifi, pptp/ppp

:)

$thx++;
jmf

On Mon, 2010-08-02 at 11:22 +0100, Brad Rogers wrote:
 On Mon, 02 Aug 2010 10:48:14 +0100
 Joao Ferreira gmail joao.miguel.c.ferre...@gmail.com wrote:
 
 Hello Joao,
 
  ... or has anyone been able to safelly overcome the issue without any
  side impacts... :)
 
 My connection comes up at boot and that's all I care about.  The fact
 that it's not available to Network Manager doesn't worry me.
 
 Maybe it should, though   :-)
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280759349.4441.32.ca...@debj5n.critical.pt



Re: Network Manager on Squeeze (was: bug 530024 on squeeze)

2010-08-02 Thread Joao Ferreira gmail
On Mon, 2010-08-02 at 20:07 +0100, Tixy wrote:
 On Mon, 2010-08-02 at 18:23 +, Camaleón wrote:
  Just for the record, editing /etc/NetworkManager/nm-system-settings.conf 
  file (as per bug suggestion), adding managed=true and resarting the 
  system seems to resurrect eth0 cable connection and becomes available 
  into NM again. 
  
  This was tested on VM, though. Testing over real hardware should be a 
  better trial...
 
 I've used the managed=true for about a year on my laptop, and the
 couple of others I manage. The only problem with Network Manager I've
 had during that time was a bug¹ in a new version which was fixed within
 a week.

thx a lot guys. this is great feedback!

cheers
jmf

 -- 
 Tixy   ()  The ASCII Ribbon Campaign (www.asciiribbon.org)
/\  Against HTML e-mail and proprietary attachments
 
 
 
 
 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1280777026.5236.1.ca...@debj5n.critical.pt