apt-get dist-upgrade wants to remove too much??

2003-09-30 Thread Ken
I am using a hard disk install of Debian from Knoppix 3.2.  It is 
working nicely.  I do apt-get update and apt-get upgrade every once in a 
while.  I am using unstable/testing sources.

I have appended the console output apt-get -u dist-upgrade produces 
below.  If let run, it will remove a whole lot of packages that I want 
to keep.

I have looked at the APT HOWTO at
http://www.debian.org/doc/manuals/apt-howto/index.en.html
to try to find the answer to my question.
It suggests the command
apt-get -o Debug::pkgProblemResolver=yes dist-upgrade
which I ran.   The output it produces is too long to post but most of 
the kde packages it wants to remove would be removed for reasons like:

Investigating kicker
Package kicker has broken dep on kdelibs4
  Considering kdelibs4 165 as a solution to kicker 0
  Removing kicker rather than change kdelibs4
Does this indicate that I have some kind of problem with my install that 
I should try and fix?  Or is it just a matter of waiting until the 
version of one package that others depend on, catches up?

I had thought that the dist-upgrade process was something you do once in 
a while to keep things up to date for new versions and so on.  But on 
another Debian install that I did a couple of months ago I ran it and it 
did just what it said it would and removed a bunch of stuff I didn't 
want removed.  At least it didn't say "I told you so" even though it did 
warn me . ..  ..

Thanks for any help.

Ken

=appended console output example

[EMAIL PROTECTED]:/home/ken# apt-get -u dist-upgrade
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages will be REMOVED:
  ark auctex console-tools-libs emacs21 gettext-el k3b kaboodle 
kaddressbook
  kalarm kamera kandy kappfinder karbon karm kasteroids kate kate-plugins
  kbattleship kbounce kcalc kcharselect kchart kcmlinuz kcoloredit kcontrol
  kcron kdat kdeaddons-kfile-plugins kdeadmin-kfile-plugins kdebase-bin
  kdebase-kio-plugins kdegraphics-kfile-plugins kdelibs-bin kdelibs4
  kdelibs4-dev kdemultimedia-kfile-plugins kdenetwork-kfile-plugins 
kdepasswd
  kdepim kdepim-kfile-plugins kdepim-libs kdesktop kdessh kdevelop
  kdevelop-data kdf kdm kdvi kedit kfax kfind kfloppy kformula kgeo kget
  kghostview kgpgcertmanager khelpcenter khexedit kicker kiconedit 
kivio kjots
  klaptopdaemon klipper kmahjongg kmail kmailcvt kmenuedit kmix kmrml 
knotes
  koffice-data koffice-libs kompare konq-plugins konqueror 
konqueror-nsplugins
  konsole kooka korganizer koshell kpackage kpager kpaint kpersonalizer kpf
  kpilot kppp kpresenter krdc kreversi krfb kruler kscd ksmserver ksnapshot
  ksokoban ksplash kspread kstars ksync ksysguard ksysv kteatime ktimer 
ktip
  kugar kuickshow kuser kview kviewshell kwin kword kxconfig libkdegames1
  libkdenetwork2 libkonq4 libkscan1 lisa secpolicy xchat
The following NEW packages will be installed:
  acroread-debian-files cpp-3.3 debconf-i18n ettercap-common g++-3.3 
gcc-3.3
  gtk-engines-qtpixmap gtk2-engines-qtpixmap intltool-debian libconsole
  libdvdread3 libexif9 liblocale-gettext-perl libmagick++5.5.7 libncursesw5
  libplot2 libpstoedit0 librecode0 libssl0.9.6 libstdc++5-3.3-dev
  libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl 
libxcursor1
  libxrender-dev mindi-kernel module-init-tools python2.3
The following packages have been kept back
  cloop-utils libgtkmm2.0-1c102 mknbi php4 php4-mysql pppconfig
The following packages will be upgraded
  acroread autotrace console-tools cpp debconf dialog emacs21-common 
ettercap
  fortune-mod g++ gcc gtk-engines-geramik gtk2-engines-geramik initrd-tools
  kdelibs-data ksysguardd libautotrace3 libdvdnav1 mindi po-debconf 
reportbug
  telnet-ssl telnetd-ssl xchat-common
24 packages upgraded, 28 newly installed, 122 to remove and 6  not upgraded.
Need to get 46.2MB of archives. After unpacking 144MB will be freed.
Do you want to continue? [Y/n] n
Abort.
[EMAIL PROTECTED]:/home/ken#

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



cd writer setup, k3b won't work, fstab right??

2003-09-30 Thread Ken
I am using a Dell P3 that I installed Knoppix 3.2 on. I did the hard 
disk install and have a dandy running Debian unstable system. It works 
beautifully.

Then I yanked a cd burner out of another computer here and tried to get 
it working. I have xcdroast installed. When I try and run it, it won't 
even come up.

I have k3b installed. When I try and run it, it says it can't find 
cdrecord even though I have installed cdrecord. The text of the error 
message is: "Unable to find cdrecord executable
K3b uses cdrecord to actually write cds. Without cdrecord K3b won't be 
able to properly initialize the writing devices.
Solution: Install the cdrtools package which contains cdrecord."

Apt-get install does not know of any package called cdrtools.

I have Arson installed. It will come up with no error messages, but when 
I go into its setup menu, the drop down where you select the cd writer 
is blank.

My guess is that I just don't have the cd set up correctly at a basic level.

I believe I have scsi emulation set up.

Here are some bits of various files that tell the story I think:

=fstab=
# /etc/fstab: filesystem table.
#
# filesystem mountpoint type options dump pass
/dev/hda2 / reiserfs defaults 0 1
/dev/hda1 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy vfat defaults,user,noauto,showexec,umask=022 0 0
/dev/cdrom /cdrom iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdrw /cdrw iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/dvd /dvd iso9660 defaults,ro,user,noexec,noauto 0 0
/dev/cdaudio /cdaudio iso9660 defaults,ro,user,noexec,noauto 0 0
# harvest.moon:/ /home/ken/harvest nfs rw,hard,intr 0 0
/dev/sda1 /home/ken/camera auto auto,users 0 0
/dev/scd0 /cdrom auto ro,noauto,user,exec 0 0
/dev/scd1 /cdrw auto ro,noauto,user,exec 0 0
dmesg (part)===
[snip]
Kernel command line: auto BOOT_IMAGE=Linux ro root=302 hda=scsi hdb=scsi 
hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce
ide_setup: hda=scsi
ide_setup: hdb=scsi
ide_setup: hdc=scsi
ide_setup: hdd=scsi
ide_setup: hde=scsi
ide_setup: hdf=scsi
ide_setup: hdg=scsi
ide_setup: hdh=scsi

[snip]

Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hdaMA, hdbio
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdcMA, hddio
hda: WDC WD136AA, ATA DISK drive
hdc: SAMSUNG CD-ROM SC-140F, ATAPI CD/DVD-ROM drive
hdd: CD-W54E, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 26564832 sectors (13601 MB) w/2048KiB Cache, CHS=1653/255/63
ide-cd: passing drive hdc to ide-scsi emulation.
ide-cd: passing drive hdd to ide-scsi emulation.
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
Partition check:
hda: hda1 hda2
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
Highpoint HPT370 Softwareraid driver for linux version 0.01-ww1
No raid array found
No raid array found
No raid array found
Guestimating sector 26563807 for superblock
driver for Silicon Image(tm) Medley(tm) hardware version 0.0.1: No raid 
array found
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SAMSUNG Model: CD-ROM SC-140F Rev: fn10
Type: CD-ROM ANSI SCSI revision: 02
Vendor: TEAC Model: CD-W54E Rev: 7.1F
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda tray

===console output=
[EMAIL PROTECTED]:/etc# ls -l /dev | grep cdrom
brw-rw 1 root cdrom 29, 0 Apr 14 2001 aztcd0
brw-rw 1 root cdrom 41, 0 Apr 14 2001 bpcd
lrwxrwxrwx 1 root root 9 Aug 15 15:57 cdrom -> /dev/scd0
brw-rw 1 root cdrom 24, 0 Apr 14 2001 cdu535
brw-rw 1 root cdrom 30, 0 Apr 14 2001 cm206cd0
brw-rw 1 root cdrom 16, 0 Apr 14 2001 gscd0
brw-rw 1 root cdrom 24, 0 Apr 14 2001 lmscd
brw-rw 1 root cdrom 23, 0 Apr 14 2001 mcd
brw-rw 1 root cdrom 20, 0 Apr 14 2001 mcdx0
brw-rw 1 root cdrom 20, 1 Apr 14 2001 mcdx1
brw-rw 1 root cdrom 20, 2 Apr 14 2001 mcdx2
brw-rw 1 root cdrom 20, 3 Apr 14 2001 mcdx3
brw-rw 1 root cdrom 20, 4 Apr 14 2001 mcdx4
brw-rw 1 root cdrom 17, 0 Apr 14 2001 optcd
brw-rw 1 root cdrom 46, 0 Jun 2 2001 pcd0
brw-rw 1 root cdrom 46, 1 Jun 2 2001 pcd1
brw-rw 1 root cdrom 46, 2 Jun 2 2001 pcd2
brw-rw 1 root cdrom 46, 3 Jun 2 2001 pcd3
brw-rw 1 root cdrom 25, 0 Apr 14 2001 sbpcd0
brw-rw 1 root cdrom 25, 1 Apr 14 2001 sbpcd1
brw-rw 1 root cdrom 25, 2 Apr 14 2001 sbpcd2

Re: cd writer setup, k3b won't work, fstab right??

2003-09-30 Thread Ken
Since my earlier post I have fixed one part of the problem:

[EMAIL PROTECTED]:/home/ken# cdrecord -scanbus
Cdrecord-Clone 2.01a18 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg 
Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'SAMSUNG ' 'CD-ROM SC-140F  ' 'fn10' Removable CD-ROM
0,1,0 1) 'TEAC' 'CD-W54E ' '7.1F' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
    0,6,0 6) *
0,7,0 7) *
[EMAIL PROTECTED]:/home/ken#

But k3b still says it can't find cdrecord.

Ken

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



目錄更新

2003-01-15 Thread ken







  
  

  
  
  

  
  






NCR53C700 SCSI adapter driver module

1998-08-15 Thread Ken
I've been trying to install the Debian Linux distribution (version 2.0.34)
and have been able to boot my system from the rescue disk but get stuck at
the point of partitioning the hard drive since I can't access my SCSI hard
drive (or CD-ROM). 
 
The machine in questions is an NCR 3434 (486-66) with the following
hardware:
- Micro channel (MCA) bus
- NCR53C700 SCSI adapter (address 0x300, IRQ 5, SCSI ID 7)
- Seagate ST41600N hard drive (1.37 Gb, SCSI ID 6)
- Toshiba XM-6201TA CD-ROM (SCSI ID 5)
 
Apparently I need a driver for the NCR53C700 adapter.  So far I've been
unable to find a driver module for this particular adapter.  (I found
source code, but without a functional Linux system I'm unable to compile
it.)
 
I've also tried loading Linux 2.0.25 from the "Linux Universe" CD, which
allegedly supports the NCR53C700.  This version locks up during
initialization - the last message I see is "pci_init: no BIOS32 detected". 

 
I am able to run MS-DOS on this machine, so all of the hardware is working.
 
I'm hoping if I can locate a copy of ncr53c7xx.o I'll be able to insmod it
from the shell option of the rescue disk and finish the installation.  

Any assistance will be greatly appreciated.
 
K. Schopp


 


Fw: Squid Crash

1999-02-25 Thread ken
Can somebody please help me. The squid proxy server dies on me every now
and again and I can't  find out why. It looks as though it tries to restart
itself for some reason but why I don't know. There are times when it will
run for days on end and then suddenly die. Sometimes it won't even restart
without a complete shutdown first. Any ideas someone please ???


Best Regards
Ken

CLUB INTERNET - DUNDEE
[EMAIL PROTECTED] 
http://www.dundee.lia.net
Tel. (0341)  22161 (Office Hrs.)
Cell. 0825533349  (After Hrs.)

--
> From: Sarel Botha <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Squid Crash
> Date: Thursday, February 25, 1999 6:30 PM
> 
> Feb 25 12:36:38 liadun squid[210]: sslReadClient: FD 17: read failure:
(104) Connection reset by peer 
> Feb 25 12:41:02 liadun squid[210]: NETDB state saved; 694 entries, 116
msec 
> Feb 25 13:56:21 liadun squid[210]: NETDB state saved; 701 entries, 123
msec 
> Feb 25 14:08:13 liadun squid[210]: sslReadServer: FD 27: read failure:
(104) Connection reset by peer 
> Feb 25 14:09:41 liadun squid[210]: sslReadClient: FD 26: read failure:
(104) Connection reset by peer 
> Feb 25 14:10:11 liadun squid[210]: sslReadClient: FD 26: read failure:
(104) Connection reset by peer 
> Feb 25 14:11:23 liadun squid[210]: sslReadClient: FD 24: read failure:
(104) Connection reset by peer 
> Feb 25 14:13:08 liadun squid[210]: sslReadClient: FD 17: read failure:
(104) Connection reset by peer 
> Feb 25 14:35:02 liadun squid[223]: storeDirWriteCleanLogs: Starting... 
> Feb 25 14:35:02 liadun squid[210]: comm_select: select failure: (9) Bad
file descriptor 
> Feb 25 14:35:02 liadun squid[210]: examine_select: Examining open file
descriptors... 
> Feb 25 14:35:02 liadun squid[210]: FD 37: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 37 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 37 is a Socket called 'HTTP Socket'

> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:0x805c950 write:(nil)

> Feb 25 14:35:02 liadun squid[210]: FD 38: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 38 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 38 is a Socket called 'ICP Socket' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:0x8073730 write:(nil)

> Feb 25 14:35:02 liadun squid[210]: FD 65: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 65 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 65 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb 25 14:35:02 liadun squid[210]: FD 66: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 66 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 66 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb 25 14:35:02 liadun squid[210]: FD 67: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 67 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 67 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb 25 14:35:02 liadun squid[210]: FD 69: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 69 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 69 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb 25 14:35:02 liadun squid[210]: FD 70: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 70 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 70 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb 25 14:35:02 liadun squid[210]: FD 73: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 73 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 73 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb 25 14:35:02 liadun squid[210]: FD 75: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 75 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 75 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb 25 14:35:02 liadun squid[210]: FD 76: (9) Bad file descriptor 
> Feb 25 14:35:02 liadun squid[210]: WARNING: FD 76 has handlers, but it's
invalid. 
> Feb 25 14:35:02 liadun squid[210]: FD 76 is a None called '' 
> Feb 25 14:35:02 liadun squid[210]: tmout:(nil) read:(nil) write:(nil) 
> Feb

keyboard console setup

1997-04-06 Thread ken
I have trouble geting linux to understand my keyboard. I want to map a
swedish keyboard. I get the impression that the swedish map in the
base installation pack should be enough but its not. It's almost
working so far I miss only three characters.

if you can read mime this is the characters I miss åäö ÅÄÖ.

If i run 'showkeys' i get keycode 26,39 and 40. This should be
mapped  like.
26 = å
39 = ö
40 = ä

This relevant lines(many removed) is output by "loadkeys -c -v
test.map" when test.map is a copy of the defaultmap loaded in boot
script.
keycode 26, table 0 = 229
keycode 26, table 1 = 197
keycode 26, table 4 = 27
keycode 26, table 8 = 2139
keycode 39, table 0 = 246
keycode 39, table 1 = 214
keycode 39, table 8 = 2107
keycode 40, table 0 = 228
keycode 40, table 1 = 196
keycode 40, table 4 = 7
keycode 40, table 8 = 2087

the strange thing is that i dont get any output at all from the keys
 26,39,40. What could be wrong here??


xemacs color syntax

1997-04-06 Thread ken
I installed emacs and used that when I read about Xemacs that should 
be better so I installed that over emacs. I got a few complaints from 
the installation script that it forced overvrite of some of my old 
file I think it was. (is there any log of the output from dselect?).
(I taged emacs to deinstall or remove as i think dselect calls it)

Now I cant get syntax coloring to work in Xemacs. In C code only 
comments and a few random words get colored no mather what I do. 
I know its imposible to say whats wrong but could it be that xemacs 
lisp files and emcas lisp files have the same names and that I 
actually is runing emacs files ?? And so how could I do a clean 
install of xemacs. What files should I remove?

Mybe I should run emacs? what do I gain lose on runing xemacs.


Xwindows manager

1997-04-06 Thread ken
I have installed Xfree and when I start the only thing I get is one 
xterm and a very small menu where I can chose to quit or to run a 
color show program. Now is this normal ? Dont deabian create a 
default look like redhat dose?  (fvwm2)

What windows manger should I use? I am not loking for a special look 
more the one that most people is developing stuff for.  If I use 
fvwm95 can I make my own title button to max the screen only 
horisontal as the default debian fvwm2 dose ? 


Problems compiling MH on hamm system

1997-11-11 Thread ken
Hello Debian team,

I'm having some trouble compiling the mh_6.8.4-14 source package on my hamm
system.  After extracting the source using dpkg-source, and configuring
as described in the mh_6.8.4/READ-ME file, I get the following when doing
the make:

leisure# make
for d in config sbr mts zotnet uip support doc; do (cd $d; make DESTDIR=  -k 
all); done
make[1]: Entering directory `/usr/src/mh-6.8.4/config'
gcc -DATHENA -DBIND -DDUMB -DMHE -DMHRC -DMIME -DMORE='"/bin/more"' -DOVERHEAD 
-DPOPSERVICE='"pop-3"' -DRENAME -DRPATHS -DSOCKETS -DSVR4 -DSYS5 -DSYS5DIR 
-DTERMINFO -DUNISTD -DVSPRINTF -DMAILGROUP -DSENDMTS -DSMTP -DPOP 
-DSPRINTFTYPE=int -DTYPESIG=void -traditional -O2 -D_NFILE='getdtablesize()' 
-DSIGEMT=SIGUSR1   -c config.c -o config.o
In file included from /usr/include/stdio.h:29,
 from /usr/include/pwd.h:50,
 from config.c:12:
/usr/include/libio.h:72: warning: `const' redefined
/usr/include/sys/cdefs.h:81: warning: this is the location of the previous 
definition
In file included from ../h/../h/strings.h:31,
 from ../h/mh.h:331,
 from config.c:10:
/usr/include/string.h:38: warning: conflicting types for built-in function 
`memcpy'
/usr/include/string.h:60: warning: conflicting types for built-in function 
`memcmp'
In file included from /usr/include/stdlib.h:210,
 from ../h/../h/strings.h:32,
 from ../h/mh.h:331,
 from config.c:10:
