[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: SMB Printer



On Tue, 2003-07-22 at 10:13, Tim Waugh wrote:
> It uses this command to determine whether the share is accessible:
> 
> smbclient //machine/share [passwd] [-W group] -N -P -c quit [-U user]
> 
> Does that command give any useful errors when you substitute in the
> values you're using?
> 
> Tim.
> */

[matt alt oarlocks]$ smbclient //connie/hp -N -P -c quit
added interface ip=192.168.1.113 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 12.212.20.228:139 (Connection refused)
Error connecting to 12.212.20.228 (Connection refused)
Connection to connie failed

[matt alt oarlocks]$ smbclient //connie/hp *password* -N -P -c quit
added interface ip=192.168.1.113 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 12.212.20.228:139 (Connection refused)
Error connecting to 12.212.20.228 (Connection refused)
Connection to connie failed

[matt alt oarlocks]$ smbclient //192.168.1.103/hp -N -P -c quit
added interface ip=192.168.1.113 bcast=192.168.1.255 nmask=255.255.255.0
session request to 192.168.1.103 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)

[matt alt oarlocks]$ smbclient //connie/hp -N -P
added interface ip=192.168.1.113 bcast=192.168.1.255 nmask=255.255.255.0
error connecting to 12.212.20.228:139 (Connection refused)
Error connecting to 12.212.20.228 (Connection refused)
Connection to connie failed

[matt alt oarlocks]$ smbclient -L 192.168.1.103
added interface ip=192.168.1.113 bcast=192.168.1.255 nmask=255.255.255.0
session request to 192.168.1.103 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)

I then added the windows computer name and ip address to /etc/hosts. 
After this it worked fine.  I didn't use to do this and would rather not
have to.  Oh well, I would settle for understanding why it changed.

[matt alt oarlocks]$ smbclient -L -N connie
added interface ip=192.168.1.113 bcast=192.168.1.255 nmask=255.255.255.0
                                                                                
        Sharename      Type      Comment
        ---------      ----      -------
        MY DOCUMENTS   Disk
        PRINTER$       Disk
        HP             Printer
        IPC$           IPC       Remote Inter Process Communication
                                                                                
        Server               Comment
        ---------            -------
        CONNIE
                                                                                
        Workgroup            Master
        ---------            -------
        @HOME                CONNIE
        WORKGROUP            MICHAEL

I just remembered that this problem starting giving me some trouble
about the same time as another problem.  Back when I am not sure maybe
7.2 or 7.3 and before, I could type "google" into the address bar of any
browser (including konq and nautilus) and it would mess around and
figure it out.  Now it goes to 192.168.1.1 and asks for my router
password.  Is this related?  Differences with /etc/hosts or /etc/resolv
in standard install or something?

thanks,


-- 
Matt Whiteley <matt-whiteley comcast net>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]