which one is executed first ip_forward=1 or iptables FORWARD Drop

2019-06-13 Thread BELAHCENE Abdelkader
Hi,
I am using  one machine, say SERV,  as a gateway ( cards eth0, eth1) from
network1  to network2, I want to forward  all packets but tcp port 80   so
I used
*sysctl -w net.ipv4.ip_forward=1*

*I want to drop port 80, and accept others port*

*I tryed*

*iptables -A FORWARD -i eth1 -o eth0 -p tcp  --dport 80 -j DROP*

*but not ran*

*Thanks for help*
*regards*


trouble with my network card

2019-05-21 Thread BELAHCENE Abdelkader
Hi,
I have a trouble with my network card (extern card)
lspci gives:
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 02)
mii-tool  enp4s0
SIOCGMIIPHY on 'enp4s0' failed: No such device

ifconfig  enp4s0
enp4s0: flags=4098  mtu 1500
inet 192.168.10.20  netmask 255.255.255.0  broadcast 192.168.10.255
ether 00:e0:4c:68:0d:d7  txqueuelen 1000  (Ethernet)
RX packets 32  bytes 1920 (1.8 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
I can ping it in the local machine
but not from another machine,  the lightspot of the card is off !!!

What is happening ??  mii-tool doesn't find it but I can put an address??

thanks for help
regards


system stops

2019-01-27 Thread BELAHCENE Abdelkader
HI,
uname -a  gives
Linux mx 4.19.0-1-amd64 #1 SMP Debian 4.19.5-2~mx17+1 (2018-12-12) x86_64
GNU/Linux
Sometimes (maybe often) when I leave the system for a times without
touching it, when I come back, the system is frozen , juste the pointer of
mouse can move, but nothing else,  keyboard doesn't respond,  even
ctrl+alt+F1 , or F2,  ...
So the only  thing todo is stop button.
Here is some lines from messages (last line before the shutdown), hope that
someone can help me by reading this  log before the stopping system ( at
20:29).

Jan 27 20:29:52 mx kernel: [11479.565256] Bluetooth: hci0: BCM: Patch
brcm/BCM20702A1-0489-e032.hcd
not found
Jan 27 20:29:52 mx kernel: [11479.565248] bluetooth hci0: Direct firmware
load for brcm/BCM20702A1-0
489-e032.hcd failed with error -2
Jan 27 20:29:52 mx kernel: [11478.719457] ata1.00: configured for UDMA/133
Jan 27 20:29:52 mx kernel: [11478.513494] ata1: SATA link up 3.0 Gbps
(SStatus 123 SControl 300)
Jan 27 20:29:52 mx kernel: [11477.409506] PM: suspend exit
Jan 27 20:29:52 mx kernel: [11477.374637] Bluetooth: hci0: BCM20702A1
(001.002.014) build 
Jan 27 20:29:52 mx kernel: [11477.373634] Bluetooth: hci0: BCM20702A
Jan 27 20:29:52 mx kernel: [11477.356632] Bluetooth: hci0: BCM: features
0x07
Jan 27 20:29:52 mx kernel: [11477.355640] Bluetooth: hci0: BCM: chip id 63
Jan 27 20:29:52 mx kernel: [11477.245215] Restarting tasks ... done.
Jan 27 20:29:52 mx kernel: [11477.245213] OOM killer enabled.
Jan 27 20:29:52 mx kernel: [11477.164547] usb 1-1.4: reset high-speed USB
device number 5 using ehci
-pci
Jan 27 20:29:52 mx kernel: [11477.106796] ata3.00: configured for UDMA/100
Jan 27 20:29:52 mx kernel: [11477.105193] ata3: SATA link up 1.5 Gbps
(SStatus 113 SControl 300)
Jan 27 20:29:52 mx kernel: [11477.022519] usb 1-1.3: reset full-speed USB
device number 4 using ehci
-pci
Jan 27 20:29:52 mx kernel: [11477.018509] usb 4-1.6: reset high-speed USB
device number 3 using ehci
-pci
Jan 27 20:29:52 mx kernel: [11476.837625] ACPI: button: The lid device is
not compliant to SW_LID.
Jan 27 20:29:52 mx kernel: [11476.619289] sd 0:0:0:0: [sda] Starting disk
Jan 27 20:29:52 mx kernel: [11476.608519] ACPI: EC: event unblocked
Jan 27 20:29:52 mx kernel: [11476.594662] ACPI: EC: interrupt unblocked
Jan 27 20:29:52 mx kernel: [11476.091515] ACPI: Waking up from system sleep
state S3
Jan 27 20:29:52 mx kernel: [11476.088916] CPU1 is up
Jan 27 20:29:52 mx kernel: [11476.088582]  cache: parent cpu1 should not be
sleeping
Jan 27 20:29:52 mx kernel: [11476.083485] smpboot: Booting Node 0 Processor
1 APIC 0x2
Jan 27 20:29:52 mx kernel: [11476.083484] x86: Booting SMP configuration:
Jan 27 20:29:52 mx kernel: [11476.083445] Enabling non-boot CPUs ...
Jan 27 20:29:52 mx kernel: [11476.082238] PM: Restoring platform NVS memory
Jan 27 20:29:52 mx kernel: [11476.082238] ACPI: EC: EC started
Jan 27 20:29:52 mx kernel: [11476.082190] ACPI: Low-level resume complete

Sorry if the list is long.
Thanks a lot
regards


screen freezes when I try to log

2018-03-01 Thread BELAHCENE Abdelkader
Hi,
Sometimes the login thru the lightdm fails. That means I log but the screen
freezes and nothing happens, no login no desktop ( using the xfce4).
When I go to the terminal ( using   CTRL+ALT+F1 ), and I log using shell,
I can start the : startx -- :1,  and access to the graphical Desktop..
Where is the problem?  in lightdm or xfce4 ??
I install lxde  and want to log with lxde,  unfortunatly, there is no menu
in the lighdm login,  to choose the manager.
I am using linuxLite 3.8
regards


a bug in apt-mirror ??

2017-07-06 Thread Abdelkader Belahcene
Hi everybody

I 've written a bash script and 2 small python files,  to fix a problem I
found in apt-mirror. I don't know if I don't use correctly apt-mirror.
I give my problem  and the script which solve the problem.

before that I don't understand this error ???:

Use of uninitialized value $config{"options"} in pattern match (m//) at
/usr/bin/apt-mirror line 300,  line 17.

The problem:   When I run  the apt-mirror  it gives the size to download to
update my local repos

if I run it again it gives the same (or approxiamativl) size to download,
so noting is added to my repos, when I check I found many packages not
updated. Here is the example ( just a part of the output)
:
5.4 GiB will be downloaded into archive.
Downloading 231 archive files using 20 threads...
Begin time: Thu Jul  6 09:17:29 2017
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]...
[11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]...
[1]... [0]...
End time: Thu Jul  6 09:20:34 2017

4.5 MiB in 22 files and 0 directories can be freed.



just after that if run a get the same size to download

5.4 GiB will be downloaded into archive.
Downloading 207 archive files using 20 threads...
Begin time: Thu Jul  6 09:36:56 2017
[20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]...
[11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]...
[1]... [0]...
End time: Thu Jul  6 09:37:26 2017

4.5 MiB in 22 files and 0 directories can be freed


MYSOLUTION: maybe somebody wants to use  or improves them
I send in attached file 3 scripts : aptMirrorMod.sh ,
OfficialPackages.py  and  differences.py
The goal of them scripts is to determine the  packages which are different
in the local and remote mirror ( the size is different  or not installed at
all).
It is not necessary to check the checksum since the remote site (official)
is supposed correct.



I hope these programs will serve some people

best regrads

### OfficialPackages.py
##  Construct the legal name for Package
## from nam, version, ...

s=open('Size.txt', 'r')
p=open('Paq.txt', 'r')
v=open('Vers.txt', 'r')
a=open('Arch.txt', 'r')
fd=open('remotePackages.sort', 'w')

while 1:
ss=s.readline()
if ss=='':  break
pp = p.readline()
vv = v.readline()
aa = a.readline()
ls=len(ss)
sss=ss[0:ls-1]
ls=len(pp)
ppp=pp[0:ls-1]
ls=len(vv)
vvv=vv[0:ls-1]
ls=len(aa)
aaa=aa[0:ls-1]

res= sss+'\t'+ppp+'_'+vvv+'_'+aaa+'.deb\n'
  
fd.write(res)
s.close()
p.close()
v.close()
a.close()
fd.close()
### differences.py program
## gives the list of the missed Packages
##  or the  wrong size Package
##  comparing to the official site


r=open('remotePackages.sort', 'r')### The oficial Packages 
p=open('localPackages.sort', 'r')  ###  local Files


fd=open('Result.sort', 'w')

while 1:
pp=p.readline()
if pp=='':  break
ppp=pp.split()
rr = r.readline()
rrr=rr.split()
while  rrr[1] <  ppp[1]:
res=rrr[0]+"  "+ rrr[1]+ "\t\t\t  00  \t\t missing\n"
print (res)
fd.write(res)
rr = r.readline()
rrr=rr.split()

aaa=rrr[0]+"  "+ rrr[1]+ " \t\t"+ rrr[0]+"  "+ rrr[1]+'\n'
print(aaa)
fd.write(aaa)


p.close()
r.close()




aptMirrorMod.sh
Description: Bourne shell script


Re: pdf file is not read correctly

2017-06-21 Thread Abdelkader Belahcene
thanks a lot
I think it is an encoding problem.
When I open it  in embedde pdf reader in firefox, the a print it  as a pdf
file I get same problem,
but if I print it as a PS file, the problem is fixed and the display is
correct.
So the problem is in " pdf font" ?
by the way pdf uses  font?

thanks again
regards


On Wed, Jun 21, 2017 at 1:26 AM, Fungi4All  wrote:

> Brian is very knowledgeable in many areas but unless your request meets
> Brian's
> specifications all you will get from him is criticism on how the request
> was placed.
> If you don't believe me check the archives of the list for this Brian-bot!
>
>  Original Message 
> Subject: pdf file is not read correctly
> UTC Time: June 20, 2017 8:19 AM
> From: abelahc...@gmail.com
>
> Hi everybody,
>
> Strange, until today, I believed that a pdf file written in any language
> can be read by a pdf reader, since it is binary !! For example evince,
> and not I was wrong !!
> The following file is a pdf file in Arabic, it is read correctly under
> windows by acrobat reader, but not with evince, some parts are read but not
> others, (nevertheless my coding of the system is utf8), but what is the link 
> with
> utf8, since pdf is binary !!
> Please, how can I  fix this problem, thank you very much and in advance
>
>
> He does have a point about the missing file, all I can contribute is that
> I have seen multilingual documents with Evince
> and in many cases Arabic was included and displayed in correctly.  One
> does not need to understand the language to
> identify and distinguish correct display from an error message.
> The advice from other contributors about the other packages that read and
> display pdf's is sound advice.
> In addition, there are some conversion packages and/or plugins that
> convert a pdf to other printable formats, although
> I have great doubt that they can do any better job than evince.  Are you
> sure the document is not locked by a password
> that evince can not deal with?
>
> Welcome to the Debian zoo!
>


pdf file is not read correctly

2017-06-20 Thread Abdelkader Belahcene
*Hi everybody,*



*Strange, until today, I believed that a pdf file written in any language
can be read by a pdf reader, since it is binary !! For example evince, and
not I was wrong !!The following file is a pdf file in Arabic, it is read
correctly under windows by acrobat reader, but not with evince, some parts
are read but not others, (nevertheless my coding of the system is utf8),
but what is the link with  utf8, since pdf is binary !!Please, how can I
fix this problem, thank you very much and in advance*


Re: is there a firewall which blocks the connection

2017-05-05 Thread Abdelkader Belahcene
Thanks for reply
I solved the problem


it was blocked by a  firewall enabled by default in linuxlite.
I just disabled by usibg   ufw .
thanks again


how to add a remote login to XDMCP Chooser in the login window

2017-05-05 Thread Abdelkader Belahcene
Hi,

I want to log in a remote server using xdmcp from my local machine,
unfortunately there is no chooser in my local login (I use lightdm).
How to add a remote connexion to the list in local login window?
I remember 8 or 9 years ago, in the login window (may be with  xdm) there
was a remote login in the list.

thank


is there a firewall which blocks the connection

2017-05-03 Thread Abdelkader Belahcene
Hi everybody,
I installed the latest release of linuxlite,
The  openssh-server is installed, i can access from the local machine via
ssh,  but not from a remote machine.
Something like a firewall blocks the connexion ???  the connection ??. I
didn't activate any firewall , I use it as I installed it.

I have the same problem with xrdp:   I can connect with rdesktop from the
local machine , but not from a remote one

for this reason I suspect firewall, if so hoe to disable it !!
thanks  a lot for help


Re: Re: how to force mysql to use the name of my machine instead of localhost

2017-04-16 Thread Abdelkader Belahcene
*Thanks for reply and links*


*But I am sure, the problem is in mysql.*
*Look at this: *

*my count is lite@lite*
*and hostname  gives *
*lite@lite:/opt/lampp$ hostname*
*lite.umbb.dz *


*bin/mysql*

*ERROR 1045 (28000): Acces s denied for user 'lite'@'localhost' (using
password: YES)*

*Here it tries to connect as 'lite'@'localhost', I am
not  'lite'@'localhost', but lite@lite*
*then  same thing as root, even if use -h option : *

*lite@lite:/opt/lampp$ bin/mysql -u root -h lite*
*ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using
password: YES)*
*I tried  again, using the complete name, it adds localhost*

