Re: LAME for Lenny
On Thu, Dec 24, 2009 at 2:19 PM, Bernard bdebr...@teaser.fr wrote: Hi to Everyone, On my older Sarge system, I used 'lame' to encode wav files to mp3. However I can't find 'lame' for Lenny. Could someone tell me where to find the appropriate package ? You got some answers about debian-multimedia. You can also compile and install it. See: http://wiki.freaks-unidos.net/mp3-encode -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
OT: Operation not permitted with UDP port SNAT
Hello. I have an issue with udp SNAT. If I try to change the source port of all UDP packets that go to a given port I get the sendto: Operation not permitted message. For the tests I used the talker.c program. http://beej.us/guide/bgnet/output/html/multipage/clientserver.html#datagram Thus if I do: iptables -F -t nat ; iptables -t nat -A POSTROUTING --protocol udp --dport 6060 -j SNAT --to-source 192.168.1.107:1 Then I can send one message only. $ ./a.out 192.168.1.1 hola talker: sent 4 bytes to 192.168.1.1 And if I try to send more messages I get the error message. $ ./a.out 192.168.1.1 hola talker: sendto: Operation not permitted If I use a port range I get a predictable issue that (i guess) has to do with something I don't know about IP/UDP or DNAT. I searched the web but I didn't manage to find an answer. #SNAT to a set of 11 ports # I can only send 11 packets. iptables -F -t nat ; iptables -t nat -A POSTROUTING --protocol udp --dport 6060 -j SNAT --to-source 192.168.1.107:1-10010 $ ./a.out 192.168.1.1 hola talker: sent 4 bytes to 192.168.1.1 (works 11 times) $ ./a.out 192.168.1.1 hola talker: sendto: Operation not permitted This is what I get in tcpdump for the former test: 00:13:09.921129 IP 192.168.1.107.10003 192.168.1.1.6060: UDP, length 4 00:13:10.281108 IP 192.168.1.107.10004 192.168.1.1.6060: UDP, length 4 00:13:10.577223 IP 192.168.1.107.10005 192.168.1.1.6060: UDP, length 4 00:13:10.856942 IP 192.168.1.107.10006 192.168.1.1.6060: UDP, length 4 00:13:11.145302 IP 192.168.1.107.10007 192.168.1.1.6060: UDP, length 4 00:13:11.473134 IP 192.168.1.107.10008 192.168.1.1.6060: UDP, length 4 00:13:11.809213 IP 192.168.1.107.10009 192.168.1.1.6060: UDP, length 4 00:13:12.097163 IP 192.168.1.107.10010 192.168.1.1.6060: UDP, length 4 00:13:12.409165 IP 192.168.1.107.1 192.168.1.1.6060: UDP, length 4 00:13:12.705333 IP 192.168.1.107.10001 192.168.1.1.6060: UDP, length 4 00:13:13.065146 IP 192.168.1.107.10002 192.168.1.1.6060: UDP, length 4 What I am missing? For this test I used Debian Lenny with Linux 2.6.26-2-amd64 kernel. These are the relevant modules: iptable_filter 7424 1 xt_tcpudp 7680 1 iptable_nat 9872 1 nf_nat 23192 1 iptable_nat nf_conntrack_ipv4 19352 3 iptable_nat,nf_nat nf_conntrack 71440 3 iptable_nat,nf_nat,nf_conntrack_ipv4 ip_tables 21520 2 iptable_filter,iptable_nat x_tables 25224 3 xt_tcpudp,iptable_nat,ip_tables Cheers, Nelson.- PS: I need to to this because I have to interact with a device and the device makers asked all the UDP messages to go to the same port. I know it can be solved if I connect the socket in userspace and I send and receive packets on the same port but I cannot change the actual program that is generating the packets. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: dev/null only root access - why?
On Tue, Sep 22, 2009 at 2:23 PM, Emanoil Kotsev delop...@yahoo.com wrote: Why does dev/null has rw permissions only for root? ls -al /dev/null -rw-r--r-- 1 root root 0 22 сеп 21,09 /dev/null Mmm. Weird major and minor numbers. It doesn't look like a char device. crw-rw-rw- 1 root root 1, 3 2009-09-21 14:24 /dev/null N.- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: binary grep
On Sat, Sep 19, 2009 at 12:40 PM, Rob Gom rgom.deb...@gmail.com wrote: Hello, thanks for your suggestions. I'm afraid grep was designed as text-oriented tool. I'm not sure how it will handle CR and/or LF characters when matching pattern. IIRC grep has no multiline patterns, so it could basically fail. I guess it would suit 95% of my needs, I'm just trying to anticipate potential caveats. What about matching bytes values? Will grep accept syntax like \x55\x3a\xff\x10? I found this using Google: http://debugmo.de/?p=100 I wonder if it helps. Coding a simple binary grep with basic regex support could be a nice programming exercise :-) Nelson.- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: what does kept back mean when do apt-get upgrade?
On Mon, Apr 13, 2009 at 6:13 PM, 明覺 shi.min...@gmail.com wrote: I often see that some packages are kept back when I do apt-get upgrade, what does it mean? what actions are done to those kept back packages? thanks The package is not upgraded. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: which package in etch can convert high-quality mp3 to low quality mp3?
On Sun, Apr 12, 2009 at 8:05 AM, Long Wind longwind2...@gmail.com wrote: I have a cell phone it can't play some mp3 maybe it supports only 128K So I want to convert hight quality mp3 to 128K Which package in etch? mplayer maybe, but can you tell me all the command options? Thanks! You can also convert them to WAV an then back to MP3. I would use LAME. This document might be overkill for what you need but the information you need is there (you need to find the correct LAME options). http://wiki.freaks-unidos.net/mp3-encode I wonder if your player supports variable bit rate... If not I guess the options -b 128 --cbr must be present. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: how to solve the problem Could not bind sock on port 21: Address already in use?
On Thu, Mar 5, 2009 at 3:12 PM, Star Liu minxinjian...@gmail.com wrote: i found that there is already a application listening on port 21, but i donot know what's the application, and it prevents my ftp server starting, so i want to find out the app and stop it, how to do it? thanks. Try with netstat -p ? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: how to solve the problem Could not bind sock on port 21: Address already in use?
On Thu, Mar 5, 2009 at 3:22 PM, Star Liu minxinjian...@gmail.com wrote: On Thu, Mar 5, 2009 at 3:12 PM, Star Liu minxinjian...@gmail.com wrote: i found that there is already a application listening on port 21, but i donot know what's the application, and it prevents my ftp server starting, so i want to find out the app and stop it, how to do it? thanks. i have found it by lsof -i:21, it's inetd, what's this process do? is it safe to stop it and remove it? how to stop and remove it? thanks I guess you can edit /etc/inetd.conf and then restart inetd. On my Lenny installation the initialization script is /etc/init.d/openbsd-inetd . -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: how to solve the problem Could not bind sock on port 21: Address already in use?
I guess you can edit /etc/inetd.conf and then restart inetd. On my Lenny installation the initialization script is /etc/init.d/openbsd-inetd . i changed the port my ftp server use, then it starts. it's good, i'm not so stupid. Sure. Nobody said you were. Have a nice day/night. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: [OT I think] Which Distro?
On Thu, Feb 26, 2009 at 12:56 AM, Dean Chester dean.g.ches...@googlemail.com wrote: Hi I have been recently looking at other distros to use other than Debian. And i have also been given a new laptop for use in school which i am soon going to be running Linux on. However i don't know what to go for. The 3 options to choose from are Debian(of course), Ubuntu or Fedora. The Laptop is Novatech Branded Clevo M72R(i think). The Reason i ask this is that ubuntu and fedora feel like what OS should feel like to me and feel more 'connected' and not a bit of a missmash which is what debian feels like to me, I moved from OS X August 08. Also they are updated more frequently. Thanks in Advance Don't think too much about it. If it's not Debian, grab Ubuntu :-) At least you will be still in the same family somehow. Fedora can hurt your brain. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Skype
On Tue, Feb 24, 2009 at 7:28 PM, Lisi Reisz lisi.re...@gmail.com wrote: Has anyone used this software on Lenny? Etch? Sid? Lenny and Sid here. There is also a debian package for amd64 I found somewhere (posted to this Debian list I think). http://www.skype.com/download/skype/linux/ If you have, may I have some comments? Good, bad or indifferent. Good. Mic didn't work for me but it wasn't Skype's fault. I have to take the time to make things work on my sound card (Intel). It seems I just need to rebuild ALSA but I don't feel like doing it now. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
ckermit startup time too long
Hello. When I start the kermit program (ckermit package in Debian) it takes about 5 seconds to come up. Strace shows that it does a lot of lookups I might not need. Is there a known way to speed things up? I do not remember having noticed this when I used ckermit a few years ago. Thanks, Nelson.- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: ckermit startup time too long
On Mon, Feb 23, 2009 at 5:08 PM, Nelson Castillo nelson...@gmail.com wrote: Hello. When I start the kermit program (ckermit package in Debian) it takes about 5 seconds to come up. Strace shows that it does a lot of lookups I might not need. Is there a known way to speed things up? I do not remember having noticed this when I used ckermit a few years ago. I forgot to mention it : I'm using Debian Lenny amd64 / updated and upgraded today. It's a black laptop in case it matters :-P -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: [OT] C++ templates and debugging (limitations) in Linux
On Thu, Jan 29, 2009 at 1:47 PM, H.S. hs.sa...@gmail.com wrote: Hello, This is related to templates in C++ and debugging tools we have in Linux (I use gdb, is there any other comparable open source tool?). What do C++ programmers here think about the usefulness of using templates in C++ while keeping in mind how it would work with debugging that program using gdb. I recall that a few years ago (a few version of gdb and gcc ago) I was having trouble debugging an algorithm I implemented in C++ using templates. I do not recall the exact problems but after a few online searches it appeared that the easiest way was to not to use templates (one problem was that I has having difficulty to examine template variables). IIRC, gdb was not very friendly while debugging C++ code with templates. This is for the STL but I think it is useful for other templates. When I had that issue that is the best I could do for examining template variables and I think it just works. http://wiki.freaks-unidos.net/weblogs/arhuaco/debugging-stl-code-with-gdb I am also interested in your experiences (I use more C than C++ now but I guess I might use C++ once in a while). N.- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Parallel GZIP
Anyone has better results ? Yes, see following: jac...@work:~/temp$ time tar -cjf temp1.tar.bz2 debian real0m18.830s user0m18.317s sys 0m0.268s jac...@work:~/temp$ time bash -c tar -cf - debian | pbzip2 -c temp2.tar.bz2 real0m10.494s user0m19.557s sys 0m0.488s 10 is much less than 18. n...@fugue:~/moko/devel$ time bzip2 linux-2.6.backup.diciembre.20.tar real1m28.765s user1m27.397s sys 0m1.180s n...@fugue:~/moko/devel$ time bzip2 -d linux-2.6.backup.diciembre.20.tar.bz2 real0m46.583s user0m45.019s sys 0m1.236s n...@fugue:~/moko/devel$ time pbzip2 -p2 linux-2.6.backup.diciembre.20.tar real0m53.963s user1m44.963s sys 0m1.944s Same here. Disk I/O was cached so this was only CPU pbzip2 can save about 40% wall clock time in this test (which has some data that is already compressed, it is a git repository). N.- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Parallel GZIP
No, don't. I'm just wondering why. Actually I did a test in the same order (bzip2 and the pbzip2) on a tar of my picture directory and on a video. I just don't understand why my 2 runs aren't much quicker with pbzip2. Your test data is already compressed :-) You will not be able to compress it much more. N.- -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Toshiba A305 S6859 / how do I control display brightness?
Hello. I have a Toshiba laptop [1] and I cannot stand the maximum brightness. My eyes hurt... How can I control this? I've searched the web and so far I haven't found a solution. The module toshiba_acpi seems to be obsolete and it doesn't work. What could I try? Regards. [1] http://explore.toshiba.com/printSkuSpecs/A305-S6859 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Toshiba A305 S6859 / how do I control display brightness?
On Sat, Dec 20, 2008 at 6:01 PM, Boyd Stephen Smith Jr. b...@iguanasuicide.net wrote: On Saturday 2008 December 20 15:40:01 Nelson Castillo wrote: I have a Toshiba laptop [1] and I cannot stand the maximum brightness. My eyes hurt... What could I try? Look at: /sys/devices/virtual/backlight/acpi_video*/max_brightness Oh thanks! I should have used find /sys -iname *bright* before, echo 0 /sys/class/backlight/acpi_video0/brightness is working for me. Thanks. This was making the system unusable for me. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: TTY programming
On Tue, Dec 2, 2008 at 4:34 AM, David Baron [EMAIL PROTECTED] wrote: I have seen loads of postings but no real answer to this: I write() a command to the modem I read() to try to get a response, i.e. OK or if the command is a dial, BUSY or such. I do not get anything. The commands, dialing, all seem successful and the application works. I simply cannot report any status. Any ideas? This code should work: http://wiki.emqbit.com/how-to-query-a-modem Regards. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: .bash_history duplicates
On Wed, Nov 26, 2008 at 5:28 PM, Robert Holtzman [EMAIL PROTECTED] wrote: I've been going thru a number of bash related web sites looking for the way to eliminate duplicates in ~/.bash_history. So far I've turned up export HISTCONTROL=ignoredups export HISTCONTROL=erasedups awk '!x[$0]++' .bash_history .bash.tmp mv -f .bash.tmp .bash_history export HISTCONTROL=ignoreboth Tried them all in ~/.bashrc one at a time and rerunning .bashrc each time. So far no joy. Any pointers and/or sources appreciated. Only export HISTCONTROL=erasedups Is working for me. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: how to get the mac address(network card physical address) of a remote computer by its IP address?
On Wed, Nov 19, 2008 at 8:06 AM, 中和刘 [EMAIL PROTECTED] wrote: when a user visit my website, it's easy to get the ip address of the user, but i think IP address is not as stable as mac address, so I hope I can get the mac address of the user according to its IP address, is it possible? thanks No. It is not possible unless you're on the same physical network.
Re: SVN Behind Proxy
On Tue, Aug 12, 2008 at 1:12 AM, Zaki Akhmad [EMAIL PROTECTED] wrote: Hi All, I am trying to get some source code with SVN. My access to Internet is behind proxy. How do I set the SVN (I use subversion package) so that I can access the source code? Hi. Please check the file ~/.subversion/servers. It has some nice comments. You can define a proxy for all projects or for specific ones. Regards, Nelson.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: apt-get joke
On Sat, May 24, 2008 at 11:18 PM, Owen Townend [EMAIL PROTECTED] wrote: On 25/05/2008, Sjoerd Hiemstra [EMAIL PROTECTED] wrote: On Sun, 25 May 2008 03:11:05 +1000 Owen Townen wrote: On 24/05/2008, Chris Bannister [EMAIL PROTECTED] wrote: http://www.lessaid.net/fun/apt-get-wife.png heh, I still like `apt-get moo` The inventor of 'aptitude moo' has sense of humour as well I guess most of you know this, but you can get something fun from aptitude as well (besides all the software you can install). $ aptitude moo There are no Easter Eggs in this program. $ aptitude -v moo There really are no Easter Eggs in this program. Keep trying: -vvv, - ... N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: openssl vulnerability and RSA keys
On Tue, May 13, 2008 at 7:05 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On May 13, 2:20 pm, Ross Boylan [EMAIL PROTECTED] wrote: Does this mean that RSA keys for openssh should not be considered compromised? If so, why the need to regenerate them? On our systems the dowkd.pl script found weak DSA and RSA keys, both as host keys, and as user-generated keypairs. We've regenerated the RSA keys as well. ~$ ./dowkd.pl user nelson /home/nelson/.ssh/authorized_keys:1: weak key /home/nelson/.ssh/id_rsa.pub:1: warning: no suitable blacklist Fortunately I've had sshd turned off for some time. Ops... N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
OT: Good binary diff?
Hi. I'd like to know what binary diff program you've been using in a production environment. I've been searching the WEB and I've found a few popular alternatives: * http://jojodiff.sourceforge.net/ * http://www.daemonology.net/bsdiff/ * xdelta3 (In Debian) The second one seems to need a lot of memory. About 850 MB for 50MB files (old and new). I think I might have to run some experiments, since the files I will make tests with don't change much. Regards, Nelson.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: /dev/null /dev/sdb1 !
On Tue, Apr 22, 2008 at 8:43 AM, Eduardo M KALINOWSKI [EMAIL PROTECTED] wrote: On Tue, Apr 22, 2008 at 10:35 AM, paragasu [EMAIL PROTECTED] wrote: well, i just did an experiments on my old pentum III computer. one of the slave hardisk listed as /dev/sdb1 (EXT2) and /dev/sdb2(SWAP) i run the command /dev/null /dev/sdb1 and suddently, i cannot cannot read or mount my /dev/sdb1 anymore even after i restart my computer few times. i have message saying media failure or disk I/O error. What exactly did you run? /dev/null is not executable, so you cannot run it and redirect the output somewhere else. The problem is that the file is opened before the commands are executed. Try: thiscommanddoesnotexist /tmp/test ls -lha /tmp/test Perhaps an EOF was written? N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: fixing .txt files sent from a MS$ user
Other than writing a python script, can someone give me a simple command to fix this so that it is not so distracting? Ideally, I'd put it into an executable file and pipe the file through it on it's way to lpr. e.g. $ cool-writing.txt | antiAJ | lpr -Pepson I use recode. cp cool-writing.txt tmp.txt recode dos..latin1 tmp.txt Check if it works. Recode is in the official Debian repository. N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Adding a ttyS
On Mon, Mar 24, 2008 at 6:36 AM, Jean Létourneau [EMAIL PROTECTED] wrote: Goo day, How do I add a /dev/rrtS? I have 6 physical com port on my machine, but Debian only see 4 of them. I use the command MAKEDEV but they do not appear in the /dev, only in the /dev/.static/dev, I tryed to copy them from /dev.static/dev to the /dev, but still, my setserial keep saying my ttySx do not exist. Hi. Let's try this: gaira:/dev# ls -lha ttyS* crw-rw 1 root dialout 4, 64 2008-03-24 04:15 ttyS0 crw-rw 1 root dialout 4, 65 2008-03-24 04:15 ttyS1 crw-rw 1 root dialout 4, 66 2008-03-24 04:15 ttyS2 crw-rw 1 root dialout 4, 67 2008-03-24 04:15 ttyS3 gaira:/dev# mknod /dev/ttyS4 c 4 68 Try to open /dev/ttyS4 to check if the device is there. If not, perhaps you have a driver issue. You might want to check that the devices show up in the boot messages. # dmesg | grep serial serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A Regards, N.- -- http://arhuaco.org
Re: Keyboard usage analyzer
On Wed, Mar 5, 2008 at 10:34 AM, Raj Kiran Grandhi [EMAIL PROTECTED] wrote: Is there any utility that can report keyboard usage patterns? There is no need for an elaborate keylogging mechanism. I would just like to know the number of keypresses I am generating everyday and perhaps the number of times each key is pressed. Hi Kiran. I wrote a small kernel patch that worked with my keyboards. I think it can be ported to a recent kernel. I can do it if you're interested. http://svn.arhuaco.org/svn/src/pcgotchi/trunk/proc-keystrokes.patch.linux-2.6.12.2.txt I wrote about this more than 2 years ago. http://arhuaco.blogspot.com/2005/10/cat-prockeystrokes-keyboard-fun.html How shall we do this without going to kernel space? * I think I can do something similar using /dev/input/. * Also with X? Please give me some advise now that the issue came up. I couldn't care less about a keylogger but I care about the statistics. I asked in LKML with no answer. Regards, Nelson.- BTW: 1) http://pcgotchi.blogspot.com/ I made my old machine post in a weblog. (Well, I didn't automate it but it is easy). If I don't have to go to kernel space, I might do it again. I don't want to build kernels all the time I have to upgrade them. 2) It is not hard to make a programmable keyboard. The simple patch I wrote can be a starting point. -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: HTTP through SSH?
On Wed, Feb 27, 2008 at 12:57 PM, Masatran, R. Deepak [EMAIL PROTECTED] wrote: My Debian computer has a intranet IP address and cannot access the internet directly. I currently use a proxy server. I have a non-super-user account on a Fedora web server that has an intranet IP address, and an internet IP address. How can I use the web server account to bypass the proxy server? I looked at some webpages on tunneling, but could not adapt them to solve my problem. Kindly help. Hi. I think this link could be useful for you: http://wiki.freaks-unidos.net/weblogs/azul/firefox-ssh-tunnel I haven't tried that. N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: How can to set debian to write as less as possible (to use it on Flash drive)
but who can i disable writes without damaging my system i guess linked tmp with ramdisk is a start but i need more ideas . Thank you in advance. why not look at one of the distro's that are built for flash drive (openwrt ?) Mmm. I guess openwrt is not enough for a laptop. I guess it is OK to use a ramdisk for /tmp, and for the log files (you might want to configure syslog to log less). Regards, Nelson.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Suppressing kernel 'printk's.
On Feb 4, 2008 6:57 PM, Peter F Bradshaw [EMAIL PROTECTED] wrote: Hi; I have a Debian kernel in which some printks have been left. These make a mess of the console and logs. Is there any way, other than recompiling the kernel, of suppressing the printk output? I think there is a quiet option that you can pass in the kernel command line. Regards, N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: rsync 10 times slower in Etch than in Sarge!
On Jan 22, 2008 7:33 PM, Chris Bannister [EMAIL PROTECTED] wrote: On Sat, Jan 19, 2008 at 03:23:57PM -0800, Daniel Burrows wrote: My theory about flushing even makes a testable prediction: if you run umount(8) first and have no other removable media, then sync(1) should complete almost immediately. I don't think I've ever done this, unlike the two points above, but you're welcome to try it yourself and let us know if it works. :-) Um, so a device does not need to be mounted for a sync to work? Chris, I think this is some kind of joke :) If there are no big buffers to flush then 'sync' should run very fast. N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: rsync 10 times slower in Etch than in Sarge!
the solution is not to use the sync option, that also increases your drive's lifetime. I put the `sync' option just to avoid drive corruption. If it is necessary to toggle it off, how can I be sure the process is terminated before I unmount the drive? This was discussed sometime ago in this list (someone wanted to be able to remove the USB drive anytime). Using sync is not a good idea with the USB pendrive. Check this thread: http://marc.info/?t=11792503843r=1w=2 ( I was wondering why I was aware of this old thread and I just noticed that I was the one who suggested using sync! ). You may want to add sync as the last command in your backup script do avoid data loss. I looked into `sync' manual but couldn't find out how to use this command. What should I say instead of `rsync -vr --delete Mail News /mnt/sda'? You use the same rsync command. You execute sync _after_ the rsync command. Cheers, N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Perl realted..?
On Jan 10, 2008 1:23 PM, Chris Howie [EMAIL PROTECTED] wrote: On Jan 10, 2008 1:11 PM, ISHWAR RATTAN [EMAIL PROTECTED] wrote: I am coming back to perl after a long time. The sample code these days also uses variable attribute my as: my $inst = Extutils::Installed-new(); my @modules = $inst-modules(); Can any demistify 'my' for me?? -ishwar my declares a variable that exists within the current scope and is unreachable from outside the scope. So a my declaration in one package cannot be reached from another package. our is identical to my except that you *can* reach that variable from other packages. A my declaration inside of a function just limits the scope and lifetime of the variable to that function. I just wanted to point out that to take full advantage of my you might want to program using use strict also. N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] JavaScript with socket function
On Dec 20, 2007 1:06 PM, Misko [EMAIL PROTECTED] wrote: I am trying to write some JavaScript function in web page that can fetch other web page from internet, store it in variable, parse and present some extracted data from that other page. I just do not know how to fetch other page. I guess I am looking for some kind of socket function in JavaScript (like fsockopen() in PHP). Is there such thing? Search for XMLHttpRequest. http://en.wikipedia.org/wiki/XMLHttpRequest You might want to use it to retrieve HTTP(S) documents (can be XML). I think you cannot open pages that are not hosted in the same host the original page (the one with the JS code) is. (I am not sure now). Regards, Nelson.' -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Iptables Default policy of Reject
On 9/10/07, Alex Samad [EMAIL PROTECTED] wrote: Hi I am just going through my firewall setup and I notice I can no longer do iptables -P INPUT REJECT iptables -P INPUT DROP I use DROP. I guess it is not a good idea to send ICMP packets back by default (But I don't know if it can be done). Anyway, here is the result of my test: fugue:~# iptables -P INPUT REJECT iptables: Bad policy name fugue:~# iptables -P INPUT DROP fugue:~# uname -a Linux fugue 2.6.22-1-686 Regards, N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Strange 224.0.0.251 address being accessed on bootup
On 8/28/07, Nigel Henry [EMAIL PROTECTED] wrote: (cut) TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=52 DROPPED IN= OUT=eth0 SRC=192.168.0.7 DST=224.0.0.251 LEN=72 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=52 d Any comments, suggestions, and including go and get a life, welcome. Well, it seems like a multicast address. I've used that range to do multicast in a LAN (with videolan). Regards, N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Strange 224.0.0.251 address being accessed on bootup
On 8/28/07, Nelson Castillo [EMAIL PROTECTED] wrote: (cut) Any comments, suggestions, and including go and get a life, welcome. Well, it seems like a multicast address. I've used that range to do multicast in a LAN (with videolan). Rendezvous, mDNS, zeroconf? That is what I read somewhere? Regards, N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: a crazy connectivity issue. unable to ping anything
2. when i go to the gui -opendesktop --and i click on the network applete, and deactivate the adapter and activate ---I am able to ping on my local network. 3. i can not ping past the my default gateway ---i double checked the default gateway settings they are correct standard 192.168.2.1 4. i have the info in resolv.conf...i can not get out to the dns servers that are past my router. I got confused a few days ago by the avahi-daemon and friends. I disabled it until I learn how to use them :) N.- -- http://arhuaco.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bash vs. python scripts - which one is better?
On 8/9/07, David Brodbeck [EMAIL PROTECTED] wrote: On Aug 9, 2007, at 10:19 AM, Steve Lamb wrote: Actually, it isn't. At no time have I ever had any problems with Python code which would not also be an issue in other code as well. The only difference being you have to be careful about indention in one case, braces in the other. Still, after dealing with all the nightmares of things like 'make' that care about tabs vs. spaces, etc., I'm inclined to shy away from languages where whitespace is critically important. Whitespace is so fragile. I make trailing spaces and TABS visible in vim. I know it's hard to keep conventions when you work with a team. http://wiki.freaks-unidos.net/weblogs/arhuaco/visible-spaces-in-vim BTW, I haven't found a better color for the tabs. One that is more similar to the background. Regards, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bash vs. python scripts - which one is better?
On 8/8/07, Manon Metten [EMAIL PROTECTED] wrote: Hi Nelson, On 8/8/07, Nelson Castillo [EMAIL PROTECTED] wrote: Nowadays I replaced Perl with Python, but I still use Perl from time to time (to write one-liners mostly). Why did you switch from Perl to Python? I found the code I wrote easier to understand. But as I said before, I still use Perl for some tasks. I guess you don't actually switch languages, but learn new ones and then you end up writing more code with what you're comfortable with. Or with the best one for a given task. I'm also learning new languages (Scheme, Verilog this time). As someone pointed out, many people just try to learn many languages. Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: bash vs. python scripts - which one is better?
On 8/7/07, Manon Metten [EMAIL PROTECTED] wrote: Hi, I'm about to learn bash or python scripting. - Which one is easiest to learn? Python I guess. - Which one is more powerful? Python. - Can I execute /bin commands from within a python script (something like mkdir or ls)? Yes. http://www.oreilly.com/catalog/lpython/chapter/ch09.html#13504 Or should I learn bash scripting anyway? Yes :) I learnt Perl because I didn't want to learn Bash. But once in a while I'd like to be fluent in Bash so I can write nice one-liners. Nowadays I replaced Perl with Python, but I still use Perl from time to time (to write one-liners mostly). Please, let me know your experiences. Learn how to use 'find'. It's very useful. Also regular expressions. You might want to check the OS module, and look for some examples. http://docs.python.org/lib/module-os.html Regards, N.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Not able to find qwtplot3D
On 7/30/07, Ashivni Shekhawat [EMAIL PROTECTED] wrote: Hi! I am new to Debian. I have trying to install qwtplot3d on my machine; however I get the following error: # apt-get install qwtplot3d Reading package lists... Done Building dependency tree... Done E: Couldn't find package qwtplot3d (cut) Why is apt-get not able to find the package? Perhaps wrong package name? $ apt-cache search libqwtplot libqwtplot3d-doc - 3D plotting library based on Qt/OpenGL (documentation) libqwtplot3d-qt3 - 3D plotting library based on Qt3/OpenGL (runtime) libqwtplot3d-qt3-dev - 3D plotting library based on Qt3/OpenGL (development) libqwtplot3d-qt4 - 3D plotting library based on Qt4/OpenGL (runtime) libqwtplot3d-qt4-dev - 3D plotting library based on Qt4/OpenGL (development) N.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OCR questions
On 7/21/07, Osamu Aoki [EMAIL PROTECTED] wrote: On Sat, Jul 21, 2007 at 10:53:09PM +0200, Florian Kulzer wrote: On Sat, Jul 21, 2007 at 22:25:43 +0200, Rodolfo Medina wrote: Why not use the Debian package? It is called tesseract-ocr. Yes. But it is old 1.02 version and has FTBFS bug. Yes, it's old. I installed from sources but I don't get the charsets. tesseract test.tiff out Unable to load unicharset file /usr/local/share/tessdata/eng.unicharset How do I get them? ICFP, BTW? :) -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OCR questions
On 7/21/07, Wayne Topa [EMAIL PROTECTED] wrote: Nelson Castillo([EMAIL PROTECTED]) is reported to have said: On 7/21/07, Osamu Aoki [EMAIL PROTECTED] wrote: On Sat, Jul 21, 2007 at 10:53:09PM +0200, Florian Kulzer wrote: On Sat, Jul 21, 2007 at 22:25:43 +0200, Rodolfo Medina wrote: Why not use the Debian package? It is called tesseract-ocr. Yes. But it is old 1.02 version and has FTBFS bug. Yes, it's old. I installed from sources but I don't get the charsets. tesseract test.tiff out Unable to load unicharset file /usr/local/share/tessdata/eng.unicharset How do I get them? 1. apt-cache search tesseract-ocr tesseract-ocr - Command line OCR tool tesseract-ocr-data - Command line OCR tool data 2. aptitude install tesseract-ocr tesseract-ocr-data 3. less /usr/share/doc/tesseract-ocr/README This in in testing. YMMV if your running etch. Hi. I run sid. I wanted the latest version. The Debian installation is OK. But it's old. Now I just noticed that the language files are not installed by default. I just found this: To be completely language independent, there is *no* language data with the source, so you have to download a separate language file to get it to work at http://groups.google.com/group/tesseract-ocr/browse_thread/thread/2b11730eae611b40/2a780e0d6227cb02#2a780e0d6227cb02 Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OCR questions
If you install as stated above with aptitude, tesseract-ocr-data is automatically installed unless you change default behavior of aptitude. FTBFS is just package issue. This package should work. Otherwise, please file bug report. Osamu, thanks a lot. The package works well. Sorry -- if I was offtopic to talk about source installations in debian-user. Thank-you all. Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problem with sendmail, error code 67.
On 7/2/07, Richard A Nelson [EMAIL PROTECTED] wrote: On Mon, 2 Jul 2007, Shams Fantar wrote: I have used Google to have the answers at my problem, but I did not find anything. You need more practice, the 1st page of my only search turned up this: -- Take a look at /usr/include/sysexits.h on your system. It lists all of the standard exit codes for programs. On a Linux 2.0.35 system I have: #define EX_NOUSER 67 /* addressee unknown */ Gee. I thought Error 67 meant Migrate to postfix. Couldn't help it, N.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Enable vim color?
On 6/17/07, Vladimir Strycek [EMAIL PROTECTED] wrote: Hi all, i used vim before on debian and when i was editing my python scripts ( i use vim mainly for python coding ) i've got nice colored syntax and so on... here in debian i have only black and white. I tried command :syntax enable or :syntax on but it say Sorry, the command is not available in this version: syntax on but mine version of vim is 7.0.122 which is not that old i think. Make sure that you have vim installed. You get a minimal one by default. aptitude install vim Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Enable vim color?
Thanks i installed vim-python and its working like charm now :-) Good :) It's good to know that you only need vim-python if you actually wish to use vim scripts written in python. To edit python files you'll be fine with vim. Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Commandline FTP tool to sync mirror @ISP
Can anyone recommend a tool for this? Also ckermit. It belongs to non-free because of some cryptography options (I think -- I am not sure). http://www.columbia.edu/kermit/ftpclient.html http://packages.debian.org/ckermit We used it with this program 2 years ago. http://wiki.freaks-unidos.net/file-mirror This one will only send the files that changed Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: boot problem with custom kernel
12. make-kpkg --append-to-version=.powertop kernel_image Hi, you missed the --initrd option. That way the package will make the initrd when installed and the kernel will use it at boot time. Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: Petition: StarCraft 2 for Linux
On 5/23/07, Greg Folkert [EMAIL PROTECTED] wrote: (cut) Explain to me... what BIG games are there for Linux ... NOT Wine enabled. How many sales will that take a away from Blizzard... the WoW has shown people will use Windows to play it period. Why shoudl it change and cater to 5% that will cause 80-90% of the problems (in their eyes) Does Second Life counts? Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: thank you Debian Kernel Team!
On 5/20/07, Hugo Vanwoerkom [EMAIL PROTECTED] wrote: Hi, Linux-source-2.6.21 is out in Sid. Good job! I use it to generate my own Debian stock kernel plus some changes: - take out CONFIG_PARAVIRT (to be able to use the nvidia closed source driver) - take out CONFIG_PREEMPT_NONE - set CONFIG_PREEMPT - set CONFIG_PRINTK_TIME I get random crashes with the vanilla sources (using the CONFIG_NO_HZ option). I should try the Debian patches to check if they help. Regars, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
xorg cannot read V_BIOS Intel D945GTP + 2 video cards / a way out
Hi. More than one month ago I asked in this list about an issue with my current setup that does not allow me to use my second PCI video card [1]. While it happens with an Intel D945GTP [2], I don't think this is specific to the main board as some say (I'm not sure). Anyway, the BIOS doesn't show a V_BIOS for the secondary video card. [1] http://lists.debian.org/debian-user/2007/04/msg01227.html [2] http://www.intel.com/products/motherboard/D945GTP/index.htm I use Debian sid. lspci -v | grep -i vga 01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 LE] (rev a1) (prog-if 00 [VGA]) 05:01.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a4) (prog-if 00 [VGA]) Subsystem: eVga.com. Corp. Unknown device b089 I see 4 ways out, and 2 of them are viable for me now. I'd like to know if you had come into similar issues before and what I should try now. I placed the questions at the end of this email. *** 1) Get a better motherboard or Get a dual output video card I wouldn't like to do this one. If the other options involve more than a few hours I guess it will be cheaper for me to get a dual-output video card. I'd prefer to fix the problem since I'd have to wait sometime before getting the new video card and I'd have 2 spare video cards around. *** 2) Downgrade to xorg 7.0 since this setup was working before I would not like to to this, but it's an option. My dual setup worked out of the box in a previous xorg version. I wonder how I could use an older xorg in Debian sid. *** 3) Apply the patches that allow me to load video ROM from a file [3]. https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227851#c7 I tried to compile xorg with this patch, but the xorg version in sid was very different. I tried to integrate the patch by hand but it wouldn't be easy since some functions have gone somewhere else in the xorg tree. It seems this patch would work around my problem since it worked for someone else, here is what he got. Check the second line. (II) RADEON(1): initializing int10 (**) RADEON(1): Option BiosLocation file:/root/r9200.bios (II) RADEON(1): Read 52 kB V_BIOS from file:/root/r9200.bios (--) RADEON(1): Chipset: ATI Radeon 9250 5960 (AGP) (ChipID = 0x5960) (--) RADEON(1): Linear framebuffer at 0x5800 (--) RADEON(1): BIOS at 0xfffe (II) RADEON(1): PCI card detected https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=148129 *** 4) Do the int10 initialization myself with another program (or another kind of initialization). http://lists.freedesktop.org/archives/xorg/2005-July/008649.html Well, this is new to me. It seems I cat get to initialize the card using another method that doesn't use the Legacy VGA code (http://jonsmirl.googlepages.com/graphics.html). *** Now the questions: * Is there any support in the Linux Kernel that I could use to initialize/use the second video card? fbdev? * What would you try if you wanted to get the second video card started? Shall I file a bug? Xorg should take care of this. I have used more than one video card with previous versions, with the same hardware I have now. * What mailing list should I try for this issue? (If it's too specific for debian-user). Thanks, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: xorg cannot read V_BIOS Intel D945GTP + 2 video cards / a way out
*** 2) Downgrade to xorg 7.0 since this setup was working before I would not like to to this, but it's an option. My dual setup worked out of the box in a previous xorg version. I wonder how I could use an older xorg in Debian sid. Ok. A few hours and I got it. Let's reply myself in case someone has the same problem (and to avoid wasting someone else's time). The nv driver does not support dual head and it might never will. We have to wait for nouveau (http://nouveau.freedesktop.org/wiki/). http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420537 The problem was not the upgraded xorg. When I previously had this setup, I had the privative nvidia driver (legacy version) managing my secondary video card. I lend that video card a few days to a friend, and when it came back I had changed the nvidia legacy driver (since I was trying compiz, which BTW, seems to be broken in Unstable right now). So I could not start the dual head setup again, and I couldn't use the new privative nvidia driver with my old card (NV18 [GeForce4 MX 440 AGP 8x]). The nv driver doesn't know how to softboot this video card when it's a secondary video card. So, I was trying to use this setup: * NV44 [GeForce 6200 LE] (Primary in BIOS) (both nv/nvidia drivers) * NV18 [GeForce4 MX 440 AGP 8x] (nv driver) And it seems it was never going to work. Now I have: * NV18 [GeForce4 MX 440 AGP 8x] (Primary in BIOS) (nv driver) * NV44 [GeForce 6200 LE] (current nvidia drivers) And it works. Xinerama + Gnome again. No compiz, but I'd rather have dual head (with xinerama) than a 3d desktop. Here is the relevant data : Xorg configuration: http://www.pastebin.ca/499299 Xorg log: http://www.pastebin.ca/499301 *** 4) Do the int10 initialization myself with another program (or another kind of initialization). That was the privative nvidia driver. Let's way for nouveau. Regards, N.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Preventing delayed USB writes
On 5/16/07, Ron Johnson [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (cut) What you *could* do is add an entry to root's crontab which runs sync(1) every 15 or 30 seconds. That would *mitigate* the usb stick timeouts, but would sync *all* drives, not just your thumb drive. And I don't know what deleterious effect that a *possible* 120 or 240 updates/hour to the FAT table of plugged-in sticks would have to the life of those sticks. Perhaps you should use the sync option that mount provides? Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Preventing delayed USB writes
If you read the contents of the link I provided, you'd see why sync-mounting a vfat device might be a very bad idea. Thanks a lot, I missed it. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problems getting pics from Minolta
What does mount /dev/sda /mnt/something do? It seems to mount OK. Then you have no partitions, I think. About one year ago I formatted a pen drive (mp3 player also) with mkfs.vfat and the mp3 player would not work. I did something like mkfs.vfat /dev/sdX After a lot of tries I thought I had damaged it. I had to format it with MS/Windows so that it could work again... just a horror tale. Regards, N. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Problems getting pics from Minolta
I am going to try a new card unless someone here tells me that no partition is normal for a CompactFlash card (8 mb). Maybe you have a file system in the raw device, with no partition table? What does mount /dev/sda /mnt/something do? Regards, N.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: using sizeof
On 5/14/07, J HU [EMAIL PROTECTED] wrote: Dear all, Perhaps it's an easy/silly question but I don't understand how it works. (I'm working in a debian) I have declared a structure and I'm using the sizeof to get the size of this structure. After the call I get that the total size is 64Bytes but if I get the size of each field and I add them manually I get that it should be 61Bytes... Anyone knows why the result is not the same? I noticed you got an answer. This page can help also: http://en.wikipedia.org/wiki/Data_structure_alignment The effects of alignment in performance (and even stability, if you're writing low level code) depend on the architecture. For instance: A memory access can be much faster on some architectures if the base address for the request is aligned. So, if you can afford the padding space in memory, also remember that you have to be careful with pointer arithmetic. You should not assume that: *((char*)(pointer + sizeof(mystruct) - 1)) Is the last byte of your structure. Regards, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Runlevel for textmode
On 5/13/07, Tim Johnson [EMAIL PROTECTED] wrote: Hi ; Hi. I want to start in textmode. In /etc/inittab I commented out the following line id:2:initdefault: as follows: # id:2:initdefault: and added the following: id:3:initdefault: but etch continues to boot up to an X login. What runlevel number is needed? 2 # id:2:initdefault: In slackware 10.0, runlevel 3 is textmode. In Debian you use runlevel 2 for everything. (I'd better say there's no need to use another runlevel). You'll run on 2 by default whether you use X or not. I'd rm /etc/rc2.d/S30gdm (also xdm and kdm). I think you can use also the alternatives for that and I guess this is the debian way. I think that: echo /bin/true /etc/X11/default-display-manager could work. Check /etc/init.d/[x, g, k]dm to see how those scripts use the alternatives. Regards, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is it Java or is it Iceweasel?
- These are *big*corps* with 1000s of users/customers. If it were a problem on their side I think they would have found and fixed it by now. Esp. since in one case the problem prevents logins. This is a flawed argument. They might not care about this problem. Can you use gmail? They might care about FireFox. Others might not. Perhaps you should complain to them or chech their FAQs to see what happens. Also, in the first email, you ask a non-specific question. Please, ask a more specific question so you can receive the help you need. I am having problems with some web pages not working. (Not working means just that. The details vary from page to page.) That should be: I am trying to log in in example.com using the lastest Firefox in Sarge, and I get this error: XXX. I cannot login in example.org with a similar problem, but the message says: YYY.. Has anybody else experienced this problem? How can I fix it? Regards, N.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Is it Java or is it Iceweasel?
I am having problems with some web pages not working. (Not working means just that. The details vary from page to page.) When I check the error console I find a lot of messages like: Warning: assignment to undeclared variable speed Warning: assignment to undeclared variable len Warning: assignment to undeclared variable tid These message are harmless. If more developers tried the Web Developer extension[1] and tried to stay away from warnings you would be happier. [1] https://addons.mozilla.org/en-US/firefox/addon/60 Is it Iceweasel, Java or Debian? It's life :) (you mean JavaScript, BTW). If you can, try to use firefox (iceweasel in Debian). Regards, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Postgres + Debian
Acaso tengo que configurar en alguna parte los usuarios y contraseñas para postgres 1) Mira la sintaxis de pg_hba.conf. 2) Mira el manejo de usuarios en postgres. Hay createuser y un usuario puede ser dueño de una base de dartos (o tener permisos sobre ella). Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: Dist-upgrade a Lenny???
On 4/8/07, Takayuki Kun Narumi [EMAIL PROTECTED] wrote: Ahora 8 abril del 2007 acaba de salir la version STABLE ETCH 4.0 de DEBIAN: http://www.debian.org/News/2007/20070408 pero mi pregunta es, para las personas que estamos en ETCH desde hace ya tiempo y estamos en TESTING, hasta cuando nos haran el DIST-UPGRADE a LENNY?? Hola. La pregunta que haces es un poco difícil de entender. Si quieres pasarte a Lenny, deja testing en el sources.list. Y si quieres quedarte en etch, cambia de testing a etch en el sources.list. Ayer hice un upgrade (uso sid) y mi login dice Debian GNU/Linux lenny/sid. Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: Debian 4.0 soporta xgl???
Hola listeros, con la nueva salida del Debian 4.0; alguien sabe si es menos traumático instalar el Xgl (Compiz) para x86. Soporta AIGLX, que sirve para correr Compiz. Ya este soporte viene integrado en Xorg. Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: Two video cards / Xorg crashes in sid
That's a good start, you could also try older versions of xserver-xorg-video-nv and xserver-xorg-core and see if it broke in a specific upgrade. You can find older packages here, http://snapshot.debian.net/ Otherwise, I suggest you use the reportbug tool to file a bug report for xserver-xorg-video-nv. I went to experimental and I found something. aptitude install xserver-xorg-video-nv/experimental xserver-xorg-core/experimental libdrm2/experimental xfonts-scalable It has to do with Cannot read V_BIOS (3). It seems that it happens with a lot of people when they have a secondary video card in some boards. There's a weird solution (at least weird to me :)) that involves extracting a ROM for the video card and placing it in a file that Xorg will use for this card. https://bugs.freedesktop.org/show_bug.cgi?id=2597#c36 I don't have such rom in my /sys filesystem. But still I'm trying. Regards, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Two video cards / Xorg crashes in sid
On 4/7/07, Nelson Castillo [EMAIL PROTECTED] wrote: That's a good start, you could also try older versions of xserver-xorg-video-nv and xserver-xorg-core and see if it broke in a specific upgrade. You can find older packages here, http://snapshot.debian.net/ Otherwise, I suggest you use the reportbug tool to file a bug report for xserver-xorg-video-nv. I went to experimental and I found something. aptitude install xserver-xorg-video-nv/experimental xserver-xorg-core/experimental libdrm2/experimental xfonts-scalable It has to do with Cannot read V_BIOS (3). It seems that it happens with a lot of people when they have a secondary video card in some boards. There's a weird solution (at least weird to me :)) that involves extracting a ROM for the video card and placing it in a file that Xorg will use for this card. https://bugs.freedesktop.org/show_bug.cgi?id=2597#c36 I don't have such rom in my /sys filesystem. But still I'm trying Well, this is an explanation of what is happening. https://bugs.freedesktop.org/show_bug.cgi?id=2597#c52 Now my time is over. Will try again sometime in the future. Some system BIOSes do not assign resources to any but the primary VGA chip. This is an actual BIOS bug, and leaves the OS with little chance to get it fired up after the fact - particularly if the VGA chip resides on a bridged PCI bus. Regards, Nelson.- This is what i get with X -configure : This is a pre-release version of the X server from The X.Org Foundation. It is not supported in any way. Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/. Select the xorg product for bugs you find in this release. Before reporting bugs in pre-release versions please check the latest version in the X.Org Foundation git repository. See http://wiki.x.org/wiki/GitPage for git access instructions. X Window System Version 1.2.99.905 (1.3.0 RC 5) Release Date: 05 April 2007 X Protocol Version 11, Revision 0, Release 1.2.99.905 Build Operating System: Linux Debian Current Operating System: Linux gaira 2.6.18-4-686 #1 SMP Mon Mar 26 17:17:36 UTC 2007 i686 Build Date: 06 April 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Sat Apr 7 20:23:11 2007 List of video drivers: s3 sis radeon tdfx glint voodoo v4l imstt i810 tseng r128 nvidia siliconmotion tga chips sisusb cirrus rendition via mga nv savage s3virge i740 ati dummy trident vmware i128 atimisc cyrix ark nsc apm neomagic newport fbdev vesa vga (++) Using config file: /root/xorg.conf.new (WW) NVIDIA: No matching Device section for instance (BusID PCI:5:1:0) found (EE) Cannot find empty range to map base to (EE) NV(1): Cannot read V_BIOS (3) Xorg detected your mouse at device /dev/input/mice. Please check your config if the mouse is still not operational, as by default Xorg tries to autodetect the protocol. Xorg has configured a multihead system, please check your config. Your xorg.conf file is /root/xorg.conf.new To test the server, run 'X -config /root/xorg.conf.new' -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Postgres + Debian
On 4/6/07, Santiago Yegros [EMAIL PROTECTED] wrote: Bueno, tengo poca experiencia con bd's. Estaba tratando de instalar postgres y usarlo con java. Mi problema es: no puedo acceder a la db, el servidor esta levantado y funcionando, pero al tratar de usar pgadmin, me da el sgte error: The server doesn't accept connections: the connection library reports could not connect to server: Connection refused Is the server running on host 127.0.0.1 and accepting TCP/IP connections on port 5432? Creo que mi problema es con los usuarios de pg No son los usuarios. Por omisión, PostgreSQL no habilita las conexiones por TCP/IP en Debian. Para cambiar, se hace lo siguiente: gaira:~# psql -h localhost psql: could not connect to server: Connection refused Is the server running on host localhost and accepting TCP/IP connections on port 5432? Mira el archivo /etc/postgresql/7.4/main/postgresql.conf, aparece lo siguiente: #tcpip_socket = false max_connections = 100 Cambia la línea comentada para que sea esta: tcpip_socket = true Luego: /etc/init.d/postgresql-7.4 restart Y ya debe funcionar: gaira:~# psql -h localhost Password: Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Two video cards / Xorg crashes in sid
Hi. I had a successful setup a long time ago with Xorg and xinerama in Debian sid. I use 2 monitors and 2 video cards. It used to work well, but now I doesn't work anymore, even with the same configuration file I had before. I didn't have the time to debug, until today. Has something similar happened to any of you recently? Any of you having trouble with the most recent Xorg? Here's my configuration file: http://www.pastebin.ca/427419 lspci : 01:00.0 VGA compatible controller: nVidia Corporation NV44 [GeForce 6200 LE] (rev a1) 05:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 440 AGP 8x] (rev a4) Regards, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Two video cards / Xorg crashes in sid
On 4/6/07, Sven Arvidsson [EMAIL PROTECTED] wrote: On Fri, 2007-04-06 at 15:48 -0400, Greg Folkert wrote: What nVidia modules are you using? 9129 was the last version that supported the NV18 chipset. I know, I have an exact duplicate of the card. Looks like he's using the free nv driver. Yes. dpkg -l| grep nvidia Post the output from there. Nothing new... This installation has 2 years and I've had 5 about different video cards (and 3 PCs) since then. Same installation. rc nvidia-glx-dev 1.0.8776-4 NVIDIA binary XFree86 4.x / Xorg driver deve rc nvidia-kernel-2.4.27-2-386 1.0.7174+1 NVIDIA binary kernel module for Linux 2.4.27 rc nvidia-kernel-2.6.14arhuaco.keystrokes 1.0.7174-4 NVIDIA binary kernel module for Linux 2.6.14 rc nvidia-kernel-2.6.15-1-k71.0.8178+2 NVIDIA binary kernel module for Linux 2.6.15 rc nvidia-kernel-2.6.15arhuaco 1.0.8178-1 NVIDIA binary kernel module for Linux 2.6.15 I don't mind using the non-free driver (You know, those drivers suck in Linux, but there aren't many choices), But I tried it before and the card also crashes. When it crashes, the screen goes black and the CPU usage increases (the CPU fan goes mad :)). If you have time, try each card separately and see if you can pinpoint the crash to a specific configuration. Done! I didn't get the back trace, but I isolated the crash. The log: http://www.pastebin.ca/427621 The configuration: http://www.pastebin.ca/427623 Note that the primary video card works (I'm using it now) with both the free and the privative drivers (using the free driver now). Thanks, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Proyecto de MSN client para consola
Lo inédito, al ser cliente en consola, es que tendrá soporte para foto. No me refiero a la capacidad de ver fotos de otros, sino que los otros puedan ver una foto que elijamos. Hola. Hace un tiempo pensé en esto. Está bien que lo hagas, si lo que quieres es aprender y todo. Pero si quieres ser pragmático, lo más interesante sería adicionar el soporte de esta funcionalidad a centericq (no sé si existe algo que lo haga difícil). Es una opinión. Me gusta mucho centericq. Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: Posibles cambios en lista
Al igual que he visto como muchos de los que más ayudaban en los últimos años se han ido marchando, o dejando de responder, por problemas similares a éste que discutimos, creo que la tendencia irá todavía más Creo que en listas, envío un correo pidiendo ayuda por cada 20 que respondo. Desde hace un tiempo me vengo aburriendo de debian-user-spanish, y más que todo por la relación de correos no relacionados con problemas reales, sino con normas y con regaños. Estoy a un paso de salir, y sé que a nadie le hago falta :) No es que proponga que no haya normas, sino que al responder un correo, uno recuerda las normas y de paso ayuda un poco a la persona para no hacer tanto ruido. ¿Cuántos correos de problemas reales (sobre Debian GNU/Linux) hemos tenido ayer y hoy? Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: kernel-headers para mi kernel
On 4/2/07, Luciano Andino [EMAIL PROTECTED] wrote: Hola lista, resulta que tengo compilado mi propio kernel desde fuentes y trato de compilar un driver de webcam. El tema es que cuando comienza a compilar con la instrucción make que le dí, como no tengo el kernel-headers ni los repositorios, me salta un error y no puedo continuar. Bueno, sin tener en cuenta si el driver que tienes funciona con los headers o con los fuentes completos (esperemos que con los headers baste), hay algo a tener en cuenta. Al compilar un kernel a lo debian, se puede también generar un paquete con los headers. Personalmente, compilé el último kernel para Debian con la siguiente línea de comandos: time make-kpkg --initrd --revision gaira+smp+skas82 kernel_image kernel_headers \ --append-to-version -gaira+smp+skas82 Mira que especifico tanto kernel_image como kernel_headers. Así se generan los dos paquetes, que luego se instalan con dpkg -i N.- -- http://arhuaco.org http://emQbit.com
Re: kernel-headers para mi kernel
On 4/2/07, Iñigo Tejedor Arrondo [EMAIL PROTECTED] wrote: El lun, 02-04-2007 a las 12:37 -0300, Luciano Andino escribió: Hola lista, resulta que tengo compilado mi propio kernel desde fuentes y trato de compilar un driver de webcam. El tema es que cuando comienza a compilar con la instrucción make que le dí, como no tengo el kernel-headers ni los repositorios, me salta un error y no puedo continuar. Aquí va: debian:/usr/local/spca5xx-20060501# make Building SPCA5XX driver for 2.5/2.6 kernel. Remember: you must have read/write access to your kernel source tree. make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/local/spca5xx-20060501 CC=ccmodules make[1]: Entering directory `/usr/src/linux-2.6.20.2' CC [M] /usr/local/spca5xx-20060501/drivers/usb/spca5xx.o /usr/local/spca5xx-20060501/drivers/usb/spca5xx.c:39:26: linux/config.h: No existe el fichero o el directorio Esto ha cambiado en todos los 2.6.20 Mmm. No había visto esto. Los headers no te hacen falta. Ya tienes /usr/src/linux ;) Mmm. No necesariamente. Ya no se recomienda poner fuentes ahí :) Atte, N.- -- http://arhuaco.org http://emQbit.com
Re: Posibles cambios en lista
Ahora, lo más importante es que déis vuestra opinión. ¿Qué pensáis sobre esto? Yo no había respondido ante la posibilidad de que el mensaje fuera una broma del primero de Abril (http://en.wikipedia.org/wiki/April_Fools'_Day). Ya casi termina el día, así que ahora si puedo responder (no respondí antes para no dañar la broma, en caso de que fuera una). Voy a comentar algo, y no tendré las energías para discutirlo. Sólo es una opinión, que puede estar errada, pero creo cierta: La moderación en las listas de correo de alto tráfico no funciona. ¿Quién modera los moderadores? En la lista de Debian en Inglés también pasa lo mismo, y creo que nadie admitiría que la lista pase a ser moderada. A veces hay hilos que pasan de 100 mensajes hablando de cosas sobre republicanos y demócratas, que poco interesan a un Latinoamericano como yo. Simplemente no leo los mensajes. http://lists.debian.org/debian-user/2006/05/msg00439.html http://lists.debian.org/debian-user/2006/05/msg00453.html Yo no había comentado nada antes sobre el tema para no adicionar ruido, pero aprovecho este correo (que espero haya sido broma para el primero de Abril) para contar que me parece poco util que en esta lista haya personajes que se dediquen a regañar a todos los demás. Eso solamente empeora las cosas, porque alimentan a los trolls. Por favor, no alimenten a los trolls: http://es.wikipedia.org/wiki/Troll_%28Internet%2 Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: Posibles cambios en lista
http://es.wikipedia.org/wiki/Troll_%28Internet%2 Link roto, mis disculpas: http://es.wikipedia.org/wiki/Troll_%28Internet%29 -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: Herramientas de Testing en Debian/Ubuntu
On 3/23/07, Perez Reyes, Gustavo [EMAIL PROTECTED] wrote: Listeros: Aunque personalmente creo que esto es OT, les pido humildemente que me den una mano si esta a su alcance. Estoy necesitando una Suite de Testing para: - Testeo Funcional automatizado Si es de aplicaciones WEB, tal vez le interese TestMaker: http://www.pushtotest.com/ Atte, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Diagramas de flujo o flowchart online
On 3/22/07, Gabo [EMAIL PROTECTED] wrote: Gracias Iñigo, Si, Compartir es que otros vean lo que estoy haciendo, se trata de hacer diagramas de flujo con fines de trabajar con un compañero que se encuentra en otro país. Esos diagramas de flujo son para utilizarlos en programación conjunta. Hola. La herramienta que hicimos hace muchos años (que corre en Wine) serviría, si usas un repositorio de subversion y cada uno trabaja en un archivo diferente. http://wiki.freaks-unidos.net/freedfd/ No es exactamente lo que necesitas, pero creo que el intérprete es útil. Atte, N.- -- http://arhuaco.org http://emQbit.com
Re: sarge+java+tomcat
On 3/20/07, Lsc. Francisco Javier Ferreyra López [EMAIL PROTECTED] wrote: Buenas tardes y de antemano agradezco sus respuestas. JAVA_HOME=/usr/lib/j2sdk1.5-sun/bin/ Creo que no se debe llegar hasta /bin al definir JAVA_HOME. Toca llegar hasta ...-sun/ en este caso. M Atte, N.- -- http://arhuaco.org http://emQbit.com
Re: memoria agotada
¿Por que paso esto? No sé. Disco dañado, mal apagado, etc. ¿Que pasa si los elimino? Será el fin del mundo como lo conocemos :) Pues, ahora en serio, ¿No sería mejor probar un fsck antes de borrar los archivos? Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: memoria agotada
Gracias por sus aportes... http://prefetch.net/articles/diskdrives.smart.html Trata de instalar smartmontools y corre un test sobre el disco. Atte, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [OT] Programacion en c, scanf con espacios en blanco
On 3/2/07, Enrique Jiménez Campos [EMAIL PROTECTED] wrote: Buenas, mi duda es que si hay alguna manera de usar scanf con el parametro %s para guardar cadenas de caracteres con espacios, me gustaria saberlo ya que al gcc no parece gustarle demasiao gets(). Un saludo Ya te respondieron Pero recuerda que el Scanf no es tan apropiado cuando uno lee datos de humanos :) Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: Debian + productos Microsoft como restricción
On 1 Mar 2007 06:40:28 -0800, hpdelalamo [EMAIL PROTECTED] wrote: Yo te recomendaría que uses BOCHS, es libre y muy bueno, claro que necesitarias un manual al lado. Bochs es muy lento. Bochs emula el procesador. QEMU con el módulo de aceleración es más rápido que BOCHS. (Este hilo ya está como largo). -- http://arhuaco.org http://emQbit.com
Re: Por qué Debian tiene que cambiar todos los paquetes ??
On 2/28/07, Marcos Delgado [EMAIL PROTECTED] wrote: El 28/02/07, Luis Rodrigo Gallardo Cruz [EMAIL PROTECTED] escribió: On Wed, Feb 28, 2007 at 08:46:14AM +0100, Adrian Chapela wrote: Hola, pues mi pregunta es esa Por qué Debian tiene que meter scripts propios o configuraciones propias cuando el paquete original no los tiene ?? Todas las distribuciones lo hacen, y si no lo hicieran la gente se quejaría por cosas como la rotación de los logs. Si no te gusta la idea, instala desde fuentes o un binario. Si necesitas los logs binarios, supongo que es por la replicación. Si vas a usar replicación, trata de tener una versión estable bien reciente. Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: Debian + productos Microsoft como restricción
¿Como puede correr MSOffice 2003 al completo con su Project y todo en Debian? Supongo que no he sido el único en encontrarme con esta restricción. Si se llegara a solventar sería un paso para intentar convencer a todo el mundo sobre migrar a Debian… el siguiente sería el paso a OpenOffice :-P Para correr un compilador de Win2, me tocó usar QEMU. Ahora que el módulo de aceleración es libre, es una buena alternativa. Por acá está este documento, cualquier mejora es bienvenida. http://wiki.freaks-unidos.net/qemu-debian-es A mi me fue bien con la instalación. Pues, el primer paso para migrar es comenzar a usar formatos que permitan la migración. Si no hay más remedio sino usar Windows, pues supongo que QEMU es una buena alternativa. Es bueno poder hacer backups de las imágenes del OS, para cambiarlas cuando se dañen. Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: passwd in chroot / You may not view or modify password information for USER
On 2/25/07, Andy Smith [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 10:36:16PM -0500, Nelson Castillo wrote: On 2/23/07, Andy Smith [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 04:35:18PM -0500, Nelson Castillo wrote: CHROOT passwd userx passwd: You may not view or modify password information for userx. Er, you ARE doing that as root, right? Yes :) The only special thing is that I'm inside a chroot. The host is a Fedora C5 server running Linux 2.6.16. And that I dist-upgraded from sarge to etch. Sorry, had to ask :) That is very odd. Could you strace the passwd command inside the chroot and post a link to the results? (-o to send output to a file) The partition in which the chroot is is not mounted with the nodev option. It's mounted with ext3,defaults, just as / is. This is the strace I got: http://wiki.superservicios.gov.co:81/~n/strace.txt Thanks. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: passwd in chroot / You may not view or modify password information for USER
I'd suggest disabling SELinux and seeing if that fixes it, if it does then I guess you get to learn more about using it than I wish to right now ;) :) Same here. Well, disabling SELinux in the host is not an option, but I can live with root not being able to run passwd user as long as I can edit /etc/passwd and /etc/shadow with vipw. Thanks for your help, N.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: passwd in chroot / You may not view or modify password information for USER
On 2/26/07, root [EMAIL PROTECTED] wrote: On Mon, Feb 26, 2007 at 03:12:44AM +, Steve Kemp wrote: (cut) From my gut, it doesn't seem like SELinux is getting in the way. I'd see if FC has option to turn off SELinux as a kernel option or at least to turn off enforcing mode by using /selinux or chaning the policy. Hey, I did mount -t selinuxfs none /selinux inside of the chroot, and now it works. It's the first time this happens to me :) http://wiki.superservicios.gov.co:81/~n/strace-with-selinux.txt Thanks, Nelson.- -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
passwd in chroot / You may not view or modify password information for USER
Hi. I had a chroot with debian sarge that I had to dist-upgrade to debian etch. I have backups and everying. But the problem is that now I try to change a user's password and I cannot. What could be the problem? What am I not aware of (regarding this issue)? CHROOT passwd userx passwd: You may not view or modify password information for userx. Regards, Nelson·- -- http://arhuaco.org http://emQbit.com
Re: passwd in chroot / You may not view or modify password information for USER
On 2/23/07, Andy Smith [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 04:35:18PM -0500, Nelson Castillo wrote: CHROOT passwd userx passwd: You may not view or modify password information for userx. Er, you ARE doing that as root, right? Yes :) The only special thing is that I'm inside a chroot. The host is a Fedora C5 server running Linux 2.6.16. And that I dist-upgraded from sarge to etch. Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: [Re-Off-topic] CVS o SVN ?
Estoy iniciando el desarrollo de un proyecto y aún no me decido por cuál sistema para control de versiones usar: CVS o SVN. He buscado documentos en internet (foros, listas y webs), pero aún no termino de decidirme que sistema es más conveniente. Por eso, abusando un poco, quisiera saber cuáles son sus opiniones acerca de CVS o SVN, experiencias, compatibilidad, en fin, cualquier opinión al respecto será bienvenida. Subversion. Sin duda. * Puede usarse con HTTP(S) y accederse con proxies detrás de firewalls. * Lo que ya te contaron sobre la historia que no se pierde * Para muchas operaciones no se usa casi ancho de banda Atte, Nelson.- -- http://arhuaco.org http://emQbit.com
Re: problem searching packages
How to check whether hplip (or any other package) is installed on my system or not ? dpkg -l | grep packagename The second question : how to investigate what packages are installed in my system, with all informations (package name, version etc...) dpkg -l :) There are graphical frontends, if you prefer those. Look for synaptic. Regards. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Sid + nVidia + Compiz == no good?
On 1/29/07, Magnus Therning [EMAIL PROTECTED] wrote: On Fri, Jan 26, 2007 at 18:01:58 -0500, Nelson Castillo wrote: On 1/25/07, B. L. Jilek [EMAIL PROTECTED] wrote: Hi Magnus! On Thu, 25 Jan 2007, Magnus Therning wrote: I've been trying to get Compiz to run on my Debian Sid system. This is the setup: [snip] You didn't say which nvidia driver you are using. I believe that compiz requires features that are only in the beta drivers fom the nvidia website. I think the current version is 9746. I did that, but the new Nvidia drivers broke xinerama (I use a dual head setup). It just would not start. So i decided disable compiz for the moment, and use xinerama. (With the drivers in sid). If you have two monitors hooked up to a sigle nVidia card then I think there's a possibility to use an nVidia-specific solution instead of Xinerama (it's called TwinView I think). Maybe you have more luck combining that with compiz... http://therning.org/magnus I have 2 video cards. * geforce 4400 pci * GeForce 6200 LE pci express Thanks :) -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: no lo puedo creer
On 1/26/07, Cristian Mitchell [EMAIL PROTECTED] wrote: leyondo en http://www.bairesnortelug.com.ar/ me encotre con los siguiente y no lo puedo creer Que curioso! Published by sechole October 27th, 2006 in Curiosidades. 6 Comments Creo que todos conocen el servicio de Netcraft. Para el que no lo sepa, Netcraft es una empresa que se dedica a monitorear internet. Monitorean el uptime y provee analisis de market-share incluyendo webserver y sistema operativo de dominios. Tiene algunas herramientas en lineas muy interesantes. Lo mejor es el buscador para saber que esta corriendo determinado dominio. Usando esta utilidad hagan la siguiente prueba con los siguientes dominios de Microsoft: www.search.msn.com search.latam.msn.com desktop.msn.com download.windowsvista.com uk.my.msn.com download.microsoft.com search.microsoft.com No es nada nuevo. MS no usa eso directamente, el que usa GNU/Linux como OS es http://www.akamai.com, que tiene espejos de contenido de MS. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: Dos nombres y 1 IP - consecuencias en el DNS.
On 1/26/07, Miguel Da Silva - Centro de Matemática [EMAIL PROTECTED] wrote: Correligionarios, estuve pensando en lo siguiente... qué sucedería si yo definiera en el DNS el mismo IP para 2 nombres distintos? En vez de hacer un alias usando CNAME, hacer las respectivas definiciones en el DNS. Tipo... www IN A 192.168.10.1 smtp IN A 192.168.10.1 Pues, no pasa nada. Pero, toca que la resolución inversa apunte al protocolo que requiere eso. Por ejemplo, al SMTP. con el WWW no pasa nada. -- http://arhuaco.org http://emQbit.com
Re: Sid + nVidia + Compiz == no good?
On 1/25/07, B. L. Jilek [EMAIL PROTECTED] wrote: Hi Magnus! On Thu, 25 Jan 2007, Magnus Therning wrote: I've been trying to get Compiz to run on my Debian Sid system. This is the setup: [snip] You didn't say which nvidia driver you are using. I believe that compiz requires features that are only in the beta drivers fom the nvidia website. I think the current version is 9746. I did that, but the new Nvidia drivers broke xinerama (I use a dual head setup). It just would not start. So i decided disable compiz for the moment, and use xinerama. (With the drivers in sid). -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: undelete
Is there a way to recover deleted files? Yes. 1) Shut down the computer. 2) Ask a more specific question. -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: base-config equivalent to Etch?
On 1/23/07, Ken Heard [EMAIL PROTECTED] wrote: Sarge has a command base-config which -- besides running as part of the installation process -- is also available to change or correct such things as the time zone, passwords, etc. This command does not seem to exist as such in Etch. Is there an equivalent in Etch? Configure passwd and do enable the shadow passwords when asked: dpkg-reconfigure passwd apt-get install locales dpkg-reconfigure locales tzconfig It seems that's what you need to do after a debootstrap. http://wiki.emqbit.com/re-install%20debian%20in%20the%20ecb_at91 http://www.nslu2-linux.org/wiki/SlugOS/BootstrapLE -- http://arhuaco.org http://emQbit.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]