/usr/include/sys/types.h:103: parse error before `#'
/usr/include/sys/types.h:104: parse error before `#'
/usr/include/sys/types.h:105: parse error before `#'
/usr/include/sys/types.h:106: parse error before `#'
/usr/include/sys/types.h:107: parse error before `#'
/usr/include/sys/types.h:108: parse error before `#'
/usr/include/sys/types.h:109: parse error before `#'
/usr/include/sys/types.h:110: parse error before `#'
In file included from ../h/../h/strings.h:32,
 from ../h/mh.h:331,
 from config.c:10:
/usr/include/stdlib.h:217: parse error before `__random'
/usr/include/stdlib.h:218: parse error before `random'
/usr/include/stdlib.h:246: parse error before `int32_t'
/usr/include/stdlib.h:246: warning: no semicolon at end of struct or union
/usr/include/stdlib.h:248: parse error before `*'
/usr/include/stdlib.h:252: parse error before `*'
/usr/include/stdlib.h:253: parse error before `}'
/usr/include/stdlib.h:255: parse error before `int32_t'
/usr/include/stdlib.h:256: parse error before `int32_t'
In file included from /usr/include/stdlib.h:360,
 from ../h/../h/strings.h:32,
 from ../h/mh.h:331,
 from config.c:10:
/usr/include/alloca.h:35: warning: conflicting types for built-in function 
`alloca'
make[1]: *** [config.o] Error 1

...and so on...

The problem seems to be with the following code in /usr/include/sys/types.h:

/* For GCC 2.7 and later, we can use specific type-size attributes.  */
#define __intN_t(N, MODE) \
  typedef int int##N##_t __attribute__ ((__mode__ (MODE)))
#define __u_intN_t(N, MODE) \
  typedef unsigned int u_int##N##_t __attribute__ ((__mode__ (MODE)))

__intN_t (8, __QI__);


I'm not sure what the problem is.  Can anyone help?

Thanks.

--ken


  __
  Ken Lauffenburger  / /__  __
  [EMAIL PROTECTED] / /  D e b i a n  G N U \ \/ /
   / / __     __  __ \  /
  / / / / / _  \ / / / / /  \
  ...Look out Bill,  / /___  / / / / ) // (_/ / / /\ \
 here comes...  (__)(_/ (_/ (_/ \/ (_/  \_)
   http://www.debian.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


qpopper and qmail

1997-11-17 Thread ken
Hello,

I'm having a little trouble getting qpopper_2.2-4 to work with
qmail_1.01-1 on a bo system.

I rebuilt the qpopper package with the changes suggested in the
qmail package for $HOME mailboxes.

The problems I am having have to do with inability to create
and use the temporary maildrop file in /var/spool/pop.  I've
tried messing with directory permissions and some other build
definitions in the makefile and popper.h, but so far no luck.

I have a feeling this is some kind of setuid/setgid type
problem, but I'm kind of ignorant about most of that stuff.

The inetd/in.qpopper daemon is running as root.mail and my
account is in the mail group.

A sample of some of the debug messages I get when trying to
connect:

Sun Nov 16 22:10:51 1997 
Sun Nov 16 22:10:55 1997 [12193] Received: "user ken"
Sun Nov 16 22:10:55 1997 
Sun Nov 16 22:10:55 1997 [12193] +OK Password required for ken.
Sun Nov 16 22:10:55 1997 
Sun Nov 16 22:11:01 1997 [12193] Received: "pass x"
Sun Nov 16 22:11:01 1997 
Sun Nov 16 22:11:01 1997 [12193] Creating temporary maildrop 
'/var/spool/pop/ken.pop'
Sun Nov 16 22:11:01 1997 
Sun Nov 16 22:11:01 1997 [12193] uid = 118, gid = 101
Sun Nov 16 22:11:01 1997 
Sun Nov 16 22:11:01 1997 [12193] Unable to open temporary maildrop 
'/var/spool/pop/ken.pop': Permission denied (13)
Sun Nov 16 22:11:01 1997 
Sun Nov 16 22:11:01 1997 [12193] [EMAIL PROTECTED]: -ERR System error, can't 
open temporary file, do you own it?
Sun Nov 16 22:11:01 1997 
Sun Nov 16 22:11:01 1997 [12193] +OK Pop server at flounder.efficient.com 
signing off.
Sun Nov 16 22:11:01 1997 
Sun Nov 16 22:11:01 1997 [12193] (v2.2) Ending request from "ken" at 
(leisure.efficient.com) 199.183.10.34
Sun Nov 16 22:11:01 1997 
Sun Nov 16 22:12:16 1997 [12201] (v2.2) Servicing request from 
"ken_ppp.efficient.com" at 199.183.10.34
Sun Nov 16 22:12:16 1997 
Sun Nov 16 22:12:16 1997 [12201] +OK QPOP (version 2.2) at 
flounder.efficient.com starting.  <[EMAIL PROTECTED]
ent.com>

If I define KEEP_TEMP_DROP then I get:

Sun Nov 16 22:54:01 1997 
Sun Nov 16 22:54:05 1997 [12935] Received: "user ken"
Sun Nov 16 22:54:05 1997 
Sun Nov 16 22:54:05 1997 [12935] +OK Password required for ken.
Sun Nov 16 22:54:05 1997 
Sun Nov 16 22:54:09 1997 [12935] Received: "pass x"
Sun Nov 16 22:54:09 1997 
Sun Nov 16 22:54:09 1997 [12935] Creating temporary maildrop 
'/var/spool/pop/ken.pop'
Sun Nov 16 22:54:09 1997 
Sun Nov 16 22:54:09 1997 [12935] uid = 118, gid = 101
Sun Nov 16 22:54:09 1997 
Sun Nov 16 22:54:09 1997 [12935] Checking for old .ken.pop file
Sun Nov 16 22:54:09 1997 
Sun Nov 16 22:54:09 1997 [12935] Old .ken.pop file not found, errno (2)
Sun Nov 16 22:54:09 1997 
Sun Nov 16 22:54:09 1997 [12935] [EMAIL PROTECTED]: -ERR maillock: 
'/var/spool/pop/ken.pop'
Sun Nov 16 22:54:09 1997 
Sun Nov 16 22:54:09 1997 [12935] +OK Pop server at flounder.efficient.com 
signing off.
Sun Nov 16 22:54:09 1997 
Sun Nov 16 22:54:09 1997 [12935] (v2.2) Ending request from "ken" at 
(leisure.efficient.com) 199.183.10.34
Sun Nov 16 22:54:09 1997 
Sun Nov 16 23:13:22 1997 [12959] (v2.2) Servicing request from 
"ken_ppp.efficient.com" at 199.183.10.34
Sun Nov 16 23:13:22 1997 
Sun Nov 16 23:13:22 1997 [12959] +OK QPOP (version 2.2) at 
flounder.efficient.com starting.  <[EMAIL PROTECTED]
ent.com>


I think I'll get this figured out eventually, but if anyone has already
gotten qpopper to work with qmail and would be willing to share
configuration information, I'd really appreciate it.

Thanks.

--ken

-- 

  __
  Ken Lauffenburger  / /__  __
  [EMAIL PROTECTED] / /  D e b i a n  G N U \ \/ /
   / / __     __  __ \  /
  / / / / / _  \ / / / / /  \
  ...Look out Bill,  / /___  / / / / ) // (_/ / / /\ \
 here comes...  (__)(_/ (_/ (_/ \/ (_/  \_)
   http://www.debian.org



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: VERY IMPORTANT!

2003-11-25 Thread Ken
Your email has been forwarded to interpol and you have been tracked to your 
location.

On Fri 14 Nov 2003 23:36, Clifford Sanusi wrote:
> Hello,
> I am Mr.Clifford sanusi, an Aide of Ex President
> Charles Taylor.
> As you may know he has recently stepped down
> from power and is presently in assylum in Calabar.
> The purpose of my letter is to ask if you can
> render the assistance requested and to bring
> to bear my present position and the very need
> for true and solicited help with respect to
> Ex President Taylor.
> Your assistance is needed in the sense that
> some funds derived from Diamond sales during his
> tenure needs to be transferred/moved from its
> present location to a place or an account that
> you may hopefully provide or arrange.
> The reason for this is that his Fixed and Liquid
> assets is being confiscated by the present government of Monrovia.
> I have been mandated to seek and find a relaible
> person based overseas, that is disposed inhelping to secure some or all of
> the funds in question. If you are that person, do respond to this letter,
> otherwise no offence meant.
> Sincerely yours,
> Mr.Clifford Sanusi.
> Please further mails should be directed to my secured email address
> [EMAIL PROTECTED]


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



kernel 2.6.3, alsa, debian testing

2004-03-05 Thread ken
Hi all.
I have problems loading the Alsa drivers in kernel 2.6.3 on my debian testing box.
I get the following error:
Starting ALSA (unknown version): failed - ALSA modules not installed
I know i compiled them as modules.
When I try modprobe snd I get:
pingu:~# modprobe snd -v
insmod /lib/modules/2.6.3/kernel/sound/core/snd.ko device_mode=0660
snd_major=116 snd_cards_limit=1 snd_device_mode=0660 snd_device_gid=29
snd_device_uid=0
FATAL: Error inserting snd (/lib/modules/2.6.3/kernel/sound/core/snd.ko):
Unknown symbol in module, or unknown parameter (see dmesg)

dmesg says:
snd: Unknown parameter `snd_major'
snd: Unknown parameter `snd_major'
snd: Unknown parameter `snd_major'

I have some alsa stuff installed since I used alsa with the 2.4 kernel earlier. 
OSS works as expected ( I copiled is as a module too).
My sound card used the module es1371 or ens1371.
Can someone point me in the right direction ? I have googled around but cant
find relevant stuff.
Regards Kenneth


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



Re: Sharing sound between users

2004-03-19 Thread ken


On Tue, 16 Mar 2004, Paul Johnson wrote:

> glenn <[EMAIL PROTECTED]> writes:
>
> > If someone logs into gnome -they own the esd and no one else can get in
> > and use sound, even after they log out, unless someone manually kills
> > esd deamon. If there are two X sessions running - only one can access
> > sound - Sound seems easier in kernel 2.6 so I'm hoping I can finally
> > solve this problem - any help... please?
>
> Get a sound card that allows more than one stream to play at the same
> time.  Yours does not.  I don't know what cards do other than mine
> does.  It's a Creative SoundBlaster Live! 128.
I have alwasys wanted this feature as well. Is it possible to achive this
with a better sound card? In windows my soundcard can play several
simultanius streams but not in linux with oss/alsa. As I understad this I
would with a better soundcard? Is this correct?
Kenneth.

>
> --
>  .''`. Paul Johnson <[EMAIL PROTECTED]>
> : :'  :
> `. `'` proud Debian admin and user
>   `-   Debian.  Because it *must* work.  debian.org   aboutdebian.com
>


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



full space, this user is limit quota

2004-04-05 Thread ken

full space, that user <[EMAIL PROTECTED]> can not receive more letter


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



full space, this user is limit quota

2004-04-05 Thread ken

full space, that user <[EMAIL PROTECTED]> can not receive more letter


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



Block size

2004-04-15 Thread ken
Hi.
How can i find which block size my ext2 or ext3 filesystem uses? Can I use 
same method on 2.4.x and 2.6.x kernel?
Thanks for answer.
Kenneth.

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



Re: Block size

2004-04-15 Thread ken
strawks writes: 

Hi, 

You can use dumpe2fs from the e2fsprogs pkg :
dumpe2fs -h 
I think it works on 2.4.x and 2.6.x kernel. 

strawks. 

Great.
Kenneth. 

On Thu, 2004-04-15 at 14:00, [EMAIL PROTECTED] wrote:
Hi.
How can i find which block size my ext2 or ext3 filesystem uses? Can I use 
same method on 2.4.x and 2.6.x kernel?
Thanks for answer.
Kenneth. 



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



Re: block a program from access the Internet.

2013-09-09 Thread ken

On 09/09/2013 05:54 AM Lars Noodén wrote:

On 9/9/13 3:14 PM, atar wrote:> Thanks for replying!


Unfortunately, when invoking the 'iptables' command with the arguments
you've suggested, the program says:


iptables v1.4.14: unknown option "--cmd-owner"
Try `iptables -h' or 'iptables --help' for more information.


Regards!

atar.



My mistake.  It seems that the tutorial is way out of date.

$ iptables -m owner --help
...
owner match options:
[!] --uid-owner userid[-userid] Match local UID
[!] --gid-owner groupid[-groupid]   Match local GID
[!] --socket-exists Match if socket exists

So it looks like cmd-owner is no longer used.  Apparmor or SELinux
mentioned by Claudius are the next things to try, though they are more
complex.


Hmmm.  I get this:

# iptables -V
iptables v1.3.5
# iptables -m owner --help
...
OWNER match v1.3.5 options:
[!] --uid-owner userid Match local uid
[!] --gid-owner groupidMatch local gid
[!] --pid-owner processid  Match local pid
[!] --sid-owner sessionid  Match local sid
[!] --cmd-owner name   Match local command name
NOTE: pid, sid and command matching are broken on SMP




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

Archive: http://lists.debian.org/522db7dc.3050...@mousecar.com



Re: Printer brand recommendations

2013-09-09 Thread ken

On 09/09/2013 04:32 PM David Christensen wrote:

On 09/09/13 10:48, Beco wrote:

I'm in need of help to find a new printer.


I've had good luck with HP LaserJet printers.  I currently own a HP
LaserJet P2055dn and it integrates nicely with Windows XP, Debian
Squeeze, and Debian Wheezy:


 > http://www.openprinting.org/printers

http://www.openprinting.org/printer/HP/HP-LaserJet_P2055dn


HTH,

David


I've used Epson with success, but won't another one.  The cost of the 
cartridges is so high, it's like I'm buying the printer over and over 
again every year.  They got taken to court by a class action suit and 
lost, but the "award" to the plaintiffs was a couple coupons to spend on 
their cartridges.  :^\


My next printer is probably going to be an HP.


To find out which printers work with linux, see 
.



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

Archive: http://lists.debian.org/522e40b5.3070...@mousecar.com



Re: building from source for different arch

2013-09-10 Thread ken

On Mon, Sep 09, 2013 at 11:20:34PM +0200, Lucio Crusca wrote:

I'm trying to build opus package from source for both amd64 and i386, after
having applied the patch by Pino Toscano I've found here:


Look at the manpage for gcc (which I'm assuming you'll be using) and 
you'll see switches for different CPUs and architectures.  These 
switches can be specified in the makefiles.  You'll want a separate 
makefile for each compile.



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

Archive: http://lists.debian.org/522fb68c.9030...@mousecar.com



Re: find'ing files containing certain words (all of them) ...

2013-09-21 Thread ken

On 09/21/2013 07:56 AM Rob Owens wrote:

On Sat, Sep 21, 2013 at 05:22:09AM -0400, Albretch Mueller wrote:

  the short bash script bellow you can use to find text files
containing one word, but my attempts at trying to make it find more
than one word within the same file haven't been successful


I think you are looking for the 'grep' command.

"grep word path/*" will find all files in "path" which contain "word"

"grep word path/* | grep word2" will do the same, but then narrow down the
search to files that also contain "word2"

man grep for options.  But you might be interested in '-r' to
recursively search a path.

-Rob


Rob,

This is incorrect, though it's a common misconception.  It will only 
work if both of the words sought are on the same line within in the 
sought files.  This isn't what the OP is asking for.


Instead:

$ echo two words > grep-AND-test1
$ echo two > grep-AND-test2
$ echo words >> grep-AND-test2
$ grep -l words $(grep -l two *)
grep-AND-test1
grep-AND-test2



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

Archive: http://lists.debian.org/523da33a.3040...@mousecar.com



Re: Sharing Internet to Android Devices

2013-10-16 Thread ken

On 10/15/2013 05:29 AM Muntasim-Ul-Haque wrote:

Hi,
I want to share Internet from my Debian to my Android phone. How can I
do that?


Your question is a little ambiguous, so my response might not be what 
you're after.  Check out




and let me know if I've guess right.


Thanks.


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

Archive: http://lists.debian.org/525ebe5b.30...@mousecar.com



Re: Advice on new desktop/building?

2013-10-20 Thread ken

Jen,

First, congratulations on going about this the correct way, i.e., 
delineating what you want to do with the machine before going shopping. 
 Most people buy a computer first, then try to do things with it that 
the machine will do only poorly, if at all.


Next, though I admire your enterprise in wanting to build your own 
machine, I hope you aren't too wedded to the idea.  I've gainfully 
worked in the computer field since the late '80s, messed around with 
them pretty seriously for many years before that, and started using 
Linux in 1992.  I decided to build my own machine once, and it was a 
nightmare.  (I should inject at this point that at the same time I was 
building my own PC, at work I had a $1.8 million budget to put together 
an entire UNIX lab consisting of over 50 pre-spec'd boxes, with four 
co-existing networks each using entirely different technologies, 
different UNIX vendors, a SAN, and several Windows boxes.  Putting all 
that together was easier than building my own PC at home.)  I did get 
that PC together eventually and got everything working and used it for a 
lot of years, but my sense of satisfaction at the accomplishment was 
buried under the number of very frustrating hours I spent getting the 
correct and functioning components and getting all of them to work 
together properly.  If you would like to learn a lot of deeply technical 
details that you'll never need to know again, if you don't mind spending 
lots of time on lots of technical details, if you don't mind having a 
few parts left over which you'll never use, if you don't mind spending 
time with vendors who insist that you prove to them that the component 
they sold you is bad, then you might enjoy building your own PC.


I'd recommend instead as a general strategy to buy an already-built 
computer... what just about everybody does.  Take your specifications 
(pretty much what you emailed to the list) to your local computer outlet 
and have the salesperson actually write down which machines they sell 
which satisfy those specs.  Alternatively, you could email your specs to 
an online salesperson and have them reply to your email with machines 
they sell which satisfy the specs.


If you can't find a ready-made machine that's what you want, then you'll 
have to fill in the gaps by installing cards in slots.  It should be, 
for example, fairly easy to buy a card which gives you a couple more USB 
ports.  Note though that the card you buy has to match the slot.  This 
might be especially critical if you need to install a second video card. 
 Don't actually buy the machine until you're certain that all the cards 
you're going to need to install will fit-- physically and technically-- 
into the slots on the motherboard.  This goes of course for the RAM too, 
though this is hardly ever as problematic.


Re: gigabit ethernet:  Are all the other nodes on your local networks 
also running this, including your router?  If not, then it's a 
questionable feature.



That's enough for now.
Good luck,
ken


On 10/19/2013 02:58 PM Dr. Jennifer Nussbaum wrote:

My current desktop has been having some issues lately and I think its
time to consider replacing it. Ive been having trouble finding exactly
what I want, even tho' this is straightforward, so i though I'd ask here
to get some advice, maybe even about building my own machine (which Ive
never done but am willing to learn).

This is to run Wheezy for simple desktop use--web surfing, running home
music network, some videos, some coding, but no gaming, no video/sound
editing, no real storage needs.

I DO want:

   Small or smallish form factor (currently using a slim tower), attractive
   SSD (small capacity--everything impt is on a NAS elsewhere, i just
want the system to run fast)
   Ability to have two monitors (currently using VGA and HDMI 'cause
that's the ports i have)
   Optical drive
   Lots of USB ports (3.0 not really necessary but wouldnt hurt I guess)
   Gigabit Ethernet
   Relatively quiet, energy efficient
   8 GB RAM (for future-proofing, don't normally need much)

I DON"T want or don't care about:

   Massive speed and 16 cores (but want enough that I wont need to
replace in a year)
   Fancy video card (built-in has always been fine, if I can watch
movies that's all i need)
   Fancy sound card (I use USB into a DAC for serious things)
   Massive mechanical HD

When i look at computers from HP or Lenovo, it looks like it costs a
fortune to add a SSD (and i dont want to buy a separate one from Crucial
and then have the original one in a box on my shelf) and memory. The
cheaper machines seem to be worrisomely basic, like in a year they won't
be able to run YouTube, and the more expensive ones still need upgrades
of SSD and RAM. And in particular the smaller form factors tend to be
pretty spendy.

But i have literally no idea how

new laptop: compiling source for i7 CPUs???

2013-10-27 Thread ken

One laptop I'm looking at buying offers these CPU options:

* 4 Generation Intel® Core™ i7-4700MQ Processor ( 2.4 GHz 6MB L3 Cache - 
4 Cores plus Hyperthreading )


* 4th Generation Intel® Core™ i7-4800MQ Processor ( 2.7 GHz 6MB L3 Cache 
- 4 Cores plus Hyperthreading )


* 4th Generation Intel® Core™ i7-4900MQ Processor ( 2.8 GHz 8MB L3 Cache 
- 4 Cores plus Hyperthreading )


There are considerable price increases with each quite small increase in 
speed-- hundreds of dollars--, but over two or three years I think the 
extra dollars would be worth the performance increase... *IF* there is a 
noticeable performance increase.


This would depend to a large degree upon the code... specifically, if 
the code (OS and apps) makes use of the expanded instruction sets of the 
more expensive CPUs.  Generally the code doesn't, unless gcc/make is 
configured for the particular CPU and then that source is compiled. 
I've done this in the (distant) past and noticed a significant increase 
in performance over the stock executables provided by the distro.


Though I'm currently not using debian, it's what I'm planning to use. 
From the web I find that the latest stable wheezy has gcc 4.6, but the 
manual for that version doesn't seem to offer many option for core i7 
cpus, let alone options which distinguish the three CPUs above.


http://gcc.gnu.org/onlinedocs/gcc-4.6.4/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options 
says "mtune" can be set to one of these:


corei7
Intel Core i7 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, 
SSSE3, SSE4.1 and SSE4.2 instruction set support.

corei7-avx
Intel Core i7 CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, 
SSSE3, SSE4.1, SSE4.2, AVX, AES and PCLMUL instruction set support.

core-avx-i
Intel Core CPU with 64-bit extensions, MMX, SSE, SSE2, SSE3, SSSE3, 
SSE4.1, SSE4.2, AVX, AES, PCLMUL, FSGSBASE, RDRND and F16C instruction 
set support.


Does 'cpuinfo' tell us about all of these when they're present, or are 
we supposed to find out some other way?


These three options wouldn't seem to come close to specifying all the 
various core i7 CPUs there are and optimizing for all the features of 
each.  Getting *some* of the additional instructions offered by i7s 
would certainly help performance over what the standard distro offers, 
but probably still not enough to warrant the extra expense of the 
higher-end CPUs.


http://gcc.gnu.org/onlinedocs/gcc-4.6.4/gcc/i386-and-x86_002d64-Options.html#i386-and-x86_002d64-Options 
also offers:


native
This selects the CPU to tune for at compilation time by determining 
the processor type of the compiling machine. Using -mtune=native will 
produce code optimized for the local machine under the constraints of 
the selected instruction set. Using -march=native will enable all 
instruction subsets supported by the local machine (hence the result 
might not run on different machines).


but, again, does it make a distinction between the three CPUs cited at 
top (and yet others)?  If the code produced for all three CPUs is the 
identical, then there isn't much point in spending for the costlier CPUs.


And does using "native" give better or worse results than specifying one 
of the core* options?


Also, when compiling a kernel to run on a VM, should some other gcc 
option(s) be used?



At this point I'd just be making wild guesses about how all this 
actually works out.  So does anyone have experience with, or maybe some 
inside knowledge about, any of this?


If so, thanks for any light you can shed.


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

Archive: http://lists.debian.org/526d8c30.6050...@mousecar.com



Re: ANDROID

2013-10-29 Thread ken

On 10/29/2013 10:56 AM alex.pad...@laposte.net wrote:

Hello to all,

I shall want to buy a SMARTPHONE with a free O.S (GNU).
Many of my friends say to me that ANDROID is a free system, it is LINUX!
What do you think about it?
Does it  exist a SMARTPHONE with a system DEBIAN GNU LINUX

Thank you for your answers

Alex


I've been told that there is Linux which runs on some smartphones, 
however, installing that would void your warranty.


You might want to look at openmoko.org and openmoko.com.  These offer 
smartphones with GNU/Linux from the beginning.  So of course you can get 
all the source code, develop things yourself, etc.


hth,
ken


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

Archive: http://lists.debian.org/526fd709.7000...@mousecar.com



Re: ANDROID

2013-10-29 Thread ken

On 10/29/2013 12:26 PM Andrew McGlashan wrote:

On 30/10/2013 2:40 AM, ken wrote:

>On 10/29/2013 10:56 amalex.pad...@laposte.net  wrote:
>You might want to look at openmoko.org and openmoko.com.  These offer
>smartphones with GNU/Linux from the beginning.  So of course you can get
>all the source code, develop things yourself, etc.

Latest news, almost 2 years ago!!!


I have to laugh at this kind of thinking.  Some device can work 
flawlessly, do exactly what you want. do it exactly how you want it 
done, and cost less than the newest.  But if the device was developed 
TWO YEARS AGO (!!), then it's no good?!


Well, I suppose the calendar year is a metric which is easy to 
understand and doesn't require very much thought to make an assessment. 
 Too, it says more about the assessor than the assessed.



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

Archive: http://lists.debian.org/526ff324.3080...@mousecar.com



Re: ANDROID

2013-10-31 Thread ken

On 10/30/2013 08:35 AM Charlie wrote:

  On Wed, 30 Oct 2013 07:40:27 -0400 "Celejar cele...@gmail.com" sent
  this:

>The point here is that the FSF, who you consider "the right
kind of nuts", *discourages* you from using Debian.


Celejar


   Not me. That might be your interpretation, it isn't mine.

Charlie


Not mine either.



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

Archive: http://lists.debian.org/52722ed6.7090...@mousecar.com



Re: ANDROID (back to the OQ)

2013-10-31 Thread ken

On 10/29/2013 10:56 AM alex.pad...@laposte.net wrote:

Hello to all,

I shall want to buy a SMARTPHONE with a free O.S (GNU).
Many of my friends say to me that ANDROID is a free system, it is LINUX!
What do you think about it?
Does it  exist a SMARTPHONE with a system DEBIAN GNU LINUX

Thank you for your answers

Alex


Alex,

As you can see (from this long conversation), there are a variety of 
interpretations of what "free" means and its value to the end user. 
Getting back to your original concerns, here are some observations I've 
made about android which indicate to me that it's not free.


When you buy a phone with android on it, you don't have root access to 
the system.  You're just a regular user.  Yes, you can root the phone, 
but then you invalidate the warrantee, from what I understand, both the 
software and hardware warrantees.  So if something fails on your phone, 
the company whom you bought it from won't provide support.  If something 
breaks (whether it's software or hardware), you're on your own.  There 
are some android-specific lists which could be helpful.


Updates are automatic.  That is, you don't control what of the OS is 
changed or when.  Well, you could take the battery out of the phone 
and/or take other measures, but then the phone isn't as useful.


There are FOSS apps available.  But most of what's available at 
play.google.com is not FOSS.


I wanted a FOSS editor on my android, so installed both emacs and vi. 
Neither of them are functional and need a LOT of further development.


When you buy a new android phone, you have to assume that everything on 
it will be accessible to prying eyes and might even be used against you 
maliciously.  Most apps are closed source and many have permission to 
look at personal data on your phone they have no reason to access. 
I.e., an app which allows you to keep a list of food items you wish to 
buy will have free use of your network connection and access to your 
address book.  Of course it's your choice whether to install such apps 
or not, it's my experience that the majority of the available apps are 
overly intrusive in one way or another.


Add to this that important parts of the OS are closed source, so 
whoever's in control of the OS has free access to the entire phone. 
Then, too, if you've been following the news at all over the past few 
weeks, you'll know to assume that anything garnered by a commercial 
interest is likely passed on to yet other institutions.  This means your 
actions are likely transparent to others, but theirs and the operations 
of a device you purchased are not transparent to you.  This is pretty 
much the opposite of FOSS and demonstrates one reason (among many) why 
FOSS is important.


I've never googled for 'debian on a smartphone', so couldn't say that 
such a thing exists.  I can only say I've never heard of such a thing. 
The closest thing I have heard of is, as I mentioned before, OpenMoko. 
FOSS-- and so then too OpenMoko-- is often constrained by patents, 
licensing, NDAs, and other factors of a commercial nature.  And so FOSS 
and FOSH developers, OpenMoko included, find it advantageous to wait 
until patents expire.  The result is that the hardware might not be the 
most recent to come to market.  As I pointed out elsewhere in this 
thread, it's rather myopic and mindless to dismiss a product simply 
because it's not the newest on the market (when in fact this can be an 
advantage).  Far more important is what you want to do with a product 
and how you want to do it.  For example, do you really need to run 
802.11q on a proprietary system or does 802.11b/g running FOSS provide 
what you need and for other reasons might even be preferable?


In short, like any other computer (or most anything in the world a 
person would consider acquiring), it's best to think about what you want 
to do with it and how you want to do it... maybe even make a list of the 
features and characteristics and capabilities sought.  Then with that in 
mind, search for what satisfies those.






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

Archive: http://lists.debian.org/52728151.1080...@mousecar.com



Re: ANDROID (back to the OQ)

2013-10-31 Thread ken

On 10/31/2013 02:02 PM Beco wrote:

On 31 October 2013 13:12, ken mailto:geb...@mousecar.com>> wrote:


Alex,

As you can see (from this long conversation), there are a variety of
interpretations of what "free" means and its value to the end user.
Getting back to your original concerns, here are some observations
I've made about android which indicate to me that it's not free.

When you buy a phone with android on it, you don't have root access
to the system.  You're just a regular user.  Yes, you can root the
phone, but then you invalidate the warrantee, from what I
understand, both the software and hardware warrantees.  So if
something fails on your phone, the company whom you bought it from
won't provide support.  If something breaks (whether it's software
or hardware), you're on your own.  There are some android-specific
    lists which could be helpful.

[cut]


Hello Ken,

I agree with you in all the topics bellow (the [cut]) but this one above.

The fact that you cant be root doesn't add to Android not being FOSS.

Lets say, for example, that you create an "enterprise" that makes
software (and hardware, to be more close to the example. Suppose you
build a small computer using go'old Z80 processor. The motherboard isn't
that big. You call it Z80-Alive! )

Now, you sell this machines in your community (school, church, whatever)
with a support contract, and state: You'll be THE only sysadmin, you'll
have root access and buyers will be a regular users. As long as buyers
don't try to gain root access, you'll give support to software and hardware.

In some enterprises, if you try to get root access, you may be fired! :)
But Z80-Alive!, as someone buy the piece of hardware and you are just
helping out, the buyer can't (won't) be fired, just lose warranty.

Well, for me, this enterprise can't be called "not free" based only on
that.

I agree with the other topics in your email: closed softwares installed
without your agreement, and other stuffs (closed hardware, drivers,
etc). But to isolate the "feature" -->become root<--, suppose this
enterprise will only install FOSS, will only use public domain hardware,
and ask you if you are ready for an update before pushing it to your Z80
machine.

Avoiding users to become root is just a policy matter of an
organization, in which you are part.

Of course you can become root anyway and void warranty. That is not bad.
That is just an weighted conscious option.

My best,
Beco.


Beco,

This could get us into another abstract ontological discussion about 
what constitutes FOSS and how to define it... a sort of discussion I 
don't really care to engage in right now.  I'll just say that, in your 
example, perhaps the machine is free for you, but not free to those you 
sell it to.  And at work I might have root access to a FOSS system 
running a webserver, but visitors to that website don't.  True, this 
doesn't mean that it's not FOSS.  But I own the system, the visitors 
don't.  If someone else at work has root access to a machine and I'm 
just the DBA and don't have root access, true, it's still FOSS; if 
something's not right with the system, the sysadmin can change it 
(because that's his job); but he doesn't have to beg the whim of the 
owner or vendor of proprietary software.  So the distinction between 
FOSS and proprietary remains.


In the case of android, I've paid for the hardware and for someone to 
install and support the software and provide updates.  Vendors don't 
advertise the fact at all that you don't get root access and that, 
actually, other unseen people are controlling your phone.  And that's 
what it really comes down to-- who has control.  And this is a prime 
condition for FOSS, that *you* have full control of something you 
bought, not someone else.


It's also true that I could root my phone and accept that I've voided 
the warrantee.  But part of the purchase price I paid for the phone 
includes support and the reasonable guarantee that the hardware won't 
fail in the first year (or whatever the term paid for).  So by rooting 
my android, by simply taking control of something I paid for, I'm losing 
something else I paid for.  With FOSS, I think we could agree, this sort 
of conundrum doesn't arise.



Best,
ken


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

Archive: http://lists.debian.org/5272a7d5.80...@mousecar.com



Re: ANDROID (back to the OQ)

2013-11-01 Thread ken

On 10/31/2013 03:36 PM Neal Murphy wrote:

On Thursday, October 31, 2013 02:56:21 PM ken wrote:

On 10/31/2013 02:02 PM Beco wrote:

On 31 October 2013 13:12, ken mailto:geb...@mousecar.com>> wrote:
 Alex,

 As you can see (from this long conversation), there are a variety of
 interpretations of what "free" means and its value to the end user.
 Getting back to your original concerns, here are some observations
 I've made about android which indicate to me that it's not free.

 When you buy a phone with android on it, you don't have root access
 to the system.  You're just a regular user.  Yes, you can root the
 phone, but then you invalidate the warrantee, from what I
 understand, both the software and hardware warrantees.  So if
 something fails on your phone, the company whom you bought it from
 won't provide support.  If something breaks (whether it's software
 or hardware), you're on your own.  There are some android-specific
     lists which could be helpful.

[cut]


Hello Ken,

I agree with you in all the topics bellow (the [cut]) but this one above.

The fact that you cant be root doesn't add to Android not being FOSS.

Lets say, for example, that you create an "enterprise" that makes
software (and hardware, to be more close to the example. Suppose you
build a small computer using go'old Z80 processor. The motherboard isn't
that big. You call it Z80-Alive! )

Now, you sell this machines in your community (school, church, whatever)
with a support contract, and state: You'll be THE only sysadmin, you'll
have root access and buyers will be a regular users. As long as buyers
don't try to gain root access, you'll give support to software and
hardware.

In some enterprises, if you try to get root access, you may be fired! :)
But Z80-Alive!, as someone buy the piece of hardware and you are just
helping out, the buyer can't (won't) be fired, just lose warranty.

Well, for me, this enterprise can't be called "not free" based only on
that.

I agree with the other topics in your email: closed softwares installed
without your agreement, and other stuffs (closed hardware, drivers,
etc). But to isolate the "feature" -->become root<--, suppose this
enterprise will only install FOSS, will only use public domain hardware,
and ask you if you are ready for an update before pushing it to your Z80
machine.

Avoiding users to become root is just a policy matter of an
organization, in which you are part.

Of course you can become root anyway and void warranty. That is not bad.
That is just an weighted conscious option.

My best,
Beco.


Beco,

This could get us into another abstract ontological discussion about
what constitutes FOSS and how to define it... a sort of discussion I
don't really care to engage in right now.  I'll just say that, in your
example, perhaps the machine is free for you, but not free to those you
sell it to.  And at work I might have root access to a FOSS system
running a webserver, but visitors to that website don't.  True, this
doesn't mean that it's not FOSS.  But I own the system, the visitors
don't.  If someone else at work has root access to a machine and I'm
just the DBA and don't have root access, true, it's still FOSS; if
something's not right with the system, the sysadmin can change it
(because that's his job); but he doesn't have to beg the whim of the
owner or vendor of proprietary software.  So the distinction between
FOSS and proprietary remains.

In the case of android, I've paid for the hardware and for someone to
install and support the software and provide updates.  Vendors don't
advertise the fact at all that you don't get root access and that,
actually, other unseen people are controlling your phone.  And that's
what it really comes down to-- who has control.  And this is a prime
condition for FOSS, that *you* have full control of something you
bought, not someone else.

It's also true that I could root my phone and accept that I've voided
the warrantee.  But part of the purchase price I paid for the phone
includes support and the reasonable guarantee that the hardware won't
fail in the first year (or whatever the term paid for).  So by rooting
my android, by simply taking control of something I paid for, I'm losing
something else I paid for.  With FOSS, I think we could agree, this sort
of conundrum doesn't arise.


In the US, the Magnusson-Moss act *may* act to invalidate such warrantee
denials; 15-USC2302(c) is the specific section:

-
Prohibition on conditions for written or implied warranty; waiver by
Commission
No warrantor of a consumer product may condition his written or implied
warranty of such product on the consumer’s using, in connection with such
product, any article or 

Re: ANDROID (back to the OQ)

2013-11-01 Thread ken



On 10/31/2013 03:51 PM Doug wrote:

On 10/31/2013 02:56 PM, ken wrote:

On 10/31/2013 02:02 PM Beco wrote:

On 31 October 2013 13:12, ken mailto:geb...@mousecar.com>> wrote:


 Alex,

 

 When you buy a phone with android on it, you don't have root access
 to the system.  You're just a regular user.  Yes, you can root the
 phone, but then you invalidate the warrantee, from what I
 understand, both the software and hardware warrantees.  So if
 something fails on your phone, the company whom you bought it from
 won't provide support.  If something breaks (whether it's software
 or hardware), you're on your own.  There are some android-specific
 lists which could be helpful.

[cut]


I may be wrong, but I seem to remember seeing somewhere recently that it
is illegal in the United States to jailbreak a phone.
(I don't know how they'd catch you, or what the penalty would be.)

--doug


