Prob in configuring rtl8139b network adapter

i have RealTek 8139B network adapter in my solaris7 machine. but i am unable to configure that one, bcoz
solaris wont detect that adapter. is ther any way i can configure that adapter in solaris7...
reply to [email protected] or post

1�� download RTL8139 driver for SOLARIS8 X86 from http://www.realtek.com.tw��
2�� gunzip filename
3�� # . ./INSTALL
4�� # touch /etc/hostname.rtls0
5�� # touch /reconfigure
6�� # shutdown -i5 -g0 -y
after reboot machine
7�� $ ifconfig -a
you can get your NIC info
8�� to set network, type command # sys-unconfig
it will re-configure your system.

Similar Messages

  • Editing a VM in vCAC 6.0.1.1 configures incorrect Network Adapter type

    Hi All,
    I am experiencing an issue with vCAC 6 in regard to configuring a secondary network adapter for a previously deployed VM.
    The VM is a Win 2k8 R2 VM that was created from a Template that was located in vCD.
    When I edit the VM and submit the request for the secondary network adapter, it creates the NIC with an adapter type of Flexible.
    As Win 2k8 does not support Flexible, we need to specify that VMXNET3 is selected.  Any ideas how this would be achieved?
    I have had a go at doing this using custom properties but this does not seem to make a difference.
    Any direction appreciated.
    Regards
    Dave

    Honestly, I have had some real trouble with "Edit" for any network function in both VCAC 6.0 and 6.1.
    I haven't tried to solve this one yet, but if I were to go about it... I would use the Advanced Service Designer and add the network adapter via VCO workflow.  Then let the inventory service come through and pick up the change (-or- you can actually kick off an inventory scan from the VCO workflow as well).
    If you do not have ASD, you won't be able to do that, and you may be at the mercy of the current limitations in the product version you are using.  If there is an answer, I hope you find it.  I am also interested in knowing if this is possible via "Edit."  For the time being, we have completely removed "Edit" as an entitlement as it has created more trouble than good.
    You could also just have a blueprint that deploys a machine with two or more network adapters.  Maybe that would work for you.  Dunno.

  • In Order to Configure TCP/IP, You Must Install and Enable a Network Adapter Card

    I get this message when I try to TCP/IP settings in any network card. 
    "In Order to Configure TCP/IP, You Must Install and Enable a Network Adapter Card"
    What I have tried:
    1. Removed card, did not click on "Remove driver". Then re-scanned in device manager. This usually leads to the network card showing up with a yellow exclamation mark, and I can not get it work again (have to use system restore).
    2. Removed card, deinstalled driver, re-installed driver. 
    3. Rebooted a thousand times. 
    4. Used the Lenovo drivers.
    5. Used the Intel drivers. 
    Doesn't matter what I do, I'm stuck with yellow exclamation marks in the end for the LAN and WLAN card, with not hope to repair them.
    Driver version for the Intel 82579LM is 12.9.15.0
    Driver version for the centrino advanced-n 6205 is 15.10.4.2
    I'd really like some help on how to fix this so I'm able to configure my network manually. 

    For clarity, as your machine MTM number lists it with another type of WLAN adapter, and apparently, therein lies your problem.
    How To Fix Error Message : In Order To Configure TCP/IP , You Must Install And Enable Network Adapte...
    [How To Fix] In Order to Configure TCP/IP, You Must Install and Enable a Network Adapter Card
    ThinkPad W540 (20BG) - i7-4800MQ/24GB // ThinkPad T440s (20AQ) - i7-4600U/12GB
    ThinkPad T440p (20AW) - i7-4800MQ/16GB // ThinkPad Helix (3698-6EU) - i5-3337U/4GB
    ThinkPad W520 (4282-W4Q) - i7-2720QM/32GB // ThinkPad T400 (2767-W1C) - P9500/8GB
    ThinkPad T61 (7665-CTO) - T7700/4GB // ThinkPad T60p (8741-C2G) - T7400/4GB

  • I cannot connect to internet im getting the error message: no network adapter installed or configure

    i cannot connect to internet im getting the error message: no network adapter installed or configured. what can i do?

    Sherya, welcome to the forum.
    When requesting help, you should always include the make/model of the computer and/or monitor. This information is necessary for us to review the specifications of them.
    I believe that this is a problem for your ISP.  Their Customer Service should be able to help you.  There may be some settings that can be changed to solve the problem.  They would know what the settings should be.  I don't believe that it is a hardware problem.
    Please click "Accept as Solution" if your problem is solved.
    Signature:
    HP TouchPad - 1.2 GHz; 1 GB memory; 32 GB storage; WebOS/CyanogenMod 11(Kit Kat)
    HP 10 Plus; Android-Kit Kat; 1.0 GHz Allwinner A31 ARM Cortex A7 Quad Core Processor ; 2GB RAM Memory Long: 2 GB DDR3L SDRAM (1600MHz); 16GB disable eMMC 16GB v4.51
    HP Omen; i7-4710QH; 8 GB memory; 256 GB San Disk SSD; Win 8.1
    HP Photosmart 7520 AIO
    ++++++++++++++++++
    **Click the Thumbs Up+ to say 'Thanks' and the 'Accept as Solution' if I have solved your problem.**
    Intelligence is God given; Wisdom is the sum of our mistakes!
    I am not an HP employee.

  • Network adapter configuration error after quick migrate of stopped VM in 2012 r2 data-center edition 3 node cluster environment

    We've got a couple of Windows 2012 r2 / Hyper-V 3 node clusters, and I have a problem with network adapters on them.
     I have 3 node cluster all vm running fine on node 1 and 2 also quick and live migration very good between
    node 1 and node 2, but no vm migrating on node 3.  show "Network adapter configuration error".
    If the VM is powered off, and I move it to 3rd
    host (quick migration via Failover Cluster Manager), the network adapter loses its connection to the virtual switch - it turns to "Configuration Error"..if
    manually change V switch of every VM then it worked only on 3rd node, and having same problem on node 1 and 2. 
    Quick migrate with the power off, and it fails to pick up the VSwitch on the3rd host.
    Thanks
    Shipon

    Hi,
    > I created a new VM via the Failover Cluster Manager (ie not via Hyper-V manager on one of the nodes).
    Generally, this issue happens if a network adapter is added or removed on a highly available virtual machine using the Hyper-V manager console. Since the Hyper-V Manager console is not cluster aware, which means that configuration changes that are made to
    virtual networks or virtual machines in the Hyper-V Manager console must be replicated to the other cluster nodes by using the “refresh virtual machine configuration” option in the Failover Cluster Manager console.
    I know that “refresh virtual machine configuration” option is not needed if you change virtual machine settings using the Failover Cluster Manager console, but you may try to refresh the configuration of virtual machine to check the result.
    In the Failover Cluster Manager console, expand Services and Applications, and then click the virtual machine for which you want to refresh the configuration.
    In the Actions pane, scroll down, click More Actions and then click Refresh virtual machine configuration.
    For more information please refer to following MS articles:
    Refresh the Configuration of a Virtual Machine
    http://technet.microsoft.com/en-us/library/dd759135.aspx
    Highly Available Virtual Machines Lose Configuration Settings after Failover in Windows Server 2008 Failover Clusters
    http://support.microsoft.com/kb/2000016
    Hyper-V Live Migration fails on Windows Server 2008 R2 with Event ID 12080
    http://support.microsoft.com/kb/2592237
    Hope this helps!
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Lawrence
    TechNet Community Support

  • Server 2012 R2 - The system failed to register host (A or AAAA) resource records (RRs) for network adapter

    We seem to be having an issue recently after introducing new Windows Server 2012 R2 servers where they fail to register DNS correctly. The Windows Firewall is off and the servers are on the same VLAN with no firewalls between them.
    When I do an ipconfig /registerdns or wait 24 hours for the system to try we get the following error:
    The system failed to register host (A or AAAA) resource records (RRs) for network adapter
    with settings:
               Adapter Name : {4A0ECF05-193F-4BEA-AA46-BEC593BA752B}
               Host Name : SRV-DATA
               Primary Domain Suffix : internal.local
               DNS server list :
    192.168.0.50, 192.168.0.42
               Sent update to server : <?>
               IP Address(es) :
                 192.168.0.99
    The reason the system could not register these RRs was because the DNS server contacted refused the update request. The reasons for this might be (a) you are not allowed to update the specified DNS domain name, or (b) because the DNS server authoritative
    for this name does not support the DNS dynamic update protocol.
    To register the DNS host (A or AAAA) resource records using the specific DNS domain name and IP addresses for this adapter, contact your DNS server or network systems administrator.
    On our DNS server we have set for the internal.local zone Secure Updates only so that looks good because it is Active Directory that should be handling this authentication to update the record I assume. Just to mention that when also doing an ipconfig /regsiterdns
    the update fails within a few seconds. 
    Source: DNS Clients Events
    Event ID: 8018
    User: NETWORK SERVICE
    This issue is only affecting Windows Server 2012 R2 clients and testing with Windows Server 2008 R2 clients works no issues. So is this a mis-configuration or a bug with Windows 2012 R2? I have checked all DNS settings on client / server which all look good
    to me so reaching out now to see if anyone has any ideas?
    Environment:
    - Windows Server 2012 R2 Domain Controllers (Forest/Domain Levels 2012 R2)
    - Windows Server 2012 R2 Client machines (Physical and Virtual)
    - Windows Server 2008 R2 Client machines (Physical and Virtual)

    The zone is configured as "Secure Only"
    The PDC is the SOA for the zone
    I dont have a packet capture from the DC, only the client. 
    The query you asked me to run is too long to paste in here, however this is the DNS zone it cannot update:
    NotifyServers                     : 
    SecondaryServers                  : {10.2.0.3, 10.2.0.5}
    AllowedDcForNsRecordsAutoCreation : 
    DistinguishedName                 : DC=internal.local,cn=MicrosoftDNS,DC=ForestDnsZones,DC=internal,DC=local
    IsAutoCreated                     : False
    IsDsIntegrated                    : True
    IsPaused                          : False
    IsReadOnly                        : False
    IsReverseLookupZone               : False
    IsShutdown                        : False
    ZoneName                          : internal.local
    ZoneType                          : Primary
    DirectoryPartitionName            : ForestDnsZones.internal.local
    DynamicUpdate                     : Secure
    IsPluginEnabled                   : False
    IsSigned                          : False
    IsWinsEnabled                     : False
    Notify                            : NoNotify
    ReplicationScope                  : Forest
    SecureSecondaries                 : TransferToSecureServers
    ZoneFile                          : 
    PSComputerName                    : 
    CimClass                          : root/Microsoft/Windows/DNS:DnsServerPrimaryZone
    CimInstanceProperties             : {DistinguishedName, IsAutoCreated, IsDsIntegrated, IsPaused...}
    CimSystemProperties               : Microsoft.Management.Infrastructure.CimSystemProperties

  • Virtual Network Adapter (vEthernet) unauthenticated

    Hi, 
    I have a problem, with configuring a Virtual Network Adapter on SC VMM. 
    I created a logical switch with two physical network adapter (team) and add a virtual network adapter to the logical switch. After that a virtual network adapter will be created on the hyper-v host, but with the status "domain.local (unauthenticated).
    With another hyper-v host it work without problems. 
    I tried to remove and recreate all that stuff but without success. 
    Do someone know that problem? Or can help to find a solution? 
    Thank you for the help.
    Br, 
    Andi

    Hi Sir,
    I searched for this issue but it seems  none fits your case :
    https://social.technet.microsoft.com/Forums/windows/en-US/ca343a3c-c61e-4816-9a96-d973386db2e2/network-shows-as-unauthenticatedchanged-my-network-profile-to-public
    Did you try to manually configure teaming on that hyper-v host , still same result ?
    Best Regards,
    Elton Ji
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] .

  • Windows 7 x64 Network Adapter Stops working on high load

    My Network has been failing and it has been happening for about a month or so on Windows 7 x64.  I dont think that the system configuration is the problem as it is happening on 2 seperate machines.  One being a relatively beefed up "white" box, 4 gig OCZ ram, EVGA nForce 790I SLI Mobo, Q9600 Quad core processor, dual raid 1 - 150 Gig Raptors, 2 8800GTX SLI cards, Pure Power 800W PS.  The second machine is an IBM Netbook S10.  I use the Netbook as a media center connected to a Pioneer Elite 1050HD.  One thing is I have a PS3 and have several 1TB Esata drives connected to an IOGear 3132 Esata 3.0Gb pciX card to my desktop.
    My typical usages:
    1. FTP from a private server
    2. Streaming music via Winamp
    3. Streaming video 720, 1080 from pc to PS3 via the PS3 Media Server
    4. DLing demos or movies on the PS3
    5. Network streaming a movie from the Esata drives to the bedroom or kids rooms
    6. Streaming video from abc.com or southparkstudios.com from the Cox cable modem
    7. RDC over VPN to work machines
    Now I have noticed that when I am streaming HEAVILY, from any 2 of the above mentioned, my network connections will simply stop working with a yellow exclamation mark on the task bar network icon after a few moments, nothing in the event logs, no logs or ANYTHING at all.  It will simply stop working no notifications or anything poof, gone.  I have EVERY single patch, driver anything I can think of installed.  Nothing works, the timing is completely random.  FYI I have a NETGEAR ProSafe VPN Firewall FVX538 with a cable modem connection on WAN 1 and a cellular connection on WAN2, these have no impact I feel on the connections because the PC may go down or the Netbook will go down depending on which one has the most load.  So this simply tells me that it it not a firewall router problem as I have tried using a cisco unmanaged 24 port 1GB switch and I get the same problems.  From analyzing the systems and layout I am led to believe that it is either a network adapter driver OR a Windows 7 problem (collisions, unhandled exception?), this NEVER happened with XP or Vista.  I have tried everything but a new network adapter, I have tried the secondary adapter card on the mobo, I have tried bridging the two, I have tried daisy chaining the switch and putting each machine on its own dedicated switch linked to each other with no change.  When the network goes down it is only that box effected, all other machines still connect to each other fine, only the one with load shuts down and the only ones that shut down are Windows 7.  These machines are all wired with commercial cat5e patch cables, they have all been swapped for new ones lately.  All networking and PC equipment are on UPS so I doubt voltage variations.  Windows Firewall is disabled I only use the hardware firewall, I do not use any antivirus.
    I am completely out of options, can anyone recommend a new route?
    In addition when I go to the command prompt and attempt to do an ipconfig /release.  I get an error saying that the adapter is not in a usable state.  Very irritating, this forces me to reboot, or right click disable/enable on the network adapter.  The right click route takes almost a minute to complete.
    Tried update driver in nvidia control panel, no luck.  I have also turned off the networking power saver option in the adapter settings.

    Hi,
    Considering this issue occurs on 2 different machines, I also think this issue may be more hardware related. You may also try the following:
    1.    If the computers are connecting to a router, please ensure the router’s firmware is up-to-date.
    2.    Please run the following command in an elevated command prompt in Windows 7:
    netsh interface tcp set global rss=disabled
    netsh interface tcp set global autotuninglevel=disabled
    netsh int ip set global taskoffload=disabled
    3.    Disable SNP in Windows 7 by setting Registry as following:
    Note: Please perform a full-system backup first.
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
    EnableTCPChimney=dword:00000000
    EnableTCPA=dword:00000000
    EnableRSS=dword:00000000
    If the keys do not exist, please create them and assign the value.
    An update to turn off default SNP features is available for Windows Server 2003-based and Small Business Server 2003-based computers
    4.    If the issue persists, please add another network adapter to this computer and see how it works.
    Hope this helps. Thanks.
    Nicholas Li - MSFT
    Hi, I'm experiencing a simular problem here.
    My PC was using Asus P5Q-E motherboard but exchanged it for Asus P5Q TURBO Pro because it loses 'connectivity ' after an interval between a few hrs to 26hrs. During this state, I can't browse or my Outlook to check emails. The only thing that can send/receive data is Vuze. Plus, the strange thing is that the network icon says there's nothing wrong at all (when it obviously there is). Even the currency desktop gadgets says the time elapsed since it 'lost connectivity '.
    I initially thought P5Q-E was faulty so now I'm using the TURBO Pro. However, the problem still persisted.
    I am using Win 7 Ultimate x64 with all the updates and drivers. Connected via LAN cable to the router and the firmware is the latest. My ISP sent me a replacement router to confirm that their equipment is not faulty, which is true.
    I have tried the above methods 1-3.
    Although I'm not sure if I implemented Method 3 correctly since I don't usually go to the registry but here's what it looks like after creating it:
    EnableRSS   REG_DWORD   0x00000001 (1)
    EnableTCPA   REG_DWORD   0x00000001 (1)
    EnableTCPChimey   REG_DWORD   0x00000001 (1)
    There are 3 more PC's and 1 laptop in the house. 2 PCs use Win XP, 1 uses Win 7 Ultimate x64 and laptop uses Linux Ubuntu.
    My PC has a second OS, Linux Ubuntu, I used it to time trial both motherboards (before and after switching) and found no problems at all even after 48hrs, so it confirms it's not a hardware issue.
    The other PC's apart from mine are connected wirelessly. As far as I've been told, they don't experience the same issue I have.
    I've been trying to tackle this problem for months now and I'm frustrated to reboot my PC every time it 'loses connection '.
    I chatted with Asus about the issue when I still had the P5Q-E mobo, they said that they built a simular system to mine with the same mobo and said they couldn't reproduce the problem I'm having. THey even tested on other mobos with the same LAN chip and found nothing wrong. That's why I got the TURBO Pro that has a different LAN chip.
    Anyone got anymore suggestions???
    Thanks in advance.

  • How to add a network adapter in Windows 2008 Core

    I installed Windows 2008 Core on an older server of mine.  The install worked fine, but I dont think it recognizes the built-in BroadCom NICs.  I downloaded the 2008 drivers and ran the necessary commands to load and install the drivers, aassigned IP settings, but networking still is not working.  Is there a specific command for adding a NIC?

     
    Hi,
    Pnputil.exe is used to manually install, enumerate, or remove third party drivers. We can use the following command to install the driver:
    Pnputil –i –a <path>\<driver>.inf
    In addition, we can use DriverQuery.exe to enumerate and display a list of the installed device drivers, including the driver properties.
    For more information about Pnputil.exe and DriverQuery.exe, you can refer to Windows Help and Support in Windows Server 2008.
    Now I suggest confirming if the network adapter is recognized by Device Manager. To do so, please enable remote administration of server core and then check whether the network adapter is listed in Device Manager. To allow remote connection to Device Manager, please type the following command:
    Netsh advfirewall firewall set rule group=“remote administration” new enable=yes
    In addition, you must first enable the Allow remote access to the PnP interface policy setting. To do this, on a computer running Windows Vista or a full installation of Windows Server 2008, open the Local Group Policy Editor MMC snap-in, connect to the computer running a Server Core installation, navigate to Computer Configuration\Administrative Templates\Device Installation, and then enable Allow remote access to the PnP interface. Restart the computer running a Server Core installation.
    Note that when Device Manager is used remotely, it is read-only.
    Hope it helps.
    Tim Quan - MSFT

  • Network adapter not working

    Hi,
    This has been quite a confusing few days with this network adapter. It's a Realtek 8139C based card, but for some reason Arch refuses to get it to work with either 8139cp or 8139too modules.
    Both have been added to rc.conf modules list (independently and together) & I've tried blacklisting one then the other but eth0 still doesn't show up in ifconfig.  Even with 8139cp blacklisted, at boot I still get a message about that module telling me to try 8139too instead.  I also get a message saying: "PCI: Unable to reserve I/O region #1:100@de00" and that something fails with error -16.
    So far, the only way I've managed to get the card working is during install and getting the setup program to probe for a driver and setup dhcp itself, which to my mind shows that the card is fine, as I managed to download the entire base package with it.  If I could find out what the setup program does to get it working, it might help too.
    Any ideas? Any help would be greatly appreciated.
    P.S. Please forgive how vague this post is, I don't have the machine in front of me right this instant.

    I did some research and found that the drivers for Linux are in the Realtek site (very hidden though ) at this URL
    http://www.realtek.com.tw/downloads/dow … Down=false
    Hope this helps.
    R

  • Multiple networks using single network adapter

    Hi,
    If I have only single network adapter in a OVM server (or  single bond interface bond0 created from two network adapters), is it possible to separate networks for
    VM management, live migrate and VM public networks using any mechanism, say by creating VLANs?  I am having two 10G adapters in each of the VM server
    and would like to separate traffic of each of these networks.  Thanks in advance.

    Hi,
    10G adapter is the best NIC performance so with two NICs like this, i recommand you to use the bond0 (mode 1) for fault tolerance and use the VLAN technology to separate the Networks.
    Note that Oracle VM support the VLAN configuration.
    I hope this can help you
    Best Regards

  • Status Failure -lo exception:network adapter could not establish connection

    Hi, installed SQL DEVELOPER today and its driving me mad... I am getting this error
    Status Failure -lo exception:network adapter could not establish connection.
    Basic tab I have all the right information, tried test gives same error...
    hostname ajas
    port 1521
    sid altaf
    TNS
    Network alias altaf
    connect identifier altaf(TRIED SINCE NETW ALIAS DIDNT WORK)
    went to TNS tab and from the list selected the right entry for NETWORK ALIAS,tried test still same error... tested with connect identifier still same error...went to Advanced entered this string jdbc:oracle:thin:@ajas:1521:altaf ..... still same error...what the hell is wrong...here is the tnsnames.ora entry ...
    ALTAF =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = AJAS)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = altaf)
    by the way I am able to connect with sql*plus ... lsnrctl gives the lsnr so thats running... tnslsnr is also running...also installed the latest java sdk i.e 1.5... i have set new path to point to this new java.exe i.e 1.5 one... this is really crazy and havent see such probs in any tools i have ever used and that too using it in normal pc ... God knows what will happen if used for remote db's....
    here is listener.ora
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = AJAS)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora92)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = altaf)
    (ORACLE_HOME = C:\oracle\ora92)
    (SID_NAME = altaf)
    no one seems to have answer for this... there are all kinds of strange replies for this problem.... anyone has solved this prob plz reply....
    Message was edited by:
    ajashadi

    I've had the same problem when I installed the latest version of SQL developer (1.2.1.32.13) on a machine that still had an older, working version. My problem went away when I changed from an IP name to an IP address. on the connection setup window.

  • Network adapter could not establish the connection

    Hi,
    Iam new to using Oracle please help me in this problem. Iam trying to connect oracle8i in my home pc(win 98) in java.. I have said..
    String url="jdbc:oracle:thin:@testhost:1521:sid";
    DriverManager.getConnection(url,"scott","tiger");
    Actually i have added the service name using Oracle Net 8 Assistant ... it asked me service name so i gaved "fobjects". then host and port number then i gave "testhost" and port number as 1521. then i tried to use the test service but i couldnt get it... it gaved me error called " ORA12545- Connect failed because target host or obejct doe not exist ..Even then i pressed finished button to accomplish the thing...ans when i executed the java program with the above service name setup it said SO Excpetion : Network adapter could not establish the connection.
    Well What the wrong i have done, help me...
    Regards
    Lensi.

    hi,
    I think you have to register the driver first. pls try the following program...
    import java.sql.Connection;
    import java.sql.DriverManager;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.sql.Statement;
    * This class tests the environment to check if JDBC is configured and
    * connection to database is possible thru JDBC. Uses THIN driver to connect.
    public class JDBCCheck {
    public JDBCCheck() {  }
    private Connection conn = null;
    private final int NO_DRIVER = 1;
    private final int INVALID_URL = 17002;
    private final int INVALID_CREDENTIALS = 1017;
    private final int NULL_URL = 2;
    private final int DATABASE_DOWN = 1034;
    public static void main(String[] args) {
    JDBCCheck check = new JDBCCheck();
    check.dbconnect();
    public void dbconnect() {
    if(loadDriver())
    if(connect())
    doSomething();
    public boolean loadDriver() {
    boolean loadeddriver = false;
    String jdbcDriver = System.getProperty("jdbc.driver.class");
    // Use Oracle driver if nothing is set
    if(jdbcDriver == null) jdbcDriver = "oracle.jdbc.driver.OracleDriver";
    log("Loading JDBC Driver : class="+jdbcDriver+" ...");
    // try to load driver
    try {
    Class.forName(jdbcDriver);
    log("Loaded JDBC Driver ");
    loadeddriver = true;
    } catch (ClassNotFoundException noclassEx) {
    error(NO_DRIVER,noclassEx);
    return loadeddriver;
    public boolean connect() {
    boolean connected = false;
    String jdbcURL = System.getProperty("jdbc.url");
    String username = System.getProperty("jdbc.username");
    String password = System.getProperty("jdbc.password");
    if(username == null || password== null) {
    username = "scott";
    password = "tiger";
    if(jdbcURL == null) error(NULL_URL,new Exception(" jdbc.url cannot be null "));
    log("Connecting with URL="+jdbcURL+" as "+username+"/"+password);
    try {
    conn = DriverManager.getConnection(jdbcURL,username,password);
    log("Connected to Database");
    connected = true;
    } catch (SQLException sqlEx) {     
    error(sqlEx.getErrorCode(),sqlEx);
    return connected;
    public void doSomething() {
    Statement stmt = null;
    ResultSet rset = null;
    try {
    stmt = conn.createStatement();
    log("Created Statement object");
    rset = stmt.executeQuery(" SELECT 'PASSED' FROM Dual ");
    log("Retrieved ResultSet object");
    if(rset.next())
    log("Connection :"+rset.getString(1));
    } catch (SQLException sqlEx) {
    } finally {
    try {
    log("Closing Statment & ResultSet Objects");
    if (rset != null) rset.close();
    if (stmt != null) stmt.close();
    if (conn != null) {
    log("Disconnecting...");
    conn.close();
    log("Disconnected from Database");
    } catch (Exception e) { }
    public void log(String logMsg) {   
    System.out.println("Log: "+logMsg);
    public void error(int errcode, Exception ex) {
    String jversion = System.getProperty("java.version").substring(0,3);
    String os = System.getProperty("os.name");
    String excp = ex.toString();
    // Driver not found in classpath
    if(errcode == NO_DRIVER) {     
    String jarname = "classes12.jar";
    String nlsjarname = "nls_charset12.jar";
    if(jversion.equals("1.1")) {
    jarname = "classes111.jar";
    nlsjarname = "nls_charset11.jar";
    else if(jversion.equals("1.4"))
    jarname = "ojdbc14.jar";
    System.out.println(" Error: JDBC Drivers not present in CLASSPATH ");
    System.out.println("\n Your CLASSPATH is :"+System.getProperty("java.class.path"));
    System.out.println("\n To add Oracle JDBC Drivers to CLASSPATH ");
    // Windows
    if(os.indexOf("Windows") != -1) {
    System.out.println(" >set CLASSPATH=<path-to-"+jarname+">;<path-to-"+
    nlsjarname+">;%CLASSPATH%;");
    } else {
    System.out.println(" $CLASSPATH=<path-to-"+jarname+">:<path-to-"+
    nlsjarname+">:$CLASSPATH:");
    System.out.println(" $export CLASSPATH");
    System.out.println(" Oracle JDBC Drivers can be found in "+
    "<ORACLE_HOME>/jdbc/lib directory or "+
    "downloaded from http://otn.oracle.com/software/");
    } else if (errcode == NULL_URL) {
    System.out.println("Error: jdbc.url was not supplied");
    System.out.println("Usage: java -Djdbc.url=jdbc:oracle:thin:@<hostname>:<port>:<db_sid> JDBCCheck ");
    } else if (errcode == INVALID_URL) {     
    // Check if Invalid Database SID
    if( excp.indexOf("ERR=12505") != -1)
    System.out.println("Error: Invalid Database SID was specified in jdbc.url ");
    System.out.println("Error: Invalid JDBC URL or DB Listener is down, refer to http://myjdbc.tripod.com/basic/jdbcurl.html ");
    } else if (errcode == INVALID_CREDENTIALS) {
    System.out.println("Error: Invalid username/password was specified ");
    System.out.println("Try connecting to the database thru SQL Plus using the same username/password");
    } else if (errcode == DATABASE_DOWN ) {
    System.out.println("Error: The Database you are tying to Connect is down ");
    System.out.println(" Start the Database and then try to connect ");
    } else {   
    System.out.println("Error code not handled : "+errcode);
    System.out.println("\nException Message :"+excp);
    System.exit(0);
    while running thig pgm, you should pass the driver URL..
    java -Djdbc.url=jdbc:oracle:thin:@<hostname>:<port>:<db_sid> JDBCCheck

  • Atheros AR5007EG Wireless Network Adapter - With any driver: "The device instance name is invalid"

    Hello there,
    I was trying to install various "Atheros AR5007EG Wireless Network Adapter" drivers, with versions ranging from 2007 to 2010, both from the manufacturer and specifically for this computer (a Fujitsu Siemens Esprimo Mobile) and others from here:
    http://www.atheros.cz/atheros-wireless-download.php?chipset=22&system=3
    All of them are for Windows Vista 32bit.
    The computer had previous drivers installed and working, but also had a network problem. In the process of figuring out what was causing it, I tried to install newer drivers to see if that was the problem. It turns out the network problem was due to a different
    thing that is now fixed (some dependencies of the WLAN Configuration service were turned off), but I'm still stuck installing the new drivers.
    TL;DR:
    However, every time I install new drivers, after install, Windows says that
    "The device instance name is invalid", regardless of what drivers I install. I even tried to install drivers for different hardware in that slot just to see what it told me and IT STILL gave me the same error. I also tried to uninstall the
    current driver, checking the box to delete the driver's software, running CCleaner and then deleting
    "athr.sys" from the Windows/Drivers folder and
    "oem8.inf" from Windows/Inf as those files were referenced in the driver's properties. The install still gives me the same error.
    The fact that it gives me this error with any driver leads me to believe it's Windows' fault and not the driver's.
    Note: I am translating from the original in Portuguese. "The device instance name is invalid" is the closest/correct translation and seems about right with the info I find online regarding the english version of Vista and how it refers to devices.
    This (https://groups.google.com/forum/#!topic/microsoft.public.development.device.drivers/yFa_XnlcLJQ) and this (http://finderr.net/windows/pt-PT/O-nome-da-inst%C3%A2ncia-do-dispositivo-%C3%A9-inv%C3%A1lido-/2082573452) also seems to confirm that, though it
    doesn't help me. It may be that the text is actually different in english Vista but I also searched for driver instead of device or stuff like "The device instance name appears to be invalid" and can't find anything either.
    I also did SFC /SCANNOW a while ago and it found no errors.  I then repeated it again after this problem and this time, SFC found errors BUT it couldn't repair all of them. Here is the CBS log:
    https://www.dropbox.com/s/bayum2rsezxpmre/CBS.log
    Thank you for the help!
    EDIT: The Notebook model is a Fujitsu-Siemens ESPRIMO Mobile V5535 and their support drivers can be found here (after specifying the OS and model):
    http://support.ts.fujitsu.com/download/ShowFiles.asp
    EDIT2:
    The last SFC /scannow scan repaired everything left to repair. The system restore option can't be used because the earliest one still has the (suposedly faulty) drivers installed.
    This computer has a Win Vista serial number, but no CD and the second partition doesn't have any kind of backup. The second partition is empty though. So, as a last resort, if I really don't have a choice, I'll try to do an upgrade install to see if that fixes
    it and if that still doesn't fix it I'll have to move everything in the users folder to the second partition and format the first which is a bummer :/
    EDIT: Here is the setup.api.log that was inside C:\Windows\Inf and details the instalation process of all the drivers:
    https://www.dropbox.com/s/tyxs1e4r7rxofch/setupapi.dev.log
    I'm still trying to read into that setup.api.log file.

    So, can I assume that the only way to fix this error is to download an iso of Windows Vista, unninstall my service packs, upgrade install Vista, run Vistalizator to change the language to Portuguese and then install Service Pack 1 & 2?
    EDIT: Alright, so I formatted the thing since the driver bug wouldn't give me a break. The details on that can be found searching for the same thread title either on tomshardware or vistaforums if anyone happens to find this looking for the same error.
    I have a real knack for bumping heads with errors that nobody else gets that somehow turn into unfixable bugs. At least if someone else searches for this problem they'll know what to do.

  • Wireless Internet network adapter

    I recently got an internet adapter for a USB port because I don't have a airport card. The problem is the setup in Internet connect, I"m just not sure how I know I have the configurations correct. The adapter has cd startup, but is only for pc. I downloaded the drivers, and in ZydasWlan the utilty for the adapter, I see the connection and it shows the strength and varying connection, so I can see the wireless network, but can't connect. I'm using a Hawking mini wireless-G USB network adapter. HWU54G is the model type. In internet connect, what happens with the setting changes, and in the network under system preference, how do I know if I need to set up the TCP/IP or PPP? Thanks to anyone that can help.

    I have exactly the same problem as you do with my Ibook G3, I am using a Belkin wireless G adapter, the first time I plugged it in and installed the driver from the net it connected and was great, I ran software update and updated itunes as a test and it worked like a dream but ever since I restarted then it is having the same problem, the Belkin is talking to the wireless router and there is a good connection but Safari will not show a web page, keeps saying I'm not connected to the internet?? Pulling my hair out trying to get it to work, all I have on my ibook is a fresh OS X.4, Any help will be greatly appreciated, I know it must work as I have sat there and got on to the net with it and downloaded, just can't understand why it now won' t work.
    Sam (UK)

Maybe you are looking for

  • Problem with Birthday contact in year 1982 January

    Hi, I found a problem that seem to be a bug for iphone IOS 4.0, 4.0.1, 4.0.2 and event 4.2.1 when i try to add a birthday for a contacts for Year 1982 January, the date cannot be set. and it is stuck with 1 January 1982. Please advise, Thanks

  • PDF Forms issue

    When I complete a rental doc in PDF Forms and then send it as a Flattened Copy it does not send the figures I type in. Any ideas?

  • Deletion of Particular PSA Request  which is in Yellow Color

    Hai All,               Can anybody tell how to delete the Yellow status PSA request in 2004S . I am not able to delelte this request. Can't we delete that one ? Due to this yellow status reuest i am getting run time error while i am moving other gree

  • Toad linked to Oracle 11g dosent show hebrew Characters

    Hi all I tring to connect oracle 11g DB contains hebrew Characters using TOAD but for some reason its deosent show the hebrw Characters (display a question marks) I have been told to check the NLS_LANG varible, but its looks OK Plase help Yaniv

  • Duel Monitor and PowerPoint, Urgent Please

    Dear All OK, this is the case I have a presentation tommrow , and I was planning to have two screens , one screen for the slideshow, and the another screen for an Image. work fine in Win7 however, I found out that I will be given an IMac ( V 10.7.5)