LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 11-14-2011, 12:57 AM   #1
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Rep: Reputation: Disabled
Adding a network printer to Debian VB


I have Debian under VirtualBox and need to add network(any whatever) printer from my win2003 DC (or any workstation). Samba and CUPS configured. When im at /usr/sbin/lpadmin -p *desiredname* -v smb://userass@dc/printername -P /root/*desiredname*.ppd it just lacks forever *>* and nothing happens. I know this may be not enough info but im accessing the dc through samba well and just trust me cups is fine too. What could be the problem ? top doesnt show anything special too.

Last edited by eeluve; 11-14-2011 at 01:44 AM.
 
Old 11-14-2011, 08:57 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,360
Blog Entries: 16

Rep: Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146
For this to work, the virtual machine must be on your local network. You can accomplish this by using a bridged network in the VB settings, rather than the default NAT. Is this how you're connecting to the network?
 
Old 11-14-2011, 10:40 PM   #3
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Original Poster
Rep: Reputation: Disabled
Yea, i know. But somewhy i cant configure it through network bridge. Setting all the stuff as intended and it just wont ping anything. But that was indeed the idea, thank you. Guess setting my debian on VmWare or Citrix(anyway doing it atm) would do the trick ?
 
Old 11-15-2011, 08:51 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,360
Blog Entries: 16

Rep: Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146
I've never set up Debian, but I've set up other distros in VB and had no problem pinging devices on my network. I don't think I ever connected to my network printer though, so I don'thave any direct experience in making that work. But it darn well should say I! (cough cough).

Can you ping the VM from another computer on the network?

I'll fire up one of my VMs tomorrow and see about connecting to my printer. I don't use them regularly, just to distro hop and try new things.
 
Old 11-16-2011, 01:13 AM   #5
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Original Poster
Rep: Reputation: Disabled
Thank you alot for the feedback. Works just fine on VMWare, only had to configure samba winbind & kerberos to acces my domain. Fresh installed CUPS with browser setup did the rest of the job. Didnt even expect it to be this easy.

Last edited by eeluve; 11-16-2011 at 01:18 AM.
 
Old 11-16-2011, 02:33 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,360
Blog Entries: 16

Rep: Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146Reputation: 3146
Glad you're running. I just logged on to report that I created a fresh Debian VM on my Windows box, selecting "Desktop" in the select software dialog, and Debian found and installed my printer without my having to do anything out of the ordinary. My existing Fedora 15 VM did the same.
 
Old 11-16-2011, 10:51 PM   #7
eeluve
Member
 
Registered: Nov 2011
Location: Russia, SPb
Distribution: all of 'em
Posts: 49

Original Poster
Rep: Reputation: Disabled
Yea, when you get used to things it doesnt seem complicated at all. My fedora acts strange yet, but i might ask smthg later, for now i got everything i need there. Thank you again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Issue adding printer to Debian metalfiiish Linux - Newbie 6 10-07-2011 08:57 AM
[help] adding network printer r_balest Linux - Hardware 2 07-06-2006 11:04 PM
adding a network printer (CUPS) help.... jmgreen7 Debian 2 04-18-2005 01:20 PM
adding network printer guessme Linux - Hardware 0 07-08-2004 10:32 PM
Adding printer in Debian Sarge noxious Debian 2 06-28-2004 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration