Re: What's the simplest way to map (part 2)

2023-06-20 Thread David Wright
On Mon 12 Jun 2023 at 09:02:51 (+), Ottavio Caruso wrote:

> then:
> 
> $ sudo service keyboard-setup restart
> $ sudo udevadm trigger --subsystem-match=input --action=change
> 
> but I can't see any changes.

I use, after editing:

# dpkg-reconfigure console-setup ; service console-setup restart
# dpkg-reconfigure keyboard-configuration ; service keyboard-setup restart

and for reasons that might be cargo-cult, out-of-date, or whatever,
I do this while X is not running. This is straightforward if you
just login and then run startx (as I do), rather than running a
Display Manager, which starts X before you login.

If it still doesn't work, there are threads on debian-user from
people who regularly use language layout switching, so a search
from:

  https://lists.debian.org/debian-user/

might find you some help.

Cheers,
David.



Re: What's the simplest way to map ...

2023-06-20 Thread David Wright
Rerereposted owing to excessive "mail cleaning".

Part 1.

On Mon 12 Jun 2023 at 09:02:51 (+), Ottavio Caruso wrote:
> I've also manually edited /etc/default/keyboard

That's the file I change. Mine's attached as a syntax example;
commas /inside/ the quotes.

Part 2 may follow, whenever I succeed in posting part 1.

Cheers,
David.
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS="lv3:ralt_switch,compose:caps,terminate:ctrl_alt_bksp"

BACKSPACE="guess"


Re: What's the simplest way to map "CTRL + ALT" to "AltGr" [query]

2023-06-11 Thread David Wright
On Sat 10 Jun 2023 at 09:52:43 (+), Ottavio Caruso wrote:
> Is there a simple way, without installing gazillion programs and
> tweaking tens of configuration files, to have at startup the
> combination of CTRL and left ALT produce the same result as AltGr?
> This must work for both console and Xorg.

Take a look at /usr/share/X11/xkb/rules/base.lst where you
see that grp changes to another layout; "switch" means holding
the shifting key to switch, whereas "toggle" means tap it
without having to hold it down (like accessibility shift keys
typically work).

  grp:toggle   Right Alt

appears to show the definition for AltGr, so your equivalent
would seem to be

  grp:ctrl_alt_toggle  Alt+Ctrl

and your file shows the WinKey + SpaceBar definition. There are
examples that use this last key combination in the Arch wiki.

As for consoles, I've not used grp in keyboard definitions myself.

> $ cat .xsessionrc

I use /etc/default/locale to set locale variables, viz:

$ cat /etc/default/locale 
# LC_CTYPE added to overall C
# This file gets (generated and) updated by update-locale,
# but the contents should remain stable under normal circumstances.
LANG=C.UTF-8
LC_CTYPE="en_GB.UTF-8"
#
$ 

Cheers,
David.



Re: Map URL to a container...

2023-04-21 Thread Dan Ritter
nimrod wrote: 
> Hi,
> 
> I'm running a web server inside an LXD container which is only
> accessible from the host. I mapped the container's 80 port to the 82
> host's port, so I can access the container's web server as
> http://host:82. The host itself runs Apache on the usual 80 port. What
> I whis to get is something like this:
> 
> http://host/path1 --> http://localip/path1
> http://host/path2 --> http://localip/path2
> 
> and so on and so forth. How can I do it?


You want Apache to act as a reverse proxy for the localip:port.

https://httpd.apache.org/docs/2.4/howto/reverse_proxy.html

Note that your localip is the "backend" server. Use the Simple
Reverse Proxy config with ProxyPass and ProxyPassReverse.

-dsr-



Map URL to a container...

2023-04-21 Thread nimrod
Hi,

I'm running a web server inside an LXD container which is only
accessible from the host. I mapped the container's 80 port to the 82
host's port, so I can access the container's web server as
http://host:82. The host itself runs Apache on the usual 80 port. What
I whis to get is something like this:

http://host/path1 --> http://localip/path1
http://host/path2 --> http://localip/path2

and so on and so forth. How can I do it?

Best regards.




apache2 exited when accessing to type-map wrapped CGI

2022-09-29 Thread Shintaro Sakahara
Hi, I recently upgraded my server from Debian 10 to 11 and encountered a
problem where apache2 crashed when a URL to type-map without ".var"
suffix was getting accessed.

I created a small example using Docker and put on GitHub so that
everyone could easily reproduce this problem.

https://github.com/skhrshin/apache2-crash-example

* Steps to reproduce *

1. Clone the repo into somewhere
2. Run `docker-compose build`
3. Run `docker-compose up`
4. Access to http://localhost:8081/board.cgi with your web browser
5. In a few seconds, the process is terminated.

You'll see errors in the log file like below:

[Thu Sep 29 18:32:42.176871 2022] [cgid:error] [pid 209665] (104)Connection 
reset by peer: AH01248: Error reading request on cgid socket
[Thu Sep 29 18:32:42.177025 2022] [cgid:error] [pid 209704] [client 
***.***.***.***:53380] End of script output before headers: board.cgi
[Thu Sep 29 18:32:43.161802 2022] [cgid:error] [pid 209664] AH01239: cgid 
daemon process died, restarting
[Thu Sep 29 18:32:44.170387 2022] [mpm_prefork:emerg] [pid 209706] (22)Invalid 
argument: AH00144: couldn't grab the accept mutex
[Thu Sep 29 18:32:45.170296 2022] [core:alert] [pid 209664] AH00050: Child 
209706 returned a Fatal error... Apache is exiting!

Please tell me if there is something I can/should do for reporting it to
the bug tracking system. I'm not sure what package is causing the
problem.

Shintaro Sakahara 



Re: key "cdrom" not found in map source(s).

2020-07-07 Thread Reiner Buehl
Here the complete grep cdrom /var/log/syslog:

Jul  7 10:48:44 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 11:35:04 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 11:39:20 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 11:40:38 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 14:10:41 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 14:33:05 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 14:39:05 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 15:42:33 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 16:59:00 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 17:00:36 bilbo automount[31697]: key "cdrom" not found in map
source(s).
Jul  7 18:23:37 bilbo automount[31697]: key "cdrom" not found in map
source(s).

Best regards,
Reiner

Am Mo., 6. Juli 2020 um 08:05 Uhr schrieb Andrei POPESCU <
andreimpope...@gmail.com>:

> On Lu, 06 iul 20, 07:49:09, Reiner Buehl wrote:
> > Hello,
> >
> > I keep getting messages from syslog "key "cdrom" not found in map
> > source(s)." on the console of my Debian Stretch system but I don't even
> > have a cd rom installed in this system.
> >
> > I already checked /etc/fstab, /etc/samba/smb.conf, /etc/autofs.conf and
> all
> > the /etc/auto.* files as this message normally points to wrong NFS or
> other
> > file system exports. I also checked the output of exportfs and did reboot
> > many times but I can't get rid of these messages.
> >
> > Do you have any idea what else could cause them?
>
> Please post the entire log / dmesg entry (copy-paste).
>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser
>


Re: key "cdrom" not found in map source(s).

2020-07-06 Thread Andrei POPESCU
On Lu, 06 iul 20, 07:49:09, Reiner Buehl wrote:
> Hello,
> 
> I keep getting messages from syslog "key "cdrom" not found in map
> source(s)." on the console of my Debian Stretch system but I don't even
> have a cd rom installed in this system.
> 
> I already checked /etc/fstab, /etc/samba/smb.conf, /etc/autofs.conf and all
> the /etc/auto.* files as this message normally points to wrong NFS or other
> file system exports. I also checked the output of exportfs and did reboot
> many times but I can't get rid of these messages.
> 
> Do you have any idea what else could cause them?

Please post the entire log / dmesg entry (copy-paste).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


key "cdrom" not found in map source(s).

2020-07-05 Thread Reiner Buehl
Hello,

I keep getting messages from syslog "key "cdrom" not found in map
source(s)." on the console of my Debian Stretch system but I don't even
have a cd rom installed in this system.

I already checked /etc/fstab, /etc/samba/smb.conf, /etc/autofs.conf and all
the /etc/auto.* files as this message normally points to wrong NFS or other
file system exports. I also checked the output of exportfs and did reboot
many times but I can't get rid of these messages.

Do you have any idea what else could cause them?

Best regards,
Reiner


Re: can't map visual mode copy ("+y)

2018-07-28 Thread Akihiro Terasaki
On Wed, Jul 25, 2018 at 07:23:03PM -0700, tom arnall wrote:
> bottom line here is that when i map "+y to , it dos not work in
> visual mode. below are the specifics.

How about when you do not map it.
-- 
Akihiro Terasaki



Re: can't map visual mode copy ("+y) OOPS

2018-07-25 Thread tom arnall
I forgot to show my debian version. here it is:

:~/$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian


On 7/25/18, tom arnall  wrote:
> bottom line here is that when i map "+y to , it dos not work in
> visual mode. below are the specifics.
>
> Here is output of 'version'
>
> :version
> VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 30 2017 18:21:38)
> Included patches: 1-197, 322, 377-378, 550, 703, 706-707
> Modified by pkg-vim-maintain...@lists.alioth.debian.org
> Compiled by pkg-vim-maintain...@lists.alioth.debian.org
> Huge version without GUI.  Features included (+) or not (-):
>
>
> 1. enter ':vmap  "+y' (to map the visual mode yank)
>
> 2. in blank screen, hit 'i' key (for insert mode)
>
> 3. enter 'now is the time'.
>
> 4. hit  key
>
> 5. hit 'v' key (for visual mode)
>
> 6. hit 'k' key to select the text
>
> 7. do   ( actual result is that editor stays in visual mode;
> expected that it would return to normal mode)
>
> 8. hit 'v' key to exit visual mode
>
> 9. hit 'j' key to move to next line
>
> 10. hit 'p' key to put the selected text (actual result is no change;
> expected that editor would put 'now is the time' in the document)
>



can't map visual mode copy ("+y)

2018-07-25 Thread tom arnall
bottom line here is that when i map "+y to , it dos not work in
visual mode. below are the specifics.

Here is output of 'version'

:version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Sep 30 2017 18:21:38)
Included patches: 1-197, 322, 377-378, 550, 703, 706-707
Modified by pkg-vim-maintain...@lists.alioth.debian.org
Compiled by pkg-vim-maintain...@lists.alioth.debian.org
Huge version without GUI.  Features included (+) or not (-):


1. enter ':vmap  "+y' (to map the visual mode yank)

2. in blank screen, hit 'i' key (for insert mode)

3. enter 'now is the time'.

4. hit  key

5. hit 'v' key (for visual mode)

6. hit 'k' key to select the text

7. do   ( actual result is that editor stays in visual mode;
expected that it would return to normal mode)

8. hit 'v' key to exit visual mode

9. hit 'j' key to move to next line

10. hit 'p' key to put the selected text (actual result is no change;
expected that editor would put 'now is the time' in the document)



Syslog: rpc.imapd and nss_getpwnam “does not map into [ourdomain.tld]”

2017-05-02 Thread Ron Leach

List, good evening,

We have set up a new server intended only to serve archival and 
current files to other users on our network.  The primary applications 
are nfs and samba; sshd and exim (only for system mail to route to our 
on-site MTA on another machine) are also operating.


Syslog is showing continual errors saying:

May  2 06:25:07 Server6 rpc.idmapd[1799]: nss_getpwnam: name 
'ron@inet' does not map into domain 'ourdomain.tld'


This report occurs every 10 minutes.  Earlier in syslog, similar 
errors occur for:


May  2 06:25:04 Server6 rpc.idmapd[1799]: nss_getpwnam: name 
'sambauser1@localdomain' does not map into domain 'ourdomain.tld'


and

May  1 17:25:04 Server6 rpc.idmapd[1799]: nss_getpwnam: name 
'nobody@localdomain' does not map into domain 'ourdomain.tld'


Samba and nfs *appear* to be working, but I don't like having 
something set up that must be wrong in some aspect.  There are 2 
aspects of this report I do not understand.  (i) what are rpc.idmapd 
and nss_getpwnam normally trying to do?  (ii) why is the machine 
trying to use 'inet' and 'localdomain' when the machine - evidently, 
from the syslog report - already knows about our actual domain 
(anonymised to 'ourdomain.tld')?


If nss_getpwnam is to do with passwords, then the 3 applications I can 
think of, that are using usernames and passwords, are samba, exim, and 
sshd.


Grateful for any thoughts,

regards, Ron



Re: Kerberos-secured NFSv4: nss_getpwnam: name '8' does not map into domain

2015-08-03 Thread jonas

[I sent this mail already on the 28th of July, but apparently it didn't
reach the mailinglist because of mail problems on my side, thus I send
the mail again now.]

Am 2015-07-22 01:31, schrieb Christian Seiler:

Hi there,


Hi Christian,

first, thanks again for this very extensive response. It helped me a lot
in better understanding the issue.

I did some further debugging in the meantime. In short, I'm able to
reproduce the issue on two of my systems. Please see below.


On 07/10/2015 01:02 PM, Jonas Meurer wrote:

Am 2015-07-08 15:34, schrieb Jonas Meurer:

I've another annoying issue with my new Kerberos-secured NFSv4 setup.
Sometimes when Exim4 writes to the mounted NFS share, it fails to set
owner and permissions on the written file. Exim4 runs as local user
Debian-exim:Debian-exim but tries to set owner of created files on
the NFS share to 'mail:mail'. Both the local user Debian-exim and
the local user mail are authenticated against the Kerberos server and
principals 'debian-e...@domain.org' as well as 'm...@domain.org' do
exist.


Below's some debugging output of rpc.idmapd on the Kerberos-/NFS-
Server.


Ok, these long entries explain what's happening from the server
perspective - and the server does everything correct here. First of
all, this has nothing do with Kerberos, but with NFSv4's idmapping.


Good to know that the problem is a client-side one :)


Let me back up a little. [...]

