Nieuws:

Ubuntu-NL weer online!

Na een periode van technische problemen en een overbelaste server zijn we eindelijk weer bereikbaar.
Samen met Hobbynet, onze sponsor en hostingpartner, hebben we een oplossing gevonden zodat alles weer soepel draait.

Bedankt voor jullie geduld en begrip. We hopen nu weer verder te gaan waar we gebleven waren.

Het team van Ubuntu-NL

Welkom, Gast. Alsjeblieft inloggen of registreren.
Heb je de activerings-mail niet ontvangen?

Auteur Topic: Waar vind ik een samba file server op de command line?  (gelezen 985 keer)

Online bart85

  • Lid
Waar vind ik een samba file server op de command line?
« Gepost op: 2013/07/05, 20:19:59 »
Kan ik met een ip en poortnummer verbinding maken met mijn samba file server?
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.

Offline Johan van Dijk

  • Administrator
    • johanvandijk
Re: Waar vind ik een samba file server op de command line?
« Reactie #1 Gepost op: 2013/07/05, 21:00:59 »
Dat kan:
sudo mkdir /media/sambashare
sudo mount -t cifs -o username=gebruikersnaam,password=jewachtwoord  //192.168.1.1/sharenaam /media/sambashare


Online bart85

  • Lid
Re: Waar vind ik een samba file server op de command line?
« Reactie #2 Gepost op: 2013/07/06, 14:58:03 »
Hiervoor heb ik cifs-utils geinstalleer. Het filesystem wordt herkend.

Nu vraagt hij om een password, maar in smb.conf heb ik ingesteld 'guest ok = yes'
Waarom krijg ik onderstaande error.

Unable to find suitable address.
« Laatst bewerkt op: 2013/07/06, 15:17:39 door bartveurink »
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.

Online bart85

  • Lid
Re: Waar vind ik een samba file server op de command line?
« Reactie #3 Gepost op: 2013/07/06, 15:58:22 »
Nu samba geinstalleerd op de client PC.

sudo mount -t cifs -o guest //192.168.0.100/share /media/sambashare
Retrying with upper case share name
mount error(6): No such device of address
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.

Online bart85

  • Lid
Re: Waar vind ik een samba file server op de command line?
« Reactie #4 Gepost op: 2013/07/06, 17:02:59 »
Hieronder geprobeerd verbinding te maken met smbclient. Dit geeft ook een error.

~$ smbclient //192.168.0.100/share
Enter bart's password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.6.3]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

Wel kan ik het netwerk doorbladeren met Nautilus

In Nautilus klik ik eerst links op Netwerk doorbladeren dan Windows-netwerk dan WORKGROUP dan
BART_STUDIO-1737 dan share.
Nu ben ik in de gedeelde map

« Laatst bewerkt op: 2013/07/06, 17:24:44 door bartveurink »
Je leert maar mooi over weg gaan met de commandline.
Linus: "I'm happy with the people who are wandering around looking at the stars but I am looking at the ground and I want to fix the pothole before I fall in."
I look to the clouds behind me and see the thunder coming.