Recursive Hierarchical Query with CONNECT BY/START WITH
I want to traverse a tree which has is not hierarchical in linear sense. You know, like :
A
B
C
D
E
C
F
D
E
C
You see that D, Eand C are repeated and C is under E as well as under B. I tried using CONNECT BY and START WITH but I get tripliate occurances of C under B, and 2 occurances of DEC under A and under F. Clearly this is not correct. I believe SQL3 has special way of handling with such recursive trees. How does O9i handle these constructs? Please help.
CREATE OR REPLACE PACKAGE hierarchy
IS
TYPE branchtable_type IS TABLE OF VARCHAR2 (4000)
INDEX BY BINARY_INTEGER;
branchtable branchtable_type;
FUNCTION branch
(v_level IN NUMBER,
v_value IN VARCHAR2,
v_delimeter IN VARCHAR2 DEFAULT CHR (0))
RETURN VARCHAR2;
PRAGMA RESTRICT_REFERENCES (branch, WNDS);
END hierarchy;
CREATE OR REPLACE PACKAGE BODY hierarchy
IS
returnvalue VARCHAR2 (4000);
FUNCTION branch
(v_level IN NUMBER,
v_value IN VARCHAR2,
v_delimeter IN VARCHAR2 DEFAULT CHR (0))
RETURN VARCHAR2
IS
BEGIN
branchtable (v_level) := v_value;
returnvalue := v_value;
FOR i IN REVERSE 1 .. v_level - 1
LOOP
returnvalue := branchtable (i)
|| v_delimeter
|| returnvalue;
END LOOP;
RETURN returnvalue;
END branch;
END hierarchy;
SELECT id, parent_id, print_order, lvl
FROM (SELECT id, parent_id, print_order, LEVEL lvl,
hierarchy.branch (LEVEL, print_order) branch
FROM test_table
START WITH parent_id IS NULL
CONNECT BY PRIOR id = parent_id)
ORDER BY branch
ID PARENT_ID PRINT_ORDER LVL
1 1 1
6 1 1 2
5 1 2 2
2 1 3 2
4 2 1 3
3 2 2 3
6 rows selected.
Similar Messages
-
i can't open swf files for schoolwork. Installed VCL, Flip4Mac and Adobe flash and shockwave players. Can get white screen with connection erro message with adobe flash player. Help me!
Apple dropped playback support for .swf formats in QuickTime almost ten years ago.
Adobe Flash Player is the only way to view them. -
problem with connecting ipad 2 with crestron cp2e...help plss its urgent...
I hv a ipad 2 with mobile pro g connected with cp2e. when i pressed any button in ipad its connet with cp2e but after 4-5 sec one error comes (warning wifi was powered off while the device was in auto -lock(sleep)press connect to reconnect) when i pressed again its connected with cp2e. i am using netgear wireless access point . i also has been changed access point as well as updated ipad firmware bt problem is as it is .. pls help.Hi have you solved the issue ?
Cause I have the same problem.
Tnx -
Program with a name starting with '!'
Hi,
I have a problem with a progam. In fact, I want to delete an include but this include is used in a program with a name starting with '!' like
!ZMM_PR_TEST.
I can't open this program or delete it.
What can I do ?
Must I delete this "strange" program or not ?
Thanks in advance for your help...
Best regardsHi Carl,
If you want to delete the program in Any way.. Delete it from the TADIR table...
the symbol " ! " may be some customer name space... Hope you cross check about that name space and
go ahead deleting it from a program accessing the record from TADIR table and modifying the TADIR table.
If something is not happening directly then there is almost a chance to delete the record from the table through a zprogram..
Hope this would help you.
Any question please revert back
Good luck
Narin. -
Revision: 3794
Author: [email protected]
Date: 2008-10-21 14:21:45 -0700 (Tue, 21 Oct 2008)
Log Message:
Fix loading RSLs with URLs that start with "./" or "../"
QE Notes: Only one "./" is supported at the beginning of the path. Multiple "../" may be in the path, but only at the beginning of the path. No mixing of "./" and "../" is supported.
Doc Notes: None
Bugs: SDK-17696
Reviewer: pfarland
tests: checkintests, RSL mxunit
Ticket Links:
http://bugs.adobe.com/jira/browse/SDK-17696
Modified Paths:
flex/sdk/branches/3.2.0/frameworks/projects/framework/src/mx/utils/LoaderUtil.asOh I am using Dreamweaver to put it on the web :-)
-
Migrating from Sql Server tables with column name starting with integer
hi,
i'm trying to migrate a database from sqlserver but there are a lot of tables with column names starting with integer ex: *8420_SubsStatusPolicy*
i want to make an offline migration so when i create the scripts these column are created with the same name.
can we create rules, so when a column like this is going to be migrated, to append a character in front of it?
when i use Copy to Oracle option it renames it by default to A8420_SubsStatusPolicy
Edited by: user8999602 on Apr 20, 2012 1:05 PMHi,
Oracle doesn't allow object names to start with an integer. I'll check to see what happens during a migration about changing names as I haven't come across this before.
Regards,
Mike -
[ADF] Query panel advanced search - starts with
Hi all
I have a query panel with an attribute which has an Attached LOV. The operator is defined as "Equals" in the View criteria
The attribute is behaving properly
View image: 1
but when switched to advanced mode and "starts with" operator selected, the LOV changes to a numeric field and expects a numeric value
View image: 2
Is there a work around for this apart from removing the startswith operator
Jdev version - 11.1.2.0.0User, please always tell us your jdev version.
Well, this use case need some thinking to be done. What do you want to archive with adding a new query field to the panel? As you said you already have one field for employeeId and now, on a click on a button, you add another one. How would the resulting query work with the new field? Should it use 'and' to concatenate the query or should it use 'or'?
I suggest that you use the ADF Riche Client Demo (http://jdevadf.oracle.com/adf-richclient-demo/faces/index.jspx) select the Query node and then select 'af:query'. This shows you what is possible otu of hte box using the af:query component. You can add fields to existing queries in advanced mode (e.g. use system query 5, which starts with an empty panel and allows you to add fields).
Once you understand how this works you may come back with a more detailed use case description or you have found the solution already. Read the documentation on af:query along with trying otu the component.
Timo -
Reg : Hierarchical Query(Using Connect By)
Hi all,
I got the result with the hierarchical query as :
*/qxxh*
*/qxxh/jxobcbg*
*/qxxh/jxobcbg/n00wcp4*
*/qxxh/jxobcbg/n00wcp4/x000263*
*/qxxh/jxobcbg/n00wcp4/x000263/p0263*
*/qxxh/jxxocbg*
*/qxxh/jxxocbg/n00voc1*
*/qxxh/jxxocbg/n00voc1/x000589*
*/qxxh/jxxocbg/n00voc1/x000589/p0589*
*/qxxh/jxuwxxh*
*/qxxh/jxuwxxh/n00xpxf*
*/qxxh/jxuwxxh/n00xpxf/m00bxpl*
*/qxxh/jxuwxxh/n00xpxf/m00bxpl/x000522*
*/qxxh/jxuwxxh/n00xpxf/m00bxpl/x000522/p0522*
Here I want to select only maximum path . Here I used "SYS_CONNECT_BY_PATH"
Please let meknow how to do this ?
Thanks in advance .
Edited by: udeffcv on Dec 9, 2009 10:03 PMudeffcv wrote:
Hi all,
I got the result with the hierarchical query as :
*/qxxh*
*/qxxh/jxobcbg*
*/qxxh/jxobcbg/n00wcp4*
*/qxxh/jxobcbg/n00wcp4/x000263*
*/qxxh/jxobcbg/n00wcp4/x000263/p0263*
*/qxxh/jxxocbg*
*/qxxh/jxxocbg/n00voc1*
*/qxxh/jxxocbg/n00voc1/x000589*
*/qxxh/jxxocbg/n00voc1/x000589/p0589*
*/qxxh/jxuwxxh*
*/qxxh/jxuwxxh/n00xpxf*
*/qxxh/jxuwxxh/n00xpxf/m00bxpl*
*/qxxh/jxuwxxh/n00xpxf/m00bxpl/x000522*
*/qxxh/jxuwxxh/n00xpxf/m00bxpl/x000522/p0522*
Here I want to select only maximum path . Here I used "SYS_CONNECT_BY_PATH"
Please let meknow how to do this ?
Thanks in advance .
Edited by: udeffcv on Dec 9, 2009 10:03 PMwhat do you mean by maximum path?? is it...
*/qxxh/jxobcbg/n00wcp4/x000263/p0263*
*/qxxh/jxxocbg/n00voc1/x000589/p0589*
*/qxxh/jxuwxxh/n00xpxf/m00bxpl/x000522/p0522*
is it child nodes??
then you might like to see
CONNECT_BY_ISLEAF pseudo column..example you can find it in below link
http://download.oracle.com/docs/cd/B14117_01/server.101/b10759/pseudocolumns001.htm#sthref670
Ravi Kumar -
Needing script to move files with name that starts with
Here is part of the script that takes a excel file for the list to duplicate files from one folder the another. I would like it to use file name starts with instead exact file name. If I can get this to work I will not have to have a try for .jpg and a seperate try for .eps
tell application "Finder"
try
duplicate (sourceFolder & theItem & ".jpg" as string) to destFolder with replacing
on error
do shell script "echo " & theItem & ">> $HOME/Desktop/NotFound.txt"
end try
try
duplicate (sourceFolder & theItem & ".eps" as string) to destFolder with replacing
on error
do shell script "echo " & theItem & ">> $HOME/Desktop/NotFound.txt"
end try
end tell
ThanksOk here is the script that I've been using for a couple of years now with no problems, until I upgraded. Don't know what happened, because I cant even use it on a older system that we have. The error I get is when it tries to get the value of selection from Excel. It times out with no values. Thanks for any help!
set sourceFolder to choose folder with prompt "Select the folder that contains images to move."
set destFolder to choose folder with prompt "Select the destination folder"
if sourceFolder is not destFolder then my moveImageFiles(sourceFolder as string, destFolder)
on moveImageFiles(sFolder, dFolder)
script o
property valuesList : {}
end script
tell application "Microsoft Excel" to set o's valuesList to value of the selection
if class of o's valuesList is not list then return -- not multiple selection
set tc to (count o's valuesList)
set dFolder to quoted form of POSIX path of dFolder
set errorFile to quoted form of POSIX path of (sFolder & "filesNotFound or NotMoved.txt")
do shell script "/bin/rm " & errorFile & " > /dev/null 2>&1 &" -- remove the error file (if it exists)
repeat with i from 1 to tc
repeat with thisValue in (get item i of o's valuesList)
if contents of thisValue is not "" then -- not a blank cell
set tFile to quoted form of POSIX path of (sFolder & thisValue)
try
do shell script "shopt -s nocaseglob; /bin/mv -f " & tFile & "* " & dFolder
end try
end if
end repeat
end repeat
do shell script "/usr/bin/open -b com.apple.textedit " & errorFile & " > /dev/null 2>&1 &"
end moveImageFiles -
cannot reach our north europe server/s, tracert shows problem at below point -
8
43
43
43
207.46.46.57
xe-4-0-1-0.nyc-96cbe-1a.ntwk.msn.net
9
115
115
116
207.46.37.60
xe-2-2-2-0.db3-96c-2b.ntwk.msn.netHi, thanks for reply
If I tracert from centralops.net online service I get -
Tracing route to 191.235.211.25 [191.235.211.25]...
hop
rtt
rtt
rtt
ip address
fully qualified domain name
1
2
0
0
208.101.16.73
208.101.16.73-static.reverse.softlayer.com
2
6
2
0
66.228.118.157
ae11.dar02.sr01.dal01.networklayer.com
3
0
0
0
173.192.18.212
ae6.bbr02.eq01.dal03.networklayer.com
4
0
0
0
50.97.16.49
8075-dal.msn.net
5
0
0
0
204.152.140.114
ae0-0.dal-96cbe-1b.ntwk.msn.net
6
31
31
31
191.234.81.69
xe-1-3-2-0.atb-96cbe-1a.ntwk.msn.net
7
33
34
33
207.46.34.85
ae11-0.blu-96c-1a.ntwk.msn.net
8
41
41
41
207.46.46.232
ae7-0.nyc-96cbe-1a.ntwk.msn.net
9
114
114
115
207.46.37.62
xe-2-1-2-0.db3-96c-2a.ntwk.msn.net
10
117
117
117
207.46.42.41
ae0-0.db3-96c-2b.ntwk.msn.net
11
12
13
14
Trace aborted
If I tracert from our own office I get Timed Out reply from our ISP
If I tracert associated azure domain name from both the above I get the same result????
Am I not looking in the right direction? I cannot get to the server via http, nor rdp???
Appreciate any thoughts, been like this for several days now. I have shutdown server, restarted, etc no change. -
Recursive/Hierarchical Query
Hello,
I am trying to solve a problem that needs the use of recursive queries (more precisely the "connect by" clause). I have the following P table:
P1 P2
a1 a2
a1 a3
a2 a4
a3 a5
a4 a6
The result of my query should be:
P1 P2
a1 a2
a1 a3
a1 a4
a1 a5
a1 a6
a2 a4
a2 a6
As you can see, I am trying to get all the children, grandchildren, etc of every P1, going to the deepest level possible, following the transitivity property (if a1-a2, and a2-a4, then "a1 a4" will be part of the solution). The following query
select distinct P1, P2 from P
connect by P2 = prior P1
order by P1
gives me only the first level of inclusions (a1 a2, a1 a3, a2...), but I need all of them. How can I solve the problem?
Thank you!In a 10g environment you can use the CONNECT_BY_ROOT operatory to get the root node:
WITH P AS (SELECT 'a1' P1,'a2' P2 FROM DUAL
UNION ALL SELECT 'a1', 'a3' FROM DUAL
UNION ALL SELECT 'a2', 'a4' FROM DUAL
UNION ALL SELECT 'a3', 'a5' FROM DUAL
UNION ALL SELECT 'a4', 'a6' FROM DUAL
SELECT DISTINCT CONNECT_BY_ROOT P1 P1, P2
FROM P CONNECT BY P1 = PRIOR P2
ORDER BY P1,P2
P1 P2
a1 a2
a1 a3
a1 a4
a1 a5
a1 a6
a2 a4
a2 a6
a3 a5
a4 a6
9 rows selected -
Need help with connecting different computers with sockets
I have made my own code for a chatting application. Basically, i created a Server that listens for connections from the client and then creates a thread to deal with it. When ever a client types in a String, it gets printed on all of the other computers. Right now i can get this code to work if the Server and CLients are on the same computer, when i try connecting on other computers it gives me a Server timed out out and it does not Connect. here is my code:
Server:
package talk;
import java.net.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.io.*;
public class Ap_server {
public static void main(String[] args) throws IOException {
ServerSocket serverSocket = null;
ArrayList<Socket> sockets=new ArrayList<Socket>();
ArrayList<PrintWriter> out=new ArrayList<PrintWriter>();
ArrayList<BufferedReader> in=new ArrayList<BufferedReader>();
ArrayList<String> name=new ArrayList<String>();
ArrayList<AP_Thread> threads=new ArrayList<AP_Thread>();
try {
serverSocket = new ServerSocket(4831);
} catch (IOException e) {
System.err.println("Could not listen on port: 4831.");
System.exit(-1);
int i=0;
while(true)
sockets.add(serverSocket.accept());
in.add(new BufferedReader(
new InputStreamReader(
sockets.get(i).getInputStream())));
PrintWriter pri=new PrintWriter(sockets.get(i).getOutputStream(), true);
AP_Thread temp =new AP_Thread(out,in.get(i),pri);
threads.add(temp);
pri.println("Please type in your name");
name.add(in.get(i).readLine());
pri.println("Welcome");
out.add(pri);
threads.get(i).setn(name.get(i));
for(int a=0;a<i;a++)
out.get(a).println(name.get(i)+" has joined");
threads.get(i).start();
i++;
}Client:
import java.io.*;
import java.net.*;
public class Client {
public static void main(String[] args) throws IOException {
Socket kkSocket = null;
PrintWriter out = null;
BufferedReader in = null;
try {
kkSocket = new Socket("SERVER'S IP ADDRESS", 4831);
out = new PrintWriter(kkSocket.getOutputStream(), true);
in = new BufferedReader(new InputStreamReader(kkSocket.getInputStream()));
} catch (UnknownHostException e) {
System.err.println("Don't know about host.");
System.exit(1);
} catch (IOException e) {
e.printStackTrace();
System.exit(1);
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String fromServer;
in_Thread temp= new in_Thread(out,stdIn);
while ((fromServer = in.readLine()) != null) {
System.out.println(fromServer);}
out.close();
in.close();
stdIn.close();
kkSocket.close();
}If anyone has an ideas about how i can change the code to make it work on different computers, please post it. Thanks!Sure. here is the code for AP_Thread:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.ArrayList;
public class AP_Thread extends Thread {
ArrayList<PrintWriter> out;
PrintWriter ou;
BufferedReader In;
String name;
public AP_Thread(
ArrayList<PrintWriter> out,BufferedReader In, PrintWriter ou)
this.out=out;
this.ou=ou;
this.In=In;
public void setn(String s)
name=s;
public void run()
try
while(true)
String s;
s = In.readLine();
if (s == null) {break;}
if(s.equals("quit"))
out.remove(ou);
for(int i=0;i<out.size();i++)
out.get(i).println(name+" has left");
else if(out.size()>1&&!s.equals(""))
for(int i=0;i<out.size();i++)
if(!ou.equals(out.get(i)))
out.get(i).println(name+": "+s);
catch(IOException e){}
}And here is the code for in_Thread
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
public class in_Thread extends Thread
PrintWriter out;
BufferedReader stdIn;
public in_Thread(
PrintWriter out,BufferedReader stdIn)
this.out=out;
this.stdIn=stdIn;
this.start();
public void run()
while(true)
String fromUser;
try {
fromUser = stdIn.readLine();
if (fromUser != null&&!fromUser.equals("")) {
out.println(fromUser);
if(fromUser.equals("quit"))
out.close();
stdIn.close();
break;
catch (IOException e) {
System.err.println("The connection has been closed");
break;
}My guess it that is is an firewall problem because i can get it to work when the client and server on are the same computer. -
Help with connecting to ap with wpa-psk1 with tkip
hi guys,
i dont know how to proceed with this. i was able to get ndiswrapper working -thanks to this forum and followed these instructions for wpa supplicant http://wiki.archlinux.org/index.php/Ndi … supplicant i dont know now what to do next. i cant connect to my access point.
/etc/rc.conf
# LOCALIZATION
LOCALE="en_CA.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="Canada/Eastern"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# HARDWARE
MOD_AUTOLOAD="yes"
MOD_BLACKLIST=()
MODULES=(!pata_amd !sata_nv sd_mod sr_mod ndiswrapper)
USELVM="no"
# NETWORKING
HOSTNAME="archbox"
lo="lo 127.0.0.1"
INTERFACES=(lo)
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
NET_PROFILES=(wlan0)
# DAEMONS
DAEMONS=(syslog-ng network netfs dbus @openntpd crond hal @alsa @mpd !avahi-daemon !powernow-k8 sshd gdm numlockx)
/etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1
network={
ssid="wireless"
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
proto=WPA
priority=9
psk=85d8445aee8898f129d76bb89f50bf2fefa6bbc626e7043fb554581b4ef377fa
i dont know what else im missing. please point me to the right direction.
my access point uses WPA-PSK TKIP and it is not brodcasting ssid. thanks you for your time.thanks for your replies! i have tried your suggestion peart and it did find my ssid! now my problem seems to be with authentication...
when i issue
sudo wpa_supplicant -dd -c/etc/wpa_supplicant.conf -iwlan0 -Dndiswrapper
i get this:
<<archbox>> :sudo wpa_supplicant -dd -c/etc/wpa_supplicant.conf -iwlan0 -Dndiswrapper
Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
eapol_version=1
ap_scan=2
fast_reauth=1
Line: 6 - start of a new network block
ssid - hexdump_ascii(len=7):
6c 61 63 61 62 6c 65 lacable
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
proto: 0x1
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='lacable'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
ioctl[SIOCSIWPMKSA]: Invalid argument
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xd
capabilities: key_mgmt 0x5 enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:40:f4:e2:45:69
Driver does not support WPA.
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
Setting scan request: 0 sec 100000 usec
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'lacable'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'lacable'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:00:00:00:00:00 blacklist count incremented to 2
No keys have been configured - skip key clearing
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Trying to associate with SSID 'lacable'
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: No WPA/RSN IE available from association info
WPA: Set cipher suites based on configuration
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: clearing AP WPA IE
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
seems like its trying to authenticate but failing. i tried broadcasting my SSID like what you suggested but it seems to be authentication issues. i tried the wireless usb again on windows just to make sure it can authenticate and it does work there. is there something wrong with my wpa_supplicant.conf?
ctrl_interface=/var/run/wpa_supplicant
eapol_version=1
ap_scan=2
fast_reauth=1
network={
ssid="lacable"
key_mgmt=WPA-PSK
pairwise=TKIP
group=TKIP
proto=WPA
psk=85d8445aee8898f129d76bb89f50bf2fefa6bbc626e7043fb554581b4ef377fa
so the ssid problem is gone. now it seems to be authentication... ideas? i really appreciate your help. thank you for spending time in helping me -
I have written a routine that loads a Hex file, checks for record marker,length,address etc then loads the data into a table on front panel. However, my routine only loads single record hex files. I need to be able to load multiple record files, I need to identify the ':' colon record marker start for each record in the hex file, I just can't see how to loop my routine so that all records with ':' prefix marker are loaded.
Jeff,
I'm not exactly sure of what you are trying to do. Is it possible you could post your code, or a screen shot of the diagram in question, so that I can get a better understanding, and possibly offer some assistance?
I am familiar with hex files, but not with the : marker separating records. This may be able to be solved with simple text parsing, and as I am not familiar with how you are retrieving and/or displaying the files, I require more information.
Thanks -
The wife tried to do an update on her new IPhone 5c now it is frozen at an ITunes screen, the screen has a pic of a cable and phone connector pointing to an ITunes symbol with the word ITunes under it. when it tries to do a restore the computer comes up with an error 21.
What has she done.Check for hardware issues
Related errors: 1, 3, 10-47, 1002, 1011, 1012, 1014, 1000-1020, 1669.
Try to restore your iOS device two more times while connected with a cable, computer, and network you know are good. Also, confirm your security software and settings are allowing communication between your device and update servers. If you still see the error message when you update or restore, contact Apple support.
Error 1015 might happen after making unauthorized modifications to iOS, also called "jailbreaking."
Maybe you are looking for
-
Multiple values in prompt not working..
I am able to create prompts using Java/ BO-SDK and i am also able to set values to these prompts; but the values in the report in Infoview are not getting refreshed. for e.g if a single value for city prompt is entered the code works fine but if i se
-
The new photobooth effects show up in iChat and Photobooth but do not do anything at all
I'm asking for a friend. The effects show up and everything but when selected they act as if I've selected original. Is there a fix yet?
-
Calendar Publishes but ToDo items do not
Hello, I've been successful at publishing my calendar and allowing subscribers to view it. But when I allow the publishing of to-do items they will not show up on the other user's to-do list. Is there something I'm missing? I've allowed todo items to
-
Most of our movies have been purchased under one main iTunes account. We set-up family share in order to "share" purchased videos and music. How can we stream "shared" movies? Using the Videos app, I have access to stream purchased videos but not
-
Can any body plz explain this?
hi all, I has to write a program in java for converting Excel to PDF...I got this code...but i'm clear with wht is happing here,,,and in this code they used apache.fop...i'm not able to find fop api's. plz help me out..... public static void main(Str