Carte SD défectueuse
Bonjour à tous, J'ai fait l'acquisition d'une carte SD pour mes vacances et elle est pleine de photos et vidéos maintenant (1Go). Mon portable (Fujitsu/Siemens : Amilo M7405, en dual boot XP/Debian) possède un lecteur de cartes SD. J'ai donc lu la carte (avec la protection en écriture activée) par l'intermédiaire de XP car le lecteur de la carte SD n'est pas actif sous Linux. Malheureusement, la carte est devenue illisible et je n'ai récupéré qu'une partie des photos... 1) Quelqu'un peut-il m'indiquer comment configurer ma Debian afin de pouvoir utiliser ce lecteur de cartes ? (en fin de mail, le résultat d'un lspci -v) 2) Quelles solutions envisagez-vous pour récupérer ces photos ? J'ai pensé à un cat /dev/macartesd tmp puis récupérer les images et vidéos dans ce fichier. Qu'en pensez-vous ? Merci d'avance, Zelos neptune:/home/jp# lspci -v 00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 Memory at unassigned (32-bit, prefetchable) Capabilities: [40] Vendor Specific Information 00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) (prog-if 00 [VGA]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at d800 (32-bit, prefetchable) [size=128M] Memory at e038 (32-bit, non-prefetchable) [size=512K] I/O ports at ec00 [size=8] Capabilities: [d0] Power Management version 1 00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 Memory at d000 (32-bit, prefetchable) [disabled] [size=128M] Memory at e030 (32-bit, non-prefetchable) [disabled] [size=512K] Capabilities: [d0] Power Management version 1 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 17 I/O ports at e480 [size=32] 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at e800 [size=32] 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at e880 [size=32] 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 20 Memory at e02ffc00 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=09, sec-latency=64 I/O behind bridge: c000-cfff Memory behind bridge: e000-e00f Prefetchable memory behind bridge: 2000-27ff 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at 0374 [size=1] I/O ports at ffa0 [size=16] Memory at 2800 (32-bit, non-prefetchable) [size=1K] 00:1f.3 SMBus: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller (rev 03) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: medium devsel, IRQ 16 I/O ports at dc00 [size=32] 00:1f.5 Multimedia audio controller:
Re: Carte SD défectueuse
Le samedi 26 janvier 2008 à 10:14 +0100, Zelos a écrit : avec mon packard bell easy note, sous etch, le lecteur de carte sd intégré a été reconnu automatiquement dès l'installation (introduction d'une carte sd ouvre automatiquement) Bonjour à tous, J'ai fait l'acquisition d'une carte SD pour mes vacances et elle est pleine de photos et vidéos maintenant (1Go). Mon portable (Fujitsu/Siemens : Amilo M7405, en dual boot XP/Debian) possède un lecteur de cartes SD. J'ai donc lu la carte (avec la protection en écriture activée) par l'intermédiaire de XP car le lecteur de la carte SD n'est pas actif sous Linux. Malheureusement, la carte est devenue illisible et je n'ai récupéré qu'une partie des photos... 1) Quelqu'un peut-il m'indiquer comment configurer ma Debian afin de pouvoir utiliser ce lecteur de cartes ? (en fin de mail, le résultat d'un lspci -v) 2) Quelles solutions envisagez-vous pour récupérer ces photos ? J'ai pensé à un cat /dev/macartesd tmp puis récupérer les images et vidéos dans ce fichier. Qu'en pensez-vous ? Merci d'avance, Zelos neptune:/home/jp# lspci -v 00:00.0 Host bridge: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 Memory at unassigned (32-bit, prefetchable) Capabilities: [40] Vendor Specific Information 00:00.1 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 00:00.3 System peripheral: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 00:02.0 VGA compatible controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) (prog-if 00 [VGA]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0, IRQ 17 Memory at d800 (32-bit, prefetchable) [size=128M] Memory at e038 (32-bit, non-prefetchable) [size=512K] I/O ports at ec00 [size=8] Capabilities: [d0] Power Management version 1 00:02.1 Display controller: Intel Corporation 82852/855GM Integrated Graphics Device (rev 02) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, fast devsel, latency 0 Memory at d000 (32-bit, prefetchable) [disabled] [size=128M] Memory at e030 (32-bit, non-prefetchable) [disabled] [size=512K] Capabilities: [d0] Power Management version 1 00:1d.0 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 03) (prog-if 00 [UHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 17 I/O ports at e480 [size=32] 00:1d.1 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 03) (prog-if 00 [UHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 18 I/O ports at e800 [size=32] 00:1d.2 USB Controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 03) (prog-if 00 [UHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at e880 [size=32] 00:1d.7 USB Controller: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller (rev 03) (prog-if 20 [EHCI]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 20 Memory at e02ffc00 (32-bit, non-prefetchable) [size=1K] Capabilities: [50] Power Management version 2 Capabilities: [58] Debug port 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 83) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=09, sec-latency=64 I/O behind bridge: c000-cfff Memory behind bridge: e000-e00f Prefetchable memory behind bridge: 2000-27ff 00:1f.0 ISA bridge: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge (rev 03) Flags: bus master, medium devsel, latency 0 00:1f.1 IDE interface: Intel Corporation 82801DBM (ICH4-M) IDE Controller (rev 03) (prog-if 8a [Master SecP PriP]) Subsystem: Fujitsu Siemens Computer GmbH Unknown device 106a Flags: bus master, medium devsel, latency 0, IRQ 19 I/O ports at 01f0 [size=8] I/O ports at 03f4 [size=1] I/O ports at 0170 [size=8] I/O ports at
Re: Carte SD défectueuse
Le samedi 26 janvier 2008 à 10:14 +0100, Zelos a écrit : Bonjour à tous, Bonjour, J'ai fait l'acquisition d'une carte SD pour mes vacances et elle est pleine de photos et vidéos maintenant (1Go). Mon portable (Fujitsu/Siemens : Amilo M7405, en dual boot XP/Debian) possède un lecteur de cartes SD. J'ai donc lu la carte (avec la protection en écriture activée) par l'intermédiaire de XP car le lecteur de la carte SD n'est pas actif sous Linux. Malheureusement, la carte est devenue illisible et je n'ai récupéré qu'une partie des photos... 1) Quelqu'un peut-il m'indiquer comment configurer ma Debian afin de pouvoir utiliser ce lecteur de cartes ? (en fin de mail, le résultat d'un lspci -v) 2) Quelles solutions envisagez-vous pour récupérer ces photos ? J'ai pensé à un cat /dev/macartesd tmp puis récupérer les images et vidéos dans ce fichier. Qu'en pensez-vous ? Vérifier que le module mmc soit bien chargé, peut-être ? Merci d'avance, Zelos -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: Carte SD défectueuse
Bonjour, Le samedi 26 janvier 2008, Zelos a écrit... 2) Quelles solutions envisagez-vous pour récupérer ces photos ? J'ai pensé à un cat /dev/macartesd tmp puis récupérer les images et vidéos dans ce fichier. Qu'en pensez-vous ? Ne peux tu pas directement brancher ton apn sur l'usb, et la lire en mass storage ? -- jm A.E.L. Sarl (R.C.S CASTRES 490843240) http://www.spidboutic.fr -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: Carte SD défectueuse
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bonjour, J'ai donc lu la carte (avec la protection en écriture activée) par l'intermédiaire de XP car le lecteur de la carte SD n'est pas actif sous Linux. Malheureusement, la carte est devenue illisible et je n'ai récupéré qu'une partie des photos... étrange, mais j'ai déja eu moi même des corruptions de FS sur des SD (sur un zaurus sur des kernels 2.4 ou 2.6.16, depuis il y a eu de nettes améliorations sur les drivers mmc) 1) Quelqu'un peut-il m'indiquer comment configurer ma Debian afin de pouvoir utiliser ce lecteur de cartes ? # modprobe mmc_core # modprobe mmc_block et peut être # modprobe driver: pour les cartes SDHCI, il est bon de charger ce module, il y a un driver tifm_7xx1 aussi... essayer ? 2) Quelles solutions envisagez-vous pour récupérer ces photos ? J'ai pensé à un cat /dev/macartesd tmp puis récupérer les images et vidéos dans ce fichier. Qu'en pensez-vous ? J'en pense que c'est là une bien étrange manière de faire ! La partition d'une carte SD se monte sans problème du moment que la carte est bien reconnue (device du style /dev/mmcblp1) A noter que jusqu'il y a peu, je devais lancer un setpci afin de désactiver un des contrôleur... La dernière fois que j'ai utilisé mon lecteur sur ma SID, j'ai été surpris de n'avoir rien à faire ;) Bonne journée, Seb - zecrazytux -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHmxXaacY2vMoqFYcRAhtCAJwJpUSfy2oMsZtEONG3Wby/1rIqTQCbBtk2 dI7oc5nh4RDgVvuqC7n9md4= =2ubS -END PGP SIGNATURE- - This message and any attachments (hereinafter referred to as the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender at The International Institute of Information Technology (hereinafter referred to as SUPINFO). Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Because the internet can not guarantee the integrity of this message, SUPINFO and its subsidiaries, laboratories and regional branches will not therefore be liable for the message that could only engage his author, not SUPINFO, and only if not modified. - Ce message et toutes les pieces jointes (ci-apres dénommé le message) sont etablis a l'attention exclusive de ses destinataires et sont donc confidentiels. Si toutefois vous recevez ce message par erreur, nous vous remercions de bien vouloir le detruire et d'en avertir immediatement l'expediteur au sein de l'Ecole Supérieure d'Informatique (ci-après dénommée SUPINFO). Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Internet ne permettant pas d'assurer l'integrite des messages e-mail en général et donc de ce message en particulier, SUPINFO et ses filiales, sites régionaux, laboratoires ou autres entités attachées, declinent toute responsabilite au titre du présent message qui ne pourrait engager que son auteur et non SUPINFO et seulement dans l'hypothese ou le message n'aurait pas ete modifie par quelque moyen que ce soit. -
Konqueror, Coloration Syntaxique ?
Bonjour, Je me permets de poster après quelques recherches infructueuses sur le net et sur divers forums. Je suis tombé par hasard sur l'option Affichage de texte dans le menu Affichage de Konqueror (3.5) , et je trouve le principe intéressant. Toutefois tel que je l'ai pour l'instant, je retrouve le résultat insuffisant (nom de répertoire en noir, et fichier en vert). Je voudrais savoir si il existe un fichier de conf à modifier pour obtenir une coloration syntaxique un peu plus affinée, en fonction du type de fichiers, un peu comme celle que j'ai lors d'un ls dans le shell ? J'ai regardé du côté de fichiers genre konqlistviewrc, et konq_textview.rc, mais je n'ai rien trouvé de probant. Est ce que quelqu'un aurait une petite idée ? Merci d'avance pour toute suggestion. Antoine
Re: problè m e fetchmail ...
On Fri, Jan 25, 2008 at 01:45:22AM +0100, mpg [EMAIL PROTECTED] wrote a message of 20 lines which said: C'est pas plutôt dans /etc/resolv.conf qu'il doit y avoir 'order hosts,bind' ? Ah non, surtout pas, resolv.conf est la configuration du client DNS. order hosts,bind est pour dire à la bibliothèque qui fait la résolution de noms en adresses d'utiliser /etc/hosts puis le DNS. resolv.conf est donc consulté après, une fois la décision prise. En lisant le manuel de resolv.conf, vous voyez bien qu'order by est pas. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: problèm e fetchmail (Suite)
On Fri, Jan 25, 2008 at 07:04:01PM +0100, mahashakti89 [EMAIL PROTECTED] wrote a message of 83 lines which said: # ping pop.wanadoo.fr Marche pas mais effectivement wanadoo ne doit pas trop aimer que l'on fasse un ping. Oui, beaucoup de machines filtrent les paquets ICMP echo sur le trajet. C'est stupide, mais c'est comme ça. ping n'est plus un bon test de nos jours. Si on veut déboguer des serveurs POP, il vaut mieux tester POP (telnet pop.wanadoo.fr 110). Si on veut déboguer le DNS, il vaut mieux utiliser le DNS (dig A pop.wanadoo.fr). -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: problème fetchmail (Suite) résolu
On Sat, Jan 26, 2008 at 08:42:11AM +0100, mahashakti89 [EMAIL PROTECTED] wrote a message of 51 lines which said: Bon, finalement j'ai trouvé : aptitude install libnss-mdns C'est louche car cette bibliothèque qui implémente un protocole privé spécifique d'Apple ne devrait pas être indispensable. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: Carte SD défectueuse
Merci à tous pour vos indications. Malheureusement, je n'ai toujours pas réussi à lire la carte j'y ai pourtant ajouté les modules: mmc_core mmc_block tifm_7xx1 mais je ne dispose pas de /dev/mmc (même avec une autre carte SD). De plus, la carte n'est plus lisible non plus dans l'appareil... D'autres pistes ? zecrazytux wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bonjour, J'ai donc lu la carte (avec la protection en écriture activée) par l'intermédiaire de XP car le lecteur de la carte SD n'est pas actif sous Linux. Malheureusement, la carte est devenue illisible et je n'ai récupéré qu'une partie des photos... étrange, mais j'ai déja eu moi même des corruptions de FS sur des SD (sur un zaurus sur des kernels 2.4 ou 2.6.16, depuis il y a eu de nettes améliorations sur les drivers mmc) 1) Quelqu'un peut-il m'indiquer comment configurer ma Debian afin de pouvoir utiliser ce lecteur de cartes ? # modprobe mmc_core # modprobe mmc_block et peut être # modprobe driver: pour les cartes SDHCI, il est bon de charger ce module, il y a un driver tifm_7xx1 aussi... essayer ? 2) Quelles solutions envisagez-vous pour récupérer ces photos ? J'ai pensé à un cat /dev/macartesd tmp puis récupérer les images et vidéos dans ce fichier. Qu'en pensez-vous ? J'en pense que c'est là une bien étrange manière de faire ! La partition d'une carte SD se monte sans problème du moment que la carte est bien reconnue (device du style /dev/mmcblp1) A noter que jusqu'il y a peu, je devais lancer un setpci afin de désactiver un des contrôleur... La dernière fois que j'ai utilisé mon lecteur sur ma SID, j'ai été surpris de n'avoir rien à faire ;) Bonne journée, Seb - zecrazytux -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHmxXaacY2vMoqFYcRAhtCAJwJpUSfy2oMsZtEONG3Wby/1rIqTQCbBtk2 dI7oc5nh4RDgVvuqC7n9md4= =2ubS -END PGP SIGNATURE- - This message and any attachments (hereinafter referred to as the message) is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender at The International Institute of Information Technology (hereinafter referred to as SUPINFO). Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Because the internet can not guarantee the integrity of this message, SUPINFO and its subsidiaries, laboratories and regional branches will not therefore be liable for the message that could only engage his author, not SUPINFO, and only if not modified. - Ce message et toutes les pieces jointes (ci-apres dénommé le message) sont etablis a l'attention exclusive de ses destinataires et sont donc confidentiels. Si toutefois vous recevez ce message par erreur, nous vous remercions de bien vouloir le detruire et d'en avertir immediatement l'expediteur au sein de l'Ecole Supérieure d'Informatique (ci-après dénommée SUPINFO). Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. Internet ne permettant pas d'assurer l'integrite des messages e-mail en général et donc de ce message en particulier, SUPINFO et ses filiales, sites régionaux, laboratoires ou autres entités attachées, declinent toute responsabilite au titre du présent message qui ne pourrait engager que son auteur et non SUPINFO et seulement dans l'hypothese ou le message n'aurait pas ete modifie par quelque moyen que ce soit. -
Re: Carte SD défectueuse
Zelos a écrit : Merci à tous pour vos indications. Malheureusement, je n'ai toujours pas réussi à lire la carte j'y ai pourtant ajouté les modules: mmc_core mmc_block tifm_7xx1 mais je ne dispose pas de /dev/mmc (même avec une autre carte SD). De plus, la carte n'est plus lisible non plus dans l'appareil... D'autres pistes ? vi: vérifier que le support de generic scsi est intégré au kernel (avec les HD scsi oeufcorse) -- Let's send the Russians defective lifestyle accessories! -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: Freeze de l'affichage
Thierry Leurent a écrit : Bonso Bonjo Je viens de réinstaller Debian sur mon portable. Comme, je ne peux m'empêcher de faire comme les autres, j'y ai mis un mixe d'applis kde 3.5.8 / kde 4.0.0 avec un zeste de drivers nvidia proprio. Je constate que l'affichage freeze, lorsqu'il sort du mode économie d'énergie. J'ai regardé les logs et je ne vois rien. Avec mon ancienne version (kde 3.5.8, drivers nv de xorg), je n'avais pas le problème. Une recherche dans mes paquets me donne : kpowersave install libpowersave10 install powermgmt-base install powersaved install powertop install Je viens aussi de retire klaptopdaemon, je ne sais pas ce que cela peut entrainer. il-y-a des chances que ça soit un device qui ne supporte pas la mise en sommeil (ou plus exactement le type de réveil); tu n'as plus qu'à tester:) -- The documentation is in Japanese. Good luck. -- Rich $alz -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: Carte SD défectueuse
Jean-Yves F. Barbier, samedi 26 janvier 2008, 17:56:27 CET Zelos a écrit : Merci à tous pour vos indications. Malheureusement, je n'ai toujours pas réussi à lire la carte j'y ai pourtant ajouté les modules: mmc_core mmc_block Quasiment tous les modules sont chargés automatiquement de nos jours. De plus, ils vérifient les identifiants (constructeur et produit), forcer leur chargement les force rarement à prendre en charge un produit qu’il ne veulent pas prendre en compte. tifm_7xx1 Ce module sert aux lecteurs Texas Instrument (lesquels, semble-t-il, nécessitent en outre des bidouilles au niveau PCI). Tu pourrais aussi essayer les autres pilotes mmc (/lib/modules/2.6.*/kernel/drivers/mmc/hosts/*) mais il y a peu de chance qu’ils veuillent bien s’occuper d’un périphérique qu’ils ne connaissent pas. Note que tous les pilotes MMC ne sont pas compilés dans les noyaux Debian mais, d’après les docs et les sources, je ne les crois pas gérer les O2. Enfin bref, une recherche sur internet et dans les sources du noyau montre que les lecteurs O2 ne sont pas (encore) gérés. Désolé. (Il y a quelques fausses pistes avec des pilotes pour d’autres lecteurs de chez O2 Micro, mais pas le tien.) (Note : pour les recherches, les ID PCI sont plus pratiques que les noms, lesquels sont parfois tronqués ou orthographiés différemment (O2Micro ou O2 Micro…), surtout dans les sources.) mais je ne dispose pas de /dev/mmc (même avec une autre carte SD). De plus, la carte n'est plus lisible non plus dans l'appareil... Ça, c’est plus embêtant. Il faudrait la tester dans d’autres lecteurs, p.ex. USB. […] -- Sylvain Sauvage
Re: Carte SD défectueuse
D'accord. Mon lecteur de cartes SD n'est pas reconnu sous Linux :( Penseez-vous que je puisse arriver à récupérer la carte depuis l'appareil photo en le connectant en usb ? Même mes appareils photos veulent formater la carte. Comment accéder à l'apperail photo par /dev/qqchose ? Le but est de récupèrer la carte sous forme de fichier afin de le parcourir et y extraire les photos. Je sais que c'est possible à partir d'un disque dur (ex: qd on les a effacés, on peut les récupèrer en y accédant par /dev/hda). Avez-vous une solution ? J'ai bien peur que le SAV formate ma carte... Sylvain Sauvage wrote: Jean-Yves F. Barbier, samedi 26 janvier 2008, 17:56:27 CET Zelos a écrit : Merci à tous pour vos indications. Malheureusement, je n'ai toujours pas réussi à lire la carte j'y ai pourtant ajouté les modules: mmc_core mmc_block Quasiment tous les modules sont chargés automatiquement de nos jours. De plus, ils vérifient les identifiants (constructeur et produit), forcer leur chargement les force rarement à prendre en charge un produit qu’il ne veulent pas prendre en compte. tifm_7xx1 Ce module sert aux lecteurs Texas Instrument (lesquels, semble-t-il, nécessitent en outre des bidouilles au niveau PCI). Tu pourrais aussi essayer les autres pilotes mmc (/lib/modules/2.6.*/kernel/drivers/mmc/hosts/*) mais il y a peu de chance qu’ils veuillent bien s’occuper d’un périphérique qu’ils ne connaissent pas. Note que tous les pilotes MMC ne sont pas compilés dans les noyaux Debian mais, d’après les docs et les sources, je ne les crois pas gérer les O2. Enfin bref, une recherche sur internet et dans les sources du noyau montre que les lecteurs O2 ne sont pas (encore) gérés. Désolé. (Il y a quelques fausses pistes avec des pilotes pour d’autres lecteurs de chez O2 Micro, mais pas le tien.) (Note : pour les recherches, les ID PCI sont plus pratiques que les noms, lesquels sont parfois tronqués ou orthographiés différemment (O2Micro ou O2 Micro…), surtout dans les sources.) mais je ne dispose pas de /dev/mmc (même avec une autre carte SD). De plus, la carte n'est plus lisible non plus dans l'appareil... Ça, c’est plus embêtant. Il faudrait la tester dans d’autres lecteurs, p.ex. USB. […] -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: Carte SD défectueuse
Zelos a écrit : D'accord. Mon lecteur de cartes SD n'est pas reconnu sous Linux :( Penseez-vous que je puisse arriver à récupérer la carte depuis l'appareil photo en le connectant en usb ? Même mes appareils photos veulent formater la carte. Comment accéder à l'apperail photo par /dev/qqchose ? Le but est de récupèrer la carte sous forme de fichier afin de le parcourir et y extraire les photos. Je sais que c'est possible à partir d'un disque dur (ex: qd on les a effacés, on peut les récupèrer en y accédant par /dev/hda). Avez-vous une solution ? J'ai bien peur que le SAV formate ma carte... trouver un pote qui a un lecteur USB (int ou ext) et essayer de la lire soit chez lui, soit chez toi (si le lecteur est connu du kernel) -- Turn on, tune in, and take over. -- Tim Leary -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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: Carte SD défectueuse
oops, je n'avais pas relu le post d'org il semble malheureusement que la carte soit en cause (en Gal l'électronique pète soit dans le 1er mois, soit bien après) -- He who laughs last usually had to have joke explained. -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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]
conserver propriété avec cp sur vfat
Bonjour comment faire pour : - conserver les propriété date d'un fichier lors d'une copie, de ext2 vers vfat, en simple utilisateur ? le tout fonctionne bien avec sudo. :~$ cp -a /home/remys/test /media/hdb12/ cp: préservation des dates pour `/media/hdb12/test': Opération non permise :~$ sudo cp -a /home/remys/test /media/hdb12/ cp: échec de préservation du propriétaire pour `/media/hdb12/test': Opération non permise voici le mtab : /dev/hdb5 / ext3 rw,errors=remount-ro 0 0 /dev/hdb7 /home ext3 rw 0 0 /dev/hdb10 /media/hdb10 ext3 rw 0 0 /dev/hdb11 /media/hdb11 vfat rw,umask=000 0 0 /dev/hdb12 /media/hdb12 vfat rw,umask=000 0 0 /dev/hdb8 /media/hdb8 ext3 rw 0 Merci Remys -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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]
Texte invisible dans les applis GTK
Hello la liste ! depuis un dist-upgrade de ma Sid, le texte et les images des boutons ont dispparus des applications GTK. Il ne s'agit pas d'un problème de couleur ou de thème. Seul persisste le trait qui souligne la lettre qui sert de raccourci clavier. Un bug similaire (#376714) avait été déclaré en 2006 indiquant un problème avec la libcairo 1.2.0-1. Une mise à jour vers la version 1.0.4-2 résolvait le problème. Dans la Sid actuelle, la version de la libcairo est encore plus récente (1.4.14-1), le problème ne devrait donc pas venir de là, même si les symptomes sont similaires. J'ai verifier la configuration de Xorg et tout semble ok. Aucun message d'erreur dans les logs non plus. Une fois, je ne serais pas expliqué pourquoi ni comment, le texte est revenu : je m'amusais à inspecter le package libcairo2 avec aptitude et en relançant gdm, tout est revenu dans l'ordre. Pourtant je n'ai fais qu'un reinstall et un show du packet, pas de downgrad. Mais après un reboot, le problème était de retour. Dans le doute, j'ai essayé de refaire ce qui aurait pu régler le problème, c-à-d relancer gdm et réinstaller la libcairo, mais cette fois le texte reste invisible. Bref, je n'ai aucune idée d'où peut venir le problème, en avez-vous ? Merci d'avance, Jb -- Lisez la FAQ de la liste avant de poser une question : http://wiki.debian.net/?DebianFrench Vous pouvez aussi ajouter 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]
Problème après avoir installé Compiz
Bonjour, Après avoir installé compiz, je ne peut plus utiliser la touche AltGr de mon clavier. Elle ne donne plus accès aux caractères pipe, backslash, arobase ... de mon clavier en environnement graphique, même dans konsole (je suis sous KDE). Par contre, si je prend une session dans les terminaux virtuels de 1 à 6, aucun problème. Ce problème s'est donc greffé sur xorg. De plus, quand je travaille dans konsole et que j'affiche beaucoup d'information ('apt-get search ...' par exemple), les espaces sont remplacés par des petits points, un peu comme dans openoffice quand on demande à afficher tous les caractères d'un document ... Je suis preneur de toute piste. :) Patrice.
Lecture d'une image ISO avec Xine
Bonjour, Savez-vous s'il est possible, avec Xine, de lire un fichier ISO, image d'un DVD ? Lorsque j'essaye, j'ai systématiquement un message d'erreur me disant qu'il n'a pas le bon plug-in de démultiplexage... J'ai essayé de rajouter toutes les librairies relatives à Xine, sans succès... Merci d'avance. David. signature.asc Description: PGP signature
Nautilus - problem z montowaniem.
Witam, Gdy jestem w Gnome w Przeglądarce plików i na pasku Położenia próbuję wybrać jakąś partycję (ntfs, bądź ext3), to dostaję komunikat: Nie można zamontować woluminu. Nie masz uprawnień do zamontowania woluminu 'data' Gdzie data to nazwa partycji, którą próbuję zamontować. W Ubuntu, gdy zrobiłem to samo, to pojawiło się okno gksudo, w którym podałem hasło zalogowanego użytkownika i wtedy partycja została zamontowana i miałem do niej dostęp. Co trzeba zrobić w Debianie, żeby jego zachowanie było podobne, czyli pojawiało się okienko gksudo przy próbie zamontowania partycji?
tłumaczeniach intefejsu błędy
Błedy znalezione w pakietach polonizujących synaptic.mo i libapt-pkg3.11.mo (Etech). == synaptic.mo --- jest ,,Pomyślnie zainstalowany wszystkie pakiety z wybranego nośnika. Aby'' powinno być --- ,,Pomyślnie zainstalowano wszystkie pakiety z wybranego nośnika. Aby'' == libapt-pkg3.11.mo --- jest ,,Skawnowanie płyty w poszukiwaniu plików indeksu..'' powinno być --- ,,Skanowanie płyty w poszukiwaniu plików indeksu...'' == Błedy te, występują w tym miejscu, włacznie od wersji Sarge do najnowszych wersji (właczając w to pakiety *buntu). pozdrawiam fnmirk --- Debian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Revista Tuxinfo Nro 3
Felicitaciones por otra entrega más. Saludos a todos los que hacen la hacen posible. Rodrigo.
Re: [lenny][fglrx][Bloqueo completo del sistema]
Para saber si es el driver, por qué no lo deshabilitas y usas el free? De hecho, por qué no usas el free? -- ... may the source be with you...
Re: Recuperar MBR o tabla de particiones.
El vie, 25-01-2008 a las 16:43 +0100, Manolo Díaz escribió: El Fri, 25 Jan 2008 05:35:27 -0800 francisco [EMAIL PROTECTED] escribió: El dom, 20-01-2008 a las 17:27 +0100, Manolo Díaz escribió: El Sun, 20 Jan 2008 07:48:58 -0800 francisco [EMAIL PROTECTED] escribió: El dom, 20-01-2008 a las 14:22 +0100, Manolo Díaz escribió: El Sun, 20 Jan 2008 05:13:58 -0800 francisco [EMAIL PROTECTED] escribió: El disco /dev/sdb no contiene una tabla de particiones válida Si no recuerdo mal testdisk puede intentar descubrir qué particiones existen en el disco y, a partir de ahí, recrear la tabla de particiones. Tan sólo lo he usado una vez, con un disco con varias particiones NTFS, y a mí me funcionó. Saludos y suerte. Si, pero el problema esta en darle el numero exacto de Cilindros, H= cabezas y Sectores. Sin ese dato, dificilmente encuentra la particion. Si puedes y quieres, podrias decir como hacerlo o como lo hicistes? Gracias. Si conoces los valores correctos (ej. mirando el modelo y buscando sus características) puedes usar la opcion geometry de testdisk para reestablecerlos. Espero que ayude. Saludos hola, gracias por ayudar. El DD es un Seagate, Barracuda 7200.10, 320 Gbytes, ST3320620A, 255 Heads, 63 Sectors/Track, Guarantead sectors = 625,142,448. Pero, tambien dice: Heads 4, Disc 2, Bytes/sector 512, Default heads 16, Default Cilinders 16,383 y Units = Cilinders of 16,065 * 512 = 8,225,280. Sorpresa, el resultado NO es 320 Gbytes, ni la medida exacta usando 1024/Mb El caso es que son 320GB, no 320GiB. Haz las cuentas: 625.142.448 sectores de 512B cada uno; un GB es igual a 10 elevado a 9 bytes. 625.142.448 * 512 / 1000.000.000 es aproximadamente igual a 320. Sin embargo, tomando los datos del segundo párrafo no me salen las cuentas (uno 135GB). Esto puede deberse a: 1 mi ignorancia sobre el tema. Lo más probable. 2 Usando esa configuración se desaprovecha gran parte del disco. Saludos hola La geometria correcta es: Disco /dev/sdb: 320.0 GB, 320072933376 bytes 255 heads, 63 sectors/track, 38913 cylinders Units = cilindros of 16065 * 512 = 8225280 bytes Disk identifier: 0x009a49ec Disposit. InicioComienzo Fin Bloques Id Sistema /dev/sdb1 * 1 38913 312568641 83 Linux Cual es la diferencis entre GB y GiB? El asunto ya esta solucionado! El problema es con el USB Acomdata, no funciona correctamente, despues de conectarlo al Vista; compre un Smart-Drive y ya no tengo problemas. Es curioso que la mayoria de paquetes o programas que use, no reportaban nada con respecto al bloqueo del flujo de informacion; gracias a ese bloqueo, los DDs no se danaron. Gracias y hasta pronto. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Duda sobre wget [SOLUCIONADO]
El vie, 25-01-2008 a las 21:49 -0200, Matías A. Bellone escribió: Marcel Rodolfo Sanchez Gongora wrote: Hola amigos. Tengo un problema que no he podido resolver usando wget y es el siguiente. Cuando tengo una url de descarga que me redirecciona a otra no se me descarga el archivo sino la pagina. Esto no es problema de wget sino es un comportamiento deseado. No por el usuario sino por el dueño de la página que tiene controles internos para evitar este tipo de cosas. Normalmente ésto se hace restringiendo los accesos a determinados User-Agents. Los que son identificados por una cabecera esepcial. Por suerte wget está al tanto de esto y - basándome en tu ejemplo y utlizando el wget disponible en Lenny - se puede modificar el User-Agent que reporta wget con la opción -U. Lo que es más -U hace que dicha cabecera ni siquiera sea enviada. Probé utilizar esta opción con tu ejemplo y aparenta funcionar como esperas. Muchas gracias por la respuesta Matías... -- Marcel Sánchez Góngora Debian Lenny GNU/Linux Linux User #382151 Est. IV año Universidad de las Ciencias Informáticas Mañana te darás cuenta que hoy no sabes nada signature.asc Description: Esta parte del mensaje está firmada digitalmente
Re: Montar um servidor cache!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eduardo, Bem para controle de navegação você pode: * Usar o Squid em modo transparente. * QoS para controle de banda por computador usando HTB (procure na lista, esses dias um rapaz perguntou sobre isso) * E configurar um bom firewall para não ter problemas depois, uma idéia legal seria usar um IDS como o SNORT + Guardian. Abraços, Brivaldo Jr (condector) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: http://firegpg.tuxfamily.org iD8DBQFHm0kLtw0/3sq6gvcRAhrlAJ9nW0CPngU3ZI8eCOkryW8oJfseTwCeMNMs mNN9E2QyEkmcFAHIdGZJ0lw= =yogy -END PGP SIGNATURE-
Re: Problemas com LDAP Client no Debian Testing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 25-01-2008 10:11, Rodrigo Tavares wrote: Pessoal, Estou penando para fazer a minha estação Debian testing logar no meu servidor de LDAP. Isso é uma combinação de nsswitch e PAM. Existe um arquivo de exemplo em /usr/share/doc/libnss-ldap/examples/nsswitch.ldap Na verdade, você só precisa adicionar a opção 'ldap' no passwd: group: e shadow: Mesmo usando o exemplo não consigo com o comando getent passwd para retornar todos os usuários no LDAP. Isso depende da configuração da sua árvore, das políticas de bind e ACLs. Você também tem que configurar o /etc/ldap/ldap.conf de acordo. Alguma ja configurou o ldap no debian testing ? Att, #arquivo de exemplo # the following two lines obviate the + entry in /etc/passwd and /etc/group. passwd: files ldap group: files ldap E precisa do shadow shadow: files ldap Se você pegar o arquivo padrão do nsswitch é só mudar as linhas para adicionar o ldap. Depois você precisa ajustar o pam_ldap. http://wiki.debian.org/LDAP Abraço, - -- Felipe Augusto van de Wiel (faw) Debian. Freedom to code. Code to freedom! -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHm6WnCjAO0JDlykYRAtFoAJ49pTIlQRcLkj4yBsfS5YqY3YluMgCg1SN3 AQuyPpSoKJ39lVnFjqjHdig= =P7AV -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Documentaçao de como criar OpenLDAP com S amba
Pessoal, Há um ano atrás fiz um servidor SMB + LDAP, porém na época não tinha documentado, mesmo se tivesse creio que não iria ajudar muito. Alguém me indica uma boa documentação para levantar o ldap com samba ? Pesquisei alguma soluções na internet mas algumas estão desatualizadas e confusas. Att, Faria Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! http://br.mail.yahoo.com/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: #433131 Etch'de giderilebilir mi?
Recai Bey; Öncelikle ayrıntılı ve tatmin edici yanıtınız için çok teşekkür ederim. Aklımda hiç bir soru işareti bırakmadınız. Recai Oktaş yazmış: Merhaba, * Mert Dirik [2008-01-25 21:21:28+0200] 1. Bu hata Etch'in bir sonraki point release'inde giderilebilir mi? (1) Debian X grubu önerir ve (2) release yöneticileri onaylarsa mümkün. Bu öneriler point-release'den önce 'etch-proposed-updates' arşivine gider. Bu onay görüşmesi çoğunlukla arşive yükleme yapılmadan önce yapılır. (4.0r3) Hatanın önem derecesi normal, fakat bir şekilde hatanın önemli olduğuna ikna edebilirsek hatanın stable sürümde düzeltilme şansı var mı? (Ubuntu'da bu hatanın veri kaybına neden olduğu sonucuna varıldı ve hata yakında LTS sürümde düzeltilecek gibi duruyor. [1]) Hatanın önem derecesi yanıltıcı olabilir. Muhtemelen hatayı bildiren kişi bu işlemi öntanımlı değerlerle çabucak yapmıştır. Görebildiğim kadarıyla bu hata sadece 433131 ile bildirilmemiş: 411287 396774 395354 ile de aynı sorun bildirilmiş ve bunların bir kısmında önem derecesi RC. 433131 önemli olarak bildirilmiş, fakat daha sonra Lior Kaplan ([EMAIL PROTECTED]) tarafından normal olarak değiştirilmiş. Eğer Kaplan X takımındaysa takımı ikna etmem biraz daha zor olacak :D 2. Bu isteğimi geliştiricilere iletmenin uygun yolu nedir? BTS yoluyla mı, yoksa debian-x listesi yoluyla mı? Yukarıdaki prosedür gereği önce debian-x grubunu ikna etmek gerekiyor. Fikir vermesi için xorg-server'a önerilen güncellemelere bir bakalım. Mesela şu (24 Ocak tarihli yükleme): http://altruistic.lbl.gov/mirrors/debian/dists/etch-proposed-updates/xorg-server_1.1.1-21etch4_i386.changes Burada bazen bunaltıcı bir hal alan bir bürokrasi olduğunun farkındayım (maalesef Debian'da işler bazen çok yavaş ilerleyebiliyor). Hatayla ilgili düşüncelerime gelince: - Bu ciddi bir hata ve bence de kararlı sürümde düzeltilmeli. - Öte yandan, her ciddi düzeltme kararlı sürüme uygulanmaz. Kararlı sürüme uygulanan düzeltmeler çoğunlukla güvenlik amaçlıdır. Veri kaybı da bazı çekincelerle dikkate alınır, bunu çok açık şekilde ispatlamanız ve düzeltmenin regresyona yol açmadığını göstermeniz kaydıyla. - 433131'ü çözen yama basit ve temiz görünüyor. Fakat xorg-server görece geniş bir etki alanına sahip olduğundan bu yamanın _kararlı sürümde_ bir regresyona yol açabileceği endişesini dile getirebilirler. Mesela önceden hatalarıyla da olsa _beklenen_ şekilde çalışan bazı betikler veya programlar beklenmeyen davranışlar sergileyebilir. X'te Geçen hafta yapılan bir güvenlik güncellemesi de ufak bir regresyona yol açmıştı. İşim daha da zorlaşıyor :D Belki de yamanın önce Ubuntu 6.06'ya girmesini beklemek iyi olur. Eğer Ubuntu'da bir sorun çıkmazsa aynı yama Etch'e de uygulanabilir. Fakat bu X takımının vereceği bir karar, ben isteğimi hemen ileteceğim. (sonradan gelen düzenleme: ilettim bile :D [0]) İyi çalışmalar Mert Dirik [0] http://article.gmane.org/gmane.linux.debian.devel.x/62947 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cd seen as blank cd - solved
After multiple trials, nothing made sense. So I change again the cd-drive, but I used another brand this time. And everything is OK now. The brand that did not work was an Soni NEC Optiarc Thierry -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mscompress
On Fri, 25 Jan 2008 18:17:23 -0800 David Fox [EMAIL PROTECTED] wrote: On 1/25/08, Angus Auld [EMAIL PROTECTED] wrote: Way above my head, but interesting just the same. I just sort of wanted to know how to use mscompress to de-compress Angus: I think you'll find that ordinary unzip or 7zip can do that for you. There basically are two kinds of compressed executables 1) the executable archive, basically a zip file with a little bit of program code that basically says to unzip me. These files are far more common, and handle very well on Linux. 2) the expand type compressed exes. These are distinct because they all have a trailing _ as part of their name, and only seems to be common on Windows installation media, to save space on the disks. I don't think there is a tool that will handle this natively on Linux. Actually mscompress and msexpand were made to handle this type of files. -- Szia: Nyizsa. -- Get a free email address with REAL anti-spam protection. http://www.bluebottle.com/tag/1 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: cd seen as blank cd - solved
On Saturday 26 January 2008 09:28, Thierry Chatelet wrote: After multiple trials, nothing made sense. So I change again the cd-drive, but I used another brand this time. And everything is OK now. The brand that did not work was an Soni NEC Optiarc Thierry Euh, I am on the run, but it does not uxcuse myself for not saiing a big Thank you to Douglas!!! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
exim question
Hello, Due a to an error in my /etc/exim4/passwd.client, quite a bit of mail was refused by the remote SMTP relay host. I now fixed it but can't find the messages any more. Does exim dump them? I still have them in my sent-mail folder and can bounce them, but I thought there maybe was some queue seomwhere. Thanks, --D. signature.asc Description: Digital signature
How to set up simple cgi web
Hi, I thought if I create /www or /etc/www in my debian PC, and add an index.htm and cgi file to cgi-bin directory, I should be able to access http://my_ip_address/index.html. But, it did not work. how can I make that work? Thank you. Jim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Strange boot message
On Fri, Jan 25, 2008 at 14:31:53 -0800, Bob McGowan wrote: Frank McCormick wrote: Can anyone tell me what this message in syslog is all about ??? [...] intel_rng: Firmware space is locked read-only. If you can't or don't want to disable this in firmware setup, and if you are certain that your system has a functional RNG, try using the 'no_fwh_detect' option. See http://forums.gentoo.org/viewtopic-t-559170-highlight-.html?sid=a7efc65428c708b5d3986e327046a049 for some info on RNG (Random Number Generator). Since the error is that the space is locked, rather than missing (not detected), it may be safe to use the no_fwh-detect option for loading this kernel module. The only issue now is how to do it. I've never done anything with options on autoloaded modules, so I have no suggestions, perhaps others can help here. According to modinfo intel-rng: parm: no_fwh_detect:Skip FWH detection: positive value - skip if FWH space locked read-only negative value - skip always (int) So I would try to create a new configuration file in /etc/modprobe.d/; call it, for example, local-intel-rng. The name does not matter as long as you avoid special characters (hyphen and underscore are OK), but it is advisable to choose a name that indicates the relevant module and the fact that you created the file yourself. This configuration file should contain one line (see man modprobe.d): options intel-rng no_fwh_detect=1 Then reboot (or unload/reload the module) and check if the message is gone. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: Where do you put your swap partition?
I think that's quite reasonable. -mike (Sorry to be late to the show.) All my systems run from a single disk drive. I put the swap partition as close to the middle of the disk on the theory that that'll minimize seek time for a function I want to run as quickly as possible. Is this reasonable? -- Best wishes, Max Hyre Being an adult is harder than it looks. -- a sixteen-year-old, personal communication -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
bootcd, boocdwrite, kernel with CD support built in
Hello! I want to use bootcd to write my Debian system onto a CD. That CD want then use to install this system on my old Toshiba laptop. The laptop requires other kernel, then my Pentium 4 machine. I think I must to build a custom kernel for this pourpose. I red man bootcdwrite and there stand this: It is important that the kernel can access the cdrom on the system, where you want to boot from the CD, without having to load any modules. (Because to load modules from CD, the kernel must have access to CD before). If this is not the case you have first to create a new kernel with CD-support built in. I have installed 2.6.18-5-686 SMP linux-image. I searched in config-2.6.18-5-686 file for the CD support line, but not shore whether I finded it. Is it the following lines? CONFIG_IDE=m CONFIG_BLK_DEV_IDE=m -- Regards, Paul Csanyi http://www.freewebs.com/csanyi-pal/index.htm -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to set up simple cgi web
2008/1/26, hce [EMAIL PROTECTED]: Hi, I thought if I create /www or /etc/www in my debian PC, and add an index.htm and cgi file to cgi-bin directory, I should be able to access http://my_ip_address/index.html. But, it did not work. how can I make that work? Thank you. hi, apache work on var/www not etc/www. Afterwards, you create the directory on /var/www not in /etc if you use apache2, you manually set the dir /var/www in: /etc/apache2/apache2.conf regards, -- In internet reading is equivalent to knowing how to listen in reality, who knows hear has the keys to many doors Rashna Micaela Gallerini -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: problemas
On Mon, Jan 21, 2008 at 10:56:27PM -0500, Douglas A. Tutty wrote: The ipmasq package sets up a basic masquerading firewall based on the 'net' being in the direction of the default route. If you want more control of the firewall, install the shorewall-doc package, read it, then remove ipmasq and install shorewall. While some people write raw iptables firewalls themselves, most on this list (last I saw a poll) use shorewall. If you know PF on BSD, you'll feel comfortable with shorewall. You'll also need to turn on IP forwarding in /etc/sysctl.conf Shorewall can do that too. Just set IP_FORWARDING=On in /etc/shorewall/shorewall.conf Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert Einstein) signature.asc Description: Digital signature
linuxdcpp and xchat2 unusable after KDE4 upgrade?
Hi, Im not sure this is somehow conected and it's very strange. First, I've upgraded to KDE4 whren it was in experimental (3.96, 3.97 and 3.98SVN later on). Then my problems with linuxdcpp and xchat started. i thought that they would fix when KDE4 is moved to unstable, but this never happend. Here what happens when linuxdcpp is started from konsole: [EMAIL PROTECTED]:~$ linuxdcpp Loading: Hash database Loading: Shared Files Loading: Download Queue (linuxdcpp:19171): Gtk-CRITICAL **: gtk_box_reorder_child: assertion `GTK_IS_WIDGET (child)' failed The program 'linuxdcpp' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 2111 error_code 8 request_code 2 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) [EMAIL PROTECTED]:~$ xchat2 runs ok, until right mouse button is clicked for menu, then it's same thing as with linuxdcpp: [EMAIL PROTECTED]:~$ xchat The program 'xchat' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 49250 error_code 8 request_code 2 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) [EMAIL PROTECTED]:~$ In gnome from unstable(2.20.2) this 2 apps run ok. Please help? :) TIA Nenad -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: brasero - not a bug in unstable [SOLVED]
ok :) I am happy to announce that that nonsense so called bug was closed, and that brasero is going in testing today :) thanx to anyone who read my mail and did something about it KaiSVK On Wed, 2008-01-23 at 09:37 +0100, Kai AKA KaiSVK wrote: Hi all, I am not sure, If I hit the right mailing list, but: I am using testing and I wanted to install brasero, but brasero is only in unstable, cause there is reported bug against it. The problem is, as the author of the bug report explains here http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454640, is not a bug AT ALL !!! this only one bug is blocking the way of brasero to testing. My question is, who can I turn to, when the brasero package maintainer doesn't answer my e-mails. Thanx in advance KaiSVK -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
Kent West wrote: Hugo Vanwoerkom wrote: Kent West wrote: Too bad; I think a lot of the hams would have enjoyed writing a simple little program to turn their PCs into a Morse keyer. I am no radio hammmer (?) no morse code since I was a boyscout 60 years ago. But I would think that one would rather use let's say the space bar as a key for either dit's or dah's. Or alternatively just type text and the program would translate in dit's and dah's. More interesting would be to use the key and see if the program can read what is being keyed. The space bar as a keyer would be fine as a straight-key (just the single up-down paddle you see in the movies about the Old West), but I was thinking more along the lines of emulating a paddle (two side-ways keys mounted back-to-back, so that your thumb produces dits and your fore/middle finger produces dahs as you barely move your hand left-right-left). But it would be trivial to modify the program from one mode to the other. The hard part, as we've all discovered, is reading the keys while bypassing the buffer and controlling the speaker. That would indeed be interesting for the program to recognize and display what is being keyed; that would be a good training aid for producing clean code; if the computer can't read your hand, the ham on the other side of the world will have trouble reading it also. Aha! Good explanation. Forgive the ignorance. I did not know about the 'paddles'. Let me give the single up-down paddle a try. It appears that amidst all the uncertainties here one cannot depend on a wait interval *always* to be that long to one's ears. This in relation to both the sound duration and the wait between sounds. I played with playing 'SOS' in the background (=forked) and I never get anything recognizable: http://www.esnips.com/doc/da934a43-a63a-4276-b39c-a4cb385444fa/do_dit_dah_working Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
Daniel Burrows wrote: On Sun, Jan 20, 2008 at 04:27:50PM -0600, Hugo Vanwoerkom [EMAIL PROTECTED] was heard to say: Turns out that keypress access *is* the hardest. You have that in Qt but you have to be running in X and within a widget. It's ridiculous to do all that to find out if a key is pressed. I have no idea how to find out in low-level programming whether a key is depressed. Any kernel savvy people out there? Have you looked at SDL? It gives you fairly simple access to the keyboard, and I *think* it can work outside X. Package: libsdl1.2debian (1.2.13-1 and others) SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard. have not tried that. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Prism54 Wlan (lenny)
Hello everbody, i installed Debian Sid 2 days and i cann't not get my wireless (Netgear WG 511) card to work. If I plug it in the PCMCIA slot the prism54 module gets loaded properly but it seems that the firmware is not uploaded to the card. I've put it in all possible direcotries (for example /lib/ firmware/ /usr/lib/firmware/hotplug etc. etc), so it should be found by the module. Also the output of 'dmesg' doesn't contain any error message. I also compiled my own kernel (2.4.26rc8) with the debian config but neither the debian kernel nor my own kernel make my wifi card work :-(. I also read a bit about google and found that the hotplug package is needed, but that was replaced by udev. Has my problem somthing to do with that? Thanks for helping! Best wishes Klaus -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installation of hard drive
Andres Migliazzo wrote: Hi, Please, login as root and run the comand mount, then show us the standar output AND the /etc/fstab file. Tell us which is the file systems that you have used on new disk partitions (VFAT, EXT2/3, NTFS, UFS, REISERFS, etc). Regards On Jan 25, 2008 4:13 PM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: KS wrote: Pantor wrote: KS wrote: Pantor wrote: Lads, would you be able to advice please, how to install a second hard drive which have preinstalled Windows. PC booting Windows after hard drive has been plugged in. Windows should be cleared, but how thee partition works? Thank you, Andrius I would just connect the hard disk and boot. My new/old hard disks have been detected without a hitch when booting. Then comes the use of a partitioning tool like cfdisk, fdisk, etc. and after that you can use mkfs to create the file system. If you like using the GUI more, install gparted or qtparted and use that to partition and format the hard disk. HTH If to boot then windows will boot. Gparted shows: 89-125-103-244:/home/andrius# gparted == libparted : 1.7.1 automounting disabled == Unable to open /dev/hda read-write (Read-only file system). /dev/hda has been opened read-only. Unable to open /dev/hda - unrecognised disk label. Andrius Where do you have Debian installed? /dev/hdb? Where did you install Grub? You need to give more details about your setup. Debian installed on sda, New disk hdc installed and partitioned, but still not visible in media:/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] It seems tha a mistake was made in last line. # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/sda1 / ext3defaults,errors=remount-ro 0 1 /dev/sda5 noneswapsw 0 0 /dev/hda/media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 /dev/hdc1 /mnt/hdc1 ext3 default 2 1 Instead default should be defaults. But after change a error message permission denied appear in Konqueror window. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installation of hard drive
Pantor wrote: Andres Migliazzo wrote: Hi, Please, login as root and run the comand mount, then show us the standar output AND the /etc/fstab file. Tell us which is the file systems that you have used on new disk partitions (VFAT, EXT2/3, NTFS, UFS, REISERFS, etc). Regards On Jan 25, 2008 4:13 PM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: KS wrote: Pantor wrote: KS wrote: Pantor wrote: Lads, would you be able to advice please, how to install a second hard drive which have preinstalled Windows. PC booting Windows after hard drive has been plugged in. Windows should be cleared, but how thee partition works? Thank you, Andrius I would just connect the hard disk and boot. My new/old hard disks have been detected without a hitch when booting. Then comes the use of a partitioning tool like cfdisk, fdisk, etc. and after that you can use mkfs to create the file system. If you like using the GUI more, install gparted or qtparted and use that to partition and format the hard disk. HTH If to boot then windows will boot. Gparted shows: 89-125-103-244:/home/andrius# gparted == libparted : 1.7.1 automounting disabled == Unable to open /dev/hda read-write (Read-only file system). /dev/hda has been opened read-only. Unable to open /dev/hda - unrecognised disk label. Andrius Where do you have Debian installed? /dev/hdb? Where did you install Grub? You need to give more details about your setup. Debian installed on sda, New disk hdc installed and partitioned, but still not visible in media:/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] It seems tha a mistake was made in last line. # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/sda1 / ext3defaults,errors=remount-ro 0 1 /dev/sda5 noneswapsw 0 0 /dev/hda/media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 /dev/hdc1 /mnt/hdc1 ext3 default 2 1 Instead default should be defaults. But after change a error message permission denied appear in Konqueror window. And mount still does not work 89-125-103-244:/home/andrius# mount /dev/hdc1 mount: mount point /mnt/hdc1 does not exist -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Cable Modem setup
Hi, This box (Sid: now on a dialup modem) is to be moved to a different location where there is only a cable modem. So once there I either connect or I don't. I cannot get anything from the net in any other way. Having googled the subject, the HOWTO (from 2004) says: Most, if not all, cable modems are easily configured for use with Linux So please check me if what I think is right: 1. The box has an (presently unused) ethernet port and lspci shows it: 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78) 2. dhcp client is installed: ii dhcp3-client 3.0.6-1DHCP client ii dhcp3-common 3.0.6-1common files used by all the dhcp3* packages 3. All I have to do is change /etc/networking/interfaces from: auto lo iface lo inet loopback auto ppp0 iface ppp0 inet ppp post-up iptables-restore /etc/iptables.up.rules to: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp post-up iptables-restore /etc/iptables.up.rules and issue: ifup 4. I have the DVD's for Etch. I could also do a new install for Etch (I now have all Sid) and that should automatically find the cable modem in the new installation. Sound right? Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bootcd, boocdwrite, kernel with CD support built in
Paul Csanyi wrote: Hello! I want to use bootcd to write my Debian system onto a CD. That CD want then use to install this system on my old Toshiba laptop. The laptop requires other kernel, then my Pentium 4 machine. I think I must to build a custom kernel for this pourpose. I red man bootcdwrite and there stand this: It is important that the kernel can access the cdrom on the system, where you want to boot from the CD, without having to load any modules. (Because to load modules from CD, the kernel must have access to CD before). If this is not the case you have first to create a new kernel with CD-support built in. I have installed 2.6.18-5-686 SMP linux-image. I searched in config-2.6.18-5-686 file for the CD support line, but not shore whether I finded it. Is it the following lines? CONFIG_IDE=m CONFIG_BLK_DEV_IDE=m I would use mondo first. That writes everything to CD and makes the CD bootable with your present kernel. Then try to boot that on the Toshiba and see what you get: you lose nothing. Then you can adjust your present kernel to correct any errors. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: mscompress
--- Paul Cartwright [EMAIL PROTECTED] wrote: On Thu January 24 2008, Angus Auld wrote: Thanks for your reply Paul. So, if I understand, a windows binary installation package .exe isn't like a nix binary like .deb or .rpm? not exactly. look for the homepage, maybe it explains better: MsCompress for Windows MsCompress: compress data using LZ77 algorithm Version 0.3 Description MsCompress is a Microsoft compress.exe/expand.exe compatible (de)compressor. This package contains two programs: * msexpand, which decompresses files compressed by Microsoft compress.exe utility (e.g. Win 3.x installation files) * mscompress, which compresses files using LZ77 compression algorithm. Output files can be decompressed using Microsoft expand.exe or msexpand(1). Homepage ftp://ftp.penguin.cz/pub/users/mhi/mscompress I thought it was, well sort of anyway. What exactly is mscompress/msexpand supposed to do? I want to extract some icons from an MSN_Messenger.exe binary package. Is there no way to do that? no, you don't extract icons from an EXE. try google: icons msn messenger I got this site ( for one): http://www.msnicon.com/ it has 3,000 icons Sorry if I have misunderstood. no need to be sorry, we are all learning here! -- Paul Cartwright Registered Linux user # 367800 Registered Ubuntu User #12459 Thanks Paul for the help. I sort of wanted to look inside of an exe, as I am rather curious about such things. I thought maybe I could find some nice icons while in there. Thanks for the link to the site as well. It should more than satisfy may iconic (?) needs. I can't seem to find very much info about mscompress, and what it does or how to use it. That seems strange to me. I have searched quite a bit, but remain in the dark more or less about it. The link you provided to the mscompress homepage is requiring login. I tried as guest, but it was no go. I found this listed as homepage of mscompress from freshmeat.net: http://martin.hinner.info/mscompress/ But, there is little info of help there either. Mysterious. Thanks again. Regards. -- Angus ##Linux Laptop powered by Debian Linux## ###Reg. Linux User #278931### Angus To find out how the mscompress works google LZ77 or merely Lempel-Ziv compression (this is the Lempel-Ziv compression algorithm-it has been used in multiple compression schemes since it is in the public domain) Larry Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Prism54 Wlan (lenny)
Klaus Kreuzpaintner: i installed Debian Sid 2 days and i cann't not get my wireless (Netgear WG 511) card to work. If I plug it in the PCMCIA slot the prism54 module gets loaded properly but it seems that the firmware is not uploaded to the card. I've put it in all possible direcotries (for example /lib/ firmware/ /usr/lib/firmware/hotplug etc. etc), I think it should be /usr/lib/hotplug/firmware/. so it should be found by the module. Also the output of 'dmesg' doesn't contain any error message. Don't tell, just show. :) J. -- Fashion is more important to me than war, famine, disease or art. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: mscompress
--- Nyizsnyik Ferenc [EMAIL PROTECTED] wrote: On Fri, 25 Jan 2008 18:17:23 -0800 David Fox [EMAIL PROTECTED] wrote: On 1/25/08, Angus Auld [EMAIL PROTECTED] wrote: Way above my head, but interesting just the same. I just sort of wanted to know how to use mscompress to de-compress Angus: I think you'll find that ordinary unzip or 7zip can do that for you. There basically are two kinds of compressed executables 1) the executable archive, basically a zip file with a little bit of program code that basically says to unzip me. These files are far more common, and handle very well on Linux. 2) the expand type compressed exes. These are distinct because they all have a trailing _ as part of their name, and only seems to be common on Windows installation media, to save space on the disks. I don't think there is a tool that will handle this natively on Linux. Actually mscompress and msexpand were made to handle this type of files. -- Szia: Nyizsa. That is what the sparse description, and the even sparser documentation would indicate, at least to me it did. :) I have tried unzip, and it will not handle exe's. I have not tried 7zip, since I do not have that prog installed, but documentation indicates that it will not either. I will not trouble the list any further on this issue. Thanks to all who responded. Best regards. -- Angus ##Linux Laptop powered by Debian Linux## ###Reg. Linux User #278931### Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cable Modem setup
On Sat, Jan 26, 2008 at 07:03:52AM -0600, Hugo Vanwoerkom wrote: Most, if not all, cable modems are easily configured for use with Linux So please check me if what I think is right: 1. The box has an (presently unused) ethernet port and lspci shows it: 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78) good. 2. dhcp client is installed: ii dhcp3-client 3.0.6-1DHCP client ii dhcp3-common 3.0.6-1common files used by all the dhcp3* packages good 3. All I have to do is change /etc/networking/interfaces from: ... to: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp post-up iptables-restore /etc/iptables.up.rules and issue: ifup yup 4. I have the DVD's for Etch. I could also do a new install for Etch (I now have all Sid) and that should automatically find the cable modem in the new installation. no need to do the reinstall. no need to find the cable modem. It is (most likely) just like any router/hub/switch with a dhcp server. simply plug in, ifup and you should be good to go. A signature.asc Description: Digital signature
Re: Strange boot message
On Sat, 26 Jan 2008 11:36:26 +0100 Florian Kulzer [EMAIL PROTECTED] wrote: On Fri, Jan 25, 2008 at 14:31:53 -0800, Bob McGowan wrote: Frank McCormick wrote: Can anyone tell me what this message in syslog is all about ??? [...] intel_rng: Firmware space is locked read-only. If you can't or don't want to disable this in firmware setup, and if you are certain that your system has a functional RNG, try using the 'no_fwh_detect' option. /snip/ The only issue now is how to do it. I've never done anything with options on autoloaded modules, so I have no suggestions, perhaps others can help here. So I would try to create a new configuration file in /etc/modprobe.d/; call it, for example, local-intel-rng. The name does not matter as long as you avoid special characters (hyphen and underscore are OK), That did it. Below is the relevant snip of the syslog. Jan 26 09:08:23 debian kernel: parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE] Jan 26 09:08:23 debian kernel: Intel 82802 RNG detected Jan 26 09:08:23 debian kernel: intel8x0_measure_ac97_clock: measured 52011 usecs Jan 26 09:08:23 debian kernel: intel8x0: clocking to 48000 Jan 26 09:08:23 debian kernel: hda: selected mode 0x42 Thanks guys. Cheers -- Frank -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Cable Modem setup
Andrew Sackville-West wrote: On Sat, Jan 26, 2008 at 07:03:52AM -0600, Hugo Vanwoerkom wrote: Most, if not all, cable modems are easily configured for use with Linux So please check me if what I think is right: 1. The box has an (presently unused) ethernet port and lspci shows it: 00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78) good. 2. dhcp client is installed: ii dhcp3-client 3.0.6-1DHCP client ii dhcp3-common 3.0.6-1common files used by all the dhcp3* packages good 3. All I have to do is change /etc/networking/interfaces from: ... to: auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp post-up iptables-restore /etc/iptables.up.rules and issue: ifup yup 4. I have the DVD's for Etch. I could also do a new install for Etch (I now have all Sid) and that should automatically find the cable modem in the new installation. no need to do the reinstall. no need to find the cable modem. It is (most likely) just like any router/hub/switch with a dhcp server. simply plug in, ifup and you should be good to go. Thanks Andrew. If and when the move occurs I'll report back. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Memory Stick is sg1?
On Fri, Jan 25, 2008 at 03:15:47PM -0600, Ron Johnson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/25/08 15:05, Thomas H. George wrote: I have a usb memory stick which I successfully used for a netinst several months ago. When I connected it today it was recognized as sg1 but it was not recognized as a block device when I tried to mount it. Returning to the Debian-Installer directions I found I can mount it with the command mount /dev/sda /mnt but only as root. At the moment I just want to store some files and there is plenty of space free so I don't really have a problem. I'm just puzzled as I have an entry in /etc/fstab reading /dev/sda1 /usbkeyvfat rw,user,noauto 0 0 and I believe in the past the memory stick was recognized as sda1 and I could mount it as an ordinary user. If using it for netinst has modified it how can I restore the original configuration? To install Debian onto the machine that now recognizes it as sg1? No, just to use it to store data. As it is I can only mount it as root and to just store data I would prefer to mount it as a normal user. - -- Ron Johnson, Jr. Jefferson LA USA I'm not a vegetarian because I love animals, I'm a vegetarian because I hate vegetables! unknown -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHmlGDS9HxQb37XmcRAml1AJ9aMBX0nFqz37Y1O1Z3sf1e3vn0gACfc5J+ 2GpwMtgDfLaXH6p7nAzNBZc= =OjCw -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: exim question
On Sat, Jan 26, 2008 at 10:25:35AM +0100, Daniel Haude wrote: Hello, Due a to an error in my /etc/exim4/passwd.client, quite a bit of mail was refused by the remote SMTP relay host. I now fixed it but can't find the messages any more. Does exim dump them? I still have them in my sent-mail folder and can bounce them, but I thought there maybe was some queue seomwhere. mailq will tell you what's in the queue. And look in /var/log/exim4/mainlog to see what might have happened to mail that isn't in the queue. If your relay host refused the mail, it should either be in the queue or bounced back to the sender. If it's bounced, then exim is done with it and won't have it anymore. A signature.asc Description: Digital signature
Re: mscompress
On Sat, 26 Jan 2008 05:59:36 -0800 (PST) Angus Auld [EMAIL PROTECTED] wrote: --- Nyizsnyik Ferenc [EMAIL PROTECTED] wrote: On Fri, 25 Jan 2008 18:17:23 -0800 David Fox [EMAIL PROTECTED] wrote: On 1/25/08, Angus Auld [EMAIL PROTECTED] wrote: Way above my head, but interesting just the same. I just sort of wanted to know how to use mscompress to de-compress Angus: I think you'll find that ordinary unzip or 7zip can do that for you. There basically are two kinds of compressed executables 1) the executable archive, basically a zip file with a little bit of program code that basically says to unzip me. These files are far more common, and handle very well on Linux. 2) the expand type compressed exes. These are distinct because they all have a trailing _ as part of their name, and only seems to be common on Windows installation media, to save space on the disks. I don't think there is a tool that will handle this natively on Linux. Actually mscompress and msexpand were made to handle this type of files. -- Szia: Nyizsa. That is what the sparse description, and the even sparser documentation would indicate, at least to me it did. :) I have tried unzip, and it will not handle exe's. I have not tried 7zip, since I do not have that prog installed, but documentation indicates that it will not either. I will not trouble the list any further on this issue. Thanks to all who responded. Best regards. -- Angus One more thing, just to clarify things: msexpand is not for zipped exe files, it is for compressed files on the windows install media, like, for example, notepad.ex_ and winipsec.dl_. They were compressed by (ms)compress and will be expanded as notepad.exe and winipsec.dll. -- Szia: Nyizsa. -- Get a free email account with anti spam protection. http://www.bluebottle.com/tag/2 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Memory Stick is sg1?
On Fri, Jan 25, 2008 at 04:05:38PM -0500, Thomas H. George wrote: I have a usb memory stick which I successfully used for a netinst several months ago. When I connected it today it was recognized as sg1 but it was not recognized as a block device when I tried to mount it. well, if the kernel/udev recignized it as /dev/sg1 then your command below won't work because that command tries to mount /dev/sda. Returning to the Debian-Installer directions I found I can mount it with the command mount /dev/sda /mnt but only as root. At the moment I just that won't work with a /dev/sdg* try mount /dev/sdg1 /mnt want to store some files and there is plenty of space free so I don't really have a problem. I'm just puzzled as I have an entry in /etc/fstab /dev/sda1 /usbkeyvfat rw,user,noauto 0 0 that also tries to mount /dev/sda1. With your memory stick id'ed as /dev/sdg1, it won't work. and I believe in the past the memory stick was recognized as sda1 and I could mount it as an ordinary user. the 'user' option in the fstab line above allows the user to mount the device. But again, it needs to specify the right device... If using it for netinst has modified it how can I restore the original configuration? all the netinst has done is but some files on it, essentially. That doesn't affect how the stick is recognized by the kernel or udev. SOmething else is causing the change to sdg. If you want to revert the stick to it's original, pre-netinst condition, probably you need to just reformat the filesystem. A signature.asc Description: Digital signature
Re: Memory Stick is sg1?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/26/08 08:43, Thomas H. George wrote: On Fri, Jan 25, 2008 at 03:15:47PM -0600, Ron Johnson wrote: On 01/25/08 15:05, Thomas H. George wrote: I have a usb memory stick which I successfully used for a netinst several months ago. When I connected it today it was recognized as sg1 but it was not recognized as a block device when I tried to mount it. Returning to the Debian-Installer directions I found I can mount it with the command mount /dev/sda /mnt but only as root. At the moment I just want to store some files and there is plenty of space free so I don't really have a problem. I'm just puzzled as I have an entry in /etc/fstab reading /dev/sda1 /usbkeyvfat rw,user,noauto 0 0 and I believe in the past the memory stick was recognized as sda1 and I could mount it as an ordinary user. If using it for netinst has modified it how can I restore the original configuration? To install Debian onto the machine that now recognizes it as sg1? No, just to use it to store data. As it is I can only mount it as root and to just store data I would prefer to mount it as a normal user. What I mean is: The first sentence of your original mail indicates that *this* exact stick was used to install Debian on *this* exact machine. Is that what you meant to say? - -- Ron Johnson, Jr. Jefferson LA USA I'm not a vegetarian because I love animals, I'm a vegetarian because I hate vegetables! unknown -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHm0zNS9HxQb37XmcRAnTJAJ0W+/157wFyZwJk4czA0O3eTyKCfgCeOtER vhlY+mKdQy0KGTUiTL9k5bE= =gegJ -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Web browser cannot see due to proxy server?
On Thu, Jan 24, 2008 at 16:26:32 -0800, wathavy wathavy wrote: Hi, I have Debian set up and run. I can ping to any address and get replies. And I also set up proxy server name and port number exactly same as Windows which I am writing this mail, now. But any browser reject saying 'proxy server may be not set right'. I asked the server administrator if Linux is blocked he says he does not block by seeing OS types, just MAC and IP only. Did you check that you have the same IP address with Linux? (This should be OK, assuming that your network uses MAC-based DHCP assignments, but check it just to be sure.) Can you ping the proxy server? When Windows running it can see browser, but I cannot figure out how I can use bowser with Linux(Debian). I would try this in a terminal: export http_proxy=http://your.proxy.server:PORT (replace your.proxy.server and PORT with the correct data for your network) Then do this: wget -v --delete-after http://slashdot.org to check if you can download the frontpage of slashdot via the proxy. If you get errors or a slow download speed then post the (error) messages of the wget command here. -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: problemas
Carlos Enrique Carleos Artime wrote: Hello! I have a home network with three computers (A, B and C). Computer A has a direct connection to internet by a cable-modem. It has interfaces: - eth0 to internet, uses DHCP - eth1 to computer B, static IP-address: 192.168.0.2 Its operating system is Debian etch, with default IPMASQ configuration. I added: route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.0.1 eth1 to /etc/init.d/bootmisc.sh (first) and to /etc/init.d/ipmasq (then) Computer B is connected to both A and C. Its interfaces: - rl0 to computer A, IP 192.168.0.1 - ural0 to computer B, IP 192.168.2.1 It runs FreeBSD 6.3, confirgured while install to be gateway. Computer C is connected to B. Interface: - ural0 to computer B, IP 192.168.2.2 It has FreeBSD 6.3 and OpenBSD 4.0. (snip) One more information item to check: what range of addresses is assigned on eth0? Better make sure that it is not in 192.168.0.0/16 (i.e. not in a subnet of that /16). -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Installation of hard drive
But after change a error message permission denied appear in Konqueror window. Well... check the permissions and ownership of the /mnt/hdc1 folder. Then try to mount the partition using the command line: $ mount -t ext3 /dev/hdc1 /mnt/hdc1 -o rw Do it as your user, and then try with root user. Did you try to mount it on a different directory...like floppy? $ mount -t ext3 -o rw /dev/hdc1 /media/floppy Just to check if is a permissions issue. If does not works... show us the output of the command: #sfdisk -ls /dev/hdc Bye On Jan 26, 2008 10:59 AM, Pantor [EMAIL PROTECTED] wrote: Pantor wrote: Andres Migliazzo wrote: Hi, Please, login as root and run the comand mount, then show us the standar output AND the /etc/fstab file. Tell us which is the file systems that you have used on new disk partitions (VFAT, EXT2/3, NTFS, UFS, REISERFS, etc). Regards On Jan 25, 2008 4:13 PM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: KS wrote: Pantor wrote: KS wrote: Pantor wrote: Lads, would you be able to advice please, how to install a second hard drive which have preinstalled Windows. PC booting Windows after hard drive has been plugged in. Windows should be cleared, but how thee partition works? Thank you, Andrius I would just connect the hard disk and boot. My new/old hard disks have been detected without a hitch when booting. Then comes the use of a partitioning tool like cfdisk, fdisk, etc. and after that you can use mkfs to create the file system. If you like using the GUI more, install gparted or qtparted and use that to partition and format the hard disk. HTH If to boot then windows will boot. Gparted shows: 89-125-103-244:/home/andrius# gparted == libparted : 1.7.1 automounting disabled == Unable to open /dev/hda read-write (Read-only file system). /dev/hda has been opened read-only. Unable to open /dev/hda - unrecognised disk label. Andrius Where do you have Debian installed? /dev/hdb? Where did you install Grub? You need to give more details about your setup. Debian installed on sda, New disk hdc installed and partitioned, but still not visible in media:/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] It seems tha a mistake was made in last line. # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/sda1 / ext3defaults,errors=remount-ro 0 1 /dev/sda5 noneswapsw 0 0 /dev/hda/media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 /dev/hdc1 /mnt/hdc1 ext3 default 2 1 Instead default should be defaults. But after change a error message permission denied appear in Konqueror window. And mount still does not work 89-125-103-244:/home/andrius# mount /dev/hdc1 mount: mount point /mnt/hdc1 does not exist
Re: Memory Stick is sg1?
Thomas H. George: No, just to use it to store data. As it is I can only mount it as root and to just store data I would prefer to mount it as a normal user. I still don't understand your problem, but what a user is able to mount is determined by the contents of /etc/fstab. If you want ordinary users to be able to mount a specific filesystem, just add the user option: $ grep user /etc/fstab /dev/iriver1 /media/iriver vfat noauto,user,noatime0 0 /dev/stick1 /media/stickvfat noauto,user,noatime,async,utf8=true0 0 /dev/sda1/media/usbdisk auto noauto,user,noatime,async 0 0 /dev/hdc /media/cdrom0 udf,iso9660 user,noauto,ro 0 0 J. -- I frequently find myself at the top of the stairs with absolutely nothing happening in my brain. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
Re: Installation of hard drive
Andres Migliazzo wrote: But after change a error message permission denied appear in Konqueror window. Well... check the permissions and ownership of the /mnt/hdc1 folder. Then try to mount the partition using the command line: $ mount -t ext3 /dev/hdc1 /mnt/hdc1 -o rw Do it as your user, and then try with root user. Did you try to mount it on a different directory...like floppy? $ mount -t ext3 -o rw /dev/hdc1 /media/floppy Just to check if is a permissions issue. If does not works... show us the output of the command: #sfdisk -ls /dev/hdc Bye On Jan 26, 2008 10:59 AM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Pantor wrote: Andres Migliazzo wrote: Hi, Please, login as root and run the comand mount, then show us the standar output AND the /etc/fstab file. Tell us which is the file systems that you have used on new disk partitions (VFAT, EXT2/3, NTFS, UFS, REISERFS, etc). Regards On Jan 25, 2008 4:13 PM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: KS wrote: Pantor wrote: KS wrote: Pantor wrote: Lads, would you be able to advice please, how to install a second hard drive which have preinstalled Windows. PC booting Windows after hard drive has been plugged in. Windows should be cleared, but how thee partition works? Thank you, Andrius I would just connect the hard disk and boot. My new/old hard disks have been detected without a hitch when booting. Then comes the use of a partitioning tool like cfdisk, fdisk, etc. and after that you can use mkfs to create the file system. If you like using the GUI more, install gparted or qtparted and use that to partition and format the hard disk. HTH If to boot then windows will boot. Gparted shows: 89-125-103-244:/home/andrius# gparted == libparted : 1.7.1 automounting disabled == Unable to open /dev/hda read-write (Read-only file system). /dev/hda has been opened read-only. Unable to open /dev/hda - unrecognised disk label. Andrius Where do you have Debian installed? /dev/hdb? Where did you install Grub? You need to give more details about your setup. Debian installed on sda, New disk hdc installed and partitioned, but still not visible in media:/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] It seems tha a mistake was made in last line. # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0 0 /dev/sda1 / ext3defaults,errors=remount-ro 0 1 /dev/sda5 noneswapsw 0 0 /dev/hda/media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0/media/floppy0 autorw,user,noauto 0 0 /dev/hdc1 /mnt/hdc1 ext3 default 2 1 Instead default should be defaults. But after change a error message permission denied appear in Konqueror window. And mount still does not work 89-125-103-244:/home/andrius# mount /dev/hdc1 mount: mount point /mnt/hdc1 does not exist sfdisk -ls /dev/hdc Well, not looks as fine. Here is sfdisk 89-125-103-244:/home/andrius# sfdisk -ls /dev/hdc 19938240 Disk /dev/hdc: 39560 cylinders, 16 heads, 63 sectors/track Warning: The partition table looks like it was made for C/H/S=*/255/63 (instead of 39560/16/63). For this listing I'll assume that geometry. Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls#blocks Id System /dev/hdc1 0+ 24812482- 19936633+ 83 Linux /dev/hdc2 0 - 0 00 Empty /dev/hdc3 0 - 0 00 Empty /dev/hdc4 0 - 0 00 Empty 89-125-103-244:/home/andrius# There is only one problem now about new disc: impossible to write or
Re: DSL modems over USB?
On Sat, Jan 26, 2008 at 03:12:22PM +0900, Paul Wise wrote: On Fri, 2008-01-25 at 22:29 +0900, Osamu Aoki wrote: As I see web pages, Speedstream 4200 supports ethernet too. Why not connect it by ethernet unless you have some feature limitted version. I wanted to connect 2 computers to it - one via USB and one via DHCP. After finding the drivers for Vista I was able to discover that it only allows one computer at a time to be connected - USB or Ethernet, but not both. Since then I've noticed that it reboots at regular intervals so I switched to an older non-ADSL2 modem. Why not place hub or switch between modem and other computers. Then you can communicate between 2 computers. If for any reason, ethernet side can have one host address but if you have 2 ethernet card on LInux server, then run NAT server on Linux server connected to the ADSL modem so windows can hide behind Linux server. (Of course, you can do the same with windows but why...) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
[OT] Using aliases or functions in bash script
On Wed, 23 Jan 2008 20:47:15 -0900, Ken Irving wrote: I'm wondering if you have read my OP or not. Read it again pls. source ~/.bashrc Guess that I am having bad lucks now, having two people replied without even reading my question, and the two replies are the only replies that I get... Here is the full OP -- let me try for the last time: Hi, An advanced bash alias expansion question -- How can I use my aliases or functions in my bash script? I have the following alias and function defined in my ~/.bashrc: $ alias rd alias rd='rmdir' $ type dt dt is a function dt () { pushd +$1 } How can I use them in my script? Looking through the man pages, I think the following content is related to my question: Aliases are not expanded when the shell is not interactive, unless the expand_aliases shell option is set using shopt. [-+]O [shopt_option] shopt_option is one of the shell options accepted by the shopt builtin (see SHELL BUILTIN COMMANDS below).If shopt_option is present, -O sets the value of that option; +O unsets it. If shopt_option is not supplied, the names and values of the shell options accepted by shopt are printed on the standard output. If the invocation option is +O, the output is displayed in a format that may be reused as input. expand_aliases If set, aliases are expanded as described above under ALIASES. This option is enabled by default for interac- tive shells. And this is what I've tried: $ bash -c 'shopt -s expand_aliases; alias rd' bash: line 0: alias: rd: not found $ bash -O expand_aliases -c 'rd /tmp/ttt; alias rd; dt bin; type dt' bash: rd: command not found bash: line 0: alias: rd: not found bash: dt: command not found bash: line 0: type: dt: not found Looking for the answer myself, I found a similar symptom has been reported as bug 148505: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=148505 And it is reported as being fixed. Am I hitting a new bug or I'm doing something wrong? Please comment, otherwise I'm going to file a bug report. Thanks PS. I even tried the following but it didn't work either: $ bash -O expand_aliases -c '. ~/.bashrc; (rd /tmp/ttt; alias rd; dt bin; type dt)' -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Nice GUI/CLI Password Manager for Linux
Hi, Just to follow up: On Fri, Jan 25, 2008 at 01:25:15PM -0500, Joey Hess wrote: Amit Uttamchandani wrote: Recently moved from Mac to Debian Linux. I am looking for a nice and powerful FLOSS password manager similar to Keychain on Mac OS X. I preferably would want a CLI tool...so I could remote login using SSH and look at some passwords that I have forgotten. vim + gpg Dump the following in your .vimrc: Transparent editing of gpg encrypted files. By Wouter Hanegraaff [EMAIL PROTECTED] augroup encrypted au! ... autocmd BufWritePre,FileWritePre*.gpg '[,']!gpg --default-key=80BF97AA --default-recipient-self -ae 2/dev/null Of course you need to change --default-key=80BF97AA to yours, of course. ... augroup END There is a package: vim-scripts. With this package, you type less :-) You only use vim-addons command to enable gnupg. Osamu -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
Hugo Vanwoerkom wrote: Kent West wrote: Hugo Vanwoerkom wrote: Kent West wrote: Too bad; I think a lot of the hams would have enjoyed writing a simple little program to turn their PCs into a Morse keyer. I am no radio hammmer (?) no morse code since I was a boyscout 60 years ago. But I would think that one would rather use let's say the space bar as a key for either dit's or dah's. Or alternatively just type text and the program would translate in dit's and dah's. More interesting would be to use the key and see if the program can read what is being keyed. The space bar as a keyer would be fine as a straight-key (just the single up-down paddle you see in the movies about the Old West), but I was thinking more along the lines of emulating a paddle (two side-ways keys mounted back-to-back, so that your thumb produces dits and your fore/middle finger produces dahs as you barely move your hand left-right-left). But it would be trivial to modify the program from one mode to the other. The hard part, as we've all discovered, is reading the keys while bypassing the buffer and controlling the speaker. That would indeed be interesting for the program to recognize and display what is being keyed; that would be a good training aid for producing clean code; if the computer can't read your hand, the ham on the other side of the world will have trouble reading it also. Aha! Good explanation. Forgive the ignorance. I did not know about the 'paddles'. Let me give the single up-down paddle a try. It appears that amidst all the uncertainties here one cannot depend on a wait interval *always* to be that long to one's ears. This in relation to both the sound duration and the wait between sounds. Guess what? kbhit() returns a non-zero value at a variable rate: between 65 and 300 ms. So you cannot distinguish between rapis key strokes and holding a key down. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using aliases or functions in bash script
On Thu, Jan 24, 2008 at 03:55:51AM +, T o n g wrote: I'm wondering if you have read my OP or not. Read it again pls. Yes I have. Use functions. Don't use aliases. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Nice GUI/CLI Password Manager for Linux
On Fri, Jan 25, 2008 at 10:26:21PM +0100, Andrew Henry wrote: Just a thought... can you stop a password from being displayed in the terminal if using Vim--copy it to the buffer directly? I use a GUI tool called Keepass and it allows me to copy the password to the clipboard without being displayed on screen, so that nobody can look over my shoulder. KDE users: that is a great way to have your passwords recorded by klipper. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
Hugo Vanwoerkom wrote: Hugo Vanwoerkom wrote: Kent West wrote: The space bar as a keyer would be fine as a straight-key (just the single up-down paddle you see in the movies about the Old West), but I was thinking more along the lines of emulating a paddle (two side-ways keys mounted back-to-back, so that your thumb produces dits and your fore/middle finger produces dahs as you barely move your hand left-right-left). But it would be trivial to modify the program from one mode to the other. The hard part, as we've all discovered, is reading the keys while bypassing the buffer and controlling the speaker. Guess what? kbhit() returns a non-zero value at a variable rate: between 65 and 300 ms. So you cannot distinguish between rapis key strokes and holding a key down. Mmm; I wonder if it could be done with the mouse buttons instead of the keyboard, or if the same problem exists there -- Kent -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Accessing a TV adapter via my network
I would like to get a Hauppauge WinTV Nova T 500 adapter which I understand works with Linux. That's the easy part. It would be very inconvenient to install it in my desktop because it would require a connection to a TV aerial socket and I don't have one near my desktop. My idea would be to assemble another computer using some spare parts that I have together with some parts that I would have to re-aquire. I say 're-aquire' because I would have had all the necessary parts if I hadn't given away a lot of them (CPUs, hard drives, RAM) to a local computer recycling charity a few months ago. Why is it that one does not have a use for these parts until they've gone? I'm assuming that if I assemble the said computer with the TV adapter in it (putting it near a TV aerial socket) and can connect wirelessly to my desktop then I could access the TV adapter from my desktop using something like MythTV. Would such a thing be possible? I would be looking at a minimal install of Linux on the new box with all the processing done on my desktop. This would assume that I could connect the two boxes using nothing more than a wireless adapter in each i.e. no router. My desktop has an on- board wireless adapter and I have two spare PCI adapters one of which I could use in the new box. Is it possible to get two wireless adapters to communicate in this way? Would that be fast enough to cope with the data from the TV adapter? What sort of specification for the new machine would be required? I have a Gigabyte GA-7ZXE mainboard which takes a Socket A Athlon (which I would have to aquire) and it takes PC-133 SDRam (which I would also have to aquire). What's the minimum RAM I would need? I would also need to aquire an IDE hard drive. What's the minimum size I could get away with for an appropriate Debian system? TV recording will be done on my main desktop via the network. I wouldn't normally want to use a screen or keyboard after the machine has been setup - would that cause problems when booting? What else haven't I thought of? -- Barry Samuels http://www.beenthere-donethat.org.uk The Unofficial Guide to Great Britain
Re: nvidia driver problem [Was: new user question: debian on a Thinkpad T61]
On Friday 25 January 2008, [EMAIL PROTECTED] wrote: Actually, nv was what the installer picked by default and that didn't work for me (I was surprised by that, but maybe stable uses an older version of nv or something). Anyways, vesa worked, and it still does now, so that's what I'm using. It's nvidia that doesn't work. Question might be: What card do you have (or on-MB equivalent) in the Thinkpad? Nvidia's newer drivers (and Debian Sid equivalents) do NOT support older hardware. For example, I have a GEForce2 mx400 chipset card and must use the version 96.43.01 driver. I had mixed results in the past using the Debian versions. Once they did not work at all, once I got them working with half!! the frame rate in pengineracer or such. Installing correct versions from Nvidia (their site has dialogs to find which one) worked first time every time. (Caveat: unless you use arguments to their installer to set alternate folders, their libglx.so gets put in the same place as xorg's so when you upgrade xorg, well ... can always move xorg's out of the way and replace with the symlink to the Nvidia one each time this happens.)
Re: Using aliases or functions in bash script
On Sat, 26 Jan 2008 17:12:56 + Tzafrir Cohen [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 03:55:51AM +, T o n g wrote: I'm wondering if you have read my OP or not. Read it again pls. Yes I have. Use functions. Don't use aliases. On command-line: function dt () { push +$1 } In test.sh #!/bin/bash pwd $(dt $(pwd)) cd /tmp popd pwd ./test.sh Line 2 errors out. I imagine the same thing happens with his attempt to use his bashrc-defined functions in a script without defining them again in the script. IIUC he wants to know how to use already defined functions/aliases in a shell script. A possible way around would be to define the functions in .bashrc and then source .bashrc, but I am curious myself as to how one would achieve the other (using existing functions rather then defining them again in a new script). Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
ffmpeg and mpeg2video codec
Anyone know what happened to the mpeg2video video codec in the lenny version of ffmpeg? It seems to have been removed. Is it a patent issue, and if so will it eventually also effect players such as vlc, mplayer and xine? Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: Using aliases or functions in bash script
On Sat, Jan 26, 2008 at 12:44:42PM -0500, Daniel Dickinson wrote: On Sat, 26 Jan 2008 17:12:56 + Tzafrir Cohen [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 03:55:51AM +, T o n g wrote: I'm wondering if you have read my OP or not. Read it again pls. Yes I have. Use functions. Don't use aliases. On command-line: function dt () { push +$1 And this should do? Is this supposed to be pushd? Why the '+'? pushd +1? } In test.sh #!/bin/bash pwd $(dt $(pwd)) cd /tmp popd pwd ./test.sh Line 2 errors out. And those error are? -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
On Sat, Jan 26, 2008 at 11:22:05AM -0600, Kent West wrote: Mmm; I wonder if it could be done with the mouse buttons instead of the keyboard, or if the same problem exists there What's the problem using two status lines on a serial port? AFAIK, those are totally unbuffered and the python serial module should give you portable access. Hams shouldn't have any trouble wiring their paddles to an RS-232. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to set up simple cgi web
On Sat, Jan 26, 2008 at 09:33:00PM +1100, hce wrote: Hi, I thought if I create /www or /etc/www in my debian PC, and add an index.htm and cgi file to cgi-bin directory, I should be able to access http://my_ip_address/index.html. But, it did not work. how can I make that work? By default the web root in Debian is /var/www and the CGI root is /usr/lib/cgi-bin . -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il || a Mutt's [EMAIL PROTECTED] || best ICQ# 16849754 || friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Memory Stick is sg1?
On Sat, Jan 26, 2008 at 06:51:47AM -0800, Andrew Sackville-West wrote: all the netinst has done is but some files on it, essentially. That doesn't affect how the stick is recognized by the kernel or udev. SOmething else is causing the change to sdg. If you want to revert the stick to it's original, pre-netinst condition, probably you need to just reformat the filesystem. And while you're at it, add a label to the filesystem, then mount with LABEL= instead of /dev/. Doug. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How to set up simple cgi web
On Jan 26, 2008 6:33 PM, hce [EMAIL PROTECTED] wrote: I thought if I create /www or /etc/www in my debian PC, and add an index.htm and cgi file to cgi-bin directory, I should be able to access http://my_ip_address/index.html. But, it did not work. how can I make that work? Hmm. Shall start from the simplest. Did you install apache web server? Or is this a just installed Debian (and you have no idea what was installed). If you didn't, install it first. $ su # apt-get install apache2 After that you can follow the others' suggestions. (: Good luck! Chris -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
Douglas A. Tutty wrote: On Sat, Jan 26, 2008 at 11:22:05AM -0600, Kent West wrote: Mmm; I wonder if it could be done with the mouse buttons instead of the keyboard, or if the same problem exists there What's the problem using two status lines on a serial port? AFAIK, those are totally unbuffered and the python serial module should give you portable access. Hams shouldn't have any trouble wiring their paddles to an RS-232. I found a package for serial access for ham use. But I have to go back and look for it. Mouse buttons is a good idea. Let me look around. Hugo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using aliases or functions in bash script
On Sat, 26 Jan 2008 18:03:32 + Tzafrir Cohen [EMAIL PROTECTED] wrote: On Sat, Jan 26, 2008 at 12:44:42PM -0500, Daniel Dickinson wrote: On Sat, 26 Jan 2008 17:12:56 + Tzafrir Cohen [EMAIL PROTECTED] wrote: On Thu, Jan 24, 2008 at 03:55:51AM +, T o n g wrote: I'm wondering if you have read my OP or not. Read it again pls. Yes I have. Use functions. Don't use aliases. On command-line: function dt () { push +$1 And this should do? Is this supposed to be pushd? Why the '+'? pushd +1? Erm, rather pushd +$1 I just copied the example function the original poster gave, since it is his question. } In test.sh #!/bin/bash pwd $(dt $(pwd)) cd /tmp popd pwd ./test.sh Line 2 errors out. And those error are? ./test.sh: line 4: dt: command not found ./test.sh: line 6: popd: directory stack empty However, the point isn't the particular script, that was just an quick example I cooked up to demonstrate the original poster's problem. A function defined in the current shell is not available to a script executed from that shell (perhaps it would with sh test.sh, I didn't test that). IOW I decided to see what his problem was rather than just shooting in the dark. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
Re: Using aliases or functions in bash script
T o n g([EMAIL PROTECTED]) is reported to have said: Hi, A (adv) bash alias expansion question -- How can I use my aliases or functions in my bash script? I have the following alias and function defined in my ~/.bashrc: $ alias rd alias rd='rmdir' $ type dt dt is a function dt () { pushd +$1 } How can I use them in my script? Sorry, I thought you and already worked theis out. Here is an example I threw together. YMMV ** --- #!/bin/sh # Test calling a function in .bashrc # The function # make (create) an gzip archive # tarc() { tar czvf $1.tar.gz $1; } # let this script know what the functions/aliases are source .bashrc #test tarc function echo Name of file to gzip: read file tarc $file # Test of an alias in .bashrc # # the alias # alias show=apt-cache show $1 # Test show alias echo Search Debian for filename: read name show $name ** --- HTH Wayne -- You know you've been spending too much time on the computer when your friend misdates a check, and you suggest adding a ++ to fix it. ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Exim question
On Fri, Jan 25, 2008 at 07:48:22PM +0100, Dan H. wrote: Hello, When the fetchmail demon starts running, it often gets large amounts of mail in one bunch an tries to shove it into exim for local delivery. However, exim doesn't like that and logs: 2008-01-25 19:30:43 1JITK7-ps-J9 no immediate delivery: more than 10 messages received in one connection I then can kick loose the mail flood using exim -q as root. But how can I convince exim to automatically do the delivery? Actually, you want to throttle fetchmail. In your fetchmailrc, for each poll line add batchlimit 10 in the options. I experienced the same problem and that fix has solved it and has been working for years now. Thanks, --D. --Greg -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Exim question
Hello, When the fetchmail demon starts running, it often gets large amounts of mail in one bunch an tries to shove it into exim for local delivery. However, exim doesn't like that and logs: 2008-01-25 19:30:43 1JITK7-ps-J9 no immediate delivery: more than 10 messages received in one connection I then can kick loose the mail flood using exim -q as root. But how can I convince exim to automatically do the delivery? Thanks, --D. signature.asc Description: Digital signature
wine broken after Etch reinstall
I recently reinstalled Etch and found afterwards that 'wine' failed when trying to run ChessBaseLight (it was working before reinstall). In the course of trying to solve the problem, i removed 'wine' and tried to install the winehq.org version, which is a newer version than from debian repository. so far i have not been able to reinstall 'wine'. the gory details: sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/etch.list -O /etc/apt/sources.list.d/winehq.list [EMAIL PROTECTED]:/sD/kloro/zips$ sudo apt-get update Ign cdrom://[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 NETINST Binary-1 20080103-00:44] etch Release.gpg Ign cdrom://[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 NETINST Binary-1 20080103-00:44] etch Release Ign cdrom://[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 NETINST Binary-1 20080103-00:44] etch/contrib Packages/DiffIndex Ign cdrom://[Debian GNU/Linux 4.0 r2 _Etch_ - Official i386 NETINST Binary-1 20080103-00:44] etch/main Packages/DiffIndex Get:1 http://ftp.debian.org etch Release.gpg [378B] Get:2 http://security.debian.org etch/updates Release.gpg [189B] Hit http://ftp.debian.org etch Release Hit http://security.debian.org etch/updates Release . . . . Hit http://ftp.gva.es etch/main Packages Hit http://ftp.gva.es etch/non-free Packages Hit http://ftp.gva.es etch/contrib Packages Fetched 1202B in 3s (371B/s) Reading package lists... Done W: GPG error: http://wine.budgetdedicated.com etch Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 58403026387EE263 W: You may want to run apt-get update to correct these problems [EMAIL PROTECTED]:/sD/kloro/zips$ [EMAIL PROTECTED]:/sD/kloro/zips$ sudo apt-get install wine Reading package lists... Done Building dependency tree... Done The following NEW packages will be installed: wine 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 0B/10.0MB of archives. After unpacking 51.1MB of additional disk space will be used. WARNING: The following packages cannot be authenticated! wine Install these packages without verification [y/N]? y (Reading database ... 106863 files and directories currently installed.) Unpacking wine (from .../wine_0.9.53~winehq0~debian~4.0-1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/wine_0.9.53~winehq0~debian~4.0-1_i386.deb (--unpack): trying to overwrite `/usr/lib/wine/msacm32.drv.so', which is also in package libwine dpkg-deb: subprocess paste killed by signal (Broken pipe) Errors were encountered while processing: /var/cache/apt/archives/wine_0.9.53~winehq0~debian~4.0-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:/sD/kloro/zips$ thanks very much in advance, tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: ffmpeg and mpeg2video codec
Le Saturday 26 January 2008 18:47:07 Daniel Dickinson, vous avez écrit : Anyone know what happened to the mpeg2video video codec in the lenny version of ffmpeg? It seems to have been removed. Is it a patent issue, and if so will it eventually also effect players such as vlc, mplayer and xine? Unfortunately, it has been removed for patent risks, I've seen it in the changelog. This forbid me to use the capacity of my ISP's ADSL box to view videos on my TV (freeplayer, using vlc). I thought that debian-multimedia.org would have provide an alternative, but not for the moment. signature.asc Description: This is a digitally signed message part.
Re: Exim question
Dan H.([EMAIL PROTECTED]) is reported to have said: Hello, When the fetchmail demon starts running, it often gets large amounts of mail in one bunch an tries to shove it into exim for local delivery. However, exim doesn't like that and logs: 2008-01-25 19:30:43 1JITK7-ps-J9 no immediate delivery: more than 10 messages received in one connection I then can kick loose the mail flood using exim -q as root. But how can I convince exim to automatically do the delivery? Put this at the beginning of /etc/exim4/exim4.conf.template smtp_accept_queue_per_connection = 150 The default is 10, as your logs show. WT -- Real Users find the one combination of bizarre input values that shuts down the system for days. ___ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: How to detect a keypress, and in which language?
On Sat, Jan 26, 2008 at 12:32:00PM -0600, Hugo Vanwoerkom wrote: Douglas A. Tutty wrote: On Sat, Jan 26, 2008 at 11:22:05AM -0600, Kent West wrote: Mmm; I wonder if it could be done with the mouse buttons instead of the keyboard, or if the same problem exists there what does xev use? it detects keypress and release A signature.asc Description: Digital signature
Re: [OT] Using aliases or functions in bash script
On Sat, Jan 26, 2008 at 04:48:18PM +, T o n g wrote: On Wed, 23 Jan 2008 20:47:15 -0900, Ken Irving wrote: I'm wondering if you have read my OP or not. Read it again pls. source ~/.bashrc Guess that I am having bad lucks now, having two people replied without even reading my question, and the two replies are the only replies that I get... how does this not answer your question? Ken suggests that you need to source .bashrc. That makes sense to me. The aliases defined in .bashrc are not in scope unless you source .bashrc. You probably still need to mess around with the shoptions to expand the aliases, but you certainly can't expand them if they aren't even in scope. .02 A signature.asc Description: Digital signature
Re: Exim question
On Sat, Jan 26, 2008 at 02:58:11PM -0500, Gregory Seidman wrote: On Fri, Jan 25, 2008 at 07:48:22PM +0100, Dan H. wrote: Hello, When the fetchmail demon starts running, it often gets large amounts of mail in one bunch an tries to shove it into exim for local delivery. However, exim doesn't like that and logs: 2008-01-25 19:30:43 1JITK7-ps-J9 no immediate delivery: more than 10 messages received in one connection I then can kick loose the mail flood using exim -q as root. But how can I convince exim to automatically do the delivery? Actually, you want to throttle fetchmail. In your fetchmailrc, for each poll line add batchlimit 10 in the options. I experienced the same problem and that fix has solved it and has been working for years now. much nicer solution than allowing exim to be flooded like that. I suspect leaving exim open to 150 mails per connection would be a spammer's dream... (ignoring the fact that your exim is secured properly ;) A signature.asc Description: Digital signature
Re: Installation of hard drive - SOLVED
Andres Migliazzo wrote: man chmod, man chown. Wll be also good for you if you learn how to use the number notation for chmod command. Please add the mark [SOLVED]: to the subject when you finish. Cheers! On Jan 26, 2008 2:20 PM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Andres Migliazzo wrote: But after change a error message permission denied appear in Konqueror window. Well... check the permissions and ownership of the /mnt/hdc1 folder. Then try to mount the partition using the command line: $ mount -t ext3 /dev/hdc1 /mnt/hdc1 -o rw Do it as your user, and then try with root user. Did you try to mount it on a different directory...like floppy? $ mount -t ext3 -o rw /dev/hdc1 /media/floppy Just to check if is a permissions issue. If does not works... show us the output of the command: #sfdisk -ls /dev/hdc Bye On Jan 26, 2008 10:59 AM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Pantor wrote: Andres Migliazzo wrote: Hi, Please, login as root and run the comand mount, then show us the standar output AND the /etc/fstab file. Tell us which is the file systems that you have used on new disk partitions (VFAT, EXT2/3, NTFS, UFS, REISERFS, etc). Regards On Jan 25, 2008 4:13 PM, Pantor [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: KS wrote: Pantor wrote: KS wrote: Pantor wrote: Lads, would you be able to advice please, how to install a second hard drive which have preinstalled Windows. PC booting Windows after hard drive has been plugged in. Windows should be cleared, but how thee partition works? Thank you, Andrius I would just connect the hard disk and boot. My new/old hard disks have been detected without a hitch when booting. Then comes the use of a partitioning tool like cfdisk, fdisk, etc. and after that you can use mkfs to create the file system. If you like using the GUI more, install gparted or qtparted and use that to partition and format the hard disk. HTH If to boot then windows will boot. Gparted shows: 89-125-103-244:/home/andrius# gparted == libparted : 1.7.1 automounting disabled == Unable to open /dev/hda read-write (Read-only file system). /dev/hda has been opened read-only. Unable to open /dev/hda - unrecognised disk label. Andrius Where do you have Debian installed? /dev/hdb? Where did you install Grub? You need to give more details about your setup. Debian installed on sda, New disk hdc installed and partitioned, but still not visible in media:/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] It seems tha a mistake was made in last line. # /etc/fstab: static file system information. # # file system mount point type options dump pass proc/proc procdefaults0
Re: [OT] Using aliases or functions in bash script
On Sat, 26 Jan 2008 13:32:57 -0800, Andrew Sackville-West wrote: I'm wondering if you have read my OP or not. Read it again pls. source ~/.bashrc Guess that I am having bad lucks now, having two people replied without even reading my question, and the two replies are the only replies that I get... how does this not answer your question? Ken suggests that you need to source .bashrc. That makes sense to me. . . Sigh Read it again pls, my OP, the last line. 3rd now. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using aliases or functions in bash script
On Sat, 26 Jan 2008 12:44:42 -0500, Daniel Dickinson wrote: ./test.sh Line 2 errors out. I imagine the same thing happens with his attempt to use his bashrc-defined functions in a script without defining them again in the script. IIUC he wants to know how to use already defined functions/aliases in a shell script. Thanks a thousand Daniel!!! Finally! there is someone who really read my post and try to understand it before jumping to conclusions. A possible way around would be to define the functions in .bashrc and then source .bashrc, but I am curious myself as to how one would achieve the other (using existing functions rather then defining them again in a new script). Sorry if I was not clear in my OP, to all those people who were trying to understand what I was saying. I have the following alias and function *already* defined in my ~/.bashrc: $ bash $ alias rd alias rd='rmdir' $ type dt dt is a function dt () { pushd +$1 } $ exit exit I.e., there are there in the interactive shell. Now I want to use them in my script: $ bash -O expand_aliases -c '. ~/.bashrc; (rd /tmp/ttt; alias rd; dt 3; type dt)' bash: line 0: alias: rd: not found bash: dt: command not found bash: line 0: type: dt: not found I.e., even sourcing .bashrc won't work. -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Using aliases or functions in bash script
On Sat, 26 Jan 2008 17:12:56 +, Tzafrir Cohen wrote: I'm wondering if you have read my OP or not. Read it again pls. Yes I have. Use functions. Don't use aliases. Despite its limitations, why one can't use aliases in scripts? This sounds like Don't use #define in C to me (again, despite alias' limitations please) -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
print a sample of all fonts?
is there a way to have gimp or whatever print a sample of each font on the system without manually writing them all out? tia. lish a sensuous kiss [EMAIL PROTECTED]placed on apocalypse. -at -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Using aliases or functions in bash script
On Sat, 26 Jan 2008 21:40:12 + (UTC) T o n g [EMAIL PROTECTED] wrote: On Sat, 26 Jan 2008 13:32:57 -0800, Andrew Sackville-West wrote: I'm wondering if you have read my OP or not. Read it again pls. source ~/.bashrc Guess that I am having bad lucks now, having two people replied without even reading my question, and the two replies are the only replies that I get... how does this not answer your question? Ken suggests that you need to source .bashrc. That makes sense to me. . . Sigh Read it again pls, my OP, the last line. 3rd now. Ok, here's a question (as I missed the very first message): what are you trying to accomplish? If you just want to use functions that are in .bashrc in some other script then you can define the function in .bashrc and then source ~/.bashrc so, .bashrc has: ... function dt () { pushd +$1 } ... and other-script.sh has #!/bin/bash source ~/.bashrc pwd $(dt $(pwd)) cd /tmp popd pwd That will execute function dt (which is a pushd) with the current working directory, the function dt being the one which was defined in .bashrc Now, for the alias you could define a function that does whatever it is want the alias to do, then create an alias that executes the function. Then in other-script.sh you either recreate the alias (if for some reason you really have to have an alias), or you can execute the function as with dt. If there is more to it than that you need to try doing your OP over again, only stating your problem more clearly. Regards, Daniel -- And that's my crabbing done for the day. Got it out of the way early, now I have the rest of the afternoon to sniff fragrant tea-roses or strangle cute bunnies or something. -- Michael Devore GnuPG Key Fingerprint 86 F5 81 A5 D4 2E 1F 1C http://gnupg.org No more sea shells: Daniel's Webloghttp://cshore.wordpress.com signature.asc Description: PGP signature
How to insure a US/Canada ip for programs ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Good day,... While you can easily set your favorite application to work with a proxy (Browser chat specific game etc) or even route by port (iptables). But what to do when you need to transfer information ? for example the game ( warrock) or any other new program ? Maybe some Tor + tun solution ? since i don't have any end point server i guess ssh isn't a solutione . any ideas are welcome . the problem arised since this game denies user from outside the US or Canada. - -- - -- Could you at least use man ? Jabka Atu (aka mha13/Mashrom Head) || bsh83.blogspot.com - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIVAwUBR5u3x29p6JnF9I1qAQIkMRAAgt58xUscTwHxpnLKep2btmief/ZN/uxI vDRBxOwUkBiB8WkzAorYCiuJ6tDIxBwTZVasg6TxFA2Std6JN7/rW69+Bj1tPM8x wBY70EewkgGMPge/tbRzw646wB7s8C3vyZpTiXrCgb1JXiRYZFmhfoqo0T994nMs iBNPBkMwCAJ2yGk4J3vRR30hGUxKfKYXkJgtfL+AnIhoPrvWmzFpZXE3V1OPJGDN 9U1yX0+CKu7hs6GDVOzXPXqUw/yGQFT3kp4O8McnX7BR4GkkJ/memTEJK7rGyMBk MaGMSe33Y0ATS3H4Ecy0PhrVYptKprowjYqyZdRZf4XO6Ndj9HrMtAwVjvuNYk5J /J4r07RoEGfqgRImxqczM+EChtmL3fxnxy9Qh22JlOB1OtGVB69ek7Hz4PK2ePvD kIwXHAmXCmhEHLukhuHfH3jD56L+3bKTYBfs/W5EZMDNtMJjXbG+wXeA3caoWbyj YRUHORgbBO3QXfzgoeF1uboMPvYv4ATFsw9YtMdVW4EzEd5p91zine3zomDsi1aA aoHMab7RcuX/9YHKT74aP7XoC94nKY3KUCgcPMhkKQNE6R2FIbJ6JuFLJo+OADUW 6VlPsFajNu8yy6QZDiG4FM1qr+DhZuECwncowaIZjq/YaWC1ngJjTQhecGwxEYuq Pq1dRS4TCos= =Lg9Y -END PGP SIGNATURE- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Using aliases or functions in bash script
Sigh... sorry I wasted your time. You know those of us who voluntarily help out here are just that, volunteers. We do it because we like to help and because we enjoy problem solving. But, speaking for myself, I really only like to help those who help us help them. All you have done is post a question and then respond to all the answers with the equivalent of you are stupid and didn't read my post and are no help. Did it ever occcur to you that maybe you could give people the benefit of the doubt, assume that people made a reasonable effort and honestly missed something? Allow me to demonstrate more appropriate responses below: On Sat, Jan 26, 2008 at 09:40:12PM +, T o n g wrote: On Sat, 26 Jan 2008 13:32:57 -0800, Andrew Sackville-West wrote: I'm wondering if you have read my OP or not. Read it again pls. Ken said: source ~/.bashrc Guess that I am having bad lucks now, having two people replied without even reading my question, and the two replies are the only replies that I get... Instead of complaining pointlessly, maybe you could have said something like: Well, in my OP, I tried sourcing ~/.bashrc like this: bash -O expand . ~/.bashrc; (foo bar baz); and it didn't work. That would have made it perfectly clear where Ken had gone wrong. It would have allowed me to see that you had in fact tried that option from a couple of emails back and that it failed. Then I wouldn't have seen you just spouting off about how unhelpful everyone was being but actually proactively trying to solve your problem. In a situation where someone missed the implication of the very last line of your post, Ken's suggestion was very reasonable. how does this not answer your question? Ken suggests that you need to source .bashrc. That makes sense to me. . . Sigh Read it again pls, my OP, the last line. No. I don't want to go back into my archive of 20,000 d-u posts and find your OP and read it in close detail now that we are several levels into this thread. Do you see? You are asking for help but asking the helpers to jump through hoops because you are unwilling to repeat yourself. That's just pointless arrogance, I guess. 3rd now. whatever. A signature.asc Description: Digital signature