Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Location: Maine, USA, North America, Western Hemisphere, Earth, Milky Way Galaxy
Distribution: SUSE10
Posts: 61
Rep:
Need your help with printer networking
I am running Xandros 3.01 Deluxe desktop. Currently, I have an HP722C inkjet connected via parallel port to the linux box. I have no problem printing to it from linux. I would like to also be able to print to the same printer with Windows XP. I know that it will work because I previously was able to do so with Mandrake 10.1 Official. My XP box is connected via a broadband firewall router to my Xandros box. In terms of ease of set up is it better to connect the printer directly to the Windows XP box or to the linux box? My guess is that it doesn't matter very much. Since I have the printer connected to the linux box what do I need to do in order to print from the Windows box, too? Please be as detailed as you can.
Thanks very much.
You need to install (if not installed), configure and run Samba server in order to printer from windows to a linux connected printer. I am, however, not sure how Xandros package management works so you can first find out if samba is installed.
Quote:
Please be as detailed as you can.
There are enormous how-to's available for sample samba configuration. I would recommend you google around for answer. Read some how-to's and get a feel of it. You can then return and here and ask specific config questions.
Location: Maine, USA, North America, Western Hemisphere, Earth, Milky Way Galaxy
Distribution: SUSE10
Posts: 61
Original Poster
Rep:
Thanks very much for your response. Looks like Samba is the ticket to doing what I want. I'm not sure whether it's easier to cable the printer to the linux box or the windows box. I guess I'll try one way and if it doesn't work I'll try the other.
The reason that I posted this question was because I have read a number of tutorials and also purchased "Linux Samba Server Administration" by Roderick W. Smith. So far nothing has panned out very well.
I'll keep on keeping on and pose more specific questions as the arise. Cheers.
Looks like you've done your homework . Here's a little info on my home network. I run samba server too for my home network. I have a desktop and a laptop and a printer connected to desktop. I run a samba server to connect to my desktop for file sharing and printing from a laptop via the wireless network. I suggest you look for sample samba configuration in the book you have. It should have it. Here's my smb.conf but use it as a reference as your my network parameters may not match yours.
Code:
# Global parameters
[global]
workgroup = WORKGROUPNAME
server string = WHAT EVER NAME YOU WANT TO PUT
guest account = No
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
ldap ssl = no
valid users = user1, user2
write list = user1,user2
hosts allow = your subnet
[homes]
comment = Home Directories
read only = No
[printers]
comment = what ever you want to put
path = /var/spool/samba
read only = No
guest ok = Yes
hosts allow = your subnet
printable = Yes
printer name = your printer name
share modes = No
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.