Many years ago-- well, between ten and twenty, I believe-- there was 
legislation which allowed people to install any kind of phones they 
wanted in their home or business.  Prior to this AT&T would permit only 
its own phones and phone systems.  This same was interpreted to allow 
people to install whatever software on their own phones that they 
wanted.  I'm (still) not a lawyer, but I'm pretty sure that's the 
situation today, i.e., you bought it, it's yours, so you can do what you 
want with it, including jailbreaking it.  But doing so would more than 
likely invalidate any warrantee and support agreement that came with the 
phone.




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

Archive: http://lists.debian.org/52738e77.5090...@mousecar.com



Re: ANDROID (back to the OQ)

2013-11-01 Thread ken

On 10/31/2013 05:26 PM Slavko wrote:

Hi,

Dňa Thu, 31 Oct 2013 15:51:31 -0400 Doug 
napísal:


I may be wrong, but I seem to remember seeing somewhere recently that
it is illegal in the United States to jailbreak a phone.
(I don't know how they'd catch you, or what the penalty would be.)


Perhaps, because this will break the backdoor(s) too? And then stop
the NSA (and similar) to spy you and your friends (via you)? :-P


Well, partly  If you want to get on the internet or a cellular 
network, those are still be surveilled.  There is an app called RedPhone 
(available on google play) from Carnegie-Mellon University which 
provides symmetrical encryption of a type purported to be, for all 
practical purposes, uncrackable, even by the billion-dollar spooks.  If 
your keystrokes can be read, however, decryption isn't even necessary.




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

Archive: http://lists.debian.org/527391a3.1010...@mousecar.com



Re: Lenovo R61 Think Pad dead after fewer than five years

2013-11-04 Thread ken

On 11/02/2013 02:53 PM Ken Heard wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In May 2008 I purchased new and started using a Lenovo R61 Think Pad.
  Originally I installed Lenny on it and subsequently upgraded it to
Squeeze.

Starting from 2013-01-01 various things started going wrong.  For
example I began to get segmentation fault errors for packages that I
had used successfully before that date.  Some of other problems where
intermittent sound, and failure to detect the printer, even manually.

At first I thought these were software faults and sought help from
this list.  Finally I decided to spend $100 for diagnostic tests.  The
diagnosis was a failed main board, but the hard drive and the memory
modules were okay.  The cost of repairs would approximate the cost of
a new laptop.

Is it normal for any laptop to fail in fewer than five years, or is
such a failure rate unique to Lenovo's laptops?

Regards, Ken Heard
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlJ1SjoACgkQlNlJzOkJmTc6VgCggZKp2e30QS0fKTtayl//j9x8
HLEAn1S0w3IcH8NXCY+0/GZ/t0GrYG4A
=lLag
-END PGP SIGNATURE-----


Ken,

It surprised me that I had quite a few problems early on with a Dell 
laptop I bought near the end of 2004.  Within a hundred days there was a 
failure in the mainboard and it had to be replaced.  (The warrantee 
provided parts and labor for just the first 90 days.)  Over the next 
three years there were other problems.  Fortunately, I paid for extended 
warrantees for the first three years because every year I had to have 
something fixed which would have cost something like double what the 
extended warrantee cost me each year.  After three years they wouldn't 
even sell me another extended warrantee.  So it's quite apparent that 
Dell doesn't think their stuff is sturdy enough to last more than three 
years.


Since then, however, I've had just four problems.  One is that I've worn 
the characters off of several of the keys on the keyboard; you'd think 
this could have been manufactured better.  And the keyboard was already 
replaced once before (during the extended warrantee period.


The second problem was that the touchpad... pretty much the same as the 
keyboard: I just wore out the surface of it.


I don't know when the third problem started.  Earlier this year I 
discovered that my 1.5GHz CPU was always running at 0.6GHz.  It's a 
"stepping CPU", which means that it can run at different speeds 
depending upon conditions and preference.  I liked this feature at first 
because running at slower speeds meant (supposedly) the system would 
consume less electricity.  But the CPU runs slower also when its 
temperature gets too high.  Well, perhaps the code that handles this is 
messed up, but this machine runs at 600 MHz even when the temperature is 
reasonably low (like now: 55C), even when it's plugged into the 
mains/wall (like it is now), and even when the load average is over 4 
(as it is now).  Under these conditions the CPU should be running faster 
(and it did during the first year).  So the way I see it, I paid for a 
laptop with a 1.5GHz CPU, but got one with a 600MHz processor.


** To see what speed your processor is running at, do "cat 
/proc/cpuinfo" or check out "cpuspeed".


The fourth problem just started earlier this year: first one part of the 
display became too bright, then the lid became floppy, wouldn't stay in 
position, and would either fall completely open or else onto the 
keyboard.  Then the screen started going black after a few minutes. 
Then after a few seconds.


** Normally I'm not at all an advocate of extended warrantees.  People 
smarter than I am have determined that, financially speaking, they're 
not worth it.  But as it played out for me in this instance, the 
extended warrantees did save me some money.  But that might speak more 
to the shoddy design and/or manufacturing of laptops or this particular 
laptop than it does to the value of an extended warrantee.


Some people might say that it's pretty good to be able to still use a 
laptop almost nine years after it was bought new.  Others, myself among 
them would say this is an example of diminished expectations and that 
something falling apart or breaking down sooner than it should is 
another way to accomplish planned obsolescence.



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

Archive: http://lists.debian.org/52779bc9.80...@mousecar.com



Re: 3D printer

2013-11-04 Thread ken

On 11/03/2013 08:57 AM Mirco Piccin wrote:

Hi


I would like to start a topic on 3d printers. Does anyone here have
experience in using such printers with debian/linux?


Our local public library bought a couple of these.  They give classes on 
them.  And if you want something printed, you email them the STL file, 
they'll print it, and send you an email back when you can pick it up.  I 
think they charge about 5 cents/pound... hardly anything.


Unless you really want to play around with building it, it's a much 
better way to go than having your own.




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

Archive: http://lists.debian.org/5277a020.1080...@mousecar.com



Re: 3D printer

2013-11-04 Thread ken

On 11/04/2013 11:31 AM Beco wrote:

On 4 November 2013 10:24, ken  wrote:

On 11/03/2013 08:57 AM Mirco Piccin wrote:


Hi


I would like to start a topic on 3d printers. Does anyone here have
experience in using such printers with debian/linux?



Our local public library bought a couple of these.  They give classes on
them.  And if you want something printed, you email them the STL file,
they'll print it, and send you an email back when you can pick it up.  I
think they charge about 5 cents/pound... hardly anything.

Unless you really want to play around with building it, it's a much better
way to go than having your own.



Hi Ken,

I was thinking in build one actually. It can be useful, and I have
some students willing to work on it.

The problem is that we know all the history of struggle between linux
and printers (and devices in general). I was wondering if this is the
case with 3D printers.

Its not easy to find devices debian/linux compatible. Tell me about
building your own!


I haven't done it and probably won't.  As said, my local library has two 
of them, the local makersalliance has a couple, and I already have too 
many other projects I'm working on.


I haven't looked recently, but I'd imagine there's a lot of info on the 
web about building 3D printers.




Do you know if the model your library has works on linux?


No idea.  I should have thought to ask them when I was there.

From the little I know, all the attached computer would do would be to 
slice the drawing and send the result to printer.  I would imagine that 
gnu/linux would easily be capable of doing that.



Good luck with your project!

ken




Mirco,

I think I like most the Prusa i3. It looks pretty! And being the third
version, the site states: "he i3 incorporates lessons learned from the
previous two Prusa designs, as well as other popular modern RepRap
designs. "

I wonder how to connect it to computer. Is it USB?

And do you need any special driver? How debian sees it?

Thanks!

Beco.

PS. No, Charles. I'm not a hit man. :) Actually, I don't like guns
that much. If humanity wants to kill each other, go for it. I'll just
enjoy my lonely ride with art, programming, music, poetry, science,
etc., the best I can! Cheers!







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

Archive: http://lists.debian.org/5277d098.6000...@mousecar.com



Re: free-software phone: neo900

2013-11-05 Thread ken

On 11/04/2013 08:54 PM green wrote:

Something that might be of interest to Debian users: the neo900, at
, is intended to be a successor of the Nokia N900,
with significantly improved specifications and features, as well as
full free software support (excluding PowerVR 3D acceleration).  It is
even (as of this writing) planned to have Debian GNU/Linux as the
bundled OS.

Comments?



I notice that, like the OpenMoko, there's no camera(s)... or did I miss 
mention of it?   Having a camera is one of the main reasons I relented 
and bought a smart phone in the first place.  I use it quite often to 
take photos and videos.  We might have to wait for patents to expire so 
some hardware moves into the public domain before certain features 
become viable for open hardware systems.


Is there a microphone?  Again, an important piece of hardware, useful 
for a lot of applications and purposes.  If it's a phone, we'd fully 
expect there to be a mike, but these days stuff like that should be 
explicitly listed.






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

Archive: http://lists.debian.org/5278ce36.9050...@mousecar.com



Re: new laptop: compiling source for i7 CPUs???

2013-11-11 Thread ken

On 11/10/2013 03:02 PM Stefan Monnier wrote:

There are considerable price increases with each quite small increase in
speed-- hundreds of dollars--, but over two or three years I think the extra
dollars would be worth the performance increase... *IF* there
is a noticeable performance increase.


The rule of thumb, in general is that a speed increase smaller than
about 30% goes unnoticed.


Stefan, thanks for your reply.

That 30% sounds about right, but then too I suppose it would also depend 
upon how closely the speed is being examined and how perceptually 
prominent the executable is and other factors.






This would depend to a large degree upon the code... specifically, if the
code (OS and apps) makes use of the expanded instruction sets of the more
expensive CPUs.  Generally the code doesn't, unless gcc/make is configured
for the particular CPU and then that source is compiled. I've done this in
the (distant) past and noticed a significant increase in performance over
the stock executables provided by the distro.


Over time, the "baseline" used by the distros evolves, so by the time
your machine is old, most of its features will be used by the distro.


This is why I'm not interested in the "baseline" used by distros, but 
rather in compiling from sources and tailoring compilation to a specific 
CPU.  This brings up the next issue: how difficult is it in debian to 
configure the upgrade process so that it is the sources which are 
automatically downloaded and (also automatically) compiled?





But don't forget that most of those new features only affect very
specific programs.  Some of them may not even affect any program at all
(e.g. because later improvements in compiler techniques work better than
those hardware assists).  IOW it's largely marketing.


True, there is a terrible amount of marketing hype thrown at us with 
everything that comes to market, with computers especially.  I try to 
temper my cynicism though in thinking that the designers and engineers 
can and actually intend to produce a better product.  The corporation as 
a whole should be fully behind them in this endeavor, otherwise 
competitors will be eating their lunch.  Though my studies never brought 
me close to taking a role as such an engineer, I did learn that if 
you're going to take the trouble to bring out a new design, the 
improvements should be those which bring about the greatest effect, 
e.g., those instructions which are most often used.  These would be for 
naught, however, if the end-user and all players in between don't make 
use of the such improvements.  E.g., getting a 64-bit system is a 
questionable decision if you're going to run nothing but 32-bit software 
on it.  On the other hand, if you're going to run VMs, then a CPU with 
instructions enhanced for that makes sense if you'll be compiling the 
code to take advantage of those instructions, and this also assuming 
that the compiler is capable of creating such executables.


So there are a lot of factors at play, making it hard for me to 
generalize.  I've found too that the relevant specifics are really 
difficult to dig out, at least in the places I've been digging.



Thanks again for your reply.






 Stefan





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

Archive: http://lists.debian.org/5280d7d9.9050...@mousecar.com



Re: CPU frequency and custom kernel

2013-11-22 Thread ken

On 11/21/2013 07:42 PM Sean Alexandre wrote:

I've built my own kernel, but the CPU runs faster (hotter, more fan noise, etc.)

I can't figure out why it's faster. Everything I've checked is the same between
the two kernels. If I boot to the Debian provided kernel the CPU runs at 800
MHz, but if I boot to my custom kernel it runs at 1.8 GHz. (These are baseline
speeds, after boot without running anything else.)

Here's what I've checked so far:

* Kernel versions are the same. The Debian version is 3.2.0-4-amd64 and the
   version I got from kernel.org is 3.2.52.
* The boot command line has the same paremeters for both:
   linux /vmlinuz-3.2.0-4-amd64 root=/dev/mapper/tuzo-root ro quiet
* Both boot to the same root file system, and use the same configuration files.
* The .config file used to build the custom kernel is the same as the one used
   to build the Debian kernel. (I'm going to pare it down to just what I need
   once I figure out this problem.)
* Both use the ondemand cpufreq governor.


I've found cpuspeed to be buggy... the speed at which the cpu runs seems 
to have little to do with the conditions specified in the config file. 
Recent kernel upgrades have improved cpuspeed somewhat (without any 
changes to the config file), but it's still nonsensical at times.





Is there anything else I should check?

My next step would be to try and build the kernel source from the Debian
package instead of from kernel.org. Maybe this is a code difference?





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

Archive: http://lists.debian.org/528f0fd5.1020...@mousecar.com



Re: Read clipboard?

2013-11-24 Thread ken

On 11/24/2013 09:44 PM Joel Roth wrote:

Antispammbox-debian wrote:


Hi all


On my Squeeze using parcellite clipboard manager.
Do know if it is possible, through a bash program, or compiled with
gcc/mingw-linux, read the contents of the clipboard?


I use xsel.



xclipboard might also be what you're looking for.


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

Archive: http://lists.debian.org/5292f153.7080...@mousecar.com



Re: Read clipboard?

2013-11-24 Thread ken

On 11/25/2013 02:00 AM Diogene Laerce wrote:



xclipboard might also be what you're looking for.



rather xclip no ? ;)



No, it's called xclipboard.  You may be thinking of something else.


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

Archive: http://lists.debian.org/5292f93b.70...@mousecar.com



Re: Terminal with support for Indic characters

2013-11-27 Thread ken

On 11/27/2013 09:21 AM m...@mylug.org wrote:

I am using mutt as my mail reader and am quite happy with it. I generally
use terminator as my terminal of choice. What I find lacking is that none
the terminals display the indic characters.

Searching I found that mlterm has good support for Asian languages and
installed it. Unfortunately the debian version is compiled without indic
support. I could not find the reason for it.

In view of this, can anyone suggest a good terminal which is capable of
displaying indic characters properly?

I am using debian testing with some packages from sid via apt pinning.

--
Sridhar


Yeah, you need to have utf8 support and then too Indic fonts installed.


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

Archive: http://lists.debian.org/5296530d.6010...@mousecar.com



Re: Terminal with support for Indic characters

2013-11-28 Thread ken
Wikipedia has quite a bit of information about installing and using 
Indic fonts on various OSs: 
.


On 11/28/2013 03:30 AM Gian Uberto Lauri wrote:

I hope that this utf-8 message will give no trouble to anyone.

അഖിൽ കൃഷ്ണൻ എസ്. writes:
  > Since gnome-terminal & its emulators like guake uses vtk which do not
  > provide complex utf-8 rendering, Indic Language support is poor in them.

Poor indeed, but not non-existent. I do not dare posting an e-mail
with attached images there, but Emacs running VM within sakura
displays poorly (mangled and dotted) the "ഖി" gliph (Emacs running
within X does it fine - to someone that does not know the alphabet the
gliphs look fine).

rxvt-unicode was disappointing.

Mutt running within an Emacs X frame and ansi-term gave mixed results:
When entering "അഖിൽ കൃഷ്ണൻ എസ്" within the e-mail address I got some
numeric escapes (\u) but that was in an Emacs mini-buffer.

When I entered the same string in the e-mail body -this time into the
ansi-term buffer- the string was displayed correctly.

A solution could be to use mutt within Emacs using ansi-term :)




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

Archive: http://lists.debian.org/5297221b.1050...@mousecar.com



Re: security camera software/RPi

2014-10-01 Thread ken

On 10/01/2014 03:49 AM Scott Ferguson wrote:

On 01/10/14 17:42, Andrei POPESCU wrote:

On Ma, 30 sep 14, 21:01:52, Jerry Stuckle wrote:

On 9/30/2014 7:11 PM, Andrei POPESCU wrote:

On Sb, 27 sep 14, 05:23:29, ken wrote:


What other cheap devices devices were you referring to that
would better handle the load?


https://wiki.debian.org/RaspberryPi


You've never actually tried a RPi with a camera, have you?

As Ken said, the RaspberryPi is a very bad choice for such a
job.


The plural of anecdote is not fact.
Have *you* tried it?

The TP-Link TL-WR703N is less powerful than the Raspberry, yet it does
run 'monitor' with dual cameras.



1. I think you're mixing up who said what 2. You haven't actually
read that page, have you?


Or these:-
;http://through-the-interface.typepad.com/through_the_interface/2012/08/creating-a-motion-detecting-security-cam-with-a-raspberry-pi-part-1.html
;http://programmaticponderings.wordpress.com/2013/01/01/remote-motion-activated-web-based-video-surveillance-with-raspberry-pi/



Kind regards, Andrei




Kind regards


While it's understandable, unless one rereads the posts in a thread, 
that who said what can be lost, so I'll clarify: I didn't say the RPi 
was a bad choice for a security camera.  What I did say was that I'd 
read that some people claimed to have done it (and were happy with the 
result).  Here's one I just read which provides step-by-step instructions:


<http://www.codeproject.com/Articles/665518/Raspberry-Pi-as-low-cost-HD-surveillance-camera>

There are others.

Re: the contention that "it doesn't work":  That would need more 
clarification.  E.g., perhaps full-motion video doesn't work, but this 
isn't necessary for a security camera.  In the article I reference 
above, the author configured 2fps @ 1280x720.  But then he also was 
running a webserver on the same RPi.  I probably wouldn't do that, but 
rather offload the video to another machine and watch it from there. 
The point is, as is often the case, whether this works or doesn't may 
well be contingent on the system's configuration.



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

Archive: https://lists.debian.org/542bf160.2090...@mousecar.com



Re: security camera software/RPi

2014-10-01 Thread ken

On 10/01/2014 09:08 AM Jerry Stuckle wrote:

On 10/1/2014 8:19 AM, ken wrote:

On 10/01/2014 03:49 AM Scott Ferguson wrote:

On 01/10/14 17:42, Andrei POPESCU wrote:

On Ma, 30 sep 14, 21:01:52, Jerry Stuckle wrote:

On 9/30/2014 7:11 PM, Andrei POPESCU wrote:

On Sb, 27 sep 14, 05:23:29, ken wrote:


What other cheap devices devices were you referring to that
would better handle the load?


https://wiki.debian.org/RaspberryPi


You've never actually tried a RPi with a camera, have you?

As Ken said, the RaspberryPi is a very bad choice for such a
job.


The plural of anecdote is not fact.
Have *you* tried it?

