w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Wireless-tools for linux to scan for wireless devices without them being connected
The following tools are available NetworkManager wicd Adding another Answer: You can use the following command also iwlist wlan0 scanning It gives lot of information about all the wireless networks available in your range... the sample output is also given here wlan0 Scan completed : Cell 01 - Address: 00:1F:E6:00:48:12 Channel:11 Frequency:2.462 GHz (Channel 11) Quality=28/70 Signal level=-82 dBm Encryption key:off ESSID:"BrcmAP0" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s Mode:Master

Categories : C

Weblogic Bridge Message - Failure of server APACHE bridge:
You many not want to give Write to all (777) permission to /tmp/_wl_proxy directory. Check which userID apache is running under and only give writer permission to that userID. This could be also with tmp directory full.

Categories : Apache

Failed to load the LayoutLib: com.android.layoutlib.bridge.Bridge
Restart IDE Restart a computer Try to update ADT, SDK and Eclipse Plugin If that will not help reinstall ADT, SDK and Eclipse Plugin

Categories : Android

Detecting if a mouse is wireless
start here: http://www.ibm.com/developerworks/library/j-usb/index.html[^] read on here: http://today.java.net/pub/a/today/2006/07/06/java-and-usb.html[^] and then check out this project: http://jusb.sourceforge.net/[^] These might help to get a little close to extract the specification of a hardware. I dont know if it can check whether a hardware is wireless or not, as the computer has nothing to do with it..

Categories : Java

why ip address differs when wireless is off?
.An IP address is the address of a network adapter within a specific local network. It will be different when connected to different networks. When not connected to any network, it will either be a link-local address or an auto-configuration address. You might want the MAC address, which is the hardware address of a single network adapter and is not very likely to change.

Categories : Java

adb device offline with ADB wireless
Disconnect adb over wifi, connect your phone with a USB-cable to your pc. It will ask you on your phone is you want to allow the connection. Tick always allow. You will only get this when you connect with USB and have to do this only once, you can use over wifi afterwards. Don't get the pop-up? Try the answers on google over a cable, since you need to do this first.

Categories : Android

iPhone Wireless Ad Hoc App Distribution
(Updated) Easiest Way: I have found another way to distribute the ipa. http://www.diawi.com/ This website provide service to distribute you adhoc app (ipa). Another way: To Distribute your app to other device your have to register those device in your developer account. To AdHoc distribution you need the devices UDID.... register those in developer account and make a AdHoc profile and sign your app using the profile. After that send the AdHoc profile and your app to the Users...

Categories : Iphone

Arduino wireless and Node.js
While the monitor is running no other program can read the serial port. In case you do not open both at the same time then things are more tricky. My suggestion would be to spy on the wire. That is: install Wireshark and have a look at the data on the serial connection / USB bus. You might also want to check how the serial port of the APC220 and the Arduino differ with regard to their serial/USB converters. Another idea would be to analyze this issue under Linux since may allow more insights into the low-level differences of the chip sets / USB activity. Of course if you do not have Linux experience this is hard to do, but maybe you know some Linux enthusiasts.

Categories : Node Js

How to reset system in wireless driver?
As Basile says, kill() is a user space syscall, so you can't use it from a kernel module. It's a crude way to accomplish what you are trying to do anyways. Unless you have a reason to use emergency_restart() over kernel_restart() I would use the latter. The options you have can be found in reboot.h. BTW, this is opening a security hole in your system. Since the driver is interpreting the data packet to determine if it is time to restart, there the OS cannot help to determine if that source has authority to perform such an action on your system. You may be better off with a user-space daemon which is run with the appropriate permissions to reboot the computer, and can act as an authentication agent and a reboot agent rather than doing it in your driver.

Categories : C

Javascript detect Wireless settings
No. The best you can do is to use http://www.w3.org/TR/netinfo-api/#idl-def-Connection where avaliable. Support is low, but it will help you decide what sort of connection the device has. If you actually want geolocation, just ask for it directly using navigator.geolocation. (http://diveintohtml5.info/geolocation.html)

Categories : Javascript

Sending Message Using Wireless to GSM number
A part of the application is that the administrator can send universal notification to everyone registered to that application. How can i possibly do that? You can use Google Cloud Messaging for Android. It a service that allows you to send data from your server to your users' Android-powered device, and also to receive messages from devices on the same connection. You can send messages( or notifications) to all the Android users of your app. Each user would have a registrationId which would be unique for each user ( if you register them). That ID can be used to send messages to all your app users. P.s: By wireless I am assuming internet.

Categories : Android

