LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-15-2005, 11:27 PM   #1
backpackingbiker
LQ Newbie
 
Registered: Jun 2005
Location: Washing State - USA
Distribution: Ubuntu 5.04
Posts: 9

Rep: Reputation: 0
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?
 
Old 06-16-2005, 12:12 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
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!
 
Old 06-16-2005, 11:30 AM   #3
backpackingbiker
LQ Newbie
 
Registered: Jun 2005
Location: Washing State - USA
Distribution: Ubuntu 5.04
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 06-16-2005, 03:16 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi again

Try this:

Code:
mount -t smbfs -o username=<your windows username>,password=<your windows password> //myserver/myshare /home/ray/mnt
 
Old 06-16-2005, 05:31 PM   #5
backpackingbiker
LQ Newbie
 
Registered: Jun 2005
Location: Washing State - USA
Distribution: Ubuntu 5.04
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Win linux network the_imax Linux - General 3 04-29-2005 07:15 AM
Cant get FC2 and Win XP to network kamowa Linux - Networking 1 12-23-2004 03:02 PM
Win-Nix Network autkast Linux - Networking 1 10-29-2003 09:36 AM
How do I network RH9 with Win Xp gavinc Linux - Networking 16 08-22-2003 10:40 PM
NetWork (Win And Linux) ramez Linux - Networking 4 07-14-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration