Before you go as far as MOUNTING a remote share or utilizing a remote
printer under Samba you should test to make sure that your Linux machine
is able to LOG IN to the winblows machine...
Try
"smbclient -L machine -U user"
Where "machine" is the name of the Winblows machine and "user" name you
are CURRENTLY using on your Winblows machine to log into the network...
You should see something like this
# smbclient -L whopper -U admin
added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
Password:
Sharename Type Comment
--------- ---- -------
CDROM Disk
E Disk
D Disk
C Disk
IPC$ IPC Remote Inter Process Communication
Server Comment
--------- -------
Workgroup Master
--------- -------
#
Notice that it prompted for a WINDOWS password, then displayed the
shares...
If this does not work for you, you either have SAMBA configured
incorrectly (did you set up your Linux box to act as a SAMBA server yet?
The samba client uses the settings from the /etc/smb.conf or
/etc/samba/smb.conf files for the server!) or the username and password
pairs you are giving are not recognized by Winblows.
Once you have something similar to the above displaying, use the
accepted login to set up your remote Winblows printing.
One step at a time makes things easier to debug.
-JMS
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Guilherme Cirne
Sent: Tuesday, August 14, 2001 10:32 AM
To: [EMAIL PROTECTED]; Linux-Newbie
Subject: Re: [newbie] Network Printer on Win98
Hi,
I tried using smbclient //Rodrigo/HP to test my connection where Rodrigo
is
the computer's name as defined in Network Neighbourhood properties under
Win98 and HP is the printer's share name. I get a reply saying that
connection to Rodrigo failed. If I try smbclient //Rodrigo/D where D is
the
share name of drive D: I get the same response.
I'm very new to Linux (I've been using/testing it for only 3 days) so
I'm
finding it very difficult to understand Samba and printing to a remote
printer. Any help would be welcome. Also any places on the Web where I
can
find some basic info would also be nice.
Thanks,
--
Guilherme Cirne
[EMAIL PROTECTED]
On Monday 13 August 2001 17:50, you wrote:
> Make SURE that Linux can log into the Windows machine with the
> connected printer...
>
> Use SMBCLIENT to test the connection...
>
> Then use the same username/password/domain entries you used for
> smbclient to set up the printer in Mandrake.
>
> -JMS
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]] On Behalf Of Guilherme Cirne
> Sent: Monday, August 13, 2001 4:10 PM
> To: Linux-Newbie
> Subject: [newbie] Network Printer on Win98
>
>
> I have just installed LM 8.0 for the first time and I'm having trouble
> getting my network connected printer to work. I have a 2-computer
> network. On one computer I have LM 8.0 and on the other I have Windows
> 98 with an HP
>
> DeskJet 695C printer connected to it. I have setup the printer under
> Linux (during system install and also through Mandrake Control Center)
> but when I
> try to print a test page it sometimes says that lp is ready and
printing
> and
> sometimes says that lp is not ready. Either way nothing gets printed.
>
> (Note: On the computer running linux I also have Win98 and the network
> printer works perfectly).
>
> What exactly do I have to enter in the field SMB server host? What
> else could I be doing wrong?
Want to buy your Pack or Services from MandrakeSoft?
Go to http://wwww.mandrakestore.com