[Samba] Help with Windows XP, linux and multi-subnetting
Joel at HammersHome.com
Sun Jun 30 08:37:01 GMT 2002
First, are you sure you want to make your XP workstation the print server?
Why not hang the printer off computer a or c ? It is usually much simpler
to have linux act as the server.
What kind of printer is it?
I doubt that XP pro will filter your print jobs for you, so if you are
having driver problems with your linux printers, I doubt XP will solve
them for you. (Could be wrong on this, but this is windows!)
For printing, I doubt you would need a wins server, but, that never hurts
and it is easy to set up. Just put in the appropriate global parameters in
the smb.conf of computer a. And, you have to point your clients to the wins
To print from linux to your xp server, the command is something like:
cat file (already formated) | smbclient //server/share -c "print -"
Now, for server, smbclient will try lmhost, dns, broadcast and wins server
If these all fail then printing won't happen. But, this works on my system:
cat Multiple.txt | smbclient //192.168.0.2/text -c "print -"
So, if you can ping to the XP server, the above command might do it for you.
Of course, you will have to fool with password issues for this to be
automatic. And, you will have to filter the job on your client.
BTW, if you want to get a feel for how things are being found on your system
with smbclient, read about the -R option with smbclient.
On Sun, Jun 30, 2002 at 04:34:14PM +0200, Mark van Dijk wrote:
> Hey hey,
> This is my situation:
> [a] --- [b]
> \ --- [c]
> Computer [a] is my router / server, running SuSE and samba. It has ip
> address 192.168.1.1 for computer b, 184.108.40.206 for computer c and
> also 220.127.116.11 (my ISP IP) and 18.104.22.168 for my 22.214.171.124/29
> to work.
> Computer [b] is a windows XP professional workstation using ip
> 192.168.1.2, connected with the internet through SNAT and sharing a
> printer and a folder.
> Computer [c] is a linux slackware 8.1 workstation using ip 126.96.36.199.
> How can I make computers [a] and [c] print using computer [b]? Do I need
> a Wins-server?
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
More information about the samba