Re: Short script which worked in Lenny but does not in Squeeze.

2013-07-24 Thread Guido Martínez
Hi, > #!/bin/sh > ... > ULB="$HOSTNAME"usrlocalbin.tgz > In my Wheezy setup, sh does not define a shell variable HOSTNAME, but bash does. You can either change the shell to /bin/bash or use $(hostname) (that is, running the hostname command). This is probably caused by a change in sh. Hope it h

Re: su user -c

2013-06-06 Thread Guido Martínez
On Thu, Jun 6, 2013 at 9:22 AM, Pol Hallen wrote: > Hi all :-) > > this is the part of my script: > > email0=us...@domain0.org;email1=us...@domain1.org;name=user0;username=user1;domainname=domain0;echo > | mutt -s "test message $name" -b email0 email1 > > if I run this script of own user, runs cor

Re: "jerks" in net connections

2013-05-04 Thread Guido Martínez
On Sat, May 4, 2013 at 4:37 PM, Andrei POPESCU wrote: > On Sb, 04 mai 13, 19:15:43, andrey.ry...@bilkent.edu.tr wrote: >> hi all! >> Some time ago i get next problem. >> Net connections start work by"by jerks". In case of ssh session it look >> like this: i can put my command in bash shell but som

Re: Can't access gateway IP

2013-05-04 Thread Guido Martínez
On Sat, May 4, 2013 at 4:26 PM, s0lid wrote: > On Sun, May 5, 2013 at 3:19 AM, Guido Martínez wrote: >> On Sat, May 4, 2013 at 3:28 PM, s0lid wrote: >>>> Ping the Debian 607 server from the router. Result? >>> >>> It can. I also can access it

Re: Can't access gateway IP

2013-05-04 Thread Guido Martínez
On Sat, May 4, 2013 at 3:28 PM, s0lid wrote: >> Ping the Debian 607 server from the router. Result? > > It can. I also can access it from my laptop going to the same router. > >> >> BTW, which consumer router is this? You may have hit a firmware bug. > > i have a hunch it is, i just don't have a

Re: Can't access gateway IP

2013-05-03 Thread Guido Martínez
Hi all, On Fri, May 3, 2013 at 8:55 PM, Bob Proulx wrote: > s0lid wrote: >> ---from debian server--- >> root@debian:~# ping 192.168.1.1 >> PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data. >> >> PING 192.168.1.2 (192.168.1.2) 56(84) bytes of data. >> 64 bytes from 192.168.1.2: icmp_req=1 ttl=6

Re: Why does my ssh session terminate immediately?

2013-04-22 Thread Guido Martínez
Hi, On Mon, Apr 22, 2013 at 5:49 PM, Andreas Leha wrote: > thanks for that. Here is what I get: > , > | + '[' -z '' ']' > | + return > | Connection to 192.168.2.109 closed. > ` > I guess that means, that "PS1" is unset in this case? Looks like it, but I think that it shouldn't terminate

Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-16 Thread Guido Martínez
23.1:www >> >> >> >> Sender: >> >> ESTAB 0 535760 :::192.168.123.1:www >> >> :::192.168.123.2:33038 >> >> ESTAB 0 383720 :::192.168.123.1:www >> >> :::192.168.123.2:33038 >> >> ESTAB 0 474944 :

Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-12 Thread Guido Martínez
ood) >> From: emi2f...@gmail.com >> To: johnellio...@hotmail.com >> CC: mtzgu...@gmail.com; debian-user@lists.debian.org >> >> >> Hello >> >> Maybe it can the the disks write speed, anayway you can use netstat or ss >> look for Recv-Q Send-Q

Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-11 Thread Guido Martínez
On Fri, Apr 12, 2013 at 1:16 AM, Guido Martínez wrote: > Did you check if A acknowledges every received segment? Sorry, what I meant by this is if every sent segment from B reaches A. You can run an instance of wireshark on each host to check this. Basically you need to check for packet loss

Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-11 Thread Guido Martínez
It's probably not the memory then, but you can make sure by running 'free -m' and seeing if the system is too loaded. >starts at win=6912 and grows to 165504 (This is where I start to see a heap of >TCP Dup ACK and TCP segment of a reassembled PDU)), then increases to 353408 >(Again, more TCP Du

Re: iperf / ftp / http TCP poor performance in one direction (UDP good)

2013-04-11 Thread Guido Martínez
Hi >Provider of the link is stating it is a tcp window issue I think that would be a bit weird, TCP is a very robust protocol capable to adapt pretty much any bandwidth / latency situations. What are the specifications on the hosts? Maybe POPA has too little RAM and can't allocate a big enough TCP

Re: limits.conf

2013-04-11 Thread Guido Martínez
I can confirm this. I wasn't sure if it was expected behaviour so I did a quick google search and came to this http://www.chrissearle.org/blog/technical/increasing_max_number_open_files_glassfish_user_debian. If you want 'su' to set the user limits you need to modify /etc/pam.d/su and uncomment th

Re: root password

2013-04-11 Thread Guido Martínez
You can, by booting from some other media and changing the /etc/shadow file. Or running a chroot, but I would suggest you take a look at your keymap configuration. If your password has non alphanumeric characters then it's likely that what you inputted during the install is not what you really mean

Re: Squeeze on a EEE PC 901, trackpad problems

2012-11-18 Thread Guido Martínez
Hi, I had the same issue with my EEE 701. I had to change the config file for the synaptics module (/usr/share/X11/xorg.conf.d/50-synaptics.conf). Here's how I have it now: Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" Option "TapButto

Re: Directory ownership

2012-11-11 Thread Guido Martínez
On Sun, Nov 11, 2012 at 3:50 AM, Gean Ceretta wrote: > > Thanks Neal and Charlie, I've tried: > > > # chown -Rv gean:gean /home/gean > > but the ownership stays the same root, maybe its important to say that the > /home is an NTFS partition, mounted by /etc/fstab as: > > /dev/sda3 /home

Re: Unresponsive SDHC card

2012-07-15 Thread Guido Martínez
6.0.5 Codename: squeeze On Sun, Jul 15, 2012 at 6:09 AM, computer.enthusiastic wrote: > Hi, > > 2012/7/15 Guido Martínez : >> I have a 16gb Kingston SDHC. But now with >> my new installation the card is completely unresponsive, I can't use >> fdisk, nor dd, nor

Unresponsive SDHC card

2012-07-14 Thread Guido Martínez
Hi all, I installed debian on an old Asus EEE 701 notebook that I haven't used in a while. It has an integrated SDHC card reader to expand storage, since it only includes a 4gb SSD. I have a 16gb Kingston SDHC card that I used with this PC for a few years with no problems, using both Windows and X

Problems after installing network-manager (possibly because of hal?)

2012-05-02 Thread Guido Martínez
Hi, I'm running debian 6.0.4 for amd64, with XFCE. I recently installed network-manager so I could use my Wi-Fi card, this installed hal as a dependency. The Wi-Fi now works properly but I have two known issues: - The resolution changed from 1280x1024 to 1280x960, and I can't change it back using

Network issues with lan and wifi

2012-01-28 Thread Guido Martínez
Hi all, I recently purchased a 802.11n wifi pci card and placed it my pc. After that, I proceeded to install debian. I noted that I could not configure the wifi network from the installer (it's probably possible, but I don't know how) so I attached a network cable and the installation ran smoothly

Re: Removing debian from hdd

2012-01-08 Thread Guido Martínez
It's done! I used install-mbr, thanks Martin! I would have used fixmbr from windows, but the all users had a password and I couldn't do anything (maybe I could have asked for it, but that would be no fun :P) Thanks to all On Sun, Jan 8, 2012 at 09:14, Camaleón wrote: > On Sat, 07 Jan 2012 13:27

Removing debian from hdd

2012-01-05 Thread Guido Martínez
Hi, I recently borrowed a hard drive and installed debian on it, alongside windows. I used it for a couple of weeks. Later, I tried to remove debian by deleting the partitions I had installed it on, but that caused grub to fail horribly, and I had to reinstall debian. How can I remove debian? Can

Re: install phpmyadmin in debian 6?

2011-12-28 Thread Guido Martínez
Check that there is a symbolic link in /var/www to where your phpmyadmin files are (I believe they were in /usr/share/phpmyadmin, but don't trust me, look it up) Is this is the case, then when you enter http://localhost/phpmyadmin you should see a 'file not found' error. On Wed, Dec 28, 2011 at 03