Note that Linux always uses uids internally in the kernel to store user
credentials, so what happens is that the sender of a NFSv4 packet takes
the uid, translates it into a string representation containing an @,
and then sends that over the netowrk - the receiver translates it back
into a uid and uses that in its own data structures. (Btw. if you run
ls to show a directory listing, ls will translate it back into a string
representation, possibly a different one, so you may see a username
instead of just a number. So on NFS three different translations will
happen if you type ls -l somewhere: 1. server: uid - nfs-name,
2. client (kernel): nfs-name - uid and 3. client (ls): uid - name.
nfs-name is typically the same as name with just an @nfs4-domain at
the end, but doesn't have to be.)

This is what the idmapping on both the server and the client is about:
to tell the NFSv4 server and client implementations how to do this type
of translation.


Ok, understood. So something goes wrong with idmapping on the client.


Now let's get back to those log messages:

Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i
authtype=user
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: calling
nsswitch-name_to_uid
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nss_getpwnam: name '8' domain
'freesources.org': resulting localname '(null)'


Here we have to look at two source codes: idmapd (part of nfs-utils)
and libnfsidmap (its own package). idmapd is just a wrapper around that
library and implements a simple event loop around a couple of pipes it
uses to communicate with the kernel. The nfsdcb function is the handler
that processes idmapping requests and replies to them (set up in [1],
function body in [2]). Note that it just reads the request, parses it
and then calls a function to do the actual mapping (imconv), which
itself then calls into the libnfsidmap library.

Since you can setup multiple different idmappings, those are
implemented in a similar manner to plugins in libnfsidmap. In your
case, you are using the 'nss' plugin (name service switch, the libc
mechanism normal programs use to lookup users and groups, typically
in /etc/passwd and /etc/group). That contains the function nss_getpwnam
that is called (as you can see from the debug message), whose body is
found in [3].

There you can see where the log message comes from:

IDMAP_LOG(4, (nss_getpwnam: name '%s' domain '%s': 
  resulting localname '%s'\n, name, domain, localname));

If you backtrace everything through the call stack of both libnfsidmap
and idmapd, the 'name' veriable contains the data idmapd got from the
kernel, and if you went digging into the kernel source, you'd see that
it just takes the raw data it got from the NFS client and passes it on
to the idmapper.

So that means that if you look at your log message, the NFS client
transmitted the string '8' (it's a 1-byte UTF-8 string with a single
digit, it's not a binary representation of that number!) to the server;
the server passed that string on to the idmapper, the idmapper then
notices oh dear, it doesn't contain an @, and so it says nope,
sorry, can't translate that. See the quoted RFC as to why that
behavior is correct.

Compare that to the case where everything worked:

Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nss_getpwnam: name
'm...@freesources.org' domain 'freesources.org': resulting localname
'mail'


Here you can see that the owner name that was transmitted by the NFS
client was 'm...@freesources.org' (and not simply '8'), so that does
contain an @; 

Re: Kerberos-secured NFSv4: nss_getpwnam: name '8' does not map into domain

2015-07-21 Thread Christian Seiler
Hi there,

On 07/10/2015 01:02 PM, Jonas Meurer wrote:
 Am 2015-07-08 15:34, schrieb Jonas Meurer:
 I've another annoying issue with my new Kerberos-secured NFSv4 setup.
 Sometimes when Exim4 writes to the mounted NFS share, it fails to set
 owner and permissions on the written file. Exim4 runs as local user
 Debian-exim:Debian-exim but tries to set owner of created files on
 the NFS share to 'mail:mail'. Both the local user Debian-exim and
 the local user mail are authenticated against the Kerberos server and
 principals 'debian-e...@domain.org' as well as 'm...@domain.org' do
 exist.

 Obviously, not time Exim4 creates a file and sets owner on the NFS
 share, the error is produced. Most of the time, this just works and
 new files are owned by 'mail:mail'. But sometimes, it fails. In
 these cases, Exim4 gives the following error:
 
 In the meantime, I did some further debugging. I still have no clue
 what triggers the error. It happens serveral times every hour, but
 I didn't find a pattern yet. Interestingly, the error vanishs by
 itself after a few minutes.
 
 Below's some debugging output of rpc.idmapd on the Kerberos-/NFS-
 Server.

Ok, these long entries explain what's happening from the server
perspective - and the server does everything correct here. First of
all, this has nothing do with Kerberos, but with NFSv4's idmapping.

Let me back up a little. If you look at the internet standard covering
NFSv4 (RFC 3530) [0], there's a nice little section called
   5.8.  Interpreting owner and owner_group
which describes the attributes used to transmit user and group
ownership information between server and client (both for what to show
with 'ls' and for what to do with 'chown/chmod'). To quote parts of
that section:

   [...] It is expected that the client and
   server will have their own local representation of owner and
   owner_group that is used for local storage or presentation to the end
   user.  Therefore, it is expected that when these attributes are
   transferred between the client and server that the local
   representation is translated to a syntax of the form
   user@dns_domain.  This will allow for a client and server that do
   not use the same local representation the ability to translate to a
   common syntax that can be interpreted by both. [...]

   The translation used to interpret owner and group strings is not
   specified as part of the protocol.  This allows various solutions to
   be employed.  For example, a local translation table may be consulted
   that maps between a numeric id to the user@dns_domain syntax. [...]

   In the case where there is no translation available to the client or
   server, the attribute value must be constructed without the @.
   Therefore, the absence of the @ from the owner or owner_group
   attribute signifies that no translation was available at the sender
   and that the receiver of the attribute should not use that string as
   a basis for translation into its own internal format. [...]

Note that Linux always uses uids internally in the kernel to store user
credentials, so what happens is that the sender of a NFSv4 packet takes
the uid, translates it into a string representation containing an @,
and then sends that over the netowrk - the receiver translates it back
into a uid and uses that in its own data structures. (Btw. if you run
ls to show a directory listing, ls will translate it back into a string
representation, possibly a different one, so you may see a username
instead of just a number. So on NFS three different translations will
happen if you type ls -l somewhere: 1. server: uid - nfs-name,
2. client (kernel): nfs-name - uid and 3. client (ls): uid - name.
nfs-name is typically the same as name with just an @nfs4-domain at
the end, but doesn't have to be.)

This is what the idmapping on both the server and the client is about:
to tell the NFSv4 server and client implementations how to do this type
of translation.

(Side note: if you are using sec=sys and a recent enough kernel on both
server and client, IIRC 3.4 or newer - but I may be mistaken about the
version that was properly implemented - idmapping is not required at
all, since the kernel supports just sending the uids in ASCII as
numbers in that field, see the RFC. But that doesn't work for
sec=krb5*, because the security model depends on requests being
authenticated with the principal of the user on the client, which
implies that there needs to be idmapping anyway to map the ids to a
principal and back. On the other hand, sec=sys doesn't have anything
you'd want to call security model at all. sec=sys is just let me trust
the client completely or at best let me trust the client with
everything but root itself.)

Now let's get back to those log messages:
 Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i authtype=user
 Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: calling 
 nsswitch-name_to_uid
 Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nss_getpwnam

Re: Kerberos-secured NFSv4: nss_getpwnam: name '8' does not map into domain

2015-07-10 Thread Jonas Meurer

Hi,

Am 2015-07-08 15:34, schrieb Jonas Meurer:

I've another annoying issue with my new Kerberos-secured NFSv4 setup.
Sometimes when Exim4 writes to the mounted NFS share, it fails to set
owner and permissions on the written file. Exim4 runs as local user
Debian-exim:Debian-exim but tries to set owner of created files on
the NFS share to 'mail:mail'. Both the local user Debian-exim and
the local user mail are authenticated against the Kerberos server and
principals 'debian-e...@domain.org' as well as 'm...@domain.org' do
exist.

Obviously, not time Exim4 creates a file and sets owner on the NFS
share, the error is produced. Most of the time, this just works and
new files are owned by 'mail:mail'. But sometimes, it fails. In
these cases, Exim4 gives the following error:


In the meantime, I did some further debugging. I still have no clue
what triggers the error. It happens serveral times every hour, but
I didn't find a pattern yet. Interestingly, the error vanishs by
itself after a few minutes.

Below's some debugging output of rpc.idmapd on the Kerberos-/NFS-
Server.

This is from an 'invalid argument' error triggered by a chown
operation by Exim4 (to mail:mail) on the NFS client:
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=user
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: calling 
nsswitch-name_to_uid
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nss_getpwnam: name '8' domain 
'freesources.org': resulting localname '(null)'
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nss_getpwnam: name '8' does not 
map into domain 'freesources.org'
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: 
nsswitch-name_to_uid returned -22
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: final return 
value is -22
Jul 10 10:46:59 nfs1 rpc.idmapd[4946]: Server : (user) name 8 - id 
65534


This is from an 'invalid argument' error triggered by a manual
'chown mail:mail ...' by root user on the NFS client:
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=user
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_uid_to_name: calling 
nsswitch-uid_to_name
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_uid_to_name: 
nsswitch-uid_to_name returned 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_uid_to_name: final return 
value is 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: Server : (user) id 8 - name 
m...@freesources.org
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=group
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_gid_to_name: calling 
nsswitch-gid_to_name
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_gid_to_name: 
nsswitch-gid_to_name returned 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: nfs4_gid_to_name: final return 
value is 0
Jul 10 10:49:12 nfs1 rpc.idmapd[4946]: Server : (group) id 8 - name 
m...@freesources.org


And this is from a successfull 'chown mail:mail ...' by root user
on the NFS client just after it works again:
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=user
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: calling 
nsswitch-name_to_uid
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nss_getpwnam: name 
'm...@freesources.org' domain 'freesources.org': resulting localname 
'mail'
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: 
nsswitch-name_to_uid returned 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_uid: final return 
value is 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: Server : (user) name 
m...@freesources.org - id 8
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfsdcb: authbuf=gss/krb5i 
authtype=group
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_gid: calling 
nsswitch-name_to_gid
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_gid: 
nsswitch-name_to_gid returned 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: nfs4_name_to_gid: final return 
value is 0
Jul 10 10:50:34 nfs1 rpc.idmapd[4946]: Server : (group) name 
m...@freesources.org - id 8


1234567890123456789012345678901234567890123456789012345678901234567890
Probably this is related to Kerberos authentication tickets? I
authenticate users Debian-exim, dovecot and mail from client to the
Kerberos server with k5start by using the following k5start syntax:

start-stop-daemon --start --quiet --exec /usr/bin/k5start --pidfile \
/var/run/k5start-${USR}.pid -- -u ${USR} -o ${USR} -p \
/var/run/k5start-${USR}.pid -k /tmp/krb5cc_$(id -u $USR) -b \
-f /etc/krb5.keytab -L -K 15

Sometimes it seems to help to restart k5start. Immediately afterwards,
the owner change works again. But I already discovered the opposite,
and a restart of k5start didn't change anything.

I'm a bit lost on debugging the problem. Unfortunately this whole
Kerberos world is rather new to me. If you have any hints about
how to proceed, that would be awesome :)

Cheers,
 jonas


2015-07-08 12:56:43 ... defer (22): Invalid argument: while setting
perms on maildir tmp/1742360537.H643669P4542.clt.domain.org

At the same time, the NFS/Kerberos-Server logs

Re: Kerberos-secured NFSv4: nss_getpwnam: name '8' does not map into domain

2015-07-09 Thread Podrigal, Aron
I haven't tried anything, just some thought.  Maybe it uses '8' as a name
instead of uid.

On Wed, Jul 8, 2015 at 9:34 AM, Jonas Meurer jo...@freesources.org wrote:

 Hi again,

 I've another annoying issue with my new Kerberos-secured NFSv4 setup.
 Sometimes when Exim4 writes to the mounted NFS share, it fails to set
 owner and permissions on the written file. Exim4 runs as local user
 Debian-exim:Debian-exim but tries to set owner of created files on
 the NFS share to 'mail:mail'. Both the local user Debian-exim and
 the local user mail are authenticated against the Kerberos server and
 principals 'debian-e...@domain.org' as well as 'm...@domain.org' do
 exist.

 Obviously, not time Exim4 creates a file and sets owner on the NFS
 share, the error is produced. Most of the time, this just works and
 new files are owned by 'mail:mail'. But sometimes, it fails. In
 these cases, Exim4 gives the following error:

 2015-07-08 12:56:43 ... defer (22): Invalid argument: while setting perms
 on maildir tmp/1742360537.H643669P4542.clt.domain.org

 At the same time, the NFS/Kerberos-Server logs the following:

 Jul  8 12:59:30 nfs1 rpc.idmapd[4353]: nss_getpwnam: name '8' does not map
 into domain 'domain.org'

 Even more weird, after the described error happens, owner changes
 don't work at all anymore for some time. Something like five minutes
 later, everything works as expected again.

 After searching the web, my first guess is that this is due to Exim4
 trying to set owner of the created file to '8:8' instead of using
 'mail:mail'. It seems like using UIDs isn't supported on
 Kerberos-secured NFSv4 shares. Idmapd on the NFS/Kerberos server
 is unable to map the user name '8' to a Kerberos principal.

 But more testing reveiled that even a chown to '8:8' works on the
 NFS share. So using UID instead of username doesn't seem to be the
 problem here.

 Do you have suggestions about what's the problem here or how to go
 on with debugging?

 Cheers,
  jonas


 --
 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/257a6d58537d4eebdfe48e17ca749...@imap.steindlberger.de




-- 
Aron Podrigal
-
//Be happy :-)


Kerberos-secured NFSv4: nss_getpwnam: name '8' does not map into domain

2015-07-08 Thread Jonas Meurer

Hi again,

I've another annoying issue with my new Kerberos-secured NFSv4 setup.
Sometimes when Exim4 writes to the mounted NFS share, it fails to set
owner and permissions on the written file. Exim4 runs as local user
Debian-exim:Debian-exim but tries to set owner of created files on
the NFS share to 'mail:mail'. Both the local user Debian-exim and
the local user mail are authenticated against the Kerberos server and
principals 'debian-e...@domain.org' as well as 'm...@domain.org' do
exist.

Obviously, not time Exim4 creates a file and sets owner on the NFS
share, the error is produced. Most of the time, this just works and
new files are owned by 'mail:mail'. But sometimes, it fails. In
these cases, Exim4 gives the following error:

2015-07-08 12:56:43 ... defer (22): Invalid argument: while setting 
perms on maildir tmp/1742360537.H643669P4542.clt.domain.org


At the same time, the NFS/Kerberos-Server logs the following:

Jul  8 12:59:30 nfs1 rpc.idmapd[4353]: nss_getpwnam: name '8' does not 
map into domain 'domain.org'


Even more weird, after the described error happens, owner changes
don't work at all anymore for some time. Something like five minutes
later, everything works as expected again.

After searching the web, my first guess is that this is due to Exim4
trying to set owner of the created file to '8:8' instead of using
'mail:mail'. It seems like using UIDs isn't supported on
Kerberos-secured NFSv4 shares. Idmapd on the NFS/Kerberos server
is unable to map the user name '8' to a Kerberos principal.

But more testing reveiled that even a chown to '8:8' works on the
NFS share. So using UID instead of username doesn't seem to be the
problem here.

Do you have suggestions about what's the problem here or how to go
on with debugging?

Cheers,
 jonas


--
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/257a6d58537d4eebdfe48e17ca749...@imap.steindlberger.de



Squeeze/Wheezy: autofs-ldap - syntax error in map near [ /nethome/files/disc01 ]

2013-09-26 Thread Denny Fuchs
hi,

I'm trying to get autofs with LDAP working. We have two file servers (old/new) 
and several LDAP entries, like described in: 
/usr/share/doc/autofs-ldap/examples/ldap-automount-rfc2307-bis-auto.direct:

===
# extended LDIF
#
# LDAPv3
# base automountMapName=auto_direct,ou=services,ou=RBG,dc=foo with scope 
subtree
# filter: (objectclass=*)
# requesting: ALL
#

dn: automountMapName=auto_direct,ou=services,ou=RBG,dc=foo
objectClass: automountMap
objectClass: top
automountMapName: auto_direct

dn: 
automountKey=/nethome/fire01/disc01,automountMapName=auto_direct,ou=services,ou=RBG,dc=foo
automountKey: /nethome/fire01/disc01
objectClass: automount
objectClass: top
automountInformation: fire01:/disc01

[...]

dn: 
automountKey=/nethome/files/disc01,automountMapName=auto_direct,ou=services,ou=RBG,dc=foo
automountKey: /nethome/files/disc01
objectClass: automount
objectClass: top
automountInformation: files:/disc01

[...]
===

/etc/default/autofs:

MASTER_MAP_NAME=/etc/auto_direct
TIMEOUT=300
BROWSE_MODE=no
LOGGING=debug
LDAP_URI=ldap://ldap.rbg.foo;
SEARCH_BASE=ou=services,ou=RBG,dc=foo
MAP_OBJECT_CLASS=automountMap
ENTRY_OBJECT_CLASS=automount
MAP_ATTRIBUTE=automountMapName
ENTRY_ATTRIBUTE=automountKey
VALUE_ATTRIBUTE=automountInformation


Debug:


Sep 26 10:43:01 clientmaster automount[2081]: autofs stopped
Sep 26 10:43:01 clientmaster automount[2102]: Starting automounter version 
5.0.7, master map /etc/auto_direct
Sep 26 10:43:01 clientmaster automount[2102]: using kernel protocol version 5.02
Sep 26 10:43:01 clientmaster automount[2102]: lookup_nss_read_master: reading 
master file /etc/auto_direct
Sep 26 10:43:01 clientmaster automount[2102]: parse_init: parse(sun): init 
gathered global options: (null)
Sep 26 10:43:01 clientmaster automount[2102]: spawn_mount: mtab link detected, 
passing -n to mount
Sep 26 10:43:01 clientmaster automount[2102]: spawn_umount: mtab link detected, 
passing -n to mount
Sep 26 10:43:01 clientmaster automount[2102]: lookup_read_master: lookup(file): 
read entry +auto_direct
Sep 26 10:43:01 clientmaster automount[2102]: lookup_nss_read_master: reading 
master ldap auto_direct
Sep 26 10:43:01 clientmaster automount[2102]: parse_server_string: 
lookup(ldap): Attempting to parse LDAP information from string auto_direct.
Sep 26 10:43:01 clientmaster automount[2102]: parse_server_string: 
lookup(ldap): mapname auto_direct
Sep 26 10:43:01 clientmaster automount[2102]: parse_ldap_config: lookup(ldap): 
ldap authentication configured with the following options:
Sep 26 10:43:01 clientmaster automount[2102]: parse_ldap_config: lookup(ldap): 
use_tls: 1, tls_required: 0, auth_required: 1, sasl_mech: (null)
Sep 26 10:43:01 clientmaster automount[2102]: parse_ldap_config: lookup(ldap): 
user: (null), secret: unspecified, client principal: (null) credential cache: 
(null)
Sep 26 10:43:01 clientmaster automount[2102]: parse_init: parse(sun): init 
gathered global options: (null)
Sep 26 10:43:01 clientmaster automount[2102]: find_server: trying server uri 
ldap://ldap.foo
Sep 26 10:43:01 clientmaster automount[2102]: do_bind: lookup(ldap): 
auth_required: 1, sasl_mech (null)
Sep 26 10:43:01 clientmaster automount[2102]: do_bind: lookup(ldap): ldap 
simple bind returned 0
Sep 26 10:43:01 clientmaster automount[2102]: get_query_dn: lookup(ldap): check 
search base list
Sep 26 10:43:01 clientmaster automount[2102]: get_query_dn: lookup(ldap): found 
search base under ou=services,ou=RBG,dc=foo
Sep 26 10:43:01 clientmaster automount[2102]: get_query_dn: lookup(ldap): found 
query dn automountMapName=auto_direct,ou=services,ou=RBG,dc=foo
Sep 26 10:43:01 clientmaster automount[2102]: connected to uri ldap://ldap.foo
Sep 26 10:43:01 clientmaster automount[2102]: lookup_read_master: lookup(ldap): 
searching for (objectclass=automount) under 
automountMapName=auto_direct,ou=services,ou=RBG,dc=foo
Sep 26 10:43:01 clientmaster automount[2102]: lookup_read_master: lookup(ldap): 
examining entries
Sep 26 10:43:01 clientmaster automount[2102]: syntax error in map near [ 
/nethome/fire01/disc01 ]
Sep 26 10:43:01 clientmaster automount[2102]: syntax error while parsing map.
Sep 26 10:43:01 clientmaster automount[2102]: syntax error in map near [ 
/nethome/fire01/disc02 ]
Sep 26 10:43:01 clientmaster automount[2102]: syntax error while parsing map.
Sep 26 10:43:01 clientmaster automount[2102]: syntax error in map near [ 
/nethome/fire01/disc04 ]
Sep 26 10:43:01 clientmaster automount[2102]: syntax error while parsing map.
Sep 26 10:43:01 clientmaster automount[2102]: syntax error in map near [ 
/nethome/fire01/disc06 ]
Sep 26 10:43:01 clientmaster automount[2102]: syntax error while parsing map.
Sep 26 10:43:01 clientmaster automount[2102]: syntax error in map near [ 
/nethome/files/disc02 ]
Sep 26 10:43:01 clientmaster automount[2102]: syntax error while parsing map.
Sep 26 10:43:01 clientmaster automount[2102]: syntax error in map near [ 
/nethome

unable to add map

2012-04-08 Thread M.S. Slimani
Bonjour;

J'ai un probleme avec la configuration du dns dynamique avec dhcp, il
y'a une erreur qui persiste :

unable to add map  time out.

quelqu'un a t'il deja eu ce probleme ?

Merci d'avance.

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/1333872587.2556.1.camel@homer-laptop



Re: map doesn't work (vim)

2011-03-12 Thread Chris Bannister
On Sat, Mar 12, 2011 at 10:51:30AM +0800, wolf python london wrote:
 hey , there,
 
 I come across a weird problem  in vim.
 
 Today , I plan to read the source code in vim in virtual console
 (A-C-F1 ---F6), but it seems
 map doesn't work .
 
  map C-F12 :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . CR
doesn't work
 
 However I try another case :
 map F12  i#includestdio.h it works
 imap myemail lyh19901...@gmail.com it works too
 
 And all of the above can work if I use vim in gnome-terminal .
 
 any clue/tips?

Questions regarding the usage of vim should be directed to the vim-use
group. See http://groups.google.com/group/vim_use/web/vim-information

-- 
Religion is excellent stuff for keeping common people quiet.
   -- Napoleon Bonaparte


--
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/20110312104328.GC3436@fischer



Re: map doesn't work (vim)

2011-03-12 Thread wolf python london
On 12 March 2011 18:43, Chris Bannister mockingb...@earthlight.co.nz wrote:
 On Sat, Mar 12, 2011 at 10:51:30AM +0800, wolf python london wrote:
 hey , there,

 I come across a weird problem  in vim.

 Today , I plan to read the source code in vim in virtual console
 (A-C-F1 ---F6), but it seems
 map doesn't work .

  map C-F12 :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . CR
    doesn't work

 However I try another case :
 map F12  i#includestdio.h                     it works
 imap myemail lyh19901...@gmail.com         it works too

 And all of the above can work if I use vim in gnome-terminal .

 any clue/tips?

 Questions regarding the usage of vim should be directed to the vim-use
 group. See http://groups.google.com/group/vim_use/web/vim-information

it's Debian that the problem occurs , isn't it?
some bugs are not resulted by the software itself , but the
environment it's deployed in ,
even though I'm not sure why it happens .

And  vim is modified by the packagers, how do I know when this
bug(problem) was introduced ?

 --
 Religion is excellent stuff for keeping common people quiet.
   -- Napoleon Bonaparte


 --
 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/20110312104328.GC3436@fischer





-- 

wolf python london(WPL)
Do as you soul should do !



--
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/AANLkTikTFxVtL_r_p8PMm2-j-QHMgGhMOZC=vpzzp...@mail.gmail.com



map doesn't work (vim)

2011-03-11 Thread wolf python london
hey , there,

I come across a weird problem  in vim.

Today , I plan to read the source code in vim in virtual console
(A-C-F1 ---F6), but it seems
map doesn't work .

 map C-F12 :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . CR
   doesn't work

However I try another case :
map F12  i#includestdio.h it works
imap myemail lyh19901...@gmail.com it works too

And all of the above can work if I use vim in gnome-terminal .

any clue/tips?


-- 

wolf python london(WPL)
Do as you soul should do !



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



Re: map doesn't work (vim)

2011-03-11 Thread wolf python london
On 12 March 2011 10:51, wolf python london lyh19901...@gmail.com wrote:
 hey , there,

 I come across a weird problem  in vim.

 Today , I plan to read the source code in vim in virtual console
 (A-C-F1 ---F6), but it seems
 map doesn't work .

  map C-F12 :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q . CR
   doesn't work

 However I try another case :
 map F12  i#includestdio.h                     it works
 imap myemail lyh19901...@gmail.com         it works too

 And all of the above can work if I use vim in gnome-terminal .

 any clue/tips?


oh , I leave out a  message:

my box is Debian Squeeze,
vim 7.2
 --
 
 wolf python london(WPL)
 Do as you soul should do !
 




-- 

wolf python london(WPL)
Do as you soul should do !



--
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/AANLkTikcJjzD1e3Z-4hQ9=N=hktugk0jw5sz8ap0w...@mail.gmail.com



Re: map '-' to '_' and '_' to '-'

2010-11-14 Thread Cameron Hutchison
Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:

Yes. This works and it is just great. Is there a solution when the machine 
does not run X?

I don't know the specific incantations, but it should be possible with
loadkeys(1) from the console-tools package.

The man pages for dumpkeys(1) and keymaps(5) will probably be necessary
reading.

From: Cameron Hutchison li...@xdna.net
Newsgroups: gmane.linux.debian.user
Subject: Re: map '-' to '_' and '_' to '-'
References: ibis8b$4d...@dough.gmane.org 
20101112133310.ga26...@aurora.owens.net 
5b5d.4cddb78d.c6...@getafix.xdna.net ibmvp2$v9...@dough.gmane.org

Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:

Yes. This works and it is just great. Is there a solution when the machine 
does not run X?

I don't know the specific incantations, but it should be possible with
loadkeys(1) from the console-tools package.

The man pages for dumpkeys(1) and keymaps(5) will probably be necessary
reading.


-- 
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/400d.4cdfb349.52...@getafix.xdna.net



Re: map '-' to '_' and '_' to '-'

2010-11-13 Thread Kamaraju S Kusumanchi
Cameron Hutchison wrote:

 The X11 keysyms for these characters are minus and underscore. If
 you run xmodmap -pke | grep underscore you should see which keycode has
 these keysyms mapped.
 
 For me, this is:
 $ xmodmap -pke | grep underscore
 keycode  20 = minus underscore minus underscore
 
 I suspect that's a standard keyboard keycode so you'll get the same
 results, but run it anyway to be sure.
 
 You can remap this like so:
 $ xmodmap -e keycode  20 = underscore minus underscore minus
 
 That swaps minus and underscore.

Yes. This works and it is just great. Is there a solution when the machine 
does not run X?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.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/ibmvp2$v9...@dough.gmane.org



Re: map '-' to '_' and '_' to '-'

2010-11-13 Thread Ron Johnson

On 11/12/2010 02:38 PM, Mitchell Laks wrote:

On 03:02 Fri 12 Nov , Kamaraju S Kusumanchi wrote:

While working on my Debian box (which btw is a mix of Lenny and Squeeze), I
find that I type the underscore character ('_') more often than the dash
character ('-'). It could be file names, variable names while writing code
etc.,


i have noticed the same thing. now if we all programmed in lisp this would not 
be a problem :)


Or COBOL...


I considered switching to common lisp from perl and C and C++ for this reason :)




--
Seek truth from facts.


--
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/4cdf49ca.7070...@cox.net



map '-' to '_' and '_' to '-'

2010-11-12 Thread Kamaraju S Kusumanchi
While working on my Debian box (which btw is a mix of Lenny and Squeeze), I 
find that I type the underscore character ('_') more often than the dash 
character ('-'). It could be file names, variable names while writing code 
etc.,

Typing '_' involves holding the shift key while typing '-' does not involve 
any. I am wondering if there is a way at the OS (or shell) level solution to 
remap '-', '_' one to another so that typing '_' does not involve holding 
shift key but typing '-' does.

Any ideas/comments/suggestions/pointers etc.,?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.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/ibis8b$4d...@dough.gmane.org



Re: map '-' to '_' and '_' to '-'

2010-11-12 Thread Andrew Peng
Hello!

Please take a look and see if this helps

http://www.columbia.edu/~djv/docs/keyremap.html



--Andrew



On Fri, Nov 12, 2010 at 2:02 AM, Kamaraju S Kusumanchi
raju.mailingli...@gmail.com wrote:
 While working on my Debian box (which btw is a mix of Lenny and Squeeze), I
 find that I type the underscore character ('_') more often than the dash
 character ('-'). It could be file names, variable names while writing code
 etc.,

 Typing '_' involves holding the shift key while typing '-' does not involve
 any. I am wondering if there is a way at the OS (or shell) level solution to
 remap '-', '_' one to another so that typing '_' does not involve holding
 shift key but typing '-' does.

 Any ideas/comments/suggestions/pointers etc.,?

 thanks
 raju
 --
 Kamaraju S Kusumanchi
 http://malayamaarutham.blogspot.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/ibis8b$4d...@dough.gmane.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/aanlktin=8b+rcftwnkfjv6h1vaqxdkgfgp=5pnn_s...@mail.gmail.com



Re: map '-' to '_' and '_' to '-'

2010-11-12 Thread Rob Owens
On Fri, Nov 12, 2010 at 03:02:00AM -0500, Kamaraju S Kusumanchi wrote:
 While working on my Debian box (which btw is a mix of Lenny and Squeeze), I 
 find that I type the underscore character ('_') more often than the dash 
 character ('-'). It could be file names, variable names while writing code 
 etc.,
 
 Typing '_' involves holding the shift key while typing '-' does not involve 
 any. I am wondering if there is a way at the OS (or shell) level solution to 
 remap '-', '_' one to another so that typing '_' does not involve holding 
 shift key but typing '-' does.
 
Use xmodmap and/or a .Xmodmap file in your home directory.  You man need
to use xev to find the keycodes.

-Rob


-- 
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/20101112133310.ga26...@aurora.owens.net



Re: map '-' to '_' and '_' to '-'

2010-11-12 Thread Mitchell Laks
On 03:02 Fri 12 Nov , Kamaraju S Kusumanchi wrote:
 While working on my Debian box (which btw is a mix of Lenny and Squeeze), I 
 find that I type the underscore character ('_') more often than the dash 
 character ('-'). It could be file names, variable names while writing code 
 etc.,

i have noticed the same thing. now if we all programmed in lisp this would not 
be a problem :)
I considered switching to common lisp from perl and C and C++ for this reason :)

Mitchell 


-- 
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/20101112203859.gc25...@earthlink.net



Re: map '-' to '_' and '_' to '-'

2010-11-12 Thread Cameron Hutchison
Rob Owens row...@ptd.net writes:

On Fri, Nov 12, 2010 at 03:02:00AM -0500, Kamaraju S Kusumanchi wrote:
 While working on my Debian box (which btw is a mix of Lenny and Squeeze), I 
 find that I type the underscore character ('_') more often than the dash 
 character ('-'). It could be file names, variable names while writing code 
 etc.,
 
 Typing '_' involves holding the shift key while typing '-' does not involve 
 any. I am wondering if there is a way at the OS (or shell) level solution to 
 remap '-', '_' one to another so that typing '_' does not involve holding 
 shift key but typing '-' does.
 
Use xmodmap and/or a .Xmodmap file in your home directory.  You man need
to use xev to find the keycodes.

The X11 keysyms for these characters are minus and underscore. If
you run xmodmap -pke | grep underscore you should see which keycode has
these keysyms mapped.

For me, this is:
$ xmodmap -pke | grep underscore
keycode  20 = minus underscore minus underscore

I suspect that's a standard keyboard keycode so you'll get the same
results, but run it anyway to be sure.

You can remap this like so:
$ xmodmap -e keycode  20 = underscore minus underscore minus

That swaps minus and underscore.

You can put the part between quotes in your ~/.Xmodmap file and GNOME
should auto-load it (although I think I remember reading something
lately that this may change).

Finally, I suggest you not do this. I've make changes to my standard
keyboard in the past and when you switch to someone elses keyboard you
just get annoyed :-) I used to map CapsLock to Ctrl, but if you get too
used to that, YOU JUST END UP SHOUTING when you only meant to press
Ctrl.


-- 
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/5b5d.4cddb78d.c6...@getafix.xdna.net



Re: What tool would convert map coordinates ?

2010-09-19 Thread Timo Juhani Lindfors
Bernard bdebr...@teaser.fr writes:
 I need to convert map coordinates from Lambert II + to decimal
 degrees. I found a tool which works online on a web site, but the

I use the proj command for my coordinate conversions. I have no idea
if it supports what you need.


-- 
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/841v8q2c9z@sauna.l.org



What tool would convert map coordinates ?

2010-09-18 Thread Bernard

Hi to Everyone,

I need to convert map coordinates from Lambert II + to decimal degrees. 
I found a tool which works online on a web site, but the results lack 
precision : it gives degrees, minutes and integer seconds (no decimal 
after the seconds, while one second is about 30 meters of distance). 
More accurate tools are available for MSWIN, but I wish to use Linux 
resources. I have installed the gdal package, which I have successfully 
used for other purposes, but I don't know whether or not this would fit 
my present purpose. I don't have access to the GDAL doc, since it is 
provided on a strange format (dox), that I don't know how to use.


