Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-29 Thread Bernard

Hi to Everyone,

The text quoted below has already been sent to the list, 2-3 days ago, 
someone had replied to it (but the message has been lost, I no longer 
see it on the list. I had replied again, which reply disappeared too.)
So, I want to say again that the errors shown in the text below (S 
instead of $, ` inst of ') are not errors that I made in the php script, 
which scripts I write using old vi (vim). This was due to the fact that 
some parts of my messages here were typed using LibreOffice and parts 
were copy/pasted here.


So, my actual concern still is that I can't get a php 7.4 script to call 
for a value entry, as I did years ago with older version.

 $nom = S_GET [‘nom’] ;
>
> no longer operates with php 7.4. This code is simply ignored. S_REQUEST,
> $_POST do not work either.
I spent hours searching for a way to get php to ask for an entry, but I 
didn't find anything.


On 28/03/2024 10:33, Bernard wrote:
Yes, this list (exactly the same here) shows that mysqli.so is loaded. 
In any case, as said before, this function does operate as I have checked.


But I've found more problems, concerning $_REQUEST, $_GET...

The old way that I used 11 yrs ago no longer works :

$nom = S_GET [‘nom’] ;

no longer operates with php 7.4. This code is simply ignored. S_REQUEST, 
$_POST do not work either.


Could someone show me how I should write these few lines dating 2010… 
(worked at least till 2013), which code is now ignored by php 7.4 with 
no explanations since I don’t have debugging function active. This 
example code comes from Kevin Yanks' s book dating 2010 :




These lines are now ignored by php 7.4

In any case, I’ve checked my php.ini (which I sent here a few days ago), 
and it seems to say that cookies are activated as well as $_REQUEST and 
other concerned functions.


On 26/03/2024 10:38, Bernard wrote:

ls -Al /usr/lib/php/20190902




Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-28 Thread Bernard
Yes, this list (exactly the same here) shows that mysqli.so is loaded. 
In any case, as said before, this function does operate as I have checked.


But I've found more problems, concerning $_REQUEST, $_GET...

The old way that I used 11 yrs ago no longer works :

$nom = S_GET [‘nom’] ;

no longer operates with php 7.4. This code is simply ignored. S_REQUEST, 
$_POST do not work either.


Could someone show me how I should write these few lines dating 2010… 
(worked at least till 2013), which code is now ignored by php 7.4 with 
no explanations since I don’t have debugging function active. This 
example code comes from Kevin Yanks' s book dating 2010 :




These lines are now ignored by php 7.4

In any case, I’ve checked my php.ini (which I sent here a few days ago), 
and it seems to say that cookies are activated as well as $_REQUEST and 
other concerned functions.


On 26/03/2024 10:38, Bernard wrote:

ls -Al /usr/lib/php/20190902

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard

I have progressed a little in my trials.

mysqli.so still shows the previously described problems, and I thought 
that this was responsible of the fact that mysqli functions were 
apparently discarded in the test programs I wrote.


I discovered that this was due to errors I made in the php program. The 
errors in the script being corrected, mysqli_connect, mysqli_select_db, 
mysqli_query... now do operate... despite the errors concerning 
mysqli.so that I discovered when running the tests which are proposed by 
'baeldung.com'


"

|$ php -m | grep mysqli|

"If the MySQLi extension is enabled, we’ll see /mysqli/ in the output. 
Otherwise, the output will be empty."


php -m grep mysqli

PHP Warning:  PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' (tried: 
//usr/lib/php/20190902/mysqli.so (//usr/lib/php/20190902/mysqli.so: 
undefined symbol: mysqlnd_global_stats), 
/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so 
(/usr/lib/php/20190902///usr/lib/php/20190902/mysqli.so.so: cannot open 
shared object file: No such file or directory)) in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'mysqli' 
(tried: /usr/lib/php/20190902/mysqli (/usr/lib/php/20190902/mysqli: 
cannot open shared object file: No such file or directory), 
/usr/lib/php/20190902/mysqli.so (/usr/lib/php/20190902/mysqli.so: 
undefined symbol: mysqlnd_global_stats)) in Unknown on line 0

mysqli

"

On 24/03/2024 19:51, Bernard wrote:


Hi to Everyone !

*PHP Warning: PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' * *However, the file is there... 
not human readable as expected* *and mysqli_connect doesn't operate.*


*Thanks in advance for your help*
*Bernard*


Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard

ls -Al /usr/lib/php/20190902
total 7732
-rw-r--r-- 1 root root   34920  9 juin   2023 calendar.so
-rw-r--r-- 1 root root   14440  9 juin   2023 ctype.so
-rw-r--r-- 1 root root   92264  9 juin   2023 exif.so
-rw-r--r-- 1 root root  161896  9 juin   2023 ffi.so
-rw-r--r-- 1 root root 5744752  9 juin   2023 fileinfo.so
-rw-r--r-- 1 root root   67688  9 juin   2023 ftp.so
-rw-r--r-- 1 root root   14440  9 juin   2023 gettext.so
-rw-r--r-- 1 root root   51304  9 juin   2023 iconv.so
-rw-r--r-- 1 root root   47208  9 juin   2023 json.so
-rw-r--r-- 1 root root  145512  9 juin   2023 mysqli.so
-rw-r--r-- 1 root root  255832  9 juin   2023 mysqlnd.so
-rw-r--r-- 1 root root  551440  9 juin   2023 opcache.so
-rw-r--r-- 1 root root   34920  9 juin   2023 pdo_mysql.so
-rw-r--r-- 1 root root  112744  9 juin   2023 pdo.so
-rw-r--r-- 1 root root  280680  9 juin   2023 phar.so
-rw-r--r-- 1 root root   39016  9 juin   2023 posix.so
-rw-r--r-- 1 root root   34920  9 juin   2023 readline.so
-rw-r--r-- 1 root root   14440  9 juin   2023 shmop.so
-rw-r--r-- 1 root root   96360  9 juin   2023 sockets.so
-rw-r--r-- 1 root root   22632  9 juin   2023 sysvmsg.so
-rw-r--r-- 1 root root   14440  9 juin   2023 sysvsem.so
-rw-r--r-- 1 root root   14440  9 juin   2023 sysvshm.so
-rw-r--r-- 1 root root   26728  9 juin   2023 tokenizer.so

On 24/03/2024 23:04, Jeffrey Walton wrote:

ls -Al
/usr/lib/php/20190902

Re: Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-26 Thread Bernard



On 24/03/2024 20:02, Marco Moock wrote:

Am Sun, 24 Mar 2024 19:51:05 +0100
schrieb Bernard :


'//usr/lib/php/20190902/mysqli.so'

Is that really the path in the message?
The 2 // must not be there.


I have the two // in the displayed error messages. However the file is 
where it should be, without double //





Debian 11 PHP 7.4 – Mysql 8 - Can’t get Mysqli_connect to work

2024-03-24 Thread Bernard

Hi to Everyone !

*PHP Warning: PHP Startup: Unable to load dynamic library 
'//usr/lib/php/20190902/mysqli.so' * *However, the file is there... not 
human readable as expected* *and mysqli_connect doesn't operate.*


*Thanks in advance for your help*
*Bernard*



Debian Stretch : X server won't start after update

2023-04-14 Thread Bernard

Hi to Everyone,

I am writing from my laptop on Ubuntu, but the problem I have is with my 
Desktop running Debian Stretch.
Having unfortunately Okayed a proposal for an update (which I rarely 
do…), upon restarting the system fails to launch X server.


My /var/log/messages are available at

http://bdebreil.free.fr/messages

starting line 7712 :

April 14 – 0858 – Failed to call gs_plugin_update on system-updates : 
waiting time max is over


Debian Stretch gnome session binary (1256) …. failed
   (msg repeated 5 times)
GLIB-Gobject-critical : gobject_unref_assertion 'G S OBJECT failed

….

Debian-Stretch gnome shell[1345] ; /build/ … has no handler with id '235895'

line 7725
PolicyKit daemon disconnected from the bus
We are no longer a registered authentication agent………
……..

I've attempted to shutdown and restart several times, I tested the 
starting with 'Advanced Options' and then called 'startx', to no better 
result.


How can I get back to my old system prior to this failed update ?  What 
else can I do ?


Thanks in advance for your help in restoring my system

Bernard




Re: Cannot display this video mode

2020-05-11 Thread M Bernard Richards



On 04/05/2020 20:50, Dan Ritter wrote:

M Bernard Richards wrote:

On 04/05/2020 12:43, Dan Ritter wrote:

M Bernard Richards wrote:

Hi,

I tried to upgrade from Debian 9.12.. (for which the Dell monitor worked
well) to buster and got the above message. Also it says "Optimum resolution
1280 x 1024". I tried the howtoforge.com advice but without success.

At what point did this occur? What had you just done?

Does the machine boot at all?

-dsr-

Hello and thanks for your message.

Custom is for people to keep talking on-list, so that searching
can bring up problems and answers in the future.


I had used a step-by-step?? guide from nixCraft, the final step being to run
(as root) apt-full-upgrade to go from Debian 9.12 to Debian 10 Buster

I then did a reboot to verify that all was OK, and the above message came up
along with "Optimum Resolution 1280 x 1024 60 Hz".

The machine worked fine with this monitor for several weeks prior to this,
using Debian 9.12.

Yes the machine boots and allows me to do Ctrl-Alt-F1 etc. and login as user
and as root


That's good. The most likely issue is that the X server is
ignoring your monitor's capabilities (via EDID) and has just
picked a common resolution ... which is wrong for you.

You can fix this by adding some configuration:

Section "Screen"
 Identifier "Screen0"
 Device "Card0"
 Monitor"Monitor0"
 SubSection "Display"
 Modes "1280x1024
 Depth 24
 EndSubSection
EndSection

The question is where to put this. /usr/share/X11/xorg.conf.d/
is a likely location. If the Identifier, Device or Monitor
strings are incorrect, you can find them in /var/log/Xorg.0.log
or in ~/.local/share/xorg/Xorg.0.log

-dsr-


Thanks for the suggestions. Tried that, made a file called xorg.conf 
using the above suggestion and put it with the other config files in 
/use/share/X11/xorg.conf.d/ to no avail.


mbnr

Stilll no luck


--
This email has been checked for viruses by AVG.
https://www.avg.com



Cannot display this video mode

2020-05-04 Thread M Bernard Richards

Hi,

I tried to upgrade from Debian 9.12.. (for which the Dell monitor worked 
well) to buster and got the above message. Also it says "Optimum 
resolution 1280 x 1024". I tried the howtoforge.com advice but without 
success.


Any advice for an ordinary user, appreciated.

Thanks,

M Bernard Richards.


--
This email has been checked for viruses by AVG.
https://www.avg.com



[SOLVED]Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-10 Thread Bernard




Le 09/04/2020 20:11, Greg Wooledge a écrit :

On Thu, Apr 09, 2020 at 08:04:31PM +0200, Bernard wrote:

[ 15541.577] (EE) AIGLX error: dlopen of
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so failed
(/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so: cannot open shared object
file: No such file or directory)


You're missing the libgl1-mesa-dri package (or it's partly installed, or
corrupted...).  In any case, try reinstalling libgl1-mesa-dri.


That did the trick !! After that package reinstalled, a return to user 
mode and


$ startx

did boot to the gnome desktop I'd lost 6 days ago, everything was there 
working all right. I logged out and booted again the usual way: 
everything was fine. I will never know how that driver got damaged.


Thanks a lot to you and to everyone who helped me solving that problem.

Bernard



Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-09 Thread Bernard




Le 09/04/2020 16:44, Greg Wooledge a écrit :

On Thu, Apr 09, 2020 at 04:32:10PM +0200, Bernard wrote:




If you're trying to debug X, start simple.  Install a traditional window
manager, and just name it on the startx command to override the system
defaults.


$ startx

invariably leads to

...
connexion to X server lost


At that point, you look for errors in ~/.xsession-errors or, more usefully,
in the X log file.  Which, for stretch-and-later, on most hardware, will
be in ~/.local/share/xorg/.  Or if for some reason your X server still runs
as root, it might be in the /var/log/ directory.


Here are a few meaningful lines extracted from the Xorg.0.log


Starting line 48/515 :

[ 15541.358] (II) systemd-logind: took control of session 
/org/freedesktop/login1/session/_33

[ 15541.360] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 15541.361] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 
paused 0
[ 15541.363] (--) PCI:*(0:1:0:0) 10de:128b:1458:36f8 rev 161, Mem @ 
0xee00/16777216, 0xe000/134217728, 0xe800/33554432, I/O @ 
0xe000/128, BIOS @ 0x/131072

[ 15541.363] (II) LoadModule: "glx"
[ 15541.363] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 15541.366] (II) Module glx: vendor="X.Org Foundation"
[ 15541.366]compiled for 1.19.2, module version = 1.0.0
[ 15541.366]ABI class: X.Org Server Extension, version 10.0
[ 15541.366] (==) Matched nouveau as autoconfigured driver 0
[ 15541.366] (==) Matched nv as autoconfigured driver 1
[ 15541.366] (==) Matched nouveau as autoconfigured driver 2
[ 15541.366] (==) Matched nv as autoconfigured driver 3
[ 15541.366] (==) Matched modesetting as autoconfigured driver 4
[ 15541.366] (==) Matched fbdev as autoconfigured driver 5
[ 15541.366] (==) Matched vesa as autoconfigured driver 6
[ 15541.366] (==) Assigned the driver to the xf86ConfigLayout
[ 15541.366] (II) LoadModule: "nouveau"
[ 15541.366] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 15541.367] (II) Module nouveau: vendor="X.Org Foundation"
[ 15541.367]compiled for 1.19.3, module version = 1.0.13
[ 15541.367]Module class: X.Org Video Driver
[ 15541.367]ABI class: X.Org Video Driver, version 23.0
[ 15541.367] (II) LoadModule: "nv"
[ 15541.367] (WW) Warning, couldn't open module nv
[ 15541.367] (II) UnloadModule: "nv"
[ 15541.367] (II) Unloading nv

from line 375

[ 15541.577] (EE) AIGLX error: dlopen of 
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so failed 
(/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so: cannot open shared object 
file: No such file or directory)

[ 15541.577] (EE) AIGLX: reverting to software rendering
[ 15541.577] (EE) AIGLX error: dlopen of 
/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so failed 
(/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so: cannot open shared object 
file: No such file or directory)

[ 15541.577] (EE) GLX: could not load software renderer
[ 15541.577] (II) GLX: no usable GL providers found for screen 0
[ 15541.580] (II) NOUVEAU(0): NVEnterVT is called.
[ 15541.610] (II) NOUVEAU(0): Setting screen physical size to 508 x 285
[ 15541.610] resize called 1920 1080
[ 15541.629] (II) config/udev: Adding input device Power Button 
(/dev/input/event4)
[ 15541.629] (**) Power Button: Applying InputClass "libinput keyboard 
catchall"

[ 15541.629] (II) LoadModule: "libinput"
[ 15541.629] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[ 15541.630] (II) Module libinput: vendor="X.Org Foundation"
[ 15541.630]compiled for 1.19.0, module version = 0.23.0
[ 15541.630]Module class: X.Org XInput Driver
[ 15541.630]ABI class: X.Org XInput driver, version 24.1
[ 15541.630] (II) Using input driver 'libinput' for 'Power Button'
[ 15541.630] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 
19 paused 0


The whole text file can be downloaded at

http://bdebreil.free.fr/Xorg.0.log





Start with the basics.  Can X run *at all*?

Make sure xterm is installed, and try

startx xterm



That works !  This is the only graphic thing that I have been able to 
launch since the crash


That should give you the barest possible X session.  If it works, you'll
have a mostly empty screen, but with an xterm in the upper left corner.
You'll be able to move the mouse pointer around, and if the mouse cursor
is inside the xterm window area, you'll be able to type in the terminal.
Do that, and type "exit" or Ctrl-D in the xterm to get out.

If it DOESN'T work, try to figure out why, by reading the X log file.

Also useful would be:

Which video chipset is in use?  lspci -nn


00:00.0 Host bridge [0600]: Intel Corporation Device [8086:590f] (rev 05)
00:01.0 PCI bridge [0604]: Intel Corporation Skylake PCIe Controller 
(x16) [8086:1901] (rev 05)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 
xHCI Cont

Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-09 Thread Bernard




Le 09/04/2020 15:45, Kent West a écrit :



On Thu, Apr 9, 2020 at 8:29 AM Bernard mailto:bdebr...@free.fr>> wrote:



I just realized that in that Debian Stretch system,

I HAVE NO /home//.gconf directory !





It'll rebuild itself when it's needed. The lack of a .gconf directory is
probably not causing your problem; rather, your problem is causing the
lack of a .gconf directory.

What happened when you tried running tasskel and installing a simpler
Windowing setup?


# tasksel

a graphical window opens and proposes a choice between Debian Desktop 
environment, GNOME, KDE, xfce, MATE... I alternatively chose most of 
these including Gnome Desktop env, GNOME, KDE, xfce, MATE.


$ startx

invariably leads to

...
connexion to X server lost

==

Another time, I attempted to run

# evolution

unable to init server, connexion refused
failed to initiate gtk+  could not open display

Does that mean that I should re-install the gtk library ?

Bernard



Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-09 Thread Bernard




Hi Tom, Alexei, Kent and Everyone else,

Le 05/04/2020 03:25, Tom Dial a écrit :




From the various postings it seems somewhat clear that the system, as

such, is not broken. The initial message indicates, I think Felix Miata
noted, that there is a problem with gdm starting (probably) gnome. It
also indicates that the boot completed almost normally (or almost
completed normally).

There is no obvious problem with the disks or partitions.


>

By the indications given, both disks are healthy, or considered so by
the Linux kernel.

The message string does not say directly whether you received a login
widget,

"Oh, no ..."

no login widget, the "Oh, no ..." displayed after about 1 minute.

 That would

indicate that GDM (or the display manager was in use, maybe lightdm)
worked, but gnome could not start.

I have seen a similar problem with gdm/gnome on occasion, but do not
remember the exact problem or its solution. It appeared to have
something to do with corruption in one of the files under
/home//.gconf. I think my answer might have been to throw away
that directory and let it rebuild as it liked.
Tom Dial


I just realized that in that Debian Stretch system,

I HAVE NO /home//.gconf directory !

[ While I have one my laptop using Ubuntu 14.04, also on my old desktop 
running Debian Lenny]


but it didn't rebuild itself so far !

What should I do to get it rebuilt ?

Bernard









Re: Debian Stretch broken !

2020-04-06 Thread Bernard




Le 06/04/2020 09:08, Felix Miata a écrit :


[quote]
You are in rescue mode. After logging in, type "journalctl -xb" to view
system logs[/quote]

Did you do this?


I did it a few posts ago ; in the end of it were three identical red 
lines saying that there was a bad block on sda2... But, at this time I 
was in rescue mode, as the normal boot had not gone to its end and that 
I had had to reboot on rescue mode.


Ever since I disabled gdm / gnome as Andrei had suggested, I have been 
able to carry the boot process to its end, even though it is only on 
text mode.


I then ran again the journalctl -xb test, which gave something else than 
before. I was able to copy it to an external drive as a text file, which 
I have put at this url for you to download :


http://bdebreil.free.fr/journalctl.txt

 It should provide clues what needs to be done and/or what is

going wrong. If journalctl -xb produces more than one screenful, it's the last
screen or two or three that would be most important.

Please report what video card you have by doing this:

lspci -nnk | grep -iA4 VGA

The important part of the output fills in these four blanks:

[10DE:]


Those four blanks are as follows :

(10DE:)128B for the video

(10DE:)0e0F for the audio

The whole output of
lspci -nnk | grep -iA4 VGA

has been saved as a text file and can be downloaded at

http://bdebreil.free.fr/lspcinnkvga.txt

Bernard







Re: Debian Stretch broken !

2020-04-06 Thread Bernard




Le 06/04/2020 02:07, Kent West a écrit :




You can log in as a normal user! Excellent!

Can you ping something by address? by name?

e.g.
ping 8.8.8.8
ping google.com 

(Just trying to see how "normal" your system is.)


ping 8.8.8.8 displays things related to time or something of the sort :

.
64 bytes from par21s03-in

ping google.com
seems to work too





Re: Debian Stretch broken !

2020-04-06 Thread Bernard




Le 05/04/2020 16:35, Kent West a écrit :







No, again, I think I've been mistaken. Seeing a different thread dealing
with this same problem, I realize that /dev/sda2 is likely the
"container" for extended partitions; trying to mount it would likely
result in an error; so I'm back to thinking I'd put my worry about this
error message aside for now, and see what "cfdisk" or some equivalent,
like "fdisk -l /dev/sda", says.



The screen results of

# fdisk -l /dev/sda

and

# cfdisk

are on the follong screenshots :

http://bdebreil.free.fr/IMG_0927.jpg

and

http://bdebreil.free.fr/IMG_0928.jpg

Bernard




Re: Debian Stretch broken !

2020-04-06 Thread Bernard



Le 06/04/2020 09:46, Andrei POPESCU a écrit :

On Du, 05 apr 20, 23:35:45, Bernard wrote:


Le 05/04/2020 08:24, Andrei POPESCU a écrit :


Log in with your normal user and try running 'startx' from the console.
In case it stops with some error messages we need those.


The on screen results of such trials have been photographied and are
available at the urls below :

http://bdebreil.free.fr/IMG_0923.jpg

http://bdebreil.free.fr/IMG_0925.jpg

http://bdebreil.free.fr/IMG_0926.jpg

This includes the results of the 'startx' trials.


Please attach the file /home/bd/.local/share/xorg/Xorg.0.log. It should
be small enough to be accepted by the list.

Kind regards,
Andrei



Here is the file.

Bernard
[ 27639.993] 
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 27639.995] X Protocol Version 11, Revision 0
[ 27639.995] Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian
[ 27639.995] Current Operating System: Linux Debian-Stretch 4.9.0-12-amd64 #1 SMP Debian 4.9.210-1 (2020-01-20) x86_64
[ 27639.995] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-12-amd64 root=UUID=4420b7eb-1d25-4445-8265-aae12fc4816a ro quiet
[ 27639.996] Build Date: 03 November 2018  03:09:11AM
[ 27639.997] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support) 
[ 27639.997] Current version of pixman: 0.34.0
[ 27639.998] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 27639.998] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 27640.000] (==) Log file: "/home/bd/.local/share/xorg/Xorg.0.log", Time: Sun Apr  5 22:58:02 2020
[ 27640.001] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 27640.001] (==) No Layout section.  Using the first Screen section.
[ 27640.001] (==) No screen section available. Using defaults.
[ 27640.001] (**) |-->Screen "Default Screen Section" (0)
[ 27640.001] (**) |   |-->Monitor ""
[ 27640.001] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 27640.001] (==) Automatically adding devices
[ 27640.001] (==) Automatically enabling devices
[ 27640.001] (==) Automatically adding GPU devices
[ 27640.001] (==) Max clients allowed: 256, resource mask: 0x1f
[ 27640.001] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 27640.001] 	Entry deleted from font path.
[ 27640.001] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[ 27640.001] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 27640.001] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 27640.001] (II) Loader magic: 0x55b53427be00
[ 27640.001] (II) Module ABI versions:
[ 27640.001] 	X.Org ANSI C Emulation: 0.4
[ 27640.001] 	X.Org Video Driver: 23.0
[ 27640.001] 	X.Org XInput driver : 24.1
[ 27640.001] 	X.Org Server Extension : 10.0
[ 27640.002] (++) using VT number 1

[ 27640.004] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_33
[ 27640.005] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 27640.005] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[ 27640.006] (--) PCI:*(0:1:0:0) 10de:128b:1458:36f8 rev 161, Mem @ 0xee00/16777216, 0xe000/134217728, 0xe800/33554432, I/O @ 0xe000/128, BIOS @ 0x/131072
[ 27640.006] (II) LoadModule: "glx"
[ 27640.006] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 27640.007] (II) Module glx: vendor="X.Org Foundation"
[ 27640.007] 	compiled for 1.19.2, module version = 1.0.0
[ 27640.007] 	ABI class: X.Org Server Extension, version 10.0
[ 27640.007] (==) Matched nouveau as autoconfigured driver 0
[ 27640.007] (==) Matched nv as autoconfigured driver 1
[ 27640.007] (==) Matched nouveau as autoconfigured driver 2
[ 27640.007] (==) Matched nv as autoconfigured driver 3
[ 27640.007] (==) Matched modesetting as autoconfigured driver 4
[ 27640.007] (==) Matched fbdev as autoconfigured driver 5
[ 27640.007] (==) Matched vesa as autoconfigured driver 6
[ 27640.007] (==) Assigned the driver to the xf86ConfigLayout
[ 27640.007] (II) LoadModule: "nouveau"
[ 27640.008] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 27640.008] (II) Module nouveau: vendor="X.Org Foundation"
[ 27640.008] 	compiled for 1.19.3, module version = 1.0.13
[ 27640.008] 	Module class: X.Org Video Driver
[ 27640.008] 	ABI class: X.Org Video Driver, version 23.0
[ 27640.008] (II) LoadModule: "nv"
[ 27640.008] (WW) Warning, couldn't open module nv
[ 276

Re: Debian Stretch broken !

2020-04-05 Thread Bernard




Le 05/04/2020 08:24, Andrei POPESCU a écrit :

On Vi, 03 apr 20, 20:41:06, Bernard wrote:

Hi to Everyone,
Having done some minor resettings on alsamixer with no results, I thought I
had to reboot.

But : "Oh no, something has gone wrong..."





Apparently I missed this on first read, and though you are being dropped
to the rescue console.




Starting X as root is not recommended. I would suggest instead you run
(as root):

 apt install xinit
 systemctl set-default multi-user.target

and then boot "normally" (this time in text mode).

Log in with your normal user and try running 'startx' from the console.
In case it stops with some error messages we need those.


The on screen results of such trials have been photographied and are 
available at the urls below :


http://bdebreil.free.fr/IMG_0923.jpg

http://bdebreil.free.fr/IMG_0925.jpg

http://bdebreil.free.fr/IMG_0926.jpg

This includes the results of the 'startx' trials.

Doing this, I have been able to login as user, which confirms that 
'/home/user' was still available. A random check confirmed that most or 
 likely all files were still there on /home/bd


a 'df' test still didn't show any

'/dev/sda2'

 partition, but, as mentioned before, I doubt if there was any such 
partition before ; in my other computers I have none, if I except the 
more than ten years old systems. Nice to understand that, without such 
partition, the /home/bd is available


I have been able to access

/var/log/messages

 and other similar files, and to copy them onto an USB External Hard 
drive. These hold tens of thousands of lines, and I don't know which 
keywords to search for, but these said files are available upon request, 
or I can search them if someone suggests keywords.




To revert to graphical login you must run (as root):

 systemctl set-default graphical.target





Best regards,

Bernard






Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-04 Thread Bernard




Le 04/04/2020 18:16, Andrei POPESCU a écrit :

On Sb, 04 apr 20, 11:00:06, Bernard wrote:

Thanks a lot for this reply

The output of the proposed tests are shown on the following screen picture :

http://bdebreil.free.fr/IMG_0906.jpg


..


Please post also the contents of /etc/fstab.


http://bdebreil.free.fr/IMG_0907.jpg



It's curious that fdisk shows sdb has no partition at all. Is this
expected or does sdb contain your /home?


There is no mystery about sdb ; I should have mentioned it before. This 
is an additional disk ; my desktop has two hard drives. This extra one 
had no part in the install process, I only used it later on as an 
extension to save files, I mount it manually every time I want to use 
it. I didn't see any point to partition it. I successfully mounted it in 
my recovery boot, and everything seemed to be OK at first sight.


Regards,

Bernard



Re: Partition unreadable [was: Re: Debian Stretch broken !]

2020-04-04 Thread Bernard

Thanks a lot for this reply

The output of the proposed tests are shown on the following screen picture :

http://bdebreil.free.fr/IMG_0906.jpg

As for partition sda2 : I don't remember having created this partition 
when installing Stretch on this then newly bought desktop (2 years ago). 
Isn'it funny that it shows the exact same size as that of the swap 
partition sda5 ?


I doubt that I would have willingly created such a small partition... 
maybe the install program created it...


Whether it did exist or not in my working system, one thing remains :

on the rescue mode, I cannot find my /home directory

Waiting for your advice and recommendations,

Bernard

Please post the output of following commands from the rescue console.
>
> LANG=C lsblk -f
> LANG=C fdisk -l
>

Le 04/04/2020 08:28, Andrei POPESCU a écrit :

On Sb, 04 apr 20, 01:13:35, Bernard wrote:


Next I typed 'journalctl -xb' to view system logs : a dozen of pages which I
will shoot later, one thing I have noticed in it all, printed in red
characters :

EXT4-fs (sda2): unable to read superblock

this repeated three times !


This *could* indicate a serious problem and attempts to fix it *could*
make it worse. It could also be a minor issue that is easily fixed.

Do you have an *empty* spare drive to copy your data to? Ideally you
should use 'dd' to take a complete image of sda and work on that
instead.

 dd if=/dev/sda of=/dev/ bs=1M status=progress

Warning: this will overwrite your data on the spare drive!

For this to work properly the spare drive should be same size (to the
byte!) or bigger than sda.

Before any recovery attempts let's try to find out how your drives are
partitioned.

Please post the output of following commands from the rescue console.

LANG=C lsblk -f
LANG=C fdisk -l

These are read-only commands so should be safe.

Kind regards,
Andrei





Re: Debian Stretch broken !

2020-04-03 Thread Bernard




Le 03/04/2020 21:05, Kent West a écrit :



On Fri, Apr 3, 2020 at 1:41 PM Bernard mailto:bdebr...@free.fr>> wrote:


Having done some minor resettings on alsamixer with no results, I
thought I had to reboot.

But : "Oh no, something has gone wrong..."

So, I am writing this message from my other laptop running Ubuntu 14.04

I tried to reboot in rescue mode, but I don't know what to do from
there. 'startx' says that it doesn't have the proper files to launch
startx as root.

login
bd

says : wrong login (doesn't even ask a pswd)


It's unclear how far you're getting.

Can you boot normally and get to a login prompt on a text-only screen?

--
Kent

Thanks for your reply. To get login prompt and text screen, I had to 
take pictures with a camera, since the caracters are so small. Reading 
back those images, I will say this :


upon booting, a number of screen messages do appear and scroll down 
fast. I could only see that 'OK' was on most or all of them. In the end, 
a screen with smaller characters appear for 2-3 sec, that I have 
photographied.It has two lines as follows :


/dev/sda1: clean, 408719/60530688 files, 116865639/242103552 blocks
[8.436046] nouveau :01:00.0: priv: HUB0: 085014  (1e70820b)

Those two lines only appear for 2-3 sec, so I had a hard time to 
photography them on the screen, and I am just coping them by hand, Links 
for photos are as follows :


http://bdebreil.free.fr/IMG_0900.jpg
http://bdebreil.free.fr/IMG_0901.jpg
http://bdebreil.free.fr/IMG_0902.jpg
http://bdebreil.free.fr/IMG_0903.jpg
http://bdebreil.free.fr/IMG_0904.jpg

After those 2-3 sec, another screen appears saying (translated from 
French to English)


"Oops, something went wront. A problem has occured and the system cannot 
recuperate. Please disconnect and try again"


Countless trials have all lead to the same behaviour.

Now, if I reboot on rescue mode, a lot of fast moving messages do 
appear, I only could see that most or all of them bore the mention 'OK', 
as said before. In the end, smaller characters do remain on screen, 
waiting till I submit the root pasword. Then :


You are in rescue mode. After logging in, type "journalctl -xb" to view 
system logs, "systemctlreboot" to reboot, "systemctldefault" or ?D to 
boot into default mode


Give the superuser pswd (or press CTRL-D) to continue : [9.315865] 
[TTM] Zone kernel: A


Available graphic memory: 2097152 kiB

[   9.316077 [TTM] Initializing DMA pool allocator
[ nouveau . DRM:
..
etc ...

When typing 'ls -l' home directories do not appear (see pictures)

Next I typed 'journalctl -xb' to view system logs : a dozen of pages 
which I will shoot later, one thing I have noticed in it all, printed in 
red characters :


EXT4-fs (sda2): unable to read superblock

this repeated three times !

Thanks in advance for your comments and advises.

Bernard








Debian Stretch broken !

2020-04-03 Thread Bernard

Hi to Everyone,
Having done some minor resettings on alsamixer with no results, I 
thought I had to reboot.


But : "Oh no, something has gone wrong..."

So, I am writing this message from my other laptop running Ubuntu 14.04

I tried to reboot in rescue mode, but I don't know what to do from 
there. 'startx' says that it doesn't have the proper files to launch 
startx as root.


login
bd

says : wrong login (doesn't even ask a pswd)

I remember a few years back on older versions, I had used 'System Rescue 
CD', but this said CD, provided that I find it, would probably no work 
on this system



Thanks in advance for your help so that I can expect to boot my system 
without loss of data


By the way: not only did I reset alsamixer prior to rebooting, also I 
had accepted an automatic system upgrade this morning.


Bernard



Re: Can't get Logitech webcam c910 to operate under stretch

2020-04-03 Thread Bernard
Thanks for this reply. I still haven't found a way to get that  Logitech 
c910 webcam on my desktop running Debian Stretch. It operates only as a 
camera and does not record any sound.


(This same Logitech c910 works on my laptop running Ubuntu 14.04. It 
works bad : the recorded sound is mixed with a loud background noise, 
possibly that of the laptop fan, but it does still work. The built in 
camera (Bison) also records loud background noise.


Back to my desktop running Stretch, I ran the following tests :

ls /dev/video*
/dev/video0

ls /dev/audio*
ls: impossible d'accéder à '/dev/audio*': Aucun fichier ou dossier de ce 
type


(Whether my webcam is plugged or not, ls /dev/audio* doesn't show 
anything. /dev/video0 only shows when the webcam is plugged to usb port)


Using VLC, I got info about audio peripherics :
GK208 HDMI/DP Audio controller Digital Stereo (HDMI2)

#dmesg : This is weird :

[  830.346032] uvcvideo: Found UVC 1.00 device  (046d:0821)
[  830.359491] uvcvideo 1-10.3:1.2: Entity type for entity Extension 4 
was not initialized!

etc.

[
[273.480947] usb 1-10.3: reset high-speed USB device number 6 using xhci_hcd
[  825.951919] usb 1-10.3: USB disconnect, device number 6
[  829.503038] usb 1-10.3: new high-speed USB device number 7 using xhci_hcd
[  829.874824] usb 1-10.3: New USB device found, idVendor=046d, 
idProduct=0821
[  829.874830] usb 1-10.3: New USB device strings: Mfr=0, Product=0, 
SerialNumber=1

[  829.874834] usb 1-10.3: SerialNumber: 314061A0
[  830.346032] uvcvideo: Found UVC 1.00 device  (046d:0821)
[  830.359491] uvcvideo 1-10.3:1.2: Entity type for entity Extension 4 
was not initialized!
[  830.359499] uvcvideo 1-10.3:1.2: Entity type for entity Processing 2 
was not initialized!
[  830.359504] uvcvideo 1-10.3:1.2: Entity type for entity Camera 1 was 
not initialized!
[  830.359508] uvcvideo 1-10.3:1.2: Entity type for entity Extension 5 
was not initialized!
[  830.359512] uvcvideo 1-10.3:1.2: Entity type for entity Extension 6 
was not initialized!
[  830.359515] uvcvideo 1-10.3:1.2: Entity type for entity Extension 7 
was not initialized!
[  830.359519] uvcvideo 1-10.3:1.2: Entity type for entity Extension 8 
was not initialized!
[  830.359821] input: UVC Camera (046d:0821) as 
/devices/pci:00/:00:14.0/usb1/1-10/1-10.3/1-10.3:1.2/input/input15


root@Debian-Stretch:/home/bd#

*

Tests using  v4l2-ctl

bd@Debian-Stretch:~$ v4l2-ctl --list-devices

UVC Camera (046d:0821) (usb-:00:14.0-9):
/dev/video0

The 'list of configurable controls' only concerns video, nothing about 
audio !



$ arecord -l
 Liste des Périphériques Matériels CAPTURE 
carte 0: PCH [HDA Intel PCH], périphérique 0: ALC887-VD Analog 
[ALC887-VD Analog]

  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: PCH [HDA Intel PCH], périphérique 2: ALC887-VD Alt Analog 
[ALC887-VD Alt Analog]

  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 2: U0x46d0x821 [USB Device 0x46d:0x821], périphérique 0: USB Audio 
[USB Audio]

  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0

Here we can see mention of the audio function

Hoping for more help,

Bernard


On 02/04/2020 06:39, Celejar wrote:

On Wed, 1 Apr 2020 17:14:29 +0200
Bernard  wrote:


testing with cheese, it doesn't record any sound. Thanks in advance for


Try testing the camera with other software, e.g., ffmpeg, mpv, vlc:

https://wiki.archlinux.org/index.php/Webcam_setup
https://help.ubuntu.com/community/Webcam

Celejar





Can't get Logitech webcam c910 to operate under stretch

2020-04-01 Thread Bernard
testing with cheese, it doesn't record any sound. Thanks in advance for 
your help

Bernard



How to enable reiserfs in buster

2020-02-12 Thread Bernard van de Koppel
Hi,

I would like to enable reiserfs for the various systems we are moving to
buster.

In the previous version ( the config for reiserfs was set to
"CONFIG_REISERFS_FS=m" in /boot/config-3.16.0-4-amd64) in debian 8.11.

In Buster, this is set to "# CONFIG_REISERFS_FS is not set"
in /boot/config-5.4.14-sunxi64 (on an pine64).

How can I enable this in the new config?? Is it possible to do this without
rebuilding the kernel?? I would prefer an method that has an minimal impact
on other updates.

Hope anyone can help,

Bernard van de Koppel


Re: odvr for Olympus WN-960PC : problem installing multimedia repository on Stretch

2018-09-25 Thread Bernard
True enough, the package odvr is not in any Debian repository. Reading 
more carefully the same doc from Ray Woodcocks, I found a Google storage 
place where said package could be downloaded


https://code.google.com/archive/p/odvr/downloads

But... trying to install

#dpkg -i odvr_0.1.4.1_i386.deb

I got an error message saying that my hardware was not compatible since 
it was md65, not i386. The same Google archive also proposes something 
for md65, but it has to be built and compiled, and there is NO MAKEFILE 
provided... the user is supposed to create its own, and I am not ready 
to go that way.


So, instead, I installed odvr_0.1.4.1_i386.deb on a very old DELL 
Inspiron running Ubuntu 8.04 (Hardy Heron)... and... IT WORKS there with 
my Olympus recorder !



On 9/24/18 9:24 PM, Matthew Crews wrote:

On 9/24/18 7:36 AM, Bernard wrote:

Hi to Everyone,

I recently discovered that I could run that old voice recorder on
Debian. According to what I read on

https://raywoodcockslatest.wordpress.com/2016/05/15/linux-vn960pc/

it works well once this :

odvr_0.1.4.1_i386.deb

is installed (or maybe something more recent...). Problem is, this is
unavailable on my default repositories. I tried adding

deb http://www.deb-multimedia.org stretch main non-free

to my sources.list, but, after the update, the package odvr is still
unavailable.

Where can I get this package, or is there anything else that could fill
my purpose with this Olympus voice recorder ?

Thanks in advance for your help

Bernard



Are you sure that ODVR is in the repos? I'm looking and it doesn't
appear to be.

http://www.deb-multimedia.org/dists/stable-backports/main/binary-i386/







odvr for Olympus WN-960PC : problem installing multimedia repository on Stretch

2018-09-24 Thread Bernard

Hi to Everyone,

I recently discovered that I could run that old voice recorder on 
Debian. According to what I read on


https://raywoodcockslatest.wordpress.com/2016/05/15/linux-vn960pc/

it works well once this :

odvr_0.1.4.1_i386.deb

is installed (or maybe something more recent...). Problem is, this is 
unavailable on my default repositories. I tried adding


deb http://www.deb-multimedia.org stretch main non-free

to my sources.list, but, after the update, the package odvr is still 
unavailable.


Where can I get this package, or is there anything else that could fill 
my purpose with this Olympus voice recorder ?


Thanks in advance for your help

Bernard



[SOLVED] Re: Stretch and Gnome 3 : defining a new keyboard shortcut

2018-03-07 Thread Bernard



On 07/03/2018 17:17, Rol Ham wrote:

Hi Bernard,

On 07.03.2018 15:32, Bernard wrote:

Hi to Everyone,

On my new Debian Stretch with Gnome 3.22, I wanted to define a keyboard
shortcut to launch an Xterm. If I go to 'Settings' ==> 'Parameters' ==>
'Keyboard', and '+' at the bottom of the list so as to add a new
personnalized shortcut, a new box get displayed, in which I am supposed
to write a name, a command name, and define a shortcut. As for 'name', I
entered 'Terminal', and as for command name, I wrote :'gnome-terminal',
since this is what works in a terminal whenever you want to open an
extra one.


I have done it the same way (command 'gnome-terminal') and the shortcut
works fine. Maybe the choosen shortcut is already in use? So far as I
remember I had to disable a shortcut in use before reassigning it.



I tested a bit more, and succeeded to get this to work. Things to 
remember are as follow :


 - After pressing the '+' sign to add a new shortcut, record the chosen 
keyboard shortcut FIRST. You can't do anything else until you have done 
that first. Only after this can you successfully seize names and command.


  - Don't expect the new shortcut to work right away. You will have to 
reboot your system before it work.


Thanks for your help

Bernard



Stretch and Gnome 3 : defining a new keyboard shortcut

2018-03-07 Thread Bernard

Hi to Everyone,

On my new Debian Stretch with Gnome 3.22, I wanted to define a keyboard 
shortcut to launch an Xterm. If I go to 'Settings' ==> 'Parameters' ==> 
'Keyboard', and '+' at the bottom of the list so as to add a new 
personnalized shortcut, a new box get displayed, in which I am supposed 
to write a name, a command name, and define a shortcut. As for 'name', I 
entered 'Terminal', and as for command name, I wrote :'gnome-terminal', 
since this is what works in a terminal whenever you want to open an 
extra one.


But this didn't work !  Once this entered, the system did not allow me 
to define a keyboard shortcut, only to 'modify'.


I tried to replace 'gnome-terminal' by '/usr/bin/gnome-terminal' and by 
'.//usr/bin/gnome-terminal', but none of these worked either.


What should I do to enter that personalized keyboard shortcut ?

Thanks in advance for your help

Bernard



Re: Stretch with Gnome 3.22 : Icons on desktop

2018-03-04 Thread Bernard



On 03/03/2018 00:55, Liam O'Toole wrote:

On 2018-03-02, Bernard  wrote:



On 02/03/2018 14:03, Liam O'Toole wrote:

On 2018-03-02, Bernard  wrote:

Hi !









You can create your own icons by drag-and-drop, copy-and-paste, or by
creating files in your ~/Desktop directory.



It works this way on my old desktop running Debian Lenny and Gnome 2.22
also on my laptop on Ubuntu 14.04..




Strange. It works for me (as they say) with GNOME 3.22 on Stretch. I
also tried it with the same GNOME version on CentOS 7, also with
success.


I surely can have text files or pdf files
that will launch either Libreoffice or evince...


Have you tried a simple

cp /usr/share/applications/evince.desktop Desktop/


I just tried it : it works !  Since it did not work the way it did with 
Gnome 2, I had not even tried this before !


The first time I click onto the icon, it says that this new launcher is 
not reliable though... However it works and, after the first launch, the 
name changes and you no longer have any warnings.


In the end, I think that I will use it as is, and not bother testing 
'mate' nor the 'nemo' fork for Nautilus


Thanks for your help

Bernard


?


and I could possibly put there a few sim links to apps, but this is
far from being quick and easy as it used to be with gnome 2


Agreed.





Re: Stretch with Gnome 3.22 : Icons on desktop

2018-03-02 Thread Bernard



On 02/03/2018 14:03, Liam O'Toole wrote:

On 2018-03-02, Bernard  wrote:

Hi !









You can create your own icons by drag-and-drop, copy-and-paste, or by
creating files in your ~/Desktop directory.



It works this way on my old desktop running Debian Lenny and Gnome 2.22
also on my laptop on Ubuntu 14.04..

but not on my new Debian Stretch with Gnome 3.22. Here, there is no way 
I can drag and drop something that will remain on the desk, nor can I 
copy and paste ; I can just create files in my desktop directory, where 
I can just have files, no app. I surely can have text files or pdf files 
that will launch either Libreoffice or evince... and I could possibly 
put there a few sim links to apps, but this is far from being quick and 
easy as it used to be with gnome 2




Stretch with Gnome 3.22 : Icons on desktop

2018-03-02 Thread Bernard

Hi !

Has anyone succeeded in displaying icons on the gnome 3.22 desktop ?  I 
tried the 'gnome-tweak-tool', but the one that is available through the 
Stretch repositories does not allow displaying any more icons than 
'home' and 'dustbin'. I read something saying that icon display will be 
unavailable after gnome v. 3.28... but I am using 3.22 ! The above 
document recommends using 'Nemo' instead of Nautilus if one wishes to 
have icons on desktop. Other docs says one should use 'mate' instead of 
gnome.


May I ask if someone here has good or bad experience of gnome 3.22, and 
what is the best way to get desktop icons: Nemo ?  Mate ?  Something else ?


Thanks in advance for you advices

Bernard



Re: Need Help restoring a filesystem on an external drive WD 'My Book'

2017-12-03 Thread Bernard

Thomas Schmitt wrote:

Hi,

arne wrote:
  
[stuff deleted]

This is probably the normal superblock in that partition.
But running e2fsck might cause the end of the remaining data in the
filesystem.

I'd try to mount the loop device and hope to recover some files.
When this is queezed out, then maybe a run of e2fsck might recover more
valid files ... or ruin the filesystem.


Have a nice day :)

Thomas

  
So, in the mind of trying more of this, I plugged and connected the 
device once more, for, maybe the thirtieth time... Surprise : this time, 
it did AUTOMOUNT the way it used to in the old days ! Or, maybe not 
quite the same way.  But it did mount, and I have succeeded in copying 
files and directories on to another support, which operation took more 
than 2 hours (it was about 500 Gb). Copy went fine. But I can tell you 
that, after having shut down and unplugged the device, I could never 
restart it in a dozen of trials, even in testing other suitable power 
supplies. This most likely reveals that the hardware is faulty.


But it may be interresting to go into details about that exceptional 
mount. It did automount on /dev/sdb1. But I also could see a /dev/sdb2 
in listing /dev.. and, indeed, I was not surprised, since the sdb1 
partition was only 500Gb while the device was 1Tb, and that I remembered 
that I had formated and filled 2 partitions on it. So, I tried to 
manually mount sdb2, but this wouldn't work : it said :


mount : filesystem type 'unknown_LVM2 type'

and indeed, what there was supposed to be on this partition, according 
to the sticker i had left, were large files and directories from my 
other desktop computer, which is formated in LVM2 (soft RAID 
filesystem). I don't know what I could have found if I had plugged the 
device to that Desktop, but I won't have a chance to try.


I will inquire to know if I can get that hardware repaired... but I am 
not too optimistic on this...


All of this raises a number of questions concerning safe storage of 
data. What is available is far from reliable. Another problem is that of 
usb ports : on two of my three computers, usb ports have become faulty 
after 2-3 years ; on my old desktop dating back to 2007, on 5 usb ports, 
3 are faulty ; when this started, I just had to sligntly move the plug 
into its slot, but this has ended in the fact that now each trial to 
plug anything in these slots causes an instant shutdown of the machine.


Bernard






Re: Need Help restoring a filesystem on an external drive WD 'My Book'

2017-11-28 Thread Bernard
   
0020 0080 0080         
0028 0020 9de01159   . .Y      
0030 00e21159 56002400   ...YV.$.      
0038 53ef 0100   S...      
0040 0388dd4b 004eed00   ...K.N..      
0048  0100         
0050  0b00         
0058 0001 3800   8...      
0060 0200 0300         
0068 6f048c19 5ed54af8   o...^.J.      
0070 b665401f 92a05116   .e@...Q.      
0078           
0080           
0088 2f6d6564 69612f62   /media/b      
0090 642f3666 30343863   d/6f048c      
0098 31392d35 6564352d   19-5ed5-      
00A0 34616638 2d623636   4af8-b66      
00A8 352d3430 31663932   5-401f92      
00B0 61303531 3136   a05116..      
00B8           
00C0           
00C8  c503         
00D0           
00D8           
00E0           
00E8  214ef652   !N.R      
00F0 54f54df2 a8d486b3   T.M.      
00F8 0bc68920 0100   ...       
0100           
0108 0388dd4b    ...K      
0110           
0118           
0120           
0128           
0130           
0138           
0140           
0148           
0150           
0158  1c001c00         
0160 0100          
0168           
0170           
0178 b0c11301          
0180           
0188           
0190           
0198           
01A0           
01A8           
01B0           
01B8           
01C0           
01C8           
01D0           
01D8           
01E0           
01E8           
01F0           
01F8           

Interface Advanced
check_part_mac failed for partition type AF
1 P partition_map  1 63 63
2 P Free  64 262207 262144
3 P HFS   262208 1953525151 1953262944
4 P Free  1953525152 1953525167 16

TestDisk exited normally.




arne wrote:
How am I to get this drive back to operation, or, at least, to 
recuperate the datafiles that are stored in that WD external drive ?


Thanks in advance to tell me what diagnosis and repair tools I could
use

Bernard



Hello,

TestDisk checks the partition and boot sectors of your disks.
 It is very useful in forensics, recovering lost partitions.

PhotoRec is file data recovery software designed to recover lost
pictures from digital camera memory or even Hard Disks.It has been
extended to search also for non audio/video headers.

Both are in the packet testdisk

Hope this helps,

Greeting.



  




Re: Si seulement tu savais combien je suis épuisée de cette solitude Anaelle

2017-08-29 Thread Lepleux Bernard

oui

Le 25/08/2017 18:18, Anaelle Avniu a écrit :


Voudrais-tu être mon étoile polaire ce soir? oui
http://bit.ly/2vlUDja





plu recevoir

2017-08-07 Thread Chaubet Bernard

Je ne souhaite plus recevoir : me désabonner ! merci .



Re: strange problem with chromium

2017-04-04 Thread Bernard

Cindy-Sue Causey wrote:

On 3/31/17, Dominik George  wrote:
  

Hi,



[…] on Ubuntu 14.04 […]
  

Any chance you chose the wrong mailing lis
I missed that part when I skimmed the email. Am writing to say that I
am experiencing something similar *occasionally* on Debian Stretch.
Was seeing it on Jessie, too. I'll grab the message next time I see
it.

Cindy :)



Thanks to everyone for your replies. Sure, I should have addressed to the 
Ubuntu list... Anyhow, the replies I got here are good enough : chromium works 
OK, only trouble is at start... and I now know that other people have a similar 
problem on Debian. I think it is likely to be a connexion problem with 'my' 
Google account. I didn't even remember having a Google account, but, maybe, a 
few years ago I had got one for Google Groups.

Upon installing Chromium, I didn't know that it had anything to do with Google 
; I knew that Google Chrome had used the Chromium code, but I did not suppose 
that Chromium had tied itself with Google in return ; I'd rather thought of a 
conflictual relationship between the two.

I also have a Debian system on this other computer ; it is old Lenny, which I don't intend to upgrade, since I have so many things I want to keep as is, that may require a lot of time to adapt to a new system ; instead I plan to ADD a new Jessie system on an additional hard drive that I will get installed in my desktop computer, which will allow a choice through multiboot. I don't have Chromium on Lenny, only on my Ubuntu laptop, I will install it on Jessie whenever I get it. 

But then, as far as web browsers are concerned, the problem remains : either you have problem with whatever needs Flashplayer, or you must go commercial through Google... 


Your advices on the flashplayer problem will be welcome

Bernard



strange problem with chromium

2017-03-31 Thread Bernard

Hi to Everyone,

Every time I start my newly installed Chromium (on Ubuntu 14.04), I get 
this warning message below. I have to cancel it twice before the app 
starts to work normally.


translated from French :
'Please type your password to unlock connection tool kit. The pasword 
you are using for the purpose of starting a session on this computer, no 
longer matches that of your connexion tool-kit'. Whichever paswords that 
may be relevant that I type or retype, are not reckognized.


in the maintime, this other warning displays : 'Impossible to read your 
preferences. Some functions may not be available, and your personal 
config may not be saved'


Every other software works OK on this system with no password problem. 
In fact, Chromium also seems to work OK, once I have cancelled twice the 
warning above, and whatever change I make is being recorded for next 
start, such as character size.


Thanks in advance for your advices

Bernard



Re: GNOME Shell can't unmount my USB key

2016-02-14 Thread Bernard

Patrick Bartek wrote:

On Mon, 08 Feb 2016, to...@tuxteam.de wrote:

  

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Feb 07, 2016 at 03:20:22PM -0800, Patrick Bartek wrote:


On Sun, 07 Feb 2016, Me wrote:

  

Hello,

In GNOME Shell, when I click on the "Eject" option in the
notification bar to unmount my USB key, it unmounts correctly and
then immediately mounts again, as if I just plugged it.


I have noticed the same thing here, with an External Hard Drive on my 
Clevo laptop under Ubuntu 14.04. If I unmount it from the icon on the 
desk, it will unmount and then re-mount 2 or 3 seconds later. Whenever 
this happens, I unmount manually :


#umount /media/'POP 500'

and then it does unmount, the icon dissapears, and does not remount 
later ; I can unplug the device.


HOWEVER, i noticed something weird. On this laptop, I have two usb 
plugs. I have problem with only one of the two plugs ; the other plug 
does umount my external usb drive from the icon on the desk, and it does 
NOT remount later. I can't explain why. Besides, the one usb plug that 
causes remounting problems, does not recognize my camera, while the 
other plug does. I first thought that one plug must have been usb3 
compatible (or usb n whatever) while the other was only compatible with 
an older usb software... but I really don't understand, since the one 
that gives better transfer speed is the one that does not reckognize my 
Canon camera and remount after dismounting !


Bernard



Raspbian vnc server autostart

2016-01-11 Thread Bernard Lee
😊Dear Debian,
I'm Bernard.I have a little problem with my raspberry pi 2 running Raspbian
Jessie.
Hope you can help me.I don't know how to set my pi turn on the vnc server
when boot.
I don't  know  how  to  set the bootconfig.txt. please tell me how to
fix it when you reply.i'm
from Hong Kong.
Yours,
Lee Tsz Wo Bernard


any way to setup a nevo c2 remote control ?

2015-11-15 Thread Bernard

Hi,

This remote is said to be compatible with linux. I have both Debian 
Lenny and Ubuntu 14.04 on 2 different computers, trials were carried on 
both.


Has anyone ever succeeded to connect to the setup database ?

www.ez-rc.com is the url that is written on the remote cover, the device 
comes with no paper notice.. Once this url reached, you are being 
requested to either create a new account or connect to an existing one. 
Problem is, whichever email address you enter as a new user, the reply 
is 'This e-mail address is already registered with us'. On the other 
hand, if you try to connect as a know user using same adress, and then 
click upon 'lost pasword ?', you get asked to enter again your e-mail 
adress, and then get the reply that the address in their base is not 
matching. Something must be wrong, maybe the service is being 
discontinued. True enough, in the bottom of login page, appears in red 
"this site is designed for Internet Explorer version 7 and 8". So, I 
tried to connect using an old XP partition with IE7, but then, whenever 
I enter an e-mail address on the ez-rc application, it says "this format 
is not reckognized".


I hope that there is a way to get connected to this setup site, or maybe 
a way around.


Thanks in advance for any input

Bernard



Les événements déclencheurs d'un comportement

2013-08-13 Thread Bernard

Bonjour


Les événements déclencheurs d'un comportement


Un comportement  est toujours la conséquence d'un événement, ou/et un moyen de 
communication pour obtenir ou éviter quelque chose.

les accompagnants est d'en identifier la cause, surtout si la personne n'a pas 
les moyens de s'exprimer.

Le comportement problématique peut être tout à fait inhabituel, inattendu, mais 
aussi se répéter souvent et depuis longtemps.





Re: Trying to install a package on a Lenny system : what url do I need on my sources.list ?

2012-10-05 Thread Bernard

Brian wrote:

On Wed 03 Oct 2012 at 19:23:52 +0200, Bernard wrote:

  

I still have an old Lenny system on which I wish to install the
'testdisk' package.

'apt-get install' says that it cannot get the necessary files.

I know that Lenny is no longer maintained, but I suppose that there
is a repository where the old packages are still available.

Could someone tell me what address I should put in my source.list so
as to be able to install the desired package ?  Alternatively, where
could I possibly find an appropriate 'testdisk.deb' file that I
could install using 'dpkg -i mypackage.deb' ?



You have this to help with sources.list:

   http://www.debian.org/distrib/archive

Or there is

   http://snapshot.debian.org

  

Thanks a lot for this useful info

Bernard


--
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/506f4e3f.3080...@teaser.fr



Trying to install a package on a Lenny system : what url do I need on my sources.list ?

2012-10-03 Thread Bernard

Hi to Everyone,

I still have an old Lenny system on which I wish to install the 
'testdisk' package.


'apt-get install' says that it cannot get the necessary files.

I know that Lenny is no longer maintained, but I suppose that there is a 
repository where the old packages are still available.


Could someone tell me what address I should put in my source.list so as 
to be able to install the desired package ?  Alternatively, where could 
I possibly find an appropriate 'testdisk.deb' file that I could install 
using 'dpkg -i mypackage.deb' ?


Thanks in advance

Bernard


--
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/506c74a8.8050...@teaser.fr



Re: can't get sound to work with webcam Logitech C910

2012-03-25 Thread Bernard

Keith McKenzie wrote:




I have tried to see with alsamixer if something looked weird: recording
levels as well as play levels on both cards seem OK (Green + while in
the columns, just before the red zones).



Not sure if you've tried these:-

Alsamixer has 'mic-boost', 'capture', 'capture1', & 'internal mic 
boost'. (Press F4)


Also F6 might give another soundcard.


I sort of tried these... What I mean is that I suppose not all sound 
cards support all these options. Mine does have 'Capture', 'Playback' 
and various SPDIF options, but no 'intertnal mic boost' or 'mic boost'. 
As for F6, it lists the two sound cards that are available in that 
system, that is :


HDA Intel G45 DEVCTG

and the webcam sound card, that states that it does not have any 
playback function. For more details, please see the screen shots that I 
have done with alsamixer :


http://bdebreil.free.fr/alsamixer1.jpg

http://bdebreil.free.fr/Alsamixer2.jpg

http://bdebreil.free.fr/alsamixer3.jpg

http://bdebreil.free.fr/alsamixer4.jpg

http://bdebreil.free.fr/alsamixer5.jpg

http://bdebreil.free.fr/alsamixer6.jpg

http://bdebreil.free.fr/alsamixer7.jpg

http://bdebreil.free.fr/alsamixer8.jpg


You will surely notice on these screen shots that most sound settings 
are so high that they are 'in the red'. Those settings were the only 
ones that allowed me to record a very weak and distorted - but still 
existing - sound in videos. Normal settings (green zones and green + 
white zones) gave no sound at all






--
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/4f6f9cbb.70...@teaser.fr



Re: can't get sound to work with webcam Logitech C910

2012-03-25 Thread Bernard

Camaleón wrote:

On Sun, 25 Mar 2012 14:37:12 +0200, Bernard wrote:

  

Camaleón wrote:



  

main subpicture error : blending YUVA to I444 failed



   ^^

Mmm, the above error looks more close to be related with image than
sound :-?


  

It may be the case, since the image is not good either. It appears the
same as I could see it while recording, that is, in chunks... I mean, as
if the camera had been working on and off



Mmm, maybe is that Cheese is not well suited to get the best of HD cams, 
I mean, you may need more control over the video settings.


  

Have you tried your microphone from Gnome sound recorder or another
application (arecord)? How about running "alsamixer" (or your DE sound
applet) to be sure the "capture/input/mic" source control is at a high
level and not muted/lowered?
  
  
  

I tried both, recording is not muted, and I can play wav files by

$ play myfile.wav



What's the output of "arecord -l"? I ask becasue it can be that you have 
now two microphones (one coming from the sound card and other from the 
webcam) and need to define what's the default or which to use.
  


arecord -l says:

List of Capture Hardware devices

Card0: Intel [HDA Intel] device 0:
   ALC662 rev1 Analog [ALC662 rev1 Analog]
   Subdevices: 1/1
   Subdevices #0: subdevice #0

Card1 : U0x46d:0x821 [USB Device 0x46d:0x821], device 0: USB
   audio [USB Audio]
   Subdevices: 1/1
   Subdevice #0: subdevice #0


I have tried to see with alsamixer if something looked weird: recording 
levels as well as play levels on both cards seem OK (Green + while in 
the columns, just before the red zones).


Now, what happens if I try just recording voice, with and without the 
webcam connected ?  In both cases, it records ... next to nothing, but 
not quite nothing though. I just type:


$ rec testfile.wav

and I speak a few words... then CTRL C to quit, and:

$ play testfile.wav

I can hear next to nothing... but if I boost alsamixer cursors to the 
maximum (either with alsamixer in an xterm or using the icons on the 
gnome desk), then if it really is on the maximum (cursor columns gone 
full into the red), then I can record and play a sound that I can hear ; 
it is weak but still I can easily reckognize my voice.  In the other hand,


$ play any_other_wavfile_recorded_somewhere_else.wav

I get normal level good sound with alsamixer set to normal values for play

I have just tested a bit more with alsamixer, this time using my webcam 
and GUVCwiewer. If I boost the alsamixer settings to maximum (red 
level), then I get SOME sound in my videos, which plays back using, not 
vlc, but 'Totem'... But then the played back sound si very week and even 
cracky (distorded with kinds of cracks)... and absolutely no sound at 
all if the alsamixer parameters are not to the maximum.


As for Cheese, I just tested something else as just mentioned. It is 
GUVCwiewer. It looks a lot better... but still no sound or very bad and 
weak one as stated above.



--
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/4f6f5e37.5020...@teaser.fr



Re: can't get sound to work with webcam Logitech C910

2012-03-25 Thread Bernard

Camaleón wrote:

On Sat, 24 Mar 2012 22:37:45 +0100, Bernard wrote:

  

I just bought the above mentioned web camera, and, if I record a video
using Cheese, the sound is not there when I try displaying the record
using 'vlc'. I get this:

main subpicture error : blending YUVA to I444 failed


   ^^

Mmm, the above error looks more close to be related with image than 
sound :-?


  
It may be the case, since the image is not good either. It appears the 
same as I could see it while recording, that is, in chunks... I mean, as 
if the camera had been working on and off

this line repeated a number of times.

The image is there though, but no sound



Have you tried your microphone from Gnome sound recorder or another 
application (arecord)? How about running "alsamixer" (or your DE sound 
applet) to be sure the "capture/input/mic" source control is at a high 
level and not muted/lowered?
  


I tried both, recording is not muted, and I can play wav files by

$ play myfile.wav

But, maybe "Cheese" is not a good choice for video recording with a 
webcam such as this ?  What else would you recommend ?  My purpose with 
this webcam is, for now, to use is as a video recorder, not for video 
chat as yet.



--
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/4f6f1178.8020...@teaser.fr



can't get sound to work with webcam Logitech C910

2012-03-24 Thread Bernard

Hi to Everyone !

I just bought the above mentioned web camera, and, if I record a video 
using Cheese, the sound is not there when I try displaying the record 
using 'vlc'. I get this:


main subpicture error : blending YUVA to I444 failed

this line repeated a number of times.

The image is there though, but no sound

Thanks in advance for your input


P.S. : Debian Squeeze on that system.


--
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/4f6e3ea9.1030...@teaser.fr



Re: big problem with TP-LINK WiFi card

2012-03-13 Thread Bernard

Camaleón wrote:

On Mon, 12 Mar 2012 12:37:27 +0100, Bernard wrote:

  

Camaleón wrote:


On Sat, 10 Mar 2012 23:33:02 +0100, Bernard wrote:
  

[stuff deleted]
  
  

If I were to upgrade kernels, which kernel would you recommend ?





I'd go for the 3.x branch.

  

Is this kernel likely to have taken into account the bug that concerns
my PCI wireless card ?



Can't confirm on this, this is "test & try". 

  
As for the right way to connect to Squeeze-backports, you were entirely 
right. As soon as I called the proper apt-get install command, the 
install of kernel 3.2.0 did start and proceeded successfully to the end. 
Well, it wasn't bootable right away. Indeed, when upgrading from Lenny 
to Squeeze, I had choosen to remain with GRUB 1, and, on my 
/boot/grub/menu.lst, the lines related to the newly installed 3.2.0 
kernel did not have anything about 'initrd'. I had to manually add the 
expected line, and then, after that, the new kernel did boot all right.


So far, everything seems to work all right with this new kernel... but I 
haven't tested everything yet...


HOWEVER, as far as my TP-LINK pci wireless card is concerned, THIS IS 
EXACTLY THE SAME THING AS BEFORE !  Connexion is quick and strong, but 
it only lasts anytime from 30 seconds to one and a half minute, after 
what the system freezes and the only way to get out is to disconnect 
mains power !


I can see that newer 3.2.x kernels are available to compile and install 
from scatch. But how shall I know which one - if any - has taken into 
account and corrected the bug that concerns wireless connexions with my 
TP-LINK pci card ? 

As for the Squeeze distro with newer kernels that one can boot from a 
CD, where - at what url - should I download the iso image to burn ?



--
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/4f5ff72...@teaser.fr



Re: big problem with TP-LINK WiFi card

2012-03-12 Thread Bernard

Camaleón wrote:

On Sat, 10 Mar 2012 23:33:02 +0100, Bernard wrote:

  

Camaleón wrote:



  
  

If I were to upgrade kernels, which kernel would you recommend ?



I would try with the backports one, as it's easier to install. If that also fails, I 
would compile the latest stable kernel from sources available at kernel's site 
(now 3.2.9).


Greetings,

  
The only one that I could find on my Squeeze backports is 
3.2.0-0.bpo.1-686-pae


#apt-get install -s linux-image-3.2.0-0.bpo.1-686-pae
..

some packages cannot be installed. This may mean that you have requested 
something impossible... etc...

The following information could help you :

The following packages have non satisfied dependances:
   linux-image-3.2.0-0.bpo.1-686-pae : depends : linux-base (>=3~) but 
2.6.32-41 will have to be installed
   Recommends : firmware-linux-free (>=3~) but 2.6.32.41 will have to 
be installed

E: Defectuous packages
#

Kernel 2.6.32-41, which I supposedly should install... is the one that 
is already running on that system !!


I guess that I will have to do a new kernel compiling from sources and 
headers and installation from scratch. But is it safe to try installing 
a 3.2 vintage on my system ?  Will it take up a lot more RAM ?  The only 
other 2.6 kernel that I could find is 2.6.33-20 (also to be installed 
from scratch). Do you think that it might be safer to test that one 
first ?  Is this kernel likely to have taken into account the bug that 
concerns my PCI wireless card ?



--
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/4f5ddff7.5050...@teaser.fr



Re: big problem with TP-LINK WiFi card

2012-03-10 Thread Bernard

Camaleón wrote:

On Fri, 09 Mar 2012 11:08:31 +0100, Bernard wrote:

  

Bernard wrote:


Hi to Everyone,

On the Desktop of my association, there was no wireless card. So, I
purchased one that is said to be Debian compatible. It is a PCI card
TP-LINK
TL-WN751ND

It is supposedly based on an Atheros chipset AR 9227

I plugged it inside the Central Unit on a PCI slot, and then booted the
Debian Squeeze system.
  


(...)

  

P.S. : I carried new tests. As said above, now that my WiFi is
configured, every attempt to boot, leads to "freezing" of the system in
the middle of gnome start... EXCEPT IF I shutdown my DSL/WiFi box !   As
long as no connexion is possible, the system starts all right ; I can
see the other WiFi available in the area (I don't have the
passwords...). This being said, if I reboot my WiFi connexion on the DSL
modem, then, as said before, connexion does happen all right, it seems
fully operational, but only for about 45 to 60 seconds, system freezing
happens next. My TL-WN751ND card is supposed to work with Debian kernel
module ath9k, which is supposed to be loaded with the wireless-tools
package, which is alreeady installed.



There are many issues reported for system freezes regarding that kernel 
module (ath9k), there is even a documented bug at the Linuxwireless site:


http://linuxwireless.org/en/users/Drivers/ath9k/bugs#Hangs_with_PCI_devices_and_SMP_systems

And even on Debian BTS:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611946

I would try with an updated kernel.

Greetings,

  
Thanks for this information. I might end up updating the kernel, but at 
this stage I am still trying to understand what happens and if there is 
another way to go around. I also have an ASUS laptop on which I 
installed Debian Squeeze on a dual boot together with MSWIN XP. This 
laptop allows a wireless connexion, even though nothing was installed 
other than what already existed on "MSWIN-XP". Wireless connexions are 
fully operational, even though they are often active for hours. I 
searched about the chipset used. It appeared to be the same as on the 
Desktop ! 


lspci on the laptop (the one that works fine) says :

Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-express 
rev 01


(while on the Desktop where no wireless connexion can operate for any 
longer than one or two minutes without system freeze, this is a AR9287 
Wireless Network Adapter, TP-LINK TL-WN751ND)


As stated, both machines are on Squeeze. On the laptop where everything 
works fine,  kernel is 2.6.32-5-686 (Debian 2.6.32.30), while it is 
Debian 2.6.32-41 on the problematic Desktop.


I carried a few more tests on the problematic Desktop. I tested 'Wicd' 
instead of 'NetworkManager'. Even though I had uninstalled (#apt-get 
remove --purge) the old Wicd package and re-installed a new one , it did 
reckognise my WiFi, but I couldn't get any connexion: the password did 
not seem to be accepted ; it said "wrong password". True enough, this is 
a "pasphrase", not a key, that was required, and I had nothing else than 
a WPA-PSK key, the very same one that was being reckognized by NM. I 
tested several times to no avail.


I am willing to test 'ifup', but I don't know what I should write in my 
/etc/network/interfaces file. I carried a few tests, to no avail.


I also tested another chip that I have purchased in the same time. It is 
a "mini-PCI" wireless card (TP-LINK model TL-WN861N). I had to purchase 
a special "mini-pci to pci adaptator" in order to be able to insert it 
in a PCI slot in said Desktop. This one is not being reckognized "out of 
the box" as the TL-WN751ND was. You must install 'firmware-atheros' 
before it gets acknowledged. This one is supposedly driven by AR922X 
wireless-network-adapter. But I got nowhere with this. #iwconfig said 
that it was on wlan1, but I could never even see any wireless network 
with it. I also tested it on MSWIN, where it seemed reckognized all 
write after proper installation with appropriate drivers... but in the 
end I never got any connexion ; it seems to be that my DSL box wifi 
signal was too weak for this chipset... The other chipset, the one that 
connects OK to Debian for a short time before system freeze, works 
perfectly under MSWIN.


So, I wonder why an atheros wifi card works so well on a laptop with 
Squeeze, and another very closely related Atheros chipset refuses to 
work on another machine on Squeeze.


If I were to upgrade kernels, which kernel would you recommend ?


--
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/4f5bd69e.1040...@teaser.fr



Re: big problem with TP-LINK WiFi card

2012-03-09 Thread Bernard

Bernard wrote:

Hi to Everyone,

On the Desktop of my association, there was no wireless card. So, I 
purchased one that is said to be Debian compatible. It is a PCI card 
TP-LINK


TL-WN751ND

It is supposedly based on an Atheros chipset AR 9227

I plugged it inside the Central Unit on a PCI slot, and then booted 
the Debian Squeeze system.


As a rather pleasant surprise, the wireless system was being 
acknowledged immediately, and I could display a list of wireless 
networks available in my area, amongst which I saw my own DSL wireless 
network on which I have been able to connect any other laptop or 
desktop computer that ever came to my house. I clicked to that Network 
on the list, and then entered all the digits of my WPA password. This 
being done, I got the message that I was connected and that the 
connexion was allright. Well, then I launched Firefox (I mean 
Iceweasel) and called for a web page... As soon as the connexion to 
that page was achieved, THE SYSTEM FROZE and I could do nothing 
more... The mouse was no longer active, same for the keyboard or 
anything else, CTRL-ALT-DEL did nothing, and I had no other choice 
than disconnecting power. At reboot, the freezing did appear right 
away, in the process of gnome launching. Same at each new attempt.


I first thought that the chipset may have been faulty or damaged. So I 
tested it under MSWIN (XP) since I have a dual boot on that desktop. 
Under MSWIN, after the appropriate install with the provided CDROM, 
the TL-WN751ND card did operate all right. After the password was 
typed, connexion happened and operated without freezing the system or 
any other trouble. So, it is most likely that the hardware is not 
faulty here.


I understand that I should probably have first checked if my Debian 
Squeeze system was ready with the appropriate packages to run that 
wireless chipset, instead of right away trusting the fact that it 
seemed to be reckognized 'out of the box'. However, now that things 
are that way, I wonder what files I should delete (booting from a 
rescue disk maybe), so that I am able to de-install or install 
whatever is needed to get that chipset working.


Thanks in advance for your help


P.S. : I carried new tests. As said above, now that my WiFi is 
configured, every attempt to boot, leads to "freezing" of the system in 
the middle of gnome start... EXCEPT IF I shutdown my DSL/WiFi box !   As 
long as no connexion is possible, the system starts all right ; I can 
see the other WiFi available in the area (I don't have the 
passwords...). This being, if I reboot my WiFi connexion on the DSL 
modem, then, as said before, connexion does happen all right, it seems 
fully operational, but only for about 45 to 60 seconds, system freezing 
happens next. My TL-WN751ND card is supposed to work with Debian kernel 
module ath9k, which is supposed to be loaded with the wireless-tools 
package, which is alreeady 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/4f59d69f.8020...@teaser.fr



big problem with TP-LINK WiFi card

2012-03-08 Thread Bernard

Hi to Everyone,

On the Desktop of my association, there was no wireless card. So, I 
purchased one that is said to be Debian compatible. It is a PCI card 
TP-LINK


TL-WN751ND

It is supposedly based on an Atheros chipset AR 9227

I plugged it inside the Central Unit on a PCI slot, and then booted the 
Debian Squeeze system.


As a rather pleasant surprise, the wireless system was being 
acknowledged immediately, and I could display a list of wireless 
networks available in my area, amongst which I saw my own DSL wireless 
network on which I have been able to connect any other laptop or desktop 
computer that ever came to my house. I clicked to that Network on the 
list, and then entered all the digits of my WPA password. This being 
done, I got the message that I was connected and that the connexion was 
allright. Well, then I launched Firefox (I mean Iceweasel) and called 
for a web page... As soon as the connexion to that page was achieved, 
THE SYSTEM FROZE and I could do nothing more... The mouse was no longer 
active, same for the keyboard or anything else, CTRL-ALT-DEL did 
nothing, and I had no other choice than disconnecting power. At reboot, 
the freezing did appear right away, in the process of gnome launching. 
Same at each new attempt.


I first thought that the chipset may have been faulty or damaged. So I 
tested it under MSWIN (XP) since I have a dual boot on that desktop. 
Under MSWIN, after the appropriate install with the provided CDROM, the 
TL-WN751ND card did operate all right. After the password was typed, 
connexion happened and operated without freezing the system or any other 
trouble. So, it is most likely that the hardware is not faulty here.


I understand that I should probably have first checked if my Debian 
Squeeze system was ready with the appropriate packages to run that 
wireless chipset, instead of right away trusting the fact that it seemed 
to be reckognized 'out of the box'. However, now that things are that 
way, I wonder what files I should delete (booting from a rescue disk 
maybe), so that I am able to de-install or install whatever is needed to 
get that chipset working.


Thanks in advance for your help


--
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/4f59280a.3040...@teaser.fr



[SOLVED] Re: Seerious problems after NetworkManager upgrade - WAS: Re: Problem with NetworkManager

2012-03-05 Thread Bernard

Bernard wrote:

Selim T. Erdogan wrote:

Bernard, 5.03.2012:

Tom H wrote:




[Stuff deleted]


#apt-get install network-manager

did a thourough job !!! At one time, it warned that : "The nm applet 
could not find some needed resources ; it cannot continue...". I 
clicked on the OK, and the process nevertheless continued up to the end.


Then I re-booted.

The newly installed network manager (yes, it did install despite the 
warnings that the applet could not continue) seems to work better then 
the old one. It does operate connecting and disconnecting upon 
clicking in the right place.


But my system now behaves in a weird way !

At first, it is very very slow ! 5 to 10 full seconds to wait an 
xterm to open after clicking to the icon that is supposed to open it ; 
same thing with any program.


The program 'top' shows that 90% of my CPU is used by "mutter", which 
is supposedly a kind of desk manager... 10% of the CPU is taken by 
Xorg, only a fraction of one percent is free to other applications !!!


I very briefly read the man page of mutter, and tried to shut it down:

#mutter --replace

Then the system got a lot more speed... except that a lot of functions 
were now unavailable: I can't drag and drop xterms, I can't go from 
one desk to another
Well, I just found a way to get out of this. I have uninstalled 'mutter' 
; since I could see that such a remove would also remove 
'gnome-session', I re-installed 'gnome-session' afterwards :


#apt-get remove mutter

#apt-get install gnome-session

Re-installing gnome-session did not re-install 'mutter' ; instead it 
installed 'metacity', which is what I have on another laptop on Squeeze. 
After reboot, the system seems to work perfectly ; the speed is good ; 
the 'top' test shows that no program uses up most of the CPU as 'mutter' 
did. Mutter had been installed against my choice, as a side effect of 
re-installing 'network-manager'. But, now that I have fired out Mutter, 
my new 'network-manager' still operates all-right !


Thanks for your insights

Bernard






--
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/4f5534b5.9060...@teaser.fr



Seerious problems after NetworkManager upgrade - WAS: Re: Problem with NetworkManager

2012-03-05 Thread Bernard

Selim T. Erdogan wrote:

Bernard,  5.03.2012:
  

Tom H wrote:




  

[Stuff deleted]
Sounds like when you turn off wicd, then ifup and ifdown work the way 
you want them to.
  
Yes. But this is not the way I wanted it, since this PC is supposed to 
be used by a number of persons who may not be at ease in opening an 
Xterm, switching to superuser with the appropriate password and then 
typing 'ifdown eth0' 'ifup...' every time they wish to connect or 
disconnect. With the old Lenny system - before I upgraded - they easily 
connected and disconnected doing a right click on the NetworkManager 
icon on the gnome desk.


So, since I had so little success with the NM and Wicd programs that I 
had on my system, I first removed the 'Wicd' and 'Wicd-daemon' packages 
and then tried to see if a newer version of NetworkManager was available :


#apt-get install -s network-manager

showed that it was a matter of replacing a huge number of packages by 
newer ones, including gnome packages etc... After a short hesitation, I 
decided to go ahead.


#apt-get install network-manager

did a thourough job !!! At one time, it warned that : "The nm applet 
could not find some needed resources ; it cannot continue...". I clicked 
on the OK, and the process nevertheless continued up to the end.


Then I re-booted.

The newly installed network manager (yes, it did install despite the 
warnings that the applet could not continue) seems to work better then 
the old one. It does operate connecting and disconnecting upon clicking 
in the right place.


But my system now behaves in a weird way !

At first, it is very very slow ! 5 to 10 full seconds to wait an 
xterm to open after clicking to the icon that is supposed to open it ; 
same thing with any program.


The program 'top' shows that 90% of my CPU is used by "mutter", which is 
supposedly a kind of desk manager... 10% of the CPU is taken by Xorg, 
only a fraction of one percent is free to other applications !!!


I very briefly read the man page of mutter, and tried to shut it down:

#mutter --replace

Then the system got a lot more speed... except that a lot of functions 
were now unavailable: I can't drag and drop xterms, I can't go from one 
desk to another


Thanks in advance for your help in restoring a convenient desktop 
environment


  



--
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/4f54c5cf.3090...@teaser.fr



Re: Problem with NetworkManager - WAS: Re: Help needed to repair a damaged dual boot Debian System

2012-03-04 Thread Bernard

Tom H wrote:

On Sun, Mar 4, 2012 at 8:43 AM, Bernard  wrote:
  

Selim T. Erdogan wrote:


Andrei POPESCU,  3.03.2012:
  

On Sb, 03 mar 12, 20:59:30, Bernard wrote:


Thanks in advance for your help with the 'NetworkManager' or any
other convenient tool that would operate on Squeeze so as to easily
turn an Internet connexion ON and OFF
  

Make sure you have NO definition for eth0 in /etc/network/interfaces and
that you have:

[ifupdown]
managed=false

in /etc/NetworkManager/NetworkManager.conf

If it still doesn't work after a restart[1] please attach both files.

[1] not sure why, but in some cases new configurations did not work
properly until a full restart


Or you can keep /etc/network/interfaces as you have it now and edit
/etc/NetworkManager/NetworkManager.conf to have

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

(And you have to restart Network Manager.)
  

I just tested both ways, to no avail.

At first, I must say that my system did not have any

NetworkManager.conf file in /etc/NetworkManager/

The only NetworkManager.conf file that could be found on this system was in

/etc/dbus-1/system.d/

I can see the same thing on this other machine still on Lenny, where I am
writing this from: no  /etc/NetworkManager/NetworkManager.conf file either.

the man page for NetworkManager does not mention any such conf file. I did
not dare modifying /etc/dbus-1/system.d/NetworkManager.conf

But I tested creating an /etc/NetworkManager/NetworkManager.conf, with only


[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false
**

As a first trial, I had just written:

***
[ifupdown]
managed=false
*

in it. But maybe I should have modified permissions and owner ?  Owner was
root and perms: -rw-r--r--

Besides, my /etc/network/interfaces file did not contain any definition for
eth0. Still, I tested removing any mention of eth0, to no avail.

Below is my  'etc/network/interfaces' file :

*

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

*



The file in "/etc/dbus-1/system.d/" is useful (to systems) if you have
systemd installed.

Do you have network access?

With your current setup, "managed=false" and eth0 defined in
"/etc/network/interfaces" you can control eth0 with ifup and if down.

With "managed=true", you'd have to use NM to bring up or take down eth0.


  
I just don't understand what happens. Whatever I try with 
'NetworkManager'... FAILS !  Besides, as previously stated, I have tried 
to install 'wicd'... It did install all right, and worked as far as 
disconnecting was concerned, but no way to reconnect except on a 
re-boot. Now that I wish to get rid of 'wicd', just in case it would 
interfer with 'NetworkManager', I can't get rid of it ! 


#apt-get remove wicd

did remove it, so it said... if I try to remove it again, it says that 
it is no longer there... however, I can still see 'wicd network manager' 
on my gnome desktop, and, if I launch it, it still disconnects my 
Internet link, and is still unable to reconnect it !  Now, if I try


#ifup and #ifdown eth0, it seems to work... I repeat: it "SEEMS TO WORK" 
but it does not REALLY work !!  Here is what I see:


#ifup eth0

..
...
receive packet failed on eth0: Network is down
..
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth0...
DHCPACK form 192.168.1.1
SIOCADDRT: File exists
bound to 192.168.1.15 -- renewal in 40322 seconds.
#

at this point, if I start again the command:

#ifup eth0

I get this:

ifup: interface eth0 already configured (which I agree was expected as 
normal !)


ifdown disconfigure eth0 ; ifup reconfigures it...  Except that, whether 
it is configured or disconfigured, the network (the Internet network) is 
up and running, as if it did not care whether ifup had it configured or 
not !  (I must state that I have no wireless connexion on this machine, 
just one wired ethernet connexion, no more).


Ooh... Well... let me see... I just finished testing something... As 
previously stated, 'wicd' only works in the purpose of disconnecting ; 
it never reconnects ; it does that job even though I have supposedly 
removed it... I just tested disconnecting with wicd... and now that it 
is really disconnected, I can REALLY reconnect with '#ifup eth0' and 
REALLY disconnect using '#ifdown eth0', bac

Re: Problem with NetworkManager - WAS: Re: Help needed to repair a damaged dual boot Debian System

2012-03-04 Thread Bernard

Selim T. Erdogan wrote:

Andrei POPESCU,  3.03.2012:
  

On Sb, 03 mar 12, 20:59:30, Bernard wrote:


Thanks in advance for your help with the 'NetworkManager' or any
other convenient tool that would operate on Squeeze so as to easily
turn an Internet connexion ON and OFF
  
Make sure you have NO definition for eth0 in /etc/network/interfaces and 
that you have:


[ifupdown]
managed=false

in /etc/NetworkManager/NetworkManager.conf

If it still doesn't work after a restart[1] please attach both files.

[1] not sure why, but in some cases new configurations did not work 
properly until a full restart



Or you can keep /etc/network/interfaces as you have it now and edit
/etc/NetworkManager/NetworkManager.conf to have

[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=true

(And you have to restart Network Manager.)


  

I just tested both ways, to no avail.

At first, I must say that my system did not have any

NetworkManager.conf file in /etc/NetworkManager/

The only NetworkManager.conf file that could be found on this system was in

/etc/dbus-1/system.d/

I can see the same thing on this other machine still on Lenny, where I am writing this from: no  
/etc/NetworkManager/NetworkManager.conf file either.


the man page for NetworkManager does not mention any such conf file. I did not dare modifying 
/etc/dbus-1/system.d/NetworkManager.conf


But I tested creating an /etc/NetworkManager/NetworkManager.conf, with only 




[main]
plugins=ifupdown,keyfile

[ifupdown]
managed=false
**


As a first trial, I had just written:

***
[ifupdown]
managed=false
*

in it. But maybe I should have modified permissions and owner ?  Owner was root 
and perms: -rw-r--r--

Besides, my /etc/network/interfaces file did not contain any definition for 
eth0. Still, I tested removing any mention of eth0, to no avail.

Below is my  'etc/network/interfaces' file :

*

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp

* 



--
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/4f53718f.2020...@teaser.fr



Problem with NetworkManager - WAS: Re: Help needed to repair a damaged dual boot Debian System

2012-03-03 Thread Bernard

Andrei POPESCU wrote:

On Ma, 28 feb 12, 19:35:00, Bernard wrote:
  


stuff deleted..
  

/dev/hdc3, but now my only CDROM drive does work on /dev/hda (hda as is,
not on hda1 or whatever, which I did find weird though). It does work,



This is normal, since CD-ROMs don't have partitions.

  

and also I am now able to boot on a system CD !!  So, I could possibly
decide to re-install... I could also decide to use my machine "as is"
since it now operates almost as it did before, with only one CDROM and
no CD writer (but I don't need that on this particular machine) ; I just
changed the /boot/grub/menu.lst and replaced "/dev/sda3 by "/dev/hdc3".



Security support for lenny has ended. The Release Team is preparing a 
final point release before archiving it. It's high time you upgrade to 
squeeze. Part of the squeeze upgrade grub1 will be upgraded to grub2 and 
configurations referencing hard disks will be migrated to UUID (instead 
of device names, which are not reliable).


Since you are considering a clean re-install anyway may I suggest you 
first upgrade to squeeze, and then, if you are still not satisfied with 
the outcome, do a clean *squeeze* install.


Kind regards,
Andrei
  
Thanks for this advice. I just finished upgrading to Squeeze on this 
system. What a surprise !  Now on this new system, my HD is again 
reckognized as sda3 !  Still, one of my CD drives is not working, but I 
don't really care since I don't need two CD drives on that one PC.


So, everything seems to work fine... except for the 'NetworkManager' !  
On that machine, I only have a wired ethernet connexion ; there is no 
wlan chipset for now ; I will install one soon. So, the Internet 
connexion happens automatically upon booting. But, as a difference with 
my other machines (still running Lenny), the NetworkManager tool on the 
Gnome desktop does not operate as an ON and OFF switch as I like to use it.


(Indeed, if I leave the computer running and unattended for hours, I 
hate if the machine remains connected all the time. Under MSWIN, you 
can't easily switch connexions ON and OFF (or you have to disconnect 
cables... or use complicate processes...), but I found it very 
convenient on Linux).


But now, this no longer seems to operate !  The NetworkManager icon is 
still there, but it always shows 'not connected', even if a connexion is 
up and running. Whether I 'activate' of 'deactivate' the network with 
this tool doesn't change anything ! 

So, I installed 'wicd'... Well, 'wicd' IS able to disconnect my network, 
but then, once disconnected, there is no way I can reactivate the 
connexion ! Reactivating does not operate ! To reconnect, I did not find 
any convenient way other than rebooting !


Thanks in advance for your help with the 'NetworkManager' or any other 
convenient tool that would operate on Squeeze so as to easily turn an 
Internet connexion ON and OFF



--
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/4f527822.6060...@teaser.fr



Re: Help needed to repair a damaged dual boot Debian System

2012-02-28 Thread Bernard

Christofer C. Bell wrote:

On Fri, Feb 24, 2012 at 6:08 PM, Bernard  wrote:
  

Bob Proulx wrote:


Hopefully you would be able to boot a rescue cdrom.  The debian
installer disk has a rescue mode.  That can be very useful to repair a
system such as yours.  If the above grub selection of a newer kernel
does not work then I recommend using the debian-install disk as a
rescue disk.

  

Well, but I can't get any of my cdrom drives to work !




Your CDROM drive doesn't work from *within the installed operating
system* (and this point is important).  This doesn't mean that the
BIOS can't see it and that the kernel on the rescue CD won't be able
to access it.  There is still value in burning an installation CD of
Lenny, trying to boot it, and seeing what works.

  

Thanks to everyone for your help. So far, I have reached a point where I
wonder if I should quit or test furthermore. Why quit ?  Because my
system  now * seems * to be working almost satisfactorily, even though
it does so in a different scheme as it did before. Why thinking about
testing furthermore ?  Because one of my CD/DVD driver is out of order,
also because I still see some bizarre messages while booting, which
makes me wonder whether I might soon discover some more problems.

What did I do since my last post ?   As Richard suggested, I opened up
the box and checked cables around the cdrom hardware. I noticed
something that I thought weird at first: the CDROM blocks were connected
to a cable where one could read: "HD cable", while the HD was linked to
a cable that read "CDROM cable". I then swaped cables, and tested. The
only difference I got was that my Linux system now had to be booted on
/dev/hdc3, while it did boot on /dev/hda3 before. Still, none of my CDs
did operate on Debian, one did operate on MSWIN, none would boot an
autoboot system CD.

This being done, I decided to unplug one of my two CDROM drives, the one
that did not work on either system. I removed all cables from that
drive. This helped a lot, so it seems. My Debian system still boots on
/dev/hdc3, but now my only CDROM drive does work on /dev/hda (hda as is,
not on hda1 or whatever, which I did find weird though). It does work,
and also I am now able to boot on a system CD !!  So, I could possibly
decide to re-install... I could also decide to use my machine "as is"
since it now operates almost as it did before, with only one CDROM and
no CD writer (but I don't need that on this particular machine) ; I just
changed the /boot/grub/menu.lst and replaced "/dev/sda3 by "/dev/hdc3".

However... Something still has to be wrong with this machine. Why does
it now reckognises my HD and CD drives as /dev/hdc (hdc1 for MSWIN, hdc2
for swap space and hdc3 for Debian system) and /dev/hda for the now
unique CDROM drive while it previously did reckognise these pieces
of hardware as SCSI drives (/dev/sda1, sda2, sda3 for the HD... Nothing
shows if I type:

cat /proc/scsi/scsi

while it previously showed my HD. However, If I plug an USB mass storage
device (key or HD), then it does automount on /dev/sda1 and shows in
/proc/scsi/scsi !

Maybe you could have an eye on my /var/log/syslog or /var/log/messages
files ?

http://bdebreil.free.fr/logFeb28/syslog

http://bdebreil.free.fr/logFeb28/messages

On the first file, you could check first on keywords "collisions"
(device not available because of BAR 0 collisions...), and "scsi0
sata promise. sata link down..."

Thanks in advance for you explanations and advices.



--
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/4f4d1e54.5060...@teaser.fr



Re: Help needed to repair a damaged dual boot Debian System

2012-02-28 Thread Bernard

Christofer C. Bell wrote:

On Fri, Feb 24, 2012 at 6:08 PM, Bernard  wrote:
  

Bob Proulx wrote:


Hopefully you would be able to boot a rescue cdrom.  The debian
installer disk has a rescue mode.  That can be very useful to repair a
system such as yours.  If the above grub selection of a newer kernel
does not work then I recommend using the debian-install disk as a
rescue disk.

  

Well, but I can't get any of my cdrom drives to work !




Your CDROM drive doesn't work from *within the installed operating
system* (and this point is important).  This doesn't mean that the
BIOS can't see it and that the kernel on the rescue CD won't be able
to access it.  There is still value in burning an installation CD of
Lenny, trying to boot it, and seeing what works.

  
Thanks to everyone for your help. So far, I have reached a point where I 
wonder if I should quit or test furthermore. Why quit ?  Because my 
system  now * seems * to be working almost satisfactorily, even though 
it does so in a different scheme as it did before. Why thinking about 
testing furthermore ?  Because one of my CD/DVD driver is out of order, 
also because I still see some bizarre messages while booting, which 
makes me wonder whether I might soon discover some more problems.


What did I do since my last post ?   As Richard suggested, I opened up 
the box and checked cables around the cdrom hardware. I noticed 
something that I thought weird at first: the CDROM blocks were connected 
to a cable where one could read: "HD cable", while the HD was linked to 
a cable that read "CDROM cable". I then swaped cables, and tested. The 
only difference I got was that my Linux system now had to be booted on 
/dev/hdc3, while it did boot on /dev/hda3 before. Still, none of my CDs 
did operate on Debian, one did operate on MSWIN, none would boot an 
autoboot system CD.


This being done, I decided to unplug one of my two CDROM drives, the one 
that did not work on either system. I removed all cables from that 
drive. This helped a lot, so it seems. My Debian system still boots on 
/dev/hdc3, but now my only CDROM drive does work on /dev/hda (hda as is, 
not on hda1 or whatever, which I did find weird though). It does work, 
and also I am now able to boot on a system CD !!  So, I could possibly 
decide to re-install... I could also decide to use my machine "as is" 
since it now operates almost as it did before, with only one CDROM and 
no CD writer (but I don't need that on this particular machine) ; I just 
changed the /boot/grub/menu.lst and replaced "/dev/sda3 by "/dev/hdc3".


However... Something still has to be wrong with this machine. Why does 
it now reckognises my HD and CD drives as /dev/hdc (hdc1 for MSWIN, hdc2 
for swap space and hdc3 for Debian system) and /dev/hda for the now 
unique CDROM drive while it previously did reckognise these pieces 
of hardware as SCSI drives (/dev/sda1, sda2, sda3 for the HD... Nothing 
shows if I type:


cat /proc/scsi/scsi

while it previously showed my HD. However, If I plug an USB mass storage 
device (key or HD), then it does automount on /dev/sda1 and shows in 
/proc/scsi/scsi !


Maybe you could have an eye on my /var/log/syslog or /var/log/messages 
files ?


http://bdebreil.free.fr/logFeb28/syslog

http://bdebreil.free.fr/logFeb28/messages

On the first file, you could check first on keywords "collisions" 
(device not available because of BAR 0 collisions...), and "scsi0 
sata promise. sata link down..."


Thanks in advance for you explanations and advices.


--
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/4f4d0174.6040...@teaser.fr



Re: Help needed to repair a damaged dual boot Debian System

2012-02-24 Thread Bernard

Bob Proulx wrote:

Bernard wrote:
  

was fitted with MSWIN XP ; I repartitioned the HD to have a dual boot
(GRUB) with Debian Lenny and the original OS ; it worked very well in
such config for more than 2 years or so ; I had a mysql server on it,
with mysql databases.



Here you say Lenny.  But then...

  

just waited indefinitely without doing nothing. Error messages appeared
after 4 or 5 long minutes of idling, they mostly said that /dev/sda3 did
not (no longer) exist, and that, perhaps, I should try /dev/hda3. I did



And /dev/sda would be right for Lenny.  In Lenny's 2.6.26 kernel all
device names work under the scsi naming.

But then you say /dev/hda and the hda names are the old kernel names.
This leads me to believe that you are booting an older kernel.  The
previous Etch kernel used hd names.  I think that is part of your
problem.
  
I must state that this Desktop was never fitted with any Linux system 
else than Lenny. When I mentioned the 'original OS', I meant MSWIN XP. 
The Debian partition was on /dev/sda3 from start. This is not until I 
had a graphic card collapse and a repair in a shop, that I found that my 
Linux system now had to be booted on /dev/hda3

The first thing I would check is to see which kernels are available
and which one you are booting.  You can do this from the grub command
line.  

I only have one kernel to boot, which is

2.6.26

Other choices in my GRUB menu are to boot the same kernel on a "Single 
User Mode", or to boot MSWIN XP... no more.

I usually use TAB for filename completion expansion and use it
like an ls command.  (The new version of grub includes a real ls
command but older ones did not.)  Find out if you are booting the
right kernel.

If you find that you are not booting the right kernel then modify the
grub boot on the fly as you have already been doing successfully to
specify both the kernel and the associated initrd for it.

If that works it should get you to a good booting system.  But then
you will need to report that problem and fix up any other
modifications setting things back to hd* that you may have made such
as /etc/fstab.  Everything should use /dev/sd* names now.
  

By the way, below is a copy/paste of the /eetc/fstab on that computer:

# /etc/fstab: static file system information.
#
#

proc/proc   procdefaults0   0
/dev/sda3   /   ext3errors=remount-ro   0   1
/dev/sda2   noneswapsw  0   0
/dev/hdc/media/cdrom0   udf,iso9660 user,noauto 0   0
/dev/hda/media/cdrom1   udf,iso9660 user,noauto 0   0


discovered so far. For once, the CDROM drivers did not operate at all on
Debian environment ; under MSWIN one of the two drivers did operate ;



If my guess is right about the kernel then that would explain this
part not working too.

  

none of the two drives would boot a bootable CD (whatever settings in
the BIOS SETUP), so there is no way that I could possibly launch a
SystemRescueCD bootdisk.



Hopefully you would be able to boot a rescue cdrom.  The debian
installer disk has a rescue mode.  That can be very useful to repair a
system such as yours.  If the above grub selection of a newer kernel
does not work then I recommend using the debian-install disk as a
rescue disk.
  

Well, but I can't get any of my cdrom drives to work !

Thanks for your message

Bernard


--
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/4f482694.6010...@teaser.fr



Chromium, the sync server is busy, please try again later (6.0.472.63 (59945) Built on Debian 6.0, running on Debian 6.0.4)

2012-02-24 Thread Bernard van de Koppel
Hi,

I ran into an issue, where chromium in my Debian laptop won't sync with my
my profile.
I already removed the date from the google dashboard (
https://www.google.com/dashboard/?hl=nl), but this does not seem to help.

Signing in to the account works fine (before and after the "stop
synchronisation and remove data from google (translate from dutch)). But
after the "configure sync" window, I get  the error "The sync server is
busy, please try again later."

Hope someone can help,

Bernard van de Koppel


Help needed to repair a damaged dual boot Debian System

2012-02-24 Thread Bernard
It is a 3-4 yrs old machine that belongs to my Genealogical Association. 
(Intel Pentium 4 - 3.2 GHz - RAM 2048 MB). At the time of purchase, it 
was fitted with MSWIN XP ; I repartitioned the HD to have a dual boot 
(GRUB) with Debian Lenny and the original OS ; it worked very well in 
such config for more than 2 years or so ; I had a mysql server on it, 
with mysql databases.


Two weeks ago, while trying to boot the system, the monitor screen had 
remained black. Same thing when trying another monitor. So, we took the 
machine to a repair shop, where our Graphic card was being replaced ; it 
costed close to 200 bucks. Once tested, the machine booted OK on the 
MSWIN partition, but it no longer booted on Debian Linux: the system 
just waited indefinitely without doing nothing. Error messages appeared 
after 4 or 5 long minutes of idling, they mostly said that /dev/sda3 did 
not (no longer) exist, and that, perhaps, I should try /dev/hda3. I did 
so, editing the GRUB boot command. Debian Linux then booted all-right, 
after about 3 minutes of idling. Once booted, the Linux system seemed to 
behave normally, as far as I have been able to investigate: Mysqld, 
OpenOffice, Firefox etc... seemed to behave as they should. A few things 
were abnormal though, may be more many things than those I have 
discovered so far. For once, the CDROM drivers did not operate at all on 
Debian environment ; under MSWIN one of the two drivers did operate ; 
none of the two drives would boot a bootable CD (whatever settings in 
the BIOS SETUP), so there is no way that I could possibly launch a 
SystemRescueCD bootdisk.


I could try re-partitioning and re-installing, but I am not sure that it 
is the best thing to do, since it could end up that some piece of 
hardware is disfunctioning or simply disconnected. I would hate having 
to return to the repair shop, since I doubt if the tech man is trustworthy.


What I expect, is that someone could help me understand, from my log 
files, which piece of hardware is possibly disfunctioning or what driver 
has possibly been corrupt because of the graphic card collapse. For 
instance, my /var/log/syslog shows some lines that say:


hdc LITE-ON ATAPI CD/DVD

hdc : lost interrupt

...



scsi0 : sata-promise

scsi1: sata-promise

scsi2: sata-promise

...

ata1 SATA max.. irq 23

ata2 " " irq 23

ata3 " " irq 23

.

ata1: SATA link down

ata2: " "

ata3 " "

..

..

then, when you get to hda :


pci :00:06.0 device not available because of BAR 0 [fccf000 
collisions]



I could send my log files etc... for your advices.


Thanks in advance for your help


Bernard


--
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/4f47ad41.2010...@teaser.fr



Help needed to repair a damaged dual boot Debian System

2012-02-24 Thread Bernard

It is a 3-4 yrs old machine that belongs to my Genealogical Association.
(Intel Pentium 4 - 3.2 GHz - RAM 2048 MB). At the time of purchase, it
was fitted with MSWIN XP ; I repartitioned the HD to have a dual boot
(GRUB) with Debian Lenny and the original OS ; it worked very well in
such config for more than 2 years or so ; I had a mysql server on it,
with mysql databases.

Two weeks ago, while trying to boot the system, the monitor screen had
remained black. Same thing when trying another monitor. So, we took the
machine to a repair shop, where our Graphic card was being replaced ; it
costed close to 200 bucks. Once tested, the machine booted OK on the
MSWIN partition, but it no longer booted on Debian Linux: the system
just waited indefinitely without doing nothing. Error messages appeared
after 4 or 5 long minutes of idling, they mostly said that /dev/sda3 did
not (no longer) exist, and that, perhaps, I should try /dev/hda3. I did
so, editing the GRUB boot command. Debian Linux then booted all-right,
after about 3 minutes of idling. Once booted, the Linux system seemed to
behave normally, as far as I have been able to investigate: Mysqld,
OpenOffice, Firefox etc... seemed to behave as they should. A few things
were abnormal though, may be more many things than those I have
discovered so far. For once, the CDROM drivers did not operate at all on
Debian environment ; under MSWIN one of the two drivers did operate ;
none of the two drives would boot a bootable CD (whatever settings in
the BIOS SETUP), so there is no way that I could possibly launch a
SystemRescueCD bootdisk.

I could try re-partitioning and re-installing, but I am not sure that it
is the best thing to do, since it could end up that some piece of
hardware is disfunctioning or simply disconnected. I would hate having
to return to the repair shop, since I doubt if the tech man is trustworthy.

What I expect, is that someone could help me understand, from my log
files, which piece of hardware is possibly disfunctioning or what driver
has possibly been corrupt because of the graphic card collapse. For
instance, my /var/log/syslog shows some lines that say:

hdc LITE-ON ATAPI CD/DVD

hdc : lost interrupt

...



scsi0 : sata-promise

scsi1: sata-promise

scsi2: sata-promise

...

ata1 SATA max.. irq 23

ata2 " " irq 23

ata3 " " irq 23

.

ata1: SATA link down

ata2: " "

ata3 " "

..

..

then, when you get to hda :


pci :00:06.0 device not available because of BAR 0 [fccf000
collisions]


I could send my log files etc... for your advices.


Thanks in advance for your help


Bernard



--
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/4f47ca7a.8070...@teaser.fr



Re: unexpected problem with php-5.3

2011-03-19 Thread Bernard

Luciano Furtado wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Check if you have those on your /etc/


lrwxrwxrwx 1 root root 27 2010-12-08 11:47 php5.load ->
../mods-available/php5.load
lrwxrwxrwx 1 root root 27 2010-12-08 11:47 php5.conf ->
../mods-available/php5.conf
lrfurtado@lrfurtado:/etc/apache2/mods-enabled$ cat php5*

  AddType application/x-httpd-php .php .phtml .php3
  AddType application/x-httpd-php-source .phps

LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
lrfurtado@lrfurtado:/etc/apache2/mods-enabled$

  


I've got php5.load, php5.conf as describe above.

But

/etc/apache2/mods-enabled$ car php5* does not show quite the same result 
as above :


cgvy@nom-9d3520e2b5c:/etc/apache2/mods-enabled$ cat php5*

   
   SetHandler application/x-httpd-php
   
   
   SetHandler application/x-httpd-php-source
   
   # To re-enable php in user directories comment the following lines
   # (from  to .) Do NOT set it to On as it
   # prevents .htaccess files from disabling it.
   
   
   php_admin_value engine Off
   
   

LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
cgvy@nom-9d3520e2b5c:/etc/apache2/mods-enabled$


My attention got caught by the three lines of comments : "# To re-enable..."

So, I went to /etc/apache2/mods-available/, and edited php5.conf so as 
to comment the five said lines. Since then, my index.php files seem to 
be reckognized as such, I still have to work on it, but I know think 
that it will be OK.


Thanks to everyone for your help


On 11-03-18 15:59, Bernard wrote:
  

Hi to Everyone,

I just finished installing Apache, mysql and php on a new laptop on
Squeeze. The server works fine (http://localhost sends a "it works"
message), MySQL also works fine, as I have been able to copy a database
from my Desktop under Lenny. PHP 5.3.3-7 ('with suhosin v0.9.32.1') has
been installed.

Problem is:

http://localhost/MyDirectory/index.php => doesn't work !  The system
proposes that I download the file 'index.php' !  *.html files are
treated, but not *.php. The same system does operate allright on my
Desktop under Lenny (not the same versions of php an mysql though)

Am I missing something ?





-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNg8q8AAoJENgwSj9ZOOwrSd0IAKNvMzN0lLSMQOKPuxMXJbYu
msyaRJZvQ9hdrojZXDLJbtBA+NOhNqJ3aAxzNQPWfHQisM8Z1g4GgZNNiPtS9TcQ
8RPST10QvIP4sZjbzQYIfa6AcjM4ww49tRSSbJKZtqCeUjR8RuCLw0BkgQqWCy+P
/Q5Y1yu82icUYohCqhLwa+VgCeah+cblsps9X1YR1Rh0VvnJiwOEuYqToYBsa7Uc
NZ/fzzzxBmIXP7N4D6OGZojEX5mYwdCujDqOSLO4w5v41ucSh9eYeIzgb7xMOux3
c35WgvLR/0Z8eowO64czdDJb0ibIUdrL3msdCq8s7nLK/ADRlg6dOAmuVAOVa1U=
=J6e1
-END PGP SIGNATURE-

  



--
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/4d85030c.6090...@teaser.fr



Re: unexpected problem with php-5.3

2011-03-19 Thread Bernard

Dom wrote:

[stuff deleted]



http://localhost/MyDirectory/index.php => doesn't work ! The system
proposes that I download the file 'index.php' ! *.html files are
treated, but not *.php. The same system does operate allright on my
Desktop under Lenny (not the same versions of php an mysql though)

Am I missing something ?


Is package libapache2-mod-php5 installed?


Yes it is


In /etc/apache2/mods.enabled, are there files php5.conf and php5.load?
Yes, sort of... To be more precise, in that directory, there are links 
to those files in ../mods-available/


Dom





--
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/4d84fa9f.3030...@teaser.fr



unexpected problem with php-5.3

2011-03-18 Thread Bernard

Hi to Everyone,

I just finished installing Apache, mysql and php on a new laptop on 
Squeeze. The server works fine (http://localhost sends a "it works" 
message), MySQL also works fine, as I have been able to copy a database 
from my Desktop under Lenny. PHP 5.3.3-7 ('with suhosin v0.9.32.1') has 
been installed.


Problem is:

http://localhost/MyDirectory/index.php => doesn't work !  The system 
proposes that I download the file 'index.php' !  *.html files are 
treated, but not *.php. The same system does operate allright on my 
Desktop under Lenny (not the same versions of php an mysql though)


Am I missing something ?


--
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/4d83b994.1000...@teaser.fr



Re: Failed to open the X11 display!

2011-03-15 Thread Bernard Fay
I compared the sshd_config files from two servers, one from which I can
start an application requiring a GUI and the one from my problematic
server.  Both are identical.

I am even more puzzled now as I would expect at least one diffirence.

Thanks,


On Tue, Mar 15, 2011 at 8:47 PM, Bernard Fay  wrote:

> Hello everyone,
>
> From my workstation (Ubuntu 10.04.2), I try to start an application running
> on my server but this application requires X Window System.  My server does
> not have a GUI. So I did  "ssh -X ip_address_of_server".   The server is
> Debian 6.0 (Squeeze).  When I start the application and then I have "Failed
> to open the X11 display!" .
>
> I use to do it on other system without problem.  What is missing here?
>
> Any cue will be appreciated.
>
> Thanks,
> Bernard
>


Failed to open the X11 display!

2011-03-15 Thread Bernard Fay
Hello everyone,

>From my workstation (Ubuntu 10.04.2), I try to start an application running
on my server but this application requires X Window System.  My server does
not have a GUI. So I did  "ssh -X ip_address_of_server".   The server is
Debian 6.0 (Squeeze).  When I start the application and then I have "Failed
to open the X11 display!" .

I use to do it on other system without problem.  What is missing here?

Any cue will be appreciated.

Thanks,
Bernard


Re: bad surprise using ghostview (gv)

2011-02-13 Thread Bernard
I am adding below a few more details to my last post, especially since I 
carried a few more tests :


Bernard wrote:

Roger Leigh wrote:

On Sun, Feb 13, 2011 at 12:28:22AM +0100, Bernard wrote:
 

Roger Leigh wrote:
   

On Sat, Feb 12, 2011 at 09:32:42AM -0500, Gilbert Sullivan wrote:
 

On 02/12/2011 08:59 AM, Bernard wrote:

...snip...


But then I fail to understand: as explained in my original post,
CUPS+GUTENPRINT does work with my DeskJet-1120C, it provides good
quality color printing from OpenOffice as well as from the GIMP,
only from GhostView does it print B/W with low quality



Hmm, I do see that a number of HP Colour Deskjets are now listed,
so you may well be correct.  Historically, this was a problem;
maybe that's fixed or partially fixed now.
  


Now ?  But, as explained in my original post, the same CUPS config did 
allow good quality color printing of ps files using 'gv' (GhostView), 
as well as OpenOffice and the GIMP, BEFORE I replace Debian Sarge by 
Lenny, that is, in the date range 2006-2009.



gv is just using lpr/lp to print.  So, if for example you print the
file directly with "lpr -P printer $file.ps", is it still monochrome?
  


Yes it is.



This will eliminate gs, in case it's causing the problem.

When you print from the GIMP, are you using the regular Print
dialogue, or are you using the "Print with Gutenprint" dialogue
(gimp-gutenprint)? 
With the GIMP, I am using the regular print dialogue... and it prints 
nicely with colors. It still does, for I have carried some more tests, 
so as to eliminate problems that could have arisen since.


A precision here. In the line above, I meant using the GIMP for the 
purpose of printing images such as jpg or tif files. So far I had never 
tried to import postscript files into the GIMP, not even knowing if it 
was possible. So, I have just tested it. My ps files do import all right 
into the GIMP, and, from the GIMP, they do print with colors (no color 
if printing with 'gv' or just using lpr directly). However, with the 
GIMP, the quality is rather poor, except if I opt for strong dithering 
during import. I also just tested the import of my ps file into 
OpenOffice. It does import it into OpenOffice_draw, and, from there, it 
prints with color and good quality.




--
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/4d57a8f4.5000...@teaser.fr



Re: bad surprise using ghostview (gv)

2011-02-12 Thread Bernard

Roger Leigh wrote:

On Sun, Feb 13, 2011 at 12:28:22AM +0100, Bernard wrote:
  

Roger Leigh wrote:


On Sat, Feb 12, 2011 at 09:32:42AM -0500, Gilbert Sullivan wrote:
  

On 02/12/2011 08:59 AM, Bernard wrote:

...snip...


If, discarding the use of 'gv', I just print the ps file directly as
follows:

lpr -PDeskJet-1120C myfile.ps

I get exactly the same printing result (poor quality, black and white)
  

...snip...

If I'm understanding correctly what you've written, it seems to me
that your problem may not be ghostview. I think you might want to
try specifying different drivers for your printer to see if others
might work better.

You might also want to provide a bit of information about your system.

I run Debian testing on all of my systems, and I recently had to
switch from hpijs drivers to CUPS+Gutenprint on all of my HP
LaserJet printers for a similar problem. (They weren't dithering or
shading properly, but simly printing black & white.)


Note that while Gutenprint has excellent support for Epson, Canon
and other colour inkjects, PCL-based HP deskjets are (AFAICT) only
supported in black and white.  Good for monochrome lasers where
the fine dithering can greatly improve quality, but not so good for
inkjets, so if this is the case, you might wasnt to look at hplip
instead.
  

But then I fail to understand: as explained in my original post,
CUPS+GUTENPRINT does work with my DeskJet-1120C, it provides good
quality color printing from OpenOffice as well as from the GIMP,
only from GhostView does it print B/W with low quality



Hmm, I do see that a number of HP Colour Deskjets are now listed,
so you may well be correct.  Historically, this was a problem;
maybe that's fixed or partially fixed now.
  


Now ?  But, as explained in my original post, the same CUPS config did 
allow good quality color printing of ps files using 'gv' (GhostView), as 
well as OpenOffice and the GIMP, before I replace Debian Sarge by Lenny, 
that is, in the date range 2006-2009.

gv is just using lpr/lp to print.  So, if for example you print the
file directly with "lpr -P printer $file.ps", is it still monochrome?
  


Yes it is.

This will eliminate gs, in case it's causing the problem.

When you print from the GIMP, are you using the regular Print
dialogue, or are you using the "Print with Gutenprint" dialogue
(gimp-gutenprint)? 
With the GIMP, I am using the regular print dialogue... and it prints 
nicely with colors. It still does, for I have carried some more tests, 
so as to eliminate problems that could have arisen since.



 The former prints via the normal printing
system (as if you did it with lpr), and sends either the pixmap
or the pixmap embedded in PostScript to the print queue.  The
Gutenprint dialogue does all the rendering inside GIMP and sends
raw printer commands to the queue (lpr -o raw).  If the printer
is misconfigured in CUPS, that could explain why it works from
the GIMP.  It doesn't explain OpenOffice though.
  


Please see - in my more recent post - the results of my tests with CUPS. 
The test page from CUPS prints nicely with due colors.



--
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/4d572c8f.20...@teaser.fr



Re: bad surprise using ghostview (gv)

2011-02-12 Thread Bernard

Roger Leigh wrote:

On Sat, Feb 12, 2011 at 09:32:42AM -0500, Gilbert Sullivan wrote:
  

On 02/12/2011 08:59 AM, Bernard wrote:

...snip...


If, discarding the use of 'gv', I just print the ps file directly as
follows:

lpr -PDeskJet-1120C myfile.ps

I get exactly the same printing result (poor quality, black and white)
  

...snip...

If I'm understanding correctly what you've written, it seems to me
that your problem may not be ghostview. I think you might want to
try specifying different drivers for your printer to see if others
might work better.

You might also want to provide a bit of information about your system.

I run Debian testing on all of my systems, and I recently had to
switch from hpijs drivers to CUPS+Gutenprint on all of my HP
LaserJet printers for a similar problem. (They weren't dithering or
shading properly, but simly printing black & white.)



Note that while Gutenprint has excellent support for Epson, Canon
and other colour inkjects, PCL-based HP deskjets are (AFAICT) only
supported in black and white.  Good for monochrome lasers where
the fine dithering can greatly improve quality, but not so good for
inkjets, so if this is the case, you might wasnt to look at hplip
instead.
  
But then I fail to understand: as explained in my original post, 
CUPS+GUTENPRINT does work with my DeskJet-1120C, it provides good 
quality color printing from OpenOffice as well as from the GIMP, only 
from GhostView does it print B/W with low quality
  



--
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/4d571796.7080...@teaser.fr



Re: bad surprise using ghostview (gv)

2011-02-12 Thread Bernard

Gilbert Sullivan wrote:

On 02/12/2011 08:59 AM, Bernard wrote:

...snip...

If, discarding the use of 'gv', I just print the ps file directly as
follows:

lpr -PDeskJet-1120C myfile.ps

I get exactly the same printing result (poor quality, black and white)

...snip...

If I'm understanding correctly what you've written, it seems to me 
that your problem may not be ghostview. I think you might want to try 
specifying different drivers for your printer to see if others might 
work better.


You might also want to provide a bit of information about your system.
I am on Debian Lenny, and CUPS 1.3.8 is installed. My DeskJet-1120C is 
the only printer defined in cups. On http://localhost:631, it says:


HP DeskJet 1120 C - CUPS + Gutenprint v5.0.2

URL parallel:/dev/lp0

General default media size A4
Color Model RGB Color

The CUPS test page prints OK with due colors

In my older system (Debian Sarge), I also had cups, but I wonder if 
hpijs was not installed too. In here, it was not installed, but I just 
did installed it, with no difference in the end printing result. A 'man 
hpijs' says:


'Ghostscript will run it if the ijs server parameter is set to 
'IjsServer=hpijs' when invoking the IJS driver'.


But I don't know how to go about to carry that test, since a 'man 
ghostscript' does not explain how invoke it the right way ; 'gs 
-sDEVICE=IJS myfile.ps' sends an error saying that device IJS is not found


I run Debian testing on all of my systems, and I recently had to 
switch from hpijs drivers to CUPS+Gutenprint on all of my HP LaserJet 
printers for a similar problem. (They weren't dithering or shading 
properly, but simly printing black & white.)
Here it seems to be the opposite: CUPS with Gutenprint gives poor black 
and white prints, and I am trying to test hpijs... to no avail so far




-Gilbert





--
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/4d57030a.8090...@teaser.fr



bad surprise using ghostview (gv)

2011-02-12 Thread Bernard

Hi to Everyone,

I have quite often used 'gv' (ghostview) up to about a year and a half 
ago or so. I displayed ps files with it, and then printed them. To be 
more precise, the ps files were ancestry charts generated by a genealogy 
software called 'lifelines'. Everything went OK at that time.


But this no longer works well. 'gv' still displays those charts allright 
on the screen, but, if I print them, they come out Black and White with 
a mediocre printing quality.


A year and a half ago, when everything printed OK, I was running Debian 
Sarge. Since then I have installed Lenny (a new install, not just an 
upgrade). My printer is the same : DeskJet-1120C ; it still works OK 
with other apps and still prints color when using OO.org or the GIMP.


The man pages of 'gv' don't mention anything particular about printing. 
To display lifelines generated ps files, I just type:


gv myfile.ps

and the file does display nicely with its colors.

Then I click onto the box 'FILE' and 'Print Document', which is exactly 
what I used to do before. Then a dialog box comes in, proposing to write 
a print command, which starts with 'lpr'. I then add '-PDeskJet-1120C' 
to the already displayed 'lpr', which gives: lpr -PDeskJet-1120C.


If, discarding the use of 'gv', I just print the ps file directly as 
follows:


lpr -PDeskJet-1120C myfile.ps

I get exactly the same printing result (poor quality, black and white)

The man pages of 'lpr' make mention of a '-o' argument that - if I 
caught it well - should allow to precise details, but no more is said 
about this. In any case, as previously said, I used to be able to 
directly print with colours using 'gv'.


The printer is being reckognised allright, and, if I make a spelling 
mistake, for instance if I write 'deskJet-1120C' or 'DeskJet_1120C', I 
get error messages saying that the printer is not found. In the other 
hand, if I write nothing in front of 'lpr', it still prints, with the 
same poor quality as if using the proper printer name.


Would I be missing a GV or GS related library, or is there a know 
problem or bug with newer versions of gv/gs (well, I mean newer than in 
Sarge time)


Thanks in advance for your help.


--
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/4d56925a.2060...@teaser.fr



Re: Sticking with Lenny

2011-02-08 Thread Bernard

Dave Sherohman wrote:



  

Should I be specifying lenny instead of stable,



Yes, if you want to stay on lenny until further notice.

Personally, I always use the version names, so I'm not 100% certain that
it's still around, but I believe you could also use old-stable to
continue tracking lenny (at least until wheeze comes out, at which point
old-stable will become squeeze).

  
or am  
I already too late to do that?



If you've already done any updates which have installed packages from
squeeze, then it's too late with respect to those packages (apt won't
automatically downgrade the squeeze versions back to a lenny version),
but, aside from that, changing from stable to lenny shouldn't cause any
problems.

  
I feel quite embarrassed in reading this above. I am still on Lenny, and 
wishes to remain that way for as long as possible, hopefully until I buy 
a new computer.


My 'sources.list' has a few calls for 'stable', and some calls for 
'lenny'. How am I to know for sure whether or not I have already 
installed packages from Squeeze ? Last package I installed was 'xine-ui' 
and, not later than 2-3 days ago, I have installed libdvdcss2 and 
w32codecs. How am I to know whether it is too late to changes calls to 
"stable" to calls to "Lenny" ?


I thought that Squeeze had not yet been acknowledged as 'stable', but, 
obviously, I failed to keep informed in due time.


Below is the content of my source.list:

deb http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ stable main contrib non-free
deb http://www.backports.org/debian lenny-backports main contrib
deb http://security.debian.org/ lenny/updates main
deb-src http://security.debian.org/ lenny/updates main
deb http://volatile.debian.org/debian-volatile lenny/volatile main
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main
deb http://www.debian-multimedia.org/ testing main contrib non-free

Thanks in advance for your advices


--
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/4d515190.3000...@teaser.fr



problem playing DVD video using xine

2011-02-06 Thread Bernard

Hi to Everyone,

Out of 9 DVD that I bought, I can read only 4 using xine under Debian 
Lenny. With the 5 others, I get the following error message:


libdvdread: Encrypted DVD support unavailable

I suppose that I miss some codecs... in any case, I must admit that I am 
a newbee in DVD viewing, so I may miss something obvious.


On one of the five failing supports, the system proposed that I install

gstreamer0.10-plugins-bad

but this turned out to be impossible to install: the package is said to 
be available, but it says that it is defectuous and that it won't install.


What codecs or other utility should I install ?   In what repository 
would that be available ?


Thanks in advance for your help


--
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/4d4ee249.8080...@teaser.fr



Mysql database and OO_base.org: problem with INNER JOINTS on tables

2010-12-18 Thread Bernard

Hi to Everyone,

I am trying to manage a local MySQL database which is connected to 
OpenOffice.org_base using JDBC. The main table has about 90 fields and 
25,000 elements. This table comprises a dozen of fields about 'places' 
(birthplace, weddingplace, deathplace, burialplace, workplace... ), 
which fields are not filled in plain text, but in postal codes. I have 
another table that displays placenames vs postal codes.


I did not have much problem figuring how to get an OO_base request to 
display the main table with placenames in clear, AS LONG AS IT WAS 
MATTER OF DISPLAYING ONLY ONE place field in clear, together with all 
other fields (fields others than 'place' fields as well as coded 
placefields).


Problems started as soon as I tried displaying two place-fields in 
clear. To do this, I created two JOINTURES between fields in two tables 
(was only one jointure when the matter was to display only one place field).


While the request succeeded after about one minute in the first case, it 
never ended in the second test ; I had to get out after half an hour using


#kilall -KILL mysqld

I then tried with a much shorter table, that is,  the same table with 
only 1000 elements, the remaining 24,000 having been erased. Then, it 
did work... after about 10 minutes, which is a lot of time for such a 
small table... Yet I did not get exactly what was expected : 

only the lines where both placefields were NOT NULL did display. 
Whatever line with only one NOT NULL placefield, did not appear at all, 
while I expected that they all show up, with an empty column where the 
placefield was empty !


It is therefore clear that I did not use the right process !

Thanks in advance for your help


--
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/4d0d34cb.3020...@teaser.fr



Re: parsing problem

2010-12-09 Thread Bernard Fay
Wonderful  Works like a charm.

A few year ago I used Perl a lot but I lost my hand at it.
Your idea of Perl helped me to fix another problem with the same file:
non-breaking space.
Perl and \xA0 fixed it for me.

Thanks a lot Joao,
Bernard


On Thu, Dec 9, 2010 at 12:00 PM, Joao Ferreira gmail <
joao.miguel.c.ferre...@gmail.com> wrote:

> On Thu, 2010-12-09 at 11:33 -0500, Bernard Fay wrote:
> > Hi,
> >
> >
> > I have long strings to parse which have permanent and variable
> > information.  Somewhere in the strings we have something like  "
> > Handle: 0x12a7 ".  Handle is permanent and 0x12a7 is variable.  I
> > wish to be able to extract the variable part (0x12a7) and assign it to
> > a variable.
> >
>
> I'dd use Perl I love Perl and I don't know any other language
> appropriate for this :)
>
> j...@squeeje:~$ cat string.txt
> foo bar abc 123 Handle: 0x12a7 some more things
> zoo zar Handle: 0x12a7 and more stuff
>
> j...@squeeje:~$ cat string.txt  | perl -e 'while (<>) {if (/Handle:\s+(\S
> +)/){$line++; $your_variable = $1; print "$line $your_variable\n"; }};'
>
> 1 0x12a7
> 2 0x12a7
>
>
> >
> > Does anyone have an idea how to extract this information?
> >
> >
> > I think awk might be the tool to use but I not too good at it yet.
> >
> >
> > Thanks,
> > Bernard
> >
> >
>
>
>


parsing problem

2010-12-09 Thread Bernard Fay
Hi,

I have long strings to parse which have permanent and variable information.
 Somewhere in the strings we have something like  " Handle: 0x12a7
".  Handle is permanent and 0x12a7 is variable.  I wish to be able to
extract the variable part (0x12a7) and assign it to a variable.

Does anyone have an idea how to extract this information?

I think awk might be the tool to use but I not too good at it yet.

Thanks,
Bernard


Re: problem installing Debian on dual boot with WinXP

2010-12-07 Thread Bernard

Camaleón wrote:

On Tue, 07 Dec 2010 16:05:32 +, Lisi wrote:

  

On Tuesday 07 December 2010 15:00:20 Camaleón wrote:



  

I don't know how Ubuntu's installer looks like, but if you have
unallocated space in the disk it should be detected.

"/dev/sda" is the whole disk (not a Windows partition), while "/dev/
sda1", "/dev/sda2", "/dev/sda3" and so on... name the partitions in the
disk. Maybe you have to manually select the partitions or tell the
installer to look in another place (under some kind of "advanced
settings"?).
  

I have installed XP and Debian without a problem.  But the other day I
needed to do exactly this, install Ubuntu 10.10 on a dual boot with
Windows.  It refused to see the empty space, although I tried every
method I could think of.  Because the 10.10 installation was urgent, I
wiped the XP off the disk and let 10.10 start from scratch.  Annoying,
as XP had taken me a day on and off to install, was a right pain, and I
had hoped to leave it alone.  I also had 10.10 refuse to quadrupal  boot
on another machine with Debian and 2 other versions of Ubuntu.

I keep hoping that Ubuntu and I will make peace.  Then something like
this happens and I flee back as soon as I can to Debian.

But 10.10 is great for getting a desktop rapidly to the point of using
multimedia to the satisfaction of my granddaughter.  For everything else
I find it a pain. :-(



A bug in Ubuntu installer? :-?
  


Yes, it most likely was !

After many tests and re-tests, I decided to try the Debian Lenny iso 
install CD that I had used in my own home desktop computer. It did work 
perfectly !


So: shame on Ubuntu and cheers to Debian :=)

True enough: chances are that someone will point out reverse situations =(

My fellow members in my association have asked for Ubuntu install on 
dual boot on one of our computers. Since they know next to nothing about 
Linux, I am going to tell them that Debian is just about the same as 
Ubuntu (which is not completely untrue anyway), and that, in any case, 
Debian did the job, which Ubuntu did not !


Thanks to Everyone for your help


--
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/4cfeda25.4000...@teaser.fr



Re: problem installing Debian on dual boot with WinXP

2010-12-07 Thread Bernard

Klistvud wrote:

Dne, 07. 12. 2010 12:46:54 je Bernard napisal(a):

Hi to Everyone,

I wish to install Linux on a computer where MSWIN XP is already 
running. I thought I would first resize (shrink) the windows 
partition so as to create free space for Linux install. I did that, 
using GParted.


Your absolutely *necessary* next step is to boot into Windows and do a 
scandisk. Windows has to recheck its own bits and pieces after being 
resized, or else...


I have done that. The scandisk started automatically at the first reboot 
following resizing. But that did not solve the problem : the Ubuntu 
10.10 iso install CD did not reckognize any workable space to do its job.


Problem is : at next step, when trying to install Ubuntu 10.10 with 
an iso CD, the install system does not see any useful partition. It 
only sees /dev/sda, while it should show /dev/sda1 and /dev/sda2. 
Using "SystemRescueCD', I am able to mount both partitions and 
display their size using 'df', but the Ubuntu install system does not 
see them. Whether I format /dev/sda2 to ext2 or ntfs, or if I just 
leave the space without formating, the Ubuntu install CD does not see 
any suitable space for that purpose.


I came to wonder if, by any chance, my failure was due to that I did 
not create a partition table.


No. If you have a working Windows installation, you definitely do have 
a partition table.


The GParted iso CD offers this possibility, but then it warns you 
that creating a partition table will erase all data in all partitions..


And that is exactly what will happen. So you don't want to do that. 
Creating a partition table erases *everything* that was previously on 
your disk.


So, maybe I should first create a backup of the MSWIN partition using 
Partimage, then run Gparted again and create a partition table, then 
install Ubuntu (if the iso CD finds what it needs once a new 
partition table is created), then restore the MSWIN saved 
partition... (or, maybe, the way around, that is, first restore MSWIN 
and install Ubuntu next)


IIRC Windows XP wouldn't work anymore, after such a process. What you 
want to do is leave the Windows partition(s) untouched. Install 
GNU/Linux on the freed space, and preferably have Grub install in the 
GNU/Linux partition, NOT on the MBR. That way, you minimize the risk 
of Windows having a fit.


Prior to attempting such a risky process, I wish I had hints from 
those who have already tested, since a number of questions still 
remain :


Is it allright to backup and restore a MSWIN partition ? Will the 
restored partition boot ? How about the MBR ? Shall I have to modify 
GRUB so that both systems work ?


Does the GParted CD see your new partition? 

Yes, it does
If so, feel free to format it to a GNU/Linux filesystem (I'd 
reccommend ext3).
I have tested just about every possibility : no format, format to ext2, 
format to ext3, format to ntfs... with similar results


Then, Ubuntu installer should recognize it. 
It does not. I then tested another Ubuntu iso install CD with an older 
version: result was the same, despites the fact that said CD had been 
successfully used by someone else.


Next I am going to go test a Debian Lenny install CD. This concern a 
computer at my clubhouse, not my own (here I have Lenny + WinXP on my 
Desktop and Ubuntu 8.04 alone on my laptop)



--
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/4cfe4a8f.1090...@teaser.fr



problem installing Debian on dual boot with WinXP

2010-12-07 Thread Bernard

Hi to Everyone,

I wish to install Linux on a computer where MSWIN XP is already running. 
I thought I would first resize (shrink) the windows partition so as to 
create free space for Linux install. I did that, using GParted. Problem 
is : at next step, when trying to install Ubuntu 10.10 with an iso CD, 
the install system does not see any useful partition. It only sees 
/dev/sda, while it should show /dev/sda1 and /dev/sda2. Using 
"SystemRescueCD', I am able to mount both partitions and display their 
size using 'df', but the Ubuntu install system does not see them. 
Whether I format /dev/sda2 to ext2 or ntfs, or if I just leave the space 
without formating, the Ubuntu install CD does not see any suitable space 
for that purpose.


I came to wonder if, by any chance, my failure was due to that I did not 
create a partition table. The GParted iso CD offers this possibility, 
but then it warns you that creating a partition table will erase all 
data in all partitions..


So, maybe I should first create a backup of the MSWIN partition using 
Partimage, then run Gparted again and create a partition table, then 
install Ubuntu (if the iso CD finds what it needs once a new partition 
table is created), then restore the MSWIN saved partition... (or, maybe, 
the way around, that is, first restore MSWIN and install Ubuntu next)


Prior to attempting such a risky process, I wish I had hints from those 
who have already tested, since a number of questions still remain :


Is it allright to backup and restore a MSWIN partition ?   Will the 
restored partition boot ?   How about the MBR ?   Shall I have to modify 
GRUB so that both systems work ?


Thanks in advance for your help


--
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/4cfe1eae.70...@teaser.fr



latest testing netinstall cd refuses to mount itself on usb cd-drive after start of installation

2010-10-16 Thread Jean-Bernard Addor

Hi!

I do not know how to submit this  kind of error.

Install just began and asked for a special file, but my usb cd-driver 
does not need anything with lots of live cd and all other version of 
debian I already installed.


Have a nice day,

Jean-Bernard


--
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/4cba13ea.90...@umontreal.ca



What tool would convert map coordinates ?

2010-09-18 Thread Bernard

Hi to Everyone,

I need to convert map coordinates from Lambert II + to decimal degrees. 
I found a tool which works online on a web site, but the results lack 
precision : it gives degrees, minutes and integer seconds (no decimal 
after the seconds, while one second is about 30 meters of distance). 
More accurate tools are available for MSWIN, but I wish to use Linux 
resources. I have installed the gdal package, which I have successfully 
used for other purposes, but I don't know whether or not this would fit 
my present purpose. I don't have access to the GDAL doc, since it is 
provided on a strange format (dox), that I don't know how to use.


Thanks in advance for your help


--
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/4c94f0a1.3080...@teaser.fr



help needed with gdal (Geospatial Data Abstraction Library)

2010-08-29 Thread Bernard

Hi to Everyone !

I only have very basic knowledge on this subject, but I need to convert 
satellite image files (from Google Maps for instance) to the ECW format, 
so that I can use them with a special program that I have just installed 
into my GPS navigator.


I have installed the ''gdal-bin' package (which also installs 
libgdal1-1.5.0).


But, if I type, for instance :

b...@new-host:~$ gdal_translate -of ECW -co "TARGET=95" -co "DATUM=WGS84" 
-co "PROJ=GEODETIC" -a_ullr 19.161272 45.635686 19.374475 45.335836 
/home/bd/1-10.jpg /home/bd/carte.ecw


I get :

Input file size is 5000, 1
Output driver `ECW' not recognised.

The following format drivers are configured and support output:
 VRT: Virtual Raster
 GTiff: GeoTIFF
 NITF: National Imagery Transmission Format
 

A quick Google search taught me that the ECW format is being supported, 
but the column titled "Compiled by default" says : "No, needs ECW SDK"


So, I don't know what to do next, since I did not find any appropriate 
package in the Debian repositories to which I have access.


Thanks in advance for your help


--
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/4c7a6cf6.4020...@teaser.fr



[SOLVED] - WAS: 3G+ - E1752 under Debian

2010-08-06 Thread Bernard

Bernard wrote:

Hi to Everyone !

Would anyone here have any experience about Huawei E1752 under Debian 
or Ubuntu ?


I have previously succeeded in connecting a 'Huawei ABCD', using 
'sakis 3G'. But I have now subscribed to another package, which uses 
E1752, and 'Sakis 3G' does not achieve any useful connexion.


'lsusb' tells me that the key has the ID 12d1:1446 as a mass storage 
device. After switching (using either 'Sakis 3G' or 'usb_modeswitch'), 
it identifies as 12d1:141b. /var/log/messages then tells me that it is 
being reckognized as a GSM modem and that it is attached to ttyUSB0 
and to ttyUSB1. So far so good.


Then, the connecting process starts. 'Sakis 3G' does a few guesses and 
tests and it tries various parameters for various Internet Providers. 
In the end, it seems to obtain a connection that only lasts one or two 
seconds, as shown below from /var/log/messages :



*
pppd 2.4.4 started by root, uid 0
using interface ppp0
Connect: ppp0 <---> /dev/ttyUSB0
Warning: secret file /etc/ppp/pap-secrets has world and/or group access
Warning: secret file /etc/ppp/chap-secrets has world and/or group access
CHAP authentification succeeded
CHAP authentification succeeded (line repeated twice)
Modem hangup
Connexion terminated
Exit.
**

This being done, I have carried tests using wvdial. Here is the 
contents of my /etc/wvdial.conf file :


**
[Dialer Defaults]
Modem = /dev/ttyUSB0
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN=0
Modem Type = 3G Orange
Phone = *99#
Username = orange.ie
Password = orange.ie
*

Therefore, I type :
sudo comgt -d /dev/ttyUSB0

My PIN code is then requested, and I enter it ()
I get this :

*
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "20801",2
Signal Quality: 11,99
***

Then I tape :
sudo wvdial

**
b...@dell-desktop:~$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Fri Aug 6 18:09:22 2010
--> Pid of pppd: 29127
--> Using interface ppp0
--> Disconnecting at Fri Aug 6 18:09:24 2010
**

And here is the output of /var/log/messages :

*
Aug 6 18:09:22 dell-desktop pppd[29127]: pppd 2.4.4 started by root, uid
0
Aug 6 18:09:22 dell-desktop pppd[29127]: Using interface ppp0
Aug 6 18:09:22 dell-desktop pppd[29127]: Connect: ppp0 <--> /dev/ttyUSB0
Aug 6 18:09:22 dell-desktop pppd[29127]: Warning - secret
file /etc/ppp/pap-secrets has world and/or group access
Aug 6 18:09:22 dell-desktop pppd[29127]: Warning - secret
file /etc/ppp/chap-secrets has world and/or group access
Aug 6 18:09:22 dell-desktop pppd[29127]: CHAP authentication succeeded
Aug 6 18:09:22 dell-desktop pppd[29127]: CHAP authentication succeeded
Aug 6 18:09:23 dell-desktop pppd[29127]: Modem hangup
Aug 6 18:09:23 dell-desktop pppd[29127]: Connection terminated.
Aug 6 18:09:23 dell-desktop pppd[29127]: Exit.
*

No need to say that I have tried this several times, with same results.
A test under MSWIN XP did give a connection.

It may be that the sent parameters are not the right ones to obtain a 
connexion with wvdial, but I don't know what else to try.


Thanks in advance for your help.





I just found what was wrong, while watching what happened during a
connection under MSWIN. The Username and Password were supposed to be
both set to 'orange.ie', so I believed, especially since this was
supposed to be a short for 'Orange Internet Everywhere'. 'orange.ie' was
also the first choice that was being proposed by 'Sakis 3G'. I learnt
that it had to be changed to 'orange.fr'. Once this was done, I could
get connexions under Ubuntu without any further problems, whether using
'wvdial' or 'Sakis 3G'.



--
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/4c5ca165.4070...@teaser.fr



Re: Clef 3G+ - E1752 sous Debian

2010-08-06 Thread Bernard

Jordon Bedwell wrote:

On 8/6/2010 12:21 PM, Bernard wrote:
  

Merci d'avance pour vos commentaires et suggestions.



Liste en anglais, s'il vous plaît parler anglais.
http://lists.debian.org/debian-user-french/

  
Yes, I am sorry. My message was intended to the 'debian-user-french' 
list, and I mismatched addresses. Since it concerned a French Internet 
provider, I first thought that I had better ask the French list, but 
maybe someone here could give a useful advice, so I have translated 
accordingly.



--
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/4c5c5fd0.7050...@teaser.fr



3G+ - E1752 under Debian

2010-08-06 Thread Bernard

Hi to Everyone !

Would anyone here have any experience about Huawei E1752 under Debian or 
Ubuntu ?


I have previously succeeded in connecting a 'Huawei ABCD', using 'sakis 
3G'. But I have now subscribed to another package, which uses E1752, and 
'Sakis 3G' does not achieve any useful connexion.


'lsusb' tells me that the key has the ID 12d1:1446 as a mass storage 
device. After switching (using either 'Sakis 3G' or 'usb_modeswitch'), 
it identifies as 12d1:141b. /var/log/messages then tells me that it is 
being reckognized as a GSM modem and that it is attached to ttyUSB0 and 
to ttyUSB1. So far so good.


Then, the connecting process starts. 'Sakis 3G' does a few guesses and 
tests and it tries various parameters for various Internet Providers. In 
the end, it seems to obtain a connection that only lasts one or two 
seconds, as shown below from /var/log/messages :



*
pppd 2.4.4 started by root, uid 0
using interface ppp0
Connect: ppp0 <---> /dev/ttyUSB0
Warning: secret file /etc/ppp/pap-secrets has world and/or group access
Warning: secret file /etc/ppp/chap-secrets has world and/or group access
CHAP authentification succeeded
CHAP authentification succeeded (line repeated twice)
Modem hangup
Connexion terminated
Exit.
**

This being done, I have carried tests using wvdial. Here is the contents 
of my /etc/wvdial.conf file :


**
[Dialer Defaults]
Modem = /dev/ttyUSB0
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN=0
Modem Type = 3G Orange
Phone = *99#
Username = orange.ie
Password = orange.ie
*

Therefore, I type :
sudo comgt -d /dev/ttyUSB0

My PIN code is then requested, and I enter it ()
I get this :

*
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "20801",2
Signal Quality: 11,99
***

Then I tape :
sudo wvdial

**
b...@dell-desktop:~$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Fri Aug 6 18:09:22 2010
--> Pid of pppd: 29127
--> Using interface ppp0
--> Disconnecting at Fri Aug 6 18:09:24 2010
**

And here is the output of /var/log/messages :

*
Aug 6 18:09:22 dell-desktop pppd[29127]: pppd 2.4.4 started by root, uid
0
Aug 6 18:09:22 dell-desktop pppd[29127]: Using interface ppp0
Aug 6 18:09:22 dell-desktop pppd[29127]: Connect: ppp0 <--> /dev/ttyUSB0
Aug 6 18:09:22 dell-desktop pppd[29127]: Warning - secret
file /etc/ppp/pap-secrets has world and/or group access
Aug 6 18:09:22 dell-desktop pppd[29127]: Warning - secret
file /etc/ppp/chap-secrets has world and/or group access
Aug 6 18:09:22 dell-desktop pppd[29127]: CHAP authentication succeeded
Aug 6 18:09:22 dell-desktop pppd[29127]: CHAP authentication succeeded
Aug 6 18:09:23 dell-desktop pppd[29127]: Modem hangup
Aug 6 18:09:23 dell-desktop pppd[29127]: Connection terminated.
Aug 6 18:09:23 dell-desktop pppd[29127]: Exit.
*

No need to say that I have tried this several times, with same results.
A test under MSWIN XP did give a connection.

It may be that the sent parameters are not the right ones to obtain a 
connexion with wvdial, but I don't know what else to try.


Thanks in advance for your help.




--
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/1281115292.31188.12.ca...@dell-desktop.home



--
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/4c5c5ecb.3090...@teaser.fr



Clef 3G+ - E1752 sous Debian

2010-08-06 Thread Bernard
Bonjour à tous,

Dans une précédente enfilade, je vous ai fait part de mes problèmes pour
faire reconnaître et connecter une clef Huawei 3G (19d2:2000 =>
19d2:0052) avec un pack SFR). Avec votre aide, et celle de l'utilitaire
"Sakis 3G", j'ai réussi. Durant une quinzaine loin de chez moi, j'ai pu
me connecter quotidiennement à Internet, sans problème et généralement
avec un bon débit, sur mon pack de 15 heures valable un mois (39 Euros).