The TP-Link TL-WR703N is less powerful than the Raspberry, yet it does
run 'monitor' with dual cameras.



1. I think you're mixing up who said what 2. You haven't actually
read that page, have you?


Or these:-
;http://through-the-interface.typepad.com/through_the_interface/2012/08/creating-a-motion-detecting-security-cam-with-a-raspberry-pi-part-1.html

;http://programmaticponderings.wordpress.com/2013/01/01/remote-motion-activated-web-based-video-surveillance-with-raspberry-pi/




Kind regards, Andrei




Kind regards


While it's understandable, unless one rereads the posts in a thread,
that who said what can be lost, so I'll clarify: I didn't say the RPi
was a bad choice for a security camera.  What I did say was that I'd
read that some people claimed to have done it (and were happy with the
result).  Here's one I just read which provides step-by-step instructions:

<http://www.codeproject.com/Articles/665518/Raspberry-Pi-as-low-cost-HD-surveillance-camera>


There are others.

Re: the contention that "it doesn't work":  That would need more
clarification.  E.g., perhaps full-motion video doesn't work, but this
isn't necessary for a security camera.  In the article I reference
above, the author configured 2fps @ 1280x720.  But then he also was
running a webserver on the same RPi.  I probably wouldn't do that, but
rather offload the video to another machine and watch it from there. The
point is, as is often the case, whether this works or doesn't may well
be contingent on the system's configuration.




2fps is not considered adequate for security.  Too much can get lost.
The minimum generally recognized is 7.5 fps.  The RPi has trouble with
that, even if a webserver isn't running.  As for offloading the video -
if you do it via the ethernet port (vs. pulling the SD card), you'll
find your RPi won't handle it.  7.5fps at 720p with 24 bit color comes
out to over 20 megabytes/sec. - far beyond the RPi's capabilities.

So, is the solution to go to a lower resolution camera?  Not really.

There are three levels of detail considered for security cameras:

1. Observation - something happened
2. Recognition - something happened and it's someone you recognize
3. Identification - something happened and you don't recognize the
person but can match the person to a picture, lineup, etc.

#1 doesn't help much - other than to maybe tell you the exact time it
happened.  After all, you already KNOW something happened.

#2 works if you know the person - i.e. you can see and recognize your
kid when he/she comes home.  Much better, but it doesn't help much if
you don't know the person.

#3 is required for usable security.  To get this, you need a resolution
of around 5px/cm (12.5px/in) at the face.  Anything less and you will be
*very* lucky to get any useful information.

There are a lot of people who know nothing about what they are doing,
yet think they have security.  But how many of these people have
actually used the information after a crime has been committed?

Additionally, as I said before - the RPi doesn't run Debian - the
processor the RPi uses is ARM V6 - which is old and not supported by
Debian (or any of the standard distributions).  So you are required to
use their version (Raspbian) and the software they supply (unless you
can compile for ARM V6 yourself).

The RPi is a cheap toy, but that's about all it's good for.  The ones I
evaluated are now in the landfill.  There are much better ones out there
for very little more.

You really shouldn't comment on things you know nothing about.

Jerry


Jerry,

(Re: your last statement:) I don't.  It's good advice, though I guess 
you meant it as an insult.  Thanks for that.


I wasn't claiming 2fps as a maximum rate, only that it was what one 
person used and was happy with, someone who was running a webserver on 
the same RPI which was also running the camera.  I haven't yet seen any 
load averages or throughput numbers mentioned for this and that 
configuration... which would be what we should be talking about.  Not 
having those, but only the case cited, we can consider 2fps a minimum 
and one which likely could be improved upon.


You assert that a higher frame rate is 

Re: WD Passport 2T hard drive formating question.

2014-11-10 Thread ken

On 11/10/2014 08:18 AM, Darac Marjal wrote:

On Mon, Nov 10, 2014 at 04:31:53AM +, Juan R. de Silva wrote:

Hi folks,

I've purchased a new WD Passport 2T USB hard drive, which, no doubts,came
formated NTFS. I've used GParted to quickly format the drive to Ext4 and
results surprised me quite a bit (all results as reported by GParted):

File system NTFS

Total capacity  - 1.82   TiB
Used by file system - 122.66 MiB (?)


This will be space taken up by the MFT, the journal and other file
accounting structures.



File system Ext4

Total capacity  - 1.82   TiB
Used by file system - 29.42  GiB (?)


This will be the space taken up by the superblocks, presumably. This
isn't the "5% reserved" space, which for that drive would be about 93.18
GiB.

I think the problem is that ext4 makes copies of it's superblock every
so often throughout a drive. The bigger the drive, the more copies it
makes.

You could try formatting as XFS or BtrFS and see if the space used is
any better.





Look at "man mkfs.ext4" for configuration options.


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

Archive: https://lists.debian.org/5460c517.50...@mousecar.com



Re: Canon printers on wheezy (solved)

2014-12-05 Thread ken

Hey, Rob,

I've been trying, unsuccessfully, to get a Canon PIXMA MX422 (same as 
the MX429 sold at Walmart) working.  It's a newer all-in-one printer.


I downloaded both source code and rpm tarballs from Canon Singapore. 
The RPM wouldn't install because it needed libusb v.1.0.1 which is much 
higher than what I have.  Similar library dependencies prevented me from 
successfully compiling (autogen.sh & make) all of the source code files.


So what was your secret?


On 10/09/2014 07:24 PM, Rob Hurle wrote:

I've just upgraded to wheezy and my Canon LBP 7200Cdn stopped working.
I used Radu Cotescu's script to try to reinstall it, but that failed and
messed up apt-get, as one of his debs tries to install an outdated
package.  I've cracked the problems and got my printer working again.
If anyone else is having similar troubles, you are welcome to get in
touch and I'll give you the details of what you need to do.

Cheers,

Rob Hurle

-
Rob Hurle
e-mail: rob1...@gmail.com 
Mobile:   0417 293 603 (Australia)
   0948 243 538 (Vietnam)
Telephone:  (02) 6236 3895
28 Mirrormere Rd, Burra, NSW 2620, Australia



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

Archive: https://lists.debian.org/54820bb5.8030...@mousecar.com



Re: Canon printers on wheezy (solved)

2014-12-06 Thread ken

On 12/05/2014 11:21 PM, kamaraju kusumanchi wrote:

On Fri, Dec 5, 2014 at 2:47 PM, ken  wrote:

Hey, Rob,

I've been trying, unsuccessfully, to get a Canon PIXMA MX422 (same as the
MX429 sold at Walmart) working.  It's a newer all-in-one printer.

I downloaded both source code and rpm tarballs from Canon Singapore. The RPM
wouldn't install because it needed libusb v.1.0.1 which is much higher than
what I have.  Similar library dependencies prevented me from successfully
compiling (autogen.sh & make) all of the source code files.

So what was your secret?



This is exactly why I asked the OP to post his solution instead of
keeping it to himself.

Coming back to your question, Ken, I have a Canon Pixma MX870. I have
summarized the instructions to set this up at
http://malayamaarutham.blogspot.com/2014/06/setting-up-canon-pixma-mx870-printer-on.html

Since the models are very similar, it might work for your case.

raju


I agree with your recommendation.

Thanks for the link.



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

Archive: https://lists.debian.org/5482c70c.1070...@mousecar.com



Re: Epson XP-820 Small-in-one

2014-12-06 Thread ken

On 12/05/2014 11:43 PM, Gary Dale wrote:

I bought the XP-820 because it was on sale and could print to CD/DVD - a
feature that I liked about my earlier Espon R-320 printer. Unfortunately
the XP-820 needs the Epson escpr driver while the R-320 used the
Cups-Gutenprint driver. The former doesn't seem to include the
print-to-CD/DVD feature that the latter has.

There is a work-around, of writing to an SDHC card then inserting the
card into a lot in the printer and using the printer's control panel to
print a design to CD/DVD. This is quite cumbersome so I'm hoping someone
has a method of getting the XP-820 to print to CD/DVD from Linux.


If you've gotten it to print at all, then I'd think you're most of the 
way there.  I'd think you'd just need to go into cups and configure 
another virtual printer, changing the size of the output format from 
that of your functioning printer configuration of course, but probably 
too the resource name, as in the Device URI, eg:


ipp://hostname/ipp/resource

Unfortunately, typically the documentation is insufficient, both from 
cups and from printer vendors, to determine what exactly the "resource" 
name should be... and generally.  :/


Point is, I'd think the same driver would be used.  After all, it's the 
same printer using the same ink cartridges.  Why would a separate body 
of code (driver) be required.  Check the ppd file for your printer to 
see if it mentions any CD or DVD or specs matching those.




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

Archive: https://lists.debian.org/5482cc21.1010...@mousecar.com



Re: flakey wifi access

2014-06-30 Thread ken

On 06/29/2014 10:50 PM tom arnall wrote:

my wicd agent is unable to connect to wifi at mcDonald's, both in
mexico and the states. it's fine with my home wifi and the coffee shop
i go to. it also fails on the network at the campus where i teach in
mexico.


"Unable to connect" can mean a lot of things.  I recently had a wifi 
connection problem which, using 'ping', I determined to be caused by a 
lot of packets being dropped-- like 30 - 60% of them.  I found that ping 
will return a response in some cases even when it seems there is no 
connection.  You'll need to find out the IP address of the access point 
(AP).  If your system doesn't tell you this, you might ask some other 
user.  Get rates from all APs, working and non-working, and compare them.


Another utility to use is tcpdump.  This will provide very detailed 
information about the packets constituting the connection attempt.


And iwlist will provide info on the available APs.  Noting the relative 
signal strengths and protocols used and other details might point to 
patterns.



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

Archive: https://lists.debian.org/53b13e61.2010...@mousecar.com



Re: Advice needed re TV internet media machine.

2014-07-06 Thread ken

On 07/05/2014 11:11 PM Patrick Wiseman wrote:

On Sat, Jul 5, 2014 at 12:51 PM, Lisi Reisz  wrote:

On Saturday 05 July 2014 17:30:19 Joe wrote:

Joel mentioned the Raspberry Pi, which is a very low-power [ARM]
device, which does the UK catchup channels pretty well, apart from the
occasional glitch when a provider thoughtlessly changes his protocol.


Not for me it doesn't.  And I was told that I was asking too much of it.  I
simply couldn't get it to stream.  It would start, and then the stream would
cut out.  That was my first door-stop!


Sorry to jump in late and in the middle of this conversation, but I'm
surprised by your experience with the Pi. I've run both Xbian and
Raspbmc (both Debian derivatives devoted to providing XBMC on the Pi)
with success, streaming BBC content with the iplayer plugin. Only very
occasionally have I experienced bad buffering and it's usually been
explained by a change by the BBC which the plugin developers are very
quick to pick up on. I do find it necessary to set the video speed
rather than leave it on "Auto", which apparently starts at high speed
but can't maintain it. And the video is sometimes pixellated. But
mostly I've found the Pi very able to handle the stream. And I've
recently become aware of the Hummingboard (a Google search will find
it), which looks as if it may be even more capable than the Pi and not
much more expensive.

Cheers
Patrick


Is there any indication as to why the video is sometimes pixellated? 
Have you run 'top' or 'iotop' or other diagnostics when this is 
happening as compared to when it isn't?



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

Archive: https://lists.debian.org/53b92e1c.3030...@mousecar.com



Re: Multimedia player for video filte type qs

2014-07-06 Thread ken

On 07/06/2014 06:32 AM Andrei POPESCU wrote:

On Lu, 16 iun 14, 15:38:09, Bret Busby wrote:

Hello.

I wonder whether a multimedia player for the video filteype .qs exists
for Debian Linux.


Just for the archives, the file extension is a poor indicator of the
file type and was originally meant more as information for humans.
Fortunately smart programs (like mplayer or vlc) don't rely much on it.

Kind regards,
Andrei



Yes, the 'file' utility is a much better indicator of the file type 
("file filename.ext").  I haven't seen it written anywhere, but believe 
that the same capability is built into the shell, at least into bash.



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

Archive: https://lists.debian.org/53b92cab.1060...@mousecar.com



Re: Tell Debian to use local time?

2014-07-06 Thread ken

On 07/06/2014 06:41 AM Andrew M.A. Cater wrote:

On Sat, Jul 05, 2014 at 04:10:06PM -0500, Nelson Green wrote:

(Added inadvertently omitted subject)

On Sat, Jul 5, 2014 at 3:01 PM, Erwan David  wrote:


Le 05/07/2014 21:38, Nelson Green a écrit :

Good afternoon,

This morning I had the mis-fortune of creating a dual-boot system with
Debian on
a machine that already had windows installed on. I installed a second

hard

drive, installed Debian, and almost everything works. But I apparently
told the
installer that the system clock is set to UTC, when it is not (because
windows
has no real concept of time).

So when I boot to windows the displayed time is the actual local time,
but when
I boot into Debian the displayed time is four hours behind local time.
If I do a
date -u the time that is displayed is the correct local time.

I have modified /etc/adjtime and removed the UTC line, but every time
I boot up
Debian the line re-appears, and the displayed time is still four hours
behind.
So how do I tell the Debian system that the hardware clock is set to
local time
in an effort to compensate for the lessor system's inability to
correctly manage
time?

Thanks,
Nelson


You can tell windows to use UTC internally (while still displaying local
time)
see

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/2000/Q_21805674.html



Thanks Erwan, but I am afraid I have to leave the windows installation
alone.
Fortunately I rarely have to mess with windows, and as a general rule I
don't
lower my standards to theirs, but in this case I have no choice, at least
until
we can eliminate windows from the equation completely.


This problem has been around for a long time: Windows insists on setting 
the hardware clock to local time.  A fix I came up with long ago was to 
doctor /etc/init.d/ntpd to (re)set the hwclock to UTC on boot.  This was 
on a redhat or opensuse machine, so on a debian machine you'd want to 
edit /etc/init.d/ntp instead.  There wasn't any need to install any 
additional packages to include this one line in that file.






dpkg-reconfigure -plow tzdata

as root which will allow you to set the global timezone data for your machine.

That way you don't necessarily have to adjust adjtime and can choose which 
timezone you're in which will
also sort out the DST "stuff".

Reset the clock using the date command to set the time.

date --set=070511352013

Then run

hwclock --systohc

to set the time in the hardware clock which should then be correct for Windows 
and Linux.

Myself, I keep computers set to UTC all year round.

AndyC



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

Archive: https://lists.debian.org/53b93d40.8040...@mousecar.com



Re: Skype - no microphone input sound...REVISITED

2014-07-15 Thread ken

On 07/15/2014 09:38 AM Man_Without_Clue wrote:


On 07/15/2014 05:18 PM, Curt wrote:

On 2014-07-15, A_man_without_clue  wrote:

Anyway, funny thing is that skype works just fine with microphone if i
use from my wife's debian user account. I believe audio settings and
skype settings are identical though


You might try removing or moving '~/.Skype/' out of the way in the
non-functioning account and starting afresh.





No luck


How about this:  After moving your own ~/.Skype/ somewhere temporarily, 
copy your wife's ~/.Skype/ to your machine.



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

Archive: https://lists.debian.org/53c531a2.7070...@mousecar.com



Re: Skype - no microphone input sound...REVISITED

2014-07-15 Thread ken

On 07/15/2014 09:50 AM ken wrote:

On 07/15/2014 09:38 AM Man_Without_Clue wrote:


On 07/15/2014 05:18 PM, Curt wrote:

On 2014-07-15, A_man_without_clue  wrote:

Anyway, funny thing is that skype works just fine with microphone if i
use from my wife's debian user account. I believe audio settings and
skype settings are identical though


You might try removing or moving '~/.Skype/' out of the way in the
non-functioning account and starting afresh.





No luck


How about this:  After moving your own ~/.Skype/ somewhere temporarily,
copy your wife's ~/.Skype/ to your machine.


I should have  said too that you want to stop skype completely before 
doing the above, i.e., ensure that 'ps -ef|grep -i skype' shows nothing 
before copying her config to your machine.  After it's in place, then 
restart skype.



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

Archive: https://lists.debian.org/53c536c2.8060...@mousecar.com



Re: Skype - no microphone input sound...REVISITED

2014-07-16 Thread ken

On 07/16/2014 08:41 AM Man_Without_Clue wrote:


On 07/15/2014 11:34 PM, Curt wrote:

On 2014-07-15, ken  wrote:

How about this:  After moving your own ~/.Skype/ somewhere temporarily,
copy your wife's ~/.Skype/ to your machine.

I thought it was the same machine, different accounts (marital bliss).



Right.
Same machine, same debian. Different user's account.
I don't know where should I be looking into...


Okay, same trouble-shooting strategy, right?  You and your wife have 
separate ~/.Skype contents, yes?  Copy hers to yours.



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

Archive: https://lists.debian.org/53c67658.4040...@mousecar.com



date/time of photos [was: Re: [SOLVED, but...] mounting a Nikon camera]

2014-08-04 Thread ken
It was quite awhile ago, but I used gthumb to offload photos from my 
Nikon.  I didn't like it though because the date&time of the photos were 
all changed to the date&time of the download.  I much prefer to keep the 
date&time when the photo was taken.  What experience do others have?


On 08/04/2014 03:44 AM Lisi Reisz wrote:

On Sunday 03 August 2014 20:18:04 jeremy bentham wrote:

Lisi, why is it cowardly to mount the SD card by itself?


It ducks the problems!  I take one look at the complications - and take the
easy way. ;-)

Lisi


I would
certainly have done that, but I don't have the hardware; maybe
I'm about to discover I should have acquired it.






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

Archive: https://lists.debian.org/53df4d96.5080...@mousecar.com



use of video w/skype [was: Re: Skype access cancelled for Debian versions before 7]

2014-08-04 Thread ken

On 08/04/2014 01:36 AM Bret Busby wrote:

How many different people do you want to be able to video chat with?
>What's your purpose? Figure out what you want to do, and you probably
>don't need skype at all.
>

Relatives and acquaintances (for me), would be good, and, some people
of whom I have no knowledge. I have immediate family members in a
couple of countries, that I might not even recognise, now, not having
seen them for a while, and, distant relatives (I have been into
genealogical research), in various countries around the world.


For a long time I waited for OpenMoko to integrate a camera into their 
phone, but finally gave up and got a Samsung running Android.  I use 
skype w/ video on it oftentimes to show people around my house (e.g., a 
couple Buddhist monks from Bhutan who'd never been outside their own 
country).  I also used it with a car mechanic friend when I wanted to 
show him part of my car's engine I was working on and needed his help 
with.  I also found skype video handy when talking with a friend in 
another language and I didn't know the translation for an object I was 
talking about... I just pointed the camera at it.


There are a lot of reasons to have and use video when phoning with 
someone, watching each other's faces while talking being, for me, the 
least of them.



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

