LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-24-2008, 08:11 AM   #1
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Rep: Reputation: 16
How to access another computer ?


I am using a desktop running Debian with KDE.

A friend came over the other day with a laptop running XP and login to my wireless connection.

Technically I should be able to access his laptop and he able to access my desktop.

Only problem is I don't know how to configure

Information or links is greatly appreciated.

Also, is it better/safer to share out from the Linux or XP side?
 
Old 01-24-2008, 08:26 AM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
You probably need to configure Samba on your Linux machine.
http://us4.samba.org/samba/
All needed packages should be in your distro's repository.
 
Old 01-24-2008, 08:27 AM   #3
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
one minute drill w/o security
debian box:
1. backup /etc/samba/smb.conf
2. edit /etc/samba/smb.conf
under global
change workgroup to a name you want e.g. workgroup = testlan
change security = user to security = share
create this
Code:
[public]
   path = /usr/somewhere/else/public
   public = yes
   only guest = yes
   writable = yes
   printable = no
would be a Share with the Name "public"

save the smb.conf
disable the firewall.
start the smbd.

On his windows also disable firewall
enable easy fileshare
add him to the workgroup like you have choosen in the smb.conf

finish him off
 
Old 02-15-2008, 07:17 AM   #4
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by odcheck View Post
one minute drill w/o security
debian box:
1. backup /etc/samba/smb.conf
2. edit /etc/samba/smb.conf
under global
change workgroup to a name you want e.g. workgroup = testlan
change security = user to security = share
create this
Code:
[public]
   path = /usr/somewhere/else/public
   public = yes
   only guest = yes
   writable = yes
   printable = no
would be a Share with the Name "public"

save the smb.conf
disable the firewall.
start the smbd.

On his windows also disable firewall
enable easy fileshare
add him to the workgroup like you have choosen in the smb.conf

finish him off
Still unable to connect Debian and XP.

Debian box -
smb.conf configured as per item 2 above
workgroup = CATCH
firewall is disabled.

XP side -
workgroup = CATCH
firewall is disabled.

However, in XP's "My Network Places", I was still unable to see any computer.

HELP!!!

 
Old 02-15-2008, 07:24 AM   #5
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Is the server running? I think you need to run "/etc/init.d/smbd start" under Debian to start it, but don't quote me on this.
 
Old 02-16-2008, 08:14 AM   #6
lazylogic
Member
 
Registered: Aug 2006
Posts: 151

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Nylex View Post
Is the server running? I think you need to run "/etc/init.d/smbd start" under Debian to start it, but don't quote me on this.
Done that, /etc/init.d/samba restart, stil same problem.


Update:
I did a reinstall of samba and retry.

After I do a manual refresh on the XP network, I can see my Debian shared directory.
Only problem is XP is asking for User and Password before I can connect to my Debian shared directory.

I've tried to enter all accounts (both XP and Debian user) but the user/password not accepted.
What is the "correct" user/password that should be used?


Anyone, any experts care to help ....

Last edited by lazylogic; 02-16-2008 at 08:31 AM.
 
Old 02-16-2008, 11:25 AM   #7
Cyhaxor
Member
 
Registered: Nov 2004
Location: UK
Distribution: Fedora 12
Posts: 129

Rep: Reputation: 15
Quote:
Originally Posted by lazylogic View Post
I've tried to enter all accounts (both XP and Debian user) but the user/password not accepted.
What is the "correct" user/password that should be used?


Anyone, any experts care to help ....
Have you tried to enter nothing? (null)? Or User:admin pass:admin?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Remote access a Linux computer using another Linux computer sceadu Linux - General 10 05-19-2006 10:32 PM
Can't access ftp from another computer pepitte Linux - Networking 2 04-15-2004 05:47 PM
Trying to access my webserver from a different computer. cpv204 Linux - Newbie 6 12-13-2003 01:05 PM
others can't access my computer slackwarefan Linux - Networking 4 10-24-2003 09:30 AM
How can I get access to a computer on my LAN? teeno Linux - Networking 5 07-17-2001 08:44 AM


All times are GMT -5. The time now is 02:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration