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.
[OS=Debian-Sarge]
A couple of obvious questions first that aren't so obvious to me.
I have found several tutorials and they always include "password" in the instructions but I have no password setup on the Windows machine. Do I just leave the space blank or what?
They ask for server name. Does that mean the name of the Windows computer? Can I just use the IP?
I thought using the KDE printer Wizard would be easiest but the selection for Samba to Windows is grayed out. Does this mean I may be missing a component? I have Installed Samba, , Cups, and Foo packages that seemed relevant.
In one command line how-to I read it suggests running '/user/bin/smbclient -L WinPc name -U username" to create a connection to Windows but I get "file not found". Is this a file I need to create. If so how?
Or if someone can point me to a really easy tutorial on printing from Debian to a printer on a Windows machine I would appreciate it.
Easiest way to do it, if KDE is giving you problems, is to do it through the CUPS web interface. Head to http://localhost:631 and click on Manage printers, then Add Printer. From there, fill in the text boxes, and on the Device selection, select "Windows Printer via SAMBA". On the next page, for the printer address, use the following format:
on the Device selection, select "Windows Printer via SAMBA"
That almost worked but I ran in to a problem similar to what I had with the KDE Wizard. In this case in the Device section "Windows Printer via SAMBA" was not one of the available options.
Is there perhaps a package missing I need to install? Should I try uninstalling Samba and reinstalling? (I probably will before you answer.)
Thanks for trying.
Edit: Tried removing (--purge) Samba and reinstalling but still do not have the option to connect to Windows via Samba
That should install what's needed to use other computer's samba shares, as well as any dependencies. After that, try configuring through KDE again, and see if the SAMBA option's there.
Installing smbclient smbfs got the Wizards working but I still can't print to Windows. Basically when I try to print nothing happens. If I use "Test" in the KDE print manager it says, "successfully sent" but nothing happens. I also tried printing from an editor but nothing.
I have tried all tests with the Windows firewall turned off. I have printer sharing turned on in Windows. (OS is Win2K) I can ping Windows. The two computers are connected through a hub.
In my search I found the command:
/usr/bin/smbclient -L [computer_name -U [user_name] to test if I can connect to the Windows computer. When I try that I get:
Session request to [computer_name]failed. (not listening on called name)
Session request to *SMBSERVER failed. (not listening on called name)
I tried using both Computer name and IP number. I used the name of the user on the computer where I use the printer. I really don't know what to try next. I have deleted the printer setup several times and redid it but no change. Also tried adding workgroup to printer address. Again no change.
DarkElf109 Replied That almost worked but I ran in to a problem similar to what I had with the KDE Wizard. In this case in the Device section "Windows Printer via SAMBA" was not one of the available options.
DarkElf was not referring to the KDE Printer Manager - "Windows Printer via SAMBA" is an option with the http://localhost:631 printer interface.
Quote:
Edit: Tried removing (--purge) Samba and reinstalling but still do not have the option to connect to Windows via Samba
If you mean "swaret --purge", that does not uninstall the application - it only removes the setup files. To uninstall, use "swaret --remove".
I can not open the printer interface: http://localhost:631 . should i be able to open it in firefox??
note: I am not in a home network but in an office network.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.