Ubuntu 11.04 talking to Windows 7 ... the easy way?
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.
Ubuntu 11.04 talking to Windows 7 ... the easy way?
My wife uses Windows 7, I use Ubuntu 11.04. We share a wireless router (Netgear). My computer is in my Office, her computer is tucked away in the corner of the living room. She has a Samsung Laser Printer wired to her computer. I need to find a way of connecting to the Laser Printer through her computer. I am not a technical wizzkid, I'm an author, so I would be grateful if someone would help me by sending simple, step by step instructions on how to achieve the connection between my computer and the wired laser printer connected to the computer running Windows 7.
Thanks for the link. I'll give it a go as soon as my wife as finished working on her PC.
I'll let you know if it worked in a day or two ... keeping my fingers crossed
Okay, I tried to follow the instructions, but without success. Maybe, somebody has the answer to the problem as I certainly don't. I managed to install my wife's printer so that it shows on my computer ... however, in the printer settings it says this.
Description; Samsung CLP-620
Location; Living Room (is that the answer that was expected?)
Device URI; I put in the Computer IPv4 Address and the Gateway Address (is that correct?)
Make and Model; Samsung CLP-620 Foomatic/foo2qpdl (Recommended).
Printer State; idle, unable to connect to CIFS host, will try again in 60 seconds.
The tutorial recommended above does not give all the answers ... unless I have step for step instructions on how and what to type into the relevant boxes this adventure into techie land will have been in vain ... I just don't have the technical know how to complete the task.
Are you getting the information you posted from CUPS or from the Ubuntu printer configuration?
It would be helpful if you would let us know what steps worked and what didn't and whether you had any warning/error messages.
The printer is plugged in and turned on?
Is Samba running? If it's not, start Samba and run
"smbclient -L [print server]"
where printserver = the name or the ip of the Windows computer.
That will tell you how Linux is seeing the server name and the printer sharename. You can then use that information to configure the network printer in CUPS.
Also, verify that the printer is properly shared under Windows.
Edit: It's been a while since I had to set something like this up, but I think you have to have the Samba daemon running to print to Windows using CUPS.
Is Samba running? If it's not, start Samba and run
"smbclient -L [print server]"
where printserver = the name or the ip of the Windows computer.
That will tell you how Linux is seeing the server name and the printer sharename. You can then use that information to configure the network printer in CUPS.
Also, verify that the printer is properly shared under Windows.
Edit: It's been a while since I had to set something like this up, but I think you have to have the Samba daemon running to print to Windows using CUPS.
Here is the message I got when I typed in smbclient etc ...
gae33@gael33:~$ smbclient -l 192.168.0.1
Usage: smbclient [-?EgBVNkPeC] [-?|--help] [--usage]
[-R|--name-resolve=NAME-RESOLVE-ORDER] [-M|--message=HOST]
[-I|--ip-address=IP] [-E|--stderr] [-L|--list=HOST]
[-m|--max-protocol=LEVEL] [-T|--tar=<c|x>IXFqgbNan]
[-D|--directory=DIR] [-c|--command=STRING] [-b|--send-buffer=BYTES]
[-p|--port=PORT] [-g|--grepable] [-B|--browse]
[-d|--debuglevel=DEBUGLEVEL] [-s|--configfile=CONFIGFILE]
[-l|--log-basename=LOGFILEBASE] [-V|--version]
[-O|--socket-options=SOCKETOPTIONS] [-n|--netbiosname=NETBIOSNAME]
[-W|--workgroup=WORKGROUP] [-i|--scope=SCOPE] [-U|--user=USERNAME]
[-N|--no-pass] [-k|--kerberos] [-A|--authentication-file=FILE]
[-S|--signing=on|off|required] [-P|--machine-pass] [-e|--encrypt]
[-C|--use-ccache] service <password>
gae33@gael33:~$
Unfortunately, the techie speak is beyond my comprehension ... In other words I don't understand what any of this means
Are you getting the information you posted from CUPS or from the Ubuntu printer configuration?
It would be helpful if you would let us know what steps worked and what didn't and whether you had any warning/error messages.
The printer is plugged in and turned on?
My wife's operating system is Windows 7 and the setup for network printers is completely different than the one shown in the tutorial ... without a guide I am lost, sorry.
You were quite right about the tutorial being more up to date, however, I followed the instructions to the letter and it still didn't work ... thanks for all your help and patience.
I'm obviously not knowledgeable enough to complete this exercise at this moment in time. Perhaps in the future
The first time I set up networked printing to a Windows printer, it took me several hours across several Saturdays to get it working, not because it's hard, but because I had to learn. I also stumbled over a great page on how to do it written by someone who had just learned how, so it was written in just the right language for those of us who didn't know. Unfortunately, that page is long gone.
Looking at the output of smbclient that you posted, I would guess that the syntax of the command was not proper. When that happens, Linux often will show an abbreviated "help" display.
Let's say the ip address of your wife's computer is 192.168.1.107.
The command would then be
Code:
smbclient -L 192.168.1.107
The response should like like this, after entering the appropriate password:
Code:
Domain=[NARWHAL] OS=[Windows 7 Professional 7601 Service Pack 1] Server=[Windows 7 Professional 6.1]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
F$ Disk Default share
IPC$ IPC Remote IPC
(text snipped)
If the computer's name is NARWHAL and local DNS is working, entering
Code:
smbclient -L narwhal
should elicit a similar reponse (case doesn't matter in this specific example--I just tested).
(My printer is directly on the network, so I can't actually show a Windows printer in the output of the command, but it would be there. You would then have the proper server name and printer name to enter in the CUPS configuration.)
He used lowercase L, whereas the instruction (post #7) was (correctly) to use upper-case, and you can see that confirmed in the output he obtained from the above cmd.
@gael33; if you read this you need to know that Linux is case sensitive for everything ie cmds, options, filenames etc.
HTH
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.