Archive: https://lists.debian.org/53df55b7.10...@mousecar.com



Re: date/time of photos SOLVED

2014-08-06 Thread ken

On 08/04/2014 08:11 AM Michael Kjörling wrote:

On 4 Aug 2014 21:59 +1200, from cbannis...@slingshot.co.nz (Chris Bannister):

On Mon, Aug 04, 2014 at 05:08:38AM -0400, ken wrote:

It was quite awhile ago, but I used gthumb to offload photos from my Nikon.
I didn't like it though because the date&time of the photos were all changed
to the date&time of the download.  I much prefer to keep the date&time when
the photo was taken.  What experience do others have?


You could use the ExiF data to get the date the photo was taken.


Indeed. Here's a script I wrote to do exactly that, in case it's
useful for anyone. Consider it to be in the public domain.

It needs adjusting for your particular situation, and it certainly
isn't optimized for performance, but it does the job just fine at
least with my camera.



Thanks, Michael, for your script.  It's a very good start for what I've 
been trying to do for a long time.  I'm calling the problem 'solved'.


Best regards,
k-


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

Archive: https://lists.debian.org/53e2113b.20...@mousecar.com



Canon PIXMA mg5420 or HP Photo Smart 7520

2014-09-08 Thread ken
In need of a new printer, having done a bit or research, and considering 
either the Canon PIXMA mg5420  or the HP Photo Smart 7520.


There are Linux drivers for the Photosmart which are supposed to handle 
both the printer and the scanner.  But in my research I haven't found 
(yet) anyone who's gotten the scanner to work with Linux on the 
Photosmart, let alone the sheet feeder for it.  Allegedly there are 
instructions and requirements for using the fax on Linux.  But I'd like 
to hear from someone who has actually gotten all of this working on 
Linux (either debian or centos) and which version of which distro is needed.


The Canon PIXMA mg5420 doesn't have a fax or a sheet feeder for its 
scanner, but I'm guessing it's even dodgier to get just its single-sheet 
flatbed scanner and its printer working with Linux.  So has anyone had 
success with that?


I've also read horror stories about the how often new ink cartridges are 
required, that basically you pay for the printer a second and third time 
buying cartridges (not to mention how often a print job is interrupted 
by a trip to buy new cartridges).  Any first-hand reports on that?


Whoever thought spending money would be so tough?

Thanks for your knowledge and experience.


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

Archive: https://lists.debian.org/540e3672.3040...@mousecar.com



Buggy power [was: Re: Canon PIXMA mg5420 or HP Photo Smart 7520]

2014-09-11 Thread ken

On 09/10/2014 08:46 AM Bonno Bloksma wrote:

Hi,


In need of a new printer, having done a bit or research, and considering either 
the Canon PIXMA mg5420  or the HP Photo Smart 7520.


Besides the Linux support there is one other thing to consider. The HP 
Photosmart 7520 was designed never to be turned off. It comes with a smart 
power brick that does not seem to work smart.
I have been in contact with HP support and they claim never to have heard of the problem, 
eventhough a simple google search will show lots of complaints, and even supplied me with 
a second printer and powerbrick to "solve" the problem, but the problem is 
still there.

If you turn off the printer the powerbrick will turn itself off as well after 5 
sec. It is supposed to turn itself on again if the printer asks for power, it 
doesn't. I need to pull the plug, reinsert is and switch on the printer within 
5 sec. :-(


Thanks for your knowledge and experience.

FWIW.

Bonno Bloksma



In the comments about the Photo Smart 7520 on Amazon I read about people 
(or maybe it was just one guy) who claimed he needed to repeated plug 
and unplug the power cord to get it to work.  What you describe is 
probably that problem.


Another guy on Amazon said that his printer mysteriously turned itself 
off one day.


Thanks for the info!  And the great clarification.  I certainly don't 
want to buy a printer that's going to throw problems at me all the time. 
 Sometimes I feel like the public has been turned into a bunch of beta 
testers for some of this new technology.



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

Archive: https://lists.debian.org/54119aef.3020...@mousecar.com



Brother color laser MFC [was: Re: (HP's) Buggy power]

2014-09-12 Thread ken



On 09/11/2014 10:25 AM Robert Heller wrote:

At Thu, 11 Sep 2014 08:51:59 -0400 CentOS mailing list
 wrote:



On 09/10/2014 08:46 AM Bonno Bloksma wrote:

Hi,


In need of a new printer, having done a bit or research, and
considering either the Canon PIXMA mg5420  or the HP Photo
Smart 7520.





HP has drifted to the 'bottom' when it comes to printer quality. HP
is now making 'junk' printers (at least in terms of inkjets). HP also
has policy of pretty much no-questions-asked replacement (in the
warrantry period) -- I think they know their printers are junk and
fully expect them to fail before then end of the warrantry period.
*I* finally convinced the library director at the local library to
give up on HP OfficeJunk MFCs (the first one lasted just over one
year, and the second about 10 months, and its replacement about a
month, and its replacement a few weeks, and its replacement a week
or so, ... after five replacements we ended up with one that lasted
to a few months beyond the 90 warrantry period of the replacement)
and get a Brother color laser MFC. The initial cost is a bit higher,
but the library is no longer being nickel and dimed to death buying
ink carts and the Brother printer, just works and works and is not
being out of order every few months (or weeks or even days).


Thanks for the  post, Robert.  I've been hearing here and elsewhere so 
much about the many problems with HP printers that I'm taking them out 
of consideration.  I've never owned a Brother printer, just three 
Epsons, the last of which was a PITA to always be feeding ink to.  It's 
not just the ink's cost; it's a considerable hassle to be printing 
something, have the ink run out, have to phone and drive to buy more 
ink, then reprint from where the previous job failed.


Still, I need a good scanner with a sheet feeder and a couple times a 
year I need to fax something.  So an "all-in-one" machine makes 
practical sense for me.


Can you say the model of that Brother laser MFC you mentioned?

Thanks again.



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

Archive: https://lists.debian.org/54135c53.6090...@mousecar.com



Re: security camera software/RPi

2014-09-26 Thread ken
From what I've read, some have set up such a system on a Raspberry Pi 
running a version of Debian called "Raspbian".  An RPi can be  had in 
the US for $30-40 and a camera which plugs into a dedicated port on the 
card for about $50 (though I haven't checked prices for months).  The 
Raspberry Pi website has How-To's which also discuss motion-detection, 
off-loading of video, and related topics.



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

Archive: https://lists.debian.org/54251582.30...@mousecar.com



Re: security camera software

2014-09-26 Thread ken

On 09/25/2014 11:03 PM Scott Ferguson wrote:

On 26/09/14 01:48, Rob Owens wrote:

>- Original Message -

>>From: "Scott Ferguson"
>>
>>I've been using motion for a few years and highly recommend it.
>>Lightweight[*1], simple, and reliable.
>>
>>Minimal configuration required (snapshot mode):- Point your camera
>>at the zone to be monitored. Take a picture. Edit the picture in
>>GIMP (mask the areas you don't want monitored for motion).

>
>Does this work just as a starting point for motion detection, or can
>you reference this picture for the beginning of any event.

Motion works by comparing pictures for changes. So auto-brightness and
glare protection are required. Masking allows you to filter out areas of
the picture (representing the view of the camera) where change doesn't
represent the sort of movement you wish to detect. So a camera that
views a gate to a paddock will show a car passing through the gate -
it'll also show animals moving in the paddock - birds and planes,
clouds, passing traffic in the distance, trees and grasses. Only a small
rectangle in the centre of the picture is needed to detect the motion of
a vehicle passing through the gate - and the sensitivity of 'motion' to
detect changes in that area of the picture is easily tuned to filter out
noise (animals wandering across that part of the view etc). The end
result is that 'motion' will then reliably detect cars driving through
that gate with few or no false positives. The pictures captured are not
masked - the mask is only used as a reference for 'motion' to compare
snapshots with.
...


Thanks for the great info on 'motion'.  Another features question:

My neighborhood is overrun with squirrels and chipmunks.  Is it possible 
to configure 'motion' to ignore the movement of these small creatures 
within the camera's view?


How about fallen leaves blowing across the driveway?


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

Archive: https://lists.debian.org/54251966.2080...@mousecar.com



Re: security camera software/RPi

2014-09-27 Thread ken

On 09/26/2014 04:17 AM Andrei POPESCU wrote:

On Vi, 26 sep 14, 09:05:32, Paul Lewis wrote:


In this case I have a Trendnet IP camera which will write to an NFS
share. I was looking for a server device that would be quieter and
consume less power than a conventional machine that I might be able to
run in a headless configuration. The Raspberry Pi seems to fit the
bill.

Throw in a couple of cheap usb drives and it seems to be a very
workable fairly inexpensive system.


Beware I/O performance is horrible and the Raspberry Pi may even crash
under load. I had to cap torrent downloads to 1 MiB/s to get stable
operation. Of course it doesn't help that the ethernet is also connected
via USB (internally).

There are other cheap devices out there with SATA.

Kind regards,
Andrei


Thanks for the warning, Andrei.  (Whenever  it is I get around to 
putting an RPi with a camera together) I was of course planning first to 
test one unit.  When I read about this project, I didn't come across 
anyone talking about performance issues.  The CPU on the RPi is 700MHz, 
which, while not screaming fast, isn't exactly slow.  I'm sure it would 
be wise, however, to shut down unneeded services and generally trim down 
just to what is necessary.


In addition, my plan was not to save the video to a local drive, but 
rather to send it (over wifi/USBv2... and just when motion was detected) 
to a file server.


What other cheap devices devices were you referring to that would better 
handle the load?


Thanks again.



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

Archive: https://lists.debian.org/54268211.2020...@mousecar.com



Re: Debian on a Dell Latitude E7440

2014-03-21 Thread ken

On 03/20/2014 06:48 PM Craig L. wrote:

On Thu, Mar 20, 2014 at 04:03:36PM -0400, Mike McGinn wrote:


On Thursday, March 20, 2014 15:28:32 Craig L. wrote:

Hello list,

Sadly, my 11 year-old Toshiba laptop has become physically unusable*, and
I will be receiving a new laptop at work. We are looking at the Dell E7440,
and my initial look tells me I will be getting something that should run a
pure Debian main installation, but I figured I would ask to be safe.


Thanks, Craig

*Hinges broken beyond repair. 11 years old with just 512MB of RAM, but
still running Wheezy with an XFCE desktop just fine! Case is cracked,
battery lasts about ten minutes, touchpad is dead, and the screen has
several scuffs. Still, it is a shame to see it go.


When the hinges went on my Toshiba I was able to attach a small piece of metal
to the back to hold the screen up. Got another two years out of it.


Thanks Mike. Unfortunately this laptop is now a two-piece system, if you know
what I mean, and it is just more trouble than it is worth to repair. Time to
move on. *sigh*



Mike



I'm where you are, currently using a decades-old Dell Latitude with a 
couple cracks in it and a non-working screen.  It's plugged into an old 
CRT monitor.  Although, like yours, the battery lasts maybe fifteen 
minutes, it's still good for when the power goes off momentarily-- which 
happens four or five times a year.  There's enough cash in my checking 
to buy a new laptop, but I just haven't gotten around to it.


It's not going in the trash though.  It's still good for a headless 
linux box.  Long ago I buffed it up with a big HD and 2G of RAM, the 
cat5 and 802.11bg wifi still work, as do the two USB ports, DVD r/w.  I 
figure it would still be useful as a print- and scanner server... and/or 
music server (the sound card is still fine), a sandbox machine, and 
possibly for some other things.  I might spray-paint it, frame it, and 
hang it on the wall so it looks like art... even as it continues to 
serve useful purposes.  I'd love it if this old piece of crap didn't 
make it into the landfill until after I do... maybe even *long* after.


Linux will never die.  It just gets perpetually revised.


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

Archive: https://lists.debian.org/532c2483.1010...@mousecar.com



where is libgtk2 (for Raspbian)?

2014-04-08 Thread ken

For the Debian/Raspberry Pi crowd here...

A doc I'm following for the install of wxPython says to do

gtk-config --version

But it returns

gtk-config: command not found

sudo apt-file search gtk-config

turns up nothing relevant.

Where to now?

tia.


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

Archive: https://lists.debian.org/53446485.2010...@mousecar.com



Re: Heartbleed (was ... Re: My fellow (Debian) Linux users ...)

2014-04-17 Thread ken

On 04/16/2014 11:50 PM green wrote:

Steve Litt wrote at 2014-04-16 13:05 -0500:

I'd feel a lot better with 200 eyes than 4. Even 10 would make me
nervous.

But the fault is partly mine. I never contributed to the OpenSSL
project, either with dollars or eyes.


+1



Steve brings up a very good point, one often overlooked in our zeal for 
getting so much FOSS for absolutely no cost.  Since we're all given the 
source code, we're all in part responsible for it and for improving it. 
 This ethic should be visited not only on lists like this one, but 
certainly also in CIS classes and definitely in business and 
governmental administration courses as well.  And right now there is 
github where over the past couple weeks I've noticed quite a few 
"projects"-- in fact, the majority of them-- started by one person but 
with no other contributors.  A significant contribution can be as small 
as improving documentation.  As Steve points out, without more 
involvement from more people, we're probably headed for repeated such 
calamities.



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

Archive: https://lists.debian.org/534f8472.1010...@mousecar.com



Re: Confusion

2014-05-13 Thread ken

On 05/13/2014 01:42 AM Joshua Anthony wrote:

My apologies to those who feel that I have wasted their time and thanks
to those who have tried to help.

I don't know how I managed to start two threads but this whole business
well illustrates the confusion that I originally wrote about.

The 'technical' question was 'Why does exactly following the process
that has worked perfectly well for other distros, using exactly the same
hardware, fail when I try to install Debian the same way?'

The confusion was - and is - how do I separate my rather elementary and
unsophisticated question from the mass of expert questions from
sophisticated users so as to get an answer I can understand without
irritating them and wasting their time?

That, I suppose, is a 'procedural' question, and I probably ought to
have asked it separately.

I'm happy to drop this now, as it certainly hasn't worked for me, and
look elsewhere for answers.

Josh.


Josh,

Yes, problems generally don't come one at a time, but rather in bunches 
bundled and/or layered together.


Though I haven't been able to watch your screen during the process, I 
suspect that the failure to get your CDs to work was due to the way they 
were created.  There are (at least)  two ways your ISO file could be 
written to a CD: one is as a file, the other as an disk image.  The 
first is the wrong way and, I've found, most CD-burning software is 
ambiguous about how a file (which is an ISO) is to be written, resulting 
is just the problem you've been having.


You can test my theory by using some software to look first at an 
install CD you know to be good and examining its files and directory 
structure.  Then do the same for one (or more) or your failed CDs.  At 
the top level the files and directories should be pretty much the same 
(as these are very much standardized).  If instead on your failed CD you 
see somewhere your ISO file listed as a file, then the software you used 
to write the ISO did it the wrong way.


To increase your chances of burning the CD properly, try using K3b.  Its 
menu text is more clear about what it's going to do and, IIRC, even 
mentions "ISO" in the correct menu item.


Personally,  I most often use a series of commands issued from a 
terminal to burn a CD or DVD.  I prefer this method because it's 
completely unambiguous what's going on.  But that's a longer story and, 
as I gather from your previous posts, you prefer a GUI app.  So instead 
of going there, I'll just recommend K3b.  I'm pretty sure it will get 
you where you want to go.


hth,
ken


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

Archive: https://lists.debian.org/5371c546.8050...@mousecar.com



Re: write permissions on 1Terabyte

2014-05-15 Thread ken

On 05/15/2014 06:23 PM andrey.ry...@bilkent.edu.tr wrote:

hi everybody
I have ADATA 1Terbyte disk with FAT32 filesystem.And i cannot write and
erase files on that disk. I cannot remind when this problem arise. Before
current moment i could do any operation with the filesystem on that disk.
Google doesnot help me. Could you help me to resolve the problem?
I use jessie.
Thanks in advance.


My experience with fat32 is limited, as it doesn't provide as many 
features (including nuances in setting permissions).


To start with, what is the output of the following commands?

mount
cat /etc/fstab
ls -ld /


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

Archive: https://lists.debian.org/5375494c.9090...@mousecar.com



Re: package recommendation for daily journal

2014-06-01 Thread ken

On 06/01/2014 04:43 AM Francesco Ariis wrote:

On Sun, Jun 01, 2014 at 02:52:36PM +0800, lina wrote:

Hi,

I am looking for a package, which can act as a smart diary or journal to
help me remember the records of small things, such as "obtain a licensed
software, not installed yet", "uninstall the harden-client".

Thanks ahead, lina


If you like text interface, I recommend ^remind^ [1], which I find very
versatile (short intro to it [2])

[1] https://packages.debian.org/stable/utils/remind
[2] http://archive09.linux.com/articles/55928




I've used the "diary" package within emacs for this kind of thing.  For 
the past several years I use korganizer which can pop up reminders at 
specified times... and much more.



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

Archive: https://lists.debian.org/538aeea8.7030...@mousecar.com



Re: cryptsetup problem

2014-06-02 Thread ken

On 06/02/2014 03:16 PM Andrew McGlashan wrote:

Thank you Darac for your input.

Here's an update on what I'm doing now.

I caused the RAID1 mirrors to complete the sync in a dropbear boot
environment.

Now I'm writing /dev/zero to the crypt mounted volumes.  No changes yet
to the form of the command, but if I see troubles, then I'll consider
dropping block size and use cat as you suggest.

There is a long way to go before the /dev/zero writing will be done, I'm
going to get some sleep soon and check it later.

Kind Regards
AndrewM



Are you aware of FOSS 'wipe'?

http://wipe.sf.net/

   Other file wiping utilities

   There are several other file wipers available.

   Another "wipe" by Berke Durak 

   Colin Plumb’s  sterilize.

   Todd  Burgess’ssrm  is 
available on

   sunsite/metalab in

   ftp://metalab.unc.edu/pub/Linux/system/filesystems/


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

Archive: https://lists.debian.org/538ccfc5.5070...@mousecar.com



Re: cryptsetup problem

2014-06-02 Thread ken

On 06/02/2014 03:34 PM Andrew McGlashan wrote:

On 3/06/2014 5:25 AM, ken wrote:

Are you aware of FOSS 'wipe'?


Yes, thanks Ken.  I watched wipe go through clearing an SSH drive when
setting up a quick test of Kali Linux on a new laptop.  It was slow, but
it worked -- when it finished, Kali had trouble allocating /itself/
enough root file system space, so I had to manually partition and try again.

Anyway, wipe is best run early.  I'll keep wipe in mind and the other
tools too if the /dev/zero write gives more grief.

It's still a bit too early to tell, but the /dev/zero writing is okay so
far, but a little less than an hour in as I type   for the first
crypt volume.

Cheers and Thanks
A.



It would be better to write /dev/random or /dev/urandom than 
/dev/zero... if you want to stay with whatever it is you're using.



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

Archive: https://lists.debian.org/538cd2ca.1030...@mousecar.com



Re: Networking an all-in-one printer/scanner/fax - ADDENDUM

2014-06-07 Thread ken

On 06/07/2014 04:11 AM Lisi Reisz wrote:

On Saturday 07 June 2014 08:35:14 Lisi Reisz wrote:

Two questions.  And yes, I am googling and RTFMing, but I am left with two
immediate questions.  And as of now I have not got access to the device and
network in question.  I am trying to do my "homework" in advance.

The AIO in question is a CLX4195FN, but the two questions I have are
probably general to AIO.  We have the ULD and it is installed in both
computers that need access.  When the device is connected by USB to either
computer, it works fine.  But now we want, if possible, to network it.

1)  I assume that if the printer is connected by ethernet to a router, amd
that router is a wireless router, the printer can be controlled from a
laptop wirelessly connected to the router.  Is this correct?

2)  Can it scan over the network?  Again, I assume so, but would be
grateful for confirmation.


I omitted to say that the two computers are both running Debian Wheezy with
TDE 3.5.13.2.  The router is one supplied by Virgin (a cable company).  I
have no details.

Thanks.
Lisi


If the router functions as a normal router ought to function, then that 
shouldn't be a problem.  You don't say whether your network is set up 
for static IP addresses or DHCP.  I find static addressing to be more 
straightforward in instances like this.  If the printer/scanner/fax 
worked when connected via USB, then you should be able to use the same 
configuration files or apps and just change the device address.  E.g., 
using CUPS for printing, create another printer and specify the 
CLX4195FN's network address.  Prior to doing that though, try running a 
'ping' from your two Wheezy boxes to the all-in-one's network interface 
to ensure it's reachable.



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

Archive: https://lists.debian.org/5392e5c1.2080...@mousecar.com



Re: Debian on a Dell Latitude E7440

2014-06-24 Thread ken

On 03/22/2014 01:29 PM Craig L. wrote:

 I found folks
running other distros on the E7440, so we're going with it. If I have any
problems I will pass them along for anyone else that is interested in this.


One of the nice things about GNU/Linux is that, if one distro works on a 
particular machine, then it's at least theoretically possible for all 
other GNU/Linux distros to work on it.  After all, it all comes down to 
the code.  When this wouldn't be true would be when, for example, some 
distro (and there are a lot of them) used proprietary, non-FOSS code for 
a driver.  From my understanding, Debian in particular shuns non-FOSS 
software, so such an instance would be problematic.


How has the E7440 been working out?  Any of the hardware not recognized 
or not functioning as expected?



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

Archive: https://lists.debian.org/53a9a671.1000...@mousecar.com



Doing last part of update

2013-05-15 Thread ken

Hey, group,

A cron job on a system I was just handed does this:

/usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true

So there are some packages downloaded which need to be finished up. 
I've been using the "other" linux distro for a long time and haven't 
used debian in a very long time.  Truth be told, I'm a little shaky 
about doing this, don't want to remarkably mess up.  It's been 
recommended that I use aptitude.  But how would this play out?  What's 
the method least likely to encounter difficulty.


Thanks much.


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

Archive: http://lists.debian.org/5193c2d4.5050...@mousecar.com



Re: Problem with flash drive

2013-06-20 Thread ken



On 06/20/2013 07:22 PM Ethan Rosenberg, PhD wrote:

Dear list -

I am trying to copy FreeDOS to a flash drive.  I can't make it work.

This is what I have done -

Command (m for help): p

Disk /dev/sdb: 4051 MB, 4051697664 bytes
125 heads, 62 sectors/track, 1021 cylinders, total 7913472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00077d8f

Device Boot  Start End  Blocks   Id  System
/dev/sdb12048  989184  493568+   c  W95 FAT32 (LBA)
/dev/sdb2  989185 7913471 3462143+  83  Linux


Notice that sdb1 doesn't start at the beginning of the media, but rather 
2048 sectors in.  If your FreeDOS image is really a boot image (as the 
name of the file suggests), then you need to start the copy at the very 
beginning of the media, i.e., sector 0.  So I would try:


dd if=/home/ethan/Downloads/FreeDOS-1.1-USB-Boot.img of=/dev/sdb





I then delete the DOS partition since it seems to be corrupted and add
regenerate the  FAT Partition, and write it out.

Make file system:

mkfs.vfat /dev/sdb1
mkfs.vfat 3.0.16 (01 Mar 2013)


No sense making a file system because 'dd' is going to overwrite it.




Check file system:

fsck.vfat /dev/sdb1
dosfsck 3.0.16, 01 Mar 2013, FAT32, LFN
/dev/sdb1: 0 files, 0/61661 clusters

Copy FreeDOS:

dd if=/home/ethan/Downloads/FreeDOS-1.1-USB-Boot.img of=/dev/sdb1
63488+0 records in
63488+0 records out
32505856 bytes (33 MB) copied, 1.30864 s, 24.8 MB/

Check Mount:

/dev/sdb1 on /media/bkup type vfat
(ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)


After you do the 'dd' command I suggested above, then do

fdisk -l /dev/sdb

to see what partitions are listed.  There will likely be just one.  You 
can add more later.  Best anyway to see what the 'dd' command leaves you.







Check Contents:

rosenberg:/media# ls -la bkup
ls: cannot access bkup/%f IN (-.--s: Input/output error
ls: cannot access bkup/in a bat.ch: Input/output error
ls: cannot access bkup/
   label: Input/output error
ls: cannot access bkup/ng used.in: Input/output error
ls: cannot access bkup/ colon.
: Input/output error
ls: cannot access bkup/ry [size.]




hth,
ken


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

Archive: http://lists.debian.org/51c398ce.5040...@mousecar.com



Re: Problem with flash drive

2013-06-21 Thread ken



On 06/21/2013 12:29 AM Ethan Rosenberg, PhD wrote:

Ken -

Tried what you said, but I cannot make it work.



dd if=/home/ethan/DOSutil/FreeDOS-1.1-USB-Boot.img of=/dev/sdb
63488+0 records in
63488+0 records out
32505856 bytes (33 MB) copied, 0.447414 s, 72.7 MB/s


At this point you can try to reboot into FreeDOS.  That is, with the 
flash drive inserted, do a shutdown and then restart the computer again. 
 (Many Linuxes have a 'reboot' command you can run as root.  You may 
also have a menu item in your GUI for shutting down and/or rebooting.)


During the reboot process, you'll want to check the computer's BIOS to 
make sure that whatever the flashdrive is plugged into (USB, I assume) 
is an acceptable boot device and that it is checked before your normal 
boot device (which, I'm assuming is your hard drive).  If you don't know 
or are unsure about how to do settings in your BIOS, then please read up 
on that before changing anything.  You should have gotten a manual with 
your computer-- or perhaps you can download the manual from the web.





rosenberg:/media# fdisk -l
Disk /dev/sdb: 4051 MB, 4051697664 bytes
64 heads, 32 sectors/track, 3864 cylinders, total 7913472 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00077d8f

Device Boot  Start End  Blocks   Id  System
/dev/sdb1   *  32   63487   31728e  W95 FAT16 (LBA)



You didn't have to do the step above, but it doesn't hurt anything.  In 
this case, it's good that you did it, only because it shows that the 'dd 
...' command did its work properly.


Is 'fdisk -l' really the entire command you typed in to get the above 
output?




Was there another command you ran prior to running the one below?  If 
not, perhaps there's some automount script which ran in invisibly in 
background.  In any event, the output from the command below shows a 
valid vfat system written to /dev/sdb1... also a good sign.  But as said 
above, you should try to reboot into FreeDOS to test the image you put 
on your flashdrive.



rosenberg:/media# mount
/dev/sdb1 on /media/bkup type vfat
(ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,errors=remount-ro)





Since we don't know what was mounted, it's hard to know what to say 
about the below.



rosenberg:/media# cd /media/bkup
rosenberg:/media/bkup# ls
64k of m.emo  conditio.n i = (eq.ual  in a bat.ch%lukb?.ree
ng used.inpt to th.e d  sage.??P.AUStell you. if  tring].?.?/U
able to.the   ctive.?.Sea   es curre.nt   ings res.ourmand as.if
n if the. sp  racter)?.  $  s and di.rect enter.tot]??  te.xt
ame?  D   Curr.ent  exists..the   in the e.nvime?
no para.met  rd outpu.t o  seems to. beters to.dis   tting.?I.f a
and for.tha   debug [o.N |  fied com.man  into fre.eDOmes a fi.le/
not to e.xec  rectory.offsets, o.r rthan sig.n)?  umber of. th
ariable..??/  DEBUG wi.tho  %f IN (-.--s  ions as.youmeters i.n a
nsize2]]  rectory.sta  shows. kethan the.? while t.he
ariable.nam   director.y s f.ree  irectory.nam minimum.?
o?change. cu  reeCOM o.r o  sign to.the?  The '.*'   window t.owa
ar sign).??DIRS?.emo Fre.eDO   is remo.ved minsize.2 s
?.oderiables..??s  sion:?%s.?the comm.and   within.the
ason: %u. (%  DOWN]??D.own  g1==stri.ng2  istory b.uffmmand pr.omp
ommand [.arg  rnal com.man Speci.fie the con.ten  y out if. th
  assigns. th  drive an.d p  ge:?"pre.ss   istribut.ionm, speci.fy
ontents.ofrogram.. Respecify. asthe path. sp  ype veri.FY
ation an.d n  eater-th.an   he for c.omm  ?  labeln?
ORLEVEL.num   rrent ti.me   splay th.e vthout a.par
ays the.Fre   ectory.?.Typ  hrinks a. UM  lays or.setname2]??.Not
os comma.nd   r [/r] [./w]  ST filen.ametical Er.ror
   backsp.ace  edirect.the   h you wi.sh   le; by d.efan and li.nef
our file.s a  rsion an.d o  ST filen.ameTIME fro.m b
ber spec.ifi  e [drive.:]p  ibutors..?  lename [.parnded
to.the   out para.met  rwise?th.e c  [string]. totime [/t.] [
cify a n.ew   eep the.sam   I code 2.7)?  line by.itsne histo.ry?
plays or. se  ry [size.]??   system.wheting.?.f d
  colon.?  e execut.abl  ies a se.rie  ll debug. oun exit c.ode
play the. cu  ?.s a  t" and ".stdto that.fil
conditio.n i  e follow.ing  ilename1.] [  Loads a.pro?.ng
prompt t.he   sage "pa.cke  tch prog.ramtring is. sp

Thanks for everything, but I am still stuck.

Ethan
=
On 06/20/2013 07:22 PM Ethan Rosenberg, PhD wrote:

Dear list -

I am trying to copy FreeDOS to a flash drive.  I can't make it work.

This is what I have done -

Command (m for help): p

Disk /dev/sdb: 4051 MB, 4051697

Re: Debian Wheezy Compromised - www-data user is sending 1000 emails an hour

2013-12-24 Thread ken

On 12/24/2013 02:57 AM Raffaele Morelli wrote:

Read apache webserver documentation.


This is a good idea in general, but a more specific reference would 
actually be practical.





There is no problem whatsoever with files being owned by root.  This
is done all of the time.  It is okay.  This is the default for files
installed by Debian packages for example.

If you truly believe that files owned by root are a problem then
please start filing bug reports because there are a lot of packages
with files owned by root.


You are quite wrong here, "debian packages" (what are you referring to?)
are not php script supposed to go online and be exposed to the world.

Keep in mind that if a php script is owned by root user and there's a
security hole in it, an attacker can easily access every block of your
file system.


There seems to be some conflation here involving the ownership of the 
file and the ownership of process when these are actually quite 
distinct.  For example, /bin/rm is owned by root.  But the mere 
execution of it by a regular user doesn't give that regular user root 
privileges.  Conversely if a regular user owns an executable file and 
this file is executed by root, that process is not then owned by that 
regular user.  In short, the ownership of the file does not determine 
the ownership of the process invoked by that file.





Web pages are supposed to run with the same privileges and (limited)
shell as the user who runs the webserver.


This part is true and is why public-facing webserver *processes* are not 
invoked by root (though not too long ago they used to be).





Please, don't you spread confusion and read about security stuff.


Good conversation.  It seems we need more of this kind of thing.


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

Archive: http://lists.debian.org/52b95158.4030...@mousecar.com



Re: Connecting Debian to Android phone

2014-01-25 Thread ken

On 01/25/2014 04:35 PM Csanyi Pal wrote:

Hi,

I want to connect my Samsung Galaxy S4 mini mobile phone with my Debian
SID desktop system through an USB cable to transfer files from phone to
Debian system. How can I do that?

I have installed on the phone the KDE Connect application, and on the
Debian Dekstop the kdeconnect debian package, but don't know how to use
them?



For quite a while I've been doing this with a free app from google play 
called Software Data Cable... except what's nicer is that no USB cable 
is necessary.  SDC sets up an ftp server on the phone and then the files 
are transferred (in either direction) between my phone and computer over 
the local network wirelessly.  It's not the method you asked about, but 
I thought you might be interested nonetheless.



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

Archive: http://lists.debian.org/52e4b3bf.8060...@mousecar.com



Re: Wifi

2014-03-08 Thread ken

On 03/08/2014 11:02 PM Tom Furie wrote:

On Sat, Mar 08, 2014 at 09:51:52PM -0600, Stan Hoeppner wrote:

On 3/8/2014 2:18 PM, Patrick Alouidor wrote:

Hello all. I'm not sure if it me but I have a fresh install of Debian 7
on laptop Toshiba C-55A5310. and For some reason I cannot enable my wifi
switch. I have been pressing the F keys but no luck. please This is my
first Laptop ever and I wanted to put something stable on it and now I
cannot get my wifi to turn on. My I please get some form of assistance
on wifi.



You mention a "wifi switch".  There is no such thing.  The laptop has a
"wireless ethernet adapter" usually of the 802.11 a/b/g/n standard.  It
will "connect" to a "wireless router" or "wireless access point".


Given the context I would surmise that "wifi switch" means a switch on
the laptop to enable/disable the wireless adapter, whether that be an
actual switch, button, or key-combo.


True.  On mine and other laptops I've seen it's [Fn]+[F2]... but it's by 
no means a standard.



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

Archive: https://lists.debian.org/531c0af5.8040...@mousecar.com



Re: Wireless AP setup: RTL8188CUS

2014-03-14 Thread ken
I missed the first part of this thread.  Which chip does your wifi 
device contain?


Your driver specification below doesn't look right.  And bridging isn't 
necessary to set up an AP on one NIC and access to the internet from 
that via the second NIC.


On 03/13/2014 08:31 PM Selim T. Erdogan wrote:

Csanyi Pal,  2.03.2014:


However, I'm still trying to set this to work. I'm trying to test
hostapd by using the file hostapd-minimal.conf:
interface=wlan0
driver=nl80211
ssid=test
channel=1
bridge=br0


and when I run the following command:

csanyipal@b2:~$ sudo hostapd /etc/hostapd/hostapd-minimal.conf
Configuration file: /etc/hostapd/hostapd-minimal.conf
rfkill: Cannot open RFKILL control device
Could not set interface mon.wlan0 flags: No such device
nl80211: Failed to set interface wlan0 into AP mode
nl80211 driver initialization failed.


Can you check whether your device is capable of being put into AP mode?
(Some devices don't support it, as far as I know.)  I don't remember the
exact command, but you should be able to do it using iw or iwconfig.



but does'n lose the ssh connection anymore with Bubba Two. :)

Now I have the followings in my interfaces file:
auto lo br0
iface lo inet loopback

# Internet on eth0
allow-hotplug eth0
iface eth0 inet manual

# wifi on wlan0
allow-hotplug wlan0
iface wlan0 inet manual

# Bridge setup
# for dhcp address
iface br0 inet dhcp
bridge_ports eth0 wlan0

# dns-* options are implemented by the resolvconf package, if installed
# I want to remain my wired LAN
# LAN on eth1
allow-hotplug eth1
iface eth1 inet static
 address 192.168.10.1
 netmask 255.255.255.0
 network 192.168.10.0
 broadcast 192.168.10.255
 gateway 192.168.10.1
 dns-nameservers 192.168.10.1
 dns-search localdomain


With this setup I can't only reach the Internet, but can to ssh into
Bubba Two.


Several questions, for clarification:

You ssh from your sid desktop into the Bubba Two, right?
Do you define a static IP on your sid desktop for this?

It's the desktop that can't reach the Internet, right?
Once you ssh into the Bubba Two, can you reach the Internet on the
command line of the Bubba Two?
Were you able to reach the Internet from you desktop, going through the
Bubba Two, before attempting to se up the AP?  (If not, I think you
should try to achieve that first, before confusing things further
with the AP setup)

For the AP, the diagram you sent in earlier messages showed it being
attached to eth0.  Is that correct?  I would have thought it should be
attached to your LAN (thus to eth0).
Do you plan to define static IP addresses on the wireless devices you'll
use with your AP, or are you planning on using dhcp?

Selim



The command sudo ifconfig gives to me the followings:
br0   Link encap:Ethernet  HWaddr 00:22:02:00:07:3c
   inet addr:95.85.167.81  Bcast:95.85.167.255
   Mask:255.255.252.0
   inet6 addr: fe80::222:2ff:fe00:73c/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:7577 errors:0 dropped:0 overruns:0 frame:0
   TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:360740 (352.2 KiB)  TX bytes:8581 (8.3 KiB)

eth0  Link encap:Ethernet  HWaddr 00:22:02:00:07:3c
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:7577 errors:0 dropped:0 overruns:0 frame:0
   TX packets:57 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:588072 (574.2 KiB)  TX bytes:8047 (7.8 KiB)
   Base address:0x8000

eth1  Link encap:Ethernet  HWaddr 00:22:02:00:07:3d
   inet addr:192.168.10.1  Bcast:192.168.10.255
   Mask:255.255.255.0
   inet6 addr: fe80::222:2ff:fe00:73d/64 Scope:Link
   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
   RX packets:3116 errors:0 dropped:0 overruns:0 frame:0
   TX packets:4157 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:318666 (311.1 KiB)  TX bytes:343364 (335.3 KiB)
   Base address:0xc000

loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   inet6 addr: ::1/128 Scope:Host
   UP LOOPBACK RUNNING  MTU:16436  Metric:1
   RX packets:2524 errors:0 dropped:0 overruns:0 frame:0
   TX packets:2524 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:215081 (210.0 KiB)  TX bytes:215081 (210.0 KiB)

wlan0 Link encap:Ethernet  HWaddr 00:e0:4c:81:92:0e
   BROADCAST MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:1000
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


How can I setup my home network so I can use wifi AP and the eth1 LAN at
same time?

libpq-fe.h where and how???

2014-03-16 Thread ken
Compiling some code off of git failed for lack of libpq-fe.h...  I'm a 
little new to debian, so how do I locate and then download this file?


tia


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

Archive: https://lists.debian.org/532622d6.3050...@mousecar.com



Re: libpq-fe.h where and how???

2014-03-17 Thread ken

On 03/16/2014 06:25 PM Elimar Riesebieter wrote:

* ken  [2014-03-16 18:16 -0400]:


Compiling some code off of git failed for lack of libpq-fe.h...  I'm a
little new to debian, so how do I locate and then download this file?


$ apt-file search libpq-fe.h
libpq-dev: /usr/include/postgresql/libpq-fe.h
postgres-xc-server-dev: /usr/include/postgres-xc/server/gtm/libpq-fe.h

Elimar



Very cool.  Thanks.


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

Archive: https://lists.debian.org/53269d65.3080...@mousecar.com



Re: libpq-fe.h where and how???

2014-03-17 Thread ken

On 03/16/2014 06:23 PM Brian wrote:

On Sun 16 Mar 2014 at 18:16:54 -0400, ken wrote:


Compiling some code off of git failed for lack of libpq-fe.h...  I'm
a little new to debian, so how do I locate and then download this
file?


   https://www.debian.org/distrib/packages

and then

   Search the contents of packages


Thanks.  Good to know.


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

Archive: https://lists.debian.org/5326a4e7.1060...@mousecar.com



Re: Typing Cyrillic script with a UK keyboard in an en-gb setting

2016-09-25 Thread ken

On 09/24/2016 10:10 AM, Lisi Reisz wrote:

My husband has just asked to do this.  His system is vanilla from this point
of view.  (Mine is in a mess, with a messed-up scim and no foreign
fonts "working", but that is another story.)

Advice please on the best way to achieve this for him.  I.e., what do those of
you doing this or similar find works comfortably.

Thanks,
Lisi

This may be of some help: 
http://linuxmanagers.blogspot.com/2016/09/using-multiple-language-keyboards-in.html





Re: Android phone access in Dolphin does not work

2017-01-25 Thread ken

On 01/24/2017 02:38 PM, Gary Dale wrote:
I'm running stretch/AMD64 and I'm having extreme problems accessing my 
Samsung S5 phone from my Plasma5 desktop.


When I plug the phone in, I get the notification with 2 suggested 
actions. They both read "Open with File Manager" but the first one 
opens Dolphin with "camera:..." while the second opens Dolphin with 
"mtp:..." in the location bar. When I actually try to navigate to the 
folder with my photos, I get a notification on the phone telling me a 
device is attempting mtp access... When I click "Allow", I get another 
notification pop-up on my desktop with the same two options...


When I actually try to access the photos, I frequently get "process 
died" or "I/O error" messages, although sometimes I can actually see a 
photo (not just the file names) - persistence pays off. Moreover the 
phone will lock when connected, even if a file transfer is underway. 
This kills the transfer.


To make matters worse, I have photos and videos that I have taken 
which show up in the Gallery on the phone and which I can view on the 
phone and see when I remove the SD card and read it directly but which 
don't show up in Dolphin.


Clearly this is not the way the process is supposed to work. I can 
understand the phone requesting a verification for the connection, but 
everything on the desktop side seems wrong:

- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will 
stop file transfers,
- there should be a record of the error in a log somewhere. As it is, 
all I can find is a lot of systemd journal entries like "Jan 24 
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so) 
did not claim interface 0 before use" which seem to occur before the 
device is actually recognized.

- all the photos should show up


It sounds like you want to offload files from your android.  For a few 
years now I've been using Software Data Cable to do this, free app, no 
cable needed.  Launch the app and it sets up an ftp server on the 
phone.  Then from my laptop I log in, navigate, up- and download files.  
When done, I shut down the ftp server on the phone.  Easy-squeezy.




Re: Android phone access in Dolphin does not work

2017-02-02 Thread ken

On 01/26/2017 11:42 PM, Gary Dale wrote:

On 25/01/17 01:27 PM, Tony Baldwin wrote:



On 01/25/2017 12:58 PM, ken wrote:

On 01/24/2017 02:38 PM, Gary Dale wrote:

I'm running stretch/AMD64 and I'm having extreme problems accessing my
Samsung S5 phone from my Plasma5 desktop.

When I plug the phone in, I get the notification with 2 suggested
actions. They both read "Open with File Manager" but the first one
opens Dolphin with "camera:..." while the second opens Dolphin with
"mtp:..." in the location bar. When I actually try to navigate to the
folder with my photos, I get a notification on the phone telling me a
device is attempting mtp access... When I click "Allow", I get another
notification pop-up on my desktop with the same two options...

When I actually try to access the photos, I frequently get "process
died" or "I/O error" messages, although sometimes I can actually see a
photo (not just the file names) - persistence pays off. Moreover the
phone will lock when connected, even if a file transfer is underway.
This kills the transfer.

To make matters worse, I have photos and videos that I have taken
which show up in the Gallery on the phone and which I can view on the
phone and see when I remove the SD card and read it directly but which
don't show up in Dolphin.

Clearly this is not the way the process is supposed to work. I can
understand the phone requesting a verification for the connection, but
everything on the desktop side seems wrong:
- the two actions should be distinguishable by their description,
- the process shouldn't die and if it does, it should relaunch,
- the connection should block the phone from locking if locking will
stop file transfers,
- there should be a record of the error in a log somewhere. As it is,
all I can find is a lot of systemd journal entries like "Jan 24
14:01:33 transponder kernel: usb 4-5: usbfs: process 20598 (mtp.so)
did not claim interface 0 before use" which seem to occur before the
device is actually recognized.
- all the photos should show up


It sounds like you want to offload files from your android. For a few
years now I've been using Software Data Cable to do this, free app, no
cable needed.  Launch the app and it sets up an ftp server on the
phone.  Then from my laptop I log in, navigate, up- and download files.
When done, I shut down the ftp server on the phone. Easy-squeezy.




Just in case the above doesn't work out for you (and I'm going to 
look into that one, myself), because,  in my experience, this 
disaster called MTP is simply a headache...
I'm going to suggest what I do to access storage on my Motorola Droid 
II.

Install Dropbox.
Alternatively, if you have access to any remote server running an 
ftpd, AndFTP is an option. I've done both, and currently find the 
dropbox most convenient.


Tony


I'm going to hazard a guess that this problem is Linux specific since 
the hordes of Android users would rebel if this was happening on 
Windows. However I can't understand why it should be such an issue 
since the MTP is an open specification that has been around since 2008 
and Google is heavily involved with it.


The Dropbox idea sounds reasonable if I don't mind putting massive 
amounts of data onto the Internet. I think I'll try the software data 
cable instead.


Thanks.

Just a quick tip for using Software Data Cable:  When you fire it up on 
your android, you'll get a screen helpfully telling you the ftp command 
to run on the other end... but the command they give isn't right... 
well, maybe it is for Windows, I don't know. What's worked on Linux for 
me dozens of times is this:


$ ftp [phone's IP address] [port number]

Software Data Cable uses a non-standard port for its ftp service... a 
good thing, since ftp isn't the most secure protocol in town.  Note that 
there's a space between the ip and port#... also the first arg is just 
numbers.


I wish there was an ssh-based app for android... I've looked for such, 
haven't found it.  Is that a Windows thing?





Re: Skype

2017-02-08 Thread ken

On 02/07/2017 03:25 PM, Anonymous wrote:

Skype on Linux is terrible and crashes randomly, even after fixing the
Pulseaudio issue. No other software I've ever used on Linux causes as
many problems as Skype. Obviously this problem ultimately comes from
Microsoft, but nevertheless many of us need Skype for communications
with colleagues running a non-Linux OS since it is the overwhelming
market leader in VOIP; this is especially common in a business environment.

Skype needs to run on Linux with the same stability that it does on
Windows and MacOS, WITHOUT resorting to installing WINE, and preferably
without relying on WebRTC.

If you could develop a non-Skype Linux client with the ability to easily
communicate on the Skype platform --- something open source but which
has compatibility with Skype, coordinated with Microsoft --- that would
be ideal. But relying on Microsoft to develop good software for Linux
has proven to be a losing proposition and I'm sure is stifling the
adoption of Linux by a wider audience.

Having frequent connection drop-outs with Skype on different Linux and 
Android platforms, I switched over to Hangouts, a Google product.  It's 
better, buy still not as good as I'd like.  Now I'm trying to migrate 
over to Signal, a Whisper Systems product, but as with all of them, 
people on both ends need to use the same product and there aren't yet a 
lot of people using Signal.  More info about it at 
http://www.linux-magazine.com/Online/Features/Signal-Private-Messenger 
and https://whispersystems.org/




Re: How come i wrote a NO-BREAK SPACE in xterm+bash ?

2015-08-20 Thread ken

On 08/20/2015 01:59 AM, Bonno Bloksma wrote:

Hi,


In general, one wants NO-BREAK SPACE to be displayed just like a space.


Why would I want a character that doesn't behave as a space to be displayed
as a normal space? (For example, in the shell, as in the OP's original 
question.)
It seems a recipe for confusion at best, and for exploits at worst.


I do not understand if you are specifically asking for the relevance of the 
NO-BREAK SPACE or just in the case of the console.
In general the no-break space is used in a lot of languages where a Dutch word 
like 's morgens consist of 2 parts that should always stay together and not 
have the 's on the end of one line and the morgens on the next.
The no-brake space can also be used when writing about money and I would write 
$ 500 and I would not want the $ to be at the end of one line and the number to 
be at the next line.

If you are talking about console use, indeed I would not know why I would want 
/ need it there.

Bonno Bloksma



The expression "look like" is a bit ambiguous, as it can mean either 
"look *approximately* like" or "look *exactly like".  Perhaps we can all 
agree that a non-break space should look similar to a regular space, but 
*not* be visually indistinguishable from it.


I can see at least one console usage for a non-break space (and there 
could always be other uses invented in future which we can't foresee 
now):  If someone wants to use a CLI utility to search for, and possibly 
do some replacement of, an expression containing a non-break space, then 
of course they'd need to type the non-break space in the console.  For 
example, if you wanted to mass-edit old (pre-non-break-space) documents 
to include the non-break space character, you'd probably want to run a 
command to replace 's morgens' with 'smorgens' in the 
console.




new laptop: DVD or Blu-ray

2015-08-20 Thread ken
One of the build options for a laptop I'm looking at buying is DVD vs 
Blu-Ray.  I've never used Blue-ray before, so is there some compelling 
reason, as a Linux guy, to want to get Blu-ray?




Re: [CentOS] new laptop: DVD or Blu-ray

2015-08-20 Thread ken

On 08/20/2015 07:04 AM, Hal Wigoda wrote:

I wouldn't outfit a computer with blu-ray

(Sent from iPhone, so please accept my apologies in advance for any spelling or 
grammatical errors.)


On Aug 20, 2015, at 5:53 AM, ken  wrote:

One of the build options for a laptop I'm looking at buying is DVD vs Blu-Ray.  
I've never used Blue-ray before, so is there some compelling reason, as a Linux 
guy, to want to get Blu-ray?


Is that a personal preference, or are there reasons?



Re: [CentOS] new laptop: DVD or Blu-ray

2015-08-20 Thread ken

On 08/20/2015 07:35 AM, Nicolas George wrote:

Second, it [Blu-ray] has dmr crap in it that
>might require binary only spyware to work.

DVD-Video has them too, the only difference is that the crypto in the DRM
for DVD is terribly broken.


"Broken" in the sense that data is corrupted or in the sense that the 
DMR  is crackable?




Re: new laptop: DVD or Blu-ray

2015-08-20 Thread ken

On 08/20/2015 10:14 AM, Gary Dale wrote:

On 20/08/15 06:53 AM, ken wrote:

One of the build options for a laptop I'm looking at buying is DVD vs
Blu-Ray.  I've never used Blue-ray before, so is there some compelling
reason, as a Linux guy, to want to get Blu-ray?



The decision isn't that simple. As others have pointed out, the "no
optical drive" option also needs to be considered.


I've considered that, but the folks who designed the laptop didn't.  The 
choice is, as I said, either Blu-ray or DVD.  Of course I could tear out 
whichever came in the machine, or simply not use it ever.  But I figure, 
since it's there, I may as well see which would serve better, and for 
what.  Hence the post.





Another point to consider is "does the Blu-Ray drive support the new
m-discs? (see https://en.wikipedia.org/wiki/M-DISC)" Not all of them do.


Thanks for that.  Good to know.  The article mentions that M-disks 
allegedly last 1000 years and is good at talking about chemical 
composition and some other points.  It also stated that M-disks need a 
stronger laser to burn the media.  Is that what you mean by "support"?


Since the article doesn't mention formatting at all, I'm assuming that 
the formattings are the same as regular Blu-ray and DVD, yes?





M-Disc's big selling feature is long-term stability, making it good for
archiving or other long-term storage uses.

All optical discs have limited capacity compared with today's hard
drives and SSDs. However the optical drive offers essentially unlimited
capacity by swapping discs. The media is generally mechanically stable
and with M-Discs is also chemically stable so it's not a simple case of
"which is better, hard drive or optical" but rather which one suits your
purposes better?


Yes, a consideration, but not with the item I'm considering.  It offers 
SSD and HD and optical.





I'm still a fan of optical media for archiving so I've been using
Blu-Ray for several years now. At 25G per disc, I can store multiple
years of work on one disc. However as anyone with a PVR will attest, 25G
is not sufficient for backing up a media library. Still, putting
precious family videos on optical material is a reasonable precaution.





Re: new laptop: DVD or Blu-ray

2015-08-27 Thread ken

On 08/27/2015 06:30 AM, Elimar Riesebieter wrote:

* ken  [2015-08-20 06:53 -0400]:


One of the build options for a laptop I'm looking at buying is DVD vs
Blu-Ray.  I've never used Blue-ray before, so is there some compelling
reason, as a Linux guy, to want to get Blu-ray?


Isn't a second hd in the CD-tray a better option? You have the
choice to configure:

Raid or
2nd data store or
install another os or
create a video pool or
copy whatever you want to boot on it or
use it just as a backup medium or
install as much as the capa admits ISO-Images on it or


Elimar



With the particular laptop I was looking at, that isn't an option.  As 
said in the original post, there are two options: either DVD or Blu-ray.


That said, the laptop does come with two drives: an SSD and HD.



Re: new laptop: DVD or Blu-ray

2015-08-27 Thread ken

On 08/27/2015 06:25 AM, Lisi Reisz wrote:

On Thursday 27 August 2015 10:44:20 Thomas Schmitt wrote:


I am curious to learn more about the Sony-CD incident.


I googled it.
http://news.bbc.co.uk/1/hi/technology/4456970.stm

So sorry, Gene, but Thomas's instincts are right in this case.  The player
was "bricked" only in so far as the root-kit sometimes prevented access.

https://www.google.co.uk/search?q=Sony-CD+incident&oq=Sony-CD+incident&aqs=chrome..69i57.1102j0j7&sourceid=chrome&es_sm=93&ie=UTF-8

Lisi



Thanks for the links.  Somehow I missed this story when it came out 
(back in 2005).


What this incident points up is that *any* code which cannot be 
examined-- be it in software or hardware or firmware or other possible 
-ware-- can be malware.  Heck, even FOSS, if its code sufficiently 
obscure, can contain malware.


Second, it's rather remarkable that the Sony malware/rootkit was 
discovered at all.


Third: But it was.  And there were considerable legal and business 
repercussions resulting from that, so much so that, I would think and 
hope that other corporations will in future avoid attempting anything 
like Sony did.  (Government entities, however, are a wholly different 
matter.)


To return this subthread to the original question, are there relevant 
differences between DVD and Blu-ray in this regard?  I mean, it's 
possible for either or both to have malicious code in their firmware. 
But is either *known* to?




Re: can I access SD card in cell phone?

2015-09-25 Thread ken

On 09/25/2015 06:35 AM, Li Wei wrote:

I have a Samsung S7572 cell phone
I install a SD card in phone, now I want to access the card in Linux, how to do 
it?
Samsung provides kies, which runs in Windows

I have some old phones, their cards can be accessed in Linux
but how to it with Samsung S7572?
Thanks!!!



A couple years ago I wrote up an easy-to-read, easy way to do this with 
no cables necessary:


http://linuxmanagers.blogspot.com/



Re: can I access SD card in cell phone?

2015-09-25 Thread ken

That must be because of all the propaganda I have there. ;)


On 09/25/2015 03:48 PM, Li Wei wrote:

Thanks!
but I'm in China and linuxmanagers.blogspot.com seems blocked


On Fri, 9/25/15, ken  wrote:

  Subject: Re: can I access SD card in cell phone?
  To: "Li Wei" , debian-user@lists.debian.org
  Date: Friday, September 25, 2015, 1:28 PM


  A couple years ago I wrote up
  an easy-to-read, easy way to do this with
  no cables necessary:

  http://linuxmanagers.blogspot.com/







Installing mSATA Solid State Drive in Dell Precision M3800

2015-11-02 Thread ken
I'm considering getting a Dell Precision M3800 Mobile Workstation, would 
want to install my own mSATA SSD in it.  Does anyone here have one of 
these machines?  If so, is an SSD a user-installable component?  And if 
so again, how much needs to be taken apart?


Thanks much.



Re: Installing mSATA Solid State Drive in Dell Precision M3800

2015-11-03 Thread ken

On 11/03/2015 01:28 AM, David Christensen wrote:

On 11/02/2015 07:49 PM, ken wrote:

I'm considering getting a Dell Precision M3800 Mobile Workstation, would
want to install my own mSATA SSD in it.  Does anyone here have one of
these machines?  If so, is an SSD a user-installable component?  And if
so again, how much needs to be taken apart?


Download the service manual from Dell.  It should provide instructions
for replacing the drive(s) -- HDD/ SSD, "mobility", etc..  It's nice to
pick a model that you can get to the drive(s) by removing some screws
and sliding a carrier out, rather than having to take off the bottom
cover, etc..

David


John and David,

Thanks for replying.  Yes, I had a look at that Dell Service Manual 
before posting.  Judging from that manual, it looks simple enough.  But 
then my experience with service manuals of all kinds has shown me that 
they often leave out or gloss over steps, which is why I was hoping to 
get a response from someone who's actually done this.  The other issue 
regards the warranty: That service manual says only that replacing or 
installing some parts may void the warranty; it doesn't get any more 
specific than that.  So that was the other thing I was hoping to hear 
first-hand experience about.  And too, sometimes screws are painted with 
some kind of colored faux-glue, not locktite, to tell any authorized 
service person that that screw has been tampered with, voiding the 
warranty.  Again, not something a service manual would warn about.




  1   2   3   4   5   6   7   8   9   10   >