LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Network problems with Win macnines (https://www.linuxquestions.org/questions/ubuntu-63/network-problems-with-win-macnines-334091/)

backpackingbiker 06-15-2005 11:27 PM

Network problems with Win macnines
 
Hi,

I am having problems getting my Warthog to work with a Windows network. I can see the Win XP machines from Ubuntu and can read and write to them but I cannot write to Ubuntu from the Win machines.

I can ping the Ubuntu from the Win machines and it responds. When attempting to write/read Ubuntu from Windows machine, I get a User name:/Password dialog box with heading of
Connect to localost.localdomain but when I put my Ubuntu networking username/Password into this dialog box and hit <Enter> I get the same dialog box again but with the username filled in as <WinName>\<UbuntuUserName>

When I check the Ubuntu Network Settings, General Tab, Hostname is set to ubuntu,
Domain name: => Frieds.org
Enable Windows networking is checked
Domain/Workgroup => Home < this is the Workgroup that my XP machines are in.
WINS server is not checked.

When I went through the process of setting up Networking in Ubuntu, I did not tick the WINS server.

I did the sudo chmod u+s /usr/bin/smbmntsudo chmod u+s /usr/bin/smbmnt

I did the smbmount //myserver/myshare /home/yourusrname/mnt, BUT it comes back saying submount: command cannot be found!

I have set up a directory called /mnt/data but nothing is in the data folder.

Any ideas what is going wrong?

Mega Man X 06-16-2005 12:12 AM

If smbmount returns a command not found error, then you don't have samba server installed and won't be able to mount your Linux shares on Windows. This link has a detailed tutorial about getting Samba to work in Ubuntu. If that does not help, post your errors and steps so I can try to give you a hand ;)

https://wiki.ubuntu.com//SettingUpSamba

Good luck!

backpackingbiker 06-16-2005 11:30 AM

Got so far
 
Thanks,

I am following the instructions you provided a link for and get down to this part and then get an error. Here is screen dump -

ray@ubuntu:~ $ sudo apt-get install smbfs
Reading Package Lists... Done
Building Dependency Tree... Done
smbfs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
ray@ubuntu:~ $ sudo chmod u+s /usr/bin/smbmnt
ray@ubuntu:~ $ mkdir /home/ray/mnt
ray@ubuntu:~ $ smbmount //myserver/myshare /home/ray/mnt
4280: Connection to myserver failed
SMB connection failed
ray@ubuntu:~ $

Any suggestion will be greatly appreciated!

Thanks,

Ray

Mega Man X 06-16-2005 03:16 PM

Hi again :)

Try this:

Code:

mount -t smbfs -o username=<your windows username>,password=<your windows password> //myserver/myshare /home/ray/mnt

backpackingbiker 06-16-2005 05:31 PM

Still not there!
 
Thanks for sticking with me but we still are not there!

Here is what I have tried and the response....

ray@ubuntu:~ $ sudo mount -t smbfs -o username=Test,password=testing //myserver/ myshare /home/ray/mnt
4298: Connection to myserver failed
SMB connection failed
ray@ubuntu:~ $ sudo chmod u+s /usr/bin/smbmnt
ray@ubuntu:~ $ sudo smbmount //myserver/myshare /home/ray/mnt
4373: Connection to myserver failed
SMB connection failed
ray@ubuntu:~ $ sudo apt-get install smbfs
Reading Package Lists... Done
Building Dependency Tree... Done
smbfs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 42 not upgraded.
ray@ubuntu:~ $ sudo chmod u+s /usr/bin/smbmnt
ray@ubuntu:~ $ smbmount //myserver/myshare /home/ray/mnt
4406: Connection to myserver failed
SMB connection failed
ray@ubuntu:~ $ sudo smbmount //myserver/myshare /home/ray/mnt
4417: Connection to myserver failed
SMB connection failed
ray@ubuntu:~ $ mount -t smbfs -o username=Test,password=testing //myserver/myshare /home/ray/mnt mount: only root can do that
ray@ubuntu:~ $ sudo mount -t smbfs -o username=Test,password=testing //myserver/myshare /home/ray/mnt
4527: Connection to myserver failed
SMB connection failed
ray@ubuntu:~ $


Ray


All times are GMT -5. The time now is 12:24 AM.