General :: How To Connect Two Different Ip Classes In Lan In System

Jun 14, 2010

In our LAN connection setup. having 192.168.1.0/24 and 192.168.2.0/24 how do i connected intermediately. server are RHEL5.

View 2 Replies


ADVERTISEMENT

General :: Cups Implicit Classes And Windows

Oct 20, 2010

To foster from the failover concept of Cups I have set up 2 servers with the same printers and settings to enable the implicit classes.

Server A

I added first aprinter defined with the name myprinter (a Ricoh MP5000)

Server B

On Server B i did no printer definition

That is working fine on Cups web interface of Server B i see queuename Server A.myprinter(and vice versa).

Now I add the printer (without samba via ipp) to my windows client with the parameters [url]. I can print that way all ok. The job appears and will be printed on Server A

When I disable myprinter on A. I cannot print. I expected with the implicit classes that it switches to Server B. Is the idea wrong ? Or is Windows limited here ? Or is there another way of defintion I have to do.

My both servers are running on different platforms Suse SLES 10 and Red Hat. CUPS version 1.4.4

View 2 Replies View Related

General :: Phpldapadmin Classes Of Objects From XML Doesn't Support By LDAP Server

May 1, 2010

I have installed phpldapadmin 1.2.0.5 Using commands in shell I have added two users and some groups into a base (ldif-file) and I see them in phpldapadmin. But when I try to add users or groups by using graphical interface (phpldapadmin) I can't do this correctly because I can't to select a type of new entry and I see a tip "classes of objects from XML does not support LDAP-server". So I can't to create a new entry by using graphical interface. Here is my slapd.conf

[code]...

View 3 Replies View Related

General :: Not Able To Connect System Pc Via Telnet / Why Is So?

May 10, 2010

How to eneble telnet in linux based os?

I'd tried this command:

telnet my pc ip & name

View 3 Replies View Related

Programming :: Reg: C++ Abstract Classes?

Oct 28, 2010

I know the basic answer about how to create a class as ABC.But I don;'t know- - why I have to create a AbstractBaseClass. - In what situations it can be used.an example code base and not like a animal(base) and tiger(derived) relationship example.

View 2 Replies View Related

Programming :: C++Linking Classes/.cpp Files To Run One After Other?

Apr 11, 2010

This is probably a really stupid thing to ask considering the development I'm doing (effectivly creating a virus scanner), but how do I link classes/cpp files?I have 3 applications/sections that I can compile/combine with a makefile, that's fine, but I need them to run 1, 2, 3 once the output from the makefile is done.Currently the only section to actually run is whichever I have "main" in and obviously if I put that into all three, they won't compile as one.I've been looking all over the place at all sorts, header files and such, but there is no mention of how toually do this although I'm sure it must be possible. I'm used to being able to do this in Java and I'm sure I've seen C++ applications do it, but not worked out how.I have 3x .cpp files which are combined into one using a makefile:

Code:
# Virus Scanner
scanner.out : ProgramList.o MD5Hash.o HazardCheck.o

[code]...

View 2 Replies View Related

Programming :: Possible To Have A Templated C++ Stl Containers In Classes?

Feb 15, 2010

Is it possible to have a templated c++ stl container in another class without specifying the type prior to compile time? I haven't coded in c++ in a while and im at a total loss.

For example - Not real code. Just outlining the problem code...

View 1 Replies View Related

Programming :: Saving A Certain Variable And Using It In All The Classes?

Feb 4, 2010

facing a problem in declaring variables. i have a few classes like the one below...

Code:
#ifndef _FINANCE_H
#define_FINANCE_H

[code]....

View 1 Replies View Related

General :: Connect A System Laptop To Windows Server?

Oct 8, 2009

I'm considering making the switch to Linux on my laptop, most likely to Ubuntu. However, I have a home server running on Windows 2003, is there any way I can connect my laptop on Ubuntu (or if there's a different version that would work) to this server?

View 3 Replies View Related

General :: Unable To Connect To Internet In System / Resolve This?

Jun 10, 2011

I have installed Linux 5.6 in my home PC, i tired to use internet connection its failed to connect. Whereas i am able to work in windows XP.

In Linux:-

i am not able to ping any sites.

i am using BSNL Broadband connection.

i have enable the option DHCP (IN DNS Configuration) to obtain an IP automatically from the ISP.

/etc/resolv.conf file looks like

search localhost
nameserver 192.168.1.1

View 5 Replies View Related

General :: Unable To Connect Internet From Client System

Jan 28, 2010

I have Cisco Switch 2960, and it has been configured with dhcp (from 192.168.43.31 to 192.168.43.) and all my client connected to It. I have a modem and Its IP is 192.168.1.1, I used Fedora Linux system in between Modem and Switch , and made IP forwarding (Only one ethernet port is avaliable in Fedora Linux System), so that I can use the Internet through out the LAN. But When I try to ping modem form client system, I get an message
icmp_sep=1109 Redirect Host: (New nexthop: 192.168.1.1),
I am not able to connect Internet from my Client system.

View 4 Replies View Related

Ubuntu :: Send .docx For College Classes?

Apr 2, 2011

I started taking CIT 101 (computer classes 101 LOL i know) as I am strict linux, in my house, purchasing office 2007 yes they require 2007 not 2010. Columbus State is tough on that, I need to be able to send documents in 2007 .docx in openoffice 3.3. The only computer that uses windows, is my grandparents and I don't want to buy Office if at all possible. I have like no money after all the text books. Teacher is strict it can not be .doc, odt. or other, needs to be .docx

View 9 Replies View Related

Programming :: Child Classes That Extend Each Type Of Pet

Jan 6, 2011

I am fairly new to c++. There must be a better way to do the following?:- Say I have a base class, Pet. I have several child classes that extend from this, like Dog, Cat, Fish etc.

I have the following function, that returns a pointer to a new Pet:-
Code: Pet* addPetToVet()
{ //Do some stuff
return new Pet();
} This will return a pointer an instance of a pet object.

Now, if I want to interpret this pet as a dog or cat I have to do this:-
Code: Dog* dogA = static_cast<Dog*>(addPetToVet());
Cat* catA = static_cast<Cat*>(addPetToVet()); Is there a way around this? Casting seems lame. I cant write a function for each type of pet.

View 5 Replies View Related

Server :: Tomcat 7.0.8 Not Finding Packaged Classes?

Mar 11, 2011

I'm trying to set up Apache Tomcat with virtual hosting. I've used Caucho Resin before but not Tomcat...and I've run into what appears to be (from Google at least) a rather common problem with Tomcat in that any properly packaged classes under WEB-INF of the default virtual host or the named host are not found and Tomcat complains of a class that "cannot be resolved to a type". I researched this error on Google and the consensus seems to be that: -

- You need properly packaged classes as classes in the default package are no longer allowed. I have done this.

- You need to either fully declare the packaged class to make an instance of it within the JSP or include the via an import statement at the top of the JSP. I have done this.

- In the web.xml for the Tomcat server instance (under $CATALINA_HOME/conf/web.xml) you need to set the servlet mapping for JSPs fork init-param to "true". I have done this also.

Yet the problem persists and I have found no solution. So I can only assume I'm missing something obvious and fundamental. My configuration is as follows: - I have two virtual hosts - one as the default virtual host and another as a named virtual host.

$CATALINA_HOME/webapps/localhost <--- Default host.
$CATALINA_HOME/webapps/www.easicasino.com <--- Named host. The logic being that the URL IP address of the server will hit the default webapp and the URL hostname with hit the named webapp. This appears to work with just JSPs.

My $CATALINA_HOME/conf/server.xml looks like this: -

Code:

<?xml version='1.0' encoding='utf-8'?>
<Server port="8005" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
<Listener className="org.apache.catalina.core.JasperListener" />

[code]....

View 1 Replies View Related

Programming :: Java : Use Dynamically Loaded Classes?

May 15, 2010

I'm new to Java.
I'm trying to use some dynamically loaded classes in my application.
The application doesn't know those classes , Just it try to load a class by name that its name came from input.
It doesn't know class (So I can't use casting) but just needs to call some methods of that class (every class should have that methods).
I thought about interfaces but I don't know how.
How can I call those methods?

View 1 Replies View Related

Ubuntu Servers :: Unable To Connect To System Bus: Failed To Connect To Socket

May 29, 2010

I tried to install vsftpd on my server and while the installation went fine, I can't run

Code:
restart vsftpd
As I the get error
Code:

restart: Unable to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory Though I'm able to restart the service with

sudo /etc/init.d/vsftpd restart with a warning telling me to use the service utility. Not only that, but despite the port being open it won't allow me to log in, it just hangs, and I have local users enabled (I've used the default .conf file). Does dbus not come installed in 10.04, and if I did install it would it make a difference for restarting the service? Are there further steps needed not available in the tutorial on the Ubuntu Server Guide for 10.04 to enabling local user authentication? -edit- Figured it out, dbus wasn't installed, vsftpd is working fine now.

View 4 Replies View Related

General :: Configured System To Connect To A Wireless Network On Bootup?

Mar 16, 2011

I have configured my system to connect to a wireless network on bootup, but now every time I boot I have to wait and watch it connect (it outputs some dhcp connect stuff) which delays the boot process. is there any way to just initialize the script and then go on with the boot process instead of letting it output some pointless crap and waiting for it to end?

View 5 Replies View Related

Programming :: [c++] Mixing Abstract Classes And Multiple Inheritance?

Apr 18, 2011

Why are the 'defense' method calls actually using the 'offense' methods.Also, is there a way to remove the commented base classes for 'Player' so that the casting isn't necessary?

Code:
#include <iostream>
class Offense

[code]...

View 1 Replies View Related

General :: Connect LDAP On SLES IBM Mainframe System To Active Directory?

Sep 30, 2009

I am looking for help connecting my mainframe Linux to the active directory world.

View 1 Replies View Related

General :: Install Network-manager And Relatives To Connect Mobile Internet In System?

Jan 5, 2010

I am a user or consumer of Knoppix 5.1 and Knoppix 6.2, I see in 6.2 version a very usefully tool, an icon in task bar thats help my internet connection in auto, even if I use a mobile modem like Huawei E160, I only select a 'Auto Mobile Broadband (GSM) connection' and, voila, internet is active. Into version 5.1 don't exist this option. I need to find packages like network-manager.... and all relatives and install in 5.1 in correct order to success.

View 2 Replies View Related

Networking :: Shape Bandwidth Using HTB Method And Filtering Classes With Destination Mac Address?

Jan 21, 2010

I'm trying to shape bandwidth using HTB method and filtering classes with destination mac address. for this I've found two codes but none of them seem to filter bandwidth as i want (test with iperf)

code 1 Code: tc qdisc add dev eth0 root handle 1: htb
tc class add dev eth0 parent 1: classid 1:1 htb rate 1000kbit ceil 1000kbit
tc filter add dev eth0 parent 1: protocol ip prio 3 u32 match u16 0x0800 0xFFFF at -2 match u16 0xM4M5 0xFFFF
code....

View 1 Replies View Related

Programming :: Equivalence Classes Based On Field Values And Multi-key Hashtable?

May 12, 2010

I've got a set of objects (all of the same type). I'm trying to think of a good way to divide it into equivalence classes, with equivalence of two objects defined as meaning a specified set of attributes are equal for both objects. More concretely, I've got:

- a Java class with around 50 fields
- a bunch of instances of the class

I want:

- to divide the instances into a few sets
- in each set, each instance has field 1 - field 5 equal to fields 1-5 of the other instances in the set.