Wireless.h How do I print out the signal level?
For future record, this was resolved from the comments, thanks to the relevant people. I simply needed to cast the unsigned int to a signed one and it was solved. Changed the print line to this: printf("Transmit power: %d ", (int8_t) result->stats.qual.level); Now the values that looked like 178, 200 turned to -80, -69 etc!

Categories : C

Meteor ports used (seems to be blocked by wireless network)
It sounds a bit like the websocket bit of the connection isn't connecting through. In meteor there are two connections, one static containing the html, images and js (which looks like its working) and the other via websockets which handles the data & live updates. You could check in Chrome's javascript error console for a 400 websocket error, in which case it tries to drop to long polling, which takes quite a while. It might be something like a proxy which is troubling you. I've run into this without a HTTP proxy but a invisible socks proxy too (via iptables). You could check quickly too by checking Meteor.status() which would indicate its 'waiting' if the above is the case.

Categories : Meteor

Javascript to check the status of wireless connection
Browser errors and system tray icons will sufficiently indicate the state of the wireless network to the user. The way you describe your application indicates, to me, that you are doing some kind of continuous AJAX-style querying that is frequently interrupted. Rather than concentrating on underlying network connections, I recommend taking a more business-level approach: If your application cannot maintain a connection (or does not receive a response within a certain time limit), simply notify the user that a connection could not be established (for added robustness, keep retrying until it succeeds -- see, e.g. GMail's web interface). The user will have other means to diagnose why - your application should not and can not know the reason for the failure, your application only knows that i

Categories : Javascript

Setting up local wireless server using WAMP
On your hosting laptop open cmd and call ipconfig look for the internal IP address on the network interface your hosting the ad-hoc network. Enter that IP address into the browser on your client laptops web browser instead of localhost. If that doesn't work, try other ip addresses listed by ipconfig (incase you used the wrong) and then check the properties of your ad-hoc network, windows firewall and any other firewall software to disable anything that might be blocking it. An ad-hoc network is suitable option for what your doing, most people would probably use a switch or router though, however that requires hardware you probably don't have.

Categories : Networking

What is OpenCMIS Bridge?
The OpenCMIS Bridge works like a proxy server. It accepts CMIS requests and forwards them to a CMIS server. On the way it can change the binding, and filter, enrich and federate data. Here are few use cases: If a repository does not support the CMIS 1.1 browser binding, you can put the OpenCMIS Bridge in front of it. The bridge then could talk JSON to the client and AtomPub to the server. The client wouldn't notice that the server doesn't support the browser binding. Code can be added to the bridge to redact property values or filter whole objects when they are transferred through the bridge. That could add another level of security that the native repository doesn't support. Code can also be added to add or enrich object data. For example, property values could be translated from crypt

Categories : Misc

Java and R bridge
From the "Program Files" path, I'll get you're working on Windows. If so, there is a chance that your problem are the slashes on the path: caller.setRscriptExecutable("C:/Program Files/R/R-3.0.1/bin/x64/Rscript.exe"); Try this instead: caller.setRscriptExecutable("C:\Program Files\R\R-3.0.1\bin\x64\Rscript.exe");

Categories : Java

Socket.getOutputStream() blocking when wireless connection disabled
SSLSocket.getOutputStream() initiates the SSL handshake if neceessary, which involves reads, which may block. You should set a read timeout on the socket before calling it, with Socket.setSoTimeout(). I'm intrigued by "SSLSocket.getOutputStream() initiates the SSL handshake if neceessary" what defines "if necessary"? If it hasn't already been done, or the current SSL Session has been invalidated. Is this behavior (initiating the SSL handshake) something that's required by the JVM specification? IOW is it guaranteed across JVMs? No, it's required by the TLS/SSL specification. I've also read the only way to determine if a socket connex will work is to read/write data with it. This is not an option for me. Yes it is. You're doing it. The SSL handshake consists of reads

Categories : Java

How to configure docker to be able to have internet access via wireless connection?
I see two possibility: 1) Make sure your ip_forward is set to 1 (sysctl -w net.ipv4.ip_forward=1) 2) Make sure it is not a DNS issue: try docker run base ping google.com, if it does not work, you can set custom dns server: docker run -dns 8.8.8.8 base ping google.com.

Categories : Misc

Intercepting webpage requests through Wireless Hosted Network
You will need to set up your own DNS server for this to work. The problem is that your laptop makes a DNS query for google.com and receives an IP which points to Google's servers and not yours. Or, if there is only a few sites you want to redirect - add entries for them in your hosts file.

Categories : C#

