LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-29-2003, 11:24 PM   #1
Winux
Member
 
Registered: Mar 2003
Posts: 31

Rep: Reputation: 15
Im LOST? Networking XP to Mandrake ?


OK I am a complete novice at Linux! But I am very keen to learn!
Please be gentle with me if I ask a stupid question its purely because I dont have a clue.
I have 2 computers Number 1 machine is configured with Win XP PRO.
Number 2 Has a fresh install of Mandrake 9.0.
Both have Nics installed and I am able to ping either of the machines from the other.
At this point in time i am not interested in sharing the internet connection. My plans are this I would like to be able to set the network up so that I can use the Linux machine as a file/storage server. HOW do I do this????
I have configured both systems with static ips and the same subnet mask. But that is as far as my limited knowledge takes me.
Any help is much appreciated as I am very keen to come to grips with Linux.

Last edited by Winux; 03-29-2003 at 11:39 PM.
 
Old 03-30-2003, 12:53 AM   #2
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
Install SAMBA. To do install it, run Package Installer. Then in the search for smb or samba. Then check the packages that are samba. If you are not sure read the description on the right. Next click install. After that you need to configure smb.conf. smb.conf is located in /etc/samba.

Code:
#======================= Global Settings =====================================
[global]
    workgroup = HOME
    netbios name = ELIZA
    server string = Mandrake LINUX 9 using SMB
    large readwrite = yes
    printcap name = lpstat
    load printers = yes
    printing = cups
    log file = /var/log/samba/log.%m
    max log size = 50
;    security = user
    security = share
    guest only = yes
    guest ok = yes
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    dns proxy = no
    client code page = 850
    character set = ISO8859-1


#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes


[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes
   create mode = 0700
   print command = lpr-cups -P %p -o raw %s -r   # using client side printer
drivers.


[print$]
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   write list = @adm root


[pdf-generator]
   path = /var/tmp
   guest ok = No
   printable = Yes
   comment = PDF Generator (only valid users)
   #print command = /usr/share/samba/scripts/print-pdf file path win_path 
recipient IP &
   print command = /usr/share/samba/scripts/print-pdf %s ~%u \\\\\\\\%L\\\\%u %m

%I &


[Video]
   comment = Movie Clips
   path = /mnt/D/Video
   public = yes
   guest ok = yes
   only guest = yes
   writable = no
   printable = no


[Public]
   comment = Everybody can write
   path = /mnt/D/Public
   public = yes
   guest ok = yes
   only guest = yes
   writable = yes
   printable = no


[My Documents]
   comment = My Documents
   path = "/mnt/D/My Documents"
   public = yes
   guest ok = yes
   only guest = yes
   writable = no
   printable = no


[Bookmarks]
   comment = Bookmarks to Internet Sites
   path = /mnt/D/internet/favorites
   public = yes
   guest ok = yes
   only guest = yes
   writable = yes
   printable = no


[Downloads]
   comment = Downloads from Internet Sites
   path = /mnt/D/Downloads
   public = yes
   guest ok = yes
   only guest = yes
   writable = no
   printable = no


[Applications]
   comment = Full Version Applications
   path = /mnt/D/appz
   public = yes
   guest ok = yes
   only guest = yes
   writable = no
   printable = no


[Linux]
   comment = Linux Distributions & Programs
   path = /mnt/D/Linux
   public = yes
   guest ok = yes
   only guest = yes
   writable = no
   printable = no


[Hauppauge]
   comment = Copy of Hauppauge WinTV Installation CD
   path = /mnt/D/hauppauge
   public = yes
   guest ok = yes
   only guest = yes
   writable = no
   printable = no
My setup is any guest can view my shared files without a password. You can use it if have a firewall like a Linksys, D-Link, Netgear, etc router.

BTW, SAMBA uses Microsoft's SMB protocol to share files.
 
Old 03-30-2003, 01:08 AM   #3
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
hi Electro
slackware doesn't have lpr-cups
just wondering if u know how i can do the same thing in slack..

thanks
 
Old 03-30-2003, 01:21 AM   #4
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
I'm sorry I don't know.

I haven't yet made cups drivers for Windows computers. Mandrake added the printer sections so I don't know if its correct or it works.
 
Old 03-30-2003, 01:25 AM   #5
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
nope, thanks for answering the question
 
Old 03-31-2003, 01:34 AM   #6
Winux
Member
 
Registered: Mar 2003
Posts: 31

Original Poster
Rep: Reputation: 15
Thanks I will make a start and see how I go
 
  


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
Lost panel in Gnome -- now I'm completely lost! webwench Linux - Newbie 3 04-30-2005 01:38 AM
Lost mouse after reboot+lost modem BACTRATE Mandriva 3 04-07-2005 06:45 AM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 09:01 AM
Lost klfreese Linux - Newbie 13 07-02-2004 10:27 PM
C++ templates + linked lists... lost.. very lost.. exodist Programming 2 05-12-2004 11:04 PM


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