The method I've come up with is to generate a hashcode for each instance based on the hashcodes of fields 1-5*, and map the hashcode to one of my sets. Ignoring problems with potential hashcode collisions (which I'm expecting to be too rare to worry about for now), does that sound reasonable? It seems simple enough, but I'm wondering if there's a simpler method I haven't thought of.

* I'll generate the hashcode using a method based on Eclipse's generic hashcode method, which looks like this:

Code:

public int hashCode() {
final int prime = 31;
int result = 1;

[code]....

View 5 Replies View Related

Ubuntu :: Networking / Connect The System To The Fedora 13 System?

Jul 7, 2010

I just installed Ubuntu 10.04 on a 2nd desktop system. I erased Win XP and Ubuntu is the only OS on this system. I have Win Vista Ultimate & Fedora 13 on my other desktop system. The cable modem and dlink wireless router is directly connected to the Fedora 13 machine. I want to connect the Ubuntu system to the Fedora 13 system.

View 3 Replies View Related

SUSE / Novell :: "Type Error: Components. Classes[cid]is Undefined"

Oct 2, 2010

When I start Firefox I get the subject error. Suse 11.2. What does it mean, and how can I fix it? It also says "[java script application]" in the task bar when FF launches.

View 2 Replies View Related

Fedora Networking :: Finding The Upcoming Bandwidth And Specify The Bandwidth Rateto Classes

Nov 18, 2010

I created a the class like this for shaping the packets with a specified bandwidth rate.....

tc qdisc del dev eth0 root
tc qdisc add dev eth0 root handle 1: htb default 15
tc class add dev eth0 parent 1:0 classid 1:1 htb rate 750kbit ceil 750kbit
tc class add dev eth0 parent 1:1 classid 1:3 htb rate 600kbit ceil 750kbit prio 0

For Our Requirement:-

I dont want to specify the bandwidth rate strictly like this rate750kbit ceil 750kbit,based on whatever speed is coming which should allocate the bandwidth rate for particular class...I need one application for finding the upcoming bandwidth & Is any other method is there for specify the bandwidth rate in a classes.

View 1 Replies View Related

Ubuntu :: Connect To MySQL On System Using VB6 App?

Oct 26, 2010

I am looking for some advice on the best way to connect to a MySQL database on a Ubuntu server via SSH. The application is built using VB6 and is installed on a Windows server.

View 2 Replies View Related

Networking :: Way To Connect This System To Internet

Sep 6, 2010

Just i installed Slackware linux , how can i connect this system to Internet? I have BSNL broadband (DSL modem conn to ethernet port)

View 3 Replies View Related

Networking :: Connect Two Networks Using 2 NIC System Pc?

Jun 14, 2010

We have two networks,one is 10.0.0.* with mask 255.255.255.0 & the other 20.0.0.* with mask 255.255.255.0 and one linux(RHEL5) PC with two network interface eth0,eth1.(configured as Router)
eth0 is 10.0.0.1 and eth1 is 20.0.0.1
we have enabled IP_Forward using "sysctl w net.ipv4.ip_forward=1"
cat /proc/sys/net/ipv4/ip_forward is 1
but unable to ping from one network to other network.

two networks are connected to Linux PC.(10.0.0.1 & 20.0.0.1)

still wht configuration required to establish the connection between two networks using LINUX PC.

from router(linux PC) both network PC's are pinging but not from one network to other network.

View 12 Replies View Related

Red Hat :: Connect A Usb Device To My Redhat System Box?

Nov 16, 2010

I am new to linux redhat 9. how to connect my usb device to redhat linux.

View 2 Replies View Related

Fedora Networking :: Connect Laptop And System With LAN?

Apr 3, 2009

need to connect My System-ubuntu with Laptop-Fedora 10 LAN. Can I connect directly with c-cable Laptop to System?How to set that this 2 see each other?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved