Samba?

dann kommt das:

billabong@linux:~> smbclient-L 192.168.1.10
bash: smbclient-L: command not found
billabong@linux:~> smbclient -L 192.168.1.10
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 192.168.1.10:139 (No route to host)
Error connecting to 192.168.1.10 (No route to host)
Connection to 192.168.1.10 failed
billabong@linux:~> smbclient -L 192.168.1.1
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 192.168.1.1:139 (Connection refused)
Error connecting to 192.168.1.1 (Connection refused)
Connection to 192.168.1.1 failed

Edit :
habe vorhin die ip von der windows mühle in 192.168.1.3 geändert. neues ergebnis nach eingaben von smbclient -L 192.168.1.3 :

billabong@linux:~> smbclient -L 192.168.1.3
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
session request to 192.168.1.3 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
 
Zuletzt bearbeitet:
Hm, ist samba gestartet? Wenn "ps ax | grep smbd | grep -v grep" nichts ausgibt, dann mal als root "/etc/init.d/samba start" ausführen.

Ein Ping auf 192.168.1.10 funktioniert, aber hier sagt er "no route to host"? Merkwürdig! Zweite Frage: Warum hast Du zwei Netzwerkkarten (eth1 und eth0) im selben Netz? Ist das richtig?

MfG Markus
 
billabong@linux:~> ps ax|grep smbd|grep -v
Aufruf: grep [OPTION]... MUSTER [DATEI]...
»grep --help« gibt Ihnen mehr Informationen.
billabong@linux:~> ps ax | grep smbd | grep -v
Aufruf: grep [OPTION]... MUSTER [DATEI]...
»grep --help« gibt Ihnen mehr Informationen.
billabong@linux:~>
geht auch nicht. zwei netzwerkkartenhabe ich im netz weil ich mir am anfang net sicher war welche funktioniert und welche nicht da dachte ich machste zwei dran dann geht eine auf jedenfall das is ja auch bestimmt net der grund warum das ganze net geht. oder doch ja eth 1 und eth 0 sind im selben netz weil sie im selben rechner sind soll ich mal eine rausziehen?

edit:

/etc/init.d/samba start geht auch nicht. das findet er nicht
 
Zuletzt bearbeitet:
hier damit du mal weist wie das bei mir in /etc und /init.d aussieht:

billabong@linux:~> cd /etc
billabong@linux:/etc> ls
DIR_COLORS im_palette-small.pal passwd-
HOSTNAME im_palette-tiny.pal passwd.YaST2save
Muttrc im_palette.pal permissions
SuSE-release imrc permissions.d
SuSEconfig imwheelrc permissions.easy
WindowMaker inetd.conf permissions.local
X11 init.d permissions.paranoid
XF86Config inittab permissions.secure
adjtime input.conf postfix
aliases inputrc powerd.conf
aliases.d insserv.conf ppp
aliases.db ioctl.save profile
alsa.d iproute2 profile.d
asound.state isdn profile.dos
at.deny issue protocols
auto.master issue.net raw
auto.misc java rc.d
bash.bashrc jmacsrc rc.d.README
codecs.conf joerc rc.status
cron.d jpicorc reader.conf
cron.daily jstarrc resolv.conf
cron.hourly kde3rc resolv.conf.saved.by.pppd.ppp0
cron.monthly krb5.conf rjoerc
cron.weekly ksysguarddrc rpc
crontab ld.so.cache samba
crontab.old ld.so.conf scpm.conf
csh.cshrc lesskey screenrc
csh.login lesskey.bin securetty
cups localtime security
default login.defs sensors.conf
defaultdomain logindevperm services
defkeymap.map logrotate.conf shadow
enscript.cfg logrotate.d shadow-
esd.conf lvmtab shadow.YaST2save
exports lvmtab.d shells
fam.conf magic skel
fb.modes mail.rc smpppd-c.conf
fdprm mailcap smpppd.conf
filesystems manpath.config ssh
fstab mesa.conf ssl
ftpusers mime.types sudoers
gpm modules.conf susehelp.d
group modules.conf.- suseservers
group- motd sysconfig
group.YaST2save mplayer.conf syslog.conf
grub.conf mtab termcap
gshadow mtools.conf ttytype
gshadow- netgroup unixODBC
gshadow.YaST2save networks uucp
gtk news vimrc
host.conf nntpserver wgetrc
hosts nscd.conf wmifsrc
hosts.allow nsswitch.conf wminetrc
hosts.deny ntp.conf wmmount
hosts.equiv openldap wmtunerc
hosts.lpd opt wvdial.conf
hotplug pam.d xml
httpd papersize zshenv
hushlogins passwd zshrc
billabong@linux:/etc> cd init.d
billabong@linux:/etc/init.d> ls
README boot.clock boot.local boot.swap halt.local network powerfail rc4.d single syslog
SuSEfirewall2_final boot.crypto boot.localfs boot.sysctl hotplug nfs random rc5.d skeleton xdm
SuSEfirewall2_init boot.d boot.localnet cron hwscan nfslock raw rc6.d smbfs xfs
SuSEfirewall2_setup boot.idedma boot.lvm cups inetd nfsserver rc rcS.d smpppd xntpd
alsasound boot.ipconfig boot.md fam isdn nscd rc0.d reboot splash ypbind
atd boot.isapnp boot.proc fbset joystick pcscd rc1.d rpasswdd splash_early
autofs boot.klog boot.restore_permissions gpm kbd portmap rc2.d rpmconfigcheck splash_late
boot boot.ldconfig boot.scpm halt ksysguardd postfix rc3.d setserial sshd
billabong@linux:/etc/init.d>