Cette solution SFR n'était que provisoire, et j'attendais de recevoir la
carte SIM pour ma récente souscription à la formule "Orange Internet
Everywhere". Mon souci, désormais, est de faire fonctionner cette
nouvelle clef sous Linux.

C'est une Huawei E1752, ID: 12d1:1446 (mass storage device) qui, après
commutation en modem, affiche 12d1:141b. "Sakis3G" ne permet pas sa
connexion, et ce, contrairement à mon autre carte. "Sakis 3G" opère la
commutation OK, ainsi que je puis le constater avec dmesg (GSM modem
converter detected now attached to ttyUSB0... now attached to ttyUSB1.),
puis il semble obtenir une connexion qui dure chaque fois une fraction
de seconde :

*
pppd 2.4.4 started by root, uid 0
using interface ppp0
Connect: ppp0 <---> /dev/ttyUSB0
Warning: secret file /etc/ppp/pap-secrets has world and/or group access
Warning: secret file /etc/ppp/chap-secrets has world and/or group access
CHAP authentification succeeded
CHAP authentification succeeded (ligne répétée)
Modem hangup
Connexion terminated
Exit.
**

et çà recommence plusieurs fois, jusqu'à l'interruption par CTRL-C.
Ceci étant fait, j'ai fait des tests avec les outils de base, et les
paramètres qui m'avaient été donnés principalement par Sylvain, Daniel
et Frédéric, en ne retenant que ce qui était sensé correspondre aux
connexions 'Orange' (je dis 'sensé correspondre', car il s'agissait
d'une clef Huawei E160E, alors que la mienne est une E1752). Voici donc
les tests effectués, et les résultats obtenus, lesquels sont
pratiquement identiques à ceux obtenus avec "Sakis 3G" :

D'abord, j'ai réinstallé les packages usb_modeswitch et
usb_modeswitch_data proposés par "www.draisberghof.de". Ma clef E1752 y
est supportée et, apparemment, gérée convenablement, le fichier data
correspondant aux id 12d1:1446 ==> 12d1:141b existe bien. Lorsque je
branche la clef dans un port USB, l'icône CDROM n'apparaît pas sur le
bureau de Gnome, et un lsusb me donne bien 12d1:141b ; dmesg me redonne
les mêmes messages qu'avec Sakis 3G, c'est à dire que le GSM modem est
bien détecté et attaché à ttyUSB0 et à ttyUSB1.

A ce stade, tout paraît OK... à un bémol près: cette commutation
automatique grâce à usb_modeswitch ne fonctionne qu'une seule fois par
boot du système. Si je débranche la clef, puis la rebranche, c'est le
'mass storage device' qui apparaît, et il me faut faire un re-boot pour
que cela remarche. Mais on verra ce problème plus tard.

Voyons maintenant la tentative de connexion.
Voici le contenu de mon /etc/wvdial.conf :

**
[Dialer Defaults]
Modem = /dev/ttyUSB0
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN=0
Modem Type = 3G Orange
Phone = *99#
Username = orange.ie
Password = orange.ie
*

Donc, je tape :
sudo comgt -d /dev/ttyUSB0

Mon code PIN m'est demandé. Je l'entre (). Après quelques secondes,
j'ai ceci :

*
SIM ready
Waiting for Registration..(120 sec max)
Registered on Home network: "20801",2
Signal Quality: 11,99
***

Alors je tape :
sudo wvdial

**
b...@dell-desktop:~$ sudo wvdial
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT*99#
--> Waiting for carrier.
ATDT*99#
CONNECT
--> Carrier detected. Waiting for prompt.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Fri Aug 6 18:09:22 2010
--> Pid of pppd: 29127
--> Using interface ppp0
--> Disconnecting at Fri Aug 6 18:09:24 2010
**

Les codes sont bien envoyés... (mais sont ils les bons pour cette clef
là ?), la porteuse est bien trouvée, la connexion a apparemment bien
lieu, mais il semble que l'invite n'arrive pas, et le système ne sachant
que faire, il lance pppd à tout hasard. Ici la connexion a duré 2
secondes. La diode de la clef clignote en bleu, un flash toutes les 3
secondes environ. Voici l'output de /var/log/messages :

*
Aug 6 18:09:22 dell-desktop pppd[29127]: pppd 2.4.4 started by root, uid
0
Aug 6 18:09:22 dell-desktop pppd[29127]: Using interface ppp0
Aug 6 18:09:22 dell-desktop pppd[29127]: Connect: ppp0 <--> /dev/ttyUSB0
Aug 6 18:09:22 dell-desktop pppd[29127]: Warning - secret
file /etc/ppp/pap-secrets has world and/or gr

Re: amd64 does net detect my wired and wireless nic at installation

2010-07-19 Thread Bernard Fay
Thanks Wolodja for pointing to this site.  The installer from Kenshi Muto
worked for me. Now the final test it to make it work with VMware Server.

Here is the output of lspci -knn:

lspci -knn
00:00.0 Host bridge [0600]: Intel Corporation Device [8086:0044] (rev 02)
Kernel driver in use: agpgart-intel
Kernel modules: intel-agp
00:02.0 VGA compatible controller [0300]: Intel Corporation Device
[8086:0046] (rev 02)
Kernel modules: i915
00:16.0 Communication controller [0780]: Intel Corporation Ibex Peak HECI
Controller [8086:3b64] (rev 06)
00:16.3 Serial controller [0700]: Intel Corporation Ibex Peak KT Controller
[8086:3b67] (rev 06)
Kernel driver in use: serial
00:19.0 Ethernet controller [0200]: Intel Corporation Device [8086:10ea]
(rev 06)
Kernel driver in use: e1000e
Kernel modules: e1000e
00:1a.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced
Host Controller [8086:3b3c] (rev 06)
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1b.0 Audio device [0403]: Intel Corporation Ibex Peak High Definition
Audio [8086:3b56] (rev 06)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port
1 [8086:3b42] (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.3 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port
4 [8086:3b48] (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation Ibex Peak PCI Express Root Port
5 [8086:3b4a] (rev 06)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB Controller [0c03]: Intel Corporation Ibex Peak USB2 Enhanced
Host Controller [8086:3b34] (rev 06)
Kernel driver in use: ehci_hcd
Kernel modules: ehci-hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge
[8086:2448] (rev a6)
00:1f.0 ISA bridge [0601]: Intel Corporation Ibex Peak LPC Interface
Controller [8086:3b07] (rev 06)
00:1f.2 SATA controller [0106]: Intel Corporation Ibex Peak 6 port SATA AHCI
Controller [8086:3b2f] (rev 06)
Kernel driver in use: ahci
Kernel modules: ahci
00:1f.3 SMBus [0c05]: Intel Corporation Ibex Peak SMBus Controller
[8086:3b30] (rev 06)
Kernel driver in use: i801_smbus
Kernel modules: i2c-i801
00:1f.6 Signal processing controller [1180]: Intel Corporation Ibex Peak
Thermal Subsystem [8086:3b32] (rev 06)
02:00.0 Network controller [0280]: Intel Corporation Device [8086:4239] (rev
35)
Kernel driver in use: iwlagn
Kernel modules: iwlagn
ff:00.0 Host bridge [0600]: Intel Corporation Device [8086:2c62] (rev 02)
ff:00.1 Host bridge [0600]: Intel Corporation Device [8086:2d01] (rev 02)
ff:02.0 Host bridge [0600]: Intel Corporation Device [8086:2d10] (rev 02)
ff:02.1 Host bridge [0600]: Intel Corporation Device [8086:2d11] (rev 02)
ff:02.2 Host bridge [0600]: Intel Corporation Device [8086:2d12] (rev 02)
ff:02.3 Host bridge [0600]: Intel Corporation Device [8086:2d13] (rev 02)



On Mon, Jul 19, 2010 at 10:22 AM, Wolodja Wentland <
wentl...@cl.uni-heidelberg.de> wrote:

> On Mon, Jul 19, 2010 at 09:32 -0400, Bernard Fay wrote:
> > When I try to install amd64 (Debian 5.05) on my new laptop, a Lenovo x201
> > tablet. I wish to use amd64 because I have 8GB for RAM and I think 64-bit
> is
> > now the way to go.  The installer does not detect neither my wired or
> wireless
> > NIC.  The installer gives me a list of network adapter drivers, I select
> the
> > the appropriate drivers but it keeps saying it cannot find the network
> > hardware.
>
> > I tried Ubuntu amd64 and it was succesful but I would prefer to go with
> Debian.
>
> I guess that you need a newer kernel that supports your NIC. It would
> help if you could paste the output of "lspci -knn" from your Ubuntu
> installation or from within a live cd like grml. You could also check
> the hardware support situation at:
>
> http://kmuto.jp/debian/hcl/
>
> Debian provides stable installers with newer kernels at:
>
> http://kmuto.jp/debian/d-i/
>
> which you might want to use in order to solve your problem. I would
> strongly discourage installing testing just because your NIC is not
> supported by Lenny's kernel.
>
> have fun
>
>Wolodja
> --
>  .''`. Wolodja Wentland
>  : :'  :
>  `. `'` 4096R/CAF14EFC
>   `-   081C B7CD FF04 2BA9 94EA  36B2 8B7F 7D30 CAF1 4EFC
>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIcBAEBCAAGBQJMRF+ZAAoJEIt/fTDK8U78ag8P/is3mIN1LFMno2+A1/67dMKp
> ht8PdlcEDWWJl27vpoYpU6+seEba7FISJ4+/tStzy5NtjTlljFna0k//DnP1OZJl
> NCtjsMoCRMAoaMSLrHS6HU+kgmX23WleuBi8Pc2hMyt7S44vbuNaLOX8ve98q9d7
> EBr9zYqYr/YRUIULcKa5OBJorMcZ4fszSJu3UA1Eew1vAoHRO6hCDRZVyQiao58S
> Fj+FG1xlKZtVJ718ud8

amd64 does net detect my wired and wireless nic at installation

2010-07-19 Thread Bernard Fay
Hello everyone,

When I try to install amd64 (Debian 5.05) on my new laptop, a Lenovo x201
tablet. I wish to use amd64 because I have 8GB for RAM and I think 64-bit is
now the way to go.  The installer does not detect neither my wired or
wireless NIC.  The installer gives me a list of network adapter drivers, I
select the the appropriate drivers but it keeps saying it cannot find the
network hardware.

I tried Ubuntu amd64 and it was succesful but I would prefer to go with
Debian.

Someone has a clue on this problem?

thanks,
Bernard


help needed in installing 3G+ usb modem

2010-07-15 Thread Bernard

Hi to Everyone,

I have already tried a lot of things to get this to work on my laptop 
running Ubuntu 8.04. I also carried tests on my desktop on Debian Lenny, 
with no results in either system.


Some people got very similar models of 3G key to work on Ubuntu. They 
have recommended that I carry a few tests, but none gave satisfactory 
results, and they don't know what more to advise. I thought that, maybe 
someone here would have a better experience.


Whenever I plug that modem in a usb slot, it first acts as if it was a 
mass storage device. Nothing wrong with this, have I been told : the 
data space contains programs for MSWIN install. The device must 
therefore be switched so as to be reckognized as a modem, which may be 
done using various means. You need "usb-modeswitch" and "comgt" 
packages. None of them were on my system, nor were they available in the 
'Hardy' repositories, so I went fetching them as .deb packages meant for 
a more recent distro. They seemed to have installed flawlessly. However, 
I can't get any result.


At first, I don't know how to launch usb_modeswitch. It may be that it 
is supposed to work automatically. In any case, my usbmodem does not 
switch from storage to modem. The man page is really poor, as it does 
not explain what you must exactly write in your statement :


SYNOPSIS
   usb-modeswitch [-hvpVPmMrdHn] [-c filename]

with no mention of what target you must write after this.

sudo usb_modeswitch

Error : could not find file /etc/usb_modeswitch.conf

I wrote one with two lines from an example taken from another version of 
usb_modeswitch, which version I could not install (this is a tarball 
which compiles here with errors). Then


sudo usb_modeswitch -c /etc/usb_modeswitch.conf

   No default vendor/product ID given. Aborting

Nowhere was it written that you had to specify a default vendor/product. 
I tried a few things as vendor/product, including what you find in the 
usb_modeswitch-data files for your modem, that is 19d2:2000 then 
0x19d2/0x2000 and various other names... to no avail.


I tried :

sudo comgt -d /dev/ttyUSB0

comgt 20:44:46 -> -- Error Report --
comgt 20:44:46 -> Error @6 line 1, Can't control /dev/ttyUSB0, please 
try again


I can try any time I want, same result. It more often happens that, 
instead of the above message, I only get : "Can' open /dev/ttyUSB0. I 
also get this if I test USB1, USB2...


I have also tried the 'vodaphone' package which failed too.

My USB modem is a ZTE (Huwei abcd).

lsusb says :

   Bus 007 Device 007: ID 19d2:2000

dmesg says :

   usb 7-2: new high speed USB device using ehci_hcd and address 7
   usb 7-2: configuration #1 chosen from 1 choice
   scsi12 : SCSI emulation for USB Mass Storage devices
   usb-storage: device found at 7
   usb-storage: waiting for device to settle before scanning

(but if I wait, nothing changes)

That usb modem DOES WORK under MSWIN (I tried it)

I have got another one, of the same vendor, but from another mobile 
provider. For this other one, I still don't have the SIM card, still I 
tried it to see what would happen ; I even tried it with the alien SIM 
card in it. It does not work either, even though both models are known 
to work under Linux, as reported by several people on various lists. 
This one gives very similar messages with dmesg, same reply with comgt 
-d /dev/ttyUSB0, and lsusb says : ID 12d1:1446 Huawei Technologies Co., Ltd.


Thanks in advance for your comments




--
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/4c3f5ce8.2080...@teaser.fr



Re: (new post) Is there a way to manage a WS 3500 Lacrosse Technology wheather station under Debian Lenny ?

2010-05-10 Thread Bernard

Camaleón wrote:

On Mon, 10 May 2010 10:32:21 -0500, Stan Hoeppner wrote:

  

Bernard put forth on 5/9/2010 4:47 PM:


I've read somewhere that a Lacrosse WS2300 or 23?? was being
successfully mastered, but I can't find the appropriate links. What
about my WS 3500 ?  the MSWIN driver that I got with it, is called
"Heavy Wheather 3600", as it is supposed to manage both WS3500 and
WS3600.

There is a SERIAL connexion between the wheather station and the PC.
  

What, exactly, _specifically_, is the question you would like us to
answer?



See the "subject" :-)

I think the OP wants to connect his weather device to a Debian system and 
retrieve/manage data from it in the same manner it would do the windows 
counterpart application designed for this device (Heavy Weather Pro).
  


Yes, I am sorry for not having been more clear. I wish to monitor my 
Lacrosse WS 3500 meteo station without the original MSWIN program that 
came with it, using Debian Lenny resources if possible. The only thing 
that I really need, is to be able to recuperate the data that is beeing 
stored onto an EEPROM, on to my hard disk, so that I can create 
OpenOffice.org sheets from .csv text files. I don't need continuous 
monitoring.



--
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/4be88fbe.7060...@teaser.fr



Is there a way to manage a WS 3500 Lacrosse Technology wheather station under Debian Lenny ?

2010-05-09 Thread Bernard
I've read somewhere that a Lacrosse WS2300 or 23?? was being 
successfully mastered, but I can't find the appropriate links. What 
about my WS 3500 ?  the MSWIN driver that I got with it, is called 
"Heavy Wheather 3600", as it is supposed to manage both WS3500 and WS3600.


There is a SERIAL connexion between the wheather station and the PC.

Thanks in advance for any advice.


--
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/4be72d77.2020...@teaser.fr



Re: backing up LVM volumes

2010-05-09 Thread Bernard

Chris Davies wrote:

Bernard  wrote:
  
On my previous systems, I used to create overall backups of partitions, 
using 'SystemRescueCD'. This is no longer possible ever since 2007 that 
I have a RAID1 mirroring system on my Debian.



You used to boot from SystemRescueCD and backup the partitions
corresponding to the (unmounted) filesystems block by block? Or you
mounted them and backed up the (mounted) filesystems?
  


I've never dared backing up mounted partitions, for fearing of mishaps



You can continue to do either of these that even though you've got RAID1
and LVM. Start up RAID1 and LVM, and then back up the logical partitions
(or filesystems) that result. Ignore the physical ones.


  

SystemRescueCD does not backup LVM volumes, or, if it does, that must
be a very new feature, and I have not found any doc on this.



TBH I'm not aware of any backup feature within SystemRescueCD, but there
are many useful tools there. I've successfully fixed up software RAID1
configurations, and it must work with LVM because most of my systems'
filesystems are based on RAID1/LVM combinations and it works for me.
  


SystemRescueCD only worked as an external boot system. Amongst the tools 
it proposes, is 'partimage', which creates images of partitions and 
compresses them. When I stated that 'SystemRescueCD' did not backup LVM 
volumes, I meant that 'partimage' lacked this capability. As far as I 
know, recent versions cannot do any better.
  
So, what should I do so as to backup my system ?  I once tried 'dd', but 
I think I remember it took forever [...]



Without the bs argument you would have been reading the disk 512bytes
at a time. Try bs=1000k for better throughput.
  
I tried 'dd' again. It seems more promising, since it does backup 
everything. files are huge (about same size as the original partition, 
including empty space), but, in the end, it barely takes more than one 
hour for each of my 64 GB partitions. (By the way, I kind of recall 
having stated somewhere that my partitions were 200 GB in size, but I 
was wrong.  I have two internal hard drives of 80 GB each). My 
partitions are :


/dev/sda1 and /dev/sdb1 => assembled onto a RAID 1 array as /dev/md0 
(boot partition) (about half of a GB)


/dev/sda2 and /dev/sdb2 => assembled onto a RAID 1 array as /dev/md1 and 
also as /dev/mapper/vg00-root (about 64 GB each)


/dev/sda3 => fat32 partition, with MSWIN XP installed on it (10 GB)
  

I don't really know whether I would have been able to use the resulting
file to successfully restore the partitions if needed.



How do you know any of your backups work? Test them!
  


Sure !  Not so easy though !  To carry such test, you ought to have 
enough space available, unless you carry mini tests on small partitions.


This time, I think I have what I need. I purchased yet another external 
HD, with a capacity of 500 GB, and, after I had erased whatever it 
contained for use under MSWIN, I created four partitions using 'cfdisk', 
all Linux. Then I formated them to ext2 using 'mkfs -t ext2..' (mkfs -t 
ext2 /dev/sdc1, mkfs -t ext2 /dev/sdc2, .. ,mkfs -t ext2 /dev/sdc4) 
Next, I launched 'dd' as follows :


/mnt/sdc4/# dd if=/dev/sda1 of=sda1_04_10.img

Don't know if this was the best way to do, in any case I did just that. 
It only took a few minutes, since that partition is only half of a GB 
long. Then I attempted to restore the saved partition onto another 
partition of my external HD:


/mnt/sdc4/# dd if=sda1_04_10.img of=/dev/sdc2

This being done, and after unmounting/re-mounting the devices, I found 
that /dev/sdc2 was indeed a copy of /dev/sda1...


BUT...

I must say that my original /dev/sda1 was my 'boot' partition. As such, 
the RAID/mdadm programs did not create a LVM system ; it kept using the 
original ext3.


Once this was achieved, I carried on with another partition (sda2). This 
one was about 64 GB in size.


/mnt/sdc4/# dd if=/dev/sda2 of=sda2_04_10.img

Next morning (but I figured that the process only took a little more 
than one hour), I attempted to restore said partition into /dev/sdc4


/mnt/sdc4/# dd if=sda2_04_10.img of=/dev/sdc1

the result of restoring the partition sda2 onto the sdc1 partition of my 
external disk, was not the same as that obtained in restoring sda1 onto 
sdc2. I can't read, or even mount sdc1 :


r...@new-host:/home/bd# mount /dev/sdc1 /mnt/exthd
mount: unknown filesystem type 'lvm2pv'
r...@new-host:/home/bd#

So, my hard disk partition sda2 has been restored from its image, onto a 
lvm2pv logical partition.


Now, my question is :  what can I do with this partition so as to 
restore something useful ?  In case something crashes on my desktop, I 
imagine that, after replacing one or both hard disks, I would just have 
to partition and then use 'dd' to restore both sda1 

backing up LVM volumes

2010-04-26 Thread Bernard

Hi to Everyone !

On my previous systems, I used to create overall backups of partitions, 
using 'SystemRescueCD'. This is no longer possible ever since 2007 that 
I have a RAID1 mirroring system on my Debian. SystemRescueCD does not 
backup LVM volumes, or, if it does, that must be a very new feature, and 
I have not found any doc on this.


So, what should I do so as to backup my system ?  I once tried 'dd', but 
I think I remember it took forever, and I don't really know whether I 
would have been able to use the resulting file to successfully restore 
the partitions if needed.


Could someone suggest something that has been successfully tried ?  Even 
'dd' could do, if it is OK with LVM and if I get some details. I 
understand that I would have to unmount the partitions, but this is not 
a problem. I have two IDE mirrored disks of 200 GB each.


Thanks in advance for your insights.


--
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/4bd614b4.5060...@teaser.fr



[SOLVED] Re: how to setup my environment variable for vim ?

2010-04-25 Thread Bernard

Andrei Popescu wrote:


Of course, /bin/sh is needed for the basic operation of your OS, it 
couldn't reside on /usr (which is often a separate partition mounted 
later on).


Try putting this in ~/.bashrc:

export EDITOR=/usr/bin/vim
  

This worked OK ! Thanks for this advice.



Regards,
Andrei
  



--
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/4bd4b35d.4000...@teaser.fr



Re: how to setup my environment variable for vim ?

2010-04-24 Thread Bernard

Andrei Popescu wrote:

On Sat,24.Apr.10, 11:28:13, Bernard wrote:
  

Hi to Everyone,

I use ncftp' fairly often, and I wish to be able to edit files on
my remote accesses. The ncftp command 'edit' does not operate here,
it says:

"
Setup your Editor environment variable prior to running ncftp
example for /bin/sh:
EDITOR="/usr/bin/vi";export EDITOR
"

But, on my Lenny, I don't have anything relevant at /bin/sh. For
once, /bin/sh is a directory, not a file, and I don't see anything



I really doubt that! /bin/sh should be a symbolic link (symlink) to 
either /bin/bash or /bin/dash (depending on the release you are using).
  
You're right :  I had done the trial late last night, doing something 
else in the meantime, so I'd mixed things up. I just checked again: 
/bin/sh is a file. But it contains binary data, at least I suppose so, 
since it reads strange characters such as a number of carets and arobase.
  

relevant in it. As for /usr/bin/sh, I don't have such a file or
directory



Of course, /bin/sh is needed for the basic operation of your OS, it 
couldn't reside on /usr (which is often a separate partition mounted 
later on).


Try putting this in ~/.bashrc:

export EDITOR=/usr/bin/vim
  

I am going to test this


--
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/4bd320ce.9020...@teaser.fr



how to setup my environment variable for vim ?

2010-04-24 Thread Bernard

Hi to Everyone,

I use 'ncftp' fairly often, and I wish to be able to edit files on my 
remote accesses. The ncftp command 'edit' does not operate here, it says:


"
Setup your Editor environment variable prior to running ncftp
example for /bin/sh:
EDITOR="/usr/bin/vi";export EDITOR
"

But, on my Lenny, I don't have anything relevant at /bin/sh. For once, 
/bin/sh is a directory, not a file, and I don't see anything relevant in 
it. As for /usr/bin/sh, I don't have such a file or directory


Thanks in advance for your advices.



--
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/4bd2b9ad.6050...@teaser.fr



Re: problem with USB external hard disk My Book 1110

2010-04-21 Thread Bernard

Adding something to my recent post underneath quoted :

I have now installed u3-tool and tested it.

At first, I had to check which devices were concerned. Plugging / 
unplugging my 'My Book' into a USB slot, activates/deactivates :


/dev/sr0
/dev/sg2
/dev/sg3
/dev/sg4

I can also see /dev/sg0 and /dev/sg1 which timestamps says that they 
date back from yesterday (likely at the time when I last restarted my 
PC), but they don't seem to be affected by the plugging/unplugging of my 
'My Book'


The options offered by 'u3-tool' are as follow :

Options:
-c Change password
-d Disable device security
-D Dump all raw info(for debug)
-e Enable device security
-h Print this help message
-i Display device info
-l  Load CD image into device
-p  Repartition device
-R Reset device security, destroying private data
-u Unlock device
-v Use verbose output
-V Print version information

If I type:
./u3-tool -(any option) /dev/sr0, I get: 'Error opening device: 
Read-only file system'


If I try sg2, sg3... I get this :

./u3-tool -c /dev/sg2, I get
'Enter Password: '

same result with other options. Nothing weird to have to first enter the 
current password prior to changing it to a new one, problem is that I 
don't know which is the original one. I've read relevant text on the 
manual : you first need to setup a password during the MSWIN Install 
process ! At start there probably is an internal password that is setup 
at the factory, which original password the install program knows. I 
have tested 'root', and 'admin', but that failed.


And, as previously stated, I am very reluctant to - once more - attempt 
rebooting my system on my Windows partition, since I am not sure whether 
the reboot will operate or if I can't restart until my PC has gone 
through a hardware repair ; in any case, I've already tried that 
yesterday, and the Windows install had FAILED ! (it said that I first 
had to upgrade whatever things or files which names I forgot). A quick 
Google search showed that a lot of people have reported problems 
installing a WD 'My Book' on some Windows versions.



Bernard wrote:
Thanks for your reply. I did carry a search on the list, which lead me 
to 'u3-tools' for Linux, downloadable from sourceforge. It is an alpha 
testing program, which I ought to compile on my system. I will look it 
up more in details this afternoon. I don't really care that much if it 
renders my 'My Book' unusable, since I would then return it to where I 
bought it yesterday, but I would have to be sure that no damage can be 
done to my own system.


I am very reluctant to try some Windows software from WD. I do have a 
Windows XP partition on my system, but I must reboot to access it, and 
I have found that any reboot has become a risky operation here - I may 
have a hardware problem, and this is why I need some more storage 
space to backup my system prior to checkup and repair. Last time I 
have shutdown must be a week ago or so ; it took 4 or 5 attempts to 
restart, various hardware error messages displaying most times, about 
overclocking that was not supported, even though I had never requested 
any overclocking or any other hardware config change for that matter. 
I wonder about viruses, that would be the first time for me on Linux ; 
I will mention this in another thread.


As for 'u-tools', I will let you know what result I get

Paul E Condon wrote:

I was OP on the recent thread. Use my name in search. Also look
for mention of U3. U3 is an emerging software technology for making
part of a hard disk appear to be a CD. If you want to get rid of
this feature you must download some software from WD site. They
don't have support for Linux, but this software is available in
both Windows and Mac versions. I hesitate to offer specific advice.
There are so many gotchas, and so many ways around the gotchas that
depend on your specific situation.

Keep posting. I hope I can help, I surely will try.


On 20100421_032426, Bernard wrote:

Hi to Everyone !

I had 3 external usb disks for savings. None of them refused to
operate under Debian Linux, indeed they worked 'out of the box', even
though Linux was not mentioned as a compatible system in the notices.

Today, since my above mentioned drives have no more space available,
I have purchased another such device. It is a 'My Book 1110' from
Western Digitals. It is supposed to manage 1 TB of data. But, so far,
I have not been able to get it to work on my Linux. If I plug it in
to an usb slot, GNOME displays a message saying that it can't mount
the device, since it is of an unknown filesystem. This being stated,
I can still see some files and directory, the PDF manual for
instance, is available. But what appears is small in size, far from 1
TB, and it is R/O (read only). It mounts on /dev/sr0.

#cat /proc/scsi/scsi
shows th

  1   2   3   >