Re: encrypting an external HDD filesystem and GNOME3 support

2012-04-24 Thread Josep Llauradó
HI Jon,

I've been using truecrypt (available for windows, mac and linux) for a
while without problems. It works as a file inside a partiiton on any
available system (lvm or not) and can be installed even using fat or
other basic filesystems.

The solutions uses a graphical interface, and can be scripted if you
are a more adventurous guy.

It appears as a disk in nautilus too.

You have other solutions, like block encription using the kernel, but
I've not been using that for a few years, so I prefer to let other
users more experienced or with fresh memory explain this other
solution.

Best regards.



On 24 April 2012 23:44, Jon Dowland  wrote:
> Hi,
>
> I am interested in creating an encrypted partition (ideally
> LVM logical volume) on an external disk, which I will want
> to attach and detach from my laptop whilst running.  I use
> the GNOME3 environment and am looking for a robust solution
> which doesn't require too much fuss.
>
> It would appear that GNOME3/nautilus/udisks (or some
> combination thereof) has some rudimentary support for
> detecting and mounting LVM volume groups, logical
> volumes and dm_crypt devices. However the dm_crypt+LVM
> combination doesn't work well yet, at all (what happens
> is described below)
>
> My question is, does anyone currently achieve a
> hot-pluggable, encrypted filesystem, accessible with the
> minimum of fuss via a modern GUI environment, and if so,
> what do they use?
>
> Thanks in advance for any answers.
>
> (details about how well LVM/dm_crypt and GNOME3 play
> together follow)
>
> If I plug a disk with an LVM-formatted partition, an icon
> for the VG appears in nautilus. Clicking on that requires
> user authentication, after which an icon appears for the
> LVs within.
>
> For a plain (non-encrypted) LV, double-clicking that
> requires another user authentication, upon which the LV
> is mounted.
>
> For an encrypted LV, double-clicking it prompts for a
> decryption passphrase, then follows up with an
> authentication prompt (as above).
>
> I then get an error message ("Internal error: No mount
> object for mounted volume") and a pop-up telling me that
> a filesystem has appeared simultaneously.  The filesystem
> appears to be mounted.  However, when you unmount the volume
> in nautilus, the dm_crypt device is not properly closed.
>
> It would appear that LVM/dm_crypt are not adequately
> supported in the desktop stack yet, but that they probably
> will be soon.  The two auth prompts in the non-encrypted
> case may be possible to configure away via policykit.
>
> ii  gnome-shell    3.2.2.1-2
> ii  nautilus       3.2.1-3
> ii  udisks         1.0.4-5
> ii  lvm2           2.02.88-2
> ii  cryptsetup     2:1.4.1-2
>
>
> --
> Jon Dowland
>
>
> --
> 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/20120424214438.GA20676@debian
>



-- 
___

Josep Llauradó Selvas

josep.llaurado AT gmail.com
___


--
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/CAE7meGMwVOsP1aykXj4_=hz21hbbhnr0adutsmnzc6j03b8...@mail.gmail.com



USB harddisk problem

2012-04-24 Thread Josep Llauradó
] sd 12:0:0:0: [sdb] Write Protect is off
[300338.726708] sd 12:0:0:0: [sdb] Mode Sense: 03 00 00 00
[300338.726714] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[300338.727948] sd 12:0:0:0: [sdb] Assuming drive cache: write through
[300338.727955]  sdb: sdb1
[300338.753576] sd 12:0:0:0: [sdb] Assuming drive cache: write through

As you can see it's basically the same (same driver thought)

I've been working with linux systems for 15 years and it's the first
time I have this problem.

Can anybody give me some directions of what to do? It keeps me astonished!

Thanks in advance.

_______

Josep Llauradó Selvas

josep.llaurado AT gmail.com
___


--
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/cae7megnc34jxayp2ut3xg0g3axfxqewauyieebuwkonkukz...@mail.gmail.com



Re: Mount external USB NTFS HD automatically

2012-02-17 Thread Josep
Hello

The right process for me was:

Install ntfs-3g


Add fuse module to /etc/modules file


Add user/s to fuse group

Install kernel from squeeze backports...and all is ok, is a problem of squeeze 
kernel with my moterboard:(

Greetings and thanks to all people who answered me.

Josep




 De: Camaleón 
Para: debian-user@lists.debian.org 
Enviado: Jueves 9 de febrero de 2012 16:01
Asunto: Re: Mount  external USB  NTFS HD automatically
 
On Thu, 09 Feb 2012 11:24:48 +, Josep wrote:

> I use squeeze stable with gnome, I have several USB external HD in NTFS
> format, I need this format for compatibility purposes.

(...)

> I want mount and dismount  external usb NTFS disks  from Gnome
> automatically, in the same way than Knoppix or Fedora does, without have
> to add nothing to /etc/fstab
> 
> What must I change or add?

If you have ntfs-3g and fuse, nothing, it should be automatically handled 
by your DE (gnome).

I'd take a look at "dmesg" when you connect the disk, it could be a 
permission problem.

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/jh0n52$to9$4...@dough.gmane.org

Mount external USB NTFS HD automatically

2012-02-09 Thread Josep
Hello.

I use squeeze stable with gnome, I have several USB external HD in NTFS format, 
I need this format for compatibility purposes.

In Fedora and Knoppix, in the same machine, ntfs disks are mounted and 
dismounted automatically from desktop, in Fedora from Gnome 3 and in Knoppix 
from the default desktop.

In Debian, when I mount an USB external HD, if it is in NTFS format, I must 
mount and dismount as root, via command line.

I found udev rules for mount this automatically, but for dismount I must do 
this as root, because a normal user is not allowed to dismount an HD that is 
not in /etc/fstab

I want mount and dismount  external usb NTFS disks  from Gnome automatically, 
in the same way than Knoppix or Fedora does, without have to add nothing to 
/etc/fstab

What must I change or add?


Thanks
Josep


--
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/1328786688.42172.yahoomail...@web29602.mail.ird.yahoo.com



Re: Security of the browsers

2011-03-15 Thread Josep M. Gasso
Hello.

These is one of the reasons for what I want experiment with selinux in
my desktop machine:)

Josep

El dom, 13-03-2011 a las 19:30 -0400, Dan escribió:
> Hi,
> 
> I have been using Ubuntu for a while for my desktop and I am planning
> to come back to Debian stable because there is now a two-year release
> cycle which is more reasonable.
> 
> My worried is related with the security of the browser. The Ubuntu
> approach is to use the latest version of mozilla or the chromium
> project.
> 
> The Debian approach is to freeze the version and apply themselves the
> patches. In my opinion this is worse because the mozilla/chromium
> project should know better the problems/security issues related with
> their browsers right?
> 
> Can I consider these frozen versions secure enough.
> 
> How secure is the chromium browser in Debian? It is an and old release the 6.
> 
> Thanks,
> Dan
> 
> 



-- 
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/1300221850.13082.10.ca...@mail.navegants.net



Re: Selinux on a Squeeze Desktop

2011-03-15 Thread Josep M. Gasso
Hello Shawn

Thanks for Your answers,I installed selinux on a virtual machine, and ok
for first steps...but not with all apps that I have installed in my
host.

The only doubts that I have now with selinux are:

System update with "aptitude safe-upgrade" and "aptitude full-upgrade"
did You give any problems?

About backups, the only tool for backups is "star", seems that are not
inclosed in squeeze, there is more similar  tools that supports extended
attributes inclosed in squeeze?

If I want uninstall and delete selinux on squeeze, after delete
packages, is possible delete extended selinux attributes in files?

If I mount an ext3/ext4 usb hard disk, MUST I relabel this too for
extended attributes? Or can run without relabel too?

Thanks
Josep



-- 
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/1300221591.13082.9.ca...@mail.navegants.net



Re: Selinux on a Squeeze Desktop

2011-03-15 Thread Josep M. Gasso
Hello Patrick.

Thanks for Your answers, the only doubts that I have now with selinux
are:

System update with "aptitude safe-upgrade" and "aptitude full-upgrade"
did You give any problems?

About backups, the only tool for backups is "star", seems that are not
inclosed in squeeze, there is more similar  tools that supports extended
attributes inclosed in squeeze?

If I want uninstall and delete selinux on squeeze, after delete
packages, is possible delete extended selinux attributes in files?

If I mount an ext3/ext4 usb hard disk, MUST I relabel this too for
extended attributes? Or can run without relabel too?

Thanks
Josep





El dom, 13-03-2011 a las 11:55 -0700, Patrick Bartek escribió:
> --- On Sun, 3/13/11, Josep M. Gasso  wrote:
> 
> > I would like ask if someone have in his home a
> > Desktop/Server machine
> > what runs selinux, my Debian Squeeze machine is always on
> > and is a
> > mailserver too.
> 
> I run Fedora.  (And have since FC3.)  SELinux is installed by default.  It 
> has problems.  Not many, but enough to be annoying and require "fixes.".  I 
> keep it in "Permissive" mode on my home system, which means it logs security 
> issues, but doesn't prevent them.  Uninstalling it is next to impossible, 
> since everything on the system has SELinux as a dependency.It (SELinux) 
> is one of the reasons I'm switching to Debian.  At least with Debian, I have 
> the OPTION not to install it.  I won't be.
> 
> > So, I would like if there is any desktop problems with
> > selinux, and if
> > speed is also affected.
> 
> The one problem that I've experienced with SELinux over several versions of 
> Fedora is SELinux will prevent updating (upgrading in Debian-speak) a newly 
> installed or upgraded (dist-upgrade in Debian) system.  However, if you 
> disable or put SELinux in permissive, after the system update, it no longer 
> has issues with additional updates.  It's a strange beast.
> 
> SELinux is fairly efficient.  I doubt that it would affect system performance 
> all that much.  Although, I've never run any tests.  But to run it 
> effectively, you need to be very knowlegeable in its use and configuration.  
> Installing and forgetting won't cut it.  Do the research.  Study the manuals. 
>  Etc.
> 
> > Any advice will be appreciated, I plan install selinux in a
> > few days.
> 
> I consider SELinux a waste on a "home" system.  SELinux is like suspenders:  
> If you have a good belt, you don't need the suspenders.  However, in a 
> commercial/business, workstation/server set up, and you're the security guy, 
> I would run it.  Even with the problems: better safe than sorry.  Or fired. 
> ;-)
> 
> Before doing the "real" install, I suggest you use a "test" system first.  
> Like I said above:  SELinux is pervasive and unistalling, if it doesn't suit 
> you, might be a problem, or impossible.  A dual boot is best, but a VM would 
> be good enough, but not perfect, for an evaluation.
> 
> FYI:  I'm not an SELinux "expert."  I took one look at the "official" 
> administrative manual, and said "No, thanks."  What would you expect from 
> something that was developed by a insanely paranoid government agency? ;-)
> 
> B
> 
> 



-- 
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/1300221482.13082.7.ca...@mail.navegants.net



Selinux on a Squeeze Desktop

2011-03-13 Thread Josep M. Gasso
Hello.

I would like ask if someone have in his home a Desktop/Server machine
what runs selinux, my Debian Squeeze machine is always on and is a
mailserver too.

So, I would like if there is any desktop problems with selinux, and if
speed is also affected.

Any advice will be appreciated, I plan install selinux in a few days.

Thanks
Josep



-- 
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/1300032017.3552.2.ca...@mail.navegants.net



Re: KDE install on Squeeze rc1

2011-01-19 Thread Josep M. Gasso
Hello.

I got these packages from debian multimedia repository.

What hurts more to me now is that I tried twice times of reproduce the
same problem installing debian in the same virtual machine and all is
installed ok now! The only change was the order that I installed the
same packages, that I don't have logged:(

Or aptitude has done a bad work with these install , or debian or debian
multimedia has updated and fixed the package that was breaking this!

Same /etc/apt/sources.list ,same text lists with package names lists, I
will continue trying to reproduce the mistake several times more, but
every install needs some time.

Thanks
Josep


El mar, 18-01-2011 a las 09:35 -0600, Boyd Stephen Smith Jr. escribió:
> On Tuesday 18 January 2011 08:52:05 Josep M. Gasso wrote:
> > In a Virtualbox VM , I installed Squeeze and some tools that I use, and
> > when go to install KDE, this want remove a lot of packages, acroread
> > inclosed...is this ok? Or there is any dependencies conflict?
> > 
> > This is the packages list for remove:
> > 
> > 1)  acroread
> > 2)  acroread-data
> > 3)  acroread-debian-files
> > 4)  acroread-dictionary-en
> > 5)  acroread-escript
> > 6)  acroread-l10n-en
> > 7)  acroread-plugins
> 
> Where'd you get these packages, I don't see it available in Lenny, testing, 
> sid, or experimental.  I see acroread-debian-files in the unofficial (and not 
> ALWAYS compatible) multimedia repository, but not the others.
> 
> So, I'd say they are "safe" to remove, but you won't have Adobe Acrobat 
> Reader 
> anymore.  I don't see a Debian package for that program, not even a 
> -installer 
> or -downloader package, even in multimedia.
> 
> (I recommend Okular as a PDF reader, but I'm a KDE user.)
> 
> > 8)  build-essential
> > 9)  g++
> > 10) g++-4.4
> 
> These should be able to stay on a system with KDE SC 4 installed; they are on 
> my system.  Most likely they were dropped because your aptitude wants the 
> wrong version of (or to remove) stuff they depend on.
> 
> You should be able to retain these package and still install KDE, if you 
> want.  
> 
> I don't know if you are aware, but aptitude will propose other solutions if 
> you don't accept the first one, and you can further guide the resolver with 
> various preference expressions from the "[Y/n/q/?]" prompt.  Use the '?' 
> option to get more details about that.  I also like using the ncurses 
> inteface 
> for that; you can jump right into the resolver part of the ncurses interface 
> by answering 'e' at the "[Y/n/q/?]" prompt.
> 
> > 11) ia32-libs
> > 12) ia32-libs-gtk
> > 13) ia32-libs-xulrunner
> > 14) lib32asound2
> > 15) lib32bz2-1.0
> > 17) lib32ncurses5
> > 19) lib32v4l-0
> 
> I don't have any of these installed.  As library packages, they are likely 
> safe to remove.  Other packages that need them will Depend on them and 
> prevent 
> their removal.  They only reason to have a library package installed 
> explicitly is if you are a developer using that library in your own programs.
> 
> > 16) lib32gcc1
> > 18) lib32stdc++6
> > 20) lib32z1
> 
> I do have these installed on my system with KDE SC 4.  So, 32-bit libraries 
> are not entirely incompatible with it.  Still, these should be safe to remove 
> as well.  (I have gcc-multilib installed for compiling ia32 programs on my 
> amd64 installation; I am a developer from time to time.)
> 
> > 21) libc6-dev
> > 22) libc6-i386
> > 23) libstdc++6-4.4-dev
> 
> libc6-i386 is another 32-bit library and, again, safe to remove.  The -dev 
> packages are normally only needed for developers, but they will be pulled in 
> by build-essential, if you decide to keep that package.
> 
> > Any help will be appreciated..it's a bit strange remove acroread and
> > libc6-i386 !!
> 
> I think what is happening is that KDE SC 4 needs a newer libc than what the 
> (old, unmaintained?) acroread package supports.  So, installing KDE SC 4 
> requires the acroread package to be removed.  This removal "cascades" to your 
> 32-bit libraries since acroread was the only program using them.
> 
> > Here there is the full log:
> > 
> > root@debianbetaa:~# aptitude install kde-full
> > The following packages will be DOWNGRADED:
> >   libc-bin libc6
> 
> I'd recommend against downgrading these packages (or any package, FWIW).  I'm 
> not sure what part of kde-full would need the 2.11.2-6+squeeze1 version (from 
> testin

KDE install on Squeeze rc1

2011-01-18 Thread Josep M. Gasso
Hello.

In a Virtualbox VM , I installed Squeeze and some tools that I use, and
when go to install KDE, this want remove a lot of packages, acroread
inclosed...is this ok? Or there is any dependencies conflict?

This is the packages list for remove:

1)  acroread  
2)  acroread-data 
3)  acroread-debian-files 
4)  acroread-dictionary-en
5)  acroread-escript  
6)  acroread-l10n-en  
7)  acroread-plugins  
8)  build-essential   
9)  g++   
10) g++-4.4   
11) ia32-libs 
12) ia32-libs-gtk 
13) ia32-libs-xulrunner   
14) lib32asound2  
15) lib32bz2-1.0  
16) lib32gcc1 
17) lib32ncurses5 
18) lib32stdc++6  
19) lib32v4l-0
20) lib32z1   
21) libc6-dev 
22) libc6-i386
23) libstdc++6-4.4-dev 


