Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
Probleme connexion ttyS1 sur Debian
Envoyé par: TOMAS91

Bonjour,

Je possede linux avec la distribution Debian 5.0 sur un ordinateur portable NC6000.
Je souhaiterais simuler l'envoi d'un fichier par liaison serie dans le cadre d'un projet pour mes études.

Je suppose que le port série s'appelle ttyS1
suos /dev j'ai dés tty0 à tty63 et ttyS0 à ttyS3
Merci de me donner une commande pour confirmer

J'ai essayé d'installer minicom mais cela ne fonctionne pas
ci-joint les différentes trace
Ayant trés peu de connaissance Debian/linux il faudra me guide dans les moindre détails soit via le mode graphique ou le mode commande

J'ai essayer de mettre un cable entre le port série du NC6000 et un autre PC via hyper terminal windows pour voir si je pouvais me connecter mais je n'ai pas le prompt login (j'ai mis par défaut 9600 bd)

Je ne sais pas comment voir si le driver est installé

pour installer minicom j'ai fait (avec le DVD d'installation DEBIAN dans le lecteur et booter sur le disque):

debian:/home/toto# apt-get install minicom lrzsz
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bluez-gnome libepc-ui-1.0-1 ekiga libmtp7 gcalctool libpth20 gnome-nettool
libepc-1.0-1
libgksu1.2-0 python-notify libgda3-common python-gnome2-extras gucharmap
zenity
libgksuui1.0-1 gnome-games cheese evolution-exchange libspectre1
gnome-power-manager unzip
gnome-cards-data gnome-screensaver rhythmbox python-gdata gedit
python-gtksourceview2
gtk2-engines-pixbuf system-config-printer libpt-1.10.10-plugins-alsa libapr1
gnome-themes
seahorse libggzmod4 vinagre swfdec-gnome libpt-1.10.10 libgpod3 libsnack2
libgalago3
guile-1.8-libs p7zip gedit-common gnome-themes-extras libdmx1
libdevel-symdump-perl
gdm-themes libmusicbrainz4c2a fast-user-switch-applet arj gnome-volume-manager
gtk2-engines
libgtksourceview2.0-common eog gdm libgtksourceview2.0-0 amsn-data
gnome-backgrounds
python-eggtrayicon gnome-spell libggz2 vino evince gnome-games-data
libopal-2.2
libgnomevfs2-bin tcl8.5 zip gnome-core dmz-cursor-theme tk8.5
python-4suite-xml libgda3-3
libgpgme11 libpt-1.10.10-plugins-v4l libggzcore9 gconf-editor gnuchess
libavahi-ui0
transmission-common php5-common gstreamer0.10-tools libgdl-1-0 file-roller
serpentine
libopenobex1 libspeexdsp1 transmission-gtk sound-juicer libgdl-1-common
gnome-vfs-obexftp
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
lrzsz minicom
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/417kB of archives.
After this operation, 1434kB of additional disk space will be used.
Failed to fetch cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 DVD
Binary-1 20090905-08:48]/pool/main/m/minicom/minicom_2.3-1_i386.deb Hash Sum
mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?

Vérification que le DVD est bien "Mount":

debian:/home/toto# mount
/dev/mapper/debian-root on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/hda1 on /boot type ext2 (rw)
/dev/mapper/debian-home on /home type ext3 (rw)
/dev/mapper/debian-tmp on /tmp type ext3 (rw)
/dev/mapper/debian-usr on /usr type ext3 (rw)
/dev/mapper/debian-var on /var type ext3 (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
(rw,noexec,nosuid,nodev)
/dev/hdc on /media/cdrom0 type iso9660 (rw,noexec,nosuid,nodev,user=toto)

Merci d'avance de vos réponse

Poste le Monday 1 March 2010 13:17:57
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
Probleme connexion ttyS1 sur Debian
Vous voulez savoir si votre matériel est supporté par Linux, ou vous avez un problème pour installer un module ? Ce forum est pour vous !

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons