Force RMI client to connect to one Port
Hi,
Is there a way to force an RMI client to connect to a specific port.
Any hint will be greatly appreciated
Wafic
Not really since it needs 2 ports, one for the RMI registry and other for the remote object.
You can set these ports to what you like though (not the same).
First port you set when you create/start your rmiregistry, the second when you create the UnicastRemoteObject, in its constructor you can specify it with the constructor UnicastRemoteObject(int port).
This is only available since JDK1.2 though. When you connect with the client to the rmiregistry and the remote object, you specify the port in the URL from the client side like:
rmi://localhost:port/remoteobjectname
just replace localhost with the address of the server.
The remote object port is passed to the client by the rmiregistry.
Similar Messages
-
Rmi client throws Connection Refused exception
My Rmi client throws a Connection Refused exception when i try to run it on remote machine (in this case i run it on my virtualbox macine).
The virtualbox machine network is in NAT mode (host machine ip should be 10.0.2.2).
When rmi client starts get registry instance and print in standar output:
RegistryImpl_Stub[UnicastRef2 [liveRef: [endpoint:[//10.0.2.2/:1099,util,RmiInstances$1@1275d39](remote),objId:[0:0:0, 0]]]]But when rmi client trys to use any of remote methods it throws Connection Refused, but it's to strange because the Connection Refused has 127.0.1.1 as ip.
java.rmi.ConnectException: Connection refused to host: 127.0.1.1; ....In client RmiInstances code (this class contains all remote implementations) is:
public class RmiInstances {
private static RmiInstances instance;
private IUserManage userManage;
private IAnalysis analysis;
private IPacientManage pacientManage;
private IInsuranceManage insuranceManage;
private Config config;
private RmiInstances()
throws RemoteException, NotBoundException, IOException {
this.config = Config.getInstance();
Registry registry = LocateRegistry.getRegistry(config.getServerUrl()+"/",
1099, new RMIClientSocketFactory() {
@Override
public Socket createSocket(String host, int port) throws IOException {
try {
URI uri = new URI(config.getServerUrl()+
":"+config.getServerPort());
return new Socket(uri.getHost(), uri.getPort());
} catch (URISyntaxException ex) {
ex.printStackTrace();
return null;
System.out.println(registry);
userManage = (IUserManage)registry.lookup("RUserManage");
analysis = (IAnalysis)registry.lookup("RAnalysis");
pacientManage = (IPacientManage)registry.lookup("RPacientManage");
insuranceManage = (IInsuranceManage)registry.lookup("RInsuranceManage");
...And server code is the next:
public static void main(String[] args) {
System.out.println("GNULab Server " + VERSION + " starting...");
System.setProperty("java.rmi.server.codebase",
"file:/home/zarovich/workspace/labserver/bin");
try {
// Loading config
System.out.println("Loading config...");
Config config = Config.getInstance();
// inicializando rmi registry
Registry registry;
if (config.isSsl()) {
registry = LocateRegistry.createRegistry(
config.getServerPort(), new RmiSSLClient(),
new RmiSSLServer());
} else
registry = LocateRegistry
.createRegistry(config.getServerPort());
// instanciando implementaciones
RAnalysis rAnalysis = new RAnalysis();
RInsuranceManage rInsuranceManage = new RInsuranceManage();
RPacientManage rPacientManage = new RPacientManage();
RUserManage rUserManage = new RUserManage();
// registrando interfaz rmi
registry.rebind("RAnalysis", (IAnalysis) UnicastRemoteObject.exportObject(rAnalysis, 0));
registry.rebind("RInsuranceManage", (IInsuranceManage) UnicastRemoteObject.exportObject(rInsuranceManage, 0));
registry.rebind("RPacientManage", (IPacientManage) UnicastRemoteObject.exportObject(rPacientManage, 0));
registry.rebind("RUserManage", (IUserManage) UnicastRemoteObject.exportObject(rUserManage, 0));
System.out.println("GNULab Server " + VERSION + " listening ...");
System.out.println("Registry instance: " + registry.toString());
} catch (RemoteException e) {
e.printStackTrace();
* catch (MalformedURLException e) { e.printStackTrace(); }
*/catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (JDOMException e) {
// TODO Auto-generated catch block
e.printStackTrace();
...I'm solved my problem.
I just need run my server with -Djava.rmi.serverhost=10.0.2.2 and my client running on my virtualbox machine works! -
Multiple sockets connected to one port
Hello I am running a LabVIEW VI that is based on the Labview TCPServer example. I am wondering what the best way to deal with multiple connections to a single port would be. For example I have a device(could be thought of as the same thing as the TCPClient vi) that connects to the server using the port number and the IP address. The communication works fine when there is only one device trying to connect to the server, the problem occurs when two devices try to connect to the server. When the first device connects all data sent shows up fine, when the second device connects, the status on the device indicates a proper connection but none of the data sent shows up on the server side. I assume that I must do something with the connection ID to distinguish between the two connections, but I was wondering if there was an example or something that deals with this issue, or if someone would like to explain how I could get the data to show up properly. Any help is appreciated, thanks!
I am hoping that there is something similar to the java api where there is some way I can start a new threads to handle multiple connections on the same port. I would assume that if java has it LabVIEW would have something similar. Unfortunately I am not sure how to go about finding out how to do such a thing in LabVIEW.
The way that I assume the TCPListen.vi works is that there is some mechanism polling the specified port and ip address waiting for a request for a connection. Once a request is received the VI creates a connection ID so that the other subvi's can perform operations on the specific connection. It also looks as though the TCPListen.vi continues to listen for new connections, because the clients indicate a connection when more then one of them are run trying to connect to the same port and IP.
So my question is either, how to start a parallel process to handle the new connections, or where can I find the new connection ID (because the indicator only shows the connection id of the first client to connect). Basically I am having trouble distinguishing between the multiple connections on the same port.I would like to keep all of the clients sending data through the same port if possible.Each client identifies itself in its data message so keeping the data organized is not a problem.
I also looked at the data socket examples, mainly because the Java examples I was looking at used "Sockets". I ran into similar troubles finding a way to create distinguishable connections using DS's as well. Anyways, any help is appreciated. Thanks. -
Can two different SRM clients systems connect to one R/3 Back-end system?
Hello,
Trying to developing SRM Co-Exist/Global strategy, based on the following scenario:
1. Two different SRM client systems, each at DIFFERENT SRM Version/Release Level. SRM system "A" runs in Stand-Alone and Extend Classic Scenario mode. SRM system "B" runs in Classic Scenario mode
2. Two different R/3 back-end systems, each with SAME R/3 4.7 Version/Release Level.
Question 1: Can the two (2) different SRM client systems be connected to one (1) of the R/3 back-end systems?
Question 2: Are there any Basis Plug-In (PI_BASIS) issues/difficulties to consider from either the SRM client or R/3 back-end side?
Question 3: Does each SRM client need it own unique transaction document type(s) and number range(s) definitions?
Question 4: Are there any other difficulties, for example, with RFC and Partner Profile related definitions and what are the steps to address/resolve difficulties?
Please advise and thanks in advance for your feedback!
Regards,
Ed
Edited by: Ed Shigo on Mar 16, 2009 6:40 AMQuestion 1: Can the two (2) different SRM client systems be connected to one (1) of the R/3 back-end systems?
They can be connected
Question 2: Are there any Basis Plug-In (PI_BASIS) issues/difficulties to consider from either the SRM client or R/3 back-end side?
Make sure that you have unique consumer entries for Middleware for Material replication, RFCs etc
Question 3: Does each SRM client need it own unique transaction document type(s) and number range(s) definitions?
Yes you need to have them.
Question 4: Are there any other difficulties, for example, with RFC and Partner Profile related definitions and what are the steps to address/resolve difficulties?
Don't see any difficulties as long as the a structured approach is followed. -
Oracle client 8i connecting to one node only
Hello all,
I had 2 node RAC database setup, in which when a person in development team tries to connect to the RAC database via oracle client,He can able to connect to one node only,when i tried tnsping80 utility it showing one VIP address
He using oracle 8i client on windows7
Database is 10G RAC and load balance is on in both database and client
please provide the solutionHi,
Also I am not sure whether 8i client is certified with 10g database or not.
Do you have a metalink account. Read this Doc ID 207303.1
Regards -
RMI client losing connection and weblogic.rjvm.PeerGoneException
What causes PeerGoneExceptions? We are seeing this very often on our
production and test systems. We use WLS RMI clients connected to WLS 4.5.1
servers w/ service pack 10. I understand that there is a heartbeat between
the client JVM and the server JVM. Is there any documentation that explains
how this actually works. For example, how often does the client send its
heartbeat. Is it configurable? What could cause it to stop or drop the
connection. We are using straight T3 (no T3S or HTTP).
thanks for your help,
Edwin Marcial
Intercontinental ExchangeWhat causes PeerGoneExceptions? We are seeing this very often on our
production and test systems. We use WLS RMI clients connected to WLS 4.5.1
servers w/ service pack 10. I understand that there is a heartbeat between
the client JVM and the server JVM. Is there any documentation that explains
how this actually works. For example, how often does the client send its
heartbeat. Is it configurable? What could cause it to stop or drop the
connection. We are using straight T3 (no T3S or HTTP).
thanks for your help,
Edwin Marcial
Intercontinental Exchange -
Using an RMI Client to connect to a Server.
I am using an RMI Client on my PC (using Eclipse 3.2) to connect to a Server on a Linux System.
The Server is up and running and from the client side,I am reading all the server configuration into a variable and passing this variable into Naming,lookup.
String lookUp = "//" + prop.getProperty("rmi.hostName") +
":" + prop.getProperty("rmi.appPort") +
"/" + prop.getProperty("rmi.appName);
System.out.println(lookUp) // Value://17.10.222.80:40009/RMIAPP
Application a = (Application)Naming.lookup(lookUp) It is unable to connect to the Server.
Am I missing anything? Have I overlooked any point?
Thankshttp://java.sun.com/docs/books/tutorial/rmi/index.html
-
802.1x per host authentication under one port with multi-host access by hub
Dear,
While multi-host connect to one port by hub, it seems that in multi-host mode, after one host passed the authentication, the port change state to up, and the other hosts do not need to authenticate any more. And in single host mode, only one host could access to the network under one port.
In the situation with multi-host access to one port by hub, is it possible that we could control per user access by authentication for each?
We did some test on 3550, it seems that the 3550 doesnot support what we need. And what about 4506?
Thanks!Multiauthentication Mode
Available in Cisco IOS Release 12.2(33)SXI and later releases, multiauthentication (multiauth) mode allows one 802.1X/MAB client on the voice VLAN and multiple authenticated 802.1X/MAB/webauth clients on the data VLAN. When a hub or access point is connected to an 802.1X port (as shown in Figure 60-5), multiauth mode provides enhanced security over the multiple-hosts mode by requiring authentication of each connected client. For non-802.1X devices, MAB or web-based authentication can be used as the fallback method for individual host authentications, which allows different hosts to be authenticated through different methods on a single port.
Multiauth also supports MDA functionality on the voice VLAN by assigning authenticated devices to either a data or voice VLAN depending on the data that the VSAs received from the authentication server.
Release 12.2(33)SXJ and later releases support the assignment of a RADIUS server-supplied VLAN in multiauth mode, by using the existing commands and when these conditions occur:
•The host is the first host authorized on the port, and the RADIUS server supplies VLAN information.
•Subsequent hosts are authorized with a VLAN that matches the operational VLAN.
•A host is authorized on the port with no VLAN assignment, and subsequent hosts either have no VLAN assignment, or their VLAN information matches the operational VLAN.
•The first host authorized on the port has a group VLAN assignment, and subsequent hosts either have no VLAN assignment, or their group VLAN matches the group VLAN on the port. Subsequent hosts must use the same VLAN from the VLAN group as the first host. If a VLAN list is used, all hosts are subject to the conditions specified in the VLAN list.
•After a VLAN is assigned to a host on the port, subsequent hosts must have matching VLAN information or be denied access to the port.
•The behavior of the critical-auth VLAN is not changed for multiauth mode. When a host tries to authenticate and the server is not reachable, all authorized hosts are reinitialized in the configured VLAN.
NOTE :
•Only one voice VLAN is supported on a multiauth port.
•You cannot configure a guest VLAN or an auth-fail VLAN in multiauth mode.
for more information :
http://www.cisco.com/en/US/docs/switches/lan/catalyst6500/ios/12.2SX/configuration/guide/dot1x.html -
Client wont connect to closest AP
hi every one
this is the second post. the first one is missing!
long story short, client connection is random. doesnt connect to the closest AP.
i have situation like 40 clients connected to one AP and 2 meter away an AP only servicing 4 !
i have wlc 5508 and 100 AP. i tried aggressive load balancing and end up having more issue! tried restrict an AP to 25 but no use i can see some AP servicing 40 clients no matter what i define. i disabled the slow data rate nothing happened. i have none CCX clients but on few CCX client no difference and same result
is there anyone who can tell me how to force the client to connect to closest AP?
really frustrated , thanks for your comments.HI Leo
Thanks. I think you are making a valid point. here we are a school and have multiple brand laptops. some of them has the aggressive mobility feature. some dont. I start to play with a test machine and see if it actually makes a difference
on the WLC the DCA is set to auti but the TPCv2 is enabled. I changed it to v1 and im going to test it now. I'll keep you posted as soon as the test finished.
at the moment it is what the client see:
Number of Mic Failured Packets............. 0
Number of Mic Missing Packets.............. 0
Number of RA Packets Dropped............... 0
Number of Policy Errors.................... 0
Radio Signal Strength Indicator............ -52 dBm
Signal to Noise Ratio...................... 46 dB
Client Rate Limiting Statistics:
Number of Data Packets Recieved............ 0
Number of Data Rx Packets Dropped.......... 0
Number of Data Bytes Recieved.............. 0
Number of Data Rx Bytes Dropped............ 0
Number of Realtime Packets Recieved........ 0
Number of Realtime Rx Packets Dropped...... 0
Number of Realtime Bytes Recieved.......... 0
Number of Realtime Rx Bytes Dropped........ 0
--More-- or (q)uit
Number of Data Packets Sent................ 0
Number of Data Tx Packets Dropped.......... 0
Number of Data Bytes Sent.................. 0
Number of Data Tx Bytes Dropped............ 0
Number of Realtime Packets Sent............ 0
Number of Realtime Tx Packets Dropped...... 0
Number of Realtime Bytes Sent.............. 0
Number of Realtime Tx Bytes Dropped........ 0
Nearby AP Statistics:
VisualARTS_A(slot 0)
antenna0: 34 secs ago.................... -88 dBm
antenna1: 34 secs ago.................... -88 dBm
Senior_DS2.4B(slot 0)
antenna0: 34 secs ago.................... -90 dBm
antenna1: 34 secs ago.................... -87 dBm
Senior_DS2.8(slot 0)
antenna0: 34 secs ago.................... -89 dBm
antenna1: 34 secs ago.................... -85 dBm
Senior_EnglishOff(slot 0)
antenna0: 34 secs ago.................... -61 dBm
antenna1: 34 secs ago.................... -54 dBm
Senior_EnglishOff(slot 1)
antenna0: 37 secs ago.................... -72 dBm
--More-- or (q)uit
antenna1: 37 secs ago.................... -76 dBm
Senior_DS2.7(slot 0)
antenna0: 34 secs ago.................... -87 dBm
antenna1: 34 secs ago.................... -80 dBm
SeniorSchool(slot 0)
antenna0: 34 secs ago.................... -82 dBm
antenna1: 34 secs ago.................... -78 dBm
Senior_DS1.6(slot 0)
antenna0: 34 secs ago.................... -62 dBm
antenna1: 34 secs ago.................... -67 dBm
Senior_DS1.6(slot 1)
antenna0: 37 secs ago.................... -68 dBm
antenna1: 37 secs ago.................... -71 dBm
Senior_DS1.2A(slot 0)
antenna0: 34 secs ago.................... -34 dBm
antenna1: 34 secs ago.................... -37 dBm
Senior_DS1.2A(slot 1)
antenna0: 37 secs ago.................... -32 dBm
antenna1: 37 secs ago.................... -49 dBm
Senior_DS2.4A(slot 0)
antenna0: 34 secs ago.................... -87 dBm
antenna1: 34 secs ago.................... -89 dBm
Science_Indonesia(slot 0)
--More-- or (q)uit
antenna0: 34 secs ago.................... -93 dBm
antenna1: 34 secs ago.................... -89 dBm
Senior_HeadOfHous(slot 0)
antenna0: 34 secs ago.................... -73 dBm
antenna1: 34 secs ago.................... -74 dBm
Senior_DS2.2(slot 0)
antenna0: 34 secs ago.................... -80 dBm
antenna1: 34 secs ago.................... -80 dBm
Senior_DS1.7(slot 0)
antenna0: 34 secs ago.................... -59 dBm
antenna1: 34 secs ago.................... -50 dBm
Senior_DS1.7(slot 1)
antenna0: 36 secs ago.................... -70 dBm
antenna1: 36 secs ago.................... -74 dBm
Senior_Students_R(slot 0)
antenna0: 34 secs ago.................... -85 dBm
antenna1: 34 secs ago.................... -83 dBm
Senior_DS1.4(slot 0)
antenna0: 34 secs ago.................... -60 dBm
antenna1: 34 secs ago.................... -64 dBm
Senior_DS1.4(slot 1)
antenna0: 36 secs ago.................... -73 dBm
antenna1: 36 secs ago.................... -74 dBm
--More-- or (q)uit
Senior_DS1.2B(slot 0)
antenna0: 34 secs ago.................... -57 dBm
antenna1: 34 secs ago.................... -50 dBm
Senior_DS1.2B(slot 1)
antenna0: 37 secs ago.................... -53 dBm
antenna1: 37 secs ago.................... -62 dBm
Senior_DS1.5(slot 0)
antenna0: 34 secs ago.................... -63 dBm
antenna1: 34 secs ago.................... -65 dBm
Senior_DS1.5(slot 1)
antenna0: 36 secs ago.................... -79 dBm
antenna1: 36 secs ago.................... -84 dBm
DNS Server details: -
Compiling an RMI client using Java/eclipse
I have written a RMI Client (which connects to a server service).
The configuration file is an XML.
How do I compile an RMI client in ECLIPSE 3.2 using rmic?
i havent compiled using rmic in eclipse before?
Any ideas how to do this please?this could help
http://lunar-eclipse.sourceforge.net/ -
Hi
I have installed coheI have installed coherence server "fmw_12.1.3.0.0_coherence_Disk1_1of1.zip" along with Examples on windows machine and C++ client coherence-cpp-12.1.3.0.0b51709-windows-x86-vs2012.zip on the same machine.
I have built the "contacts" C++ Example successfully and while I execute this "contacts" using run I am facing TcpAcceptor error.
On my coherence server the TcpAcceptor is listening on port 8088, so I have modified the extend-cache-config.xml file with values "ip address of my windows machine" and port as "8088".
All the time I am getting below error,
coherence::net::messaging::ConnectionException: could not establish a connection to one of the following addresses: {10.242.152.242/10.242.152.242:8088}; make sure the "remote-addresses" configuration element contains an address and port of a running TcpAcceptor
at class coherence::lang::TypedHandle<class coherence::component::net::extend::PofConnection> __thiscall coherence::component::util::TcpInitiator::openConne
ction(void)(TcpInitiator.cpp:307)
at coherence::component::util::TcpInitiator::openConnection
at coherence::component::util::Initiator::ensureConnection
at coherence::component::net::extend::RemoteCacheService::openChannel
at coherence::component::net::extend::RemoteService::doStart
at coherence::component::net::extend::RemoteService::start
at coherence::component::util::SafeService::startService
at coherence::component::util::SafeService::restartService
at coherence::component::util::SafeService::ensureRunningServiceInternal
at coherence::component::util::SafeService::start
at coherence::net::DefaultConfigurableCacheFactory::configureService
at coherence::net::DefaultConfigurableCacheFactory::ensureService
at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
at coherence::net::DefaultConfigurableCacheFactory::configureCache
at coherence::net::DefaultConfigurableCacheFactory::ensureCache
at coherence::net::CacheFactory::getCache
at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void,void,void,void> >::sizeOf(bool)
at _onexit
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at BaseThreadInitThunk
at RtlInitializeExceptionChain
at RtlInitializeExceptionChain
on thread "main"
Caused by: coherence::net::messaging::ConnectionException: coherence::component::util::TcpInitiator::TcpConnection@029EAD78{Id=NULL, Open=1, LocalAddress=NULL,
RemoteAddress=10.242.152.242/10.242.152.242:8088}: socket disconnect
at class coherence::lang::TypedHandle<class coherence::net::messaging::Response> __thiscall coherence::component::net::extend::AbstractPofRequest::Status::g
etResponse(void)(AbstractPofRequest.cpp:203)
at coherence::component::net::extend::AbstractPofRequest::Status::getResponse
at coherence::component::net::extend::AbstractPofRequest::Status::waitForResponse
at coherence::component::util::Initiator::openConnection
at coherence::component::net::extend::PofConnection::open
at coherence::component::util::TcpInitiator::openConnection
at coherence::component::util::Initiator::ensureConnection
at coherence::component::net::extend::RemoteCacheService::openChannel
at coherence::component::net::extend::RemoteService::doStart
at coherence::component::net::extend::RemoteService::start
at coherence::component::util::SafeService::startService
at coherence::component::util::SafeService::restartService
at coherence::component::util::SafeService::ensureRunningServiceInternal
at coherence::component::util::SafeService::start
at coherence::net::DefaultConfigurableCacheFactory::configureService
at coherence::net::DefaultConfigurableCacheFactory::ensureService
at coherence::net::DefaultConfigurableCacheFactory::ensureRemoteCache
at coherence::net::DefaultConfigurableCacheFactory::configureCache
at coherence::net::DefaultConfigurableCacheFactory::ensureCache
at coherence::net::CacheFactory::getCache
at unsigned __int64 coherence::lang::class_spec<class coherence::lang::Managed<class ContactId>,class coherence::lang::extends<class coherence::lang::Object
,class coherence::lang::Void<class coherence::lang::Object> >,class coherence::lang::implements<void,void,void,void,void,void,void,void,void,void,void,void,void
,void,void,void> >::sizeOf(bool)
at _onexit
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at class coherence::util::Hashtable * coherence::lang::factory<class coherence::util::Hashtable>::create(void)
at BaseThreadInitThunk
at RtlInitializeExceptionChain
at RtlInitializeExceptionChain
on thread "main"
Caused by: coherence::io::IOException: socket disconnect
at unsigned int __thiscall coherence::net::Socket::readInternal(unsigned char *,unsigned int)(Socket.cpp:333)
at coherence::net::Socket::readInternal
at coherence::net::Socket::SocketInput::read
at coherence::io::BufferedInputStream::fillBuffer
at coherence::io::BufferedInputStream::read
at coherence::component::util::TcpInitiator::readMessageLength
at coherence::component::util::TcpInitiator::TcpConnection::TcpReader::onNotify
at coherence::component::util::Daemon::run
at coherence::lang::Thread::run
on thread "ExtendTcpCacheService:coherence::component::util::TcpInitiator:coherence::component::util::TcpInitiator::TcpConnection::TcpReader"We are facing same issue. Could you please provide us any working .Net sample code for the version 12.1.2.0.
<ssl>
<protocol>Tls</protocol>
<local-certificates>
<certificate>
<url>c:\Cert\</url>
<password>password</password>
<flags>DefaultKeySet</flags>
</certificate>
</local-certificates>
</ssl>
thanks
Bala -
Window 2000 & RMI client losing network connection
We have a client/server java application communicating via RMI. The application runs perfect when the network is running smoothly. However, once the client loses connectivity with the network, the client runs in offline mode (as expected). However, once the client reestablishes a connection with the network, it is unable to communicate with the Server via RMI. It seems that Windows 2000 reassigns the client's IP address when it goes offline to localhost (127.0.0.1), when the client is reconnected the IP addresses is changed back to the network address, but it is unable to send data to the server running RMI. Any suggestions? We did not experience this problem with Windows NT.
you need to specify the IP address of the server object from the JVM in which it is exported, using -Djava.rmi.server.hostname argument to the JVM (since the client and server run on one machine, you probably want to set this to 127.0.0.1, I think)
-
Force Clients to connect to my Mac and "join" my computer list
Hi ARD users,
I am not able to scan our network for ARD clients because the scanning only works in my vlan. But we have a lot of vlans here. I can not reach the Macs in all the other vlans with the scanner. Of course it is possible to get them one after another with their IP- address but I don't know the addresses of all those (few hundred) clients. So after scanning I have only 'round 20 macs there.
So here is my question:
Is it possible to force the clients (e.g. with a script that we could distribute via FileWave, or kickstart or task-server) to connect to MY computer and "jump" into my computer- list?
Just an idea... But any comment would be appreciated, so
Thank you in advanceHi, thanks for the reply,
I' m not sure what you mean. I see that in the smart lists I will be able to sort/ filter macs that already are in my computer list. There' s an option to search for IP-addresses, but only for macs that are in the list already. I think that you mean I could sort them for the different vlans then. Of course, that would be possible, but doesn' t help with my problem.
To scan ranges across subnets... I don' t see a solution. How do you mean I could do this? We have the vlans from 10.99.1.* to 10.99.150.*. In the scanner I can give a range from 10.99.1.1 to 10.99.1.254 and scan, although MY mac is in 10.99.104.x. But then I have to give the next range: 10.99.2.1 to 10.99.2.254 and so on. For 150 of such nets it' s not very cool. It' s not possible to give an "*" symbol or so, so, are you sure it should be possible?
Thank you for your help -
WLC 4402 Multiple clients can connect to AP but only one gets an IP
I have a 4402 which is connected to a 4506 Switch int Gig 3/1 via a trunk port. The Managment and AP-manger interfaces are on vlan 6
interface GigabitEthernet3/1
description Trunk Port to WLC
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2-6
switchport mode trunk
end
I have a 1142N AP also connected to the switch and it pulls a DHCP IP Address and configs etc and registers to the WLC. It too is on Vlan 6 and it is connected to the 4506 on int gig 4/33 which is an access port.
interface GigabitEthernet4/33
description Access port to Cisco LAP 1142
switchport access vlan 6
switchport mode access
end
My router is my dhcp server;
ip dhcp pool wlanmantraffic
network 10.6.0.0 255.255.255.0
default-router 10.6.0.1
dns-server 66.109.38.250 10.7.0.8
option 43 hex f104.3130.2e36.2e30.2e33
interface FastEthernet0/1.6
description Vlan6
encapsulation dot1Q 6
ip address 10.6.0.1 255.255.255.0
no ip redirects
no ip unreachables
no ip proxy-arp
ip nat inside
ip virtual-reassembly
I am doing local authentication, so i have added users to the WLC
My problem is that the first client that connected was able to get an IP address and connect to anything internal and external.
I then connected another client on another laptop and that client could connect but not get an IP address, it just self assigned.
When i look at the clients i can see the MAC address of both Clients on the WLC, but doing a show mac address-table dynamic i only see the MAC of the client that works properly. The client that doesnt get an IP has no entry in the 4506 switch.
I am stumped, from what I understand, is that the 2nd clients traffic is being trunked to the WLC , hence it has the MAC address. But I dont know why its not getting a DHCP assigned IP address.
Thanks in advance for your help.Here is some of the WLC config,
(Cisco Controller) >show run-config
Press Enter to continue...
System Inventory
NAME: "Chassis" , DESCR: "4400 Series WLAN Controller:25 APs"
PID: AIR-WLC4402-25-K9, VID: V02, SN: FOCblankedbyme
Burned-in MAC Address............................ 00:07:0E:55:FA:C0
Crypto Accelerator 1............................. Absent
Crypto Accelerator 2............................. Absent
Power Supply 1................................... Absent
Power Supply 2................................... Present, OK
Maximum number of APs supported.................. 25
Press Enter to continue or to abort
System Information
Manufacturer's Name.............................. Cisco Systems Inc.
Product Name..................................... Cisco Controller
Product Version.................................. 7.0.235.3
RTOS Version..................................... 7.0.235.3
Bootloader Version............................... 7.0.235.3
Emergency Image Version.......................... 7.0.235.3
Build Type....................................... DATA + WPS
System Name...................................... CISCO-LWAPP-CONTROLLER
System Location..................................
System Contact...................................
System ObjectID.................................. 1.3.6.1.4.1.14179.1.1.4.3
IP Address....................................... 10.6.0.3
System Up Time................................... 0 days 21 hrs 7 mins 20 secs
System Timezone Location......................... (GMT -5:00) Eastern Time (US a
nd Canada)
Configured Country............................... US - United States
Operating Environment............................ Commercial (0 to 40 C)
Internal Temp Alarm Limits....................... 0 to 65 C
Internal Temperature............................. +36 C
--More or (q)uit current module or to abort
State of 802.11b Network......................... Enabled
State of 802.11a Network......................... Enabled
Number of WLANs.................................. 1
Number of Active Clients......................... 3
Burned-in MAC Address............................ 00:07:0E:55:FA:C0
Crypto Accelerator 1............................. Absent
Crypto Accelerator 2............................. Absent
Power Supply 1................................... Absent
Power Supply 2................................... Present, OK
Maximum number of APs supported.................. 25
Press Enter to continue or to abort
AP Bundle Information
Primary AP Image Size
ap3g1 6672
ap801 5180
ap802 5220
c1100 3092
c1130 4960
c1140 4980
c1200 3360
c1240 4800
c1250 5500
c1310 3132
c1520 6400
c3201 4312
c602i 3712
Secondary AP Image Size
ap801 4952
c1100 3040
--More or (q)uit current module or to abort
c1130 4880
c1140 4492
c1200 3312
c1240 4712
c1250 5060
c1310 3080
c1520 5240
c3201 4260
Press Enter to continue or to abort
Switch Configuration
802.3x Flow Control Mode......................... Disable
FIPS prerequisite features....................... Disabled
secret obfuscation............................... Enabled
Strong Password Check Features:
case-check ...........Enabled
consecutive-check ....Enabled
default-check .......Enabled
username-check ......Enabled
Press Enter to continue or to abort
Network Information
RF-Network Name............................. RFMobile
Web Mode.................................... Disable
Secure Web Mode............................. Enable
Secure Web Mode Cipher-Option High.......... Disable
Secure Web Mode Cipher-Option SSLv2......... Enable
OCSP........................................ Disabled
OCSP responder URL..........................
Secure Shell (ssh).......................... Enable
Telnet...................................... Disable
Ethernet Multicast Forwarding............... Disable
Ethernet Broadcast Forwarding............... Disable
AP Multicast/Broadcast Mode................. Unicast
IGMP snooping............................... Disabled
IGMP timeout................................ 60 seconds
IGMP Query Interval......................... 20 seconds
User Idle Timeout........................... 300 seconds
ARP Idle Timeout............................ 300 seconds
Cisco AP Default Master..................... Enabled
AP Join Priority............................ Disable
Mgmt Via Wireless Interface................. Disable
Mgmt Via Dynamic Interface.................. Disable
--More or (q)uit current module or to abort
Bridge MAC filter Config.................... Enable
Bridge Security Mode........................ EAP
Mesh Full Sector DFS........................ Enable
Apple Talk ................................. Disable
AP Fallback ................................ Enable
Web Auth Redirect Ports .................... 80
Web Auth Proxy Redirect ................... Disable
Fast SSID Change ........................... Disabled
802.3 Bridging ............................. Disable
IP/MAC Addr Binding Check .................. Enabled
Press Enter to continue or to abort
Port Summary
STP Admin Physical Physical Link Link Mcast
Pr Type Stat Mode Mode Status Status Trap Appliance POE
1 Normal Forw Enable Auto 1000 Full Up Enable Enable N/A
2 Normal Forw Enable Auto 1000 Full Up Enable Enable N/A
Press Enter to continue or to abort
AP Summary
Number of APs.................................... 1
Global AP User Name.............................. Not Configured
Global AP Dot1x User Name........................ Not Configured
AP Name Slots AP Model Ethernet MAC Location
Port Country Priority
NOSC-N-B1917-AP01 2 AIR-LAP1142N-A-K9 00:22:bd:1b:34:5a Route
23B 1 US 1
AP Tcp-Mss-Adjust Info
AP Name TCP State MSS Size
NOSC-N-B1917-AP01 disabled -
Press Enter to continue or to abort
AP Location
Total Number of AP Groups........................ 0
Site Name........................................ default-group
Site Description.................................
WLAN ID Interface Network Admission Control Radio Pol
icy
1 management Disabled None
AP Name Slots AP Model Ethernet MAC Location
Port Country Priority
NOSC-N-B1917-AP01 2 AIR-LAP1142N-A-K9 00:22:bd:1b:34:5a Route
23B 1 US 1
Press Enter to continue or to abort
AP Config
Cisco AP Identifier.............................. 6
Cisco AP Name.................................... NOSC-N-B1917-AP01
Country code..................................... US - United States
Regulatory Domain allowed by Country............. 802.11bg:-A 802.11a:-A
AP Country code.................................. US - United States
AP Regulatory Domain............................. -A
Switch Port Number .............................. 1
MAC Address...................................... 00:22:bd:1b:34:5a
IP Address Configuration......................... DHCP
IP Address....................................... 10.6.0.26
Gateway IP Addr.................................. 10.6.0.1
NAT External IP Address.......................... None
CAPWAP Path MTU.................................. 1485
Telnet State..................................... Enabled
Ssh State........................................ Enabled
Cisco AP Location................................ Route 23B
Cisco AP Group Name.............................. default-group
Primary Cisco Switch Name........................
Primary Cisco Switch IP Address.................. Not Configured
Secondary Cisco Switch Name......................
Secondary Cisco Switch IP Address................ Not Configured
--More or (q)uit current module or to abort... Not Configured
Tertiary Cisco Switch Name.......................
Tertiary Cisco Switch IP Address................. Not Configured
Administrative State ............................ ADMIN_ENABLED
Operation State ................................. REGISTERED
Mirroring Mode .................................. Disabled
AP Mode ......................................... H-Reap
Public Safety ................................... Disabled
AP SubMode ...................................... Not Configured
Remote AP Debug ................................. Disabled
Logging trap severity level ..................... informational
Logging syslog facility ......................... kern
S/W Version .................................... 7.0.235.3
Boot Version ................................... 12.4.18.0
Mini IOS Version ................................ 3.0.51.0
Stats Reporting Period .......................... 180
LED State........................................ Enabled
PoE Pre-Standard Switch.......................... Disabled
PoE Power Injector MAC Addr...................... Disabled
Power Type/Mode.................................. Power injector / Normal mode
Number Of Slots.................................. 2
AP Model......................................... AIR-LAP1142N-A-K9
AP Image......................................... C1140-K9W8-M
IOS Version...................................... 12.4(23c)JA6
--More or (q)uit current module or to abort
Reset Button..................................... Enabled
AP Serial Number................................. FTX1337SA7D
AP Certificate Type.............................. Manufacture Installed
H-REAP Vlan mode :............................... Enabled
Native ID :..................................... 6
H-REAP Backup Auth Radius Servers :
Static Primary Radius Server.................... Disabled
Static Secondary Radius Server.................. Disabled
Group Primary Radius Server..................... Disabled
Group Secondary Radius Server................... Disabled
AP User Mode..................................... CUSTOMIZED
AP User Name..................................... danielott
AP Dot1x User Mode............................... CUSTOMIZED
AP Dot1x User Name............................... danielott
Cisco AP system logging host..................... 255.255.255.255
AP Up Time....................................... 0 days, 19 h 22 m 53 s
AP LWAPP Up Time................................. 0 days, 01 h 08 m 46 s
Join Date and Time............................... Mon Nov 5 16:17:51 2012
Join Taken Time.................................. 0 days, 00 h 00 m 12 s
Attributes for Slot 0
Radio Type................................... RADIO_TYPE_80211n-2.4
--More or (q)uit current module or to abort
Administrative State ........................ ADMIN_ENABLED
Operation State ............................. UP
Radio Role .................................. ACCESS
CellId ...................................... 0
Station Configuration
Configuration ............................. AUTOMATIC
Number Of WLANs ........................... 1
Medium Occupancy Limit .................... 100
CFP Period ................................ 4
CFP MaxDuration ........................... 60
BSSID ..................................... 00:27:0d:07:cb:e0
Operation Rate Set
1000 Kilo Bits........................... MANDATORY
2000 Kilo Bits........................... MANDATORY
5500 Kilo Bits........................... MANDATORY
11000 Kilo Bits.......................... MANDATORY
6000 Kilo Bits........................... SUPPORTED
9000 Kilo Bits........................... SUPPORTED
12000 Kilo Bits.......................... SUPPORTED
18000 Kilo Bits.......................... SUPPORTED
24000 Kilo Bits.......................... SUPPORTED
36000 Kilo Bits.......................... SUPPORTED
--More or (q)uit current module or to abort
48000 Kilo Bits.......................... SUPPORTED
54000 Kilo Bits.......................... SUPPORTED
MCS Set
MCS 0.................................... SUPPORTED
MCS 1.................................... SUPPORTED
MCS 2.................................... SUPPORTED
MCS 3.................................... SUPPORTED
MCS 4.................................... SUPPORTED
MCS 5.................................... SUPPORTED
MCS 6.................................... SUPPORTED
MCS 7.................................... SUPPORTED
MCS 8.................................... SUPPORTED
MCS 9.................................... SUPPORTED
MCS 10................................... SUPPORTED
MCS 11................................... SUPPORTED
MCS 12................................... SUPPORTED
MCS 13................................... SUPPORTED
MCS 14................................... SUPPORTED
MCS 15................................... SUPPORTED
Beacon Period ............................. 100
Fragmentation Threshold ................... 2346
Multi Domain Capability Implemented ....... TRUE
Multi Domain Capability Enabled ........... TRUE
Country String ............................ US
Multi Domain Capability
Configuration ............................. AUTOMATIC
First Chan Num ............................ 1
Number Of Channels ........................ 11
MAC Operation Parameters
Configuration ............................. AUTOMATIC
Fragmentation Threshold ................... 2346
Packet Retry Limit ........................ 64
Tx Power
Num Of Supported Power Levels ............. 8
Tx Power Level 1 .......................... 20 dBm
Tx Power Level 2 .......................... 17 dBm
Tx Power Level 3 .......................... 14 dBm
Tx Power Level 4 .......................... 11 dBm
Tx Power Level 5 .......................... 8 dBm
Tx Power Level 6 .......................... 5 dBm
Tx Power Level 7 .......................... 2 dBm
Tx Power Level 8 .......................... -1 dBm
Tx Power Configuration .................... AUTOMATIC
--More or (q)uit current module or to abort
Current Tx Power Level .................... 1
Phy OFDM parameters
Configuration ............................. AUTOMATIC
Current Channel ........................... 1
Extension Channel ......................... NONE
Channel Width.............................. 20 Mhz
Allowed Channel List....................... 1,2,3,4,5,6,7,8,9,10,11
TI Threshold .............................. -50
Legacy Tx Beamforming Configuration ....... AUTOMATIC
Legacy Tx Beamforming ..................... DISABLED
Antenna Type............................... INTERNAL_ANTENNA
Internal Antenna Gain (in .5 dBi units).... 8
Diversity.................................. DIVERSITY_ENABLED
802.11n Antennas
A....................................... ENABLED
B....................................... ENABLED
C....................................... ENABLED
Performance Profile Parameters
Configuration ............................. AUTOMATIC
Interference threshold..................... 10 %
Noise threshold............................ -70 dBm
--More or (q)uit current module or to abort
RF utilization threshold................... 80 %
Data-rate threshold........................ 1000000 bps
Client threshold........................... 12 clients
Coverage SNR threshold..................... 12 dB
Coverage exception level................... 25 %
Client minimum exception level............. 3 clients
Rogue Containment Information
Containment Count............................ 0
CleanAir Management Information
CleanAir Capable......................... No
Cisco AP Identifier.............................. 6
Cisco AP Name.................................... NOSC-N-B1917-AP01
Country code..................................... US - United States
Regulatory Domain allowed by Country............. 802.11bg:-A 802.11a:-A
AP Country code.................................. US - United States
AP Regulatory Domain............................. -A
Switch Port Number .............................. 1
MAC Address...................................... 00:22:bd:1b:34:5a
IP Address Configuration......................... DHCP
IP Address....................................... 10.6.0.26
Gateway IP Addr.................................. 10.6.0.1
--More or (q)uit current module or to abort
NAT External IP Address.......................... None
CAPWAP Path MTU.................................. 1485
Telnet State..................................... Enabled
Ssh State........................................ Enabled
Cisco AP Location................................ Route 23B
Cisco AP Group Name.............................. default-group
Primary Cisco Switch Name........................
Primary Cisco Switch IP Address...............Secondary Cisco Switch Name.......
Secondary Cisco Switch IP Address................ Not Configured
Tertiary Cisco Switch Name.......................
Tertiary Cisco Switch IP Address................. Not Configured
Administrative State ............................ ADMIN_ENABLED
Operation State ................................. REGISTERED
Mirroring Mode .................................. Disabled
AP Mode ......................................... H-Reap
Public Safety ................................... Disabled
AP SubMode ...................................... Not Configured
Remote AP Debug ................................. Disabled
Logging trap severity level ..................... informational
Logging syslog facility ......................... kern
S/W Version .................................... 7.0.235.3
Boot Version ................................... 12.4.18.0
Mini IOS Version ................................ 3.0.51.0
--More or (q)uit current module or to abort
Stats Reporting Period .......................... 180
LED State........................................ Enabled
PoE Pre-Standard Switch.......................... Disabled
PoE Power Injector MAC Addr...................... Disabled
Power Type/Mode.................................. Power injector / Normal mode
Number Of Slots.................................. 2
AP Model......................................... AIR-LAP1142N-A-K9
AP Image......................................... C1140-K9W8-M
IOS Version...................................... 12.4(23c)JA6
Reset Button..................................... Enabled
AP Serial Number................................. FTX1337SA7D
AP Certificate Type.............................. Manufacture Installed
H-REAP Vlan mode :............................... Enabled
Native ID :..................................... 6
H-REAP Backup Auth Radius Servers :
Static Primary Radius Server.................... Disabled
Static Secondary Radius Server.................. Disabled
Group Primary Radius Server..................... Disabled
Group Secondary Radius Server................... Disabled
AP User Mode..................................... CUSTOMIZED
AP User Name..................................... danielott
AP Dot1x User Mode............................... CUSTOMIZED
AP Dot1x User Name............................... danielott
--More or (q)uit current module or to abort
Cisco AP system logging host..................... 255.255.255.255
AP Up Time....................................... 0 days, 19 h 22 m 53 s
AP LWAPP Up Time................................. 0 days, 01 h 08 m 46 s
Join Date and Time............................... Mon Nov 5 16:17:51 2012
Join Taken Time.................................. 0 days, 00 h 00 m 12 s
Attributes for Slot 1
Radio Type................................... RADIO_TYPE_80211n-5
Radio Subband................................ RADIO_SUBBAND_ALL
Administrative State ........................ ADMIN_ENABLED
Operation State ............................. UP
Radio Role .................................. ACCESS
CellId ...................................... 0
Station Configuration
Configuration ............................. AUTOMATIC
Number Of WLANs ........................... 1
Medium Occupancy Limit .................... 100
CFP Period ................................ 4
CFP MaxDuration ........................... 60
BSSID ..................................... 00:27:0d:07:cb:e0
Operation Rate Set
--More or (q)uit current module or to abort
6000 Kilo Bits........................... MANDATORY
9000 Kilo Bits........................... SUPPORTED
12000 Kilo Bits.......................... MANDATORY
18000 Kilo Bits.......................... SUPPORTED
24000 Kilo Bits.......................... MANDATORY
36000 Kilo Bits.......................... SUPPORTED
48000 Kilo Bits.......................... SUPPORTED
54000 Kilo Bits.......................... SUPPORTED
MCS Set
MCS 0.................................... SUPPORTED
MCS 1.................................... SUPPORTED
MCS 2.................................... SUPPORTED
MCS 3.................................... SUPPORTED
MCS 4.................................... SUPPORTED
MCS 5.................................... SUPPORTED
MCS 6.................................... SUPPORTED
MCS 7.................................... SUPPORTED
MCS 8.................................... SUPPORTED
MCS 9.................................... SUPPORTED
MCS 10................................... SUPPORTED
MCS 11................................... SUPPORTED
MCS 12................................... SUPPORTED
MCS 13................................... SUPPORTED
--More or (q)uit current module or to abort
MCS 14................................... SUPPORTED
MCS 15................................... SUPPORTED
Beacon Period ............................. 100
Fragmentation Threshold ................... 2346
Multi Domain Capability Implemented ....... TRUE
Multi Domain Capability Enabled ........... TRUE
Country String ............................ US
Multi Domain Capability
Configuration ............................. AUTOMATIC
First Chan Num ............................ 36
Number Of Channels ........................ 21
MAC Operation Parameters
Configuration ............................. AUTOMATIC
Fragmentation Threshold ................... 2346
Packet Retry Limit ........................ 64
Tx Power
Num Of Supported Power Levels ............. 7
Tx Power Level 1 .......................... 17 dBm
Tx Power Level 2 .......................... 14 dBm
Tx Power Level 3 .......................... 11 dBm
--More or (q)uit current module or to abort
Tx Power Level 4 .......................... 8 dBm
Tx Power Level 5 .......................... 5 dBm
Tx Power Level 6 .......................... 2 dBm
Tx Power Level 7 .......................... -1 dBm
Tx Power Configuration .................... AUTOMATIC
Current Tx Power Level .................... 1
Phy OFDM parameters
Configuration ............................. AUTOMATIC
Current Channel ........................... 161
Extension Channel ......................... NONE
Channel Width.............................. 20 Mhz
Allowed Channel List....................... 36,40,44,48,52,56,60,64,100,
......................................... 104,108,112,116,132,136,140,
......................................... 149,153,157,161,165
TI Threshold .............................. -50
Legacy Tx Beamforming Configuration ....... AUTOMATIC
Legacy Tx Beamforming ..................... DISABLED
Antenna Type............................... INTERNAL_ANTENNA
Internal Antenna Gain (in .5 dBi units).... 8
Diversity.................................. DIVERSITY_ENABLED
802.11n Antennas
A....................................... ENABLED
--More or (q)uit current module or to abort
B....................................... ENABLED
C....................................... ENABLED
Performance Profile Parameters
Configuration ............................. AUTOMATIC
Interference threshold..................... 10 %
Noise threshold............................ -70 dBm
RF utilization threshold................... 80 %
Data-rate threshold........................ 1000000 bps
Client threshold........................... 12 clients
Coverage SNR threshold..................... 16 dB
Coverage exception level................... 25 %
Client minimum exception level............. 3 clients
Rogue Containment Information
Containment Count............................ 0
CleanAir Management Information
CleanAir Capable......................... No -
I have a airport wifi the small one with one port for modem. My Problem is airport wifi works fine however when I power off my IMac then power it up later on It does not show a connection I then have to manual do it my self it's a pain and never happened before I have tried resetting the airport unit but still no luck please help.
Thank you
Roy from maldenHi Roy, this has worked for a few...
Make a New Location, Using network locations in Mac OS X ...
http://support.apple.com/kb/HT2712
10.7 & 10.8…
System Preferences>Network, top of window>Locations>Edit Locations, little plus icon, give it a name.
10.5.x/10.6.x/10.7.x instructions...
System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
The interface that connects to the Internet should be dragged to the top of the list.
Instead of joining your Network from the list, click the WiFi icon at the top, and click join other network. Fill in everything as needed.
Maybe you are looking for
-
Bridge CS6 crashing on opening
Hi, I'm having increasing problems with my Mac Book Pro. It crashes when opening Adobe Bridge CS6 with this error code: 19/10/2014 10:24:07.084 pm ReportCrash[1410]: com.apple.message.domain: com.apple.crashreporter.writereport.crash com.apple.messag
-
Acrobat 7.1.0 update
My computer is tring to update Acrobat 7.0 standard to 7.1.0 but it keeps freezing and giving the message "error 1310: verify you have access to this directory.". I am the only user. I have tried turning off the user control bu that has not helped. C
-
Why is the simplest task so hard in Pages?
I want to write a letter using an address from my Address Book. Getting an address into the letter seems to be impossible. I try dragging an address from the Address Book and get a message that I have to insert an address book field. I try to choose
-
Audio files are missing in iMovie HD 6
I have 10.5 installed and was using iMovie 08. I was having problems exporting a movie, some of the clips were all black. So I downloaded iMovie 06 and all the iLife audio files are missing. They're still there in '08 but not '06. How do I get them i
-
How can i buy lion software? do they still sell it
how can i buy lion software? do they still sell it