Thanks in advance for your help


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

Archive: http://lists.debian.org/4c94f0a1.3080...@teaser.fr



Re: What tool would convert map coordinates ?

2010-09-18 Thread Wayne Topa

On 09/18/2010 01:02 PM, Bernard wrote:

Hi to Everyone,

I need to convert map coordinates from Lambert II + to decimal degrees.
I found a tool which works online on a web site, but the results lack
precision : it gives degrees, minutes and integer seconds (no decimal
after the seconds, while one second is about 30 meters of distance).
More accurate tools are available for MSWIN, but I wish to use Linux
resources. I have installed the gdal package, which I have successfully
used for other purposes, but I don't know whether or not this would fit
my present purpose. I don't have access to the GDAL doc, since it is
provided on a strange format (dox), that I don't know how to use.

Thanks in advance for your help




May I suggest you try

apt-cache search coordinates
libgeo-coordinates-utm-perl - Perl extension for Latitiude Longitude 
conversions
libgeo-helmerttransform-perl - Transformations between coordinates in 
different datums





--
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/4c95009c.1060...@gmail.com



Re: What tool would convert map coordinates ?

2010-09-18 Thread Miles Fidelman

Wayne Topa wrote:

On 09/18/2010 01:02 PM, Bernard wrote:

I need to convert map coordinates from Lambert II + to decimal degrees.

May I suggest you try

apt-cache search coordinates
libgeo-coordinates-utm-perl - Perl extension for Latitiude Longitude 
conversions
libgeo-helmerttransform-perl - Transformations between coordinates in 
different datums

You might also try asking on the osgeo (open source geo) email list.


--
In theory, there is no difference between theory and practice.
Infnord  practice, there is.    Yogi Berra



--
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/4c9566d1.4000...@meetinghouse.net



Re: Globally map C-m to Return

2010-05-24 Thread Volkan YAZICI
On Wed, 19 May 2010, Vadim Matveev vad...@gmail.com writes:
 How can i globally map C-m to work as Return? It is default in
 rxvt-unicode and vimperator, but i want it to work this way with any X
 application. I tried xbindkey with 'xdotool key Return', but it is too
 slow - about 1 sec delay, useless.
 Maybe it should be solved via WM (xmonad), but anyway i don't know how.
 Any solution?

Try xmodmap. For console (without X) you'll need to fiddle with kbd
stuff.


Regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/874ohxkbmx@alamut.alborz.net



Globally map C-m to Return

2010-05-18 Thread Vadim Matveev
How can i globally map C-m to work as Return? It is default in
rxvt-unicode and vimperator, but i want it to work this way with any X
application. I tried xbindkey with 'xdotool key Return', but it is too
slow - about 1 sec delay, useless.
Maybe it should be solved via WM (xmonad), but anyway i don't know how.
Any solution?


-- 
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/20100518205018.gb25...@zerg



Re: [RFR] ikiwiki://po/underlays/directives/ikiwiki/directive/{calendar, map}.fr.po

2009-09-06 Thread benoit soete

Philippe Batailler a écrit :

Bonjour,
Voici deux petits fichiers à relire, calendar.fr.po et map.fr.po.
Merci d'avance aux relecteurs.

a+
  


Consultez sa documentation pour des précisions.

pour plus de précisions ou pour en savoir plus ?

--
Benoît Soëte



Re: Apache virtual map for Exchange OWA?

2009-05-17 Thread Gilles Mocellin
On Sat, May 16, 2009 at 10:23:29PM -0700, Phillipus Gunawan wrote:
 
 Hi There,
 
 Is there anyway we can trick Exchange OWA to be redirected via Apache server?
 I had SBS 2003 with OWA working OK locally
 But the http server is on my Debian box
 
 Can I somehow make virtual directory (or something else) under Apache so when 
 user type www.mydomain.com/exchange,
 it will actually being redirected to my OWA exchange?
 
 Ive tried to googling around but the result is not what I really expected

You need to search for Reverse Proxy.
I use that on my Office's DMZ.

I don't have here the precise config, but I have found it easily on the
Web.
I remeber that you need to proxy several paths, like /owa , /public...


signature.asc
Description: Digital signature


Re: Apache virtual map for Exchange OWA?

2009-05-17 Thread Phillipus Gunawan

Thanks for your reply,

brilliant... but its not easy because OWA is https
I got it working with http but need to trial-error to get https working

thanks a lot




- Original Message 
From: Gilles Mocellin gilles.mocel...@free.fr
To: debian-user@lists.debian.org
Sent: Sunday, 17 May, 2009 9:39:23 PM
Subject: Re: Apache virtual map for Exchange OWA?

On Sat, May 16, 2009 at 10:23:29PM -0700, Phillipus Gunawan wrote:
 
 Hi There,
 
 Is there anyway we can trick Exchange OWA to be redirected via Apache server?
 I had SBS 2003 with OWA working OK locally
 But the http server is on my Debian box
 
 Can I somehow make virtual directory (or something else) under Apache so when 
 user type www.mydomain.com/exchange,
 it will actually being redirected to my OWA exchange?
 
 Ive tried to googling around but the result is not what I really expected

You need to search for Reverse Proxy.
I use that on my Office's DMZ.

I don't have here the precise config, but I have found it easily on the
Web.
I remeber that you need to proxy several paths, like /owa , /public...



  Need a Holiday? Win a $10,000 Holiday of your choice. Enter 
now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline


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



Apache virtual map for Exchange OWA?

2009-05-16 Thread Phillipus Gunawan

Hi There,

Is there anyway we can trick Exchange OWA to be redirected via Apache server?
I had SBS 2003 with OWA working OK locally
But the http server is on my Debian box

Can I somehow make virtual directory (or something else) under Apache so when 
user type www.mydomain.com/exchange,
it will actually being redirected to my OWA exchange?

Ive tried to googling around but the result is not what I really expected

Cheer


  Need a Holiday? Win a $10,000 Holiday of your choice. Enter 
now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline


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



Re: accessing www.mls.ca map search from linux

2009-03-23 Thread Eric Gerlach
On Sun, Mar 22, 2009 at 10:53:27AM -0400, Douglas A. Tutty wrote:
 Hi all,
 
 We're looking for a new house and here in Canada, the way to do this
 (other than getting a realestate agent to do it), is to go to
 www.mls.ca and do a search.  MLS has recently changed how you choose the
 geographic area: it used to be by clicking on a simple map to choose the
 realestate board in which to search.  Now, its a MS-based map.
 
 Unfortunatly, at least one realestate company has gone to the same
 search method on their own web site.  
 
 I get the map OK, but I don't get any results.  The help page says
 that only IE on MS is supported (it doesn't mention Linux, but does say
 that MacOS is not supported).  
 
 I've tried it with (Etch) iceweasel and konqueror.
 
 Could someone who's running Lenny see if it works from Lenny?
 
 FYI, it will only show less than 500 results.  If you zoom in the map,
 it will tell you how many results there are.  When this gets to less
 than 500, it should show them to you.
 
 If anyone has any ideas, I'm all ears.

I was looking myself on Firefox 3/Windows the other day.  It worked fine.
Haven't tried it on Lenny at home, though.

Cheers,

-- 
Eric Gerlach, Network Administrator
Federation of Students
University of Waterloo
p: (519) 888-4567 x36329
e: egerl...@feds.uwaterloo.ca


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



accessing www.mls.ca map search from linux

2009-03-22 Thread Douglas A. Tutty
Hi all,

We're looking for a new house and here in Canada, the way to do this
(other than getting a realestate agent to do it), is to go to
www.mls.ca and do a search.  MLS has recently changed how you choose the
geographic area: it used to be by clicking on a simple map to choose the
realestate board in which to search.  Now, its a MS-based map.

Unfortunatly, at least one realestate company has gone to the same
search method on their own web site.  

I get the map OK, but I don't get any results.  The help page says
that only IE on MS is supported (it doesn't mention Linux, but does say
that MacOS is not supported).  

I've tried it with (Etch) iceweasel and konqueror.

Could someone who's running Lenny see if it works from Lenny?

FYI, it will only show less than 500 results.  If you zoom in the map,
it will tell you how many results there are.  When this gets to less
than 500, it should show them to you.

If anyone has any ideas, I'm all ears.

Thanks,

Doug.


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



Re: accessing www.mls.ca map search from linux

2009-03-22 Thread Frank
 1. On Sun, 2009-03-22 at 10:53 -0400, Douglas A. Tutty wrote:
 Hi all,
 
 We're looking for a new house and here in Canada, the way to do this
 (other than getting a realestate agent to do it), is to go to
 www.mls.ca and do a search.  MLS has recently changed how you choose the
 geographic area: it used to be by clicking on a simple map to choose the
 realestate board in which to search.  Now, its a MS-based map.
 
 Unfortunatly, at least one realestate company has gone to the same
 search method on their own web site.  
 
 I get the map OK, but I don't get any results.  The help page says
 that only IE on MS is supported (it doesn't mention Linux, but does say
 that MacOS is not supported).  
 


  I am running testing which is close to Lenny...and I get results fine.
That being said I have written to the webmaster and to MLS and to
realtor.ca to tell them the old system used to work much better. It was
definitely a case of it it ain't broke...don't fix it

Cheers


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



want to get a printout of current keyboard map

2008-10-12 Thread H.S.
Hello,

This has baffled me for many months now. I want to save the keyboard map
of the current layout so that I can print it out. The purpose is to
display these maps nears a couple of computers where people are learning
to use Linux in their own languages.

I have tried to use xkbprint to print out a ps file. However, it works
only for US layout and not for other languages. I think this is due to
the inherent limitation of either xkbprint or ghostscript or both at
dealing with unicode characters. For other international languges, I
only shows their unicode equivalents on the keys and not the
corresponding characters.

And can be easily seen, this is very frustrating. (Not to mention the
red face I get when I admit that it appears such a mundane thing
couldn't be done.)

Anybody have any idea who to go about doing this? KDE, Gnome, command
line, doesn't matter as long I can get the printout.

Thanks.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Nagios problemas no 3D Map

2007-10-25 Thread gunix
Galera,

sempre quando mando exibir o 3d map ele mandar baixar o arquivo cgi ao inves
de abri-lo no navegafor.

Andei mexendo em algumas conf no apache mais nao deu.

Alguem tem alguma dica.
Sera que tem algum pacote pra ser instlado.

Att
Gunix


Re: Nagios problemas no 3D Map

2007-10-25 Thread Diego Barrios

gunix wrote:

Galera,

sempre quando mando exibir o 3d map ele mandar baixar o arquivo cgi ao 
inves de abri-lo no navegafor.


Andei mexendo em algumas conf no apache mais nao deu.

Alguem tem alguma dica.
Sera que tem algum pacote pra ser instlado.

Att
Gunix
Cara pelo q me lembro daquele 3D map tem q baixar o plugin de VRML pro 
Firefox (ou o seu browser) Mas ja antecipo q aquilo la funciona mal e 
porcamente e eh tosco ao extremo, nem perde o teu tempo com ele... o 
Status MAP eh muito mais apresentavel.


Baita Abraço!

Seko.


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



Re: Nagios problemas no 3D Map

2007-10-25 Thread gunix
Cara,

agradeço a dica.
Valeu mesmo... se vc ta falando vo nem perder tempo

:)

Att
Gunix

Em 25/10/07, Diego Barrios [EMAIL PROTECTED] escreveu:

 gunix wrote:
  Galera,
 
  sempre quando mando exibir o 3d map ele mandar baixar o arquivo cgi ao
  inves de abri-lo no navegafor.
 
  Andei mexendo em algumas conf no apache mais nao deu.
 
  Alguem tem alguma dica.
  Sera que tem algum pacote pra ser instlado.
 
  Att
  Gunix
 Cara pelo q me lembro daquele 3D map tem q baixar o plugin de VRML pro
 Firefox (ou o seu browser) Mas ja antecipo q aquilo la funciona mal e
 porcamente e eh tosco ao extremo, nem perde o teu tempo com ele... o
 Status MAP eh muito mais apresentavel.

 Baita Abraço!

 Seko.



how to add image map(bookmarks on pdf)

2006-11-14 Thread Jabka Atu

Hello ..
im working alot with pdf map and each time i take the pdf and save it as 
jpg then make an image map.


how can i put an imagemap inside pdf ?
imeen to add bookmarks inside it


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




See where all our friends are on my Friend Map!

2006-07-16 Thread JaY KoNnEcK
JaY KoNnEcK started a Friend Map on Frappr so your friends can all see each 
other on a map.  Come put yourself on the map! 

To see JaY KoNnEcK's Friend Map, click below or paste the url into a browser:
http://www.frappr.com/?a=widgetlandingfid=118076iv=1hash=3s8s4 


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



FlightGear, Terrasync, Atlas/Map

2006-05-28 Thread David Baron
Flightgear is a great, though resource hawging, flight simulator.
Terraync will enable it to download scenery as you fly.
Map will convert this scenery to maps and Atlas will show you where your are 
(note that their site is quite specifitic--these maps are for entertainment 
purposes only and it is illegal to really fly by them!).

A script from their site, duly modifiied, lets one sync fight and scenery, 
downloading as need be. Great stuff on a fast connection.

I made another version of the script to similarly run the Atlas and plane 
position is tracked on those nice maps.

Both use an atlas protocal udp on a port number. Does nayone know how to run 
BOTH at once downloading scenery, producing its map and using the map on the 
fly [SIC] ??


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



See where all our friends are on my Friend Map!

2006-04-19 Thread jean habib
jean habib started a Friend Map on Frappr so your friends can all see each 
other on a map.  Come put yourself on the map! 

To see jean habib's Friend Map, click below or paste the url into a browser:
http://www.frappr.com/?a=widgetlandingfid=649075iv=1hash=9os41re=1


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



See where all our friends are on my Friend Map!

2006-04-19 Thread JaY KoNnEcK
JaY KoNnEcK started a Friend Map on Frappr so your friends can all see each 
other on a map.  Come put yourself on the map! 

To see JaY KoNnEcK's Friend Map, click below or paste the url into a browser:
http://www.frappr.com/?a=widgetlandingfid=118076iv=1hash=3s8s4re=1


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



See where all our friends are on my Friend Map!

2006-04-13 Thread JaY KoNnEcK
JaY KoNnEcK started a Friend Map on Frappr so your friends can all see each 
other on a map.  Come put yourself on the map! 
To see JaY KoNnEcK's Friend Map, click below or paste the url into a browser:
http://www.frappr.com/?a=myfrapprid=118076iv=1hash=3s8s4


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



Filter rule to map Mail Header to address book entry

2006-01-21 Thread Vitaliy Ischenko
How I can map mail header to address book entry (list or personal card)
in evolution?

thanks in advance


signature.asc
Description: Эта часть	 сообщения	 подписана	 цифровой	 подписью


Re: Filter rule to map Mail Header to address book entry

2006-01-21 Thread Vitaliy Ischenko
В Вск, 22/01/2006 в 01:37 +0300, Vitaliy Ischenko пишет:
 How I can map mail header to address book entry (list or personal card)
 in evolution?
 
 thanks in advance


signature.asc
Description: Эта часть	 сообщения	 подписана	 цифровой	 подписью


[OT] autofs ohne map?

2006-01-11 Thread Jan Luehr
ja hallo erstmal,..

kennt ihr Ansätze, autofs ohne map zu nutzen, d.h. ein Gerät einfach mit 
automount zu mounten?
Z.B. so etwas wie:
automount /dev/sda1 /usb/ -o timeout=1?
Hintergrund: (Ich würde gerne usb-sticks async. mouten. Dabei sollten diese 
bei Nichtbenutzung automatisch wie -wie bei autofs - ausgehangen werden. 
(nein, schreit jetzt bitte nicht nach usbmount, das hätte mir heute beinahe 
ein ext3 zerschossen). 
Eine Map müsste bei Nutzung von automount (wie aus sarge)  dynamisch per 
Hotplug definiert werden - das wäre irgendwie umständlich)

Keep smiling
yanosz



Re: [OT] autofs ohne map?

2006-01-11 Thread Andre Berger
* Jan Luehr (2006-01-11):
 ja hallo erstmal,..
 
 kennt ihr Ansätze, autofs ohne map zu nutzen, d.h. ein Gerät einfach mit 
 automount zu mounten?
 Z.B. so etwas wie:
 automount /dev/sda1 /usb/ -o timeout=1?
 Hintergrund: (Ich würde gerne usb-sticks async. mouten. Dabei sollten diese 
 bei Nichtbenutzung automatisch wie -wie bei autofs - ausgehangen werden. 
 (nein, schreit jetzt bitte nicht nach usbmount, das hätte mir heute beinahe 
 ein ext3 zerschossen). 
 Eine Map müsste bei Nutzung von automount (wie aus sarge)  dynamisch per 
 Hotplug definiert werden - das wäre irgendwie umständlich)

Ich bin mir nicht so ganz klar darueber, ob es das ist, was du
suchst, aber schau dir mal
http://linkstationwiki.org/Articles/DebianUSBDevices#toc6 an; die
PArameter kann man in /etc/auto.tero anpassen.

-Andre


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: [OT] autofs ohne map?

2006-01-11 Thread Jan Luehr
ja hallo erstmal,..

Am Mittwoch, 11. Januar 2006 18:33 schrieb Andre Berger:
 * Jan Luehr (2006-01-11):
  ja hallo erstmal,..
 
  kennt ihr Ansätze, autofs ohne map zu nutzen, d.h. ein Gerät einfach mit
  automount zu mounten?
  Z.B. so etwas wie:
  automount /dev/sda1 /usb/ -o timeout=1?
  Hintergrund: (Ich würde gerne usb-sticks async. mouten. Dabei sollten
  diese bei Nichtbenutzung automatisch wie -wie bei autofs - ausgehangen
  werden. (nein, schreit jetzt bitte nicht nach usbmount, das hätte mir
  heute beinahe ein ext3 zerschossen).
  Eine Map müsste bei Nutzung von automount (wie aus sarge)  dynamisch per
  Hotplug definiert werden - das wäre irgendwie umständlich)

 Ich bin mir nicht so ganz klar darueber, ob es das ist, was du
 suchst, aber schau dir mal
 http://linkstationwiki.org/Articles/DebianUSBDevices#toc6 an; die
 PArameter kann man in /etc/auto.tero anpassen.

Eher nicht. Hier wird wieder eine Map verwendet, inder die USB-Stick-Struktur 
fest eingebunden ist. 
Leider weiß ich vor dem Einstecken nicht wie der USB-Stick partioniert ist und 
kann leider erst zur Laufzeit feststellen, wie die map aussehen muss.
Hier wäre also wieder Perl, o.ä. nötig.

Keep smiling
yanosz



Re: [OT] autofs ohne map?

2006-01-11 Thread Andre Berger
* Jan Luehr (2006-01-11):
 ja hallo erstmal,..
 
 Am Mittwoch, 11. Januar 2006 18:33 schrieb Andre Berger:
  * Jan Luehr (2006-01-11):
   ja hallo erstmal,..
  
   kennt ihr Ansätze, autofs ohne map zu nutzen, d.h. ein Gerät einfach mit
   automount zu mounten?
   Z.B. so etwas wie:
   automount /dev/sda1 /usb/ -o timeout=1?
   Hintergrund: (Ich würde gerne usb-sticks async. mouten. Dabei sollten
   diese bei Nichtbenutzung automatisch wie -wie bei autofs - ausgehangen
   werden. (nein, schreit jetzt bitte nicht nach usbmount, das hätte mir
   heute beinahe ein ext3 zerschossen).
   Eine Map müsste bei Nutzung von automount (wie aus sarge)  dynamisch per
   Hotplug definiert werden - das wäre irgendwie umständlich)
 
  Ich bin mir nicht so ganz klar darueber, ob es das ist, was du
  suchst, aber schau dir mal
  http://linkstationwiki.org/Articles/DebianUSBDevices#toc6 an; die
  PArameter kann man in /etc/auto.tero anpassen.
 
 Eher nicht. Hier wird wieder eine Map verwendet, inder die USB-Stick-Struktur 
 fest eingebunden ist. 
 Leider weiß ich vor dem Einstecken nicht wie der USB-Stick partioniert ist 
 und 
 kann leider erst zur Laufzeit feststellen, wie die map aussehen muss.
 Hier wäre also wieder Perl, o.ä. nötig.

Ohne es ausprobiert zu haben koennte man vielleicht mehrere Eintraege
anlegen; nur einer kann ja gemountet werden, die anderen gaeben
einfach Fehler zurueck:

# /etc/auto.tero
usb -fstype=sync,auto,nosuid,nodev,noexec,user,gid=1000,umask=007 :/dev/sda
usb -fstype=sync,auto,nosuid,nodev,noexec,user,gid=1000,umask=007 :/dev/sda1

-Andre


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject unsubscribe. Probleme? Mail an [EMAIL PROTECTED] (engl)



Re: autofs, program map et option ghost

2005-11-14 Thread RTyler

Mourgues Bastien a écrit :


Salut, je ne sais pas si tu as eu des réponses à ton message sur la
liste, à tout hasard, voici ma petite contribution :
 


en l'occurence pas que je sache (je n'ai pas le temps d'aller voir ce soir)


remplace
key=pwd

par quelque chose comme 
key=`pwd`
 

pourquoi pas mais visiblement cela marchait avec le auto.net donc cela 
devrait marcher avec le script modifié.



si tu veux stocker un chemin et non pwd dans ta variable key :)

Ensuite, je ne suis pas sur qu'automount soit lancé dans le repertoire
qui t'interresse, peut être que le $1 initial est plus pertinent (je
n'ai pas testé, c'est donc juste une supposition/suggestion)
 

Le problème c'est que le $1 implique forcément un argument en entrée. 
Hors l'argument serait passé via un cd quelque chose, ce quelque chose 
devenant l'argument (c'est comme cela que ça semble marcher avec 
auto.net). Le problème c'est qu'en mettant un argument je peux dire 
adieux à l'option ghost (pas possible de faire de l'auto-montage via 
clics, ce que je cherche précisément à faire, pour montrer aux gens 
qu'un linux peut être aussi, voire plus simple qu'un windows)...



enfin, déjà, en réglant le problème d'affectation de ta variable, tu
devrais y voir plus clair :)
 

J'essaierai de toute façon, on ne sait jamais, il peut y avoir une 
différence malgré tout, bien que cela marche correctement sans le 
changement avec auto.net . Ce qui me perturbe le plus c'est de voir la 
différence de comportement entre les deux scripts sachant que le début 
est le même... Autre chose, je n'ai pas trouvé comment se passait 
vraiment le passage d'arguments. Je constate que lorsque je fais cd 
partage/christine cela lance le script auto.net avec l'argument 
christine, mais pourquoi ? Pourquoi un sous-répertoire christine ? 
Comment faire si je veux mélanger tous les répertoires partagés ? La 
réponse qui me vient à l'esprit est : le script doit être sûr que le 
montage soit toujours possible, qu'il n'y a pas deux répertoires 
différents montés sur le même point de montage. Il doit donc y avoir une 
vérification de l'unicité du point de montage. Quoiqu'il en soit il y a 
des comportements louches...



a+
 

Merci beaucoup en tout cas, cela fait toujours avancer le schmilblick. 
Cela ne peut aller que dans le bon sens.



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Re: autofs, program map et option ghost

2005-11-14 Thread RTyler

Bastien Mourgues a écrit :


Tu n'as pas du comprendre la subtilité du changement :)

si tu fais
key=pwd

la variable key va contenir la chaine de caractère pwd
 

Si j'avais bien compris, j'avais juste mélangé avec la manip pwd  
/home/monrep/test.txt
J'avais mis cette ligne dans les deux scripts (auto.net et le auto.net 
revisité à ma sauce) juste au début (la partie identique sur les deux 
scripts) et dans un cas j'avais bien le répertoire accédé 
(partage/christine par ex) et dans l'autre j'avais un beau .directory 
alors que j'avais tenté le même accès.


si tu fais 
key=`pwd`

la variable key va contenir le _résultat_ de la commande pwd (soit le
chemin courrant).

Dans auto.net, on a
key=$1
soit : la variable key contient le contenu du premier paramètre passé
au script (le premier repertoire dans le chemin étant le nom du serveur
à contacter).

Le script auto.net (ou ton script dans ton cas) est invoqué par
automount, lui même réveillé par le noyau suite à un accès dans le
répertoire de «partages». 


Il me semble que automount appelle ce script en lui passant en paramètre
le répertoire que l'utilisateur à essayer d'atteindre.
 

Oui c'est bien ma conclusion par contre ce qui est étrange c'est que le 
répertoire se crée. Le résultat de auto.net avec comme argument 
christine par ex c'est les répertoires partagés de christine (du genre 
/etc et non christine/etc). Donc en toute logique autofs devrait monter 
le(s) répertoire(s) partagé(s) en partage/etc et non partage/christine. 
Visiblement avec autofs quand on fait cd christine le répertoire se crée 
et christine est passé en argument du script.



Si le repertoire courrant est aussi modifié (résultat de la commande
pwd), ça doit marcher avec aussi.
 

Oui j'avais effectivement fait une erreur sur pwd au lieu de `pwd` 
(pourquoi le simple quote inversé ?) mais ton explication était clair 
dès le premier coup :)



Ce que tu dois faire dans ton script, c'est de faire correspondre le
repertoire que l'utilisateur a essayé d'atteindre avec un des
répertoires exportés par ton serveur ( un style de showmount -e $host |
grep $rep )
 

En tout cas cela a bien avancé et cela résoudra peut-être (probablement) 
le problème. Il n'empêche qu'avec key=$1 à la place de key=`pwd` dans un 
cas key comprenait bien quelque chose et dans l'autre cas il comprenait 
.directory



bon courage ;)
 

Merci, j'en ai à nouveau maintenant. Merci encore. Je tiens la liste au 
courant des résultats.


RTyler


--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Re: autofs, program map et option ghost

2005-11-13 Thread RTyler
Personne n'a d'idées ? Il manque des précisions ? S'il vous plait dites 
moi que quelqu'un a une idée... :)


Bonne soirée à tous.

RTyler

RTyler a écrit :

Bonjour la liste,


j'aimerai avoir un montage automatique de mes ressources NFS et que les 
règles ne soient pas écrites à l'avance. Pour se faire, j'ai récupérer 
le script /etc/auto.net livré avec autofs et j'ai tenté de l'adapter (je 
mets plus bas le script initial puis le mien) afin qu'il me génère une 
map conforme à ce que je cherche (à savoir j'ai un répertoire Partage 
sur mon système et je voudrais qu'il monte dedans les partages NFS 
suivant cette arborescence : NomServeurNFS/NomDossierPartage et non 
NomServeurNFS/NomCompletDossierPartage (ie je ne veux pas toute 
l'arborescence du répertoire partagé mais juste son nom) comme dans 
auto.net .


Par ailleurs je souhaiterai que les répertoires soient visible par 
avance en graphique de manière à n'avoir pas à taper le nom du 
répertoire partagé (puisque les répertoires partagés sont susceptible de 
changer). J'ai donc utilisé l'option --ghost dans auto.master et ai 
modifié le script auto.net également pour qu'il n'attende aucun argument.


1) Mais voila, cela ne marche pas. Déjà même sans l'option --ghost et 
sans la modification de l'argument il y a une différence entre auto.net 
et auto_nfs (le script modifié) : bien que le début soit identique, 
auto_nfs ne récupère rien dans key...


2) Ensuite, lorsque je veux utiliser l'option ghost et que je fais la 
modification adéquate (à savoir je remplace key=$1 par key=pwd le 
montage automatique ne se fait plus. J'ai tenté un 
pwd/home/moi/test.txt pour voir ce qui se passait et justement, il ne 
se passe rien. Le script devrait être appelé quand on accède à 
Partage/NomServeurNFS mais visiblement il n'en est rien. Il semble 
attendre que je tape quelque chose pour passer au script un argument.


J'espère que vous aurez des suggestions à me faire parce que là je 
sèche. D'ailleurs si vous avez une idée également pour qu'à terme je 
n'ai même pas besoin de spécifier les ordinateurs partageant quelque 
chose et garder le ghosting cela m'intéresse beaucoup (du genre je vais 
dans Partage, je vois les ordinateurs de mon réseau connectés, et quand 
je vais dans leur sous-répertoire respectif je vois les différents 
partage afférents). Juste une idée me suffirait, ce serait d'ailleurs 
grandement plus bénéfique pour moi que je mette en pratique tout seul 
donc un lien me ravirait complètement.


Merci d'avance et bonne journée à tous.

RTyler

Annexes (je ne copie que le nécessaire)

auto.master


/home/rtyler/Partage/   /etc/auto_share --timeout=60 --ghost

auto.net
--

#!/bin/bash

# $Id: auto.net,v 1.8 2005/04/05 13:02:09 raven Exp $

# This file must be executable to work! chmod 755!

# Look at what a host is exporting to determine what we can mount.
# This is very simple, but it appears to work surprisingly well

key=$1

# add nosymlink here if you want to suppress symlinking local filesystems
# add nonstrict to make it OK for some filesystems to not mount
opts=-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async

# Showmount comes in a number of names and varieties.  showmount is
# typically an older version which accepts the '--no-headers' flag
# but ignores it.  kshowmount is the newer version installed with knfsd,
# which both accepts and acts on the '--no-headers' flag.
#SHOWMOUNT=kshowmount --no-headers -e $key
#SHOWMOUNT=showmount -e $key | tail -n +2

for P in /bin /sbin /usr/bin /usr/sbin
do
   for M in showmount kshowmount
   do
   if [ -x $P/$M ]
   then
   SMNT=$P/$M
   break
   fi
   done
done

[ -x $SMNT ] || exit 1

# Newer distributions get this right
SHOWMOUNT=$SMNT --no-headers -e $key

$SHOWMOUNT | LC_ALL=C sort +0 | \
   awk -v key=$key -v opts=$opts -- '
   BEGIN{ ORS=; first=1 }
   { if (first) { print opts; first=0 }; print  \\\n\t $1, key : 
$1 }

   END{ if (!first) print \n; else exit 1 }
   '

/etc/auto_nfs
-

#!/bin/bash

# $Id: auto.net,v 1.8 2005/04/05 13:02:09 raven Exp $

# This file must be executable to work! chmod 755!

# Look at what a host is exporting to determine what we can mount.
# This is very simple, but it appears to work surprisingly well

#key=$1
key=pwd

pwd  /home/rtyler/test1.txt

# add nosymlink here if you want to suppress symlinking local filesystems
# add nonstrict to make it OK for some filesystems to not mount
opts=-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async

# Showmount comes in a number of names and varieties.  showmount is
# typically an older version which accepts the '--no-headers' flag
# but ignores it.  kshowmount is the newer version installed with knfsd,
# which both accepts and acts on the '--no-headers' flag.
#SHOWMOUNT=kshowmount --no-headers -e $key
#SHOWMOUNT=showmount -e $key | tail -n +2

for P in /bin /sbin /usr/bin /usr/sbin
do
   for M in showmount kshowmount
   do

autofs, program map et option ghost

2005-11-11 Thread RTyler

Bonjour la liste,


j'aimerai avoir un montage automatique de mes ressources NFS et que les 
règles ne soient pas écrites à l'avance. Pour se faire, j'ai récupérer 
le script /etc/auto.net livré avec autofs et j'ai tenté de l'adapter (je 
mets plus bas le script initial puis le mien) afin qu'il me génère une 
map conforme à ce que je cherche (à savoir j'ai un répertoire Partage 
sur mon système et je voudrais qu'il monte dedans les partages NFS 
suivant cette arborescence : NomServeurNFS/NomDossierPartage et non 
NomServeurNFS/NomCompletDossierPartage (ie je ne veux pas toute 
l'arborescence du répertoire partagé mais juste son nom) comme dans 
auto.net .


Par ailleurs je souhaiterai que les répertoires soient visible par 
avance en graphique de manière à n'avoir pas à taper le nom du 
répertoire partagé (puisque les répertoires partagés sont susceptible de 
changer). J'ai donc utilisé l'option --ghost dans auto.master et ai 
modifié le script auto.net également pour qu'il n'attende aucun argument.


1) Mais voila, cela ne marche pas. Déjà même sans l'option --ghost et 
sans la modification de l'argument il y a une différence entre auto.net 
et auto_nfs (le script modifié) : bien que le début soit identique, 
auto_nfs ne récupère rien dans key...


2) Ensuite, lorsque je veux utiliser l'option ghost et que je fais la 
modification adéquate (à savoir je remplace key=$1 par key=pwd le 
montage automatique ne se fait plus. J'ai tenté un 
pwd/home/moi/test.txt pour voir ce qui se passait et justement, il ne 
se passe rien. Le script devrait être appelé quand on accède à 
Partage/NomServeurNFS mais visiblement il n'en est rien. Il semble 
attendre que je tape quelque chose pour passer au script un argument.


J'espère que vous aurez des suggestions à me faire parce que là je 
sèche. D'ailleurs si vous avez une idée également pour qu'à terme je 
n'ai même pas besoin de spécifier les ordinateurs partageant quelque 
chose et garder le ghosting cela m'intéresse beaucoup (du genre je vais 
dans Partage, je vois les ordinateurs de mon réseau connectés, et quand 
je vais dans leur sous-répertoire respectif je vois les différents 
partage afférents). Juste une idée me suffirait, ce serait d'ailleurs 
grandement plus bénéfique pour moi que je mette en pratique tout seul 
donc un lien me ravirait complètement.


Merci d'avance et bonne journée à tous.

RTyler

Annexes (je ne copie que le nécessaire)

auto.master


/home/rtyler/Partage/   /etc/auto_share --timeout=60 --ghost

auto.net
--

#!/bin/bash

# $Id: auto.net,v 1.8 2005/04/05 13:02:09 raven Exp $

# This file must be executable to work! chmod 755!

# Look at what a host is exporting to determine what we can mount.
# This is very simple, but it appears to work surprisingly well

key=$1

# add nosymlink here if you want to suppress symlinking local filesystems
# add nonstrict to make it OK for some filesystems to not mount
opts=-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async

# Showmount comes in a number of names and varieties.  showmount is
# typically an older version which accepts the '--no-headers' flag
# but ignores it.  kshowmount is the newer version installed with knfsd,
# which both accepts and acts on the '--no-headers' flag.
#SHOWMOUNT=kshowmount --no-headers -e $key
#SHOWMOUNT=showmount -e $key | tail -n +2

for P in /bin /sbin /usr/bin /usr/sbin
do
   for M in showmount kshowmount
   do
   if [ -x $P/$M ]
   then
   SMNT=$P/$M
   break
   fi
   done
done

[ -x $SMNT ] || exit 1

# Newer distributions get this right
SHOWMOUNT=$SMNT --no-headers -e $key

$SHOWMOUNT | LC_ALL=C sort +0 | \
   awk -v key=$key -v opts=$opts -- '
   BEGIN{ ORS=; first=1 }
   { if (first) { print opts; first=0 }; print  \\\n\t $1, key 
: $1 }

   END{ if (!first) print \n; else exit 1 }
   '

/etc/auto_nfs
-

#!/bin/bash

# $Id: auto.net,v 1.8 2005/04/05 13:02:09 raven Exp $

# This file must be executable to work! chmod 755!

# Look at what a host is exporting to determine what we can mount.
# This is very simple, but it appears to work surprisingly well

#key=$1
key=pwd

pwd  /home/rtyler/test1.txt

# add nosymlink here if you want to suppress symlinking local filesystems
# add nonstrict to make it OK for some filesystems to not mount
opts=-fstype=nfs,hard,intr,nodev,nosuid,nonstrict,async

# Showmount comes in a number of names and varieties.  showmount is
# typically an older version which accepts the '--no-headers' flag
# but ignores it.  kshowmount is the newer version installed with knfsd,
# which both accepts and acts on the '--no-headers' flag.
#SHOWMOUNT=kshowmount --no-headers -e $key
#SHOWMOUNT=showmount -e $key | tail -n +2

for P in /bin /sbin /usr/bin /usr/sbin
do
   for M in showmount kshowmount
   do
   if [ -x $P/$M ]
   then
   SMNT=$P/$M
   break
   fi
   done
done

[ -x $SMNT ] || exit 1

# Newer distributions get this right

Console color map ?

2005-08-28 Thread Lance Hoffmeyer

Hello,

I was wondering if there is a console color map similar to 
/usr/lib/X11/rgb.txt ?

Also,  I am using a framebuffer vga=791?  Is there a colormap
for this?  What if were to change to something like vga=792?

I am trying to determine what colors will be available to be
in a console?

Lance




-- 

Lance Hoffmeyer
  [EMAIL PROTECTED]

---
  It gives me great pleasure indeed to see the stubbornness of an incorrigible
nonconformist warmly acclaimed.
   -
Albert Einstein


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



ATI driver errors after last dist-upgrade ([fglrx:firegl_rmmap] *ERROR* map 0xde28ff10 still in use)

2005-05-18 Thread Erik Steffl
  after last aptitude ugg (upgrade of everything) I suddenly see huge 
number of error message like this in /var/log/syslog:

May 17 22:02:37 jojda kernel: [fglrx:firegl_rmmap] *ERROR* map 
0xde28ff10 still in use (map_count=1)

  there is huge number of them (436 between May 18 07:45:31 and May 18 
11:55:01) and thery seem to be printed even if there's no openGL app 
running.

  relevant system info:
  debian unstable
  kernel 2.6.9
  Radeon 9800 Pro
  ati driver: fglrx_4_3_0-8.10.19-1.i386.rpm (via alien)
  more details: openGL used to work before last upgrade, no error 
messages. It still works but it freezes for short periods of time (when 
the messages are written to syslog) so it's not very usable anymore.

  haven't found much info on google, except of somebody suggesting 
setting UseFastTLS 2 (instead of default 0) in X config, haven't tried 
that yet but does anybody know more details? Apparently it's some change 
in X server that triggers this problem (don't know whether it's ati 
driver problem or X server problem).

  any details?
  TIA
erik
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



DDNS: unable to add forward map

2005-04-04 Thread Julien VEHENT
Bonjour,

j'essaie de déployer un DDNS avec les packages suivants:
dhcp3-server 3.0.1-1
Bind9 9.2.4-1

dés que je fais un ipconfig /renew depuis un client windows, mon dhcp
attribut bien une adresse à ce client mais il refuse de rajouter la
nouvelle entrée dans une map du DNS

voici le syslog:

Apr  4 16:25:38 srvlinux-res1 dhcpd: DHCPREQUEST for 192.168.1.55 from 
00:11:d8:9a:6b:40 (athlon64-3200) via eth0

Apr  4 16:25:38 srvlinux-res1 dhcpd: DHCPACK on 192.168.1.55 to
00:11:d8:9a:6b:40 (athlon64-3200) via eth0 

Apr  4 16:25:41 srvlinux-res1 dhcpd: Unable to add forward map from
athlon64-3200.[DOMAIN].fr to 192.168.1.55: timed out 

Apr  4 16:25:41 srvlinux-res1 dhcpd: DHCPREQUEST for 192.168.1.55 from
00:11:d8:9a:6b:40 (athlon64-3200) via eth0 

Apr  4 16:25:41 srvlinux-res1 dhcpd: DHCPACK on 192.168.1.55 to
00:11:d8:9a:6b:40 (athlon64-3200) via eth0

mon port 953 {rndc} est ouvert en local
voici comment ma clé rndc est spécifié dans mes fichiers named.conf et
dhcpd.conf:

la clé rndc présente dans named.conf et dhcpd.conf est:
key rndc.key {
algorithm hmac-md5;
secret 3jBscdtfhV0GnX8G+q0cug==;
};

fichier named.conf
zone [DOMAIN].fr {
type master;
file /etc/bind/[DOMAIN].db;
allow-update {key rndc.key;};
};

zone 1.168.192.in-addr.arpa {
type master;
file /etc/bind/1.168.192.db;
allow-update {key rndc.key;};
};

fichier dhcpd.conf=
zone [DOMAIN].fr. {
primary 127.0.0.1;
key rndc.key;
}
zone 1.168.192.in-addr.arpa. {
primary 127.0.0.1;
key rndc.key;
}


j'arrive a me connecter sur le port 953 en telnet
je ne sais pas d'ou ca vient, sachant que dans les logs quand je lance mes
services il ne me met pas de messages d'erreurs

il existe un fichier .jnl dans lequel l'utilisateurs bind est proprio
pour écrire les entrées venant de dhcp (peut etre une source d'erreur
mais je ne sais pas comment vérifier ca)


-- 
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs From et Reply-To:

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



Re: world map or atlas?

2004-12-05 Thread Sam Watkins
On Sun, Dec 05, 2004 at 12:05:11AM -0500, Matt Price wrote:
 I'm looking for a decent world map  program, preferably with some
 flexibility about what information is displayed (political  physical
 features, etc).  I find it hard to believe that Debian doesn't have
 this, but I'm not having much luck finding one with apt-cache, I guess
 partley because map and atlas are regexes used by lots of
 programs...  
 
 Can anyone point me in the right direction?

I'm trying to develop such a program in my spare time...

here are some mappy programs I'm aware of that exist in Debian already:

xearth
xplanet
gmt


gmt is good, but not easy to use, you need to be good with your shell!
You can see what it can do online:

  http://www.aquarius.geomar.de/omc_intro.html


There is another project at:

  http://mapserver.gis.umn.edu/

which isn't in Debian, haven't tried it yet.


My program is called geon, it's can animate the globe (it draws maps fast)
and it's supposed to be able to zoom in from the globe to street level, getting
more detail off the net as it needs it.  It doesn't quite live up to its hype
yet!


Sam


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



Re: world map or atlas?

2004-12-05 Thread Simon Huggins
On Sun, Dec 05, 2004 at 12:05:11AM -0500, Matt Price wrote:
 ps -- I tried xplanet, but it doesn't seem to work with xfce4, my WM
 -- or anyway, if it does, I'm missing them agic password.  

I believe this is because it defaults to using the root window which
xfdesktop will be controlling.

Try xplanet -window instead.

Simon.

-- 
* Clear? - Holly. No. - Lister. Tough. - Holly.   *
|   |
*   *
   Brought to you by the letter T and the number 22


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



world map or atlas?

2004-12-04 Thread Matt Price
hi folks,  

I'm looking for a decent world map  program, preferably with some
flexibility about what information is displayed (political  physical
features, etc).  I find it hard to believe that Debian doesn't have
this, but I'm not having much luck finding one with apt-cache, I guess
partley because map and atlas are regexes used by lots of
programs...  

Can anyone point me in the right direction?

thanks,
matt

ps -- I tried xplanet, but it doesn't seem to work with xfce4, my WM
-- or anyway, if it does, I'm missing them agic password.  


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



Map router software and gps - hardware

2004-11-30 Thread andreas . sumper

Hi Guys!

I am looking for some software to generate
my routes for journeys and stuff like that. I need european cards, espcially
austrian ones...
In Windows, there is a programm. In
linux all I found was routeplanner, which did not work with my debian testing.

the other thing I would like to know
is, if somebody knows if there is a gps pcmcia - card, which works with
debian? Has anybody tried some cards and can give hints?

Thanks in advance!
Bye,
Andy


| Andreas Sumper
| Project Manager
|
| nimbus Development IT Consulting GmbH
| we unleash the power of domino 
| 
| Annenstrasse 30/1
| 8020 Graz
| Tel.: +43 (0) 316 714 255 - DW 18
| Fax: +43 (0) 316 714 255 - DW 4
| http://www.nimbus.at/

| sent through Lotus Notes 6.5.1 
| using wine on a linux box



Re: [newbie] brak /boot/map i error w lilo.

2004-11-23 Thread Adam Byrtek / Alpha
On Thu, Nov 18, 2004 at 01:19:53PM +0100, MONSter wrote:
 Kolejne pytanie, to jaki sterownik/ustawienia wybrac dla myszy
 Creative MBT58, aby scroll popawnie dizalal? mysze podlaczylem pod
 ps2 (moge usb, ale brak portow). (uzywam X'y i KDE).

Sam sobie prawie odpowiedziałeś, najprawdopodobniej będzie to PS/2
albo ImPS/2, spróbuj. Z myszkami PS/2 na ogół nie ma problemów.

Pozdrawiam,
Alpha

-- 
  __ _
 / _` |   Adam Byrtek -*- jid alpha.jabber.lfa.pl -*- pgp 0xB25952C0
 \__,_|   Każdy ideał w ciele jest trywialny - prawdy algebraiczne



[newbie] brak /boot/map i error w lilo.

2004-11-18 Thread MONSter
Witam

Mam problem z lilo. Dawno nie instalowalem linuksa. Z tego tez wzgledu
pominalem instalacje lilo, poniewaz posiadam inny system.
Debiana Woody odpalam za pomoca opcji rescue root=/dev/hda2, 
jednak chciałem robic to za pomoca XP'ka (jego bootloadera). W tym celu 
powinniem 
uzyc opcji dd, ale pojawil sie problem. Pierwszy, w katalogu /boot/ nie mam 
pliku map.
W zamian znalezc tam moge plik:
-rw-r--r--1 root root   559088 Nov 17 15:23 System.map-2.4.18-bf2.4
Czy to jest to samo?
Dodatkowo dolaczam error ktory wywala lilo, Nie mam pojęcia co to...
lilo -t
Device 0x0300: Invalid partition table, 2nd entry
  3D address: 1/0/496 (7968240)
  Linear address: 1/31/31 (499968) 
Jak widac, jest to czysta instalacja linuksa, z najnowszym update'm. 
Moze to jest tez wina jadra? chce sobie skompilowac ostatnie stabilne, 
czyli 2.6.9. Czy to dobry pomysl?

Poniewaz chce skompilowac nowe jajko, potrzebuje biblioteki w wyzszej wersji 
niz mam obecnie. Cos zapewne musze dodac do apt-get'a, aby je pobrac. Ma to
byc zmiana z stable na testing? Czy lepiej pobrac skads te paczki?

Kolejne pytanie, to jaki sterownik/ustawienia wybrac dla myszy Creative MBT58, 
aby scroll popawnie dizalal? mysze podlaczylem pod ps2 (moge usb, ale brak 
portow).
(uzywam X'y i KDE).

-- 
Pozdrawiam serdecznie:
 MONSter  mailto:[EMAIL PROTECTED]





Re: [newbie] brak /boot/map i error w lilo.

2004-11-18 Thread Maciej Suszko

MONSter wrote:

Witam

Mam problem z lilo. Dawno nie instalowalem linuksa. Z tego tez wzgledu
pominalem instalacje lilo, poniewaz posiadam inny system.
Debiana Woody odpalam za pomoca opcji rescue root=/dev/hda2, 
jednak chciałem robic to za pomoca XP'ka (jego bootloadera). W tym celu powinniem 
uzyc opcji dd, ale pojawil sie problem. Pierwszy, w katalogu /boot/ nie mam pliku map.

W zamian znalezc tam moge plik:
-rw-r--r--1 root root   559088 Nov 17 15:23 System.map-2.4.18-bf2.4
Czy to jest to samo?
Dodatkowo dolaczam error ktory wywala lilo, Nie mam pojęcia co to...
lilo -t
Device 0x0300: Invalid partition table, 2nd entry
  3D address: 1/0/496 (7968240)
  Linear address: 1/31/31 (499968) 
Jak widac, jest to czysta instalacja linuksa, z najnowszym update'm. 
Moze to jest tez wina jadra? chce sobie skompilowac ostatnie stabilne, 
czyli 2.6.9. Czy to dobry pomysl?


Poniewaz chce skompilowac nowe jajko, potrzebuje biblioteki w wyzszej wersji 
niz mam obecnie. Cos zapewne musze dodac do apt-get'a, aby je pobrac. Ma to

byc zmiana z stable na testing? Czy lepiej pobrac skads te paczki?

Kolejne pytanie, to jaki sterownik/ustawienia wybrac dla myszy Creative MBT58, 
aby scroll popawnie dizalal? mysze podlaczylem pod ps2 (moge usb, ale brak portow).

(uzywam X'y i KDE).



jezeli chcesz korzystac z 2.6.9 to polecam upgrade systemu do Sarge... z 
Woodym bedziesz mial pewnie sporo kombinowania


--
pozdrawiam,  | Nie ma złego tytoniu, tak jak nie ma   |
Maciej Suszko aka suchy  |  brzydkich kobiet. |
rlu: 247800 ekg: 1671779 |   (Albert Einstein) |



Re: [newbie] brak /boot/map i error w lilo.

2004-11-18 Thread Marcin Owsiany
On Thu, Nov 18, 2004 at 01:19:53PM +0100, MONSter wrote:
 Pierwszy, w katalogu /boot/ nie mam pliku map.
 W zamian znalezc tam moge plik:
 -rw-r--r--1 root root   559088 Nov 17 15:23 
 System.map-2.4.18-bf2.4
 Czy to jest to samo?

Nie wiem po co Ci /boot/map, ale System.map nie ma nic wspólnego z
ładowaniem systemu.

 Dodatkowo dolaczam error ktory wywala lilo, Nie mam pojęcia co to...
 lilo -t
 Device 0x0300: Invalid partition table, 2nd entry

Nie podoba mu się tablica partycji. Dlaczego, to już inne pytanie...

   3D address: 1/0/496 (7968240)
   Linear address: 1/31/31 (499968) 
 Jak widac, jest to czysta instalacja linuksa, z najnowszym update'm. 

Prawdę mówiąc wcale tego nie widać :-P

 Moze to jest tez wina jadra?

Raczej nie.

 Poniewaz chce skompilowac nowe jajko, potrzebuje biblioteki w wyzszej wersji 
 niz mam obecnie. Cos zapewne musze dodac do apt-get'a, aby je pobrac. Ma to
 byc zmiana z stable na testing? Czy lepiej pobrac skads te paczki?

Zależy co rozumiesz przez lepiej. Jeśli znajdziesz backport dla
woody'ego, to łatwiej chyba go zainstalować niż robił pełny upgrade.

 Kolejne pytanie, to jaki sterownik/ustawienia wybrac dla myszy Creative 
 MBT58, 
 aby scroll popawnie dizalal? mysze podlaczylem pod ps2 (moge usb, ale brak 
 portow).
 (uzywam X'y i KDE).

Spróbuj:
Option  Protocol  ImPS/2
Option  ZAxisMapping  4 5

Marcin
-- 
Marcin Owsiany [EMAIL PROTECTED] http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216



Re: different networks, same computer (map mapping ?)

2004-11-09 Thread H. S.
Apparently, _John Schmidt_, on 01/11/04 19:48,typed:
On Monday 01 November 2004 03:19 pm, H. S. wrote:
I would like a laptop to work in two kinds of networks automatically if
possible. At home, I am running a DHCP server and if the laptop is
connected to my switch(CAT5 cable to eth0) and booted up, it looks for
and gets an IP address (it is running a dhcp client). Now when that
laptop is taken to the university, the user needs to change the
/etc/network/interfaces file to give the machine a static address. I am
looking for a way that this choice between dhcp/static happens
automatically.
I have been reading manpages of interfaces and learned we can map a
physical device as logical devices and make it work in different modes.
I am looking for examples where this is already done, the documentation
in man interfaces is, well,  not very clear about all the nuts and
bolts, or so I believe. All help is appreciated.
Thanks,
-HS

I have a similar setup.  I used ifplugd and guessnet.  You have to modify 
slightly /etc/network/interfaces.  I supposed you don't need ifplugd, but it 
is nice to be able to start up my laptop quickly without having any type of 
network cable installed.  Once you plug a cable in, ifplugd will configure 
things for you. 

Anyway, here are some snippets from my /etc/network/interfaces file:
# The primary network interface
# turn off since ifplugd is controlling things
#auto eth0
mapping eth0
script /usr/sbin/guessnet-ifupdown
map default: none
map timeout: 3
map verbose: true
iface work inet dhcp
test-peer address x.x.x.x MAC.address
iface home inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
test-peer address 192.168.1.1 MAC.address
Note:  

x.x.x.x is the IP address of a known computer on the network that should be 
always there.  The MAC.address is the hardware MAC address of this computer.

Pretty simple setup but works nicely.
John


Any idea why my boot process would be hanging at this step?
Starting Network Interface Plugging Network:
I have tried in two kernels now, 2.6.7 an 2.6.9. Ifplugd by itself seesm 
to be working fine, but I can't make the automatic detection of the 
network work with guessnet.

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



Re: different networks, same computer (map mapping ?)

2004-11-03 Thread H. S.
--- John Schmidt [EMAIL PROTECTED] wrote:
 Specifically, choose the interfaces file so that
 eth0 is configured at
 dhcp . . .  Do you alter the above interfaces file
 when you are at home using
 dhcp?
Yes, 'etho0 is configures at dhcp client' means I am able to boot with a 
different interfaces file which just configures eth0 to look for dhcp 
server.


 How long have you waited while the MTA:Exim
 hangs?  Before I had
It is not Exim that hangs, but the boot process hangs just after this 
step. I guess it is at the step where uessnet starting network 
interface plugin or something like this.


 Not sure why your setup is not working, but I would
 try and do these steps:
 1.  Test if iplugd is working correctly, i.e. you
 plug your cable in, and your
 network comes up, and if you remove it network is
 unconfigured.
 a.  Revert back to your original interfaces
 file, and remove guessnet.
 b.  Reboot the machine with the cable installed.
 c.  Remove cable and look at /var/log/syslog and
 see if you see activity.
 I use tail -f /var/log/syslog to do this.  If you
 get something like:

 Nov  2 12:09:10 puppy ifplugd(eth0)[3460]: Link beat
 lost.
 Nov  2 12:09:10 puppy kernel: eth0: link down

 And also look at your routing table, i.e. sudo
 route.

 You shouldn't have anything there.  Then, plug your
 cable back in and you
 should see:

 Nov  2 12:12:04 puppy kernel: eth0: link up,
 100Mbps, full-duplex, lpa 0xC1E1
 Nov  2 12:12:04 puppy ifplugd(eth0)[3460]: Link beat
 detected.
 Nov  2 12:12:05 puppy ifplugd(eth0)[3460]: Executing

 '/etc/ifplugd/ifplugd.action eth0 up'.

 And your routing table should have been set back up.
I did as you suggested. I unisntalled guessnet and tested ifplugd, it 
was working properly. The computer booted even without a cable plugged 
in. But, the dhcp request was being sent by eth0 *before* ifplugd was 
doing it's job so without the cable this meant a wait of around a minute 
or so while eth0 waited and failed to get a dhcp offer.

However, I did notice that after installing arping, I didn't receive any 
packats from my LAN dhcp server:
$arping -i eth0 192.168.0.2

I could get back packats only if I make the request with -p, making eth0 
as promiscuous device.

Next step, after satisfying myself that ifplugd was working as expect, I 
re-installed guessnet, and just had one network situation 'home' where 
eth0 was supposed to be configured as dhcp client. The boot process 
still hangs at the same place. I am suspecting:
1) either I need to somehow tell guessnet to make eth0 promiscuous while 
sending out arping requests
2) guessnet has bugs(?)

Also, in the interfaces file, am I supposed to use test-peer or test 
peer? Man page of guessnet suggests the latter. I tried both with same 
results. Here is what I had in my interfaces file:
#--
# The loopback network interface
auto lo
iface lo inet loopback

#mapping
mapping eth0
script /usr/sbin/guessnet-ifupdown
map default: none
map timeout: 3
map verbose: true
#home network
iface home inet dhcp
test peer address 192.168.0.2 source 192.168.0.15
#--
everything else was commented out.
-HS
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



different networks, same computer (map mapping ?)

2004-11-01 Thread H. S.
I would like a laptop to work in two kinds of networks automatically if 
possible. At home, I am running a DHCP server and if the laptop is 
connected to my switch(CAT5 cable to eth0) and booted up, it looks for 
and gets an IP address (it is running a dhcp client). Now when that 
laptop is taken to the university, the user needs to change the 
/etc/network/interfaces file to give the machine a static address. I am 
looking for a way that this choice between dhcp/static happens 
automatically.

I have been reading manpages of interfaces and learned we can map a 
physical device as logical devices and make it work in different modes. 
I am looking for examples where this is already done, the documentation 
in man interfaces is, well,  not very clear about all the nuts and 
bolts, or so I believe. All help is appreciated.

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



Re: different networks, same computer (map mapping ?)

2004-11-01 Thread John Schmidt
On Monday 01 November 2004 03:19 pm, H. S. wrote:
 I would like a laptop to work in two kinds of networks automatically if
 possible. At home, I am running a DHCP server and if the laptop is
 connected to my switch(CAT5 cable to eth0) and booted up, it looks for
 and gets an IP address (it is running a dhcp client). Now when that
 laptop is taken to the university, the user needs to change the
 /etc/network/interfaces file to give the machine a static address. I am
 looking for a way that this choice between dhcp/static happens
 automatically.

 I have been reading manpages of interfaces and learned we can map a
 physical device as logical devices and make it work in different modes.
 I am looking for examples where this is already done, the documentation
 in man interfaces is, well,  not very clear about all the nuts and
 bolts, or so I believe. All help is appreciated.

 Thanks,
 -HS


I have a similar setup.  I used ifplugd and guessnet.  You have to modify 
slightly /etc/network/interfaces.  I supposed you don't need ifplugd, but it 
is nice to be able to start up my laptop quickly without having any type of 
network cable installed.  Once you plug a cable in, ifplugd will configure 
things for you. 

Anyway, here are some snippets from my /etc/network/interfaces file:

# The primary network interface
# turn off since ifplugd is controlling things
#auto eth0

mapping eth0
script /usr/sbin/guessnet-ifupdown
map default: none
map timeout: 3
map verbose: true

iface work inet dhcp
test-peer address x.x.x.x MAC.address

iface home inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
test-peer address 192.168.1.1 MAC.address

Note:  

x.x.x.x is the IP address of a known computer on the network that should be 
always there.  The MAC.address is the hardware MAC address of this computer.

Pretty simple setup but works nicely.

John


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



Re: different networks, same computer (map mapping ?)

2004-11-01 Thread H. S.
Apparently, _John Schmidt_, on 01/11/04 19:48,typed:
I have a similar setup.  I used ifplugd and guessnet.  You have to modify 
slightly /etc/network/interfaces.  I supposed you don't need ifplugd, but it 
is nice to be able to start up my laptop quickly without having any type of 
network cable installed.  Once you plug a cable in, ifplugd will configure 
things for you. 

Anyway, here are some snippets from my /etc/network/interfaces file:
# The primary network interface
# turn off since ifplugd is controlling things
#auto eth0
mapping eth0
script /usr/sbin/guessnet-ifupdown
map default: none
map timeout: 3
map verbose: true
iface work inet dhcp
test-peer address x.x.x.x MAC.address
iface home inet static
address 192.168.1.5
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
test-peer address 192.168.1.1 MAC.address
Note:  

x.x.x.x is the IP address of a known computer on the network that should be 
always there.  The MAC.address is the hardware MAC address of this computer.

Pretty simple setup but works nicely.
John

I installed ifplugd and guess-net. My ifplugd config is:
#--
{~} cat /etc/default/ifplugd
# This file may be changed either manually or by running dpkg-reconfigure.
#
# N.B.: dpkg-reconfigure deletes everything from this file except for
# the assignments to variables INTERFACES, HOTPLUG_INTERFACES, ARGS and
# SUSPEND_ACTION.  When run it uses the current values of those variables
# as their default values, thus preserving the administrator's changes.
INTERFACES=eth0
HOTPLUG_INTERFACES=
ARGS=-q -f -u0 -d5 -w -I
SUSPEND_ACTION=stop
#--
and my interfaces file is:
#--
{~} cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
#mapping
mapping eth0
script /usr/sbin/guessnet-ifupdown
#   map home work
map default: none
map timeout: 3
map verbose: true
#home network
iface home inet dhcp
test-peer address 192.168.0.2 source 192.168.0.15
#university network
iface work inet static
address X.Y.Z.A
netmask 255.255.255.0
gateway X.Y.Z.1
network X.Y.Z.0
broadcast X.Y.Z.255
dns-nameservers a.b.c.d e.f.g.h
test-peer address a.b.c.d source X.Y.Z.A
#--
This setup doesn't work. The boot process hangs just after the starting 
MTA: Exim message. But I choose the interfaces file so that eth0 is 
configured at dhcp in my home, the boot process works and a few messages 
after starting MTA: exim it also gives the message  network 
interfaces plugging demon.

Could you give more information about your interfaces file and ifplugd 
config.? I seem to be missing something very basic here.

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



Re: Re: Xnest keyboard map lost? (Woody, XFree 4.1)

2004-09-30 Thread Patrick HARMEL
It's not me who ask the original question, but i had the same problem of 
keyboard (fr) with Xnest.
I tried the -kb option on a debian sid, and on a aurox 9.4. It works 
in both case.
Thank you very much
begin:vcard
fn:Patrick HARMEL
n:HARMEL;Patrick
org:AFPA Toulouse Palays;BIP
adr;quoted-printable;dom:;;1, all=C3=A9e Jean Griffon;TOULOUSE;;31405
email;internet:[EMAIL PROTECTED]
title:Formateur TSRIT
tel;work:05.61.17.20.39
tel;fax:05.61.17.20.09
version:2.1
end:vcard



Re: grub wants root=/dev/hde?? - map

2004-09-01 Thread Alvin Oga


On Wed, 1 Sep 2004, Lance Hoffmeyer wrote:

 Grub keeps putting my root on /dev/hde.
 
 Originally this is where my harddrive was.
 Now I have moved it to /dev/hda.  Why
 won't Grub recognize this?  I keep having
 to edit the root= line at each boot?

assuming root is /dev/hda1

you need to change /boot/grub/device.map
# for /dev/hda1  as  /
(hd0)   /dev/hda

in menu.lst ...
...
kernel (hd0,0)/boot/vmlinuz-2.4.27 root=/dev/hda1 ...

rerun grub:
grub-install /dev/hda

c ya
alvin


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



Re: Xnest keyboard map lost? (Woody, XFree 4.1)

2004-08-01 Thread Web Michael
Martin,
I had the same problem under linux. Try to disable the X-keyboard 
extension with the option -kb. Example:  Xnest -query localhost -kb 
:11 .
Please tell me, if it works.

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



nagios - 3-D Status Map

2004-07-06 Thread marco almeida
salve galera.

alguém já teve experiência com o nagios? gostaria muito de saber como
posso configurar o 3-D Status Map em meu servidor, mas estou encontrando
muitas dificuldades devido a pouca ou quase nenhuma informação sobre tal
configuração.

agradeço desde já pela atenção.

cordialmente,

|||

  .,p***=b_Marco Almeida da Silva
 ?P  .__ `*b   Technology / Tech Support
|P  .d?'`, 9|  Rits - Network Information of Third Sector
M:  |}   |- H'  [EMAIL PROTECTED]
|  `#?_._oH'   +55-21-2527-5494
`H.   ``'  
 `#?.
   `^~.

|||




Re: nagios - 3-D Status Map

2004-07-06 Thread Júlio César de Magalhães
Marco, vc tem que configurar as coordenadas hostextinfo. mais ou menos assim:

define hostextinfo{
host_name   roteador
icon_image  router.gif
vrml_image  router.png
statusmap_image router.gd2
2d_coords   100,100
3d_coords   100,100,5
}

Para visualizar vc tem que instalar um plugins no seu browser.

[]`s



-- 
Júlio César de Magalhães
Analista de Suporte - Poliedro/FNDE
(61) 81177547 Brasília - DF



On Tue, 06 Jul 2004 15:36:09 -0300
marco almeida [EMAIL PROTECTED] wrote:

 salve galera.
 
 alguém já teve experiência com o nagios? gostaria muito de saber como
 posso configurar o 3-D Status Map em meu servidor, mas estou encontrando
 muitas dificuldades devido a pouca ou quase nenhuma informação sobre tal
 configuração.
 
 agradeço desde já pela atenção.
 
 cordialmente,
 
 |||
 
   .,p***=b_Marco Almeida da Silva
  ?P  .__ `*b   Technology / Tech Support
 |P  .d?'`, 9|  Rits - Network Information of Third Sector
 M:  |}   |- H'  [EMAIL PROTECTED]
 |  `#?_._oH'   +55-21-2527-5494
 `H.   ``'  
  `#?.
`^~.
 
 |||
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



Re: Keyboard map probs

2004-06-16 Thread Piers Kittel
Hmmm, is it linked to this bit?
(**) Option XkbRules xfree86
(**) XKB: rules: xfree86
(**) Option XkbModel pc104
(**) XKB: model: pc104
(**) Option XkbLayout gb
(**) XKB: layout: gb
(**) Option XkbVariant gb
(**) XKB: variant: gb
(==) Keyboard: CustomKeycode disabled
A copy of the XFree86 log can be found at 
http://www.biased.org/logs/XFree86.0.log

Though the console is affected so I'd think it is at the lower level not 
at the X level?

Thanks very much for your help so far!
Cheers - Piers
Leandro Guimaraens Faria Corsetti Dutra wrote:
Em Tue, 15 Jun 2004 12:10:09 +0200, Piers Kittel escreveu:

The XF86Config file does contain enteries for the UK keyboard yet I
need to run setxkbmap to change it to the UK keyboard?

Please check your logs (both X and xsession), there must
something else going on.  Perhaps at the Gnome or KDE level?


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



Re: Keyboard map probs

2004-06-16 Thread Brendan Halpin
I had the same problem recently, and was advised off list to do the
following: 

dpkg-reconfigure console-data

It sets the console keyboard and thus the default for X. 

Brendan
-- 
Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-390476; Room F2-025 x 3147
mailto:[EMAIL PROTECTED]  http://www.ul.ie/sociology/brendan.halpin.html


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



Re: Keyboard map probs

2004-06-16 Thread J. Preiss
When I call this, I get an error:

Bareword previous_module not allowed while strict subs in use 
at /var/lib/dpkg/info/console-data.config line 1045.

My version is unstable, updated yesterday in the evening.

Am Mittwoch, 16. Juni 2004 12:14 schrieb Brendan Halpin:
 I had the same problem recently, and was advised off list to do the
 following:

 dpkg-reconfigure console-data

 It sets the console keyboard and thus the default for X.

 Brendan
 --
 Brendan Halpin,  Department of Sociology,  University of Limerick,  Ireland
 Tel: w +353-61-213147 f +353-61-202569 h +353-61-390476; Room F2-025 x 3147
 mailto:[EMAIL PROTECTED]  http://www.ul.ie/sociology/brendan.halpin.html


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



Re: Keyboard map probs

2004-06-16 Thread Leandro Guimarães Faria Corcete Dutra
Em Qua, 2004-06-16 s 06:19, Piers Kittel escreveu:
 Hmmm, is it linked to this bit?
 
 (**) Option XkbRules xfree86
 (**) XKB: rules: xfree86
 (**) Option XkbModel pc104
 (**) XKB: model: pc104
 (**) Option XkbLayout gb
 (**) XKB: layout: gb
 (**) Option XkbVariant gb
 (**) XKB: variant: gb
 (==) Keyboard: CustomKeycode disabled

Actually this looks OK I just dont know what does it mean the
CustomKeycode disabled part.


 A copy of the XFree86 log can be found at 
 http://www.biased.org/logs/XFree86.0.log

Could find nothing wrong here.


 Though the console is affected so I'd think it is at the lower level not 
 at the X level?

Actually unless you disable XKB, the console and X keyboards are
independent.

About the console I know next to nothing, but from your X logs Id
guess you have a misconfiguration at the Gnome or KDE level.  Gnomes
keyboard switcher, for example, generally makes a mess of my
environment.


-- 
Leandro Guimares Faria Corcete Dutra [EMAIL PROTECTED]
Brasil +55 (11) 5685 2219
Soli Deo Gloria!   +55 (44) 3028 7467


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



Re: Keyboard map probs

2004-06-16 Thread Leandro Guimaraens Faria Corsetti Dutra
Em Wed, 16 Jun 2004 12:20:08 +0200, Brendan Halpin escreveu:

 It sets the console keyboard and thus the default for X.

Problem is, X only uses the default if XKB is disabled.


-- 
Leandro Guimares Faria Corsetti Dutra   +55 (11) 5685 2219
Av Sgto Geraldo Santana, 1100 6/71[EMAIL PROTECTED]
04.674-000  So Paulo, SPBRASIL
http://br.geocities.com./lgcdutra/


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



Keyboard map probs

2004-06-15 Thread Piers Kittel
Hello all,
Did an apt-get update  apt-get upgrade and my keyboard settings has 
been reverted to the US map (again!) and while I can use loadkeys uk 
and setxkbmap gb to get the UK keyboard back on X and console - but I 
can't remember how to make the changes permament?  Rebooting reverts the 
keyboard back to the US layout.  And no, I don't want to create a new 
script to run loadkeys and setxkbmap each time I boot up - I mean, every 
time I booted up, it always loaded the UK keyboard automatically without 
any scripts, and now it loads the US keyboard.

The XF86Config file does contain enteries for the UK keyboard yet I need 
to run setxkbmap to change it to the UK keyboard?

Continuing on the same vein, I seem to find that nearly each time I use 
apt-get update  apt-get upgrade it generally breaks little things 
each time, such as the XFConfig file, or keyboard settings, or 
backgrounds - for example, at the same time as my keyboard map got 
reverted back to US, debian.jpg got changed to Debian.jpg which 
windowmaker and KDM didn't like it and so I had to find the new 
filename, and update the config file for both.  Why does small things 
break when I do an apt-get update  apt-get upgrade?

Thanks very much for your help in advance ;)
Cheers - Piers
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Keyboard map probs

2004-06-15 Thread Leandro Guimaraens Faria Corsetti Dutra
Em Tue, 15 Jun 2004 12:10:09 +0200, Piers Kittel escreveu:

 The XF86Config file does contain enteries for the UK keyboard yet I
 need to run setxkbmap to change it to the UK keyboard?

Please check your logs (both X and xsession), there must
something else going on.  Perhaps at the Gnome or KDE level?


-- 
Leandro Guimares Faria Corsetti Dutra   +55 (11) 5685 2219
Av Sgto Geraldo Santana, 1100 6/71[EMAIL PROTECTED]
04.674-000  So Paulo, SPBRASIL
http://br.geocities.com./lgcdutra/


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



Since Gnome 2.6 upgrade, no option for us international map in gnome keyboard applet

2004-06-01 Thread Jerome

As with other Debian unstable users, I've moved up to Gnome 2.6. It's great, BUT, I 
can't get the gnome keyboard applet to switch to us international (I like to use 
accents for other languages sometimes). I see maps for Us and US iso as well as 
foreign options, but nothing with us international. I tried some of the us iso ones 
but the normal key-combinations didn't work. What do I need to have it like Gnome 2.4 
where I could choose us international from my applet?


___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


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



Lilo y /dev/map

2004-04-30 Thread RUBEN CHARLES




Quiero correr lilo con el lilo.conf que tengo y que se que esta bien porque
antes me ha funcionado.

El problema es que cuando hago:


bash$ lilo
/dev/map not  found


Me da un error de algo como /dev/map el kernel no tiene los drivers.

Pero como ? si nunca  me habia pasado eso.

Tengo kernel 2.4.18-bf2.4


Que deberia hacer?




***  PDVSA´S INTERNET E-MAIL USE  ***
This message may contain information solely  of the interest of PDVSA or
its businesses. Copying,  distribution,  disclosure  or any  use  of the
information   contained  in  this  transmission  is  permitted  only  to
authorized  parties. If you have  received this e-mail by  error, please
destroy it and notify [EMAIL PROTECTED] or the sender by reply email.

**  USO DEL CORREO ELECTRONICO DE PDVSA HACIA INTERNET  **
Esta nota puede contener informacion de interes solo  para  PDVSA o  sus
negocios. Solo esta  permitida su  copia, distribucion  o uso a personas
autorizadas. Si recibio esta  nota  por  error,  por  favor destruyala y
notifique al remitente o a [EMAIL PROTECTED]



samba-2.2.8a e domain group map

2004-04-15 Thread Leonardo Arend Leao
Senhores,

Alguem tem alguma luz de onde foi parar o parametro domain group map
no samba-2.2.8a? Ou alguem sabe uma forma de mapear os grupos do linux
da rede para q eu possa, por exemplo, configurar a permissao de um grupo
para utilizar uma impressora ao inves de setar permissao de usuario por
usuario? 
Por favor, nao postem respostas do tipo use o samba3 com o comando net
ou com mapeamento via ldap... 

Agradecendo desde jah a atencao dispensada.

-- 
As vezes, quando a gente perde, a gente ganha!!
Dizia a Mamae
Leonardo Arend Leao (leoarend)
[EMAIL PROTECTED]
Linux User #264750
Debian GNU/Linux Woody



Re: Map Maker en Linux

2004-03-30 Thread Ricardo - Eureka!
On Mon, Mar 29, 2004 at 07:02:15PM -0600, Jaidiver Sepulveda wrote:
 Hola.
 
 No se si hayan oido un programa para winbugs llamado Map Maker. lo
 que soy yo no lo conozco, ni siquiera se para que diablos sirve ese
 programa, pero en la universidad me preguntaron si depronto había una
 versión para linux o algún programa parecido.
 La idea es poder instalarlos en los linux que tenemos en la U para no
 tener que comprar las licencias.
 
 Si tienen alguna recomendación Muchas Gracias.
 

Dificil recomendar algo que no sabemos que debe hacer :)
Por el nombre, me suena que hace mapas o cosas por el estilo de modo que...
www.google.com/linux?q=map+maker
 3800 resultados, mejor miralo tu ;)



-- 
Ricardo A.Frydman 
Analista de Sistemas de Computación
http://www.eureka-linux.com.ar



pgpb5yEN7lgRd.pgp
Description: PGP signature


Map Maker en Linux

2004-03-29 Thread Jaidiver Sepulveda
Hola.

No se si hayan oido un programa para winbugs llamado Map Maker. lo
que soy yo no lo conozco, ni siquiera se para que diablos sirve ese
programa, pero en la universidad me preguntaron si depronto había una
versión para linux o algún programa parecido.
La idea es poder instalarlos en los linux que tenemos en la U para no
tener que comprar las licencias.

Si tienen alguna recomendación Muchas Gracias.

Suerte

=
Jaidiver Sepulveda Parra
 Ingeniero de Sistemas - Universidad Católica de Oriente
 Miembro GNUCONIX
 (Grupo de Investigaciones de Aplicaciones GNU y Sistemas UNIX)
 Linux User #317350 
 Linux Machine #236940

 TEL: 57 + 4 + 5315845
 URL: http://jaidiver.greatnow.com
 email: [EMAIL PROTECTED]
 Rionegro - Antioquia - Colombia - Sur America

_
Do You Yahoo!?
Información de Estados Unidos y América Latina, en Yahoo! Noticias.
Visítanos en http://noticias.espanol.yahoo.com



how does make-dpkg (and linux/debian) map modules?

2004-03-01 Thread Chris Evans
How does Debian (3.0r2 2.4.18 kernel and lilo) find its modules if 
you compile a tweaked kernel?  I'm not getting it right and hope 
someone can help.

TIA,

Chris

Long story:
I've cracked via-rhine problem I had, now all I need is the get RAID-
1 mirroring of the two drives on this machine 

First thing you need is to have RAID1 support compiled into the 
kernel, not loading from modules.  Seems reasonably simple, I'm using 
the 2.4.18-bf2.4 default kernel image at present so I've:
got the kernel source: /usr/src/kernel-source-2.4.18 (bunzipped  tar 
   -xvf etc)
got the kernel headers which I'd got as kernel-headers-2.4.18-bf2.4 
when I was working on the via-rhine driver issue
cd /usr/src/kernel-source-2.4.18
make menuconfig (and put RAID and RAID1 into the kernel with Ys)
make deps
make-kpkg clean
make-kpkg --revision=custom.1.0RAID kernel_image
dpkp -i ../ ... .deb

I move /lib/modules/2.4.18 to 2.4.18old as suggested during this 
process ... do the lilo bit  and reboot ... and linux can't find 
modules it wants ...

If I rename the old /libmodules back again: no improvement.

I've looked through /usr/doc/kernel-package and the README seems to 
me to say that what I've done should have worked, and the 
README.modules talks about /usr/src/modules and doesn't seem to me to 
fit with the Debian directories and I'm baffled again.

PSYCTC: Psychotherapy, Psychology, Psychiatry, Counselling
   and Therapeutic Communities; practice, research, 
   teaching and consultancy.
Chris Evans  Jo-anne Carlyle
http://psyctc.org/ Email: [EMAIL PROTECTED]


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



Re: how does make-dpkg (and linux/debian) map modules?

2004-03-01 Thread CW Harris
On Mon, Mar 01, 2004 at 03:59:16PM -, Chris Evans wrote:
 How does Debian (3.0r2 2.4.18 kernel and lilo) find its modules if 
 you compile a tweaked kernel?  I'm not getting it right and hope 
 someone can help.
 
 TIA,
 
 Chris
 
 Long story:
 I've cracked via-rhine problem I had, now all I need is the get RAID-
 1 mirroring of the two drives on this machine 
 
 First thing you need is to have RAID1 support compiled into the 
 kernel, not loading from modules.  Seems reasonably simple, I'm using 
 the 2.4.18-bf2.4 default kernel image at present so I've:
 got the kernel source: /usr/src/kernel-source-2.4.18 (bunzipped  tar 
-xvf etc)
 got the kernel headers which I'd got as kernel-headers-2.4.18-bf2.4 
 when I was working on the via-rhine driver issue
 cd /usr/src/kernel-source-2.4.18
 make menuconfig (and put RAID and RAID1 into the kernel with Ys)
 make deps
 make-kpkg clean
 make-kpkg --revision=custom.1.0RAID kernel_image
 dpkp -i ../ ... .deb
 
 I move /lib/modules/2.4.18 to 2.4.18old as suggested during this 
 process ... do the lilo bit  and reboot ... and linux can't find 
 modules it wants ...

What are the errors you are seeing?  IIRC all the module dependency
should be handled automatically, but if something is broken maybe you
need to manually do a depmod -a?

 
 If I rename the old /libmodules back again: no improvement.
 
This is all in changing from a working 2.4.18 kernel to the custom
2.4.18 with RAID, correct?  Did you miss any config differences in
rebuilding (The easiest is to start with the working system config and
then add the changes you want.)

You might also want to look into using kernel flavors (see the
--append-to-version discussion in kernel-package).  This may help you
while you are getting things working.

HTH

-- 

Chris Harris [EMAIL PROTECTED]
---
GNU/Linux --- The best things in life are free.


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



  1   2   3   >