Hi @ll
bräuchte wieder mal Hilfe zu Plip
Hardware:
PC mit RedHat 7.1 verbunden via Parallelkabel mit PCmit Go!Linux 7.0
plip installation:
REdHat (192.168.0.1):
# insmod parport
# insmod parport_pc
# echo 7 > /proc/parport/0/irq
bash: /proc/parport/0/irq: Datei oder Verzeichnis nicht gefunden
# echo 7 > /proc/sys/dev/parport/parport0/irq
bash: /proc/sys/dev/parport/parport0/irq: keine berechtigung
# ifconfig plip0 192.168.0.1 pointopoint 192.168.0.5 netmask 255.255.255.0 up
#route add -host 192.168.0.5 dev plip0
Go!Linux 7.0 (192.168.0.5):
# insmod parport
# insmod parport_pc
# echo 7 > /proc/parport/0/irq
# ifconfig plip0 192.168.0.5 pointopoint 192.168.0.1 netmask 255.255.255.0 up
#route add -host 192.168.0.1 dev plip0
Wenn ich nun vom RedHat PC \'telnet 192.168.0.5\' eingebe kommt nur
\'trying 192.168.0.5\' und auf dem Go!Linux PC rattert ununterbrochen die Meldung "plip0: transmit timeout(1,87)" über den Bildschirm.
wenn ich \'ping 192.168.0.5\' eingebe gehen 85% der packete verloren und auf dem zielcomputer kommt wieder "plip0: transmit timeout(1,87)"
Fragen:
1. hängt das mit dem "echo 7"-befehl zusammen der nicht funktioniert hat?
2. warum habe ich keine berechtigung (war als root angemeldet)?
3. wofür ist eigentlich dieses echo 7...?
4. was mache ich etwas falsch?
5. wie ist der korrekte echo-befehl unter RedHat?
ich hoffe ihr könnt mir helfen
thx
Fabian
Linux 14.979 Themen, 106.322 Beiträge
Das kommt dabei raus:
[root@Matrix /]# tail -f /var/log/messages
Jun 21 19:44:01 Matrix kde(pam_unix)[916]: session opened for user root by (uid=0)
Jun 21 19:44:09 Matrix kernel: es1370: version v0.34 time 20:52:51 Apr 8 2001
Jun 21 19:44:09 Matrix kernel: PCI: Found IRQ 11 for device 00:0e.0
Jun 21 19:44:09 Matrix kernel: es1370: found adapter at io 0xe800 irq 11
Jun 21 19:44:09 Matrix kernel: es1370: features: joystick off, line in, mic impedance 0
Jun 21 19:44:09 Matrix modprobe: modprobe: Can't locate module sound-service-0-3
Jun 21 19:44:09 Matrix modprobe: modprobe: Can't locate module sound-slot-1
Jun 21 19:44:09 Matrix modprobe: modprobe: Can't locate module sound-service-1-0
Jun 21 19:44:09 Matrix modprobe: modprobe: Can't locate module sound-slot-1
Jun 21 19:44:09 Matrix modprobe: modprobe: Can't locate module sound-service-1-0
Jun 21 19:45:44 Matrix kernel: Winbond Super-IO detection, now testing ports 3F0,370,250,4E,2E ...
Jun 21 19:45:44 Matrix kernel: Winbond chip at EFER=0x3f0 key=0x87 devid=52 devrev=f4 oldid=ff
Jun 21 19:45:44 Matrix kernel: Winbond chip type 83977EF / SMSC 97w35x
Jun 21 19:45:44 Matrix kernel: Winbond LPT Config: cr_30=01 60,61=0378 70=07 74=03, f0=05
Jun 21 19:45:44 Matrix kernel: Winbond LPT Config: active=yes, io=0x0378 irq=7, dma=3
Jun 21 19:45:44 Matrix kernel: Winbond LPT Config: irqtype=pulsed low, high-Z, ECP fifo threshold=0
Jun 21 19:45:44 Matrix kernel: Winbond LPT Config: Port mode=EPP-1.7 and SPP
Jun 21 19:45:44 Matrix kernel: SMSC Super-IO detection, now testing Ports 2F0, 370 ...
Jun 21 19:45:44 Matrix kernel: parport0: PC-style at 0x378 [PCSPP,TRISTATE,EPP]
Jun 21 19:45:44 Matrix kernel: parport0: irq 7 detected
-----------------------
irq 7 detected ... sollte doch auch so sein oder?
auf /proc/sys/dev/parport/parport0 habe ich tatsächlich
nur leserecht. aber wie ich das ändern kann mit chmod
habe ich (noch) nicht rausgefunden, ein tipp wäre nicht
schlecht :-)
ist der echo 7 > /proc/sys/dev/parport/parport0 überhaupt
noch nötig?
mfg
Fabian