*lite@lite:/opt/lampp$ bin/mysql -u r...@lite.umbb.dz 
-p*
*Enter password: *
*ERROR 1045 (28000): Access denied for user 'r...@lite.umbb.dz
'@'localhost' (using password: YES)*
*Thanks a lot*


Re: Re: how to force mysql to use the name of my machine instead of localhost

2017-04-11 Thread Abdelkader Belahcene
Thanks for reply;
I give more details.
I install wordpress on my machine, it works fine on local,  I mean i if
write in the browser localhost/wordpress, it 's OK.

I can use myIP/worpress on a remote  machine to connect my server, It seems
working  fine, I get the main page,
BUT, CSS files are not read, I know that by prospecting the code source of
the page.

Wordpress store everything in database,  and so the name of the CSS file
for example, unfortunatly,  the path  used is full address of the file like
localhost/wordpress/blabla/style.css
here is the Big Problem

When the connection is local, no problem, since localhost is the host of
the server;

when the connection is  like :   http://myURL/wordpress,   we SHOULD FIND
the CSS file with  http://myURL/wordpress/blabla/style.css



 To solve the problem

   - either  we remove the absolute path for the files, and keep only  the
   relative part,  instead of storing  localhost/wordpress/blabla/style.css, we
   keep only wordpress/blabla/style.css
   - or we replace the localhost by the name of the machine or IP, that is
   what I want to do, I mean instead of storing in DB, localhost I tore the
   name of my machine like bela.enst.dz, the connetion w'll be done with
   this name and the problem is then solved

I used xampp to install apache, mysql and php. But the problem is the same
when I installed each element alone ( apache2, php, mysql)


when I used the command : localhost -f , I got the correct name
tmp$ hostname -f
bela.enst.dz

thanks a lot for any idea

Regards

bela


Utilisation du nom de la machine et non pas localhost par mysql

2017-04-10 Thread Abdelkader Belahcene
Bonjour tout le monde

J ai un probleme d'installation de mysql,
Il prend toujours le nom localhost bien j'ai donné, un nom a ma machine

hostame  --->  donne   G580
 hostname -f  --> G580.enst.dz

mais la connection dans mysql,   le nom utiliser dans la base et "localhost"

et cela me pose un gros probleme, par exemple quand j'utilise wordpress; a
partir d'une machine distante,  tous les liens vers les pages et articles,
sont precedés de localhost, et le brower localt ne peut pas traduire ce
lien en adresse ou encore les fichiers CSS inclus, ne sont plus alors
trouvés.


Question: comment forcer mysql, a utiliser un autre nom ( en interne du
serveur) autre que localhost.
J ai le meme probleme quand j'installe XAMPP par exemple.

merci de votre aide
bonne journée


how to force mysql to use the name of my machine instead of localhost

2017-04-10 Thread Abdelkader Belahcene
My  machine  has another name than localhost like lite.bela.umbb,
when I install mysql, it always takes the the localhost as the name of the
machine. this yields in a problem for me, when I use for example wordpress
and I want a remote connection.  because the localhost stored in DB is
irrelevant from a remote machine.

The question is : how to force mysql to use the name of my machine instead
of localhost  for mysql server

Thanks a lot
Regards


Re: Re: precompiled parallelfdtd solver for debian

2016-05-21 Thread Abdelkader Belahcene
Thanks to every body
 I know scilab and octave,
but this seems doing some special features.
Anyway I want to use it,
for example to install scilab , you 've just to select from the synaptic,
scilab and that 's it.
I want to do  something like this, I somebody has an experience on this
software.
Thanks a lot again.


precompiled parallelfdtd solver for debian

2016-05-20 Thread Abdelkader Belahcene
Hi,
I want to use the parallelfdtd (parallel  Finite Difference Time Domain
(FDTD) ) solver , I got the source from github.
But the compilation is hard, and haven't succeed.

I want a precompiled for debian (ubuntu).
meep  seems is the compiled version,  but there are many packages meep-lam4
meep-openmpi.

Someone can help me. thanks a lot

best regards


how to ignore checksum in apt-get update

2016-04-19 Thread Abdelkader Belahcene
HI,
I got the entire site from debian and ubuntu ( with apt-mirror) (not
necessary stable),
 sometimes there is a problem of the cheksum,  I want to disable the check
sum,
in apt-get update command.

How to tell apt-get to ignore  the checksum.
thanks a lot


user in jail (vsftpd)

2016-03-12 Thread Abdelkader Belahcene
Hi,
I want to put ftp user in jail ( with vsftpd)
I configured as it is said in the doc, /etc/vsftpd.conf:
chroot_local_user=YES


but when I tried to access it refused completly for the user, here:

Name (localhost:bela2): abdou
Password:
500 OOPS: vsftpd: refusing to run with writable root inside chroot()
Login failed.
421 Service not available, remote server has closed connection


I am using vsftpd 3.0.2-17 on debian jessie

Is there a bug ??
best regards


flah usb on thin client

2015-12-05 Thread Abdelkader Belahcene
Hi,
I have a server running last debian 64bits and thin clients

"HP t620 Flexible Series  Thin Client"

i want to use the usb flash plugged on the client.

How to how to show on the desktop this usb?

Now, I just see the flash plugged on the server.

The thin  client runs an embedded Linux

Thanks for help.


probleme de check somme avec apt-get update

2015-10-11 Thread Abdelkader Belahcene
*Bonjour,J ai cree un site mirror local, il a fonctionne jusqu'a
dernierement.apt-irror m'a permi de recupere toutes les archives de
ftp.fr.debian.org .Ce qui est bizarre  lorsque je
fais  une mise a jour pour ma machine,  il n y a pas d'erreur,quand je
le fais pour une autre machine  j ai une erreur de somme.*


*Voici le detail: *


*je fais une maj  d'une machine   a partir de mon serveur ( a travers ftp:
172.17.11.85 ),  certains repertoires sont correctes, par contre j ai un
probleme sur le repertoire main ( maleureusement le plus important)*



* OK pour  :*
*ftp://172.17.11.85  jessie-backports/non-free
Translation-en *
*ftp://172.17.11.85  jessie-updates/main i386 Packages *
*ftp://172.17.11.85  jessie-updates/contrib i386
Packages *
*ftp://172.17.11.85  jessie-updates/non-free i386
Packages *

* MAIS ERROR pour:*

* W: Impossible to get
ftp://172.17.11.85/ftp.fr.debian.org...-i386/Packages

check sum error *



*pourtant j ai verifie  le  md5sum   du fichier
jessie/main/binary-i386/Packages,  c'est le meme que celui declaré  dans
dists/jessie/release  ???,*


*Y a t il un moyen d'eviter ce checksum*





* dans la commande  apt-get update ??? merci beaucoupsalutations*


error check sum

2015-10-05 Thread Abdelkader Belahcene
Hi,

I install a mirror on my server  172.17.11.85 with apt-mirror

from a machine ( the server itself ), apt-get update works correctly
from another machine (remote machine), I got error on some directory and
not in others , here is the output:

 OK:
Atteint ftp://172.17.11.85 jessie-backports/non-free
Translation-en
Atteint ftp://172.17.11.85 jessie-updates/main i386 Packages
Atteint ftp://172.17.11.85 jessie-updates/contrib i386 Packages
Atteint ftp://172.17.11.85 jessie-updates/non-free i386 Packages

ERROR:

W: Impossible de récupérer
ftp://172.17.11.85/ftp.fr.debian.org/debian/dists/jessie/main/binary-i386/Packages
Somme de contrôle de hachage incohérente

which means :
jessie-backports/main  it is Ok
jessie/main/binary-i386/Packages  :   checksum error ??

I verified  the md5sum  for jessie/main/binary-i386/Packages, it is the
same declared in  dists/jessie/release


so where is there error,

then how to skeep the checksum in the apt-get update command

thanks a lot
regards


Re: Re: how to compile kernel for raspberry

2015-07-05 Thread Abdelkader Belahcene
thanks I understand this,

but I want to compile it on debian i386 machine et use a cross-compilation:

I download   the source of the raspbian  kernel ( I have to find it first),
i want just customise this kernel and not create a new kernel from bare
metal

and then  compile it
So i need the source of raspbian kenel and the  procedure to cross-compile .

thanks for help


Re: Re: how to compile kernel for raspberry

2015-07-05 Thread Abdelkader Belahcene
I mean,  compiling on th raspberry pi takes a long time.

 so , I want to compile it  raspbian  kernel, on debian i386 machine et use
a cross-compilation.
I want to start from raspbian  as a bse , and not from zero, and just to
customize the raspbian.


So i need the source of raspbian kernel and the  procedure to cross-compile
.

regards


how to compile kernel for raspberry

2015-07-03 Thread Abdelkader Belahcene
Hi,
I installed  the rasbian on raspberry, it s ok


Now, in order to customize the kernel,
I want to recompile  the raspbian, please where can I find  help

for the compiling procedure.

thanks a lot
regards


Fwd: add a remote login to the window login

2015-04-05 Thread Abdelkader Belahcene
Hi,
I read in the features of lightdm
Supports remote login (incoming - XDMCP, VNC, outgoing - XDMCP,
pluggable).

But I can't find where to configure it.







*I want to enter from a local machine running  to a remote server using
XDMCP. I did it with without problem from a thin client.
ligh...@lists.freedesktop.org Now I  want to do it from an old PC,  that
I want to use it  as a simple terminal. ligh...@lists.freedesktop.orgIn
the window of the login I have only local accounts on my local machine, I
want to configure the lightdm in order to get in the menu of   the login
window of lightdm  the  remote servers running XDMCP?
ligh...@lists.freedesktop.org*


*on one word : I want to add  a remote XDMCP login to my menu in window
login*


* thanks for help best regards ligh...@lists.freedesktop.org*


Re: Re: customize ligthdm manager

2015-03-21 Thread Abdelkader Belahcene
thanks for reply,
that what I did,   it is ok for local machine,
But i can't see any of remote servers running xdmcp

thanks again


Re: Re: Re: customize ligthdm manager

2015-03-21 Thread Abdelkader Belahcene
hi,


* know Xephyr does the connection,   but in that case you suppose you are
already logged in the client machine.*


*What I want is just to have in login window  the menu, where I can find
remote machine aside the local login.*

*I used it in the past, in very old  login, with kdm or gdm , I want to it
with recent DM;*

*thanks a lot*


customize ligthdm manager

2015-03-20 Thread Abdelkader Belahcene
Hi everybody,



I want to enter from a local machine using  lightdm manager,  to a
remote server
using XDMCP.

I do it with a thin client, I mean on a thin client I have the list of all
servers running XDMCP.
I  want to do the same,  from an old PC that I want to  use as a simple
terminal.

unfortunatly, in the login window I have only local accounts on my local
machine,

is it  possible to customize the login window of lightdm to allow access to a
remote server running XDMCP?
thanks for help
best regards


how to install amd64 instead i386

2014-11-12 Thread Abdelkader Belahcene
Hi everybody,

I install  solydx (debian based ) Amd64.
I have a local mirror ( for amd64)  it works fine on one machine (pure
debian)

On solydx64,
when I tried apt-get update, it worked correctly fine  from  remote
repositoryserver,  but it  searched  for i386 in from local repository .
  here is  my source file  and errors

cat /etc/apt/sources.list
deb http://home.solydxk.com/production solydxk main upstream import
 deb http://debian.solydxk.com/production testing main contrib non-free
 deb http://debian.solydxk.com/security testing/updates main contrib
non-free
deb http://community.solydxk.com/production solydxk main
deb file:/disk/ftp.fr.debian.org/debian jessie main contrib non-free

error:

# apt-get update
Réception de : 1 file: jessie InRelease [191 kB]
Err file: jessie/main i386 Packages
  Fichier non trouvé   ---means  File not found
Err file: jessie/contrib i386 Packages
  Fichier non trouvé
Err file: jessie/non-free i386 Packages
  Fichier non trouvé
W: Impossible de récupérer file:/disk/
ftp.fr.debian.org/debian/dists/jessie/main/binary-i386/Packages
 Fichier non trouvé     means  file not found

YES SURE not found   since I HAVE :

# ls /disk/ftp.fr.debian.org/debian/dists/jessie/main/binary-amd64/
Packages  Packages.gz  Packages.xz  Release

Why it searched for binary-i386/Packages



Thanks for help
best regards


Re: Re: how to install amd64 instead i386

2014-11-12 Thread Abdelkader Belahcene
Thanks for reply,
I created an ftp server, and used  local server, ok, it found the amd,  but
it searched again for  i386. The problem is when I tried to install a
software it didn't search for the amd64,  but for i386 which is not there.

 LANG=C apt-get update
Hit ftp://localhost jessie InRelease
Get:1 ftp://localhost jessie/main amd64 Packages/DiffIndex
Ign ftp://localhost jessie/main amd64 Packages/DiffIndex
Get:2 ftp://localhost jessie/contrib amd64 Packages/DiffIndex
Ign ftp://localhost jessie/contrib amd64 Packages/DiffIndex
Get:3 ftp://localhost jessie/non-free amd64 Packages/DiffIndex

Get:11 ftp://localhost jessie/main amd64 Packages
Get:12 ftp://localhost jessie/contrib amd64 Packages

Err ftp://localhost jessie/main i386 Packages
  Unable to fetch file, server said 'Failed to open file.  ' [IP: ::1 21]
Get:24 ftp://localhost jessie/contrib i386 Packages
Err ftp://localhost jessie/contrib i386 Packages
  Unable to fetch file, server said 'Failed to open file.  ' [IP: ::1 21]

W: Failed to fetch
ftp://localhost/ftp.fr.debian.org/debian/dists/jessie/contrib/binary-i386/Packages
Unable to fetch file, server said 'Failed to open file.  ' [IP: ::1 21]


best regard


choose the date for the Release

2014-10-22 Thread Abdelkader Belahcene
Hi,
I used apt-get mirror  to create a local mirror  ( for testing ),   it runs
fine,
but I have a valid-date problem.