Any help will be appreciated..it's a bit strange remove acroread and
libc6-i386 !!

Thanks
Josep

Here there is the full log:


root@debianbetaa:~# aptitude install kde-full
The following packages will be DOWNGRADED:
  libc-bin libc6 
The following NEW packages will be installed:
  advancecomp{a} akonadi-server{a} akonadiconsole{a} akregator{a}
amor{a} ark{a} autopoint{a} blinken{a} blogilo{a} bomber{a} bovo{a}
cantor{a} 
  cantor-backend-kalgebra{a} cervisia{a} cvs{a} cvsservice{a} dirmngr{a}
dolphin{a} dragonplayer{a} edict{a} freespacenotifier{a} gaupol{a} 
  gawk{a} gdb{a} gdbserver{a} gettext{a} git{a} gnome-audio{a} gnugo{a}
gnupg-agent{a} gnupg2{a} google-gadgets-common{a} google-gadgets-gst{a} 
  google-gadgets-qt{a} google-gadgets-xul{a} gpgsm{a} granatier{a}
graphviz{a} gstreamer0.10-pulseaudio{a} gwenview{a} htdig{a} 
  javascript-common{a} juk{a} kaddressbook{a} kalarm{a} kalgebra{a}
kalzium{a} kalzium-data{a} kamera{a} kanagram{a} kanjidic{a} kapman{a} 
  kappfinder{a} kapptemplate{a} kate{a} katomic{a} kbattleship{a}
kblackbox{a} kblocks{a} kbounce{a} kbreakout{a} kbruch{a} kbugbuster{a} 
  kcachegrind{a} kcalc{a} kcharselect{a} kcolorchooser{a}
kde-config-cddb{a} kde-config-cron{a} kde-full kde-icons-mono{a}
kde-plasma-desktop{a} 
  kde-plasma-netbook{a} kde-standard{a} kde-window-manager{a}
kdeaccessibility{a} kdeadmin{a} kdeartwork{a} kdeartwork-emoticons{a} 
  kdeartwork-style{a} kdeartwork-theme-icon{a} kdebase-apps{a}
kdebase-bin{a} kdebase-data{a} kdebase-workspace{a}
kdebase-workspace-bin{a} 
  kdebase-workspace-data{a} kdebase-workspace-kgreet-plugins{a}
kdeedu{a} kdeedu-kvtml-data{a} kdegames{a} kdegames-card-data{a} 
  kdegames-mahjongg-data{a} kdegraphics{a} kdegraphics-libs-data{a}
kdegraphics-strigi-plugins{a} kdemultimedia{a}
kdemultimedia-kio-plugins{a} 
  kdenetwork{a} kdenetwork-filesharing{a} kdepasswd{a} kdepim{a}
kdepim-groupware{a} kdepim-kresources{a} kdepim-runtime{a} 
  kdepim-strigi-plugins{a} kdepim-wizards{a} kdepimlibs-kio-plugins{a}
kdeplasma-addons{a} kdesdk{a} kdesdk-kio-plugins{a} kdesdk-misc{a} 
  kdesdk-scripts{a} kdesdk-strigi-plugins{a} kdetoys{a} kdeutils{a}
kdewallpapers{a} kdewebdev{a} kdf{a} kdiamond{a} kdm{a} kfilereplace{a} 
  kfind{a} kfloppy{a} kfourinline{a} kgamma{a} kgeography{a}
kgeography-data{a} kget{a} kgoldrunner{a} kgpg{a} khangman{a}
khelpcenter4{a} kig{a} 
  kigo{a} killbots{a} kimagemapeditor{a} kinfocenter{a} kiriki{a}
kiten{a} kjots{a} kjumpingcube{a} kleopatra{a} klettres{a}
klettres-data{a} 
  klines{a} klinkstatus{a} klipper{a} kmag{a} kmahjongg{a} kmail{a}
kmines{a} kmix{a} kmousetool{a} kmouth{a} kmplot{a} kmtrace{a}
knetwalk{a} 
  knetworkconf{a} knm-runtime{a} knode{a} knotes{a} kolf{a} kollision{a}
kolourpaint4{a} kommander{a} kompare{a} konq-plugins{a} 
  konq-plugins-l10n{a} konqueror{a} konqueror-nsplugins{a} konquest{a}
konsole{a} konsolekalendar{a} kontact{a} kopete{a} korganizer{a} 
  kpartloader{a} kpat{a} kppp{a} krdc{a} kreversi{a} krfb{a}
krosspython{a} kruler{a} ksame{a} kscd{a} kscreensaver{a}
kscreensaver-xsavers{a} 
  kshisen{a} ksirk{a} ksnapshot{a} kspaceduel{a} ksquares{a} kstars{a}
kstars-data{a} ksudoku{a} ksysguard{a} ksysguardd{a} ksystemlog{a} 
  kteatime{a} ktimer{a} ktimetracker{a} ktouch{a} ktron{a} kttsd{a}
ktuberling{a} kturtle{a} ktux{a} kubrick{a} kuiviewer{a} kuser{a} 
  kwalletmanager{a} kweather{a} kwordquiz{a} kwrite{a}
libakonadi-contact4{a} libakonadi-kabc4{a} libakonadi-kcal4{a}
libakonadi-kde4{a} 
  libakonadi-kmime4{a} libakonadiprivate1{a} libasound2-plugins{a}
libc6-dbg{a} libcfitsio3{a} libcgraph5{a} libc

Re: Install squeeze in DVD from usb

2011-01-14 Thread Josep M. Gasso
Hello Mark,


Yes, I tested now and was running perfect,I Installed Squeeze from DVD1
in a usb just ow. 

I was testing this few months ago and results was not much well with my
motherboard.

Thanks
Josep



El jue, 13-01-2011 a las 15:39 -0800, Mark escribió:
> On Thu, Jan 13, 2011 at 3:02 PM, Andrew M.A. Cater
>  wrote:
> 
> 
> 
> As of _today_ , the .iso can simply be dd'ed to a USB stick
> [Debian Squeeze rc1 of the installer CD and others]
> It will work and boot from there - some excellent work by
> Steve Macintyre and others has brought this about.
> 
> This is good to know; for Lenny it requires a small FAT boot partition
> with a few boot files plus a big partition to house the dvd .iso
> image.
> 



-- 
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/1295023082.3161.1.ca...@mail.navegants.net



Re: Install squeeze in DVD from usb

2011-01-13 Thread Josep M. Gasso
Hello.

Can you give more info about how partition the usb drive for install
Debian via the dvd .iso image from usb drive?

Thanks
Josep


El jue, 13-01-2011 a las 14:17 -0800, Mark escribió:
> On Thu, Jan 13, 2011 at 1:55 PM, Josep M. Gasso
>  wrote:
> Hello.
> 
> With unetbootin, for example can be installed a netinst cd in
> a usb, no
> problem, I would like know if in Squeeze will be possible
> install a full
> DVD in a 8GB usb pen drive? Will be a nice option if possible.
> 
> Hi, do you mean running Debian from a usb drive instead of a hard
> drive, or installing Debian via the dvd .iso image from usb drive?
> The latter can already be done with proper partitioning of the usb
> drive.
> 
> Mark



-- 
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/1294982822.20944.10.ca...@mail.navegants.net



Re: Install squeeze in DVD from usb

2011-01-13 Thread Josep M. Gasso
Hello.

Thanks, wll test now, I tested few months ago this. But with my ASUS
motherboard was running ok, with my Gigabyte motherboard was unable to
boot from the same usb.

Josep

El jue, 13-01-2011 a las 23:02 +, Andrew M.A. Cater escribió:
> On Thu, Jan 13, 2011 at 02:17:19PM -0800, Mark wrote:
> > On Thu, Jan 13, 2011 at 1:55 PM, Josep M. Gasso 
> > wrote:
> > 
> > > Hello.
> > >
> > > With unetbootin, for example can be installed a netinst cd in a usb, no
> > > problem, I would like know if in Squeeze will be possible install a full
> > > DVD in a 8GB usb pen drive? Will be a nice option if possible.
> > >
> > 
> > Hi, do you mean running Debian from a usb drive instead of a hard drive, or
> > installing Debian via the dvd .iso image from usb drive?  The latter can
> > already be done with proper partitioning of the usb drive.
> > 
> > Mark
> 
> As of _today_ , the .iso can simply be dd'ed to a USB stick [Debian Squeeze 
> rc1 of the installer CD and others]
> It will work and boot from there - some excellent work by Steve Macintyre and 
> others has brought this about.
> 
> Hope this helps,
> 
> AndyC
> 
> 



-- 
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/1294982747.20944.8.ca...@mail.navegants.net



Install squeeze in DVD from usb

2011-01-13 Thread Josep M. Gasso
Hello.

With unetbootin, for example can be installed a netinst cd in a usb, no
problem, I would like know if in Squeeze will be possible install a full
DVD in a 8GB usb pen drive? Will be a nice option if possible.

Josep



-- 
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/1294955721.20944.6.ca...@mail.navegants.net



Re: Term Variable in automatic updates SOLVED

2011-01-05 Thread Josep M. Gasso
Hello.

Just now I found what was giving error, the package console-setup was
not installed, installing this all is ok, of course I will add the
environment variable DEBCONF_FRONTEND=noninteractive to my script.

Thanks
Josep

El mié, 05-01-2011 a las 11:04 +, Roger Leigh escribió:
> On Wed, Jan 05, 2011 at 11:31:16AM +0100, Josep M. Gasso wrote:
> > Hello.
> > 
> > I have one script for do automatic updates with aptitude, the TERM
> > variable in my system is xterm
> > 
> > 
> > $ echo ${TERM}
> > xterm
> > 
> > 
> > But, what value should be set for the TERM variable when doing automatic
> > updates?
> 
> It should be unset: there is no terminal for user interaction.
> Setting DEBCONF_FRONTEND=noninteractive will prevent the warning
> messages you were seeing.
> 
> > As now seems that fails for this.
> > 
> > Setting up console-setup (1.66) ...
> > debconf: unable to initialize frontend: Dialog
> > debconf: (TERM is not set, so the dialog frontend is not usable.)
> > debconf: falling back to frontend: Readline
> > debconf: unable to initialize frontend: Readline
> > debconf: (This frontend requires a controlling tty.)
> > debconf: falling back to frontend: Teletype
> > Configuring console-setup
> 
> There's no failure here, it's just falling back on different
> methods.  Setting DEBCONF_FRONTEND will simply select the
> noninteractive frontend by default (any questions will simply
> use the default).
> 
> > debconf: unable to initialize frontend: Dialog
> > debconf: (TERM is not set, so the dialog frontend is not usable.)
> > debconf: falling back to frontend: Readline
> > debconf: unable to initialize frontend: Readline
> > debconf: (This frontend requires a controlling tty.)
> > debconf: falling back to frontend: Teletype
> > Configuring console-setup
> > -
> > 
> > Please choose the character set that should be supported by the console
> > font.
> > 
> > Character set to support: 
> > Use of uninitialized value $_[1] in join or string
> > at /usr/share/perl5/Debconf/DbDriver/Stack.pm line 111.
> > sed: -e expression #1, char 9: unterminated `s' command
> 
> This is a bug in either Debconf or the maintainer script using
> debconf.  I highly recommend reporting it to the console-setup
> and/or debconf maintainers.
> 
> > dpkg: error processing console-setup (--configure):
> >  subprocess installed post-installation script returned error exit
> > status 128
> 
> 
> Regards,
> Roger
> 



-- 
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/1294226020.9306.6.ca...@mail.navegants.net



Term Variable in automatic updates

2011-01-05 Thread Josep M. Gasso
Hello.

I have one script for do automatic updates with aptitude, the TERM
variable in my system is xterm


$ echo ${TERM}
xterm


But, what value should be set for the TERM variable when doing automatic
updates?

As now seems that fails for this.

Setting up console-setup (1.66) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
Configuring console-setup


Thanks
Josep

There is the full log:


2011-01-05-03H-57M-41S Started  - Debian UPDATING PACKAGES
   Command  - aptitude safe-upgrade --assume-yes 
  -o APT::Get::Show-Upgraded=true
  -o Dpkg::Options::=--force-confdef
  -o Dpkg::Options::=--force-confold  
 
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
The following packages will be upgraded:
  dpkg dpkg-dev dselect k3b k3b-data k3b-i18n libdpkg-perl libk3b6 
  libk3b6-extracodecs libsvn1 mozilla-openoffice.org openoffice.org 
  openoffice.org-base openoffice.org-base-core openoffice.org-calc 
  openoffice.org-common openoffice.org-core openoffice.org-draw 
  openoffice.org-emailmerge openoffice.org-evolution 
  openoffice.org-filter-binfilter openoffice.org-filter-mobiledev 
  openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us 
  openoffice.org-help-es openoffice.org-impress
openoffice.org-java-common 
  openoffice.org-l10n-es openoffice.org-math openoffice.org-officebean 
  openoffice.org-report-builder-bin openoffice.org-style-galaxy 
  openoffice.org-style-tango openoffice.org-writer python-uno
subversion 
  ttf-opensymbol uno-libs3 ure xserver-xorg-video-intel 
  xserver-xorg-video-mga 
The following partially installed packages will be configured:
  console-setup 
42 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 193 MB of archives. After unpacking 1276 kB will be freed.
Writing extended state information...
Get:1 http://ftp.be.debian.org/debian/ squeeze/main dpkg amd64 1.15.8.7
[2392 kB]
Get:2 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-emailmerge all 1:3.2.1-11 [1467 kB]
Get:3 http://ftp.be.debian.org/debian/ squeeze/main ure amd64 1.6.1
+OOo3.2.1-11 [2979 kB]
Get:4 http://ftp.be.debian.org/debian/ squeeze/main uno-libs3 amd64
1.6.1+OOo3.2.1-11 [2786 kB]
Get:5 http://ftp.be.debian.org/debian/ squeeze/main dpkg-dev all
1.15.8.7 [806 kB]
Get:6 http://ftp.be.debian.org/debian/ squeeze/main libdpkg-perl all
1.15.8.7 [687 kB]
Get:7 http://ftp.be.debian.org/debian/ squeeze/main dselect amd64
1.15.8.7 [899 kB]
Get:8 http://ftp.be.debian.org/debian/ squeeze/main k3b amd64 2.0.1-2
[768 kB]
Get:9 http://ftp.be.debian.org/debian/ squeeze/main libk3b6 amd64
2.0.1-2 [1030 kB]
Get:10 http://ftp.be.debian.org/debian/ squeeze/main k3b-data all
2.0.1-2 [7672 kB]
Get:11 http://ftp.be.debian.org/debian/ squeeze/main k3b-i18n all
2.0.1-2 [4876 kB]
Get:12 http://ftp.be.debian.org/debian/ squeeze/main libk3b6-extracodecs
amd64 2.0.1-2 [69.5 kB]
Get:13 http://ftp.be.debian.org/debian/ squeeze/main subversion amd64
1.6.12dfsg-3 [1317 kB]
Get:14 http://ftp.be.debian.org/debian/ squeeze/main libsvn1 amd64
1.6.12dfsg-3 [984 kB]
Get:15 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-writer amd64 1:3.2.1-11 [9756 kB]
Get:16 http://ftp.be.debian.org/debian/ squeeze/main openoffice.org-calc
amd64 1:3.2.1-11 [8042 kB]
Get:17 http://ftp.be.debian.org/debian/ squeeze/main openoffice.org-base
amd64 1:3.2.1-11 [4341 kB]
Get:18 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-base-core amd64 1:3.2.1-11 [2305 kB]
Get:19 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-impress amd64 1:3.2.1-11 [2138 kB]
Get:20 http://ftp.be.debian.org/debian/ squeeze/main openoffice.org-draw
amd64 1:3.2.1-11 [4523 kB]
Get:21 http://ftp.be.debian.org/debian/ squeeze/main openoffice.org-math
amd64 1:3.2.1-11 [1801 kB]
Get:22 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-report-builder-bin amd64 1:3.2.1-11 [2504 kB]
Get:23 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-officebean amd64 1:3.2.1-11 [1507 kB]
Get:24 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-filter-mobiledev all 1:3.2.1-11 [1555 kB]
Get:25 http://ftp.be.debian.org/debian/ squeeze/main openoffice.org
amd64 1:3.2.1-11 [1464 kB]
Get:26 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-common all 1:3.2.1-11 [21.1 MB]
Get:27 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-style-galaxy all 1:3.2.1-11 [5291 kB]
Get:28 http://ftp.be.debian.org/debian/ squeeze/main
openoffice.org-style-tango all 1:3.2.1-11 [4983 kB]
Get:29 http

Mount esata ntfs drives as user.

2010-11-29 Thread Josep M. Gasso
Hello.

I have an external HD in ntfs format with esata/usb connections, via usb
runs fine but via esata I can't mount this automaticaly as user.

I have found a great post at   https://wiki.archlinux.org/index.php/Udev
but using this  options 
https://wiki.archlinux.org/index.php/Udev#Mount_under_.2Fmedia.3B_use_partition_label_if_present
are mounted always as root.


Using the options from
https://wiki.archlinux.org/index.php/Udev#Mount_under_.2Fmedia.3B_use_partition_label_if_present.3B_support_user_un-mounting

Don't runs for me, I have pmount installed and the user is listed
in /etc/pmount.allow
What should I change/add for use this in Debian Squeeze?

Thanks
Josep


-- 
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/1291058424.6366.1.ca...@mail.navegants.net



Re: SATA disk detected as IDE? SOLVED

2010-06-30 Thread Josep M.
Hello Amrit.

One option of the BIOS of the motherboard was allowing use with much
less speed, I don't understand how much how run this, because install XP
CD don't detect any SATA disk but Linux treat disk as IDE, and now seems
that runs really much more fast, more than twice.

Josep


El mié, 30-06-2010 a las 12:00 -0700, Amrit Panesar escribió:
> On 6/30/2010 11:38 AM, Josep M. wrote:
> > Hello.
> >
> > I have a SATA HD, installed as SATA HD (not as ide in motherboard) and
> > Debian squeeze detects me this as IDE.
> >
> > What can I do for change his?
> >
> > Appended there is is the output of hdparm and sdparm
> >
> > Thanks
> > Josep
> >


-- 
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/1277928856.3010.2.ca...@mail.navegants.net



Re: SATA disk detected as IDE?

2010-06-30 Thread Josep M.
Hello Amrit

The performance of this HD is very poor,my old computer, SATA1, was much
more fast than this SATA2 so, I'm looking how increase the performance
of this computer.

Josep


El mié, 30-06-2010 a las 12:00 -0700, Amrit Panesar escribió:
> >
> >
> It did pick up that its Transport is Serial.. Technically speaking, SATA 
> is only a Serial variant of ATA (which normally runs in parallel, hence 
> PATA). Even though the drive may show up as a general ATA device that 
> seems to be the norm (also for the fact that the kernel did put the 
> drive in /dev/sda as opposed to /dev/hda) everything looks good though. 
> If anyone has a second opinion, please correct me if I'm wrong.
> 
> Thanks
> 
> 



-- 
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/1277925109.12419.13.ca...@mail.navegants.net



SATA disk detected as IDE?

2010-06-30 Thread Josep M.
Hello.

I have a SATA HD, installed as SATA HD (not as ide in motherboard) and
Debian squeeze detects me this as IDE.

What can I do for change his?

Appended there is is the output of hdparm and sdparm

Thanks
Josep

mail:/etc/modprobe.d# sdparm  --all /dev/sda
/dev/sda: ATA   ST31500541AS  CC34
Read write error recovery mode page:
  AWRE1
  ARRE0
  TB  0
  RC  0
  EER 0
  PER 0
  DTE 0
  DCR 0
  RRC 0
  COR_S   0
  HOC 0
  DSOC0
  WRC 0
  RTL 0
Caching (SBC) mode page:
  IC  0
  ABPF0
  CAP 0
  DISC0
  SIZE0
  WCE 1
  MF  0
  RCD 0
  DRRP0
  WRP 0
  DPTL0
  MIPF0
  MAPF0
  MAPFC   0
  FSW 0
  LBCSS   0
  DRA 0
  NV_DIS  0
  NCS 0
  CSS 0
Control mode page:
  TST 0
  TMF_ONLY0
  D_SENSE 0
  GLTSD   1
  RLEC0
  QAM 0
  QERR0
  RAC 0
  UA_INTLCK   0
  SWP 0
  ATO 0
  TAS 0
  AUTOLOAD0
  BTP-1
  ESTCT  30
mail:/etc/modprobe.d# 




mail:/etc/modprobe.d# 
mail:/etc/modprobe.d# hdparm  -iI /dev/sda

/dev/sda:

 Model=ST31500541AS, FwRev=CC34, SerialNo=
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
 BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=off
 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=2930277168
 IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
 AdvancedPM=yes: unknown setting WriteCache=enabled
 Drive conforms to: unknown:  ATA/ATAPI-4,5,6,7

 * signifies the current active mode


ATA device, with non-removable media
Model Number:   ST31500541AS
Serial Number:  
Firmware Revision:  CC34
Transport:  Serial
Standards:
Used: unknown (minor revision code 0x0029) 
Supported: 8 7 6 5 
Likely used: 8
Configuration:
Logical max current
cylinders   16383   16383
heads   16  16
sectors/track   63  63
--
CHS current addressable sectors:   16514064
LBAuser addressable sectors:  268435455
LBA48  user addressable sectors: 2930277168
Logical/Physical Sector size:   512 bytes
device size with M = 1024*1024: 1430799 MBytes
device size with M = 1000*1000: 1500301 MBytes (1500 GB)
cache/buffer size  = unknown
Nominal Media Rotation Rate: 5900
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16  Current = ?
Advanced power management level: 192
Recommended acoustic management value: 254, current value: 0
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
 Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4 
 Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
Enabled Supported:
   *SMART feature set
Security Mode feature set
   *Power Management feature set
   *Write cache
   *Look-ahead
   *Host Protected Area feature set
   *WRITE_BUFFER command
   *READ_BUFFER command
   *DOWNLOAD_MICROCODE
   *Advanced Power Management feature set
Power-Up In Standby feature set
SET_FEATURES required to spinup after power up
SET_MAX security extension
   *Automatic Acoustic Management feature set
   *48-bit Address feature set
   *Device Configuration Overlay feature set
   *Mandatory FLUSH_CACHE
   *FLUSH_CACHE_EXT
   *SMART error logging
   *SMART self-test
   *General Purpose Logging feature set
   *WRITE_{DMA|MULTIPLE}_FUA_EXT
   *64-bit World wide name
Write-Read-Verify feature set
   *WRITE_UNCORRECTABLE_EXT command
   *{READ,WRITE}_DMA_EXT_GPL commands
   *Segmented DOWNLOAD_MICROCODE
   *Gen1 signaling speed (1.5Gb/s)
   *Gen2 signaling speed (3.0Gb/s)
   *Native Command Queueing (NCQ)
   *Phy event counters
Device-initiated interface power management
   *Software settings preservation
   *SMART Command Transport (SCT) feature set
   *S

Re: bash scripting question

2010-03-29 Thread Josep M.
Hello.

I found these somewhere time ago. check if is what You need:





function timer()
{
if [[ $# -eq 0 ]]; then
echo $(date '+%s')
else
local  stime=$1
etime=$(date '+%s')

if [[ -z "$stime" ]]; then stime=$etime; fi

dt=$((etime - stime))
ds=$((dt % 60))
dm=$(((dt / 60) % 60))
dh=$((dt / 3600))
printf '%d:%02d:%02d' $dh $dm $ds
fi
}

 
This is before the command

t=$(timer)

and this is after the command

printf 'Elapsed time: %s\n' $(timer $t)



example

t=$(timer)

copy /dev/null /dev/zero

printf 'Elapsed time: %s\n' $(timer $t)



Greetings
Josep

El vie, 19-03-2010 a las 10:19 -0700, Mike McClain escribió:
> I've written a function to print elapsed time similar to /usr/bin/time
> but can be called at the beginning and end of a script from within
> the script. Occasionally I get an error: '8-08: value too great for base'
> It's caused by the difference in these 2 command strings but I can't for 
> the life of me see what's going on.
> 
> now='09:07:16'; startHr=${now%%:*}; startHR=${startHr#*0}; echo $startHr; 
> 09
> 
> str=09; str=${str#*0}; echo $str; 
> 9
> 
> Thanks,
> Mike
> -- 
> Satisfied user of Linux since 1997.
> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
> 
> 



-- 
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/1269865700.29265.2.ca...@mail.navegants.net



RE: preseed with two hard disks

2009-11-28 Thread Josep M.
Hello Richard.

Thanks for the answer, I will add the second hard disk to /etc/fstab in
my script that is executed after install, where I install extra packages
after install.

Josep


El sáb, 28-11-2009 a las 23:13 +0100, Richard Pijnenburg escribió:
> Hi Josep,
> 
> According to the documentation ( can't remember where exactly ) it's stated
> that the preseed system can't handle 2 disks.
> I'm trying to find a decent work around for it but no luck yet.
> All we can do is hope the Debian developers will fix this some day.
> 
> Richard Pijnenburg
> 
> 
> -Oorspronkelijk bericht-
> Van: Josep M. [mailto:websur...@navegants.com] 
> Verzonden: zaterdag 28 november 2009 22:46
> Aan: debian-user@lists.debian.org
> Onderwerp: preseed with two hard disks
> 
> Hello.
> 
> I use lenny, I do tests in Virtualbox virtual machines, I have one HD of
> 40GB in these virtual machine, now I added a second hard disk in the
> virtual machine, but I can't 
> found how to do for create a partition on this second hard disk.
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



preseed with two hard disks

2009-11-28 Thread Josep M.
Hello.

I use lenny, I do tests in Virtualbox virtual machines, I have one HD of
40GB in these virtual machine, now I added a second hard disk in the
virtual machine, but I can't 
found how to do for create a partition on this second hard disk.



Thanks
Josep



This is the related info, I changed this:


d-i partman-auto/expert_recipe string \
  boot-root ::\
  28000 512 28000 ext3  \
  $primary{ } $bootable{ }\
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext3 }\
  mountpoint{ /  } \
  .   \
  800 512 800 linux-swap  \
 $primary{ }  \
  method{ swap } format{ }\
  .   \
  14130 256 14600 ext3  \
   $primary{ }   \
method{ format }   format{ }  \
  use_filesystem{ } filesystem{ ext3 }\
  mountpoint{ /home } \
  .


For this:

d-i partman-auto/expert_recipe string \
  boot-root ::\
  28000 512 28000 ext3  \
  $primary{ } $bootable{ }\
  method{ format } format{ }  \
  use_filesystem{ } filesystem{ ext3 }\
  mountpoint{ /  } \
  .   \
  800 512 800 linux-swap  \
 $primary{ }  \
  method{ swap } format{ }\
  .   \
  14130 256 14600 ext3  \
   $primary{ }   \
method{ format }   format{ }  \
  use_filesystem{ } filesystem{ ext3 }\
  mountpoint{ /home } \
  .
4 256 4 ext3  \
   $primary{ }   \
method{ format }   format{ }  \
  use_filesystem{ } filesystem{ ext3 }\
  mountpoint{ /systembeta } \



And this is the full preseed part related to partitioning:


### Partitioning
# If the system has free space you can choose to only partition that space.
#d-i partman-auto/init_automatically_partition select biggest_free

# Alternatively, you can specify a disk to partition. The device name must
# be given in traditional non-devfs format.
# Note: A disk must be specified, unless the system has only one disk.
# For example, to use the first SCSI/SATA hard disk:
#d-i partman-auto/disk string /dev/sda
# In addition, you'll need to specify the method to use.
# The presently available methods are: "regular", "lvm" and "crypto"
d-i partman-auto/method string regular

# If one of the disks that are going to be automatically partitioned
# contains an old LVM configuration, the user will normally receive a
# warning. This can be preseeded away...
d-i partman-lvm/device_remove_lvm boolean true
# The same applies to pre-existing software RAID array:
d-i partman-md/device_remove_md boolean true
# And the same goes for the confirmation to write the lvm partitions.
d-i partman-lvm/confirm boolean true

# You can choose one of the three predefined partitioning recipes:
# - atomic: all files in one partition
# - home:   separate /home partition
# - multi:  separate /home, /usr, /var, and /tmp partitions
d-i partman-auto/choose_recipe select atomic

# Or provide a recipe of your own...
# The recipe format is documented in the file devel/partman-auto-recipe.txt.
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
#d-i partman-auto/expert_recipe_file string /hd-media/recipe

# If not, you can put an entire recipe into the preconfiguration file in one
# (logical) line. This example creates a small /boot partition, suitable
# swap, and uses the rest of the space for the root partition:
d-i partman-auto/expert_recipe string \
  boot-root ::\
  28000 512 28000 ext3  \
   

Re: Debian preseed errors with DHCP and network parameters

2009-10-07 Thread Josep M.
Hello Frank.

I created a .sh that modify /etc/network/interfaces and /etc/hostname
and I solved with this, seems to me the most easy solution to the
problem.

Thanks fo the advice

Josep from Spain



El dom, 04-10-2009 a las 14:25 +0200, Frank Lin PIAT escribió:
> On Sat, 2009-10-03 at 23:51 +0200, Josep M. wrote:
> > Hello.
> > 
> > I have a preseed file, all runs ok, except install network manually,
> > always install DHCP, I have disabled DHCP and debconf is well
> > configured, I have four problems :
> > 
> > 1 - For install network without enable dhcp I must write when boot:
> > 
> > netcfg/disable_dhcp=true preseed/url=ftp://192.168.x.x/preseed.cfg 
> >  
> > 2 - I must enter network info manually, all network info in preseed.cfg
> > is not used
> 
> Chicken and egg problem... to fetch the preseed file, your system needs
> an IP address (which can be obtained by DHCP, or manually specified on
> the command line).
> 
> I suppose that in most case, the server are netboot'ed using DHCP, to
> perform the installation, then the computer is configured to use static
> IP address (using the preseed file???). Of course, the DHCP could be
> have MAC<->IP address reservation.
> 
> BTW, If you go for DHCP you might want to have a look at the
> "auto-install/enable=true" command line.
> 
> Regards,
> 
> Franklin
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Debian preseed errors with DHCP and network parameters

2009-10-03 Thread Josep M.
Hello.

I have a preseed file, all runs ok, except install network manually,
always install DHCP, I have disabled DHCP and debconf is well
configured, I have four problems :


1 - For install network without enable dhcp I must write when boot:

netcfg/disable_dhcp=true preseed/url=ftp://192.168.x.x/preseed.cfg

2 - I must enter network info manually, all network info in preseed.cfg
is not used

3 - hostname present in preseed.cfg is not entered, I must change this
manually after first boot

4 - domain name present in preseed.cfg is not entered, I must change
this manually after first boot


All others parameters run ok, my preseed.cfg is appended to end..any
help for solve this will be appreciated.

Josep


debconf debconf/prioritystring critical
unknown debconf/prioritystring critical
d-i debconf/prioritystring critical
 Contents of the preconfiguration file (for lenny)
### Localization
# Locale sets language and country.
d-i debian-installer/locale string en_US.UTF8

# Keyboard selection.
#d-i console-tools/archs select at
d-i console-keymaps-at/keymap select es
# Example for a different keyboard architecture
#d-i console-keymaps-usb/keymap select mac-usb-us

### Network configuration
# netcfg will choose an interface that has link if possible. This makes it
# skip displaying a list if there is more than one interface.
#d-i netcfg/choose_interface select auto

# To pick a particular interface instead:
d-i netcfg/choose_interface select eth0

# If you have a slow dhcp server and the installer times out waiting for
# it, this might be useful.
#d-i netcfg/dhcp_timeout string 60

# If you prefer to configure the network manually, uncomment this line and
# the static network configuration below.
d-i netcfg/disable_dhcp true

# If you want the preconfiguration file to work on systems both with and
# without a dhcp server, uncomment these lines and the static network
# configuration below.
#d-i netcfg/dhcp_failed note
#d-i netcfg/dhcp_options select Configure network manually

# Static network configuration.
d-i netcfg/get_nameservers string 80.58.61.250 80.58.61.254
d-i netcfg/get_ipaddress string 192.168.1.81
d-i netcfg/get_netmask string 255.255.255.0
d-i netcfg/get_gateway string 192.168.1.1
d-i netcfg/confirm_static boolean true
d-i netcfg/get_ipaddress seen true
d-i netcfg/get_netmask seen true

d-i netcfg/get_nameservers seen true
d-i netcfg/get_gateway seen true

# Any hostname and domain names assigned from dhcp take precedence over
# values set here. However, setting the values still prevents the questions
# from being shown, even if values come from dhcp.
d-i netcfg/get_hostname seen true
d-i netcfg/get_domain seen true
d-i netcfg/get_hostname string debbeta81
d-i netcfg/get_domain string gamuzino.org

# Disable that annoying WEP key dialog.
d-i netcfg/wireless_wep string
# The wacky dhcp hostname that some ISPs use as a password of sorts.
#d-i netcfg/dhcp_hostname string radish

# If non-free firmware is needed for the network or other hardware, you can
# configure the installer to always try to load it, without prompting. Or
# change to false to disable asking.
#d-i hw-detect/load_firmware boolean true

### Network console
# Use the following settings if you wish to make use of the network-console
# component for remote installation over SSH. This only makes sense if you
# intend to perform the remainder of the installation manually.
#d-i anna/choose_modules string network-console
#d-i network-console/password password r00tme
#d-i network-console/password-again password r00tme

### Mirror settings
# If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string http
d-i mirror/country string ES
d-i mirror/http/hostname string ftp.es.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/proxy string

# Suite to install.
#d-i mirror/suite string testing
# Suite to use for loading installer components (optional).
#d-i mirror/udeb/suite string testing

### Clock and time zone setup
# Controls whether or not the hardware clock is set to UTC.
d-i clock-setup/utc boolean true

# You may set this to any valid setting for $TZ; see the contents of
# /usr/share/zoneinfo/ for valid values.
d-i time/zone string Europe/Madrid

# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
# NTP server to use. The default is almost always fine here.
d-i clock-setup/ntp-server string 0.debian.pool.ntp.org

### Partitioning
# If the system has free space you can choose to only partition that space.
#d-i partman-auto/init_automatically_partition select biggest_free

# Alternatively, you can specify a disk to partition. The device name must
# be given in traditional non-devfs format.
# Note: A disk must be specified, unless the system has only one disk.
# For example, to use the first SCSI/SATA hard disk:
#d-i partman-auto/disk string /dev/sda
# In addition, you'll need to specify the method t

RE: Amplify a wav file and join wav files under Lenny

2009-08-21 Thread Josep M.
Hello Kenny!


Thanks!.. Just what I was looking for!.Quick and good:)

I Tested and runs perfect:)

Josep




El vie, 21-08-2009 a las 11:25 -0700, Kevin Ross escribió:
> > From: Josep M. [mailto:websur...@navegants.com]
> > Sent: Friday, August 21, 2009 5:51 AM
> > 
> > Hello.
> > 
> > I need amplify 3db a lot of files, the best will be using linux command
> > line...there is any tool what can do this?
> > 
> > Also, I need join wav files from command line ...there is any tool what
> > can do this?
> > 
> > I use Debian Lenny.
> > 
> > Thanks
> > Kokolisso
> 
> Sox will do what you want.  Something like:
> 
> sox infile1.wav infile2.wav outfile.wav vol 3 dB
> 
> should do the trick.  Hope this helps!
> 
> -- Kevin
> 
> 
> 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Amplify a wav file and join wav files under Lenny

2009-08-21 Thread Josep M.
Hello.

I need amplify 3db a lot of files, the best will be using linux command
line...there is any tool what can do this?

Also, I need join wav files from command line ...there is any tool what
can do this?

I use Debian Lenny.

Thanks
Kokolisso


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: skype lenny amd64

2009-03-22 Thread josep
after givin apt-file update I can see the files, thank you!


skype lenny amd64

2009-03-20 Thread josep
Hi

I want to install Skype on Debian Lenny amd64
so:

1)
apt-get install libasound2 libc6 libgcc1 libqt4-core libqt4-gui
libsigc++-2.0-0c2a libstdc++6 libx11-6
wget http://skype.com/go/getskype-linux-deb
dpkg -i --force-architecture skype-*_*.deb


2) I want to run skype:
skype: error while loading shared libraries: libQtDBus.so.4: cannot open
shared object file: No such file or directory


3) I googled :D

/usr/bin# ldd skype|grep "not found"
  libQtDBus.so.4 => not found
  libQtGui.so.4 => not found
  libQtNetwork.so.4 => not found
  libQtCore.so.4 => not found


