Re: Cannot Install/Uninstall sendmail

2018-08-28 Thread Luis Finotti
Thanks once more for the support!  The problem is now solved.

On Tue, Aug 28, 2018 at 10:20 AM David Wright 
wrote:

> On Tue 28 Aug 2018 at 09:48:06 (-0400), Luis Finotti wrote:
>
> > # dpkg -P sendmail-base
> > (Reading database ... 1562548 files and directories currently installed.)
> > Removing sendmail-base (8.15.2-11) ...
> > update-inetd: error: --group is only relevant with --add
> > dpkg: error processing package sendmail-base (--purge):
> >  installed sendmail-base package pre-removal script subprocess returned
> > error exit status 255
> > Errors were encountered while processing:
> >  sendmail-base
> >
> > Any suggestions?
>
> I would take a look at the pre-removal script sendmail-base.prerm to
> see what it's trying to do. If there are parts that aren't sensible,
> you could comment them out, alter things so that they can work, or
> even just make them "succeed" with "|| true" so you get to the end
> of the script. (Check sendmail-base.postinst while you're about it.)
>
> The scripts will contain a record of what modifications they intended
> to make to your system, so ultimately all you need to do is nullify
> those changes, remove the files in sendmail-base.list and convince
> dpkg that the package is purged. Manually if necessary.
>

Thanks for the pointer!   sendmail-base.prerm had the line:

update-inetd --group MAIL --disable smtp,smtps,submission;

and I was getting the error

update-inetd: error: --group is only relevant with --add

So, I changed it to:

update-inetd --disable smtp,smtps,submission;

and was then able to uninstall it.

Thanks again for your help.


Re: Cannot Install/Uninstall sendmail

2018-08-28 Thread Luis Finotti
Thanks for the reply again.

On Tue, Aug 28, 2018 at 9:41 AM David Wright 
wrote:

> On Tue 28 Aug 2018 at 09:14:36 (-0400), Luis Finotti wrote:
>
> > # apt remove sendemail
>
> Oops.
>
> > Reading package lists... Done
> > Building dependency tree
> > Reading state information... Done
> > Package 'sendemail' is not installed, so not removed
> > 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> > 1 not fully installed or removed.
> > After this operation, 0 B of additional disk space will be used.
> > Setting up sendmail-base (8.15.2-11) ...
>
> sendmail-base is what you should be trying to remove.
> And you should be using dpkg directly, not messing around with apt.
> As you can see, you asked apt to remove something and it tries to
> configure something instead. If you're going to use sid or a
> sid lookalike, you're going to have to use the appropriate tools.
>
> > dpkg: error processing package sendmail-base (--configure):
> >  installed sendmail-base package post-installation script subprocess
> > returned error exit status 255
> > Errors were encountered while processing:
> >  sendmail-base
> > E: Sub-process /usr/bin/dpkg returned an error code (1)
> > 
> >
> > Any help would be greatly appreciated!
>
> You see—you want to know what dpkg itself is doing.
>

Here it is:

# dpkg -P sendmail-base
(Reading database ... 1562548 files and directories currently installed.)
Removing sendmail-base (8.15.2-11) ...
update-inetd: error: --group is only relevant with --add
dpkg: error processing package sendmail-base (--purge):
 installed sendmail-base package pre-removal script subprocess returned
error exit status 255
Errors were encountered while processing:
 sendmail-base

Any suggestions?


Re: Cannot Install/Uninstall sendmail

2018-08-28 Thread Luis Finotti
Firstly, thanks for the reply!

On Tue, Aug 28, 2018 at 9:04 AM David Wright 
wrote:

> On Mon 27 Aug 2018 at 12:38:42 (-0400), Luis Finotti wrote:
> > Hi everyone,
> >
> > I'm having trouble installing/removing sendmail in Debian Sid (well,
> > aptosid -- http://www.aptosid.com -- actually).
>
> Perhaps their forums might help.
>

I tried:
http://www.aptosid.com/index.php?name=PNphpBB2&file=viewtopic&p=18661#18661

I've got some of the hints that I mentioned I've tried already from them.


>
> > I tried to install and it failed: https://pastebin.com/Qu2jRqsn
> >
> > 'apt -f install' did not fix it, nor did 'dpkg --configure -a'.
> >
> > Since it was not essential (and did not install correctly), I tried to
> > uninstall it, but it also fails:
>
> […]
>
> > One notices in the failed install attempt (the pastebin link above):
> >
> > --
> > adduser: Warning: The home directory `/var/lib/sendmail' does not belong
> to
> > the user you are currently creating.
> > update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
> > --
> >
> > I had:
> > --
> > # ls -ld /var/lib/sendmail
> > drwx-- 2 smmta smmta 4096 Aug 22 15:06 /var/lib/sendmail/
> > --
> >
> > Changing ownership to root did not allow me to uninstall it.
>
> What's the output from this attempt?
>

Here it is:


# ls -ld /var/lib/sendmail/
drwx-- 2 root root 4096 Aug 22 15:06 /var/lib/sendmail/

# apt remove sendemail
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'sendemail' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up sendmail-base (8.15.2-11) ...
Usage: update-inetd [...]  

Commands:
  --add   add 
  --remove   remove 
  --enable [,...]enable  (comma-separated list)
  --disable [,...]   disable  (comma-separated list)

Options:
  --group add entry to section 
  --pattern  use  to select a service
  --comment-chars use  as comment characters
  --multi allow multiple removes/disables
  --fileuse  instead of /etc/inetd.conf
  --verbose   explain what is being done
  --debug enables debugging mode
  --help  display this help and exit
  --version   output version information and exit

In order to prevent the shell from changing your  definition you
have to quote the  using single or double quotes. You can use
tabs
(tab character or \t) and spaces to separate the fields of the .

Note: users must use --comment-chars '#' to disable a service for that
setting
to survive upgrades. Package maintainer scripts should use the default
--comment-chars. See update-inetd(8) for details.

Usage: update-inetd [...]  

Commands:
  --add   add 
  --remove   remove 
  --enable [,...]enable  (comma-separated list)
  --disable [,...]   disable  (comma-separated list)

Options:
  --group add entry to section 
  --pattern  use  to select a service
  --comment-chars use  as comment characters
  --multi allow multiple removes/disables
  --fileuse  instead of /etc/inetd.conf
  --verbose   explain what is being done
  --debug enables debugging mode
  --help  display this help and exit
  --version   output version information and exit

In order to prevent the shell from changing your  definition you
have to quote the  using single or double quotes. You can use
tabs
(tab character or \t) and spaces to separate the fields of the .

Note: users must use --comment-chars '#' to disable a service for that
setting
to survive upgrades. Package maintainer scripts should use the default
--comment-chars. See update-inetd(8) for details.

Usage: update-inetd [...]  

Commands:
  --add   add 
  --remove   remove 
  --enable [,...]enable  (comma-separated list)
  --disable [,...]   disable  (comma-separated list)

Options:
  --group add entry to section 
  --pattern  use  to select a service
  --comment-chars use  as comment characters
  --multi allow multiple removes/disables
  --fileuse  instead of /etc/inetd.conf
  --verbose   explain what is being done
  --debug 

Cannot Install/Uninstall sendmail

2018-08-27 Thread Luis Finotti
Hi everyone,

I'm having trouble installing/removing sendmail in Debian Sid (well,
aptosid -- http://www.aptosid.com -- actually).

I tried to install and it failed: https://pastebin.com/Qu2jRqsn

'apt -f install' did not fix it, nor did 'dpkg --configure -a'.

Since it was not essential (and did not install correctly), I tried to
uninstall it, but it also fails:

-
# apt remove procmail sendmail sendmail-base sendmail-bin sendmail-cf
sensible-mda
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  procmail sendmail sendmail-base sendmail-bin sendmail-cf sensible-mda
0 upgraded, 0 newly installed, 6 to remove and 2 not upgraded.
4 not fully installed or removed.
After this operation, 4,213 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 1537409 files and directories currently installed.)
Removing sendmail (8.15.2-11) ...
Removing sensible-mda (8.15.2-11) ...
Removing sendmail-bin (8.15.2-11) ...
Removing sendmail-base (8.15.2-11) ...
update-inetd: error: --group is only relevant with --add
dpkg: error processing package sendmail-base (--remove):
 installed sendmail-base package pre-removal script subprocess returned
error exit status 255
Removing procmail (3.22-26) ...
Removing sendmail-cf (8.15.2-11) ...
Errors were encountered while processing:
 sendmail-base
E: Sub-process /usr/bin/dpkg returned an error code (1)


One notices in the failed install attempt (the pastebin link above):

--
adduser: Warning: The home directory `/var/lib/sendmail' does not belong to
the user you are currently creating.
update-inetd: warning: cannot add service, /etc/inetd.conf does not exist
--

I had:
--
# ls -ld /var/lib/sendmail
drwx-- 2 smmta smmta 4096 Aug 22 15:06 /var/lib/sendmail/
--

Changing ownership to root did not allow me to uninstall it.

Aptosid itself does not come with a mail daemon installed, so I must have
installed at some point some daemon that created the /var/lib/sendmail.
(If I were to try to install again, I'd probably opt for a lighter
alternative, something like ssmtp.  So, right now, I just want to remove
sendmail.)  So, I have sendmail-base stuck as not fully installed.

It was recommended I install 'openbsd-inetd' (it was not installed, neither
was xinetd), but it still fails to install: https://pastebin.com/sStYqMYi
(I also still cannot uninstall it...)

Any help would be greatly appreciated!


Re: stretch not booting

2017-05-19 Thread Luis Finotti
On Fri, May 19, 2017 at 12:29 PM, Luis Finotti 
wrote:

[snip]


> Any suggestions would be appreciated...
>
>
>
Never mind.  The screen just went red and opening up to check the video
cable I just broke the trackpad (which was secured only by tape).  (And it
did not fix the screen.)

I will just forget about it.

Thanks for all the help, though!


Re: stretch not booting

2017-05-19 Thread Luis Finotti
Thanks for your continued help!

On Thu, May 18, 2017 at 6:46 AM, Brian  wrote:

>
> GRUB does its job but it appears the problem occurs when control is
> handed over to the init system.
>
> At the GRUB menu edit the linux line to add systemd.unit=rescue.target
> or systemd.unit=emergency.target.
>
>
systemd.unit=rescue.target gets stuck (just as before).

systemd.unit=emergency.target boots!  I can log in as root, but journalctl
-xb gives nothing.  (And I don't know what else I can do then.  The system
is read-only...)


>  https://freedesktop.org/wiki/Software/systemd/Debugging/
>
> You might get to a terminal to look at what the journalctl command and
> /var/log/syslog reveal.
>

I tried a few of the grub commands in there, such as

  systemd.log_level=debug systemd.log_target=console console=ttyS0,38400

and

  systemd.journald.forward_to_console=1 console=ttyS0,38400

but no new messages seem to go to the boot screen.

I also tried

  systemd.debug-shell=1

but either tty9 looks exactly the same as the one from boot, or it is not
switching.

Any suggestions would be appreciated...


Re: stretch not booting

2017-05-17 Thread Luis Finotti
> No.  I get stuck again.

>
> You were able to type these commands? What do you mean by "stuck"? After
> pressing ENTER do you get anything on the screen? What do you see?


Yes, I am able to type those and boot starts, but gets stuck in the
middle.  No HD activity and Ctrl+Alt+Del (or any other command) does
nothing.

It starts well.  I see no errors (all green "OK"), the video changes the
dpi (modesetting?).  It stops a different places, seemingly at random.  I
has stopped after setting the swap partition, after changing the name from
wlan0, after adjusting display brightness.  (Those are the last messages
seen before it freezes, but they all seem to have been successfully.)  And
I've seen it pass all of those at times.  (The order in which they happen
doesn't seem to always be the same.)

All In can do is a hard reboot (holding the power button).


Re: stretch not booting

2017-05-17 Thread Luis Finotti
> Let me know if I can provide anymore info or if this gives you any idea of

> > what is wrong...
>
> At the GRUB menu hit "c" and type
>
>  set root=(hd0,msdos1)
>  linux /vmlinuz root=/dev/sda1
>  initrd /initrd.img
>  boot
>
> and hit the ENTER key.
>
> Do you boot into the OS?


No.  I get stuck again.

Something weird just happened, though.  I decided to try to disconnect the
ethernet cable.  I started the computer and got to grub, but the keyboard
was not working, so I could not select recovery-mode.  But the system
booted fine in graphical mode (with keyboard and touchpad not working)!  I
forced a reboot (still with ethernet disconnected), grub came up and the
keyboard was working, but now it got stuck again.  I tried in graphical and
recovery modes, both get stuck.

I am not sure if it is relevant at all, but the touchpad did not work
during the installation, but it did work after I installed LXDE.

Thanks again for your help!


Re: stretch not booting

2017-05-17 Thread Luis Finotti
Thanks for the reply!

On Wed, May 17, 2017 at 2:03 PM, Brian  wrote:

> On Wed 17 May 2017 at 13:41:03 -0400, Luis Finotti wrote:
>
> > I've installed stretch from a DI RC3 image (from here:
> > https://cdimage.debian.org/cdimage/unofficial/non-free/
> cd-including-firmware/)
> > a couple of weeks back on an old Dell Inspiron Mini 1018.
>
> Is this the only OS on the machine?
>