I want to use my  mirror for more long time,
for example the release contains the lines

Date: Tue, 07 Oct 2014 02:49:54 UTC
Valid-Until: Tue, 14 Oct 2014 02:49:54 UTC

and then I can't update the system  after Tue, 14 Oct 2014

to do it I change the date of my computer, while I am upadeting,
but it is not  a good solution.

My question:  how to change the validity date,  in the apt-mirror ??

thanks for help
best regards


cleaning after apt-mirror

2014-10-07 Thread Abdelkader Belahcene
Hi,
I created a local mirror for testing distro using apt-mirror.
the /var/clean.sh
The problem is when I ran it again, the old packages are still there,
the /var/clean.sh didn't clean the old version !!!???

so I wrote a script to clean it,  I attach my script.

I am not satisfied by my script.   I sorted the package in descending order
and kept the first and deleted  others.   this seemed correct,
unfortunately
some  packages are not in the good order when the word beta is used, so it
dropped the good and kept the bad.
especially when there is something like +b1_i386.deb
in
audacious-plugins_3.4.3-2+b1_i386.deb.

When there is no special  character like + and extra b1, no problem, just
with that  name, which is  I think ,   a temporary name.

please if anyone has a better script or idea, here are my script, I sort
with python3, cause shell didn't do the task well ??  the second with awk/

## sort.py   sort file in decrease  order
### filename  is read from the keyboard

aa=input(Give the filename to sort  : )
ff=aa.split()
for j in ff:
print (j)

for j in ff:
o=open(j, r);
a=o.readlines()
b=sorted(a, reverse=True)
out=j+T
f=open(out, w);
for i in b:
f.write(i)
f.close()
o.close()


#!/usr/bin/gawk -f
###   this script  keps just the first
###and deletes the others
#  when the first field is the same
###the name  ends  by the _
BEGIN  {
FS=_
t1=z
### we initialise the t1 to arbitary word not in the packages
### the file is suposed sorted in decreasing order
#  see the script  sort.py

}
{
if ( $1 == t1) {
print  I delete the file   $0
 system(rm   $0)
}
t1=$1
}

any idea is welcome, thank a lot
best regards


Re: Re: cleaning after apt-mirror

2014-10-07 Thread Abdelkader Belahcene
thanks for reply,
but the problem is

2) Have a version number less than the version in the Packages file.

look at these packages:

main/m/mutter/gir1.2-mutter-3.0_3.12.2-2_i386.deb
main/m/mutter/gir1.2-mutter-3.0_3.12.2-2+b1_i386.deb

the sort gives gir1.2-mutter-3.0_3.12.2-2_i386.deb more recent,

but in fact
gir1.2-mutter-3.0_3.12.2-2+b1_i386.deb  is more recent
regards


old PC's as thin client

2014-09-19 Thread Abdelkader Belahcene
Hi,

why there is no login window in the panel controlin last distro (
for exampel linuxMinut : since mint 13 ) ??? .

with mint13, I solved my problem, but not with others, here is my Pb:
I want to use old PC's as thin client, to connect to remote machine
running XDMCP.


the XDMCP is activate on the servers,  so any one can acceed  from any
remote machine running linux (for example debian),   right?.

To check the xdmcp server  Xephyr -query localhost :1  gives the
window connection, which means that the XDMCP server runs crorrectly.

Now I am on another machine, which must be  used as a client  to login
in the server   provided that this client has an window login where
you  find  the list of  servers  to choose one of them.
On the old mint version ( like 13) we have in the login window
preferences a tab called  remote  where you can  add to the login
window   a remote connexion to get the list of the remote servers
XDMCP.

question:  how to add  a login window to the panel control ??


thanks for any help
Best regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAF3f0sQE=zSydRvL61tAyOUHO_gFjtd+hBGCr2fdtzwqkM=d...@mail.gmail.com



Re: old PC's as thin client

2014-09-19 Thread Abdelkader Belahcene
thanks,

but I want to login to the remote machine directly,  without login in
the local machine,  I want to use the local machine just as a thin
client.

thanks a lot

On 9/19/14, Joel Roth jo...@pobox.com wrote:
 On Fri, Sep 19, 2014 at 09:29:01AM +0100, Abdelkader Belahcene wrote:
 Hi,

 why there is no login window in the panel controlin last distro (
 for exampel linuxMinut : since mint 13 ) ??? .

 with mint13, I solved my problem, but not with others, here is my Pb:
 I want to use old PC's as thin client, to connect to remote machine
 running XDMCP.


 the XDMCP is activate on the servers,  so any one can acceed  from any
 remote machine running linux (for example debian),   right?.

 To check the xdmcp server  Xephyr -query localhost :1  gives the
 window connection, which means that the XDMCP server runs crorrectly.

 Now I am on another machine, which must be  used as a client  to login
 in the server   provided that this client has an window login where
 you  find  the list of  servers  to choose one of them.
 On the old mint version ( like 13) we have in the login window
 preferences a tab called  remote  where you can  add to the login
 window   a remote connexion to get the list of the remote servers
 XDMCP.

 question:  how to add  a login window to the panel control ??


 thanks for any help

 Hi Abdelkader,

 If an alternative to XDCMP may be considered, you could use
 ssh for a remote X session:

 ssh -X user@remote-server

 Regards,

 Joel



 Best regards


 --
 To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 https://lists.debian.org/CAF3f0sQE=zSydRvL61tAyOUHO_gFjtd+hBGCr2fdtzwqkM=d...@mail.gmail.com


 --
 Joel Roth





-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAF3f0sTYGiR_cu5MeZ7RekYCDVtKAxqatKBFR7cgn88y=pw...@mail.gmail.com



Re: regenerate InRelease file (Solved)

2014-09-09 Thread Abdelkader Belahcene
On 9/8/14, Abdelkader Belahcene abelahc...@gmail.com wrote:
 Hi all,
 I used apt-mirror  to create my  own local  mirror?  that 's fine.

 The problem now the date in  Inrelease  is expired,  and I can't use
 it , until I changed the date,

 I did it directly in the file !!!  unfortunately  the signature is not
 valid,  so I want to regenerate the release for my local mirror,   I
 don't want new  packages,  JUST to regenerate the file Inrelease with
 correct date.
 something with gpg program  I suppose???
  Please someone can send me the command.
 Thanks a lot
 regards
 abd_bela



OK I solved the problem ,
it can help someone: ( may be there is a better way)
 like this:
1.  I generate my own key ( gpg --gen-key)
2. I create  new Release  file with apt-ftparchive  --md5 --sha256
release .   Release
 in dists  directory
3.  gpg --armor --output  Release.gpg --detach-sign Release
4. gpg --clearsign --output  InRelease Release
5. apt-key add  myKey

So I use my new key to control the signature instead of the debian key
that 's it

Best regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caf3f0srtzx1z_kf-qz3horpmzssocqc5nmnei0ac-madnjh...@mail.gmail.com



regenerate InRelease file

2014-09-08 Thread Abdelkader Belahcene
Hi all,
I used apt-mirror  to create my  own local  mirror?  that 's fine.

The problem now the date in  Inrelease  is expired,  and I can't use
it , until I changed the date,

I did it directly in the file !!!  unfortunately  the signature is not
valid,  so I want to regenerate the release for my local mirror,   I
don't want new  packages,  JUST to regenerate the file Inrelease with
correct date.
something with gpg program  I suppose???
 Please someone can send me the command.
Thanks a lot
regards
abd_bela


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/caf3f0stkfmqkvwr2yies_0r2hdkygveaozyljfbrwq_pk7t...@mail.gmail.com



Re: is there a risk to program in java since sun is bought by oracle

2014-04-10 Thread abdelkader belahcene
Sorry, may be my question is not clear,

I mean :  what will be happen if oracle decides to close the software ???

same reason for what  libreoffice ( instead of openoffice ) and Mariadb (
instead of mysql) are  created !!!
am I wrong??


is it not same pb?

best regards





On Thu, Apr 10, 2014 at 10:44 AM, Gian Uberto Lauri sa...@eng.it wrote:

 shawn wilson writes:

   The problems with java come from allowing untrusted compiled code to
   run natively on your machine (WebStart).

 I think that this problem arises with EVERY and EACH programming
 language.

 You trust Debian software packages because you trust Debian, not because
 of the programming language they are written in.

   Web services, databases,

 A web  service running in  a language  that is vulnerable  to exploits
 leveraging  malfunction of  the code  handling the  service (i.e.  not
 runnning in a virtual machine like JVM or CLR) are dangerous indeed.

 Database access done in a sloppy way may be dangerous.

   Android apps, etc don't have this issue.

 For  Android is  false, there  are  known episodes  of malicious  apps
 slipping in the app markets.

   (and I like scripting languages better anyway).

 And maybe you use eval() type functions. A door that must be carefully
 secured aganst potentially hostile code.

 You say taht you don't like  Java culture, and this is the only thing
 that holds, since what you like or dislike are something you and only
 you can and is entitled to choose.

 As for myself, Java has something I like and other things I don't.

 As for any language.

 --
  /\   ___Ubuntu: ancient
 /___/\_|_|\_|__|___Gian Uberto Lauri_   African word
   //--\| | \|  |   Integralista GNUslamicomeaning I can
 \/ coltivatore diretto di software   not install
  già sistemista a tempo (altrui) perso...Debian

 Warning: gnome-config-daemon considered more dangerous than GOTO



is there a risk to program in java since sun is bought by oracle

2014-04-09 Thread abdelkader belahcene
is there a risk to program in java since sun is bought by oracle ?


how to login without passwd from remote thin client

2013-05-29 Thread abdelkader belahcene
good morning,

I disactivate the password,
 ( I remove x from /etc/passwd  like  geopp13::1038:1039 and
geopp13::15833:0:9:7:::  in /etc/shadow)

 in order to log in without typing a password.

from the terminal  connected directly to the computer, it works fine,
 but  from a thin client ( via XDMCP)   it continues to ask for the password.

Is it possible to fix the problem.

I want a connection directly from thin client by typing just the login.

thaks for help
regards


-- 
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/CAF3f0sRL7_PHsEEKYn40_ZoOSG3n9o-0=0w9z6vebj+zvvz...@mail.gmail.com



Re: where is the samba script?

2013-05-18 Thread abdelkader belahcene
Thanks for reply,
there is nowhere a starting script for samba, instead a link in
/etc/init.d/   smbd-/lib/init/upstart-job
nmbd-/lib/init/upstart-job


so the commandupdate-rc smb  disable  failed

I want to know  where all this  started.
best regards


How to force an application to use only ipv4?

2013-05-18 Thread abdelkader belahcene
Hi,
I have a problem connection from thin clients (old machines) to server
using xdmcp ( connection thru X using  port 6000 and 6001),
with previous debian 6.0.7, mint 13,   I had problem,
with recent distro mint 14 or 15 , debian 7, I have  connection pb
I suspect a conflit ???   between ipv6 and ipv6 ?  may be my old machines
don't understand this protocol ?

I want to test mint15 with just ipv4, I want to force ipv4  on the mdm
manager ( gnome-like)  where to do it ??
here is the output for open port

netstat  -nau |grep 177
udp6   0  0 :::177  :::*
netstat  -nat |grep 6000
tcp0  0 0.0.0.0:60000.0.0.0:*
LISTEN
tcp6   0  0 :::6000 :::*LISTEN

no port open on ipv4 udp ??
thanks for help


where is the samba script?

2013-05-16 Thread abdelkader belahcene
*Hi,
I want to remove the samba server,  I can't find  the running script
here is output of commands:

# ls /etc/rc2.d

K20speech-dispatcher  S19cpufrequtils  S30mdm S75sudo
K23ntpS20hddtemp   S50pulseaudio  S99acpi-support
K99ondemand   S20kerneloopsS50rsync   S99grub-common
READMES20vsftpdS70dns-clean   S99rc.local
S05loadcpufreqS30lightdm   S70pppd-dns

ps aux | grep mb
root   970  0.0  0.1  21424  3848 ?Ss   May14   0:00 smbd -F
root   993  0.0  0.0  21528  1356 ?SMay14   0:00 smbd -F
root  2067  0.0  0.1  13360  2152 ?Ss   May14   0:33 nmbd -D

the smbd and nmbd  are  running, where are the starting script, by default
the init level is 2 ( so there should be in rc2.d)

thanks for help
regards
*
*
*
*
*


which distro to use

2013-04-15 Thread abdelkader belahcene
Hi,

I have an IBM server U320, an old  centos (year 2008) is now running on it.
I want to update or more exaclty to install debian,
unfortunately  the disk is not recognized by debian amd64.   scsi U320 ( on
the disk
it is written Only use on eserver 320)
Is there a distro which can find the disk.

In the list proposed by the debian installer, no name of this type, may be
the name is different.
he disk is Old  (78 GB  2004)
.
thanks for help


probleme de Connexion de client leger avec le serveur

2013-04-08 Thread abdelkader belahcene
Bonjour,

J ai installe la squeeze stable 6.0.7 64 bits sur un serveur,
la connexion a travers le xdmcp fonctionne bien sans probleme.
Malheureusement certains logiciels sont anciens ( par exemple gnuplot ,
lyx, ...), j'ai donc fait
la mise a jour avec le depot wheezy et la il y a probleme.
La fenetre de login sur client leger apparait puis disparait toute de suite
apres, avec erreur sur client leger
pour les entrees je crois qu'il y a incompatibilite avec le xfree86 et les
clavier /souris ??!!

Pourtant c'est le xorg qui est utilise dans la squeeze aussi.


Bien j ai decide alors d'installer la linuxMint LMDE de mars

Presque meme probleme, pourquoi presque, car la fenetre de login ici je la
recois, mais des que je touche le clavier et parfois aussi la souris et
vlan, la fenetre disparait.
Dans le fichier de log sur le serveur :
 Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols
 Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

Ce n'est pas tout: a partir d'un PC normal le connexion s'etablit sans
probleme !!! Les clients legers sont un peu ancien : neoware 2007.

Pourtant la version ancienne de linuxmint ( de juin 2012 ) ne pose pas de
probleme.

Est ce qu'il y a un bug dans les dernieres versions de xorg ??

encore une chose:   le message sur client leger est : ne trouve pas
/dev/mouse1 ?

quelqu'un a une idee ??

merci pour votre aide.
bonne journee


connexion problem to thin client

2013-04-03 Thread abdelkader belahcene
Hello,

I ve installed the stable squeeze 6.0.7 64-bit on a server,
connection through the xdmcp works well without problem thin  client.
Unfortunately some old software (eg gnuplot, lyx, ...), so I did
the update with wheezy depot and there problem.
The login window appears on thin client then disappears right away
after with error on thin client
I think there is  incompatibility with xfree86 and keyboard / mouse?!
This is my first idea.

But   xorg is already  used in the squeeze too.


After that  I decided to install linuxmint LMDE last release March2013

Almost same problem, why almost because the login window I receive it
here, but when I touch the keyboard or  the mouse  the window
disappears.

In the log file on the server:
 Warning: Type ONE_LEVEL has 1 levels, aim RALT has 2 symbols
 Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server

That's not all:
from a normal PC establishes the connection without problem! The Thin
Client is a little old: Neoware 2007.


The  older version of linuxmint (June 2012) runs correctly ??!!

Is there a bug in the latest version of xorg?   xkbcomp is the package
: x11-xkb-utils

someone has an idea?

thank you for your help.
good day


-- 
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/caf3f0ssqhqymrkjfefu2duovc1m-mgqm_bueo-59bkb6kkk...@mail.gmail.com



cinnamon problem

2012-12-22 Thread abdelkader belahcene
Hi,
I used for a while mint13  with cinnamon desktop, i got big problem,
it often freezes, and the screen stays like this until I reboot the
machine!!!
So I decided to instyall mate, et use it at it place,  then the problem
disapeared???
I used it on I giga memory machine so no memory problem i think.
May be so daemon is started as root and consumes  all  the resources from
time to time ???

any idea
thanks a lot

regards
bela


Re: Re: php5 not running

2012-10-25 Thread abdelkader belahcene
Thanks for help

The link enabled to available exists,  The second  is required just for
user directory ( I have same problem even if I put the file in /var/www )
, any way the lines are commented.

I installed  phpmyadmin   it works fine,  so the php runs correctly,  so I
need probably to modify  somewhere a config file.

I suspect that something is new, because I used ( 2 or 3  of years ago)
it exactly in the same way.

thanks a lot


php5 not running

2012-10-24 Thread abdelkader belahcene
hi,
I just install php5  and the list of software apache2, mysql ( the LAMP). (
last version on wheezy )

apache2 run nice , same for mysql,  but wwhen I try  a simple file
containning for example phpinfo(),  it is not executed.

the module php for apache is enabled. I tryed the files I ve done before
but failed !!

Is there a special  new config ?? for apache2 or for php ??

thanks for help
regards


multiboot on usb?

2012-10-03 Thread abdelkader belahcene
Hi,
I want to check different distros ( instead of using  several pens), so

I want to create on an usb pen  a mutli boot system.
I used  unetbootin, it works fine but  for only one system   at time.
on Windows there are some tools like YUMI, i tried it not working
correctly,
then I want one working on linux system.

Any idea please
thanks a lot
regards


proprieties of termios are not saved!!

2012-08-03 Thread abdelkader belahcene
Hi,

I wrote a program which have to change proprieties
for the serial port  via the termios commands, but it not saved.
When I ran the program it gave the old values then after changes
gave the new, that seems correct,   but when  i ran again i got
same value,  Normally I had to get the last value,  i.e :  the new value
of the previous running 
here is the program   and the 2 execution


#include stdio.h
#include unistd.h
#include fcntl.h
#include stdlib.h
#include sys/io.h
#include termios.h
int main(){
  int fd=0;
  fd = open(/dev/ttyS0, O_RDWR | O_NOCTTY | O_NDELAY);
  if (fd  0) {  printf(open error );  exit(-1); }
  struct termios my_termios;
  tcgetattr(fd, my_termios);
  printf(old cflag=%08x\n, my_termios.c_cflag);
  cfsetospeed(my_termios, B9600);
  printf(old cflag=%08x\n, my_termios.c_cflag);
  exit(0);
}

Compteur# ./oo
Old cflag=1cb2
New cflag=0cbd
Compteur#
Compteur# ./oo
Old cflag=1cb2 // value here should be 0cbd
New cflag=0cbd

thanks for help
regards


Re: Re: serial connexion between 2 machines failed

2012-07-29 Thread abdelkader belahcene
Thanks a lot for the hint,

the difference is there :

on the machine where the programs ran  i got the ouput:
 # dmesg |grep ttyS
[0.331367] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[0.640601] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[0.720856] 00:0d: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[0.752633] 00:0e: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[0.784232] :00:03.3: ttyS4 at I/O 0x1c90 (irq = 17) is a 16550A

While  on the machine where they didn't ,
nothing is displayed  , I mean
# dmesg |grep ttyS
#

So  How to activate the ports !!!   thanks a lot
regards
bela


serial connexion between 2 machines failed

2012-07-24 Thread abdelkader belahcene
Hi,
I wrote 2 programs in C  to read from  a serial port and to write in.

When I used  one machine,  nullmodem ( output and input) the program ran
correcly,  I wrote caracteres then I read them from the same port. ttyS0
for example.

they ran correctly   when I used a machine with 2 serial ports ttyS0 and
ttyS1,  so I send  from one port to another.

When I tried  the same programs   from one machine using   a crossed  cable
( This is what I have to done  the output of one machine is an input for
the other),  it failed  I have to wait very long time, may be for ever 

I remember  I didn't once or twice yesterday,  but after that no connection.
Is there a special configuration, activation  or else ???

(on both machines I am using linuxMint, is there  any relation  with the
distro ??)

thanks a lot

regards bela


write to then read from the serial port

2012-07-16 Thread abdelkader belahcene
Hi,
Please I just need a small program which write a character ( or
several) then read it from that serial port.
I used a null modem ( since I have just on serial port device).

I want a simple serial connection. I consulted Howto on tdlp and other
, nothing is simple for me, ??  I can write on the port but not read
!!


Thanks a lot
regards


-- 
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/caf3f0ssqf+o10wvgk4zttq_8393ppzucjb0u1zfv7gs9u_7...@mail.gmail.com



how to avoid Setting up ca-certificates-java

2012-06-13 Thread abdelkader belahcene
Hi,
each time I install or remove any Package,  the following setting is
executed, how to avoid it

Setting up ca-certificates-java (20100412) ...
creating /etc/ssl/certs/java/cacerts...
  removed untrusted certificate
mozilla/ABAecom_=sub.__Am._Bankers_Assn.=_Root_CA.crt
.


thanks for help


destination port changes every time

2012-05-10 Thread abdelkader belahcene
*Hi,
I wrote a client/server  programs,   the server listen on port 5000   and
of course the client connected on that port , I check the communication via
the sniffex.c program from pcap (adapting something) ,   I noticed that
destination port ( used by the client)  is not always the same and
completely different from the source port.
Here is an output example:

Device: loFilter expression: ip
Packet number 1:
   From: 127.0.0.1
 To: 127.0.0.1
   Protocol: TCP   The client send a request
   Src port: 49611  The port is randomly choosed  by
the client ??
   Dst port: 5000

Packet number 2:
   From: 127.0.0.1
 To: 127.0.0.1
   Protocol: TCP--- The answer from the server
   Src port: 5000
   Dst port: 49611

When I stopped the client and ran it again I  got another Src port from the
client
The question is : why the port opened by the client is not the same, and
takes one randomly ??

thanks for help








 *


networking thru C language

2012-05-02 Thread abdelkader belahcene
 Hi,
I am new to  networking  via C language I want to implemente   a command of
nmap
this one ( or another , any one just to see how it works)


nmap -O -v scanme.nmap.org

thanks a lot
best regards


how to retrieve info from a bad disk?

2012-04-21 Thread abdelkader belahcene
hi,
I have a disk ( I tera Bytes  it contains important data!!!)  formatted
with nfts,
somebody used it in wind$   a virus  seems destroy something in partition
table  ???

Now no access is possible, although the partition is recognized as
/dev/sdb1  with correct sie, but no possibility to
retive files.
I tried   ntfs-3g/dev/sdb1  t gave   segmentaion fault
I tried  testdiskit   analysed the disk and gathered the data,   I
tried to list the files ,it gave same error as ntfs-3g, I mean
segmentation fault??


Is there  another rescue software ??
thanks for help

regards


Re: Network or dhclient troubles on wheezy

2012-04-21 Thread abdelkader belahcene
Hi,
are you using network-manager, in this case the serveur automatically retry
the connexion, and of course if the dhcp doesn't reply in time, you
haven't  address, which explains yournetwork unreachable.

I thin the probleme is in your provider  or  physical connexion.
regards


Re: Re: how to retrieve info from a bad disk?

2012-04-21 Thread abdelkader belahcene
Hi,
I check ntfs-3g  ( tool on linux  to manage ntfs file system) to fix the
error.

ntfsfix  /dev/sdc1 gives  the output: mft corrupted ... is there a
chance to recover  something ???



Mounting volume... MFT is corrupt, cannot read its unmapped extent record
280867
Note : chkdsk cannot fix this, try ntfsfix
Inode is corrupt (0): Input/output error
Failed to load runlist for $MFT/$DATA.
highest_vcn = 0x3, last_vcn - 1 = 0x1a53f
Failed to load $MFT: Input/output error
FAILED
Attempting to correct errors... MFT is corrupt, cannot read its unmapped
extent record 280867
Note : chkdsk cannot fix this, try ntfsfix
Inode is corrupt (0): Input/output error
Failed to load runlist for $MFT/$DATA.
highest_vcn = 0x3, last_vcn - 1 = 0x1a53f
Failed to load $MFT: Input/output error
FAILED
Failed to startup volume: Input/output error
Checking for self-located MFT segment... ntfs_mst_post_read_fixup_warn:
magic: 0xc0468167  size: 1024   usa_ofs: 43309  usa_count:
58159: Invalid argument
OK
MFT is corrupt, cannot read its unmapped extent record 280867
Note : chkdsk cannot fix this, try ntfsfix
Inode is corrupt (0): Input/output error
Failed to load runlist for $MFT/$DATA.
highest_vcn = 0x3, last_vcn - 1 = 0x1a53f
Failed to load $MFT: Input/output error



thanks a lot
regards
bela


octave versus scilab

2012-04-01 Thread abdelkader belahcene
hi,
I want to choose between octave and scilab, somebody can give us an
overview
about advantages and disadvantages for each.
Now I am using  scilab 5.3  and I have a problem ( with graphic interface)
because it uses java and opengl for the interface.  the devloppers said
that the pb will be fixed in next version??!!!


I want to switch to octave, before i want to be sure that is the good
decision!!

thanks for help
regards


customizing the menu bar

2012-03-11 Thread abdelkader belahcene
hi,
i tried  the testing version wheezy, which runs gnome3.
i want to customize the menu bar   by adding a button ( the arrow on left
or right on gnome2) to hide or show the bar.

often i want to use entire screen,  the bar disturb me.

please where can i do it?  the right click on the bar is disabled.??

thanks for help
regards


wheezy without gui

2012-02-28 Thread abdelkader belahcene
hi,
I tryed the testing cd (20 feb).
The installation is done but no graphical interface no gnome, no gdm etc...

I hope that for the final release, we  get the GUI (gnome ) in the first cd.

thanks for help
best regards
bela


how to dupplicate exactly an usb pen

2012-01-27 Thread abdelkader belahcene
Hi,

I have a bootable usb  containing  on livemint distro, created by unetbootin
I want to dupplicate this pen, in another pen with enough space.
I used
 dd if=/dev/sdc  of=/dev/sdb bs=1M conv=noerror

the new is not bootable,  I tried install-mbr , it failed too.
any idea please, or may be use another   tool
thanks


I want to build an NAS,

2012-01-16 Thread abdelkader belahcene
HI,
I want to build an NAS,   I know there is a specialist  distro ( freeNAS)
unfortunately it is based on bsd,
I find it somewhat difficult I prefere debian.

So I am  looking aa easy doc to build it on debian.

thanks for help
regards


customizing mintconstructor

2012-01-01 Thread abdelkader belahcene
*Hi,
I used  mintconstructor
I created an iso for cd on live mint12, it seems running correctly, but it
took  a very long time , cause is  probably the mksquashfs
it freezes  a 12 %,  I don't know why.
Is it possible to ovoid the mksquashfs,  I haven't a space pb since I put
the iso in usb key

PS: I did once with smaller image

thanks for any idea
regards*


adapted uck to debian

2011-12-23 Thread abdelkader belahcene
Hi,
I want to customize the iso live mint based on debian
I tried  remastersys,  then simple-cdd,  I found  both complicated
failed to generate the expected  iso.

But  the uck ( ubuntu customize kit)  is very simple to use,

unfortunately it is done just for ubuntu,  I want if it exits something
like it.
I tried to modified it, Il try it again,
for the moment it is not done.
so if somebody have done it ?

thanks for help
regards


a short cut on desktop on gnome3

2011-12-02 Thread abdelkader belahcene
*Hi,
I am trying to be familiar with gnome 3,
So I installing from debian testing the gnome 3,
It seems good, but sometimes I am lost, for example, I want to put a file
on the Desktop, like drag it from the usb to the screen!! as usual, it
didn't work !!!

