The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > IP Networking
Google UNIX.COM


IP Networking Questions involving TCP/IP, Routers, Hubs, Network protocols, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Using Linux on/in a home network Annatar UNIX for Dummies Questions & Answers 2 12-24-2007 07:00 AM
sharing a printer king_jon85 UNIX for Dummies Questions & Answers 0 03-28-2006 03:28 AM
Sharing Printer Linux + XP (cups/samba) Alux Linux 2 03-14-2006 12:27 PM
Linux on Windows network woofie Linux 3 01-18-2005 03:19 PM
Sharing printer with windows via cups and samba Spetnik UNIX for Dummies Questions & Answers 1 01-19-2004 10:43 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-15-2005
Users Awaiting Email Confirmation
 

Join Date: Nov 2005
Location: Medford, Oregon
Posts: 9
Question Printer Sharing on a Mixed(Windows/Linux) Home Network

Sometimes you get the tiger…but sometimes he get you and this latest home network “project” of mine has gnawed on me pretty badly. Perhaps you can offer some technical help. It will be heartily appreciated.

I have a small home network initially comprising two computers running Windows XP(Home Edition). This is a peer-to-peer network. There is a full tower PC which I have set up with an Epson 670 printer. That PC is cabled(Fast EtherNet) to a Linksys WCG-200 cable modem/switch-router/wireless access point. The printer is shared using Microsoft’s “Printer and File Sharing” moiety. The only protocol running on my home network is TCP/IP, but NetBIOS via TCP has been enabled.

I have a laptop which sometimes participates in the network through its wireless(802.11g) card, but I won’t mention it further, because I doubt that it is relevant to this particular problem. It can use the shared printer just fine.

As an experiment, I recently tried Mandriva Linux LE 2005 on an older full tower PC with a wireless—PCI card in it. I have loaded the Samba Client, smbclient, on this machine. This has worked out pretty well except for a maddeningly persistent problem—I can’t print from the Linux machine to the printer attached to the full-tower machine running Windows XP. In particular, pinterdrake, Mandriva’s printer setup program, can’t “see” the shared printer.

I have two HDDs in the experimental PC and when I “disengage” the Linux disk and “engage” the Windows XP disk in it, it prints to the shared printer and “sees” the shared files on the other full tower PC just fine.

When I reverse and engage the HDD with Mandriva Linux on it, I again can see and use the Windows shares on the other machine, but I again cannot “see” the shared printer.

There is a firewall on the switch-router which controls access to the Internet, but none of the other machines, Windows or Linux, are running a firewall at this time, so I don’t see how a blocked port or ports could be causing this problem.

Here are some of the things that I have tried, but none of them have affected the printing problem.

I tried swapping the wireless card for a “wired” Fast EtherNet card. The results were the same. (I could browse the shares on the Windows machine, but I couldn’t “see” the shared printer.)

I tried the latest version of Mandriva Linux 2006, but the results were the same.

I rebooted both of the computers repeatedly, but this did not help.

I set a parameter in the smb.conf file to be sure that the Windows XP machine was “elected” the browse master, but this did not help.

I installed the “Print Services for Unix” moiety on the Windows XP machine and then tried to connect to the printer there as if it were an LPD server, but this did not work either. Except for this one test, I have been running CUPS and a CUPS-compatible printer driver on the Linux machine.

I ran the Linux installation both with and without the LISA daemon, but neither configuration affected the problem.

Of course, I did some obvious things, like setting the “workgroup=” parameter in smb.conf to the name of my home network, but I already knew about that beforehand.

An odd point, when I have loaded SMB4K, an graphic Internet file transfer utility on the Linux machine, I can “see” the shared printer along with the shared file directories on the Windows machine.

I have tried to manually set up the shared printer in expert mode, using both the server and network names with the share name of the printer, but this didn’t help.

As a person with only moderate experience with Linux, maybe I’m missing something obvious here. Does anyone have any suggestions?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 12-12-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 627
Quote:
Originally Posted by Annatar
An odd point, when I have loaded SMB4K, an graphic Internet file transfer utility on the Linux machine, I can “see” the shared printer along with the shared file directories on the Windows machine.
samba lets unix share a filesystem in a manner that windows can use it ... what you're seeing is a share that linux sees ... however, afaik samba doesn't do anything for the printing part ...


if there was a way to get your printer it's own ip address on the network like an ip printer, you would have an easier time setting this up ...

i think your best bet is to get an add-on print server to get your printer on the network without needing to attach to a computer (i've seen a linksys version) ... then you could just give the printer an ip address and all the boxes on your network can use it ... setup as regular ip printer on windows box through tcpip port and as regular print server on linux/*nix side ... good luck!
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:25 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0