Yes.


> > The install went without a problem and I could reboot just fine.  I then
> > updated it, installed LXDE and a few more packages, but after that I
> cannot
> > reboot.  Even in recovery mode it gets stuck.  It seems that the point at
> > which it gets stuck varies, but it never finishes booting.
>
> Installing extra packages (if that is all you ever did) should not lead
> to non-booting.
>
>
Indeed.  I think I did do a "dist-upgrade", which could be the cause.


> > Since I don't get a prompt, I don't know how to get more info.  Since I
> > could reboot, I don't think it was an installation problem.
>
> You obviously get the GRUB menu. When it appears hit the "c" key and type
>
>  set pager=1
>  set
>
> What is do "prefix=" and "root=" say?
>

prefix=(hd0,msdos1)/boot/grub
root=hd0,msdos1


>
> Press the Esc key and hit the "e" key when the OS to be booted is
> highlighted.
>
> What does "set root=" say?
>
>
Selecting the safe-mode:

set root='hd0,msdos1'

Let me know if I can provide anymore info or if this gives you any idea of
what is wrong...

Best,

Luis


stretch not booting

2017-05-17 Thread Luis Finotti
Dear all,

I've installed stretch from a DI RC3 image (from here:
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/)
a couple of weeks back on an old Dell Inspiron Mini 1018.

The install went without a problem and I could reboot just fine.  I then
updated it, installed LXDE and a few more packages, but after that I cannot
reboot.  Even in recovery mode it gets stuck.  It seems that the point at
which it gets stuck varies, but it never finishes booting.

Since I don't get a prompt, I don't know how to get more info.  Since I
could reboot, I don't think it was an installation problem.

Any suggestions?

Thanks,

Luis


Re: gtk key theme

2016-05-13 Thread Luis Finotti
OK, I think I've figured it out.  It seems that Firefox (and other GTK
programs, like Chromium) are still reading .gtkrc-2.0.  Adding the key
theme line to it fixed my problem.


gtk key theme

2016-05-13 Thread Luis Finotti
Running Sid (and KDE), it seems that I cannot get GTK key theme "Emacs" to
work.

I used to have a file .gtkrc-3.0 with the line:

gtk-key-theme-name = "Emacs"

which gave me Emacs style key bindings on applications like Firefox.  It
stopped working recently, as apparently a new version of GTK came in (3.20
I think).

Googling around, it seemed like the configuration file now has to be on
.config/gtk-3.0/settings.ini.  So, I've added the line above to this new
configuration file.  I thought it worked for a while (maybe I'm mistaken ,
though), but it is not working now.  (I have now both files with the key
theme line.)

The closest I've come to a solution was these threads:

https://bugzilla.mozilla.org/show_bug.cgi?id=1269058
https://bugzilla.gnome.org/show_bug.cgi?id=766166

I've tried making a file (as in the second thread) for the usual key
bindings named .config/gtk-3.0/gtk.css with the content

-
@binding-set text-entry
{
  bind "a"
  {
"move-cursor" (paragraph-ends, -1, 0)
  };
  bind "e"
  {
"move-cursor" (paragraph-ends, 1, 0)
  };
  bind "k"
  {
"delete-from-cursor" (paragraph-ends, 1)

};

  bind
"u"


{

"move-cursor" (paragraph-ends, -1,
0)

"delete-from-cursor" (paragraph-ends,
1)


};

  bind
"w"


{

"delete-from-cursor" (word-ends,
-1)


};

}



entry { -gtk-key-bindings: text-entry;
}

textview { -gtk-key-bindings: text-entry; }
-

but also did not work.  (I also tried adding the content above directly on
settings.ini, but did not work either.)

I'm at a loss.  Does anyone have any ideas?

Thanks,

Luis


Re: Re: apt stuck at "Reading database"

2015-04-11 Thread Luis Finotti
Yes, without success, but thanks for the suggestion!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/camo809wb7syscwef9ew+2nqgo7ndasturqb9ecbgjtz4y8l...@mail.gmail.com



Re: apt stuck at "Reading database"

2015-04-10 Thread Luis Finotti
Dear all,

I've been trying to fix this problem, but have not found a solution
yet. (I've also asked at the aptosid list without success.)

Before I resigned myself to a reinstall, I thought I'd post the output of

strace apt-get dist-upgrade

(I killed the process a few seconds after it got stuck.)  The first
4000 lines are here:

http://www.math.utk.edu/~finotti/misc/DU.log

At line 37886, we start to see

pselect6(43, [0 40 42], NULL, NULL, {0, 50}, {[], 8}) = 0 (Timeout)
wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

repeat over and over. At line 38006, we see:

select6(43, [0 40 42], NULL, NULL, {0, 50}, {[], 8}) = 1 (in
[40], left {0, 264028})
read(40, "(Reading database ... \r", 1024) = 23
write(1, "(Reading database ... \r", 23) = 23
write(4, "(Reading database ... \r", 23) = 23
wait4(8948, 0x7ffd2430a5c0, WNOHANG, NULL) = 0

before the pattern above starts to repeat again.

Of the last 117592 lines, most are the (repeating ones) above, only
1012 are different. I've post these different ones, i.e., the result
of

tail -117592 DU.txt | grep -F -v 'wait4(8948, 0x7ffd2430a5c0,
WNOHANG, NULL) = 0' | grep -F -v 'pselect6(43, [0 40 42], NULL, NULL,
{0, 50}, {[], 8}) = 0 (Timeout)'

here:

http://www.math.utk.edu/~finotti/misc/DU2.log

Again, just a last attempt.

Best to all,

Luis


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAMo809V9Rm8yz2KR=sstayayephvknjaywufl+ttveqmsy4...@mail.gmail.com



apt stuck at "Reading database"

2015-04-07 Thread Luis Finotti
Dear all,

I had a power failure while I was away and when I came back the boot
failed, asking to run fsck manually, which I did.

*Many* errors where fixed and I could reboot to what it seems to be a
 normal session, except I cannot "dist-upgrade" or "upgrade" (I'm on
 sid, BTW):

-
[snip]
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ...

-

At this point, it gets stuck. I can see two processes running:


# psf apt
 3988 pts/5S+ 0:23 apt-get dist-upgrade
 4411 pts/14   Ss+0:00 /usr/bin/dpkg --status-fd 43 --unpack
--auto-deconfigure
/var/cache/apt/archives/bsdutils_1%3a2.25.2-6_amd64.deb

---

dpkg.log does not help:


---
# cat /var/log/dpkg.log
2015-04-06 02:55:55 startup archives unpack
2015-04-06 03:01:22 startup archives unpack

---

I could not find anything wrong in other logs.


I've also tried "apt-get clean", to redownload the files, as well as
things like "apt-get -f install/dist-upgrade", "dpkg --configure -a",
moving /var/lib/apt/lists/ and /var/lib/dpkg/status. Nothing has
worked so far.


Any help would be greatly appreciated.

Best to all,

Luis


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAMo809Whz_V=qvvypE2RBef3ZrAQm0f_x=m724pxjcopovo...@mail.gmail.com



Re: Re: VPN routing on Sid

2014-11-13 Thread Luis Finotti
> On 13/11/14 11:10, Luis Finotti wrote:
> > Ah, that worked!  Could you explain the "192.168.29.0/24" syntax
> > though?  I'm having a hard time finding what it means.  (Is it a range
> > 0 to 24?)
>
> The "/24" means that only the first 24 bits of the address are
> significant for matching purposes. So, 192.168.29.0/24 matches all
> addresses in the range 192.168.29.0 through 192.168.29.255.
>
> (Do say if that's not enough detail.)

Thanks for your help!  It makes sense now.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/camo809vus3pkwtr9dxszh4wemrr-qfgfhd-wh5dnqshda8g...@mail.gmail.com



Re: VPN routing on Sid

2014-11-13 Thread Luis Finotti
On Thu, Nov 13, 2014 at 3:43 AM, Pascal Hambourg  wrote:
> Luis Finotti a écrit :
>>
>> When I first started using the VPN service, I could not SSH to my
>> desktop from outside the network anymore.  After a lot of googling, I
>> found out a solution (https://forums.openvpn.net/topic7163-15.htm):
>> I've added the following script to /etc/network/if-up.d:
>>
>> --
>> !/bin/bash
>>
>> ip rule add from 192.168.29.120 table 10
>> ip route add default via 192.168.29.1 table 10
>> 
>>
>> where 192.168.29.120 is the IP of the desktop and 192.168.29.1 is the
>> IP of the router.
>>
>> recently, when I run the script above (as I've been doing for a
>> while), I can still connect from *outside* my network, but *not* from
>> inside (i.e., other computers connected to the same router).  From
>> within the network, nothing works (SSH, Samba, minidlna...).
>
> Apparently your router is doing a bad job, not forwarding packets from
> LAN to LAN. Anyway, it is better to add an exception to the default
> route for the LAN subnet in table 10 to make the routing direct :
>
> ip route add 192.168.29.0/24 dev eth0 table 10
>
> (If required, replace "eth0" with whatever the LAN interface is.)

Ah, that worked!  Could you explain the "192.168.29.0/24" syntax
though?  I'm having a hard time finding what it means.  (Is it a range
0 to 24?)

I wonder how the problem started as I've made no changes in the router
configuration...

Thanks for the help.  I greatly appreciate it!

Luis


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAMo809X6Ur8BwVyZ+k=jovhh2errcrdxewfzfkjsu0x37xg...@mail.gmail.com



Re: VPN routing on Sid

2014-11-12 Thread Luis Finotti
On Wed, Nov 12, 2014 at 5:00 PM, Igor Cicimov  wrote:
>
> On 13/11/2014 6:17 AM, "Luis Finotti"  wrote:
>>
>> I'm having problems connecting to my desktop (running actually
>> aptosid, which is virtually simply Debian Sid with a different kernel
>> and a few extra tools and customizations).
>>
>> Here is the situation: my desktop is connected to a VPN service.  (The
>> router to which the desktop is connected is not, only the desktop.
>> So, the VPN client runs on the desktop and the other computers on the
>> network connect to the Internet directly.)
>>
>> When I first started using the VPN service, I could not SSH to my
>> desktop from outside the network anymore.  After a lot of googling, I
>> found out a solution (https://forums.openvpn.net/topic7163-15.htm):
>> I've added the following script to /etc/network/if-up.d:
>>
>> --
>> !/bin/bash
>>
>> ip rule add from 192.168.29.120 table 10
>> ip route add default via 192.168.29.1 table 10
>> 
>>
>> where 192.168.29.120 is the IP of the desktop and 192.168.29.1 is the
>> IP of the router.
>>
> And the rules in table 10 are?? Send the output of:
>
> # ip rule show
> # ip route show table 10

Thanks for the reply!

Here they are:

root@debian[/home/finotti]#  ip rule show
0:  from all lookup local
32763:  from 192.168.29.120 lookup 10
32764:  from 192.168.29.120 lookup 10
32765:  from 192.168.29.120 lookup 10
32766:  from all lookup main
32767:  from all lookup default


root@debian[/home/finotti]#  ip route show table 10
default via 192.168.29.1 dev eth0


Let me know if anything else would help.

Luis


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAMo809XTZa_=budhp4_+mzrq72tt2qf3eiuq8a3+coqdvhn...@mail.gmail.com



VPN routing on Sid

2014-11-12 Thread Luis Finotti
I'm having problems connecting to my desktop (running actually
aptosid, which is virtually simply Debian Sid with a different kernel
and a few extra tools and customizations).

Here is the situation: my desktop is connected to a VPN service.  (The
router to which the desktop is connected is not, only the desktop.
So, the VPN client runs on the desktop and the other computers on the
network connect to the Internet directly.)

When I first started using the VPN service, I could not SSH to my
desktop from outside the network anymore.  After a lot of googling, I
found out a solution (https://forums.openvpn.net/topic7163-15.htm):
I've added the following script to /etc/network/if-up.d:

--
!/bin/bash

ip rule add from 192.168.29.120 table 10
ip route add default via 192.168.29.1 table 10


where 192.168.29.120 is the IP of the desktop and 192.168.29.1 is the
IP of the router.

That worked perfectly and until recently.  (I'm sorry I cannot be more
precise about when, but I'd say within the last 30 days or so it
stopped working.)  I could connect to the desktop from anywhere.  But
recently, when I run the script above (as I've been doing for a
while), I can still connect from *outside* my network, but *not* from
inside (i.e., other computers connected to the same router).  From
within the network, nothing works (SSH, Samba, minidlna...).  As soon
as remove the rules (with "ip rule/route del ..."), I can connect
again from inside (but, of course, not from outside anymore).

I'd appreciate any comments or suggestions.  (The desktop is up to
date with Sid repositories, by the way.)

Thanks,

Luis


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/camo809u8lto9mvce_r7m_p21brbtj0jrrabnqxzk31cdl3c...@mail.gmail.com



pinning not working

2009-03-31 Thread Luis Finotti
Hi,

I am trying to install KDE 4.2 on lenny.  (I made backups and am aware
that things might go bad.  I wanted to try it anyway.)  So, I followed
theshttp://pkg-kde.alioth.debian.org/experimental.html#contente
instructions:

http://pkg-kde.alioth.debian.org/experimental.html#content

Here are the relevant files:

-
t60[~]$ cat /etc/apt/sources.list
# Security
deb http://security.debian.org/ lenny/updates main contrib non-free

# Main
deb http://ftp.gtlib.gatech.edu/debian/ lenny main contrib non-free
# deb http://sunsite.utk.edu/ftp/pub/linux/Debian/ lenny main contrib non-free

# Sid -- KDE4
deb http://ftp.us.debian.org/debian sid main contrib non-free
# deb http://ftp.gtlib.gatech.edu/debian/ sid main
# deb http://sunsite.utk.edu/ftp/pub/linux/Debian/ sid main contrib non-free

# Experimental -- KDE4
deb http://ftp.us.debian.org/debian experimental main contrib non-free
# deb http://ftp.gtlib.gatech.edu/debian/ sid main
# deb http://sunsite.utk.edu/ftp/pub/linux/Debian/ sid main contrib non-free

# Multimedia
deb http://www.debian-multimedia.org lenny main

# Volatile
#deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib

t60[~]$ cat /etc/apt/preferences
Package: *
Pin: release a=lenny
Pin-Priority: 900

Package: *
Pin: release a=sid
Pin-Priority: 300

Package: *
Pin: release a=experimental
Pin-Priority: 101

--

Before installing KDE 4.2, I decided to check if pinning would work,
but "aptitude dist-upgrade" (before installing anything from Sid or
Experimental) wants to upgrade most (all?) packages:

--
t60[~]$ sudo aptitude dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
  libavcodec52
The following NEW packages will be installed:
  consolekit{a} dnsmasq-base{a} esound-clients{a} geoip-database{a}
gstreamer0.10-ffmpeg{a}

[snip]

571 packages upgraded, 86 newly installed, 24 to remove and 0 not upgraded.
Need to get 667MB of archives. After unpacking 165MB will be used.
The following packages have unmet dependencies:

[snip]

---

Can any one shed some light?

Thanks in advance,

Luis


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



Re: Disabling Print Screen key [Solved]

2007-07-31 Thread Luis Finotti
Hey Mumia, Davide, and all,

On 7/31/07, Mumia W.. <[EMAIL PROTECTED]> wrote:
> On 07/31/2007 04:18 PM, Luis Finotti wrote:
> > [...]
> > On the other hand, I still don't see why the key wasn't disabled
> > by the "xmodmap -e" command...  Is that a bug??
>
>
> What about this:
>
> xmodmap -e "keycode 111 = BackSpace"
>
> or
>
> xmodmap -e "keycode 111 ="

These did not work (which I find very puzzling), but Davide's
suggestion worked!  I.e.:

> Found it. It is in (err... sorry, non-English KDE) Regional &
> Accessibility -> Input Actions (?) -> Preset Actions ->
> PrintScreen. If you look for "gestures" in Control Center, it will
> pop up immediately.

Then just click "Disable".


Thanks to all!!

Luis


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



Re: Disabling Print Screen key

2007-07-31 Thread Luis Finotti
Dear Davide (and all),

Thanks for the reply!

On 7/31/07, Davide Mancusi <[EMAIL PROTECTED]> wrote:

> Found it. It is in (err... sorry, non-English KDE) Regional &
> Accessibility -> Input Actions (?) -> Preset Actions -> PrintScreen. If
> you look for "gestures" in Control Center, it will pop up immediately.

I found it in Fedora (but did not try it since I had already disabled
the button).  I will try it with Debian when I get home.  Thanks!!!

On the other hand, I still don't see why the key wasn't disabled by
the "xmodmap -e" command...  Is that a bug??

Thanks again,

Luis


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



Re: Disabling Print Screen key

2007-07-31 Thread Luis Finotti
Hi,

First, thanks for the reply!

> My system (Debian 3.1, KDE 3.3.2) does not exhibit this behavior by
> default. I can enable (and disable) it by going into the KDE Control
> Center: K-> Control Center-> Regional & Accessibility-> Keyboard
> Shortcuts-> Command Shortcuts-> Graphics-> More Applications-> KSnapshot.
>
> Perhaps you inadvertently made Print a shortcut for ksnapshot. If so,
> you should be able to disable it by going through the above sequence.

No, I haven't...  As I stated in the beginning, I checked it to make sure.

Now, I am at work using Fedora Core 5, and again the PrtSc key is NOT
set in KDE, but pressing starts KSnapshot (which I find quite funny).
On the other hand, here I can make it work as BackSpace with "xmodmap
-e "keysym Print = BackSpace"" (which did not work with Debian).  So,
I assume it is a Debian-related problem...

By the way, I am using Etch, with the Debian kernel 2.6.18-k7.

Thanks!

Luis


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



Disabling Print Screen key

2007-07-31 Thread Luis Finotti
Hi,

