Code: Alles auswählen
linux:~# mount -t smbfs -o username=user,password= //win98/PALM /mnt/Palm
mount error: could not find target server. TCP name win98/PALM not found
No ip address specified and hostname not found
Code: Alles auswählen
linux:~# mount -t smbfs -o username=user,password= //win98/PALM /mnt/Palm
mount error: could not find target server. TCP name win98/PALM not found
No ip address specified and hostname not found
Code: Alles auswählen
linux:~# mount -t cifs -o username=user,password= //win98/PALM /mnt/Palm
mount error: could not find target server. TCP name win98/PALM not found
No ip address specified and hostname not found
Leider liegst du daneben. Wenn Win98 ein im Netzwerk bekannter Rechner ist, also z.B. in /etc/hosts steht, ist diese Schreibweise völlig legitim, funktioniert bei mir auf jeden Fall.Saxman hat geschrieben:Ich nutze zwar schon lange kein samba mehr, aber du versuchst so wie ich das lese einen Ordner auf dem lokalen FS per cifs oder smfs einzubinden. Das kann gar nicht gehen. samba ist ein daemon und der lauscht unter ip:port . Soll heißen du musst den Netzwerkpfad angeben und nicht //win98/PALM
Das schreibe Ich jetzt aber wie gesagt ohne Ahnung von samba. Vielleicht liege ich auch daneben.
In dem Fall wäre das ja ein Netzwerkpfad, aber beim TE wird eben bemängelt dass dieser Netzwerkpfad nicht vorhanden ist.TobiSGD hat geschrieben: Leider liegst du daneben. Wenn Win98 ein im Netzwerk bekannter Rechner ist, also z.B. in /etc/hosts steht, ist diese Schreibweise völlig legitim, funktioniert bei mir auf jeden Fall.
Code: Alles auswählen
192.168.0.177 win98
Code: Alles auswählen
linux:/home/am# mount -t smbfs -o username=user,password= //win98/PALM /mnt/Palm
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
linux:/home/am# mount -t cifs -o username=user,password= //win98/PALM /mnt/Palm
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
linux:/home/am# mount -t smbfs -o username=user,password= //192.168.0.177/PALM /mnt/Palm
mount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Code: Alles auswählen
am@linux:~$ ping 192.168.0.177
PING 192.168.0.177 (192.168.0.177) 56(84) bytes of data.
64 bytes from 192.168.0.177: icmp_seq=1 ttl=128 time=5.30 ms
64 bytes from 192.168.0.177: icmp_seq=2 ttl=128 time=0.487 ms
64 bytes from 192.168.0.177: icmp_seq=3 ttl=128 time=0.407 ms
--- 192.168.0.177 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.407/2.066/5.305/2.290 ms
am@linux:~$ nmap -v -P0 192.168.0.177
Starting Nmap 4.62 ( http://nmap.org ) at 2010-11-23 19:22 CET
Initiating Connect Scan at 19:22
Scanning win98 (192.168.0.177) [1715 ports]
Discovered open port 139/tcp on 192.168.0.177
Completed Connect Scan at 19:22, 0.86s elapsed (1715 total ports)
Host win98 (192.168.0.177) appears to be up ... good.
Interesting ports on win98 (192.168.0.177):
Not shown: 1714 closed ports
PORT STATE SERVICE
139/tcp open netbios-ssn
Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.971 seconds
SYNOPSIS
mount.cifs {service} {mount-point} [-o options]
Ansonsten schieb auch mal -v mit damit mount etwas gesprächiger wird.For example:
mount -t cifs //server/share /mnt --verbose -o user=username
sec=
Security mode. Allowed values are:
· none attempt to connection as a null user (no name)
· krb5 Use Kerberos version 5 authentication
· krb5i Use Kerberos authentication and packet signing
· ntlm Use NTLM password hashing (default)
· ntlmi Use NTLM password hashing with signing (if /proc/fs/cifs/PacketSigningEnabled on or if server
requires signing also can be the default)
· ntlmv2 Use NTLMv2 password hashing
· ntlmv2i Use NTLMv2 password hashing with packet signing
For example:
mount -t cifs //server/share /mnt --verbose -o user=username
Code: Alles auswählen
linux:/home/am# mount -t cifs //WIN98/PALM /mnt/Palm --verbose -o user=username,password=
mount.cifs kernel mount options: unc=//WIN98\PALM,ip=192.168.0.177,ver=1,rw,user=usernamemount error 112 = Host is down
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Aufgeben gibt's nicht!Felis hat geschrieben: Ich kapituliere...
Code: Alles auswählen
#!/bin/bash
mount -t smbfs -o username=user,password= //WIN98/PALM /mnt/Palm
cp -avf /mnt/Palm /home/am/win98
chown -R am:am /home/am/win98/Palm
umount -l /mnt/Palm
Code: Alles auswählen
Not to forget
If the samba server was upgraded, always REBOOT the windows machines and manually DELETE and RECREATE the specific networkdrives.
Habe ich leider keines. Ein legales laufendes XP habe ich zwar auch in einer VM. Damit habe ich es noch nicht versucht, werde ich machen. Frisst bloss mit 256MB Ram die Hälfte des Speichers meines Rechners. Deswegen benütze ich es eigentlich nicht. Trotzdem danke für den Hinweis.debianoli hat geschrieben:Sag mal, läuft deine Software auch unter Win2000? So viel ich mich erinnere, gibt es mit Win2000 in einer virtuellen Maschine weniger Probleme als mit Win98.