how to disable fast frames in ath5k wireless driver
Ok, I try to explain with a simplified example #include <stdio.h> /* Just for print in binary mode */ char *chartobin(unsigned char c) { static char a[9]; int i; for (i = 0; i < 8; i++) a[7 - i] = (c & (1 << i)) == (1 << i) ? '1' : '0'; a[8] = ''; return a; } int main(void) { unsigned char u = 0xf; printf("%s ", chartobin(u)); u >>= 2; // Shift bits 2 positions (to the right) printf("%s ", chartobin(u)); printf("%s ", chartobin(u & 0x1)); // Check if the last bit is on return 0; } Output: 00001111 00000011 00000001 Do I replace the above line with #define AR5K_EEPROM_FF_DIS(_v) 1? Nooooo!! If you initialize u with 0xb instead of 0xf you get: 00001011 00000010 00000000 As you ca

Categories : C

How to configure ASP.NET project to be accessible via local wireless network?
Short answer, change from 'localhost' to '0.0.0.0'. That's probably all you need. Also check the port is open through your firewall, if you have one turned on. you can ping other devices on the wifi network. Some wifi access points restrict sending traffic from one node to another on the same wlan. Longer answer: When you use localhost as the hostname it's resolved (through system32/drivers/etc) to 127.0.0.1. The network card is designed to restrict access from anywhere else to that ip address, so you will need to choose a different IP address to bind to. You could choose the actual IP address for your machine, but that may change over time. The special IP address, 0.0.0.0, means bind to all interfaces on the system.

Categories : Asp Net

Wireless tools: Converting network essid to char
It's a completely different problem to the one you think you have. What's happening is that you never initialize result, so this: network = result->b.essid; is just going to give you garbage, and this: result = result->next; will likely give you an infinite loop. You should probably turn up the warning level on your compiler, and/or look into tools like splint and Valgrind.

Categories : C

how to send a message in multicast group (wired to wireless)
sock.Bind(new IPEndPoint(IPAddress.Any, _Port)); The problem is here. That causes UDP to route the outgoing datagram according to the unicast IP routing tables, and if the routing table doesn't prefer the wireless route it won't be used. Bind it to an IP address of the local wifi interface.

Categories : C#

ClassNotFoundexception in php-java bridge
Without the exception it looks like you lack the test class in your jvm classpath. You say you want to run a desktop application, so I would suggest you go through this guide (Again? :), to see if you missed something in the setup. Also you could remove the enter code here block.

Categories : Java

