This site is now 100% read-only, and retired.

XML Logo

Posted by trakic on Thu 28 Oct 2010 at 08:19
Tags: ,
Problem description:
# grep Port sshd_config
#Port 22
Port 2022

# curl -I http://localhost:443
SSH-2.0-OpenSSH_5.5p1 Debian-4
Protocol mismatch.
curl: (56) Recv failure: Connection reset by peer


Q: How do I disable shouting out version number?

-Admir Trakic

 

Posted by trakic on Wed 27 Oct 2010 at 09:25
Tags: ,
My rootfs (squeeze/sid) is quite small on my embedded device so I have descided to use a CIFS mount point for storing a new deb packages.

After symlinking the propriate endpoints following error occured:

# apt-get dist-upgrade -d -y

E: Archives directory /var/cache/apt/archives/partial is missing. - Acquire (75: Value too large for defined data type

My CIFS mount point looks like this:
//192.168.1.10/OpenShare/ on /mnt/nas01/OpenShare type cifs (rw,mand)

And symlink entry like this:
debian-nvu:/var/cache/apt# ls -laFh
total 39M
drwxr-xr-x 3 root root 4.0K Oct 27 10:14 ./
drwxr-xr-x 30 root root 4.0K May 28 21:50 ../
lrwxrwxrwx 1 root root 36 Oct 27 10:14 archives -> /mnt/nas01/OpenShare/debian/archives/
drwxr-xr-x 3 root root 20K Oct 25 22:43 archives.orig/
-rw-r--r-- 1 root root 24M Oct 10 2009 erl
-rw-r--r-- 1 root root 14M Oct 27 04:09 pkgcache.bin
-rw-r--r-- 1 root root 14M Oct 26 21:29 srcpkgcache.bin
lrwxrwxrwx 1 root root 34 Aug 22 2008 x-window-manager -> /etc/alternatives/x-window-manager*

I hope somebody can shed a light.

br.Admir Trakic, Copenhagen, Denmark

 

Posted by trakic on Wed 17 Sep 2008 at 21:45
Tags: none.
I would really like to incomporate the idea from: http://gentoo-wiki.com/HOWTO_Emerge_on_very_slow_systems

I have following setup:
- MachineA: 512Mb,debian/testing,i686
- MachineB: 32Mb,debian/testing,armv5tel

When i enter:
debian-nvu:/tmp# setarch arm chroot /mnt/slowmachine /bin/bash
setarch: arm: Unrecognized architecture

Can anyone shed some light?
Thx in advance,admir trakic

 

Posted by trakic on Mon 23 Apr 2007 at 11:49
Tags: none.
I took a good look at /sys/class/usb_device/ and i havn't yet found an (elegant) solution to determine speed on usb-mount-point, e.g.:

is_2_0()
{
echo "2.0"
}

is_1_1()
{
echo "1.1"
}

Any help would be greatly appritiated.
BR.Admir Trakic

 

Posted by trakic on Thu 5 Jan 2006 at 13:25
Tags: none.
Used a lots of time with Xen on Debian & Ubuntu.
I wish was more native support like http://www.netbsd.org/.

I wonder when I would be able NOT to include anything about this feature in sources.list...?


 

Posted by trakic on Fri 7 Oct 2005 at 08:57
Tags: none.
Viva hombre