Running apt-file gives nothing :(

apt-file search libQtDBus.so.4
apt-file search libQtGui.so.4
apt-file search libQtNetwork.so.4
apt-file search libQtCore.so.4


How can I get these 4 files, and where to put it? :(

regards, and thank you if someone could help


apt-p2p torrent

2009-03-12 Thread josep
How do I enable "apt-p2p" with iptables?? (It's a P2P-based "upgrades"
downloader)
I forward the 9977 port to the pc, but the "Peer Uploads"-is still 0% ... so
how can I enable a torrent in iptables? :(

Help me
thank you


PC hangs with iptables

2009-03-12 Thread josep
How come I can't turn off my pc, after I:



iptables-save > /etc/debi-firewall.conf

echo "#!/bin/sh" > /etc/network/if-up.d/iptables
echo "iptables-restore < /etc/debi-firewall.conf" >>
/etc/network/if-up.d/iptables
chmod +x /etc/network/if-up.d/iptables



after this, my pc just hang's when shutting down :(
Can anyone help me? :S

When I set everything to ACCEPT, it turn off OK..
I can switch tty's when my pc is "hanging", when shutting down..I already
googled it :(


dnsmasq-opendns-iptables

2009-03-09 Thread josep
Debian Lenny, fresh install
I uncomment these lines in: */etc/dhcp3/dhclient.conf*

send host-name "*mypc*"
send dhcp-client-identifier "foo"

I install local DNS cache [with *OpenDNS*]
apt-get install *dnsmasq*
echo "prepend domain-name-servers *127.0.0.1,208.67.222.222,208.67.220.220;*"
>> /etc/dhcp3/dhclient.conf
sed -i s/'#listen-address='/'listen-address=*127.0.0.1*'/g /etc/dnsmasq.conf


/etc/init.d/dnsmasq *restart*
/etc/init.d/networking *restart*


four question's :S

*1 -* After this, OpenDNS is working, I mean, if I type
"google.comsaldkfjlskdj" in the webbrowser, it pop's out an opendns page. Ok
* [is it Ok?].*

*2 -* I "dig google.com", it say's "SERVER: 127.0.0.1#53(127.0.0.1)",
Ok*[is it Ok?].
*

But the most important question is:

*3 -* If I go to another computer [same subnet], and type: "ping mypc", it
say's: "*ping: unknown host: mypc*" - after waiting for a while, rebooting,
it still say's the same :( When I ping it with IP, it works, but not with
hostname :(

Could someone help me with this three questions?

*ps.:* I use iptables, but the problem is the same, when I *iptables -P
INPUT ACCEPT; iptables -P OUTPUT ACCEPT; iptables -P FORWARD ACCEPT;
iptables -F; iptables -X*

My iptables script[not sure, it's 100% :D :S - just a regular
homepc, with a router]
http://pastebin.com/f2edbc500

*ps2.:* I tried this
doc,
but I still can't "ping mypc" from another pc

*4 -* With this iptables script, I can only download torrents when I "*iptables
-P OUTPUT ACCEPT*", so I don't know that *can I uplodad using APT-P2P?

*I tried adding the lines to the script, but torrent still doesn't work:*
$IPTABLES -A INPUT -p tcp --dport 6881 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 6881 -j ACCEPT
*

*ps3.:* The netfilter mailing list is "offline" - I can't reach it :( sorry
for posting my iptables script here, but no'one can check it in my
environment :( or say it it has a error
*ps4.:* In my "/etc/hosts" file, there is a line with *"127.0.0.1 mypc*"

Thank you for you're patience reading this! :S
*Regards & Thank you!*


Icedove & Gmail

2009-03-08 Thread josep
Hi

I use Gmail with Icedove, so "I'm getting my mail with IMAPS and SSMTP".

But.: When I reply to someone's email, then I go to "View-Headers-All" in
Icedove, I can see my IP address at the "Received from"!

How can I configure Icedove, to not to send my IP address in the email?

Thanks :\


Re: sed :(

2009-03-04 Thread josep
wow ^ ^ Thanks for the quick replies :)

> it works!


sed :(

2009-03-04 Thread josep
why isn't it working? :(

sed -i "s/#send host-name "andare.fugue.com";/send host-name $(cat
/etc/hostname)/g" /etc/dhcp3/dhclient.conf


fetch root email with Icedove?

2009-03-02 Thread josep
How can I set Icedove to fetch the mails to root on a local computer
[/var/mail/user]?

It's a normal Debian install, no "email server"

I didn't find any docs about it :S

Thank you!


Re: bring back hdd from dd urandom

2009-03-02 Thread josep
:D ok, now I can format the hdd, but I had to use a "non-msdos MBR", - bsd,
amiga :O

I started again, in gparted, with an ms-dos mbr...it worked :D...

but

fdisk -l

Disk /dev/sdb: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x

Disk /dev/sdb doesn't contain a valid partition table

and I can only write to it, when I'm root...:S


Re: bring back hdd from dd urandom

2009-03-02 Thread josep
I wanted to "check" the hdd in gparted, it gaves this error:

>
e2fsck -f -y -v /dev/sdb1


The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 

Ok, so I run e2fsck:

e2fsck -b 8193 /dev/sdb
e2fsck 1.41.3 (12-Oct-2008)
e2fsck: Bad magic number in super-block while trying to open /dev/sdb

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
  e2fsck -b 8193 


infinite loop? :D


Re: bring back hdd from dd urandom

2009-03-02 Thread josep
I putted the HDD to a pc, boot it up with systemrescuecd - startx - gparted
- and Format it. Without error.

I even could write to the disk, no error, but:

when I put it back to the USB, it does it again...

gparted: libparted - unrecognized disk label

I don't want to restore it, I just want to format it for USB use.


bring back hdd from dd urandom

2009-03-02 Thread josep
How can I bring a hdd back to life, if I did:

dd if=/dev/urandom of=/dev/sdb

to it?

When I try to format it to ext3, it tells: gparted: libparted - unrecognized
disk label

Please help, the /dev/sdb is an USB HDD


VirtualBox 2.1 screen resolution problem

2009-01-12 Thread Josep M.
Hello. 

I tried VirtualBox 2.1 in my host Debian Lenny AMD 64bits, all runs
really well, except screen resolution. 
My host is 1680*1050 and my virtualbox max resolution in WindowsXP SP3
as guest is 1152*864 

I tried: 

VBoxManage controlvm "Machine1" setvideomodehint 1680 1050 32 

But nothing change, I have installed guest additions. 

How can I do for have WindowsXP at 1680*1050? Looking in monitor
properties and see a list of screen mode 
supported the max screen resolution is 1152*864 at 32 bits (what is
used) 



Any help will be appreciated. 

Josep



This is my xorg.conf 



# /etc/X11/xorg.conf (xorg X Window System server configuration file) 
Section "Files" 
FontPath "/usr/share/fonts/X11/misc" 
FontPath "/usr/X11R6/lib/X11/fonts/misc" 
FontPath "/usr/share/fonts/X11/cyrillic" 
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic" 
FontPath "/usr/share/fonts/X11/100dpi/:unscaled" 
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled" 
FontPath "/usr/share/fonts/X11/75dpi/:unscaled" 
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled" 
FontPath "/usr/share/fonts/X11/Type1" 
FontPath "/usr/X11R6/lib/X11/fonts/Type1" 
FontPath "/usr/share/fonts/X11/100dpi" 
FontPath "/usr/X11R6/lib/X11/fonts/100dpi" 
FontPath "/usr/share/fonts/X11/75dpi" 
FontPath "/usr/X11R6/lib/X11/fonts/75dpi" 
# path to defoma fonts 
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" 
EndSection 

Section "Module" 
Load "bitmap" 
Load "ddc" 
Load "dri" 
Load "extmod" 
Load "freetype" 
Load "glx" 
Load "int10" 
Load "vbe" 
EndSection 

Section "InputDevice" 
Identifier "Generic Keyboard" 
Driver "kbd" 
Option "CoreKeyboard" 
Option "XkbRules" "xorg" 
Option "XkbModel" "pc105" 
Option "XkbLayout" "es" 
EndSection 

Section "InputDevice" 
Identifier "Configured Mouse" 
Driver "mouse" 
Option "CorePointer" 
Option "Device" "/dev/input/mice" 
Option "Protocol" "ImPS/2" 
Option "Emulate3Buttons" "true" 
EndSection 

Section "Device" 
Option "UseDisplayDevice" "DFP" 
Identifier "nVidia Corporation NV34 [GeForce FX 5200]" 
Driver "nvidia" 
BusID "PCI:1:0:0" 
EndSection 

Section "Monitor" 
Identifier "SyncMaster" 
Option "DPMS" 
HorizSync 30-81 
VertRefresh 56-75 
EndSection 

Section "Screen" 
Identifier "Default Screen" 
Device "nVidia Corporation NV34 [GeForce FX 5200]" 
Monitor "SyncMaster" 
Option "TwinView" "true" 
#Option "TwinView" 
Option "TwinViewOrientation" "Clone" 
DefaultDepth 24 
SubSection "Display" 
Depth 1 
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
"640x480" 
EndSubSection 
SubSection "Display" 
Depth 4 
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
"640x480" 
EndSubSection 
SubSection "Display" 
Depth 8 
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
"640x480" 
EndSubSection 
SubSection "Display" 
Depth 15 
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
"640x480" 
EndSubSection 
SubSection "Display" 
Depth 16 
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
"640x480" 
EndSubSection 
SubSection "Display" 
Depth 24 
Modes "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600"
"640x480" 
EndSubSection 
EndSection 


Section "ServerLayout" 
Identifier "Default Layout" 
Screen "Default Screen" 
InputDevice "Generic Keyboard" 
InputDevice "Configured Mouse" 
EndSection 

Section "DRI" 
Mode 0666 
EndSection



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Apt-get problem

2008-11-03 Thread Josep M.

Hello Eugene.

Thanks, I will change in next msgs, about apt-get upgrade nothing is 
upgraded:


The problem is that apt-get want remove a lot of packages without 
needed, and I would like change this.


deb:# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

I have two packages for upgrade and would like what are, dpkg returns 
nothing::


140:/home/system/debian/install# dpkg --get-selections | grep hold
140:/home/system/debian/install#


Greetings
Josep


Eugene V. Lyubimkin wrote:

Josep M. wrote:
  

Hello.

With "aptitude dist-upgrade" all is ok but "apt-get dist-upgrade" want
delete a lot of packages...how can I fix it?


[snip]

Firstly, please not post locale-specific output of commands, use "LANG=C
command" instead.

Secondly, yes, aptitude now has better dependency-resolution algorithm.
You can also try 'apt-get upgrade', however.

  



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Non-Debian Provided Packages

2008-10-18 Thread Josep M.
Hello.

Openoffice.org have .deb packages for debian, I have in etch and runs
well.

Josep

El sáb, 18-10-2008 a las 16:11 +0900, Osamu Aoki escribió:
> Hi,
> 
> On Fri, Oct 17, 2008 at 11:40:55PM -0700, Jason C. Wells wrote:
> > Is it advisable to install non-Debian provided packages? 
> 
> Advisable-- No
> Will it work -- probably if you read their documentation for
> requirement.
> 
> > For example .deb files are out for openoffice3 but they haven't made  
> > their way to lenny yet.  
> 
> We are freeze for lenny release so sid is not updated as frequently.
> 
> > It seems like the Sun provided .deb files  aren't quite so slick with
> > handling dependencies.  That or I am missing  some important bit of
> > understanding on how .debs work.
> 
> I did not test them.  (Some venders link software statically to avoid
> dependency issues.)  Download link was pointing to tar.gz file.
> 
> Let's see what we have:
> http://packages.qa.debian.org/o/openoffice.org.html
> Available versions
> Oldstable   1.1.3-9sarge8
> Oldstable Security Updates  1.1.3-9sarge9
> Stable  2.0.4.dfsg.2-7etch5
> Stable Security Updates 2.0.4.dfsg.2-7etch5
> Testing 1:2.4.1-11
> Unstable1:2.4.1-11
> Experimental1:3.0.0-3
> 
> It looks like someone is uploading it to Experimental now.
> 
> 
> Osamu
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Any backport of iceweasel 3.0 for etch?

2008-06-22 Thread Josep M.
Hello.

If someone knows any backport of iceweasel 3.0 for etch, please post
here the repository.

Thanks
Josep



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SASL AUTH problem

2008-05-18 Thread Josep M.
Hello Till.

Finally the bug was in chpasswd command inclosed in debian etch, that
accepts only 8 characters.

Thanks for all help.
Josep



El vie, 16-05-2008 a las 20:15 +0200, Till Wimmer escribió:
> Hi Josep,
> 
> looks to me like sasl PALINTEXT only checks matching on the first 8 
> characters...
> 
> Till
> 
> Josep M. wrote:
> > Hello.
> > 
> > I try the following:
> > 
> > testsaslauthd -f /var/spool/postfix/var/run/saslauthd/mux -u test -p
> > passwordgood   (pass OK) This is OK
> > testsaslauthd -f /var/spool/postfix/var/run/saslauthd/mux -u test -p
> > passwordgoodX  (pass OK) This should FAIL
> > 
> > The password is "passwordgood" but "passwordgoodX" is accepted
> > too!
> > 
> > Butfor example "passwoCCrdgood" is NOT accepted
> > 
> > 
> > debianet:/home/krasher# cat /etc/default/saslauthd
> > START=yes
> > MECHANISMS="pam"
> > MECH_OPTIONS=""
> > THREADS=5
> > OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"
> > 
> > debianet:/home/krasher# cat /usr/lib/sasl2/smtpd.conf
> > pwcheck_method: saslauthd
> > mech_list: LOGIN PLAIN
> > log_level: 5
> > 
> > 
> > debianet:/home/krasher/testing-smtp/new/commands/cat /etc/pam.d/smtp
> > @include common-auth
> > @include common-session
> > @include common-account
> > @include common-password
> > 
> > 
> > I use debian etch, what more can I look? I don't have saslauthd.conf
> > file in the computer
> > 
> > Thanks in advance
> > Josep
> > 
> > 
> > 
> > 
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



SASL AUTH problem

2008-05-16 Thread Josep M.
Hello.

I try the following:

testsaslauthd -f /var/spool/postfix/var/run/saslauthd/mux -u test -p
passwordgood   (pass OK) This is OK
testsaslauthd -f /var/spool/postfix/var/run/saslauthd/mux -u test -p
passwordgoodX  (pass OK) This should FAIL

The password is "passwordgood" but "passwordgoodX" is accepted
too!

Butfor example "passwoCCrdgood" is NOT accepted


debianet:/home/krasher# cat /etc/default/saslauthd
START=yes
MECHANISMS="pam"
MECH_OPTIONS=""
THREADS=5
OPTIONS="-c -m /var/spool/postfix/var/run/saslauthd"

debianet:/home/krasher# cat /usr/lib/sasl2/smtpd.conf
pwcheck_method: saslauthd
mech_list: LOGIN PLAIN
log_level: 5


debianet:/home/krasher/testing-smtp/new/commands/cat /etc/pam.d/smtp
@include common-auth
@include common-session
@include common-account
@include common-password


I use debian etch, what more can I look? I don't have saslauthd.conf
file in the computer

Thanks in advance
Josep




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Spamassassin don' t find perl

2008-05-08 Thread Josep M.
Hello.

I have installed spamassassin from www.backports.org and runs well, but
when I want stop this gives me a message error that perl is not found.

I have all ok in my system, and perl is in the right place, what can I
do here?

Here is all details

debianet:/etc/postfix/system/backup# /etc/init.d/spamassassin stop
Stopping SpamAssassin Mail Filter Daemon: No /usr/bin/perl found
running; none killed.
spamd.

debianet:/etc/postfix/system/backup# ps ax |grep spamd
 5071 ?Ss 0:01 /usr/sbin/spamd --create-prefs --max-children
2 --username spamd --helper-home-dir -s spamd.log -d --pidfile=spamd.pid
 5166 ?S  0:00 spamd child
 5167 ?S  0:00 spamd child
27955 pts/1R+ 0:00 grep spamd


debianet:/etc/postfix/system/backup# apt-show-versions spamassassin
spamassassin/etch uptodate 3.2.4-1~bpo40+1

debianet:/etc/postfix/system/backup# apt-show-versions spamc
spamc/etch uptodate 3.2.4-1~bpo40+1

debianet:/etc/postfix/system/backup# apt-show-versions perl
perl/etch uptodate 5.8.8-7etch3

debianet:/etc/postfix/system/backup# ls /usr/bin/perl*
/usr/bin/perl   /usr/bin/perlbug  /usr/bin/perldoc   /usr/bin/perlivp
/usr/bin/perl5.8.8  /usr/bin/perlcc   /usr/bin/perldoc.stub



Thanks
Josep



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Vmware 6.0.3 and usb drivers

2008-04-06 Thread Josep M.
Hello.

I installed vmware workstation 6.0.3 in a etch host and complains me
every time about that i must upgrade the usb drivers of my etch for have
good performance abd stability, and with my 4gb usb pen drive is giving
me a lot of problems if i use usb2, i had to put some parameters in
the .vmx for use only usb1, but is too slow... someone knows what
package di I need upgrade?

Thanks in advance.

Josep




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Error with apt-mirror

2007-11-08 Thread Josep M.
Hello. 

I want set up my own mirror of debian, I tried with
apt-mirror and some files are missing, this is the
error.

I don´t understand, if there is 164 mb waiting for
download why don´t download nothing.

Thanks


debian:/home/system/debian/mirror1/ftp.fi.debian.org/debian#
apt-mirror
Downloading 20 index files using 6 threads...
Begin time: Thu Nov  8 11:56:40 2007
[6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Thu Nov  8 11:56:41 2007

Proceed indexes: [PPP]

163.0 MiB will be downloaded into archive.
Downloading 104 archive files using 6 threads...
Begin time: Thu Nov  8 11:56:44 2007
[6]... [5]... [4]... [3]... [2]... [1]... [0]...
End time: Thu Nov  8 11:56:47 2007

0.0 bytes in 0 files and 0 directories can be freed.
Run /var/spool/apt-mirror/var/clean.sh for this
purpose.

debian:/home/system/debian/mirror1/ftp.fi.debian.org/debian# 


   
__ 
Pregunta, Responde, Descubre. 
Comparte tus consejos y opiniones con los usuarios de Yahoo! Respuestas 
http://es.answers.yahoo.com/info/welcome


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Packages who requires restart computer

2007-07-02 Thread Josep
Hello Ron.

I would like know if checkrestart will detect a kernel and libc update,
I was writing an script today for my home server and this is the only
issue that I don't  know and is difficult test.

If not I will put inmy scitp that detects when kernel and libc will be
updated.

Thanks for all the answers.
Josep




El lun, 02-07-2007 a las 12:09 -0500, Ron Johnson escribió:
> On 07/02/07 11:47, Rick Pasotto wrote:
> > On Mon, Jul 02, 2007 at 09:42:15AM -0700, Alan Ianson wrote:
> >> On Mon July 2 2007 09:25:50 am Josep wrote:
> >>> Hello.
> >>>
> >>> I use etch and would like know what packages will require a full
> >>> restart of the computer, if there is any tool for do this
> >>> automatically, and if not, I will do an script for do this myself.
> >> The kernel. When the kernel is updated you need to restart your box to
> >> get the new kernel up and running. All the services on your box can be
> >> stopped or restarted from /etc/init.d/whatever as needed.
> > 
> > What about libc? I have seen anomolies when some programs are using the
> > new version and some are still using the old.
> 
> /usr/sbin/checkrestart in package debian-goodies will list out for 
> you all the currently-running PIDs that are using "old" files, and 
> give you a list of commands that will fix most of the problems.
> 
> The rest of the issues are left as an exercise for the reader.  But 
> if I can figure out which pids to kill and jobs to restart, so can you.
> 
> So, installing a new kernel really is the only reason you ever need 
> to reboot.
> 
> -- 
> Ron Johnson, Jr.
> Jefferson LA  USA
> 
> Give a man a fish, and he eats for a day.
> Hit him with a fish, and he goes away for good!
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Packages who requires restart computer

2007-07-02 Thread Josep
Hello.

I use etch and would like know what packages will require a full restart
of the computer, if there is any tool for do this automatically, and if
not, I will do an script for do this myself.

Thanks
Josep



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Fonts quality in Desktop with Iceweasel

2007-06-03 Thread Josep

Hello Florian.

Disabling bitmaps and changing Xft.hinting to "1" and  Hintstyle to
"hintmedium" is giving much more screen quality, the same than Redhat,
this was the issue. Now is Ok.

Many thanks for your help.

Josep


> > [EMAIL PROTECTED]:~$  awk '/fontconfig/,/^$/{if (/^(Na|Va)/) print}' 
> > /var/cache/debconf/config.dat
> > Name: fontconfig/enable_bitmaps
> > Value: true
> > Name: fontconfig/hinting_type
> > Value: Native
> > Name: fontconfig/subpixel_rendering
> > Value: Automatic
> 
> I would try to disable bitmap fonts. (The rest looks good to me.) You
> can run (as root)
> 
> dpkg-reconfigure fontconfig-config
> 
> and choose "No" for "Enable bitmapped fonts by default?" (This is the
> last question that you will be asked.) Then you can restart X and check
> if this improves things. (Normally it does.) 
> 
> > [EMAIL PROTECTED]:~$ xrdb -query | grep Xft
> > Xft.antialias:  1
> > Xft.dpi:96.00
> > Xft.hinting:0
> > Xft.hintstyle:  hintnone
> > Xft.rgba:   none
> > [EMAIL PROTECTED]:~$
> 
> You can try if you like font hinting by running (under X)
> 
> echo -e "Xft.hinting: 1\nXft.hintstyle: hintfull" | xrdb -merge
> 
> You can also try "hintslight" and "hintmedium" instead of "hintfull".
> You have to restart iceweasel after making a change to see the effect.
> 
> Some people even prefer to turn off antialiasing. This is all somewhat
> subjective and also depends on which fonts and which display you use.
> 
> Once you find your preferred settings you can make them permanent by
> putting them into ~/.Xresources or by using the GUI font setup tool of
> your desktop environment.
>  
> > --- Florian Kulzer escribió:
> > 
> > > On Fri, Jun 01, 2007 at 22:42:10 +0200, Josep M. wrote:
> > > > Hello to all.
> > > > 
> > > > I have in the same machine centos 4.4 and debian etch, in centos,
> > > > when using firefox fonts are much better quality than debian, in
> > > > both I have added the same Microsoft fonts, Arial,
> > > > Tahoma,Verdana... ad all fonts are much better displayed in Centos
> > > > than Debian when using Iceweasel or Firefox in centosI think I
> > > > must tweak anything, but in both I use the same updated nvidia
> > > > drivers.
> 
> [...]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Fonts quality in Desktop with Iceweasel

2007-06-01 Thread Josep M.
Hello to all.

I have in the same machine centos 4.4 and debian etch,
in centos, when using firefox fonts are much better
quality than debian, in both I have added the same
Microsoft fonts, Arial, Tahoma,Verdana... ad all fonts
are much better displayed in Centos than Debian when
using Iceweasel or Firefox in centosI think I must
tweak anything, but in both I use the same updated
nvidia drivers.

Xor config is ok, so, I would like know what more can
be needed tweak.

Thanks
Josep









__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Posicionamiento WEB. Top10 en GOOGLE. Link building profesional. Creación de enlaces. Optimización de webs. Mantenimiento de webs. [EMAIL PROTECTED] . T. +34 639745404

2007-03-10 Thread JOSEP - INTERNET MARKETING
Distinguido señor:
Somos un grupo de PROFESIONALES especializados en el POSICIONAMIENTO de
PAGINAS WEB. Si desea estar entre los 10 primeros en GOOGLE, contacte
nos en el Telf. 0033 170906629 (Francia) o en el Telf. 639745404
(España)o en el mail: [EMAIL PROTECTED] .Creación de
LINKS RECIPROCOS de una forma inmediata, mejora del PAGE RANK,
optimización de sus PÁGINAS para Google.  Servicio rápido y
profesional. Pida presupuesto y estudio gratuito de su Web.
Saludos cordiales.  Fdo. Josep - [EMAIL PROTECTED] -o-
[EMAIL PROTECTED] .Telf.+33 170906629-Calle F.MACIA,2 BAJOS-43204-REUS.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Veritas Remote Unix Agent

2007-03-01 Thread Josep . Llaurado
Hi,

I'm currently using the Veritas Remote Unix Agent under several Debian 
hosts.

Which kind of problem you have configuring it? Or you need a few 
guidelines about the installation?

Best regards.




"Julian De Marchi" <[EMAIL PROTECTED]> 
01/03/2007 06:57

Para

cc

Asunto
Veritas Remote Unix Agent






Hi All,

I was wondering if anyone has had any luck getting the Veritas Remote Unix
Agent working under debian. So far my google searches have told me that it
is not supported in debian. Any work around ideas if that is the case?

http://forums.veritas.com/discussions/thread.jspa?threadID=49292&messageID=4

374806

Julian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]




vsftpd: OOPS: vsf_sysutil_recv_peek

2006-07-12 Thread Josep Lluís López Munné
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

*** I am not subscribed to the list
*** Please CC me at [EMAIL PROTECTED]

In an undetermined date, vsftpd started giving the error reported
below. As etch is the "testing" distribution now, I "apt-get upgrade"
once or twice a month.

OS: Debian etch GNU/Linux (+/- June 2006)
vsftpd: 2.0.3-1.0.1
kernel: 2.6.12-1-686

[...]
331 Please specify the password.
Password:
230 Login successful.
ftp> ls
215 UNIX Type: L8
500 OOPS: vsf_sysutil_recv_peek
ftp> ls
421 Service not available, remote server has closed connection
[...]


_Cure_
# modprobe capability

I found it here:
http://www.slax.org/forum/viewtopic.php?p=55624&sid=c2cee11b429ca7e33e4f7d30fb692298

Has anyone been messing with PAM?
What is the "capability" module used for?
(I found no info in /usr/src/linux-source-2.6.12/Documentation)
Is this an vsftpd bug?
Should I report it as such?

Please send comments.


Related to vsftpd OOPS:
http://lists.debian.org/debian-user/2005/08/msg02466.html
http://lists.debian.org/debian-user/2005/08/msg02482.html


Thank you,
Josep L. López

- --

_

 Public Key at http://pgp.mit.edu/
 Key ID: 0x8A5203BE
_
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEtMFaRG0d+IpSA74RAq5IAJ43mokv6t/DLr0HMg/QHwvd88AZDQCguNmM
CZ/t0oGUmRLNzOFQU2MDs9g=
=lZKz
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Troubles running KDM after upgrading Xorg v7

2006-06-13 Thread Josep Serrano
Hello list.

I am running a box with debian testing and I had some troubles running KDM after
upgrading to Xorg v.7. After watching syslog the fix was simple: the file 
/usr/bin/X
was missing.
I just created a link /usr/bin/X -> /usr/bin/Xorg.

Perhaps I shall better modify some init script variable to make it launch 'Xorg'
instead of 'X' ?

I did just breake it by accident or someone else has experienced the same kind 
of
trouble with the Xorg upgrade ?

Cheers!
Josep SERRANO


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Troubles related to VMWare after upgrading Debian to Xorg v7

2006-06-13 Thread Josep Serrano
Hello list.

Here some hints related to VMWare I found after upgrading a debian box to Xorg7 
in a
hosted system.

If you download a package xserver-xorg-video-all it will install for you all 
video
drivers. Actually you just need the package xserver-xorg-video-vmware and you 
can
remove all other packages installed by the xserver-xorg-video-all. So fra it 
works
good.

Now if you want to use a VMWare mouse driver you don't find it in the list of
xserver-xorg-input-* packages. The quick fix is:

1- Install vmware tools if don't have it already.
2- cp /usr/lib/vmware-tools/configurator/XOrg/6.8.x/vmmouse_drv.o
/usr/lib/xorg/modules/input/.
3- Modify your xorg.conf to use the mouse driver 'vmmouse'.


Hope it helps.
Josep SERRANO


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: security issues with apache!

2006-03-07 Thread Josep Serrano
Hello Petter

The actual list for security issues is debian-security. The address of this 
list its
on the CC. We can now leave debian-user and switch our discussion into
debian-security.

This is quite hole! Can't believe there's such a big spot in Apache / Sarge and 
we
didn't heard of it. Can you please share more details with us?

Give us your current package versions of apache (using dpkg -s for example). If 
you
suspect the installation could be compromised run a test on the checksums.

Your access logs could contain precious information. Have a look at them and 
post to
the list any significant parts (removing any ip/host address you don't want to 
get
published).

We still don't know for what do you use your apache. Most of the problems come 
from
poor PHP scripts. What scripts/services are you running in this server?

Can you post a sample of your netstat, your list of process for user www-data, 
and a
sample of the files you find in your /tmp ?


Regards,
Josep SERRANO


> Hi
>
> I'm not completely new to Debian or Linux, but I wouldn't classify
> myself as a battlescarred sysadmin just yet :)
>
> Anyways. My problem is security-related, and I hope that I'm posting to
> the correct list as well as hoping that someone can help me out here.
>
> Recently I've noticed that my Apache-installation gets violated and that
> an intruder somehow manages to put stuff in /tmp and /var/tmp. Then it
> makes Apache execute these. Unfortunately these are some rather nasty
> things, mostly portscanners and bruteforce-attacks. They are all easily
> detected with netstat, and at least once a day I have to go in and kill
> the processes spawned by www-data (the user that runs Apache) as well as
> delete the offending files.
>
> Now, like I said - I'm not a pro, I'm trying to learn by doing.
> Unfortunately how this happens is way over my experience, and now I
> could really use some help in fixing this leak. I've narrowed it down to
> Apache only, but I have no clue as to how to seal the leak. I'm running
> a small server in my home using (mostly) Debian Sarge. This is a real
> Frankenstein-machine as it was originally a Woody-box, but it's been
> upgraded with bits from all over. It's been running pretty much
> constantly for three years. Of course I apply security fixes when they
> arrive, but I don't know if the source of these intrusions is Apache or
> just that I have managed to fubar some setting somewhere, allowing an
> attacker to make Apache execute code.
>
> Essentially the machine is Debian Sarge, with MySQL and PHP4. There are
> other services running on it, but I've noticed that the
> intrusions/code-executions only happen through Apache. MySQL only
> listens on localhost and accepts no connections from the outside. Hence,
> I hope that this is limited to Apache. Apache is 1.3.x, MySQL 4.0.24 and
> PHP 4.3
>
> I deeply appreciate any help that can make me seal this leak! Thank you
> all in advance!
>
> /petter senften
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sitebar

2006-02-27 Thread Josep Serrano
Thanks for your reply Jon

>> I tried contacting the maintainer but had no answer. Is this package
>> dead?
>
> How long ago? See "Dealing with inactive and/or unreachable maintainers"
> in the Developer's Reference[1].
>

Just one week. I read the reference you pointed. I'll wait some more time and
eventually I'll send another reminder. I really like sitebar.

> If the maintainer doesn't wake up then you will have to wait until
> someone else does the package -- a NMU (non maintainer upload) by a
> different developer or by a non-DD (e.g. you) sponsored by an existing
> DD.

I hope the maintainer is still there. I don't have any experience building 
debian
packages :-(

Cheers,
Josep SERRANO


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Sitebar

2006-02-27 Thread Josep Serrano
Any debianites are using sitebar?

I do and I wonder why it is stalled in version 3.2.6-7 since last
year:(http://packages.qa.debian.org/s/sitebar.html)

I tried contacting the maintainer but had no answer. Is this package dead?

There are a few open bugs in the current debian version. The actual stable 
version
at sitebar.org is 3.3.7. Can we expect any updates to the debian package?


Thanks,
Josep SERRANO


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-20 Thread Josep Serrano
Hello all again.

So what do we do? What is the cron/multi-user safe way to clean up regularly 
/tmp ?

I checked the way bootclean.sh is implemented:

if cd /tmp && [ "`find . -maxdepth 0 -perm -002`" = "." ]
  then
# First remove all old files.
find . -depth -xdev $TEXPR $EXCEPT \
! -type d -print0 | xargs -0r rm -f
# And then all empty directories.
find . -depth -xdev $DEXPR $EXCEPT \
-type d -empty -exec rmdir \{\} \;
rm -f .X*-lock
  fi


So, "find" doesn't follow symlinks by default right? Where is the risk in 
removing
other files outside /tmp by means of symlinks?

Man find says:
(...)
-P Never  follow  symbolic links.  This is the default behaviour.  When find
examines or prints information a file, and the file is a symbolic link, the
information used shall be taken from the properties of  the  symbolic  link 
itself.

cheers
Josep SERRANO

>> Yes, tmpreaper does the job. But here I was preteding to simply reuse the
>> bootclean.sh by simply making a symlink. Why installing an addittional
>> package if you already have the stuff to the the job?
>>
>> Maybe I am wrong and it is a bad idea using bootclean.sh in crond ?
>
> Generally speaking, unless you know for sure, you don't want to assume
> something is cron-safe.
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Josep Serrano
> On Friday 17 February 2006 07:29, Josep Serrano wrote:
>> Do you guys clean regularly your /tmp ?
>
> Yup.  The tmpreaper package is great for that.
>

Yes, tmpreaper does the job. But here I was preteding to simply reuse the
bootclean.sh by simply making a symlink. Why installing an addittional package 
if
you already have the stuff to the the job?

Maybe I am wrong and it is a bad idea using bootclean.sh in crond ?

Cheers
Josep SERRANO.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Josep Serrano
Do you guys clean regularly your /tmp ?

There's a nice script in /etc/init.d/bootclean.sh that does the job.
It is called from mountall.sh at boot time. And it is so nice that is reads the
configuration in /etc/default/rcS where you can set TMPTIME to the number of 
days
you want hold old files in /tmp.

But it only runs at boot time.
I was thiking I'll make my own clean-up script that will be launched by crond. 
But
why remake the wheel?

Can I simply symlink /etc/init.d/bootclean.sh in /etc/cron.daily ?
If this strategy is good, can we suggest that debian implements so by default?
Eventually a new variable somewhere in /etc/default would enable/disable the
execution of bootclean.sh by crond.

BTW: Why bootclean.sh is the only script in /etc/init.d which is not flagged as
executable?

Your comments are welcome,
Josep SERRANO.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Cleaning /tmp regularly using bootclean.sh + crond

2006-02-17 Thread Josep Serrano
Do you guys clean regularly your /tmp ?

There's a nice script in /etc/init.d/bootclean.sh that does the job.
It is called from mountall.sh at boot time. And it is so nice that is reads the
configuration in /etc/default/rcS where you can set TMPTIME to the number of 
days
you want hold old files in /tmp.

But it only runs at boot time.
I was thiking I'll make my own clean-up script that will be launched by crond. 
But
why remake the wheel?

Can I simply symlink /etc/init.d/bootclean.sh in /etc/cron.daily ?
If this strategy is good, can we suggest that debian implements so by default?
Eventually a new variable somewhere in /etc/default would enable/disable the
execution of bootclean.sh by crond.

BTW: Why bootclean.sh is the only script in /etc/init.d which is not flagged as
executable?

Your comments are welcome,
Josep SERRANO.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to use sftp with root account

2006-02-17 Thread Josep Serrano
Hi lucato

>
> the init.d script that start sshd is the debian default:
(..)
> $SSHD_OPTS is an empty variable in /etc/default/ssh:

If you are using default init with enpty options then sshd reads the 
configuration
file in /etc/ssh/sshd_config. That's fine.

Now your local sftp client log has some good information:

(...)
> debug1: Next authentication method: password
> [EMAIL PROTECTED]'s password:
> debug1: Authentication succeeded (password).

The login handshake works. At this point you did login in ssh with sucess.

> debug1: channel 0: new [client-session]
> debug1: Entering interactive session.
> debug1: Sending environment.
> debug1: Sending env LANG = [EMAIL PROTECTED]
> debug1: Sending subsystem: sftp
> Received message too long 538976288

Here something is messing up the protocol.
It may happen because of some startup file or because of some weird setting. 
Did you
change any environment/startup file recently?

Check all your .profile .login ... files. The ones for the root user but also 
the
system wide ones. Something is breaking the ssh protocol when your root 
environment
is being initialized.

Perhaps you can find what "message too long" is being send with the following 
command:
ssh [EMAIL PROTECTED] /bin/true

It should print whatever is being send at the initialization. The point is that 
sftp
doesn't expect such a long message.


Good luck,
Josep SERRANO.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Unable to use sftp with root account

2006-02-16 Thread Josep Serrano
Hello lucato

You have enabled remote root login in your sshd_config. Anyway doucle check 
that this is the actual configuration file being read when sshd starts (see 
your init scripts).

To debug your problem try to use sftp in the local server from command line:
sftp -v [EMAIL PROTECTED]

paste your results back to the list and we'll help you.

Josep SERRANO.

On Thursday 16 February 2006 07:15 pm, [EMAIL PROTECTED] wrote:
> Hello, I am used to connect to my LAN server using sftp (with tectia
> client), logging in as "root".
> My server is a Debian testing updated day by day.
> Since 2 or 3 days I am unable to connecto to the server as "root".
> If I try to connect with another account I get in; seems that some software
> are blocking me if I try root access.
> I looked in /etc/ssh/sshd_config and pam config but nothing's wrong. I also
> tried to restore old configuration but nothing.
> Any idea ?
>
> 
> /etc/ssh/sshd_config
>
> Port 22
> Protocol 2
> HostKey /etc/ssh/ssh_host_rsa_key
> HostKey /etc/ssh/ssh_host_dsa_key
> UsePrivilegeSeparation yes
> KeyRegenerationInterval 3600
> ServerKeyBits 768
> SyslogFacility AUTH
> LogLevel INFO
> LoginGraceTime 120
> PermitRootLogin yes
> StrictModes yes
> RSAAuthentication yes
> PubkeyAuthentication yes
> IgnoreRhosts yes
> RhostsRSAAuthentication no
> HostbasedAuthentication no
> PermitEmptyPasswords no
> ChallengeResponseAuthentication no
> X11Forwarding yes
> X11DisplayOffset 10
> PrintMotd no
> PrintLastLog yes
> KeepAlive yes
> AcceptEnv LANG LC_*
> Subsystem sftp /usr/lib/openssh/sftp-server
> UsePAM yes
> 
> /etc/pam.d/login
>
> auth   requisite  pam_securetty.so
> auth   requisite  pam_nologin.so
> session   required   pam_env.so readenv=1
> @include common-auth
> auth   optional   pam_group.so
> @include common-account
> @include common-session
> sessionrequired   pam_limits.so
> sessionoptional   pam_lastlog.so
> sessionoptional   pam_motd.so
> sessionoptional   pam_mail.so standard
> @include common-password
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: install grub to second hard drive after raid installation

2006-02-14 Thread Josep Serrano
Hello Rodney

Your strategy to mount grub to boot from a second HDD is right.

Some comments:

You'll need a hardware capable of booting from another HDD.
Most of the modern PC BIOS allow to choose your boot media (HDD, CD, FLOPPY, 
even USB).


> /boot/grun/menu.list
>
> title   Debian GNU/Linux, kernel 2.6.8-2-686-smp
> root(hd0,0)
> kernel  /boot/vmlinuz-2.6.8-2-686-smp root=/dev/md0 ro
> initrd  /boot/initrd.img-2.6.8-2-686-smp
> savedefault
> boot
>
> title   Debian GNU/Linux, kernel 2.6.8-2-686-smp (recovery mode)
> root(hd0,0)
> kernel  /boot/vmlinuz-2.6.8-2-686-smp root=/dev/md0 ro single
> initrd  /boot/initrd.img-2.6.8-2-686-smp
> savedefault
> boot
>

If you are building a RAID-1, you might configure a second entry in your grub 
menu
to boot using your second disk as root. If your first disk is gone and you get 
to
boot grub in your second disk, you'll need to run a root partition in the second
disk, dont you?


Regards,
Josep SERRANO.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: different resolution on notebook LCD and VGA

2006-01-31 Thread Josep Serrano
Hello

I have a laptop with widescreen LCD and I didn't manage to have a dual head
configuration for both widescreen and external monitor at the same time.

I have to different xorg configuration files and a set of scripts which can 
swtich
between configurations and restart my X server.

New ideas are welcome.

Regards,
Josep SERRANO.

> maybe this is nonsense... is it possible to run x windows with
> different resolution on the notebook LCD and different on the VGA out at
> the same time? ideally i'd like to have the output 1024x768 on the LCD
> and 1280x1024 sent to the VGA output (i want to connect it to another
> LCD that has this resolution - 1024x768 indeed looks ugly on it...)
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Exim4 & SSL support

2006-01-27 Thread Josep Serrano
Marco,

Do you have enabled the TLS macro somewhere?
MAIN_TLS_ENABLE = true

TLS will run in port 25. I guess this is also the rule with SSL.

> log_selector = +tls_cipher +tls_peerdn
> tls_advertise_hosts = *
> tls_certificate = /etc/ssl/certs/exim4cert.pem
> tls_privatekey = /etc/ssl/certs/exim4key.pem
>
> When exim is started, if I try a netstat -punta |grep exim4 command I
> have this output :
> tcp0  0 0.0.0.0:25  0.0.0.0:*
> LISTEN 3781/exim4
> Exim don't use the port 465 (for smtps).
>
> Infact, if  I try to connect with an TLS encryption is OK, but if I try
> to connect with an SSL encryption (on port 25)
> the connection fail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Howto package squirrelmail plugins the Debian way (Was Re: Sieve client)

2006-01-26 Thread Josep Serrano
Hello all,

Well apparently some of us are interested in the squirrelmail plugins. We should
definetely push it.



>> .. I feel this would be the best option. Security updates are
>> important since all of this will be exposed to the net. Size doesn't
>> matter, even if you'd install all known plugins it would use only a
>> small amount of diskspace. Most of all, as Josep mentioned, this way
>> the plugins would be upgradable too when moving to a new debian
>> release. If the user would like to free up diskspace, deleting some
>> plugins is a trivial task, but would apt be able to notice the
>> deletions and act appropiately when upgrading?
>
> Depends on what you think is appropriate: apt (or rather, dpkg) will
> simply restore the deleted files on upgrade (it cannot know which ones
> were deleted intentionally).
>
> As plugins are only exposed when enabled by the admin in some way via a
> config option in /etc/squirrelmail, I too feel this would be the best
> solution if we were to package the plugins ourselves.
>

Obviously the mainstream solution can never satisfy everyone. In this case the
mainstream package would not meet the requirements of people who just want a 
single
plugin and want to keep low their disk usage. For the rest of the prosperous 
Debian
admins who have enough disk space this package would suit their needs since they
would only enable those plugins they need.

There are 206 plugins available for squirrelmail. Thinking on maintenance I 
recon it
can be a hell keeping updated a package with integrates sources from quite a few
different developers. In the other hand, if we had one small debian package for 
each
plugin (206!), wouldn’t it be also a nightmare maintaining so many packages?

One last idea: what about a squirrelmail plugin installer? It could read the 
plugins
through HTTP and let the user select which ones must be installed.

Thijs et all, although I am not experienced maintaining debian packages I would 
be
happy helping you on this effort. Please keep me in your loop.

Are we getting out of the scope of the debian users mailing list? Let’s keep
discussing somewhere else? Perhaps some squirrelmail mailing list?


Regards,
Josep Serrano


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Howto package squirrelmail plugins the Debian way (Was Re: Sieve client)

2006-01-24 Thread Josep Serrano
I got it working. It wasn't hard to install. Big thanks go to Peter Teunissen.

To install any plugin you have to download the tarball and detar the package 
into
your squirrelmail plugins directory. Eventually for each particular plugin some
configuration file might be edited.

I guess new updates of squirrelmail will break the plugins installed manually.
My question now is how I could package the plugins the Debian way? Can we 
generalize
a method for evey plugin or perhaps setup a package with all plugins?


PD. I included the mantained of squirrelmail package in CC since he can bring 
some
enlightment.

Regards,
Josep Serrano

> Look on the squirrelmail site under plugins / filters:
>
> http://www.squirrelmail.org/plugin_view.php?id=73
>
> I use the old stable branch, but looking at the new features in the
> devel branch that might be interesting to...
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sieve client

2006-01-23 Thread Josep Serrano
Hello

I am writting you from Squireelmail :-) You don't read 100% pure email with full
headers???  X-D

So, where can I find or how do I enable this plugin please ?

Thanks,
Josep SERRANO.

>
> Squirrelmail webmail server has a sieve plugin that let's you create
> elaborate filter / alert etc. rules graphically. You'd get access to
> your sieve scripts from anywhere and a webmailserver as an added
> bonus ;-)
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Exim4 & SSL support

2006-01-23 Thread Josep Serrano
Hi Marco

It doesn't matter if you are using either heavy or light packages. You need to
enable the macro MAIN_TLS_ENABLE somwhere in your configuration files. It 
depends if
you are using monolitic or distributed configuration.

Read the file in /etc/exim4/conf.d/main/03_exim4_config_tlsoptions and you'll 
see
this macro enables the rest of the TLS options.

Then you need to create a set of SSL keys with openssl. You can use the utility
script exim-gencert for this purpose.

One last important thing, check that the user running your SMTP daemon has read
access to your SSL keys.


Regards,
Josep SERRANO


> I have exim4-daemon-heavy (v. 4.50-8)  installed on my Linux Box with
> Debian Sarge.
>
> Can exim4 work with SSL support (port 465)?
>




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: utility to grab a web site

2006-01-23 Thread Josep Serrano
wget and curl are powerful tools.
they can handle passwords, but also cookies, you can build your own HTTP 
headers, etc.

Regards,
Josep Serrano.

> Try 'wget', it can even handle passwords
>
> On Sun, 2006-01-22 at 18:16 -0500, Edward Shornock wrote:
>> On Sun, Jan 22, 2006 at 05:44:57PM -0500, Haines Brown wrote:
>> > I have a need to recursively capture the entire contents of a large
>> > web site that uses frames. What utility would accomplish this and
>> > automatically reproduce the directory structure and populate the
>> > directories with the files and images from the site?
>>
>> I think "httrack" should be able to accomplish this...



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Sieve client

2006-01-20 Thread Josep Serrano
Hello

Do you know of a good sieve client app for cyrus?
I know Kmail has some short sieve functionality (vacation message). Here I am
thinking of a more complex filtering / alerts / etc.


Thanks,
Josep SERRANO.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vsftpd: problems with "chown_username"

2005-08-22 Thread Josep Lluís López Munné
*** I am not subscribed to the list
*** Please CC me at [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>

Update.

I have found the following bug report:

vsftpd: uploaded files always 0600 if chown_uploads is set
(*356 days old)*

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


I think it is the same bug, although it was reported for version
2.0.1-1. Should I file a new bug report?


Josep L. López




vsftpd: problems with "chown_username"

2005-08-22 Thread Josep Lluís López Munné
Sent again (2005-8-22) as the first post (19/08/05) didn't appear on
the list. Is there something wrong in this message?

*** I am not subscribed to the list
*** Please CC me at [EMAIL PROTECTED]
If this is not the right place to post, please let me know.

OS: Debian Sarge GNU/Linux
vsftpd: 2.0.3-1
kernel: 2.6.11-1-686

$ di
Filesystem Mount   Megs UsedAvail %used fs
Type
/dev/md0   / 9388,7   2005,9   6905,9  26%  ext3
tmpfs  /dev10,0  2,9  7,1  29%
tmpfs
tmpfs  /dev/shm   252,1  0,0252,1   0%
tmpfs
/dev/md3   /home   142984,1 116260,2  26723,9  81%  xfs
/dev/md4   /home/backup346384,9 32,1 342833,7   1%  ext3
/dev/md1   /var 25340,4   1781,0  23044,5   9%  ext3


1- Even with this configuration, uploaded files had the following
permissions (0600)
-rw---1 107  655342025 Aug 19 08:02 index.html

[...]
chown_uploads=YES
chown_username=ftp

anon_umask=022
file_open_mode=0666

The umask only affected the creation of directories (I tried different
umasks).

2- After commenting the "chown" entries like this
#chown_uploads=YES
#chown_username=ftp

anon_umask=022
file_open_mode=0666

permissions worked well, e.g.
-rw-r--r--1 107  655342025 Aug 19 08:47 index.html


3- With the following configuration, the ftp client got an OOPS:
ftp> put index.html
local: index.html remote: index.html
200 PORT command successful. Consider using PASV.
500 OOPS: fchown
ftp> ls
OOPS: priv_sock_get_result
421 Service not available, remote server has closed connection.

Config:
chown_uploads=YES
chown_username=(normal-user)

anon_umask=022
#file_open_mode=0666

I tried this last config. with a normal user just to experiment.
The log /var/log/vsftpd.log shows nothing relevant.


I have settled with the configuration shown in number 2, as it works for
me.

Questions:
1- Is this behaviour of vsftpd normal or is this a bug?
(I might have been doing something wrong in the config)

2- Where or how can I get error messages?
Just to try, I put a wrong entry in the config file (something like
this_is_rubbish), but I saw no error messages in any of the following
files:
/var/log/vsftpd.log
/var/log/messages
/var/log/syslog.


Thank you for your time,

Josep L. López




Optimize iso images, find duplicates

2005-07-27 Thread Josep M.
Hello.

I would like ask what package can I use for optimize an iso image, I
explain, when you have a CD with several files with identical content but
different name the program detect this and only copy one file in the iso
image and the rest of is a link inside to the iso image, this generate a
more small iso file when several identical files are present.

Josep



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



java plugin for mozilla 1.0.0 - woody

2003-11-17 Thread josep
Hi,

I'm Trying to install the java plugin in my mozilla 1.0.0 on woody. But
not succesfully.

I've dowloaded de java JRE 1.4.2 from Sun, and linked the plugin they
bring in my ~/.mozilla/plugins directory, but nothing happens.

What should I do?

Is the version of JRE too new?



Thanks in advandce.

Bye

Josep


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



gnome sound isn't working

2003-10-29 Thread josep salord
Hi,

I've woody + kernel 2.4.18 + alsa 0.9.

Alsa drivers work fine, but gnome sound events do not work. I've esound
package installed and "sound server+sound events" actived in the gnome
control center.

What is missing?

Do I need some other packages?

Thanks in advance.

Josep






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



gnome sound events NOT working

2003-10-29 Thread josep
Hi,

I've woody + kernel 2.4.18 + alsa 0.9.

Alsa drivers work fine, but gnome sound events do not work. I've esound
package installed and "sound server+sound events" actived in the gnome
control center.

What is missing?

Do I need some other packages?

Thanks in advance.

Josep






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Instalación de Paquetes

2003-10-13 Thread Josep Menaig a trois
Hola, me he instalado La debian 3.0 Woody, en principio hice una instalacion 
sencilla, es decir, in entornos gràficos y sin instalar paquetes.

Ahora quiero instalarme las "x" y otras cosas desde los 7 cd´s que me dava 
la promoción y no se que comandos usar para hacer esto. Soy un principiante 
en Linux y me harias un favor.

Gracias

_
Dale rienda suelta a tu tiempo libre. Encuentra mil ideas para exprimir tu 
ocio con MSN Entretenimiento. http://entretenimiento.msn.es/

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: identifying wlans

2002-09-24 Thread Josep Llauradó Selvas


If your problem is the packaging of the kernel you can download it and try
to 'debianize' the kernel.

It's so easy, I'm sure you can find information about it in the list, or
send me a mail for specific help creating a deb package of the kernel.

Kind Regards.

_____
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_


On Tue, 24 Sep 2002, Alex Polite wrote:

 Cafes in Stockholm are beginning to offer wlan access to their
 customers.

 I need a tool to identify essid and other stuff about a wlan, so that
 I can walk into any of these cafes and get networked in 30 seconds
 time.

 Apradar (http://apradar.sourceforge.net/) seems to do this, but it
 requires kernel 2.4.20 and is not packaged for debian.

 Any other options?

 alex

 --
 Alex Polite
 http://plusseven.com/gpg/


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: New user with X-Windows problem

2002-09-23 Thread Josep Llauradó Selvas


Can you send tot the list more information about the problem? for example
the XF86Config-4 file, the output of XFree86...

You can get the output of XFree86 executing as root:


XFree86 > /root/output-X11.log 2>&1

With this information it's possible to solve the problem.

Kind Regards.

_____
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_


On Mon, 23 Sep 2002, lameth wrote:

 Recently I installed the latest version of Debian (Woody). After the
 base system was installed and I selected my packages were installed I
 went through the x-window configuration. When that process was completed
 the operating system attempted to start X-Windows. X failed to started
 and I received the following error messages;
 (==)Parse error on line 321 of section Monitor in the /etc/X11/XF86Config
 (==)file "85" is not a valid keyword in this section.
 (EE)Problem parsing the config file
 (EE)Error from XF86HandleConfigFile()
 No screens found

 Using emacs to view the XF86Config file I noticed the following;

 Line 321 HorizSync 30-85
 This, according to the manual for my Dell P780 monitor, 30kHz to 85 kHz
 is the Horizontal Sync range for this monitor. Down further in this
 section VertRefresh (null) was listed. During the configuration process
 I had entered 48-120 for the vertical refresh rate, which is the correct
 refresh rate according to my monitors manual. Using emacs I replaced
 (null) with 48-120 but this had no effect.

 Prior to installing Debian I had Mandrake linux 8.1 on this machine and
 X-Windows ran fine. A major difference in the installs is that under
 Mandrake linux I was able to put lilo on hda2 and booted the kernel from
 the hard drive. Debian would not let me do this so I am booting from a
 floppy. Could this have anything to do with the problem?

 The machine I'm running Debian on is a Dell Dimension XPS T500 with 128
 mb of ram and a Diamond Viper V770 Ultra with 32 mb of memory. The
 correct driver for this card ( nv) is being used.

 thank in advance.


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Connecting to X remotely w/ssh

2002-09-19 Thread Josep Llauradó Selvas


The only way to run applications over ssh IMHO is using the application
remotely, but NOT start the X server with startx.

You can make an ssh with X forwarding active adding a -X to the command
line (if your SSHD server allow X11Forwarding, that under Debian is
deactivated by default). You can check the /etc/ssh/sshd_config to
activate it.

Once in the remote host you can launch any X11 app and it will be
displayed in the local X.

To start an entire encripted remote session (I don't recomend it) I
suggest you to allow the XDMCP and if you can trick with SSH create a tunnel
of the XDMCP port. You'll find in www.openssh.net all the information
about tunnelling.

I prefer the first method, because it's the fastest and you can execute any
remote app mataining the desktop local (someone that doesn't consume CPU
if you use a 'memory-controlled' desktop).

Good luck.

_
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_


On Sun, 15 Sep 2002, Lance Hoffmeyer wrote:

 What are the steps involved in starting up an X sesstion remotely using ssh.
 I may be accessing my home computer from work and will need to run an
 X session from time to time. (Work computer really slow-Home computer really
 fast= time saver).  I can currently connect via ssh to a console screen.

 I remember reading some while back a line that needed to be added in .sshrc.
 Is this all that is needed and then just type startx?

 Lance


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Lyx package

2002-09-19 Thread Josep Llauradó Selvas


There is a lot of development for the upcoming release, because the Lyx
people are creating new frontends of the package using Gnome and Kde, that
will give us the LyX in the debian main. :-)

In the LyX web page you'll found the beta packages, but they aren't usable
at the moment (or I'm not able to do it).

We have to wait a few month to get the new release, but I'm sure we'll be
so happy to test it as soon as possible.

kind regards.


_____
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_


On 17 Sep 2002, Riaan Rottier wrote:

 Hi

 Does anybody know if the Lyx package are still being maintained, version
 1.2 has been out since May this year and 1.2.1 since August.  Or are the
 perhaps other problems that prevent the updated versions from being
 packaged ?

 Regards
 Riaan
 --
 
 Riaan Rottier BEng(Electronic) Tel: +2721 8084354
 SE 501 / Electronic engineeringFax: +2721 8084981
 University of Stellenbosch Email: [EMAIL PROTECTED]
 Private Bag X1
 Matieland 7602
 


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: binaries into deb's [newbie]

2002-09-19 Thread Josep Llauradó Selvas


Hello Kevin,

I'm not an expert, but I usually:

apt-get the packages debhelper debianutils debconf-utils and compiling
tools

create a mutt directory in /usr/local/src (for example) and cd into it
add deb-src lines in your sources.list

apt-get source mutt

Then you have in /usr/local/src/mutt/mutt- the original source
tree with a few dirs and files added, basically under debian directory.
In this directory you'll found 2 important files:

changelog: to add comments about the patches added to the main tree. To
add a comment use, under source root directory: "dch -i", that creates a
skeleton of the comment to fill-it.

rules: A script that makes the compilation and install. In this file you
can put the lines with the patch commands or you can patch yourselve prior
to the compilation.

To compile and make a deb file: debuild binary. this command executes the
rules file and creates a deb package in the /usr/local/src/mutt directory.

Hints: You can save your deb package to be override for a new one from
the debian tree using a diferent version (for example for my packages I
use -darlock.).

Well, I'm not an expert, but I did a few packages using this formula. Feel
free to send me an e-mail if you have any problem.

Regards.

_____
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_


On Sun, 15 Sep 2002, Kevin Coyner wrote:


 I recently moved from RH and SuSE over to Debian, and wished I would
 have done it sooner.  The whole distro is nice, but in particular
 apt-get is great.

 So far I've only installed standard tools/utilities/programs readily
 available via apt-get and stable/testing.  I'd like to avoid unstable if
 possible.

 Question:  how do I maintain the robustness of apt-get yet be able to
 download binaries and patches and compile them myself?

 Example:  I use and love Mutt.  Testing has v1.4, which I've apt-get
 installed, but I'd like to recompile it with a few patches that I like.
 But if I do the compiling, make and make install myself, then I lose the
 ability to track it in apt-get.

 I have to believe that after compiling I can put it all into a deb
 package, but how difficult is it, and could someone please point out a
 good reference.  I've looked for a reference, but haven't found anything
 solid yet.

 Thanks
 Kevin


 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: ncurses user admin tool for debian?

2001-12-14 Thread josep
> apt-get install linuxconf
> linuxconf --text
>
I've tried linuxconf, but it does not create users with the same profile
than adduser . So I had problems with some permissions.

Do you know why?

Thanks

Josep



ncurses user admin tool for debian?

2001-12-14 Thread josep
exists a non graphical user admin tool for debian using ncurses?

I mean to add and delete users, manage groups, etc ...
using a menu but in text mode.

Thanks

Josep






PHP+MYSQL unable to select database

2001-12-10 Thread josep
I can't select a database from a php script.

I've set privileges in both the user and the data base tables
and I've done FLUSH PRIVILEGES;

WHY?

JOSEP.



no mysql command line for normal user

2001-12-10 Thread josep
I type (as normal user called jupshoes) the following:

mysql -u jupshoes -p  guestbook.sql

and I don't connect to the server but I'm sent back to the shell after
printing the help lines.

Why?


Josep



PHP+MYSQL: unable to select database

2001-12-10 Thread josep
I get:

unable to select database

when I visit my guestbook.php

The user trying it is set in the mysql.user (without any perms) and in the
mysql.db (with all perms).

Do I have to set all perms to this user in the mysql.user table?

Josep



Re: limiting "ps" command on every user..

2001-07-03 Thread Josep Llauradó Selvas

Yo can take a look at http://www.rsbac.de/. This software give you a secured
linux environment and provides a patch to the kernel (called hypersec), that
adds more security to the kernel. One option is /proc protection.

There is arround there a lot of other patches providing similiar functionality,
you only have to download the patch and apply it to the kernel.

I've often wondered why the kernel doesn't have this feature as a 
compile 
time option.  Certain other OSes allow this feature (primarily those 
which
need military security ratings). 

I don't think the wrapper idea is a very secure one, because anyone can 
simply 
read the information from /proc.  What realy needs to be done is to 
have an
option to the /proc filesystem kernel module (perhaps it exists now, 
but it
didn't last time I looked, so forgive me if my info is out of date).


_____
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
KeyFP: D82F 525C DD22 02C9 6909  20D6 F622 F3E8 18CD C548
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_




RE: Intel FW82810 chipset

2001-03-15 Thread Josep Ll. Paniagua
UNSUBSCRIBE ME PLEASE!!

> -Mensaje original-
> De: TeknoDragon [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 15 de marzo de 2001 20:38
> Para: Nathan E Norman
> CC: debian-user@lists.debian.org
> Asunto: Re: Intel FW82810 chipset
> 
> 
> On Sat, 10 Mar 2001, Nathan E Norman wrote:
> 
> > I'm in the process of doing this right now.  You also 
> need agppart
> > support compiled into your kernel.  I'm using kernel 
> 2.4.2; I couldn't
> > get the PCI network card to play nice with 2.2.x and  
> knew the i810
> > stuff was in the 2.4.x kernels as well :)
> 
> I'm trying to setup an i810 and a matrox g400 (on 
> debian/testing)... but
> when I try to start X the screen never comes up and 
> there's no error (EE)
> messages in X's logs...
> 
> Would IRQ conflicts be a problem here? also when I 
> install agpgart it
> reports the i810 but gives  a warning about the other card...
> 
> There are some redhat7 boxes of the same configuration 
> which work fine
> under 2.2.15 and X-4.
> 
> Right now I'm doing a memory burn in just to be safe, 
> otherwise I'd give
> you more info.
> 
> 
> -karl
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 



RE: Debian with read-only /usr

2001-03-15 Thread Josep Ll. Paniagua
UNSUBSCRIBE ME PLEASE!!

> -Mensaje original-
> De: Eric G. Miller [mailto:[EMAIL PROTECTED]
> Enviado el: jueves, 15 de marzo de 2001 17:52
> Para: Debian-User
> CC: Dave Sherohman
> Asunto: Re: Debian with read-only /usr
> 
> 
> On Thu, Mar 15, 2001 at 10:22:47AM -0600, Dave Sherohman wrote:
> > I'm looking at NFS-mounting /usr for a largish number 
> of machines, with the
> > basic idea that then I can just keep the binaries on 
> the central server up-to
> > date and the workstations will all follow along with 
> (hopefully) a minimum of
> > effort.  I'm a little concerned about apt, though...  
> I wouldn't expect it to
> > be very open-minded about /usr being read-only.  
> OTOH, I probably wouldn't
> > need to run apt very often on the workstations unless 
> there's a change to
> > config file formats or an all-new package is being installed.
> > 
> > Any Debian-specific advice on running a setup like that?
> 
> # cat /etc/apt/apt.conf
> DPkg
> {
> // Auto re-mounting of a readonly /usr
> Pre-Invoke {"mount -o remount,rw /usr";};
> Post-Invoke {"mount -o remount,ro /usr";};
> }
> 
> 
> -- 
> Eric G. Miller 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 



Re: Dell 4200 w/perc3 raid

2001-02-22 Thread Josep Llauradó Selvas
On Wed, 21 Feb 2001, Bryan Hall wrote:

 Upon initial setup, Debian distro doesn't appear to recognize the perc3 
raid controller. No problem.. drivers not installed, likely. 
 Unfortunately, upon attempting to utilize the 'preload drivers' function 
in the setup, it returns an error message stating 'Cannot mount floppy' 
critical error, and places me at the 'configure network' screen under the 
assumption that it's a diskless station I'm on.
 
 Can anyone offer me any suggestions as to why this is, and how I might be 
able to get around this? Additionally, I'd be indebted to anyone who could 
point me in the right direction to obtain drivers for said perc3 controller. 
 
 Muchly appreciated, and my thanks for the patience. I'm a 'dozer who's 
seen the light, and making the big leap into the (for me, that is) great 
unknown that is Debian Linux.

Hi, I have a Dell with a percraid controller and yes, debian don't support this
type of controller... the driver was Dell's propietary without releasing the
source code, and give to the linux community pre-compiled kernels that supports
all the platforms.

A few month ago Dell releases the driver under GPL and it will be introduced
into the 2.4.x brach of the kernel when the stability increase...

I have a RedHat :-( into the machine, but I have installed the dpkg and apt
software to allow install packages from debian ;-) I recomend an aproach like
this to configure and run the machine...
 
 Respectfully,
 
 Bryan H. Hall
 
 (reply to this address if at all possible.. thanks!)
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 



Re: Passwords, Shadow Password and Samba Passwords

2001-02-05 Thread Josep Llauradó Selvas

A few month ago I had the same problem, and a lot of people here solved
all my doubts... there are the abstract of the 'Samba Passwords Amazing
History':

Situation:

1. Samba allows the use of PAM (aka shadow passwords if you
  configure it) and authentification through smbpasswd.
2. Win98 by default, only allows encripted authentification
3. Encripted authentification only can be done under samba using
  smbpasswd, 'cos the encription mechanism is diferent between
  Windows and Un*xes, and samba uses the same mechanism as Windows 
  in his smbpasswd file.

Solution:

1. You can add users using the command smbpasswd, that creates the
  smbpasswd file, and then use the option 'encrypt passwords = yes' 
  into the smb.conf file.

2. You can disable the encripted authentification from Win98
  updating a parameter into Windows Registry (into Samba.org's ftp
  you can found a Win98_PlainPassword.reg file that does it), and
  then selecting the 'encrypt passwords = no' option. Before it
  the samba daemon will use the PAM system to authentificate
  users, as any other service. This option sends the passwords in
  plain text, but the mechanism from Windows isn't secure, 'cos
  you send a hashed password that is the same every time...

Well, If you have any problem I can send you more detailed instructions
off-the-list, and I can send you the registry file.

Bye, and Good Luck!

On Mon, 5 Feb 2001, Paul Clark wrote:

 I am trying to set up Samba to share a printer on my network. I am using 
Potato 2.2r2. 
 
 I can see the Linux computer from Win98 but cannot enter the required 
password. I notice from /var/log/samba that there is a problem with no 
/etc/samba/smbpasswd entry for user 'default'. There is no /etc/samba/smbpasswd 
and this was an option from sambaconfig.
 
 I have read that the problem may be that Samba is not complied for shadow 
passwords? I believe I chose these when originally installing potato. I do not 
know how to create /etc/samba/smbpasswd. The command smbpasswd reports an error 
on any password for any user. Even the user 'default' that I created. It does 
create an /etc/samba/smbpasswd but with just a header comment that does not 
show the requuired format.
 
 Any clues to where I am going wrong?
 
 Paul Clark
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 

_
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
KeyFP: D82F 525C DD22 02C9 6909  20D6 F622 F3E8 18CD C548
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_




RE: SSH

2001-01-18 Thread Josep Llauradó Selvas
On Thu, 18 Jan 2001, Joris Lambrecht wrote:

 Only SSH 1 is OPEN. From what i recall SSH2 and following are licensed
 (payware)
 
 check out www.ssh.com or www.openssh.org

Sorry, but I think you don't read the FAQ from www.openssh.com:

--- From faq.html -

5.OpenSSH does not support any patented transport algorithms.

In SSH1 mode, only 3DES and Blowfish can be selected. In SSH2 mode, only
3DES, Blowfish, CAST128 or Arcfour can be selected at the current
time. The patented and dated IDEA algorithm is not supported.

This difference may manifest itself in the ssh command refusing to read
configuration files left over from a previous installation of commercial
SSH.

Solution: Edit /etc/ssh/ssh_config and select a different Cipher option
("3des" or "blowfish").



As you can see, there isn't any support to patented algorithms, thereby I
don't know why the debian doesn't upgrade the version of ssh... 

 greetings,
 
 J.L.
 
 -Original Message-
 From: Benjamin Pharr [mailto:[EMAIL PROTECTED]
 Sent: Thursday, January 18, 2001 10:04 AM
 To: debian-user@lists.debian.org
 Subject: SSH
 
 
 While logging into my Debian box using ssh I noticed that it is setup to 
 use SSH version 1 by default.  This protocol is widely known to have 
 security problems.  Does anyone know why Debian is still using it?  Below 
I 
 have pasted a link from the official ssh.org FAQ.
 
 http://www.employees.org/~satch/ssh/faq/ssh-faq-1.html#ss1.8
 
 Ben Pharr
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of "unsubscribe". Trouble? Contact
 [EMAIL PROTECTED]
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 

_____
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
KeyFP: D82F 525C DD22 02C9 6909  20D6 F622 F3E8 18CD C548
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_





Re: XFree86 3.3.6 / Linux 2.4.0 / Intel i810

2001-01-16 Thread Josep Llauradó Selvas

I haven't managed this combination of kernel - X, but You'll solve this
problem using the 2.2.18 kernel, 'cos it has support for USB, that's the
reason to move to the new 2.4.0 kernel...

On Tue, 16 Jan 2001, Benjamin Pharr wrote:

 My new desktop is ?blessed? with an Intel i810 chipset that is not 
 supported under XFree86 3.3.6.  I have found instructions that make it 
work 
 with the 2.2.18 kernel and others that make X 4.0.? work with kernel 
 2.4.0.  However, I want 3.3.6 with 2.4.0.  ( This is due to the fact that 
 my attempts at "apt-get"ing XFree86 4.0 from unstable have been 
disastrous, 
 but I need 2.4.0 for USB, etc. )  Has anyone managed this combination 
 yet?  Thanks!
 
 Ben Pharr
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
 

_____
Josep Llauradó Selvas   [EMAIL PROTECTED]
  Linux Registered User #153481
KeyFP: D82F 525C DD22 02C9 6909  20D6 F622 F3E8 18CD C548
The only "intuitive" interface is the nipple.
After that, it's all learned.
(in comp.os.linux.misc, on X interfaces.)
_




  1   2   >