Networking :: Printer Sharing Between Linxu Host And XP Guest
Jan 9, 2009
I'm looking for a SIMPLE solution for printer sharing. I have an HP printer attached to my Linux host (prints fine from there). I want my XP box to be able to use this printer as well. I can ping my XP box from my Linux box (and vice versa), and the XP box has the HP print driver installed.When I go into my XP box and try to add a printer, I click "A network printer or a printer attached to another computer", then "Connetc to a printer on the Internet or on a home office network" and enter my printer.I'm using the printer name as show in CUPS. I also tried it without port 631. Either way, I get an error message saying "Windows cannot connect to the printer. Either the printer name was typed incorrectly or the specified printer has lost its connection to the server.
i am running Ubuntu on my VMWare Workstation. i cant get it work the built in file sharing that comes with VMWare Workstation(by instaling the VMWare tools). but i want to share files between my XP(host) and Ubuntu. i googled this but came up with no good results.
I have a Win7 laptop with the latest version of VirtualBox installed. It's a dual core proc with ram to spare. So, I installed Slack64-13.1 and it rocks! I'm really impressed that Slack is running at what appears to be native speed, but in virtual machine. Hardware response is normal, WIFI and LAN are both working great for my normal tasks.So, I downloaded a few much needed patches, and new ISO image for one of my old desktop PCs. Now, my problem is I can't connect my USB cdwriter to my virtual slackware or share folders in the Win7 install with the virtual slackware. I read a few of tutorials on the Oracle VBox website, and several of the ones here on LQ, and none of them seem to solve my problems.
Centos 5 was set up for me on my server with VMware and XP SP3 as a guest. I have little to no knowledge of centos (or anything Linux) so i tend to leave well alone but i am trying to get a USB printer to work from my networked pcs through XP - Through VMware - Through Centos5 to the USB port on the back of my server. I am reasonably OK with XP but am not a techie so will probably need to be walked through this.
I can see the printer appearing on Centos' equivalent to device manager and when i print everything seems ok with the XP print queue clearing after a few seconds but nothing prints. At a guess i need some sort of software bridge- (is this SAMBA?).
My Windows guests see my VMware Host Only folders as \.hostShared Folders. But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder. How to look for the shares with Linux?
I have installed Red Hat Eterprise Linux as a Guest OS using VirtualBox on the Host OS Windows XP SP 2 on my PC. I want to access my local / intranet web site from this Guest OS which is running on the top of on Windows XP, the Host OS. I am not sure as to what IP Settings I need to do. Though I am able to access Internet from both the OSes. The IP of this Guest OS is:
I have installed Microsoft Self Loop Adapter (Autoconfiguration IP Address: 169.254.25.129) on the Host OS Windows XP. There is another adapter: VirtualBox Host-Only Network whose IP Address is: 192.168.56.1. So, how can we access intranet web site from the Host OS to Guest OS and vice versa. I also want to access this virtual Red Hat machine /console from within windows XP using PUTTY application. From Windows XP the Red Hat machine is pinging. But when I use the IP to access the machine through PUTTY it doesn't work.
My Windows guests see my VMware Host Only folders as \.hostShared Folders But when I try to see them from a Linux guest, all I get is frustrated. No permutation of that seems to work. Because the Windows guests see the shared folders I know the host is doing its part in providing them. After two days of not finding an answer on the VMware Workstation forum I finally figured out that the problem really is how to look for them with Linux. With Linux I can turn off all NICs accept the Host Only NIC, put smb://172.16.138.1 into the address bar and see all the shares on the host, but not the folder designated as the host only folder.
I have VMWare on a notebook, guest Windows running on Linux host. The network in that virtual machine is configured as NAT. I want to share/transfer files from Linux (host) to Windows (guest). So I leave sshd always running on the notebook, I go into Windows and run an SSH/SFTP program. My Wifi router has address 192.168.1.1, my desktop has address 192.168.1.2 and my notebook has address 192.168.1.3. On the notebook, that SSH/SFTP program connects to 192.168.1.3 (i.e. the notebook itself) and everything works fine. But it's a notebook, and when I leave home with it, 192.168.1.3 is no longer accessible. How can I let the guest OS connect to the host OS when I'm away from my Wifi network?
how to connect OS "ubuntu 9:10" as the host, with Qemu as a guest.?I can not connect from the host to geust, how to connect??I use Samba to connect the host to the guest.I was able to ping from guest to host, but from host to guest can not ping .. why?
I am running VMware workstation on a Linux host and WinXP guest using NAT. I have shared a folder on WinXP, and I am able to mount it on the linux host with: mount -t smbfs -o username=Administrator,password=mypasswd //192.168.100.129/Shared /mnt/tmp This works fine. However, I want to mount the same folder from a different linux machine (not the host).
I added port forwarding in /etc/vmware/vmnet8/nat/nat.conf: [incomingtcp] #445 = 192.168.100.129:445
If I run: mount -t smbfs -o username=Administrator,password=mypasswd //external_ip_number/Shared /mnt/tmp
I am getting: mount error 112 = Host is down Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
It doesn't work even if I try the above command from the linux host itself. It only works if I use the internal IP number. I suspect vmware is not forwarding port 445 but I am not sure how to verify it. I am not running smbd on the linux host, in case that make any difference. I didn't think that was required because the server is really on the WinXP and the linux is just a client.
I'm trying to ssh into a virtual installation of ubuntu I have, named "ubuntu-x86" but I can't get it to work for some reason. I have two network cards, both assigned to NAT, on the virtual machine, but one has a static IP address, while the other uses DHCP. For some reason, the command:
I've set up ubuntu server 10.04 x64 with kvm and bridged networking and installed win server 2008 as a guest os. The guest os has full access to the network including lan/wan but the host os can only reach my lan and not the wan. This is true even when the guest machine is powered off?I have to admit that my knowledge of networking, particularly with respect to linux is very flakey but surely if the guest has internet access this should also apply to the host? My only suggestion is an issue with mac addresses but i don't know where to start. Has anybody ran into this problem before?
Recently I've been unable to load web pages, hosted on my Ubuntu Guest in Apache, from my OSX Host. In fact, I can no longer even ping the Guest OS from the Host. In the past, when I did ifconfig on the Guest, I got an IP of 10.0.1.n. Now I'm getting 10.0.2.15--the default NAT Address. The thing is, I didn't change any settings recently. What I did do is run software update for OSX, Ubuntu, and updated VirtBox.
why I can no longer access my Guest OS from my Host? I spent hours on this last night, to no avail. What would cause the Guest IP to change from 10.0.1.n to 10.0.2.15? As I say, I manually made no config changes.
Debian Testing host, Winduhs XP guest. Winduhs is not allowed to directly access The Internets, and I am not setting up bridging as that makes it possible for the guest to mount layer 2 attacks on the LAN. I need for the guest to tunnel through the host without being able to see anything on the host, so it can then get access to The Internets, while being protected by iptables (Shorewall).
Used to be with VMware I had host-only set and the guest in a different class c (192.168.2.1) from the host (192.168.1.1) I turned on ipforwarding, set Shorewall rules, and it all worked. Now I have everything set with VirtualBox, and it does not work. Guest can ping its interface but not host. Host can ping vboxnet0. Host is supposed to masquerade guest's 192.168.2.1 through to the default out at 192.168.1.1, but it's not. I think a clue is in routing, but I don't know what's wrong.
I just installed an HP Officejet 6200 on a Slackware 12.1 machine. It uses a USB interface. If I am on the machine, I can print to it with no problem. When I am on my Debian or Centos machines, I cannot. I have midified the cupsd.conf file to allow everyone to connect to it but so far have not had any success. Port 631 is open on all machines. I have explicitly added a hosts allow 192.168.0.0/24 line in several portions of the conf file with no luck. If I use the cups interface on any of the machines using localhost:631 as the address, I can not only see the printer I can print to it, but I noticed, I am actually attached to the Slackware machine where the printer is located. Can someone suggest a debugging method to help?
I am having problems trying to share a printer on my desktop. The printer is an HP Laserjet 1020, and the desktop is running 64-bit Ubuntu Karmic. None of the other boxes on the network (wired/wireless, 32-bit/64-bit, Ubuntu Lucid/Win7/XP) can access the printer.
I have checked all of the appropriate boxes in printer properties and server settings. When I try to install the printer on the other systems, I am asked for a username and password on the desktop. I set up a user named "printer" and gave it a password, but when I try to use that username/password to install the printer on one of the other systems, I get an "access denied" error. All of the networked systems can see each other, and access shared files.
i connect to the internet via my nokia 7230 as a modem.i am quite satisfied with the speed i get(around 40KB/s). yesterday i could share the internet connection wi-fi between XP host and ubuntu guest. i just can't figure out how to do this with ubuntu host and XP guest.i am able to create a wireless network...and my XP also connects to that. but the problem comes with the internet sharing part. also i wanted to know, what is the option "Auto-eth0" under wired connection in network settings.
The problem is it won't. I have an Ubuntu (11.04) computer cabled to a Belkin wireless router. The Brother printer is usb connected to the Ubuntu box - there is no problem printing directly. However, I need to print from a separate wireless connected Win7 box to the printer on the Ubuntu box and this does not work.
The Win7 can see all other Win computers on the network, but not the Ubuntu. Answers at my level gratefully received (eg: it took me two weeks, many hours and 3 re-installs to get dvds to play on Ubuntu 10). Current printer sharing information on the internet is either hopelessly above my head or outdated.
I have got a wireless network in my house with a router as the hub and my Linux Laptop and Macbook connecting to it. I have got a wireless Kodak printer which the Macbook uses, but they do not have any drivers for Linux. I have enabled ssh for both the laptops and have enabled "Print sharing" on the Macbook. Can I access the printer from the Linux laptop via the Macbook? When I have sshed to the macbook, the kodak printer comes up in the list of printers to choose from...but the printing job just goes to the queue, but does not actually complete. Is this because I have not got the drivers for the linux laptop?
host is windows 2003 server 64-bit guest is ubuntu 9.04 server 64bit Qemu : 0.11.1 Qemu manager: 7.0
from Qemu manager, if network card is using User Networking, it's a NAT and I can see that Guest Ubuntu has an ip address 10.0.2.15 and is able to access the internet. However, as Guest ubuntu is running server so I want to do use Tap networking and I assue with Tap, the Guest ubuntu will get an ip address which is in the same subnet as host machine by dhcp. so from Qemu Manager 7.0, I changed Network card to be:
NE2000PCI Vlan Number =0 VLAN Type: Tap Networking Mac address: tap0's mac address from host TAP Network Adpator: Tap0
Note that tap0 was created by openvpn. and then fired Ubuntu guest, ifconfig shows no ip address on eth0 (which has the same mac address as Tap0) so the guest Ubuntu has no ip address and can't access public.
I have a laptop on which i connect to internet using dialup modem.my laptop is also connected to a linux box via lan.now i want to connect to internet from the linux box, using internet connnection sharing from widows xp installed on laptop
I have a Fedora 11 box with an HP Laserjet 1000 (connected by USB) a Windows XP machineBoth are on the same network. I am desperately trying to share the printer to the Windows XP box using IPP. The Windows XP machine recognizes the printer queue, configures correctly and then ... nothing. It simply does not print ! Printer sharing worked perfectly in Fedora 10, with CUPS 1.3, but something seems to have broken.I used the guide available at this adress and tried all mentionned possibilites
I have a Samsung CLX 3175 connected via CUPS to a Ubuntu box running 11.04. After installing the Samsung Unified Printer Driver as described in this post [URL] the printer works perfectly under Linux, I even got network scanning to work under Windows via TwainSane.
The big problem is network printing from Windows over Samba, though (although I thought that this should be easier to set up than scanning..). Even after hours of trying, I could not get it to print a single page spooled from my Windows computer.the print jobs do show up in CUPS as finished, but do not actually get processed. Could this be a rights-related thing? Depending of one setting in smb.conf (namely, "cups options = raw"), the printer even makes some noise and warms up when I spool a new job -- but it does not print.
My setup is the following:
- CUPS in the current version with Samsung Driver - Samba 3.5.8 - Windows XP and 7 clients
I installed it on a desktop today to try it out. So far I'm loving it and have gotten everything to work except for one thing:
There's a printer connected to it (HP PSC 1600), and I'd like the other computers on the network to be able to print to that computer. The other computers are running Windows 7, and one is running Snow Leopard.
When I plugged in the printer, Ubuntu recognized it almost immediately and installed it. Wonderful! I then went ahead and set it to be Shared, and hoped for the best. Neither the Windows machine or the OS X machine could find the printer...even after I pointed them directly at what I thought was the CUPS address (\mycomputername:631). To make matters even more confusing, I was able to set up shared folders and have the other computers be able to view them.
I have: 1) A desktop PC running Ubuntu 10.04 and a Virtualbox guest, Windows XP. My printer is connected and operates via XP. Yep, its a Windows-only printer, but the VB file-sharing allows me to print Ubuntu files. 2.) Another desktop running Puppy Linux. 3.) A netbook running XP as a native install.
No. 1 and 2 are connected to a Level One router by ethernet cable. No. 3 is wireless. All 3 machines work fine independently, with no problems accessing the internet. Getting these machines to "see" each other seems to be harder than falling off a log! How to share files and the printer, especially on how to configure the router. The manual that came with it doesn't seem to explain how to do this. It assumes that all your devices are either wired or wireless, with no hints about how to network wired and wireless machines together.
I want to learn how to build a Linux network from scratch that includes file and printer sharing, intranet. I have an intermediate-level knowledge of Windows networking. Can anyone suggest a book or online tutorial that I can learn from? Now let me be clear: I am finding no shortage of tutorials on the web. However, too many are old or incomplete.
A little extra info: I am a teacher/network admin for a small private school with about 50 student computers (that I wish to become Linux machines in the future) and about 10 staff computers (mostly Windows laptops--I do not expect the staff to convert to Linux as readily), I currently do not have an intranet implemented.