Connecting to MSSQL Windows authentication from Linux
Hi,
From linux (OIM) environment we need to connect to window authenticated MSSQL server.In windows we set sql.dll file.How to do in linux?
Thanks!
There is a database library that can provide you with the additional options. It's here http://jtds.sourceforge.net/
With it, you can provide domain authentication credentials.
-Kevin
Similar Messages
-
Unable to connect to Oracle database running on Windows machine from linux.
Hi,
I'm not able to connect to oracle database running on Windows machine from Linux machine. I'm geting the below mentioned error. I have given below the code I used to connect to database and database propertes.Do I need to use any specific driver?
Please help me.
Thanks,
Sunjyoti
Code :
import oracle.jdbc.pool.OracleDataSource;
import java.sql.Connection;
import java.util.*;
import java.sql.*;
import java.io.*;
class try2{
public static void main(String args[]) {
try {
System.out.println("hi");
// Load the properties file to get the connection information
Properties prop = new Properties();
prop.load(new FileInputStream("/home/sreejith/EDIReader/Connection.properties"));
// Create a OracleDataSource instance
OracleDataSource ods = new OracleDataSource();
System.out.println("prop is "+prop);
configureDataSource(ods, prop);
Connection conn=null;
// Create a connection object
conn = ods.getConnection();
System.out.println("Connection is"+conn);
// Sets the auto-commit property for the connection to be false.
conn.setAutoCommit(false);
} catch (SQLException sqlEx){ // Handle SQL Errors
System.out.println("In exception "+sqlEx);
} catch(Exception excep) { // Handle other errors
System.out.println(" Exception "+ excep.toString());
private static void configureDataSource(OracleDataSource ods, Properties prop) {
// Database Host Name
ods.setServerName(prop.getProperty("HostName"));
// Set the database SID
ods.setDatabaseName(prop.getProperty("SID"));
// Set database port
ods.setPortNumber( new Integer( prop.getProperty("Port") ).intValue());
// Set the driver type
ods.setDriverType ("thin");
// Sets the user name
ods.setUser(prop.getProperty("UserName"));
// Sets the password
ods.setPassword(prop.getProperty("Password"));
Connection properties :
# Your Database Connection details
HostName = 10.20.3.19
SID = EDIREAD
Port = 1521
UserName = dbuser
Password = dbuser
Error I'm getting is
error while trying to connect with odbc datasource
[root@iflexpau2217 EDIReader]# java try2
hi
prop is {HostName=10.20.3.19, Password=dbuser, UserName=dbuser, SID=EDIREAD, Port=1521}
In exception java.sql.SQLException: Io exception: The Network Adapter could not establish the connection
Also I tried to connect with weblogic JDBC driver
Code is here:
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.sql.Blob;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.SQLException;
//import com.entrust.toolkit.util.ByteArray;
public class trial{
public static void main(String args[]) throws IOException{
System.out.println("hi");
Connection p_conn = null;
PreparedStatement xml_insert = null;
try {
// Load the JDBC driver
System.out.println("hi2");
// String driverName = "oracle.jdbc.driver.OracleDriver";
String driverName = "weblogic.jdbc.oracle.OracleDriver";
System.out.println("hi2");
Class.forName(driverName);
// Create a connection to the database
String serverName = "10.20.3.19";
String portNumber = "1521";
String sid = "EDIREAD";
//String url = "jdbc:oracle:thin:@" + serverName + ":" + portNumber + ":" + sid;
String url = "jdbc:bea:oracle://10.20.3.19:1521";
String username = "dbuser";
String password = "dbuser";
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
p_conn = DriverManager.getConnection(url, username, password);
System.out.println("connection is:"+p_conn+"user name is"+username+"password is"+password);
xml_insert=p_conn.prepareStatement("insert into PRTB_SUBUNIT (SUBUNT_ID,SUBUNT_SUB_UNIT,SUBUNT_PHYUNT_ID) values (?,?,?)");
//InputStream in=null;
File l_file=new File("/home/sreejith/EDIReader/propertyfiles/inputfile/BUG_10802_ES_CSB19_68.txt");
BufferedReader input =null;
input=new BufferedReader(new FileReader(l_file));
String line = null;
StringBuffer trial=new StringBuffer();
while (( line = input.readLine()) != null){
trial.append(line);
trial.append(System.getProperty("line.separator"));
//InputStream is = new BufferedInputStream(new FileInputStream(l_file));
System.out.println(trial.toString());
//Blob b ;
//byte[] bytes=trial.toString().getBytes();
//System.out.println("Size-->"+bytes.length);
xml_insert.setString(1,new String("SpecailChar"));
//xml_insert.setBinaryStream(2,new ByteArrayInputStream(bytes),15920);
xml_insert.setString(3,"SpecailChar");
xml_insert.executeUpdate();
p_conn.commit();
} catch (ClassNotFoundException e) {
System.out.println("ClassNotFoundException:"+e.getMessage());
// Could not find the database driver
} catch (SQLException e) {
System.out.println("SQEXCEPTIN:"+e.getMessage());
// Could not connect to the database
}catch (FileNotFoundException e) {
System.out.println("filenot found:"+e.getMessage());
// Could not connect to the database
Error I'm getting is
error while trying with jdbc:
SQEXCEPTIN:[BEA][Oracle JDBC Driver]Error establishing socket to host and port: 10.20.3.19:1521. Reason: Connection refusedIs the Windows firewall active? Have you enabled the port on the firewall, if it is?
-
How can I connect to a windows server from a mac book pro
How can I connect to a windows server from a mac book pre?
I have a Dell Power Edge T110 ii in the office that has files and software I need to access when away from the office, when I am on the road I use a mac book pro and an iPad.
I am sorry if I am being a bit vague but this is all new to me, I have tried 3 IT guys but they can not find a way.
Any help is greatly appeciated. -
Java code to connect to remote windows machine from local machine
Hi,
I have developed a code to connecting remote windows M/C from local M/C by using SSH2 (ganymed-ssh2-build209.jar) API. when I run the code its giving below error. Can any one please help me how to resolve it. And also please let me know, is there any other way to connect remote windows system using java code.
Exception.
java.io.IOException: There was a problem while talking to <host name>:22
at ch.ethz.ssh2.Connection.connect(Connection.java:642)
at ch.ethz.ssh2.Connection.connect(Connection.java:460)
at Connect.RemoteServer.ConnectWindowsServer.runCommand(ConnectWindowsServer.java:55)
at Connect.RemoteServer.ConnectWindowsServer.main(ConnectWindowsServer.java:27)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at ch.ethz.ssh2.transport.TransportManager.initialize(TransportManager.java:299)
at ch.ethz.ssh2.Connection.connect(Connection.java:591)
... 3 more
JAVA Code
import ch.ethz.ssh2.Connection;
import ch.ethz.ssh2.Session;
public void setAuthenticationInfo(String hostname, String username,String password) {
this.host = hostname;
this.userid = username;
this.password = password;
this.recentCommand = "";
System.out.println("setting authentication info completed for host=" + host );
public void runCommand() throws Exception {
try{
// Setup ssh session with endpoint
System.out.println("starting connection with " + host);
Connection connection = new Connection(host);
System.out.println("connection object created..");
connection.connect();
System.out.println("Connect to connection");
connection.authenticateWithPassword(userid,password);
System.out.println(connection.isAuthenticationComplete());
Session session = connection.openSession();
System.out.println("connected");
}catch (Exception e) {
e.printStackTrace();
Regards,
PraveenHi baftos,
I tried to telnet remote windows machine from my local machine on port 23, its not connected and given error message like "Connect failed".
As your response, if we can telnet to remote windows machine from local machine then we can connect from Java. Is it correct ?.
Can you please help me to resolve this issue. And also please confirm the port (23) is correct, which I was used to connect remote machine from telnet.
Regards,
Praveen -
NTLMv2 authentication from linux
Hello All,
I spent good amount of time on Internet tyring to figure this out, without any success. So i thought i would better ask.
We use corporate proxy to access internet. We have both linux & win box. We access internet from linux, via firefox, after authenticating with our win domain id/pass.
Recently our proxy authentication module was upgraded/configured to accept only NTLMv2. After this, firefox keeps on prompting for id/pass as if we provided in-correct credentials.
From whatever i read, NTLMv2 is an authentication protocol. A bit advanced from LM or NTLM protocols.
So i am not sure whether firefox doesn't support NTLMv2 or should i install some package helping firefox to speak NTLMv2 or i am missing something.
Cheers,
Uday.It's an old post but the basic problem is that the code shown doesn't implement NTLMv2 authentication at all. It just implements basic password authentication.
Does anyone know whether Sun's Linux implementation of JDK 1.6 supports NTLMv2 authentication protocol?@OP: you should have read the link you provided! It clearly says that NTLM authentication via java.net.Authenticator only works on Windows platforms, and it works by not calling your installed Authenticator. If yours gets called, it is not working or not available.
There are other problems:
public static PrintStream setupPrintStream( String fileName ) throws FileNotFoundException
PrintStream out = null;
File file = new File( fileName );
file.delete();
FileOutputStream stream = new FileOutputStream(fileName, true);
out = new PrintStream( stream );
return out;
}All that could be reduced to new PrintStream(new FileOutputStream(fileName), false). You don't even need the method. -
SQL Server connections using SSPI (Windows Authentication)
v1.1 now has the ability to connect to third party databases. I have found a small bug with connecting to SQL Server though. Here are the steps to reproduce -
1. Download the jTDS JDBC Driver driver
2. Extract jtds-1.2.jar from the zip file to sqldeveloper\jdbc\
3. Extract Sso\ntlmauth.dll from the zip file to C:\Windows\System32\
4. In SQL Developer, go to Tools > Preferences > Database > Third Party JDBC Drivers, and click Add Entry...
5. Select sqldeveloper\jdbc\jtds-1.2.jar
6. Click OK
7. Right click on the Connections node and select New Connection...
8. Set the following values -
* Connection Name: SERVER_NAME
* Username: LEAVE BLANK (to use Windows Authentication)
* Password: LEAVE BLANK (to use Windows Authentication)
* Save Password: TICKED
* SQLServer > Hostname: SERVER_NAME
9. Click Test. You get a "Success" message.
10. However when you click Connect, it refuses to let you continue without providing a Username/Password. It should allow blank username/password because I have explicitly ticked "Save Password", and a blank username/password combination indicates that I wish to use SSPI (Windows Authentication)Windows authentication is not supported in this release.
-
Windows authentication from an enterprise application
Hi All,
Does anyone has any idea how to go about implementing windows active directory authentication from an enterprise application.The requirement is that the users across a particular domain should be able to use the application by using their windows login/password.
ThanksI think you should look at Sun or Oracle Identity Management Solutions
These product offers what you are looking for and they also have SDKs, so you can really extend their strength.
Regards,
Michael -
SQL Developer: Windows Authentication on Linux
Hello.
I have trouble getting SQL Developer to authenticate using "windows authentication" and a MS SQL server 2005. I'm on a Linux OS. Authenticating "normally" is no problem, however only windows authentication will be allowed in near future. Does anyone have success using this option? It simply gives me an error that it is unable to login.
Hope anyone can be of help. Thanks in advance.
StefanJust wondering why the option would be there in the linux version (which is different in other areas than the windows one).
Is it not possible using Kerberos perhaps?
regards -
PDW connection manager and Windows authentication
I'm new to SSIS 2012, but I've got the SSDT BI 2012 (x86) installed. I'm also connecting to a SQL Server 2012 Parallel Data Warehouse. I've been able to connect to it via SQL Server Object Explorer with Windows Authentication. No worries.
However, in setting up the PDW Connection Manager in my project, the dialogue won't allow for Windows Authentication.
How do I connect with Windows Authentication?how did you set up the PDW Connection Manager in your project? i couldn't find the PDW Connection Manager in SSIS. could you please post more details?
-
I can't connect to my Windows machine from my G4 Others Can
Hi,
I'm new here, I'm sure this has come up before, but I couldn't find a solution in the forum.
I'm trying to connect a G4 running 10.3.8 to a Windows 7 PC unsuccessfully. However I can connect to it and share with both an Intell based PowerMac and a newer Power PC G5.
The G4 sees the other computer on the network, but when I enter its username and password I get the message,
"The alias named xxxxxxxxxxx could not be opened because the original item can not be found."
Also, the error message on the console reads,
"mount smbfs: unable to list resources: syserr=function not implimented
I can however successfully ping it through the terminal.
I've pretty much run out of ideas, so if anyone would be able to help I'd really appriciate it.
Thank you,
EricHmmm, link works here...
Archived - Mac OS X 10.4: Error -36 alert displays when connecting to a Windows server
This article has been archived and is no longer updated by Apple.
Symptoms
Mac OS X 10.4: Error -36 alert displays when connecting to a Samba or Windows server
After upgrading from Mac OS X 10.3.x to Mac OS X 10.4, you may get an error message when you try to connect to a Samba or Windows (SMB/CIFS) server. A Samba or Windows (SMB/CIFS) server includes servers operating on Microsoft Windows and other operating systems that use Samba for SMB/CIFS services.
If the connection is unsuccessful, the following error message may appear:
The Finder cannot complete the operation because some of the data in smb://........ could not be read or written. (Error code -36).
If you check the Console (/Applications/Utilities/), you will also see this error message:
mount_smbfs: session setup phase failed
Resolution
This error can occur if your Mac OS X 10.4 client is trying to connect to a Samba or Windows (SMB/CIFS) server that only supports plain text passwords. If you do not see the above message in the Console, you are not experiencing this issue and should try normal troubleshooting
Unlike Mac OS X 10.3, the Mac OS X 10.4 SMB/CIFS client by default only supports encrypted passwords. Most modern Samba or Windows (SMB/CIFS) servers use encrypted passwords by default, while some Samba servers might have to be reconfigured.
You should consider contacting the owner or system administrator of the Samba or Windows (SMB/CIFS) server to which you are trying to connect and encourage them to disable plain text passwords and start using encrypted ones. If the server cannot be reconfigured to support encrypted passwords, you can configure Mac OS X 10.4 SMB/CIFS client to send plain text passwords.
Warning: If you configure your computer to allow connections to Samba or Windows (SMB/CIFS) servers using plain text passwords, when you attempt to make any connection to such a Samba or Windows (SMB/CIFS) server, your password will be sent "in the clear". This means that it is possible for someone who is monitoring your connection to see your password. This could lead to someone compromising the Samba or Windows (SMB/CIFS) server. We strongly recommend that you configure your Samba or Windows (SMB/CIFS) servers to exclusively use encrypted passwords.
Follow the steps below to configure your computer to use plain text passwords to make SMB/CIFS connections when the specified Samba or Windows (SMB/CIFS) server does not support encrypted passwords. (You must be an administrator to do these steps.)
Make sure that you are not currently connected to any Samba or Windows (SMB/CIFS) servers and that you do not have any Samba or Windows-related error messages open.
Open the Terminal (/Applications/Utilities/).
At the prompt, type: sudo pico /etc/nsmb.conf
Press Return.
Enter your password when prompted, then press Return again.
You should see an empty file and a "New File" notice at the bottom of the pico window. If you do not see the "New File" notice, this file already exists.
Enter the following into the file so that it appears as follows:
[default]
minauth=none
Save the file (press Control-O), press Return, then exit pico (Control-X).
Type: sudo chmod a+r /etc/nsmb.conf
Press Return.
Restart your computer.
Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Also, does the PC connect to that Mac if you enable Windoes Sharing on the Mac? -
How to make use of Windows authentication from my Java application
I have a Java application, Instead I design one more login page for my application, I want to make use of Windows Authentication.
How should I use that windows authentication in my java application
can any help me in suggesting a solutionHow will they be able to access your application if they aren't users of the system?
-
Hi,
Has anybody had any success in getting a Linux Strongswan client (or Openswan) to connect to a win2012 Advanced Firewall using certificates and IPSec? My Security Connection Rule requires authentication both inbound and outbound. The cert is
installed correctly on the Linux box.
I can get a connection using pre-shared keys, but haven't been able to establish a Quick Mode session when using certs. I've tried (literally) hundreds of different configs without success. Event log shows either 'No Policy Configured' or 'Unknown
Authentication'.
Windows clients can connect correctly with certs. I've deliberately excluded details as the Linux config can be setup in so many different ways, i'd rather start by looking at someone elses config that works (if that actually exists).
Thanks
MickHi,
I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
Thanks for your understanding and support.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Connecting to Microsoft SQL Server from Linux
Hi,
I am currently trying to migrate an OBIEE deployment from Windows to Linux, I have found much information about connection to Oracle DBs but I cannot find out how to connect to a Microsoft SQL Server DB. I have my webcat and RPD transferred but see ODBC errors for all of the reports, can anyone help?
Thanks in advance.I eventually solved this using UnixODBC and FreeTDS, I have yet to complete my own write-up of the solution but I found that someone else had solved the problem at more-or-less the same time and has written up the solution here:
http://iadvise.blogspot.com/2008/02/connect-from-rhel5-to-mssqlserver.html
If anyone finds this in the future and has questions please feel free to get in touch, I get email when this thread is updated so that should be enough. Thanks to Damon for putting me on the right track. -
Cannot connect to printer over network from Linux
When I run hp-setup, I can get the printer listed but it appears to refuse to communicate with the device. Same problem for wired ethernet as well as wireless.
Please help, I think I have tried everything by now...
Firewall disabled on the workstation does not help. Talking to the printers web interface (:8080) works perfectly. The printer works perfectly via USB. Also works fine from another windows PC (networked)
System:
Linux Mint 17 - X86_64 (up to date)
uninstalled the mint hplip package and installed the latest from HP manually....
hp-setup
HP Linux Imaging and Printing System (ver. 3.14.10)
Printer/Fax Setup Utility ver. 9.0
Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Searching... (bus=usb, search=(None), desc=0)
error: No devices found on bus: usb
Searching... (bus=net, timeout=5, ttl=4, search=(None) desc=0, method=slp)
error: Unable to communicate with device (code=12): hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
error: Unable to communicate with the device. Please check the device and try again.
Done.
hp-doctor output:
> hp-doctor
HP Linux Imaging and Printing System (ver. 3.14.10)
Self Diagnse Utility and Healing Utility ver. 1.0
Copyright (c) 2001-13 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
Checking for Deprecated items....
No Deprecated items are found
Checking for HPLIP updates....
Latest version of HPLIP is already installed.
Checking for Dependencies....
| SYSTEM INFO |
Kernel: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 GNU/Linux
Host: stargate
Proc: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 GNU/Linux
Distribution: linuxmint 17
Bitness: 64 bit
| HPLIP CONFIGURATION |
HPLIP-Version: HPLIP 3.14.10
HPLIP-Home: /usr/share/hplip
HPLIP-Installation: Auto installation is supported for linuxmint distro 17 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.14.10
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.14.10
html=/usr/share/doc/hplip-3.14.10
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=no
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=no
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.14.10
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 12/29/2014 22:32:01
version = 3.14.10
[upgrade]
notify_upgrade = true
last_upgraded_time = 1419919247
pending_upgrade_time = 0
latest_available_version = 3.14.10
[settings]
systray_visible = 0
systray_messages = 0
[last_used]
device_uri = "hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32"
printer_name =
working_dir = .
[commands]
scan = /usr/bin/xsane -V %SANE_URI%
[refresh]
rate = 30
enable = false
type = 1
[polling]
enable = false
interval = 5
device_list =
[fax]
voice_phone =
email_address =
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
| External Dependencies |
policykit Admin-Policy-framework OPTIONAL - 0.105 OK -
gs Ghostscript REQUIRED 7.05 9.10 OK -
network Network-wget OPTIONAL - 1.15 OK -
scanimage Shell-Scanning OPTIONAL 1.0 1.0.23 OK -
avahi-utils avahi-utils OPTIONAL - 0.6.31 OK -
dbus DBus REQUIRED - 1.6.18 OK -
cups CUPS REQUIRED 1.1 1.7.2 OK 'CUPS Scheduler is running'
xsane SANE-GUI OPTIONAL 0.9 0.998 OK -
| General Dependencies |
reportlab Python-PDF-Lib OPTIONAL 2.0 3.0 OK -
libcrypto OpenSSL-Crypto-Lib REQUIRED - 1.0.1 OK -
pil Python-Image-Lib OPTIONAL - 1.1.7 OK -
pyqt4-dbus PyQt4-DBUS REQUIRED 4.0 4.10.4 OK -
libjpeg JPEG-Lib REQUIRED - - OK -
libpthread POSIX-Threads-Lib REQUIRED - 2.19 OK -
python-dbus Python-DBUS REQUIRED 0.80.0 1.2.0 OK -
python-devel Python-SDK REQUIRED 2.2 2.7.6 OK -
pyqt4 Python-Qt4 REQUIRED 4.0 4.10.4 OK -
cups-devel CUPS-SDK REQUIRED - 1.7.2 OK -
sane-devel SANE-SDK REQUIRED - 1.0.23 OK -
libusb USB-Lib REQUIRED - 1.0 OK -
sane Scan-Lib REQUIRED - 1.0.23 OK -
cups-image CUPS-Image-Lib REQUIRED - 1.7.2 OK -
libnetsnmp-devel SNMP-Networking-SDK REQUIRED 5.0.9 5.7.2 OK -
python-xml Python-XML-Lib REQUIRED - 2.1.0 OK -
python-notify Desktop-notifications OPTIONAL - - OK -
| Compile Time Dependencies |
gcc gcc-Compiler REQUIRED - 4.8.2 OK -
libtool Build-tools REQUIRED - 2.4.2 OK -
make GNU-Build-tools REQUIRED 3.0 3.81 OK -
| Python Extentions |
cupsext CUPS-Extension REQUIRED - 3.14.10 OK -
pcardext PhotoCard-Extension REQUIRED - 3.14.10 OK -
hpmudext IO-Extension REQUIRED - 3.14.10 OK -
| Scan Configuration |
hpaio HPLIP-SANE-Backend REQUIRED - 3.14.10 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.14.10 OK -
| DISCOVERED SCANNER DEVICES |
device `hpaio:/net/HP_Officejet_Pro_8620?ip=192.168.1.32' is a Hewlett-Packard HP_Officejet_Pro_8620 all-in-one
device `hpaio:/net/Officejet_Pro_L7600?ip=192.168.1.31' is a Hewlett-Packard Officejet_Pro_L7600 all-in-one
| DISCOVERED USB DEVICES |
No devices found.
| INSTALLED CUPS PRINTER QUEUES |
HP_Officejet_Pro_8620
Type: Printer
Device URI: hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
PPD: /etc/cups/ppd/HP_Officejet_Pro_8620.ppd
PPD Description: HP Officejet Pro 8620, hpcups 3.14.10
Printer status: printer HP_Officejet_Pro_8620 is idle. enabled since Mon 29 Dec 2014 10:06:03 PM PST
error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
error: unable to open channel
error: Communication status: Failed
HP_Officejet_Pro_8620_fax
Type: Fax
Device URI: hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
PPD: /etc/cups/ppd/HP_Officejet_Pro_8620_fax.ppd
PPD Description: HP Fax4 hpcups
Printer Backend /usr/lib/cups/backend/hpfax does not exist! enabled since Mon 29 Dec 2014 10:06:03 PM PST
error: Unable to communicate with device (code=12): hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
error: unable to open channel
error: Communication status: Failed
Officejet_Pro_L7600_2
Type: Printer
Device URI: hp:/net/Officejet_Pro_L7600?ip=192.168.1.31
PPD: /etc/cups/ppd/Officejet_Pro_L7600_2.ppd
PPD Description: HP Officejet Pro l7600, hpcups 3.14.3
Printer Backend /usr/lib/cups/backend/hp does not exist!ince Sun 28 Dec 2014 10:55:35 AM PST -
Communication status: Good
Officejet_Pro_L7600_fax_2
Type: Fax
Device URI: hpfax:/net/Officejet_Pro_L7600?ip=192.168.1.31
PPD: /etc/cups/ppd/Officejet_Pro_L7600_fax_2.ppd
PPD Description: HP Fax hpcups
Printer Backend /usr/lib/cups/backend/hpfax does not exist!since Mon 10 Nov 2014 10:22:10 AM PST -
Communication status: Good
| PERMISSION |
Checking Permissions....
Permissions are correct.
Checking for Configured Queues....
Queue(s) configured correctly using HPLIP.
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Checking for Printer Status....
error: 'HP_Officejet_Pro_8620_fax' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
error: 'HP_Officejet_Pro_8620' Printer is either Powered-OFF or Failed to communicate.
Turn On Printer and re-run hp-doctor
Diagnose completed...Syslog......
Dec 30 11:02:20 stargate hp-systray: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:02:20 stargate hp-systray: [29791]: error: Unable to communicate with device (code=12): hpfax:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
Dec 30 11:02:20 stargate hp-systray: hp-systray(hpdio)[29793]: error: Device not found
Dec 30 11:02:24 stargate hp-systray: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:02:24 stargate hp-systray: [29791]: error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
Dec 30 11:02:24 stargate hp-systray: hp-systray(hpdio)[29793]: error: Device not found
Dec 30 11:02:29 stargate python: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:02:29 stargate hp-toolbox: [30057]: error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32
Dec 30 11:02:29 stargate hp-toolbox: hp-toolbox(UI)[30057]: error: Unable to open device hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32.
Dec 30 11:03:03 stargate python: io/hpmud/jd.c 93: unable to read device-id
Dec 30 11:03:03 stargate hp-check: [30059]: error: Unable to communicate with device (code=12): hp:/net/HP_Officejet_Pro_8620?ip=192.168.1.32 -
Connect to AirDisk (airport extreme) from Linux computer (Ubuntu)
OK, I just cant figure out how to get this to work. I can connect fine with mac (drive mounts automatically). On my PC I had to map the drive (IP address) and that works fine. On ubuntu I just cant make it work. Im hoping some of you OSX (and unix/linux types) can guide me along. Ive tried the Connect to server options, and selected all of the different methods (windows share, webDAV, custom, etc) Also just Browsed the network and workgroup to no avail. Any ideas?
I finally figured this out. You have to manually connect to the IP of the base station (assumed as 10.0.1.1 per default). I have added certain arguments in the following example because they get rid of annoying errors when my Linux box tries to set certain attributes on the remote disk. The full set of arguments may or may not be necessary, I just know that it works like I want it to this way.
$ sudo mkdir /path/to/mountpoint
$ sudo mount -t cifs -o users,rw,uid=USERNAME*,gid=*USERNAME*,ip=10.0.1.1,netdev,username=*AIRDISKUSERNAMEIFAPPLICABLE*,password=*PASSWORD //10.0.1.1/SHARE /path/to/mountpoint
If you're going to add this to your fstab I'd recommend using credentials=/path/to/credentials instead of putting your password into the fstab. Remember to escape special characters\!\!\!
Maybe you are looking for
-
Hi, I have created an iview in Visual Composer for a query. it contains date field on selection variable fomr. i tried entering date in various format, but it gives an error : variable expects interval value ; enter an interval". can we provide sear
-
I have robotic sound when using any type of audio, or video
Hi I have a brand new hp computer i bought it two months ago for college it has Windows 7 64-bit, and the sound or video comes out robotic everything from youtube, to itunes, to a website having a video in it, to solitare. I was wondering if anyone h
-
hi to all, is there any functional module to find the no of days in the month like 31 or 30 or 28 like that thanks in advance kiran kumar
-
Why have duplicate photos begun to show up in collections on my iPhone 4s using iOS 7
Recently (since I installed OS X Mavericks on my computer, I think) Photos on my iPhone 4s running the latest iOS 7 has been showing duplicate photos in Photos/Collections/Moments, especially for photos taken a month or more ago. Does anyone no why?
-
Some bug fixes and new features Re: Image Processor Pro v3.0 beta available