LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 05-26-2006, 04:22 PM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Trying to connect to Windows box


Ok I have an XP box that I connect to when I boot into XP on the computer I am on. The network is setup via a Linksys WRT54Gv5 router. The XP box has a Netgear WG311v3 (if that is important).

What do I need to do in SUSE 10 to be able to access the folders that I have set as shareable on the XP box?

EDIT: Also is there a way, I can remotely connect into that computer from SUSE? I am able to connect to it via Remote Desktop Connection in XP.

Last edited by Jongi; 05-26-2006 at 04:31 PM.
 
Old 05-26-2006, 04:52 PM   #2
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Quote:
What do I need to do in SUSE 10 to be able to access the folders that I have set as shareable on the XP box?
You can use sambaclient. It's already installed with SuSE. Try running "smb:/" with konqueror or something.
Quote:
I can remotely connect into that computer from SUSE?
You can use krdc (VNC compatible) on your linux after you have installed VNC and ran VNC Server on your Windows XP.

Last edited by manishsingh4u; 05-26-2006 at 04:53 PM.
 
Old 05-26-2006, 05:02 PM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Quote:
Originally Posted by manishsingh4u
You can use sambaclient. It's already installed with SuSE. Try running "smb:/" with konqueror or something.

You can use krdc (VNC compatible) on your linux after you have installed VNC and ran VNC Server on your Windows XP.
You'll need to be a bit more specific. I have never done this before.
 
Old 05-26-2006, 05:04 PM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You need to install and set up Samba on the SuSE computer. Then you will be able to access shared folders from one computer to the other.

You could also install the samba-docs package which includes 3 books and a number of samba how-tos.
 
Old 05-26-2006, 05:15 PM   #5
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
1) Make sure windows and linux ipaddresses are in the same class and subnet
eg: 192.168.0.1/255.255.255.0
eg: 192.168.0.2/255.255.255.0

2) Check if the two machines can ping each other
3) Check if you have shared any folders/drives on Windowx.
4) If you have KDE, click "KMenu" -> "Run Command" and type smb:/
5) Do u see any workgroups? If yes, then check if you can see your windows XP there.

For VNC.
1)Download VNC for windows from this URL
http://www.realvnc.com/products/free/4.1/download.html
2) Install and run VNC Server service and set a password.
3) If you have KDE, run something like "krdc" or "Remote Desktop Connection". If you don't have it, install it via yast2. (I hope u know how to use yast).
Still if u have any problems, I would be happy to help.
 
Old 05-26-2006, 05:22 PM   #6
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
I've been scouring the internet as well and finally figured out that I can access it via konqueror using:

smb://windowsusername@ip.address/directory

However I can't play MP3s on that drive so I suspect I am going to have to find a solution to mount the MP3 folder on that drive.
 
Old 05-26-2006, 05:23 PM   #7
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Is there a port that I need to open on the firewall?
 
Old 05-26-2006, 05:29 PM   #8
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Quote:
I can't play MP3s on that drive so I suspect I am going to have to find a solution to mount the MP3 folder on that drive.
yes, mounting that share will be best solution to play mp3 or video files.
Quote:
s there a port that I need to open on the firewall?
I am not sure about this one as I have never used firewalls. Try it without changing the firewall settings first. If it doesn't work, check which port VNC needs and you can do it if needed.
 
Old 05-26-2006, 05:49 PM   #9
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
So I did a:

smbmount //ip.address/share_directory /mnt/mount_directory

That has worked.

How do I get SUSE to do this automatically every time it boots. My other concern is that there is a password I need to enter. Will I need to remove the password on the windows user?

Also, if I were to add another user to the Windows box, would it be:

smbmount //user@ip.address/share_directory /mnt/mount_directory
 
Old 05-27-2006, 01:28 AM   #10
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Quote:
How do I get SUSE to do this automatically every time it boots. My other concern is that there is a password I need to enter. Will I need to remove the password on the windows user?
No you don't need to remove the password.
Code:
mount -t smbfs //ipadd/share_directrory /mnt/mount_directory -o "username=winuser,password=sharepassword"
You can add the above line to your /etc/init.d/boot.local. Try it, and do a reboot. I haven't done this before but, this would be the first thing which I am gonna try if were to do it.
Please let me know if it works.

Last edited by manishsingh4u; 05-27-2006 at 01:29 AM.
 
Old 05-28-2006, 06:56 AM   #11
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
The following works:

Code:
# mount -t smbfs -o username=username,password=password //192.168.1.100/media /mnt/media/
But:

Code:
# mount -t smbfs -o username=username,password=password //jongi-xp/media /mnt/media/
9421: Connection to jongi-xp failed
SMB connection failed
So I am able to access the other computer using it's IP address but not using it's name. I am suspecting I need to put the linux box into the same workgroup as the XP box.
 
Old 05-28-2006, 07:05 AM   #12
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Type this command and see what u get.
Code:
nmblookup jongi-xp
 
Old 05-28-2006, 08:56 AM   #13
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Code:
# nmblookup jongi-xp
querying jongi-xp on 192.168.1.255
name_query failed to find name jongi-xp
 
Old 05-28-2006, 10:21 AM   #14
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Okay, now type this and see if nmbd is running. Post whatever output u get
Code:
ps -A | grep nmbd
Also try
Code:
nmblookup yourlinuxmachinename

Last edited by manishsingh4u; 05-28-2006 at 10:23 AM.
 
Old 05-28-2006, 10:35 AM   #15
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
I have found some artical which might help you. Here's the link
http://brneurosci.org/linuxsetup38.html
 
  


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
Getting my DSL box to connect through a NIC on a windows box Tuxman8898 Linux - Networking 1 01-30-2006 06:40 AM
Cannot Connect from windows xp to linux slackware box swatward Linux - Networking 0 11-07-2005 06:01 PM
Connect to work box from home box slackist Linux - Networking 4 09-18-2004 05:34 AM
XP Box won't connect to internet thru RH9 Box (firewall/dhcpd), it can only ping fire Rhapsodic Linux - Networking 4 07-10-2004 03:02 PM
Connect Red Hat box to Win XP box? VBAHole22 Linux - Newbie 6 05-09-2004 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:22 PM.

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