My Print Screen key is too close to BackSpace, so I keep pressing it
by accident.  I use KDE, and this makes "KSnapshoyt" pop up.  (In
fluxbox, it sends the content of the terminal to the printer.)

I checked the key assignments of KDE, and I found no shortcut for the
PrtSc key, and even defining a different application for that key
would still make (only) KSnapshot pop up.  (KSnapshot was assigned to
Crtl+PrtSc, and I disabled it too, just in case.)

My Google searchs did not help (even on this list).

So, I decided to disable the key.

Using "xev", I saw that the keycode was 111:


KeyRelease event, serial 31, synthetic NO, window 0x361,
root 0x91, subw 0x0, time 482199882, (485,527), root:(489,552),
state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
XLookupString gives 0 bytes:


Indeed, "xmodmap -pk" gave:

...
111 0xff61 (Print)  0xff15 (Sys_Req)
...

So, I did "xmodmap -e "keysym Print = BackSpace"".  Now, "xev" gives:


KeyRelease event, serial 31, synthetic NO, window 0x341,
root 0x91, subw 0x0, time 482660638, (-260,401), root:(838,426),
state 0x0, keycode 111 (keysym 0xff08, BackSpace), same_screen YES,
XKeysymToKeycode returns keycode: 22
XLookupString gives 1 bytes: (08) "


and  "xmodmap -pk" gives:

...
111 0xff08 (BackSpace)
...

But still, KSnapshot pops up, and the backspace has no effect.

Any suggestions or ideas (other than remove the key physically)??

Thanks,

Luis


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



Re: kdm changing fonts?

2007-01-23 Thread Luis Finotti

Hi,

On 1/22/07, Rick Thomas <[EMAIL PROTECTED]> wrote:

On Jan 22, 2007, at 5:05 PM, Luis Finotti wrote:

>   I don't
> quite understand the "dpi" option there...  What does it refer to?
> (dpi="dots per inch", right?

dpi = dots per inch.  Think of it as the inverse or "inches per dot".

If a screen actually has 100 dots per inch, and the display software
knows that, and the display software does its job correctly (all big
"if"s!) that means that each dot is 1/100 of an inch across.


Ah, I thought that all programs would know that from some
configuration file (or BIOS info, or auto-detection, etc.).

(...)


Does that help?


Yes, very much.  Thanks!

Luis


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




Re: kdm changing fonts? [Solved]

2007-01-22 Thread Luis Finotti

Dear all,


Check the [X-:*-Core] section of /etc/kde3/kdm/kdmrc...
I noticed the same effect myself and make sure the line now reads:
ServerArgsLocal=-nolisten tcp -dpi 100
which cleans things up nicely in my case.


This indeed fixed it.  Thanks Rob!

Luis


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




Re: kdm changing fonts?

2007-01-22 Thread Luis Finotti

Dear Andrei.

On 1/22/07, Andrei Popescu <[EMAIL PROTECTED]> wrote:

On Mon, 22 Jan 2007 15:07:44 -0500
"Luis Finotti" <[EMAIL PROTECTED]> wrote:

> GDM also makes the fonts larger, but XDM works... Does any one know
> what is going wrong?  Is that a bug?  I'd like to be able to turn off
> the computer from within KDE.  It is not a big deal, but it seems
> that it is a bug, so I thought I should ask.

gdm sets the dpi via a commandline option. Not sure about kdm. If you
want to configure gdm I think I can still remember it.


Thanks for your help!  I guess Rob's reply does just that, give the
proper argument to kdm.

I appreciate your help, though!

Luis


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




Re: kdm changing fonts?

2007-01-22 Thread Luis Finotti

Dear all,

On 1/22/07, Rob Bochan <[EMAIL PROTECTED]> wrote:

On Monday 22 January 2007 15:07, Luis Finotti wrote:
> ...
> GDM also makes the fonts larger, but XDM works... Does any one know what is
> going wrong?  Is that a bug?  I'd like to be able to turn off the computer
> from within KDE.  It is not a big deal, but it seems that it is a bug, so I
> thought I should ask.

Check the [X-:*-Core] section of /etc/kde3/kdm/kdmrc...
I noticed the same effect myself and make sure the line now reads:
ServerArgsLocal=-nolisten tcp -dpi 100
which cleans things up nicely in my case.


OK, I will check that.  Thanks!

But, even if that fixes it, shouldn't it be considered a bug?  I don't
quite understand the "dpi" option there...  What does it refer to?
(dpi="dots per inch", right?  For what?  The fonts?  I thought that
the font size would take car of it's resolution/size...)  Why does it
change what is done without it?

Well, if it works I will be happy enough.  Just wondering.

Thanks again,

Luis


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




kdm changing fonts?

2007-01-22 Thread Luis Finotti

Hi,

I recently installed Etch in a Lenovo T60.  Since I had to get the ATI
drivers to work, I did a minimal install before adding a display manager
(kdm).  After I had X up and running with the proper driver, and properly
configured (with KDE), I installed KDM.  Now, if I login via KDM, the fonts
(of konsole, konqueror, etc.) all get quite a bit larger.  (I am 99% sure
that the resolution does not change, just the fonts get larger.)  I've
noticed later the same problem with another laptop (with an Intel graphics
card and open source driver).

If you check the fonts used by konsole, for example, they are not changed
there (i.e., if it said 12pt, it still shows 12pt), but it is displayed way
too large...

GDM also makes the fonts larger, but XDM works... Does any one know what is
going wrong?  Is that a bug?  I'd like to be able to turn off the computer
from within KDE.  It is not a big deal, but it seems that it is a bug, so I
thought I should ask.

Best to all,

Luis


Re: No sound with KDE

2006-11-26 Thread Luis Finotti

Hi,



KDE does have some strange issues at the moment. An example is that on one
of
my laptops, kcontrol is empty but Lost and Found contains all the links
for
kcontrol. So maybe there is more to this than just that? Or maybe your
problem is tied to this? But it's just a guess.




I am not sure if it is related, but I did have that problem...  But for that
I found a fix:


http://people.debian.org/~terpstra/message/20061113.010424.5d69fba1.en.html

(Maybe look at previous messages too.)

Thanks,

Luis


Re: No sound with KDE

2006-11-26 Thread Luis Finotti

Hi,

On 11/26/06, M-L <[EMAIL PROTECTED]> wrote:



I hate to ask this, but did you reboot the computer after you did all
these
things. I know that sounds very other O/Sish, but it will restart certain
processes that might then pick up on the changes you've made.

Charlie




OK, I tried it now, but didn't work...  In fact, after reboot the sound was
not working (even before KDE).  As usual, "alsaconf" fixed it.

BUT, I've found that another user, logging in KDE did not cause the
problem.  I compared the KDE sound settings and the only difference was that
it had "run highest possible priority" checked.  I tried to do this and did
not help...

Then, since it seemed to be a problem of users config files, I moved .kde
and .kderc to .kde.old and .kderc.old, and restarted KDE.  I then was
prompted for configuration when restarting KDE.  But it did not work...  (I
did run "alsaconf" before starting KDE again.)

Then, I moved .kderc.old and .kde.old to their original "places".  Much to
my surprise, most of my old configuration was lost (background, key bidings,
etc.), but now sound works...

So, I haven't figure out what the problem was, I just have to hope it won't
happen again...  and now I have to redo all my desktop configuration...
(Does any one know why backing up .kde and .kderc did not work?  Are there
other files?)

Thanks,

Luis


Re: No sound with KDE

2006-11-26 Thread Luis Finotti

Dear Igor,

On 11/26/06, Igor Guerrero Fonseca <[EMAIL PROTECTED]> wrote:


Try this: sudo dpkg-reconfigure linux-sound-base

:::Saludos:::




Thanks for the suggestion...  It didn't work though.

Thanks,

Luis


No sound with KDE

2006-11-26 Thread Luis Finotti

Hi,

I've recently upgraded from Sarge to Etch.  Most things went smoothly...
But, I just realized I have no sound anymore.

I noticed that alsa was not installed anymore (I'm pretty sure it was
installed with Sarge), so I installed alsa, alsa-utils, alsa-tools,
alsa-oss.  Ran alsaconf, alsamixer, alsactl strore.  But I get no sound,
when running KDE.

* I get no error message and all seems like is playing, except there is no
sound.  (It's like the volume is down.  But kmixer and alsamixer show that
it is not.)

* I can play sounds *before* I start KDE.

* If I kill KDE, I still get no sound (not even from a terminal), unless I
do "/etc/init.d/alsa unload && alsaconf".

* If I start fluxbox instead of KDE, or play sound from a terminal, sound
works (if I haven't started KDE yet).  If I start KDE, it stops.

* I checked the mixer, and volumes are still up (before and after KDE
starts).

* /etc/init.d/alsa-utils stop/start does not bring the sound back...  But
rebooting does (before KDE is started.)

* Within KDE (or while running it, or after running it), no user gets any
sound (not even root).

* I've tried ogg123, aplay, xmms...

* Killing artsd has no effect (so I assume it is not its fault).

* The suggestion from http://lists.debian.org/debian-user/2006/01/msg03099.html
does not work.

* In kcontrol -> Sound & Multimedia -> Sound System, I have "Enable the
sound system checked."  (Clicking on "Test sound" produces no output.)  In
"Hardware" I tried the default "Auto Detect" in "select the audio device",
but have also tried ALSA and OSS, with no success.  Nothing else is
checked.  (I tried "Full duplex", but doesn't help either.)

If this helps, here is more info about the system:

debian[~]$ cat /proc/asound/cards
0 [CS46xx ]: CS46xx - Sound Fusion CS46xx
 Sound Fusion CS46xx at 0xe2105000/0xe200, irq 201

debian[~]$ lsmod | grep snd
snd_cs46xx 76680  2
snd_ac97_codec 82976  1 snd_cs46xx
snd_ac97_bus2624  1 snd_ac97_codec
snd_pcm_oss36768  0
snd_mixer_oss  16192  2 snd_pcm_oss
snd_pcm74948  3 snd_cs46xx,snd_ac97_codec,snd_pcm_oss
snd_seq_dummy   4100  0
snd_seq_oss28928  0
snd_seq_midi8416  0
snd_rawmidi23200  2 snd_cs46xx,snd_seq_midi
snd_seq_midi_event  7424  2 snd_seq_oss,snd_seq_midi
snd_seq46736  6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer  21124  2 snd_pcm,snd_seq
snd_seq_device  8012  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd48548  12
snd_cs46xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore   9440  2 snd
snd_page_alloc  9800  2 snd_cs46xx,snd_pcm
gameport   14600  5 snd_cs46xx,analog,ns558

debian[~]$ lspci | grep audio
00:0b.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24
[CrystalClear SoundFusion Audio Accelerator] (rev 01)

debian[~]$ uname -a
Linux debian 2.6.17-2-k7 #1 SMP Wed Sep 13 17:18:46 UTC 2006 i686 GNU/Linux

debian[~]$ wajig list-installed alsa
alsa-base
alsa-oss
alsaplayer
alsaplayer-common
alsaplayer-gtk
alsaplayer-oss
alsa-tools
alsa-utils
gstreamer0.10-alsa
xmms2-plugin-alsa

Any suggestions...  I ran out of ideas and I couldn't find anything (else)
with google...

Best to all,

Luis


xhost (was: SSH = X11 forwarding?)

2006-04-21 Thread Luis Finotti

Hi,

Greg Norris wrote:

On Tue, Apr 18, 2006 at 10:43:47AM -0400, Antonio Paiva wrote:


Ryan,
You probably need to run

xhost 

on the client machine.



Someone suggest this virtually every time the topic comes up.  It's 
exceptionally bad advice... DON'T DO IT!!!


Just out of curiosity.  Is it bad even if you are in a trusted network (say, 
only one computer in it) and you use


xhost local:localhost

If so, can any one say a few words on why?  (I promise I won't use it.) :-)

Luis


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




Re: su and X question

2006-04-12 Thread Luis Finotti



Zen Garden wrote:
> I used to have te same problem. It is because root cannot access to the
> X server.
> Here the sollution:
>
> user$ xhost + (press enter)
[snip]

This seems to be a security risk...  "sux" seems to be a better
idea...  (Or so I heard.) :-)

HTH,

Luis


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




Re: thunderbird -> kmail

2006-04-11 Thread Luis Finotti



Gregory Seidman wrote:
> } 1) Reply to list support
> }In thunderbird, It is either Reply or Reply to All. Does kmail do a
> } better job in this regard or is it as lame as thunderbird?
>
> There is a ticket in bugzilla against Thunderbird for exactly this, 
and it