another case I used to add button on the bar just by clicking on the topbar
menu to add it, the right click is not working ??!!

How to enable it?? is it possible??
thanks for help*


which one: xfig, dia or inkscape

2011-09-20 Thread abdelkader belahcene
Hi
every body,
until now, I used  xfig to draw   my figures and graphs,  but I am not
satisfied, specially when I want to no latin caracters or formula (like in
latex)
I tried inkscape it seems better ??? what about  dia ??

I want  to a good choice.
any idea
thanks a lot


Re: Re: howto boot from the second disk in raid 1

2011-08-24 Thread abdelkader belahcene
*Thanks for all,

I did correctly grub-install /dev/sda  and grub-install /dev/sdb ,   no
error reported.
Some friend said , there is a bug in   grub2 of debian6 ?? may be,
 I checked grub from  ubuntu, I got a problem too.

there is something strange;  may be it helps,
 when I ran   sfdisk -l, the second disk /dev/sdb
had no identifier number (juste 0x0) while /dev/sda had one.

may be something bad was done by mdadm ?

thanks a lot
regards
bela*


Re: Re: howto boot from the second disk in raid 1

2011-08-24 Thread abdelkader belahcene
*hi again,

I can boot from the disk 2, if disk 1  is remove logically ( by command
mdadm --manage /dev/md0 --remove /dev/sda1)*
*
If I remove the disk ( physically from the machine), it doen't work.

here the output of mdstat ,  we see that we have just /dev/sdb  it is
working,  but the disk one is physically attached.** and without removing
physically  the disk from the machine.*
cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb2[1]
  58617784 blocks super 1.2 [2/1] [_U]

md0 : active raid1 sdb1[1]
  19529656 blocks super 1.2 [2/1] [_U]

unused devices: none

*
In the BIOS setup the disk 2 is always declared slave ( may be it simulate
and IDE conf). BIOS problem??

any idea

thanks a lot
best regards
bela*


howto boot from the second disk in raid 1

2011-08-23 Thread abdelkader belahcene
*hi,
I installed squeeze  on 2 disks sata  using  raid 1.

the system runs fine with both disks,  it runs fine with the first disk
alone,


but it fails to  reboot from the second disk alone.
although  i installed  grub in both disks

when i used the second disk alone,  it is detected as slave  no master
disk detected!!!,
so the system reboot without stopping

is there a possibility to declare the disk as master???

thanks for help
 *


Am I obliged to compile the kernel to compile a module?

2011-08-20 Thread abdelkader belahcene
Hi,
I write  a module.c  and want to add to the kernel.

I downloaded the corresponding source ( linux-3.0.tar.bz2), and put it in
in /usr/src/linux-3.0
in the makefile for my modle I tried

 make -C   /usr/src/linux-3.0 M=$(PWD) modules

It failed , it looked for  something like /lib/modules/3.0/build

 How to create this directory (build) ?

Am I obliged to compile the kernel ?

thanks for help


Re: Re: Am I obliged to compile the kernel to compile a module?

2011-08-20 Thread abdelkader belahcene
*Sorry I did not notice
The compilation of the module
needs header or compiled object?
any idea please
Thanks*


Re: Re: Re: Am I obliged to compile the kernel to compile a module?

2011-08-20 Thread abdelkader belahcene
*Hi,
Solved.
Just need to install linux-headers.

thanks
*


How to add a driver to kernel

2011-08-19 Thread abdelkader belahcene
Hi every body
I got a driver for networking   ( the c code) i want to add it to the kernel
before compiling the kernel.

How to do it.
Is it enough to put the code in the directory  src/linux-2.6.39/drivers/net
and run the compilation procedure.

Or I have to declare somewhere the name, in order that menuconfig can find
it??

thanks for help


Doc for configuration RAID

2011-08-11 Thread abdelkader belahcene
HI,
*I want to add to my working system, disks using RAID.
I found doc for Fedora ,  the packages used are not the same in debian
 ( it seems to me, for example on fedora  there are commands like  mkraid
and raidstart
  I didn't find them in debaian package : I installed mdadm dmraid   ),

please somebody tells me where to find an easy doc to configure the raid for
debian.
thnks a lot.
regards
*


how to change root passwd (if forgotten)

2011-08-10 Thread abdelkader belahcene
*Hi,
I ve forgotten my root passwd on centos 6 (red hat based),

I tried to change it as I used in debian (in debian it works perfectly) ,
that is:

use a cd live (or installation cd1), to access the hd,
I mount  my root partition and mount proc and devices

I tried  the command passwd, no error reprorted, but after reboot the passwd
had´t changed.
then I decided to remove passwd from /etc/shadow (delete the
second field).

OK,  now I can access my machine  without passwd,  BUT I CAN´T GIVE ANY
PASSWORD  I RECEIVE THIS ERROR

# passwd*
*Changing password for user root.
New password:
Retype new password:
passwd: Authentication token manipulation error

any idea to fix the problem.
thanks a lot *


Re: how to change root passwd (if forgotten)

2011-08-10 Thread abdelkader belahcene
On 8/10/11, Lucas Lima lcs.freirel...@gmail.com wrote:
 the passwords are stored in /etc/shadow and you deleted the file, you should
 restore it.
I just removed the second field , the password for th root. no more things

restore  it ??  how??


starting with  level 1, (single ) is not a solution,  the password is required.

regards




 And to set a new root password read more, its quite easy

 2011/8/10 abdelkader belahcene abelahc...@gmail.com

 *Hi,
 I ve forgotten my root passwd on centos 6 (red hat based),

 I tried to change it as I used in debian (in debian it works perfectly) ,
 that is:

 use a cd live (or installation cd1), to access the hd,
 I mount  my root partition and mount proc and devices

 I tried  the command passwd, no error reprorted, but after reboot the
 passwd had´t changed.
 then I decided to remove passwd from /etc/shadow (delete the
 second field).

 OK,  now I can access my machine  without passwd,  BUT I CAN´T GIVE ANY
 PASSWORD  I RECEIVE THIS ERROR

 # passwd*
 *Changing password for user root.
 New password:
 Retype new password:
 passwd: Authentication token manipulation error

 any idea to fix the problem.
 thanks a lot *




--
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/caf3f0sq9v-jesslulzxqz-yrukv7uktrcy-oy15y7xzd+g0...@mail.gmail.com



pludev for user is disabled, but he continues to mount the flash

2011-08-09 Thread abdelkader belahcene
*Hi,
I am working on stable version (squeeze).
I disabled the permission to use plugdev for the user hyproc,  but I notice
that he can use it. same thing for sound and video

I was worked in previous version ( I think i have done it on lenny!!!)

May be I have to do something else.

thanks for help

Here is a part of my /etc/group
hyproc  user is not in groups : audio, video, plugin !!!

*
*adm:x:4:*
*dialout:x:20:hyproc*
*fax:x:21:*
*voice:x:22:*
*cdrom:x:24:debian6,hyproc*
*audio:x:29:debian6*
*dip:x:30:debian6,hyproc*
*www-data:x:33:*
*video:x:44:debian6*
*plugdev:x:46:debian6*
*debian6:x:1000:*
*hyproc:x:1001:*
*
*


Re: Re: pludev for user is disabled, but he continues to mount theflash

2011-08-09 Thread abdelkader belahcene
I did  it   several times, but same problem!!!
thanks for help


Re: Re: Kernel messages during startup

2011-08-09 Thread abdelkader belahcene
*Hi,
by the way  how to  stop/start the  Kernel messages during startup,
to have enough  time to read on the fly,  what it is doing

thanks
*


how to add sound at login

2011-07-27 Thread abdelkader belahcene
*HI,
I want a sound when I log on my debian as it is done in ubuntu or other
distro.
like the file desktop-login.ogg   in /usr/share/sounds/ubuntu

or linuxmint-login.wavde Linux mint
thanks for help
*


Re: Re: installing debian from USB... IS IT POSSIBLE?

2011-07-27 Thread abdelkader belahcene
Hi,
I haven't checked it   but I may  be installed on USB.

I installed   ubuntu and other  live distro  from usb , by using unetbootin.

So if you use inetbootin to install   the iso ( regular CD1 iso)  to usb,
then reboot from the usb   and   you can install   on hard disk thru this
usb. We must to check it.

I have installed  debian and other ubuntu  on usb hard disk, (extern HD),
and I can reboot fron the usd HD,   even the PC doesn't contain any linux
system.
 It  is a good idea  to have a system on an extern  HD,  you canrun
linux on machine running just window$  for example, by booting from your HD.

best regards
abd bela.


Re: Re: how to add sound at login

2011-07-27 Thread abdelkader belahcene
thanks for answer

I am using gnome, the same window manager as in linux mint or ubuntu.
I want to know which script calls the sound at the login ( I mean the login
as user to WM,   why do you speak about grub ??!!), to do same with
debian.

thanks for help


Re: how to add sound at login

2011-07-27 Thread abdelkader belahcene
*Hi,
I checked  the following  command , it failed

/usr/bin/canberra-gtk-play  -f  /usr/share/sounds/alsa/desktop-login.ogg

(process:2985): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Failed to play sound: Sound disabled

I am sur the sound is enabled, since I can hear sounds  and can hear this
file with vlc for example, with any other palyer  but canberrra-gtk-play ??

thanks for help*


On Wed, Jul 27, 2011 at 1:25 PM, abdelkader belahcene
abelahc...@gmail.comwrote:

 *HI,
 I want a sound when I log on my debian as it is done in ubuntu or other
 distro.
 like the file desktop-login.ogg   in /usr/share/sounds/ubuntu

 or linuxmint-login.wavde Linux mint
 thanks for help
 *



Re: how to add sound at login

2011-07-27 Thread abdelkader belahcene
Reload this Page  how to add sound at login ( FIXED)

Just add the command canberra ( as root !!) to file

/etc/gdm3/PreSession/Default
thanks for help


On Wed, Jul 27, 2011 at 1:25 PM, abdelkader belahcene
abelahc...@gmail.comwrote:

 *HI,
 I want a sound when I log on my debian as it is done in ubuntu or other
 distro.
 like the file desktop-login.ogg   in /usr/share/sounds/ubuntu

 or linuxmint-login.wavde Linux mint
 thanks for help
 *



pin priority in apt_preferences

2011-07-27 Thread abdelkader belahcene
*Hi,

Despite the priority, I put in  my /etc/apt/preferences

Package: *
Pin: origin 
Pin-Priority: 999

Package: *
Pin: origin localhost
Pin-Priority: 995

Package: *
Pin: origin ftp.fr.debian.org
Pin-Priority: 501

When I install a package, itcomes from ftp.fr.debian.org,  even if  this
pacakge existe, in my locale repository??!!
Here is an example :


root@debian6:/opt/extra6Bis# apt-cache showpkg 9base
Package: 9base
Versions:
1:6-1 (/var/lib/apt/lists/localhost_extra6Bis_Packages)
(/var/lib/apt/lists/ftp.fr.debian.org_debian_dists_squeeze_main_binary-i386_Packages)


while the installation comes from ftp.fr.debian.org here is  :

/opt/extra6Bis# apt-get install 9base

Reading package lists... Done
Building dependency tree
Reading state information... Done
 ..
The following NEW packages will be installed:
  9base
0 upgraded, 1 newly installed, 0 to remove and 449 not upgraded.
Need to get 1552 kB of archives.
After this operation, 4497 kB of additional disk space will be used.
Get:1 http://ftp.fr.debian.org/debian/ squeeze/main 9base i386 1:6-1 [1552
kB]
*
*thanks for help*
best regards


