How can I use multiple network connections concurrently?
I'm using a Macbook, connected to a corporate network via Ethernet and to a private ADSL connection via Airport. What I want to be able to do is use the Airport connection for specific apps (Firefox, Safari, RDP etc) and the Ethernet connection for anything that needs to access any internal resources (Exchange etc).
From what I've tried, the OS presents the primary connection (set via the Service Order configuration) to the application and nothing else. For example when Firefox is set to not use a proxy I can't access anything, unless the Airport is given priority. But when the Airport is set as the higher priority adapter via the Service Order then I can't access any of the internal network.
Is there any way to work around this or am I stuck chopping and changing whenever I need to get out to the Internet directly?
The highest priority service is the Internet connection. Anything that would go to the internet uses that service. However, you still should be able to access the internal network via Ethernet.
For example when Firefox is set to not use a proxy I can't access anything, unless the Airport is given priority.
That make sense
But when the Airport is set as the higher priority adapter via the Service Order then I can't access any of the internal network.
You should be able to at least access file servers.
Similar Messages
-
How can I use Guest network when my internal server provides the DNS?
How can I use guest network when my internal server provides the DNS? The help article TS4505 tells me to enter an external DNS server, but I believe I can not configure my network that way...
Apple assumes that you will be connecting the Time Capsule to a simple modem....and.....that the Time Capsule is configured as a router to provide DHCP and NAT services for the network.
The Guest Network cannot be enabled correctly unless the Time Capsule is in charge of DHCP and NAT services on the network.
Another way of saying the same thing is that the Guest Network will not operate correctly if the Time Capsule is configured in Bridge Mode or DHCP Only. -
How can I use multiple row insert or update into DB in JSP?
Hi all,
pls help for my question.
"How can I use multiple rows insert or update into DB in JSP?"
I mean I will insert or update the multiple records like grid component. All the data I enter will go into the DB.
With thanks,That isn't true. Different SQL databases have
different capabilities and use different syntax, That's true - every database has its own quirks and extensions. No disagreement there. But they all follow ANSI SQL for CRUD operations. Since the OP said they wanted to do INSERTs and UPDATEs in batches, I assumed that ANSI SQL was sufficient.
I'd argue that it's best to use ANSI SQL as much as possible, especially if you want your JDBC code to be portable between databases.
and there are also a lot of different ways of talking to
SQL databases that are possible in JSP, from using
plain old java.sql.* in scriptlets to using the
jstlsql taglib. I've done maintenance on both, and
they are as different as night and day.Right, because you don't maintain JSP and Java classes the same way. No news there. Both java.sql and JSTL sql taglib are both based on SQL and JDBC. Same difference, except that one uses tags and the other doesn't. Both are Java JDBC code in the end.
Well, sure. As long as you only want to update rows
with the same value in column 2. I had the impression
he wanted to update a whole table. If he only meant
update all rows with the same value in a given column
with the same value, that's trivial. All updates do
that. But as far as I know there's know way to update
more than one row where the values are different.I used this as an example to demonstrate that it's possible to UPDATE more than one row at a time. If I have 1,000 rows, and each one is a separate UPDATE statement that's unique from all the others, I guess I'd have to write 1,000 UPDATE statements. It's possible to have them all either succeed or fail as a single unit of work. I'm pointing out transaction, because they weren't coming up in the discussion.
Unless you're using MySQL, for instance. I only have
experience with MySQL and M$ SQL Server, so I don't
know what PostgreSQL, Oracle, Sybase, DB2 and all the
rest are capable of, but I know for sure that MySQL
can insert multiple rows while SQL Server can't (or at
least I've never seen the syntax for doing it if it
does).Right, but this syntax seems to be specific to MySQL The moment you use it, you're locked into MySQL. There are other ways to accomplish the same thing with ANSI SQL.
Don't assume that all SQL databases are the same.
They're not, and it can really screw you up badly if
you assume you can deploy a project you've developed
with one database in an environment where you have to
use a different one. Even different versions of the
same database can have huge differences. I recommend
you get a copy of the O'Reilly book, SQL in a
Nutshell. It covers the most common DBMSes and does a
good job of pointing out the differences.Yes, I understand that.
It's funny that you're telling me not to assume that all SQL databases are the same. You're the one who's proposing that the OP use a MySQL-specific extension.
I haven't looked at the MySQL docs to find out how the syntax you're suggesting works. What if one value set INSERT succeeds and the next one fails? Does MySQL roll back the successful INSERT? Is the unit of work under the JDBC driver's control with autoCommit?
The OP is free to follow your suggestion. I'm pointing out that there are transactions for units of work and ANSI SQL ways to accomplish the same thing. -
How Can I Use Multiple Weblogic Instances in a Single OS
Hello Everyone,
Actually I have to install Some different applications. Few of them need weblogic 10.3.6 and others need 10.3.4. The OS am using is Oracle Enterprise Linux 5.
Now I am able to install 2 separate(One of 10.3.4 and 10.3.6) instances with two different users,In two different directories.
I have installed the weblogic 10.3.6 version with a user webadmin and installed node manager with port 5556. This is working fine.
The main problem here is :
In the second instance (10.3.4 ) installed with a a different user and gave the port number to NodeManager as 1600 and its not getting started. Its throwing error and also after some errors in the terminal am able to see that its reverting to port number 5556 only.
What might be the issue?
I have to install 2 different versions of weblogic in a single Server. But am failing with NodeManager. What Can I do to have multiple weblogic instances with multiple versions in a single server ?
Can anyone suggest a resolution for this please ?
Thanks in advance.Pl do not spam these forums with multiple posts - How Can I Use Multiple Weblogic Instances in a Single OS
-
How can we use multiple transactions by using bdc_insert.
HI
How can we use multiple transactions by using bdc_insert.Hi,
In between the Open and Close we have to use the BDC_INSERT for the Tcodes you have to do.
BDC_OPEN_GROUP
BSD_INSERT
TCODE = tcode1
BDC_INSERT
TCODE = tcode 2
BDC_CLOSE_GROUP
check the SDN for more on this.
Regards
Lekha -
i have bought a second hand iphone 4S which is locked on at&t how can i use other network sim on it as i have shifted from US
Call AT&T and see if you meet their requirements for unlocking the phone. If you don't, then you'll have to purchase a different phone entirely.
-
How can i use the network logon (VPN) as my default logon environment ?
Hi!
I use my laptop only for connect to my work, but every time i need to switch the last local user and click in the Network Logon icon in the bottom right corner, how can i make the network logon my default logon environment ?Hi,
Logon process cannot be easily replaced, but if your concern is just to ignore it, we can use auto logon to bypass the manual logon process:
Autologon for Windows
http://technet.microsoft.com/en-in/sysinternals/bb963905.aspx
Alex Zhao
TechNet Community Support -
How can i use multiple row subquery in update statement
Hai All
I using group function in my update statement.. and i need to update more rows so i need to use multiple row
subquery pls tell me how to use multiple row subquery in update statement
For example
while i am using this like this i got an error
update dail_att set outtime in (select max(r2.ptime) from temp_att where empcode=r2.enpno and
barcode=r2.cardn and attend_date=r2.pdate group by enpno,pdate,cardn);
Pls tell me how to use with example
Thanks & regards
Srikkanth.MHai Man
Thanks for ur response Let me clear what i need
First step Fetch the records as text file and stores into table T1
and the next step is i have seperated the text using substring and stores in different columns of a table
There are two shifts 0815 to 1645 and 1200 and 2000
Here I rep IN and O rep OUT
Empno date time inout
001 01-01-10 0815 I
002 01-01-10 0815 I
003 01-01-10 0818 I
001 01-01-10 1100 0
001 01-01-10 1130 I
002 01-01-10 1145 0
002 01-01-10 1215 I
004 01-01-10 1200 I
005 01-01-10 1215 I
004 01-01-10 1315 O
004 01-01-10 1345 I
001 01-01-10 1645 0
002 01-01-10 1715 0
003 01-01-10 1718 0
004 01-01-10 2010 0
005 01-01-10 2015 0
This is my T1 table i have taken data from text file and stored in this table from this table i need to move data to another table T2
T2 contains like this
Empno Intime Intrin Introut Outtime Date
001 0815 1100 1130 1645 01-01-10
002 0815 1145 1215 1715 01-01-10
003 0818 1718 01-01-10
004 1200 1315 1345 2010 01-01-10
005 1215 2015 01-01-10
This what i am trying to do man but i have little bit problems Pls give some solution with good example
And my coding is
declare
emp_code varchar2(25);
in_time varchar2(25);
out_time varchar2(25);
Cursor P1 is
Select REASON,ECODE,READMODE,EMPD,ENPNO,FILL,PDATE,PTIME,INOUT,CARDN,READERN
From temp_att
group by REASON,ECODE,READMODE,EMPD,ENPNO,FILL,PDATE,PTIME,INOUT,CARDN,READERN
ORDER BY enpno,pdate,ptime;
begin
for r2 in p1 loop
declare
bar_code varchar2(25);
begin
select barcode into bar_code from dail_att where empcode=r2.enpno and attend_date=r2.pdate;
For r3 in (select empcode,empname,barcode,intime,intrin,introut,addin,addout,outtime,attend_date from dail_att)loop
if r2.inout ='O' then
update dail_att set outtime =(select max(r2.ptime) from temp_att where empcode=r2.enpno and barcode=r2.cardn and attend_date=r2.pdate group by r2.cardn,r2.enpno,r2.pdate );
end if;
end loop;
exception
when no_data_found then
if r2.inout ='I' then
insert into dail_att(barcode,empcode,intime,attend_date)(select r2.cardn,r2.enpno,min(r2.ptime),r2.pdate from temp_att group by r2.cardn,r2.enpno,r2.pdate );
end if;
end;
end loop;
commit;
end;
Pls tell me what correction i need to do i the update statement i have used a subquery with group function but when i used it will return only one row but my need is to return many rows and i need to use multiple row subquery
and how can i use it in the update statement
Thanks In Advance
Srikkanth.M -
TA23485 How can I use multiple identities in Mail?
To be specific: How can I use one email address and different names? I used to do this with Eudora.
MrHoffman: thank you for the answer. You answered to the question: many email addresses and different names, it seems. Please read my question once again and let me know if you have a solution.
-
How can I use multiple icloud Accounts with Fotos?
Hello.
Yesterday, my wife and I started using the new App "Fotos" on OSX and iOS.
What I can't figure out, and where I would like to get some insight and help, is how we should use our icloud Accounts.
How it is right now:
- Wife (MacBook and iPhone)
Has her own icloud-Account ([email protected]) for Backup (iOS) and Fotosync, Keychainsync, Bookmarks. 20GB iCloud-Account (18GB free).
- Husband (MacBook, Mac Mini and iPhone and iPad)
Has his own icloud-Account ([email protected]) for Backup (iOS) and Fotosync, Keychainsync, Bookmarks. 20GB iCloud Account (10 GB free).
- Husband has about 400 GB of Photos from over 10 Years on Mac Mini
How I want it to be:
- Husband
upgrades to at least the 500GB Account, to use for all 400GB of Photos and Backup, Keychainsync, Bookmarks.
- Wife
Has her own Account ([email protected]) for Keychain and Bookmark, but uses [email protected] on MacBook and iPhone for Backup an Fotosync, so that all Photos are stored in a single one family "container". All Photos in one Place without being able to forget to put them there.
I don't see, how I can accomplish that, since only one "real" icloud account seems to be possible in iOS, so that if i put my account in her iPhone I would get the Photo and Backup I want, but she would not be able to sync her own bookmarks an keychain any more.
Any thought on how to resolve this?
Am I missing something?
Thanks for your ideas,
thomasYes, you could have multiple iCloud accounts for Mail, Contacts, Calendars, Reminders, Safari, Notes, and Find My iPhone, but only one primary iCloud account for Photo Stream, Documents & Data, and Storage & Backup.
-
How can I stop the network connections popup?
In our house we have 4 macs...two of them are new and I set them up by restoring from TimeMachine rather than with the migration tool as I have done in the past. This was recommended to me as a "cleaner" way to set up new machines (at least on an alternating basis).
On these two new machines I get a popup "Do you the application "microsoft word.app" to accept incoming network connections (this is also for excel or any office product). I'm still using Office for Mac 2008.
The only way I can find to stop these annoying popups is to turn off the fire wall, which I do not want to do (and which I have not done on the 2 mac books and they work fine).
Is there some setting or script I can run to fix this?
thanks,
tomLinc-
I'm taking your advice because I've seen many other great answers from you...but not without some trepidation :-)
This is so weird ... I've set the mac books next to the iMacs and looked at every setting on them...all the same, yet one gets the popup and the other doesn't. I found that it doesn't matter whether I set the firewall to allow or not-allow, the popup is there in both cases.
Do you have any advice on airport settings that I should be changing the defaults to? (other than a good WPA2personal password which I have)?
thanks again,
tom -
How can I used local network outside the US
How can I set up to use local networks of other countries?
make sure you have the 3G/4G modle if your talking about that, and to use it with a specific carrier you will also need the sim card from that carrier, and you have to restore the device with the sim card from that carrirer in the device, dont forget to back up and tranasfer purchases as well
-
With Pages 5.2 how can i use multiple language types in a single document
My Macbook Air Has the version 10.9.3
I'm used to work with the old version of Page.
But now I am using the new version of Pages 5.2 (1860).
I want to know with the new version how do I use an multiple language types in a single document option.
In the old version of Pages I was using Inspector -> Text -> "More" tab -> Language: British Inglese.
In the new Pages 5.2 I do not know how to do it
Could you help me?
meloIt's not possible to tag text with multiple languages in Pages 5. Go back to Pages 4, which should still be in you iWork folder.
For the whole doc in Pages 5, use Edit > Spellling and Grammar > Show Spelling and Grammar. -
How can I use multiple constructor
Hi,
I have some problem to using multiple constructor in java. It shows some error while compiling the following program. can any one give better solution for me.......
public class Test6{
public Test6(){
this(4); /*
C:\Test6.java:5: cannot find symbol
symbol : constructor Test6(int)
location: class Test6
this(4);
Test6(byte var){
System.out.println(var);
public static void main(String[] args){
Test6 t6 = new Test6();
}A number like 4 is an integer literal. So, you are passing an int to a function that is defined to accept a byte, hence you have a type mismatch. You need to cast the integer literal to a byte before passing it to the function:
this( (byte) 4); -
How can I view the Network Connection Log on MacBook?
Hello everyone!
I want to view the Network Connection Log on my MacBook. I know the Console.app is the app to view the system log but I do not have any idea where is exactly showing when I connect to the network by using the Wi-Fi networking or the Ethernet.
Anyone get some idea?You probably won't be able to make sense of it but .. . .
In terminal use command.
netstat
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/ man1/netstat.1.html
Maybe you are looking for
-
When I start Safari 8.0 on Yosemite, it uses 100% CPU. If I try to load any web page, Safari stops responding (spinning wheel of death) before anything is rendered. This includes pure HTML pages (no javascript, flash, etc.). Immediately after launc
-
HT1535 Grey dotted circles in iTunes music
I have half-transferred songs on my iTunes. Beside these song names, I have grey dotted circle lines. I want to delete it by using the right click but it does not sow me any options of deleting. Do I have to go to my summary tab on iTunes to change y
-
F4 key in the command line would display the history of commands used.Would it display the commands used by all the other sessions on the instance or mine alone??If so how does it update those values and where does it get stored on my machine?? Thank
-
How to unpair bluetooth headset during charging
I have an old Jabra BT500 and a iphone4. One thing I really like is that the Jabra BT500 unpairs while it is charging. But the sound quality was ok. So I recently upgraded to the Plantronics Voyager Pro+ and discovered the new headset doesn't unpa
-
HT1926 Why can't I download the itunes installer file to my iPhone?
It is required to run on my PC inorder to use my iPhone as an internet connection!!! *** Apple spend hundreds on the latest greatest brick and it still ***** very unhappy 5s (s is apparently for SUCKER) owner. I use my phone as a hotspot and I recent