> has recently been fixed. It's in the 1.8 trunk, however, so you won't see
> it soon. See https://bugzilla.mozilla.org/show_bug.cgi?id=45715

That will be nice.  I'm a bit surprise that there is no extension to
do that...  So far, this is my main problem with Thunderbird...

> } 2) Using other editors
> }I would like to use vim or gvim to compose my emails. Currently
> } thunderbird does not have any facility to use a custom editor. Does
> } kmail have this feature?
>
> There is a Thunderbird extension that does this. See
> http://globs.org/articles.php?lng=en&pg=2

Thank you *very* much for that!  It's great to be able to write my
e-mails in emacs and I had no idea that this extension existed!

Thanks!

Luis


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




Re: kudos to authors of kompose

2006-04-04 Thread Luis Finotti

Hi,

kamaraju kusumanchi wrote:
I just discovered this great little program called kompose which is a 
task manager for KDE. It just made my day! If you are a KDE user and 
usually open a lot of windows while working, kompose is just for you. 
Good bye Alt+Tab, Welcome Win+Tab :-)


hth
raju



Thanks for the info.  It seems nice and it's a good idea, but it made 
the desktop switching a bit too slow...  (It takes a longer to "draw" 
the windows.)  And I'm running an Athlon XP 2800+ with 1Gb of memory... 
 (Not too great, but it's not that bad either.)  Do you experience 
something similar?


Best,

Luis


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




Re: xterm color

2006-03-31 Thread Luis Finotti

Hi,

Piyush Garyali wrote:

How in the world do I get colors to display in xterm?  when I do
"ls --color" all I get is mono with bold.


Long shot, but to what is TERM set?  I could not get colors in emacs (in 
a terminal) with TERM=vt100, but I can with TERM=linux and others.  You 
can also try TERM=xterm-color.


HTH,

Luis


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




[Fwd: Re: Cmdline mail client that talks to remote SMTP server?]

2006-03-29 Thread Luis Finotti


Steve Lamb wrote:

Matt England wrote:


Does any such thing exist?



I do not believe so.  People will tell you that you need something heavy
to do something that is so relatively simple.  Nevermind the gui clients
have been doing it for years.



Do I effectively need to write some PHP, Python, or Perl app to do
this...something that uses an SMTP module from one of the
aforementioned language libraries?



Probably.  I don't recall either pine or mutt doing SMTP.  



I'm pretty sure Pine does, and so I'd assume that so does mutt.

debian[~]% cat .pinerc | grep smtp
smtp-server=/novalidate-cert

HTH,

Luis

P.S.: Steve, sorry for sending this directly to you...


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




Re: CD Writer Issues

2006-03-28 Thread Luis Finotti

Dear Matt,

First, sorry I sent the message to your address instead of the list... 
Yet again, my fingers were faster than my brain.  We should keep this in 
the list though.  I'm sending to your address again, since you replied 
directly to me, but let me know (privately) if you rather I wouldn't. 
(The norm is to *not* include the person in your reply.  Just the list.)


Matt Townsend wrote:
Hi Luis. I admit I'm a little baffled by the GUI screen provided. Can I 
log in as root from that screen? I don't see how.


You could edit the configurations file, but you probably shouldn't.  You 
something like "sudo".  Or, you can use "sux" to login as root in a 
terminal.  From there you can start the program as root.



My regular user is in the cdrom group. Don't know what a k3b is.


k3b is another CD burning program.  (I like it a lot.)  You can install 
it with "apt-get install k3b".


I'd prefer to write the CD using root's command line but haven't figured 
out how to do that. I thought it might be a simple cp command  but that 
doesn't seem to work. Perhaps part of the same problem.


You can use mkisofs (to create an ISO image) and cdrecord.  You can 
google for some pointers in how to do it or check "man mkisofs" and "man 
cdrecord".



kernel is the latest on debian.org from 2 days ago.


That depends on the "flavor" (stable, testing or unstable) and the 
options during installation.  You can find it by typing "uname -a":


debian[~]% uname -a
Linux debian 2.6.8-2-k7 #1 Tue Aug 16 14:00:15 UTC 2005 i686 GNU/Linux
 ^^
 my kernel

HTH,

Luis


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




Re: CD Writer Issues

2006-03-28 Thread Luis Finotti

Hi,

Matt Townsend wrote:

Hi. Brand new debian installation.


Sarge (stable)?  What kernel?

I'm a little puzzled that I can't 
seem to burn a CD. On boot the /var/log/messages confirms that there's a 
DVDRW on hdc and a CDRW on hdd. Yet when I go to the File Manager-Go-CD 
Creator, drop a file into the burn:/// window, then hit Write To Disk 
things are not looking like I'd expect them to. First, the Write Disk To 
dropdown only gives me one choice: File Image. So moving ahead with that 
one choice writes and .iso file to the hard drive. But I then try to 
write, by dragging, that .iso file to the CD-ROM 2:cdrom1 icon and it 
comes up with a message "the destination disk is read-only." This, with 
a CDRW in the drive. Same results with the DVD writer drive.


I think I'm following the process outlined in the Help file but not 
getting the expected results. It's probably something simple and I guess 
maybe I''ve been staring at it too long.


Anyone have any ideas what's missing.

Thanks

mt


Can you do it as root?  Is your user in the cdrom group?  Did you try
k3b?  (The first time you run it, it configure a few things..)

HTH,

Luis


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




Re: 2.6.15 with Sarge

2006-03-22 Thread Luis Finotti

Dear Dave and all,

Dave Ewart wrote:

On Wednesday, 22.03.2006 at 11:54 -0500, Luis Finotti wrote:



I recently tried to install the linux image 2.6.15 from backports.org.
I noticed that it would bring other files with it and remove some.  My
question is: will this make the stock 2.6.8 kernel not work?  Since it
actually removes stuff, I was worried that I could not keep 2.6.8 as
my "safe" kernel.



What did it say it would remove?

Dave.


Thanks for the reply.  I checked at my desktop (since I don't have my 
laptop with me now) and it would not remove anything from it. 
(Strange...)  I will check the laptop tonight and post it here.


Thanks again,

Luis


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




2.6.15 with Sarge

2006-03-22 Thread Luis Finotti

Hi,

I recently tried to install the linux image 2.6.15 from backports.org. 
I noticed that it would bring other files with it and remove some.  My 
question is: will this make the stock 2.6.8 kernel not work?  Since it 
actually removes stuff, I was worried that I could not keep 2.6.8 as my 
"safe" kernel.


Has any one tried it?  Is there any danger in doing it?

Thanks,

Luis


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




Re: gtk file picker and firefox

2006-02-22 Thread Luis Finotti

Hi,

Nic wrote:

Here's the instructions again to provide some context:

 following in nsFilePicker.js which is located in the app's components
 directory. After making the change you have to re-register the
 components which is easily accomplished by disabling then re-enabling
 an extension and then restarting. Installing or un-installing an
 extension will also force a component registration.
  change:
 compMgr.registerFactoryLocation(FILEPICKER_CID,
 "FilePicker JS Component",
 //@line 278 *snip*
 "",
 //@line 280 *snip*
 fileSpec,
 location,
 type);
  to:
 Code:
 compMgr.registerFactoryLocation(FILEPICKER_CID,
 "FilePicker JS Component",
 //@line 278 *snip*
 FILEPICKER_CONTRACTID,
 //@line 280 *snip*
 fileSpec,
 location,
 type);


()

Is there a way to change it locally (only for a single user without root 
access)?  I tried to copy the nsFilePicker.js to my 
"~/.mozilla/firefox//" directory and change it, but it did not 
seem to work.  (The page you mentioned in the original post has this 
questions, but no answer.)


Thanks,

Luis


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




Re: package error after debfoster

2006-02-22 Thread Luis Finotti

Hi,

Lars Staun Knudsen wrote:

> Luis Finotti wrote:
>
>> I am not at my Debian machine, so I can't double check, but I think you
>> need "dpkg --force-purge".  (Careful with that!  Check the man page.
>> Search "force-thing".)
>
>
> # dpkg --force-purge menu
> dpkg: unknown force/refuse option `purge'
>
> I looked at the other force, but no luck:
>
> # dpkg -P remove-essential menu
> dpkg - warning: ignoring request to remove remove-essential which
> isn't installed.
> dpkg: error processing menu (--purge):
>  Package is in a very bad inconsistent state - you should
>  reinstall it before attempting a removal.
>
>
> I most admit that i'm not too happy about randomly trying any force
> command. As you mention and the man-pages, it's something you should
> be carefull with. So any ideas how to force it completely in or out.


Again, I am away from my Debian machine, but I think the correct command 
should have been "dpkg --force-remove-reinstreq ".


You can also try "apt-get reinstall " (to get the missing files 
back) and then "apt-get --purge remove " (again, no 100% sure 
about the syntax...  I've been using wajig...)


HTH,

Luis

Luis


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




Re: package error after debfoster

2006-02-22 Thread Luis Finotti

Hi,

Lars Staun Knudsen wrote:

Hi
I cleaned out my system with debfoster, but unfortunately the
package "menu" is stuck. I earlier remembered a way to force at
package out with dpkg. But man or google can't make me remember..

# aptitude purge menu
Reading Package Lists... Done
Building Dependency Tree
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be REMOVED:
  menu
0 packages upgraded, 0 newly installed, 1 to remove and 0   
not
upgraded.
Need to get 0B of archives. After unpacking 1679kB will be  
freed.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
(Reading database ... 25111 files and directories currently 
installed.)
Removing menu ...
chmod: cannot access `/usr/bin/update-menus.real': No such  
file
or directory
(...)

So can anyone remember that "magic" dpkg command that clears any
defiant package. :-)


I am not at my Debian machine, so I can't double check, but I think you 
need "dpkg --force-purge".  (Careful with that!  Check the man page. 
Search "force-thing".)


HTH,

Luis


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




Re: c-cedilla problem

2006-02-22 Thread Luis Finotti

Hi,

Marcelo Chiapparini wrote:

Hello!

This problem had appeared many times in the past, as I can see brownsing
the archives (user and user-portuguese), but no one of these solutions
works in my case. This is my problem: I am running sarge + gnome 2.8. I
have a qwerty keyboard and in Desktop Preferences --> Keyboard -->
Layout  I've selected "U.S. English w/deadkeys". I have all the special
accents like áàâãä, both in console and in gnome applications. But I
can't obtain the c-cedilla. The sequence '+c gives ć instead the
c-cedilla. I will appreciate very much any help with this problem


Try putting:

export GTK_IM_MODULE=cedilla

in .bashrc or .bash_profile

Note that if you start applications from icons (e.g., taskbar buttom) 
you might need to add this line to command used by the icon, or something.


HTH,

Luis


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




Re: only root can access the camera

2006-02-21 Thread Luis Finotti

Hi,

ochnap2 wrote:


I think you have to add your user to the "camera" group.


I added my user to the camera group, but I'm still unable to access de 
camera... :(


Did you logout and login again?  I think you have to for the change to 
take effect...


HTH,

Luis

P.S.: I'm sorry for sending my last reply directly to you.  Finger 
faster than the brain...



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




Re: ghost MB of memory

2006-02-17 Thread Luis Finotti

Hi,

roberto wrote:

On 2/15/06, Marcelo Chiapparini <[EMAIL PROTECTED]> wrote:

i cheked the BIOS setup: the video shared memory is not set; hence the
problem is only about this module 'highmem' in the kernel;
hence i realized the only one solution is to recompile...

if any other way,
please tell me
else ok, i'll start recompile :)

bye


You can use the 686 (or k7, depending on your processor) kernel.  They 
have highmem enabled.  And it is pretty painless to do that and at least 
give it a try.


HTH,

Luis


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




Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-06 Thread Luis Finotti

Dear all,


Roland wrote:
/bin/sh exists for compatability with the legacy Bourne shell and does 
not provide bash-specific features. In APP 1 I had a ~bash_cmd_rc file 
with some output in the BASH_ENV, and it is ignored by /bin/sh, even 
if /bin/sh is a softlink to /bin/bash on my machine. 

()

Interesting!  Thanks for the example!

Roland wrote:
I think BASH_ENV is unset by default. It allows you to have a common 
initialisation file for every non-interactive bash invokation. Setting it 
to the same rc file as for interactive shells should be a call for 
trouble IMHO. 


And John Hasler wrote:

Luis writes:

That does answer my question, but it did not work, likely because I have
$BASH_ENV set to my .bashrc..


Why?


That was the difference between my home computer (running debian) and 
this one at work (Fedora).  I thought it was the difference in some more 
"general" configuration, but it was just that BASH_ENV was set in the 
.bash_profile that was default here.  Since it had some local things 
like $PRINTER, etc., I never changed it much...  For some reason, that I 
do not know, they had also "export BASH_ENV=$HOME/.bashrc".  I've 
commented it out now.  Thanks!



I just wanted to thank all for the help!  Not only solved my problem, 
but I also learned quite a few new things.


Best to all,

Luis


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




Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear Wesley,

On 1/5/06, Wesley J. Landaker <[EMAIL PROTECTED]> wrote:
> On Thursday 05 January 2006 13:16, Luis Finotti wrote:
> > I have
> >
> > ---
> >   AUTOHOME=$PWD
> >
> >   # Clean up stupid automounter directory
> >   case $PWD in
> > $AUTOHOME*) cd $HOME${PWD#$AUTOHOME} ;;
> >   esac
> >   PS1='\h[\w]% '
> > -
> >
>
> Well, this certainly appears to be your problem.

In fact it was...

> What exactly are you trying to accomplish with this snippet? It certainly
> doesn't look like a normal thing to do.

Like I said, I had that in my first .bashrc (in UNIX) and I had no
idea what anything in that file meant.  As I've learned new stuff, I
altered the file, but kept what I wasn't sure what it was, like that
line.  So, I guess I'm trying to say "I have no idea". :-)  I've
commented it out for now...

> Also, do you have the same problem if you use #!/bin/sh instead of
> #!/bin/bash? You mentioned wanting to be portable, so that's a good idea
> anyway.

That's how the script is right now.  I thought it would be nice to use
a few extra features of bash, changed the first line and found this
"change of directory" problem...  I thought it was funny, since in the
Linux machines (where I had that problem) /bin/sh is a link to
/bin/bash, so I was expecting to see no difference with the change...

Thanks!

Luis



Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear Michael,

> You could change
>
> #! /bin/bash
>
> to
>
> #! /bin/bash --norc

That does answer my question, but it did not work, likely because I
have $BASH_ENV set to my .bashrc..

Thanks!

Luis



Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Hi Jan,

Thanks for the reply again!

> > open("/home/finotti/.bashrc", O_RDONLY|O_LARGEFILE) = 3
>
> There it is. From the bash manpage I gather that a non-interactive
> bash doesn't read _any_ startup files, except for any file that
> is mentioned in the environment variable $BASH_ENV. Does this
> variable happen to be set, and to what value?

You've got it:

babbage[~/tmp]% echo $BASH_ENV
/home/finotti/.bashrc

This is set in the default ".bash_profile" here (at work).  I've never
changed it.  So, that is not the usual case?  What is the usual value?

> This one is probably sourced from your .bashrc, I presume...

Yep.  They did not have it installed here, so I copied from my home
computer and sourced it in my .bashrc.

Thanks for your help!

Luis



Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear Jan,


> Hm, this is a bit redundant - it's not necessary to wrap pwd into
> process substitution and echo the results... (...)

Thanks for the comment!  It was just something to show the change...

> Besides, the snippet is procuding the desired result here ($pwd, not
> $HOME). AFAICT, bash doesn't read any startup files when called as
> script interpreter in this fashion, so I've got no idea why your bash
> is behaving that way... just out of curiosity, what does
>
> bash -c "readlink /proc/self/cwd"

babbage[~]% bash -c "readlink /proc/self/cwd"
/home/finotti

> return? And which files does bash read on startup? (Try
>
> strace -eopen bash -c "echo 'X'"

Many repeated lines, but, after "uniq":

open("/etc/ld.so.cache", O_RDONLY)  = 3
open("/lib/libtermcap.so.2", O_RDONLY)  = 3
open("/lib/libdl.so.2", O_RDONLY)   = 3
open("/lib/libc.so.6", O_RDONLY)= 3
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3
open("/etc/mtab", O_RDONLY) = 3
open("/proc/meminfo", O_RDONLY) = 3
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
open("/usr/lib/gconv/ISO8859-1.so", O_RDONLY) = 3
open("/home/finotti/.bashrc", O_RDONLY|O_LARGEFILE) = 3
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/home/finotti/local/bash_completion/bash_completion",
O_RDONLY|O_LARGEFILE) = 3
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
open("/usr/share/locale/en_US/LC_MESSAGES/bash.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/bash.mo", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
--- SIGCHLD (Child exited) @ 0 (0) ---
open("/home/finotti/local/bash_completion/bash_completion.d/",
O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 3
open("/home/finotti/local/bash_completion/bash_completion.d/inkscape",
O_RDONLY|O_LARGEFILE) = 3
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
open("/home/finotti/local/bash_completion/bash_completion.d/m-a",
O_RDONLY|O_LARGEFILE) = 3
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
open("/home/finotti/local/bash_completion/bash_completion.d/make_kpkg",
O_RDONLY|O_LARGEFILE) = 3
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
open("/home/finotti/local/bash_completion/bash_completion.d/openoffice",
O_RDONLY|O_LARGEFILE) = 3
open("/home/finotti/local/bash_completion/bash_completion.d/pon",
O_RDONLY|O_LARGEFILE) = 3
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
open("/home/finotti/local/bash_completion/bash_completion.d/wajig",
O_RDONLY|O_LARGEFILE) = 3
open("/dev/null", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 3
X

> for example (calling bash with a command so it doesn't open an interactive
> session); or, even more interesting perhaps,
>
> strace -echdir bash -c "echo 'X'"

babbage[~]% strace -echdir bash -c "echo 'X'"
--- SIGCHLD (Child exited) @ 0 (0) ---
chdir("/home/finotti")  = 0
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
X

I guess there it is...

I commented out the lines:
  # Clean up stupid automounter directory
#  case $PWD in
#   $AUTOHOME*) cd $HOME${PWD#$AUTOHOME} ;;
#  esac

and now it works...

babbage[~/tmp]% strace -echdir bash -c "echo 'X'"
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
--- SIGCHLD (Child exited) @ 0 (0) ---
X

babbage[~/tmp]% test.sh
/home/finotti/tmp

Is there a way to tell the script NOT to read .bashrc?

Thanks,

Luis



Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear Wesley,

> The script you've shown works fine, just the way you want. Nothing in there
> is going to change the working directory.
>
> For example:
>
> $ pwd
> /home/wjl/tmp
> $ cat  #!/bin/bash
> echo $(pwd)
> EOF
> $ chmod a+x test.sh
> $ ./test.sh
> /home/wjl/tmp
>
> If you think you're having magic changing directories, I think you'll need
> to post more information, like the exact script you're using, and EXACTLY
> how you are running it. =)

OK,  I put "test.sh" in my $HOME/bin, which is in my $PATH.

Now:

babbage[~]% cd tmp
babbage[~/tmp]% test.sh
/home/finotti

Maybe is the issue with my .bashrc, as it's been pointed out...  But
is there a way around it?

Thanks!

Luis



Re: [Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear David,

> Do you have some sort of "cd $HOME" type statement in your .bashrc or
> .bash_profile or .profile file (or similar)?


I have

---
  AUTOHOME=$PWD

  # Clean up stupid automounter directory
  case $PWD in
$AUTOHOME*) cd $HOME${PWD#$AUTOHOME} ;;
  esac
  PS1='\h[\w]% '
-

To be honest, I had this for 10 years and never thought about it.

In any case, is there a way to avoid the change.  I'd like the script
to work even if someone also has something like that...

Thanks!

Luis



[Way OT] "#!/bin/bash" changes working directory

2006-01-05 Thread Luis Finotti
Dear all,

I realize that this should be "way off topic", so sorry about that...

I've been working on a bash script, but when I run something like:
---
#!/bin/bash

echo $(pwd)

I always get $HOME, not the current working directory.  I'd need to
continue in the working directory from where the script was called to
work on the files there.  (I'd like it to be portable too, so although
it seems to work in my home machine running sarge, it doesn't work
with Fedora or OSX...)

I look at my "Classic Shell Scripting" book and glanced over the
"Advanced Bash-Scripting Guide" (by Mendel Cooper), but could not find
any reference to this.  Any help would be greatly appreciated!

Best to all,

Luis

P.S.: feel free to CC me back.



Re: acrobat shortcuts

2005-06-30 Thread Luis Finotti

Hi,

roberto wrote:

Hi, using acrobat reader i encounter the following problem:

~:$ acroread
Warning: locale not supported by C library, locale unchanged

then acrobat reader starts correctly but i can not use any of the shortcuts 
like Ctrl+O, Ctrl+W
and so on, so useful on a laptop, not to use the touchpad.

Do you know how to fix the problem?

Thak you

Roberto
Debian Sarge
kernel 2.6.8


This is likely not the case, but...  Some older versions of acroread did 
not respond to shortcuts if you had "Num Lock" on.  But since you are 
using on a laptop, I doubt it is the case.  Just in case...


Luis


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




Re: Confused-New Stable Sarge Dist-Upgrade

2005-06-08 Thread Luis Finotti

Dear Basajaun and all,

Basajaun wrote:

[snip]

Well, you could try the old link trick. First of all locate the biggest
directory(ies) residing in /, e.g.

du -sh /*

then, move that directory and all of its contents to a bigger
partition, where space is not a problem, e.g.

cp -R /big_dir /scratch/

then create a link in / with the old dir name, and pointing to the new
location, e.g.

ln -s /scratch/big_dir /big_dir

Yes, it is a dirty trick, but will save your day until you repartition
properly (say, when reinstalling the whole system).

HTH,

 Basajaun


That was my first idea when reading the original post.  In fact, I was 
thinking of doing that in a laptop of a friend.  Is there any reason why 
this is a "dirty" trick.  Is there any problem or disavantage in doing 
so?  It seemed to me it would be safer (and easier) than changing 
partitions sizes...


Thanks in advance,

Luis


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




Re: Problems Mounting Digital Camera

2005-06-01 Thread Luis Finotti


Adam Mercer wrote:

On 01/06/05, Romulo Sousa <[EMAIL PROTECTED]> wrote:


Hi folks,

I'm trying to mount my Sony DSC-P93 in order to trasfer my pics to my
box. (...
I remember I could mount it in another box running Debian.
Could please somebody help me to fix it?


Is the usb-storage module loaded?

Cheers

Adam


Have you added yourself to the "camera" group?  Can you use it as root? 
 Just a couple of ideas...


Best to all,

Luis


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




Re: .bash_profile not sourced on login [Solved]

2005-05-09 Thread Luis Finotti
Dear all,
Rogério Brito wrote:
On May 08 2005, Luis R Finotti wrote: 
Sorry for not mentioning it.  It was under X...  I guess in that case I 
don't have a "login shell".  So what would be the proper place to set 
variables for terminals running in X?

I think that the best option would be to give proper instructions in your
.Xdefaults or .Xresources file. Mine has (among many other things):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
XTerm*loginShell:   off
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
That was the difference with my work set up (with Fedora).  It seems 
like I had the wrong idea of what .bashrc and .bash_profile were 
supposed to do.  (I thought the former was for configuring bash while 
the latter for initial (on login) set up, like env. variables etc.)

In my case, though, I just linked my .bashrc to my .bash_profile, as I
usually want both login and non-login shells to have the same behaviour
(so, I can live without telling any xterm-like program to work with a login
shell).
I'll do that (or do what Almut said -- thanks).

P.S.: Was it you that studied with Prof. Paulo Agozzini?
Yes it was.  Nice to see someone from IME (Brazil) in the list!
Best to all and thanks for the replies!
Luis
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get deprecated?

2005-05-01 Thread Luis Finotti
Dear all,

Just my experience:

On Sat, 30 Apr 2005, Jules Dubois wrote:

> On Saturday 30 April 2005 07:19, Lee Braiden <[EMAIL PROTECTED]>
> (...)
> If one uses aptitude from the start, it is a drop-in replacement.  If one
> doesn't, some real work is required, and then it's again a drop-in
> replacement. (...)

I've just installed Sarge on a laptop.  I have been using apt-get in my
desktop for many years without problems, but after checking some comments
about aptitude here in the list, it seemed like a better idea.

I was worried about about the "removing problem", which I had seen
mentioned here also, so I stuck with apt-get with my desktop.  But, since
I had fresh installation in the laptop, I thought I would it just start
with it, so that there would be no problems with the databases

But, I guess that the insallation software used apt-get (it was a
net-install), since the first time I tried to use apitutde, right after
the installation, it wanted to remove MANY packages...  (Nothing could be
considered "unused" yet, I suppose...) Not knowing enough to decide
whether or not it was really wise to remove them, I again stuck with good
old apt-get.

So, with net-install at least, using aptitude from the start might not
work "out of the box".

Well, I will make a fresh install of  Sarge (now from DVDs) in a new HD in
my desktop, so I'll give it another shot.

Best to all,

Luis

P.S.: any comments on what happened in the laptop installation or how
could I have fixed it would be greatly appreciated, although I will check
the man pages (etc.) before my next install.


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



Re: graphical console problem

2004-11-08 Thread Luis Finotti
Dear Ming and all,

Thanks for the reply, Ming.  I really appreciate your help.

I put "video=sisfb:mode:none" in the append part of lilo.conf and it did work 
(back to text mode), but now the computer try to fit more lines than it fits 
in the screen, in the sense that there are lines below what the screen is 
showing.  For instance, if I type "ls -l", some of the entries (and the 
prompt) will be below the visible part of the screen...  Can that be fixed?  
(It did not happen before the update changed to graphic...)

Is there a configuration file for this graphic console?

Thanks,

Luis

On Sunday 07 November 2004 22:59, Ming wrote:
> Try to pass "video=sisfb:mode:none" to your kernel, just like pass
> vga=ask. This options tells kernel does not turn on the sis framebuffer.
> If this option works, you will bootup your machine in text console. At
> that point you can try to activate standard framebuffer by passing
> "vga=791" to your kernel.
>
> Best Regards,
> Ming



graphical console problem

2004-11-07 Thread Luis Finotti
Hi,

I am running Debian on my laptop and after an upgrade, it tries to enter
in "graphical console mode".

On boot I get:

sisfb: Using MMIO qeue mode

the screen goes blank and it enters in graphic mode (with the penguin on
the screen), but it's all fuzzy.  I can't use the text consoles
(Ctrl+Alt+F1, etc.) either.  It works, but I can't see anything on the
screen.

Here is what comes after the above line in dmesg:

.
sisfb: Using MMIO queue mode
sisfb: Detected SiS301LV video bridge
sisfb: Detected LCD PDC 0x03 (for LCD=CRT2)
sisfb: Detected LCD PDC1 0x06 (for LCD=CRT1)
sisfb: Mode is 800x600x8 (60Hz)
sisfb: Initial vbflags 0x422
sisfb: Added MTRRs
Console: switching to colour frame buffer device 100x37
sisfb: Installed SISFB_GET_INFO ioctl (80046ef8)
sisfb: Installed SISFB_GET_VBRSTATUS ioctl (80046ef9)
sisfb: 2D acceleration is enabled, scrolling mode ypan (auto-max)
fb0: SiS 65x frame buffer device, Version 1.6.32
sisfb: (C) 2001-2004 Thomas Winischhofer.
tridentfb: Trident framebuffer 0.7.5 initializing
vesafb: abort, cannot reserve video memory at 0xd000
vesafb: framebuffer at 0xd000, mapped to 0xd0876000, size 600k
vesafb: mode is 640x480x8, linelength=640, pages=24
vesafb: protected mode interface info at cbb9:
vesafb: scrolling: redraw
fb1: VESA VGA frame buffer device
vga16fb: itializing
vga16fb: mapped to 0xc00a
fb2: VGA16 VGA frame buffer device
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT 
SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 8250


I tried "vga=ask" in lilo.conf and all the possibilitied from the list,
taking off the line "vga=.." from it, but nothing works.

How can I fix it or just go back to plain text console?

Any help would be greatly appreciated!

Best to all,

Luis

P.S.: if this e-mail has been posted in duplicate, please accept my
appologies...  I sent this e-mail before but it didn't seem to work.


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



Re: recompiling the kernel with APM support

2004-05-27 Thread Luis Finotti

--- Roberto Sanchez <[EMAIL PROTECTED]> wrote:

> 
> You must also, in addition to modifying the kernel
> command line, insert the apm module.
> 
> # echo "apm" >>/etc/modules
> 
> -Roberto


Great, Roberto!  That just did the trick!  Thanks.

Also, thanks to Keeling and Greg.

Keeling:
I did not quite follow your suggestion, though.  It
seems that I can't/shouldn't change the
kernel-image-2.4.18-k7 manually, and even if I could
do it, I would not know exactly how to change it...

Anyway, it works now.  I really appreciate your help.

Best to all,

Luis




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


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



recompiling the kernel with APM support

2004-05-26 Thread Luis Finotti
Dear all,

I recently upgraded my kernel from 2.4.3 to 2.4.18-k7
(I'm running a 1.2GHz Athlon) and now my computer
won't turn off the power with "shutdown -h".  (I did
the "apt-get install kernel-image-2.4.18-k7" way.) 
The old kernel did turn off the power.

After I little research, it seems that I need to
recompile the kernel with APM support.  (I tried
adding "append="apm=on"" to lilo.conf, but it did not
work.)

Can any one tell me how do I do that, or give me some
reference?

I'd greatly appreciate any help.

Best to all,

Luis




__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


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



Re: e-mail from local host

2004-05-25 Thread Luis Finotti

Thanks Magnus and Juan (again -- I owe you two!).

I greatly appreciate your help.

My best,

Luis

--- Juan Nin <[EMAIL PROTECTED]> wrote:

> you should have a FQDN hostname (fully-qualified
> domain name)
> the remote SMTP server rejects you connection,
> because your machine
> identifies itslef as "debian" which is not an
> existent hostname
> 
> change your hostname so as to have an FQDN hostname
> (host.domain.tld)
> 
> regards,
> 
> Juan
> 





__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


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



e-mail from local host

2004-05-24 Thread Luis Finotti
Dear all,

I have a single computer connected to the internet via
DSL (non-static IP).  I wanted to make a script to
send me the new IP address every time I connect to the
internet.

Just to try it I did:
-
% ifconfig | mail [EMAIL PROTECTED]
-

The message was not delivered and I got the message in
the end of this e-mail.

It seems that the message in sent but rejected by
Yahoo and other addresses I tried.  One of them said:

---
(...)
  [EMAIL PROTECTED]
SMTP error from remote mailer after RCPT
TO:<[EMAIL PROTECTED]>:
host mailv.math.ucsb.edu [128.111.88.21]: 504
:
Helo command rejected: need fully-qualified
hostname
(...)


Any ideas on how to fix it?

Thanks and my best to all,

Luis


#

Date: Mon, 24 May 2004 17:23:08 -0700
From: Mail Delivery System <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Mail delivery failed: returning message to
sender

This message was created automatically by mail
delivery software (Exim).

A message that you sent could not be delivered to one
or more of its
recipients. This is a permanent error. The following
address(es) failed:

  [EMAIL PROTECTED]
SMTP error from remote mailer after MAIL
FROM:<[EMAIL PROTECTED]> SIZE=2163:
host mx2.mail.yahoo.com [64.156.215.5]: 501 Syntax
error in parameters or
arguments

-- This is a copy of the message, including all
the headers. --

Return-path: <[EMAIL PROTECTED]>
Received: from finotti by debian with local (Exim 3.35
#1 (Debian))
id 1BSPil-0001dK-00
for <[EMAIL PROTECTED]>; Mon, 24 May 2004
17:23:07 -0700
To: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
From: Luis Finotti <[EMAIL PROTECTED]>
Date: Mon, 24 May 2004 17:23:07 -0700


< ifconfig output >

###






__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


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



Re: kernel update

2004-05-24 Thread Luis Finotti
Thanks Juan, Clive and Alistair!

I successfully updated my kernel.  I took the most
immediate way (with just apt-get and updating
lilo: "apt-get install kernel-image-2.4.18-386") and
everything seems to working.

(Now the Alsa drivers are another story...) :-)

I noticed that I do not have a source directory
"/usr/src/linux4.18-386" -- I do have the previous
"/usr/src/linux4.3".  I could not find
anything similar anywhere.  Was it erased?  Do I need
it?


Thanks again!

Luis





__
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 


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



kernel update

2004-05-24 Thread Luis Finotti
Dear all,

It seems that my kernel is a rather old version:
-
% uname -a
Linux debian 2.4.3 #2 Sat Mar 31 11:29:19 CST 2001
i686 unknown
-

It seems that the newer versions are 2.4.16 or later. 
I thought "apt-get update/upgrade" would upgrade the
kernel, but it seems that that's not the case.  (I
don't have any updates there.)

So, how does one update the kernel.  Although my
computer is running fine, I wanted to install the alsa
drivers, and I think I'd need something like
"alsa-modules-2.4.16-386" or "kernel-headers-2.4.16". 
(I can't find "kernel-headers-2.4.3".)

Are there any risks in updating the kernel?

Any information would be greatly appreciated.

Best to all,

Luis




__
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 


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



Re: dual-boot after crash

2004-03-21 Thread Luis Finotti
Sorry about the last message sent incorrectly...

As I was saying, I still have some problems.  X
(running gnome) froze.  For a while the virtual
consoles were working, but then I started getting
error messages and they froze too.  I posted the error
messages (from var/log/) at

http://www.math.ucsb.edu/~finotti/mesg/

if anyone would be willing to take a look and help me
with that.

BTW, it seems to be working now, but am not sure for
how long...

And again, thanks for yoyorelp and sorry about the
previous message.

Best to all,

Luis




--- "[EMAIL PROTECTED]<[EMAIL PROTECTED]:
> 
> Hi too!
> 
> 1. boot from dedebianlfloppybootdisk> 2. (if you
have EXT3 on your partition and if you
> have a FSFSCKXT3 prprog
> on FLOPPY, then: fsfsckxt3 /dedevdhdaXX = number of
> your DEDEBIANartition)
> 3. mkmkdirmnmntymydebian> 4. mount
dedevdhdaXmnmntymydebianX = number of your
> DEDEBIANartition)
> 5. chchrootmnmntymydebian> 6. run lililo lililo> 
> This will work, if lililooconfn your dedebian>
partition have ALL WORKING 
> INGREDIENTS:
> 1. correct path to kernel
> 2. correct path to ininitrdif needed)
> 3. correct path to your XPXPif you want boot XPXPoo)
> 
> GoGoodLuck
> 
> 
> 
> Luis FiFinottirote:
> 
> >Hi,
> >
> >I recently had some problems with my computer and
> had
> >to reinstall Windows XPXP After I done that, I
> don't
> >get the LILILOcreen with boot options anymore.  It
> >starts XPXPutomatically.  I checked and the Windows
> XPXP> >C: drive is the size of the original
partition, so
> I
> >think my Linux partition is still there.
> >
> >So, I would like to set the computer for dual-boot
> >again.  But at this point I don't have access to
> the
> >Linux partition.  I just made a bobootableloppy
> from:
> >
>
>hthttp/wux.ororgub/people/kekentorobottiolooplinuxip/index.hthtml>
>
> >So, I guess that that will allow me to "see" the
> lilinux> >partition.
> >
> >I am not sure if after the crash my lilinuxartition
> is
> >OK.  So I wanted to check its integrity.  (cfcfsck 
> >How would I do that?
> >
> >Finally how would I make LiLiloive me the dual-boot
> >option?
> >
> >Any help would be greatly appreciated!
> >
> >Best to all,
> >
> >Luis
> >
> >
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Finance Tax Center - File ononlineFile on
> time.
> >hthttp/taxes.yahoo.com/filing.hthtml> >
> >
> >  
> >
> 

__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


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



Re: dual-boot after crash

2004-03-21 Thread Luis Finotti
Thanks guys!

It worked great.  

All though the hard drive did pass the fcsk.ext2, I am
having some problems

--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> 
> Hi too!
> 
> 1. boot from debian-floppybootdisk
> 2. (if you have EXT3 on your partition and if you
> have a FSCK.EXT3 prog 
> on FLOPPY, then: fsck.ext3 /dev/hdaX (X = number of
> your DEBIAN partition)
> 3. mkdir /mnt/mydebian
> 4. mount dev/hdaX /mnt/mydebian (X = number of your
> DEBIAN partition)
> 5. chroot /mnt/mydebian
> 6. run lilo # lilo
> 
> This will work, if lilo.conf on your debian
> partition have ALL WORKING 
> INGREDIENTS:
> 1. correct path to kernel
> 2. correct path to initrd (if needed)
> 3. correct path to your XP (if you want boot XP too)
> 
> GoodLuck.
> 
> 
> 
> Luis Finotti wrote:
> 
> >Hi,
> >
> >I recently had some problems with my computer and
> had
> >to reinstall Windows XP.  After I done that, I
> don't
> >get the LILO screen with boot options anymore.  It
> >starts XP automatically.  I checked and the Windows
> XP
> >C: drive is the size of the original partition, so
> I
> >think my Linux partition is still there.
> >
> >So, I would like to set the computer for dual-boot
> >again.  But at this point I don't have access to
> the
> >Linux partition.  I just made a bootable floppy
> from:
> >
>
>http://www.tux.org/pub/people/kent-robotti/looplinux/rip/index.html
> >
> >So, I guess that that will allow me to "see" the
> linux
> >partition.
> >
> >I am not sure if after the crash my linux partition
> is
> >OK.  So I wanted to check its integrity.  (cfsck?) 
> >How would I do that?
> >
> >Finally how would I make Lilo give me the dual-boot
> >option?
> >
> >Any help would be greatly appreciated!
> >
> >Best to all,
> >
> >Luis
> >
> >
> >
> >__
> >Do you Yahoo!?
> >Yahoo! Finance Tax Center - File online. File on
> time.
> >http://taxes.yahoo.com/filing.html
> >
> >
> >  
> >
> 


__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


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



dual-boot after crash

2004-03-20 Thread Luis Finotti
Hi,

I recently had some problems with my computer and had
to reinstall Windows XP.  After I done that, I don't
get the LILO screen with boot options anymore.  It
starts XP automatically.  I checked and the Windows XP
C: drive is the size of the original partition, so I
think my Linux partition is still there.

So, I would like to set the computer for dual-boot
again.  But at this point I don't have access to the
Linux partition.  I just made a bootable floppy from:

http://www.tux.org/pub/people/kent-robotti/looplinux/rip/index.html

So, I guess that that will allow me to "see" the linux
partition.

I am not sure if after the crash my linux partition is
OK.  So I wanted to check its integrity.  (cfsck?) 
How would I do that?

Finally how would I make Lilo give me the dual-boot
option?

Any help would be greatly appreciated!

Best to all,

Luis



__
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html


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