how to remove icon from desktop

2011-07-25 Thread abdelkader belahcene
*Hi,
I installed  aptosid (  ex-sidux), based on debian sid.
It uses  xfce manager.

On the desktop I have many icons ( like  other patitions, trash, ..), I want
to remove them, where to do it,
 they don't appear in the Desktop directory  (they are not links).

By the way,  I think, if I really understand it ??,xrandr   replaces
xorg,  I can't find the file used  by xrandr  unlike
xorg  uses  xorg.conf.


thanks  a lot
bela*


migrate from cobol to postgresl

2011-06-30 Thread abdelkader belahcene
HI,
Is there a software or procedure to migrate DB from COBOL to SQL ( or
postgresql)
thanks a lot
bela


which is approprite tikz or asymptote

2011-05-30 Thread abdelkader belahcene
Hi, everybody

I want to insert graphics into latex file,  for logn time I used xfig to
create graphs, but it is limited, specially for math formulas, dia  i find
not easy to use.
Finally I want to try   asymptote  or tikz  which one is more appropriate ??

thanks for help
regards


how to give priority to local repository

2011-04-07 Thread abdelkader belahcene
Hi,
Sometimes I have the same version of sofware  in my local repository and the
remote repos,
of course I want to install the soft from the local,

plaease HOW TO tell this to apt-get .
thanks
regards
bela


Re: Re: how to give priority to local repository

2011-04-07 Thread abdelkader belahcene
Thanks for answer, I did it  but there is  an extra line
( the first 900 http://ftp.fr.debian.org/debian/ squeeze/main
Translation-fr )
 how to remove it:

*here is my file*

cat /etc/apt/preferences
Package: *
Pin: origin 
Pin-Priority: 900

Package: *
Pin: origin localhost
Pin-Priority: 600

Package: *
Pin: origin ftp.fr.debian.org
Pin-Priority: 500

Here is the output
100 /var/lib/dpkg/status
 release a=now
 900 http://ftp.fr.debian.org/debian/ squeeze/main Translation-fr
 500 http://ftp.fr.debian.org/debian/ squeeze/non-free i386 Packages
 release v=6.0.1,o=Debian,a=stable,n=squeeze,l=Debian,c=non-free
 origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org/debian/ squeeze/contrib i386 Packages
 release v=6.0.1,o=Debian,a=stable,n=squeeze,l=Debian,c=contrib
 origin ftp.fr.debian.org
 500 http://ftp.fr.debian.org/debian/ squeeze/main i386 Packages
 release v=6.0.1,o=Debian,a=stable,n=squeeze,l=Debian,c=main
 origin ftp.fr.debian.org
 600 ftp://localhost/extra6Bis/  Packages
 origin localhost
 900 file:/opt/extra6/  Packages

thanks a lot


priority in apt-get

2011-02-13 Thread abdelkader belahcene
Hi,

I have a local repository,  and declare also a remote one,  I want to tell
to apt-get to install a package from a local repo, if it exists.  it seems
that it begins from the remote .  here is my sources:

deb file:/home/CD1 squeeze main
deb file:/home/extra6 /
deb http://ftp.fr.debian.org/debian squeeze main non-free contrib

how to tell that

thanks a lot
best regards


libqt4 not found on stable debian6

2011-02-09 Thread abdelkader belahcene
Hi,
I tried to install lyx 2 (last version) from source.
I got a problem :libqt4  not found !!!

I have installed almost qt4 library  here is the list


dpkg  -S   libqt4 | awk '{print $1}'

libqt4-assistant
libqt4-core
libqt4-dbus
libqt4-designer
libqt4-dev
libqt4-gui
libqt4-help
libqt4-multimedia
libqt4-network
libqt4-opengl
libqt4-opengl-dev
libqt4-qt3support
libqt4-script
libqt4-scripttools
libqt4-sql
libqt4-sql-mysql
libqt4-sql-sqlite
libqt4-svg
libqt4-test
libqt4-webkit
libqt4-xml
libqt4-xmlpatterns



it seems that libqt4-core  doesn't contains  the require lib  which is in
package   libqtcore4,  instead of this
one must uses  libqt4core4  which is different. Unfortunatly on debian6,
there is not such file in stable,  it was,  but now just on sid !!!,
So I must try   libqt-X11  instead ??
is it a debian or  a lyx developpement  lack ??

thanks for help


Fwd: error on configuration of lyx

2011-02-08 Thread abdelkader belahcene
Hi every body

I tried to compile the last  version of lyx2 ( beta), I always got the error
:

* The following problems have been detected by configure.
 Please check the messages below before running 'make'.
 (see the section 'Problems' in the INSTALL file)

** qt 4 library not found !


I am using debian 6.0,  I have installed almost all packages relate to qt4 ,

here is the list ( sorry it is long)


dpkg  -S   libqt4 | awk '{print $1}'

libqt4-assistant
libqt4-core
libqt4-dbus
libqt4-designer
libqt4-dev
libqt4-gui
libqt4-help
libqt4-multimedia
libqt4-network
libqt4-opengl
libqt4-opengl-dev
libqt4-qt3support
libqt4-script
libqt4-scripttools
libqt4-sql
libqt4-sql-mysql
libqt4-sql-sqlite
libqt4-svg
libqt4-test
libqt4-webkit
libqt4-xml
libqt4-xmlpatterns


what is missing
thanks for help
regards


CAPS key is enabled

2011-01-18 Thread abdelkader belahcene
Hi,
On my laptop, running debian (same problem with ubuntu and al)
the CAPS key is enabled I can't disable it, to do it , I go to the text
screen, (ctrl+alt+F1), to disable it, after that I come back to the
graphical interface.
What is the problem ??

thanks a lot
best regards


Re: Re: linux on windows

2011-01-13 Thread abdelkader belahcene
Thanks to all

the question is : is there a possibility to change the password, from
windows or via  a CD live
thanks again


linux on windows

2011-01-12 Thread abdelkader belahcene
Hi,
I have 2 pbs:

I have installed for a friend of me,  ubuntu on windows, (ubuntu has this
option). I lost the password, and tried to fix it, so I tried booting from
CD, to fix the problem as usual, (I mean  mount HD, and chroot ). There
is no  linux partition visible, just the ntfs partition, ( in fact the linux
partition ???!!! if any is in the ntfs partition!!).
any idea to fix it.


On my laptop, running debian (same problem with ubuntu and al)
the CAPS key is enabled I can't disable it, to do it , I go to the text
screen, (ctrl+alt+F1), to disable it, after that I come back to the
graphical interface.
What is the problem ??

thanks a lot
best regards


Re: Re: Re: where is the gdm.conf

2010-12-05 Thread abdelkader belahcene
* thanks
that is the problem,  no gdm.cong on centos,  since it is working, the file
exits elsewhere, may be with another name.
thanks again
*


  1   2   3   4   5   >