Error under bridge between R and Java
In regard to your error, this is caused by a space in the path to the R executable. You could try escaping the space (caller.setRscriptExecutable("C:\Program Files\R\R-3.0.1\bin\i386\Rscript"); (note the extra before the space). Or you could simply reinstall R to a path that does not include a space (e.g. c:\R). This last solution is the most robust.

Categories : Java

PHP Java bridge - JEE server
On that lib it is installed a Java EE server to the same machine as the PHP, but in diff port. Java server default port it is 8080. I think the PHP just makes a TCP/IP communication from port 80 to 8080. On the given example the same machine is used for both servers, this architecture should support installations on diff machines, but need to make proper configurations and of course it will be a lot slower the bridge, but it wil work.

Categories : Java

Yii get many many bridge table get all columns
You can express a MANY_MANY relation as a combination of two HAS_MANY relations that are connected with the through option: 'career_student' => array(self::HAS_MANY,'Carrer_Student','student_email'), 'careers' => array(self::HAS_MANY,'Career', 'career_id','through'=>'career_student'), Also make sure, that you define a relation for career in your Career_Student model: 'career' => array(self::BELONGS_TO, 'Career', 'career_id'), Now when you query for students with('careers'), both relations will be populated: $criteria->with = 'carreers'; $result = Student::model()->findAll($criteria); foreach($student->career_student as $careerStudent) { // You have access to the bridge table ... echo $careerStudent->semester; // ... and the connected career table

Categories : PHP

Php -> Node.js transport/bridge
To send data from PHP to NodeJS can use the following: <?php $ch = curl_init(); $data = array('name' => 'Foo', 'file' => '@/home/user/img.png'); curl_setopt($ch, CURLOPT_URL, 'http://localhost:8082/test'); /* Nodejs */ curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_exec($ch); ?> More info here. In app.js app.post('/test', function(req, res){ console.log("name: " + req.body.name); ... I hope that is helpful.

Categories : PHP

Send and receive info between windows and android through wireless network
You need to create Web Services and call them from your android app. Please have a look at this link which will give you information on calling webservices in android how to call RESTful web service from android?

Categories : C#

Android ksoap connection timed out when using more than one device on same wireless network :(
Turns out ksoap2 works well, and my code works well. After tracing ksoap call method, and sniffing html traffic I found out that, sometimes, server doesn't respond on my requests. This happens because server configuration was changed and now, when there are a lot of requests from the same IP address, server treats some of them as retransmission and ignores them. This problem has to be solved on server side.

Categories : Android

Android mobile not detecting wireless network created on my laptop
Ad Hoc networks are not supported natively by Android devices, unless you get your device rooted and make some tricks in the underlying linux system. There are a lot of pages talking about that: http://dev.gadgeticworld.com/how-to-connect-android-devices-to-adhoc-network/ http://www.pcadvisor.co.uk/how-to/google-android/3372947/connect-android-phone-ad-hoc-network/ http://code.google.com/p/adhoc-on-android/ You can try this at your risk: http://www.arenddeboer.com/wifi-ad-hoc-enabler-for-android

Categories : Android

Suggested wireless access point with support for 802.11n and vlan tagging (802.1q)
Have a look at the Buffalo WAPS-APG600H. This access point supports vlan tagging, has two gigabit lan ports (1 PoE), supports 300mbps at both 2.4ghz & 5ghz and can handle multiple SSIDs - each of which can be assigned to unique vlans. The Draytek AP800 offers a similar spec at a similar price (you need to buy a separate 5ghz dongle for 5ghz operation, which takes it up to the same price as the Buffalo), but I've had real problems getting these to work reliably in a vlan environment. Main problems have been slow DHCP responses and intermittent network connection dropouts. The Draytek works ok as an untagged device connecting into a vlan switch, but you then lose the ability to create multiple SSIDs on dedicated vlans. Also, this access point has 4 fast ethernet lan ports (1 PoE), but I

Categories : Networking

Why PhoneGap Native Bridge too Slow?
The article on Trigger.io's performance being up to 5 times faster only applied to Android, and is outdated as we fixed the slow JS to native bridge last November. The performance improvements are in version 2.2.0 and newer. http://community.phonegap.com/nitobi/topics/hybrid_app_performance_issue Yes, I have tested the same sample with latest PhoneGap library(cordova-2.7.0.jar) and JavaScript, Working fine and PhoneGap getting fast response than Trigger.io

Categories : Cordova

Create java script bridge for ios
To call the JS function from native code, [webView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"NAME_OF_JS_FUNCTION('ARGUMENT')",configJson]]; To call native function from JS, window.location = "js-call:"+obj; It will invoke your webview delegate method.

Categories : Iphone

EF delete a reference in bridge table
Assuming your bridge table is named UserGroup(s) var group = context.UserGroup.SingleOrDefault(x => x.UserID == 1 && x.GroupID == 10); if (group != null) { context.DeleteObject(group); context.SaveChanges(); } else //Do something in response

Categories : Asp Net Mvc

Bridge casts for collection elements
Ironically, the only error in your code is in the Core Foundation, non-ARC stuff. Your +someCFCreateFunctionFromVendor method calls CFNumberCreate() and CFHostCreateWithName(), both of which are Create functions, but doesn't CFRelease() the objects after adding them to the dictionary. It should. Otherwise, it's a leak. The static analyzer would catch that, by the way. (For the CFNumber, that means you have to split creation into a separate line so you can reference the object after adding it to the dictionary.) You must not release the host object in +myMethod because that code doesn't receive ownership of it. It has nothing to do with ARC. You wouldn't release it there in MRR (manual retain/release) code, either.

Categories : IOS

Serialize function with PhantomJS bridge
I'd try something like: var links = [] var _ph function init(cb) { phantom.create(function(ph) { //for each link in links call doStuff() _ph = ph doStuff(ph, link, cb) }) } function doStuff(ph, link, cb) { ph.createPage(function(page) { //does things in parallel? page.open(link, function(status) { page.evaluate((function() { document.title; }), function(result) { cb(null, result); page.close(); }); }); } var counter = links.length var titles; function results(err, res) { titles.push(res) if(--counter == 0) { //done _ph.exit() } } init(results) Probably not working code (I wrote it here), but I hope you get the idea. If you want to only use 1 page, something lik

Categories : Javascript

Is a Java to PHP Bridge neccessary for this situation?
Java Bridge could be one option: using Quercus or IBM's WebSphere sMash might be another. I've used all three options, but my personal preference is using an API. Calling java via exec isn't really an API

Categories : Java

BRIDGE command in Oracle SQL Developer
This is a bug in SQL Developer 4.0 Beta1 & Beta2. The workaround is to start SQL Developer , Tools > Migration > Scratch Editor .Then open the worksheet and run your BRIDGE command. In this way the migration plugin is loaded which provides the BRIDGE functionality. A fix is being worked on Regards, Dermot.

Categories : SQL



© Copyright 2017 w3hello.com Publishing Limited. All rights reserved.