Originally Posted by
Morbius1
I'll admit that I no longer have any idea what's going on here.
If you've installed Ubuntu Server in VBox then you need to make sure you are using "Bridged Adapter" mode in VBox. By default it will use NAT and that means that the Server can see out but nobody can see in and Servers really have no need to see out. I'm not sure if Bridged mode is available without "Guest Additions" - it may be but I'm not sure.
Do you have actual client systems in your LAN ( do you even have a LAN ? ) or is this just a stand alone PC and you are trying to simulate a Samba Server and a Linux Client? The reason I ask is that in Bridged Adapter mode the server will connect to the same router as the host. That's the only way it will be seen by the host. If you don't have a router then this ain't gonna work.
There are two other networking options in VBox but I've never used them to know how they work.
Yes i was looking for that "Bridged mode" and i founded it now. Havent have time to test it..testing it later.
But u are saying it doest work? Why so, i dont have LAN, just stand alone PC and im trying to simulate like u sayed. My virtual-server has own IP-address, so isnt that possible to connect/find that server from internet? Isnt that a purpose to have virtual-machine, that u dont need LAN or another machine, so u can run server(s) from one machine?
I thought that samba works fine if guest is linux too, dont see reason why shouldnt.
Code:
/usr/bin/smbclient -L 192.168.1.101 -U guest
edit: Maybe i should try this FTP-server http://ubuntuforums.org/showthread.php?t=841336 and forget this samba-thing, becouse first at all i was thinking to create FTP-server but i founded some links that sayed its not recommendable and its unsafe or something..but like u know im just playing and i dont have nothing unsafe in my server..just empty home-folders. I am allready friend with filezilla, so i could try this https://help.ubuntu.com/10.10/server...tp-server.html
What u think? I think that everything is possible if u find way to do it
(Also u can mark this thread SOLVED if u wish, becouse i got samba working)
Bookmarks