sorry muss jetzt weg freundin nervt. kannst ja vieleicht wenn dir noch was einfällt hinschreiben ich lese es dann morgen. wenn nicht bin morgen abend wieder da und nerve weiter :)
 
Zuletzt bearbeitet:
Hm, mystisch, denn in /etc/init.d sollte entweder ein Skript names smb, smbd oder samba sein. Zwei Möglichkeiten: Entweder ist der Server nicht installiert, sondern nur der client, oder SuSE macht's mal wieder merkwürdig.

Übrigens hast Du bei "ps ax | grep smbd | grep -v grep" das letzte grep vergessen :)

Was sagt "nmbd -D ; smbd -D" als root?
 
Wow erfolg

habe gerade mal wieder smbclient -L + ip (windows 2ooo) + passwort ergebniss:

billabong@linux:~> smbclient -L 192.168.1.3
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
session request to 192.168.1.3 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
Anonymous login successful
Domain=[GODQUAKER] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED

Server Comment
--------- -------

Workgroup Master
--------- -------
GODQUAKER GODQUAKE-8D7364

Godquaker is die arbeitsgruppe vom windows rechner

das sieht doch schon mal garnet so schlecht aus. so waran kann ich denn erkennen ob ich nur den client installiert habe ?
 
Weniger Code, mehr manuell: wenn "ps ax | less" denn String "smbd" enthält, läuft der Server. Ich stelle gerade fest, dass es wohl eher "smbclient -L \\\\192.168.1.10 -U [WINUSER]" heißen müsste. Aber von Linux -> Windows gibt's schon einmal Verbindung.

Ich würde in /etc/samba/smb.conf beizeiten statt "workgroup = TUX-NET" "workgroup = GODQUAKER" eintragen, by the way.

MfG Markus
 
nabend leute,

also ich weis jetzt auf jedenfall warum das ganze nicht geht ich habe einen 2. irgendwas client und den rest von einer anderen version wenn überhaupt. kann mir vieleicht jemand einen link schicken wo ich mir eine neue sambaversion komplett runterladen kann. dann müsste ich vieleicht die alte deinstallieren und die neue auch noch installieren wie das geht breuchte ich auch noch ein bisschen hilfe :)
 
Hm, du sagst, du nutzt SuSE? Wie wäre es mit einer Installation vom SuSE-FTP Server - da sollte es aktuelle, komplette Versionen geben.
 
Zurück