2 Quick Express Questions

I think I know the answer to the first one, but have no clue on the 2nd one.
First, at home, I want my AE to hook up a USB printer, and use airtunes. From what I've experimented with, the only way to make this work, is to have the AE join my third party network. Else, I need to jump onto the AE network each time I want to print and or use airtunes (and in so doing, lose my connection to the 3rd party router, which then I lose internet). The caveat to this is that to change profiles (for work, see below)I have to change the profile before heading to work.
Second, at work I can create a wireless network for my mac by plugging in the ethernet cable. No problem. Only catch is that my company sets their packet size (MTU) to 1300 instead of the normal 1500. how can I change the packet size through the airport express? Through a wired connection, I can do this in the network pane. Any ideas?
Thanks.
CP

From what I've experimented with, the only way to make this work, is to have the AE join my third party network.
That is the correct way.
...how can I change the packet size through the airport express?
There is no MTU setting on the AirPort Express. All of Apple's base stations simply forward the packets as sent by the computers and therefore the base stations have no MTU setting of their own. To change the MTU used by your Mac, see the macosxhints.com article " 10.3: MTU fixes for Ethernet and Airport connections".

Similar Messages

  • Hi all .hope all is well ..A quick trim question

    Hi all
    Hope all is well ......
    I have a quick trim question I want to remove part of a string and I am finding it difficult to achieve what I need
    I set the this.setTitle(); with this
    String TitleName = "Epod Order For:    " + dlg.ShortFileName() +"    " + "Read Only";
        dlg.ShortFileName();
        this.setTitle(TitleName);
        setFieldsEditable(false);
    [/code]
    Now I what to use a jbutton to remove the read only part of the string. This is what I have so far
    [code]
      void EditjButton_actionPerformed(ActionEvent e) {
        String trim = this.getTitle();
          int stn;
          if ((stn = trim.lastIndexOf(' ')) != -2)
            trim = trim.substring(stn);
        this.setTitle(trim);
    [/code]
    Please can some one show me or tell me what I need to do. I am at a lose                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    there's several solutions:
    // 1 :
    //you do it twice because there's a space between "read" and "only"
    int stn;
    if ((stn = trim.lastIndexOf(' ')) != -1){
        trim = trim.substring(0,stn);
    if ((stn = trim.lastIndexOf(' ')) != -1){
          trim = trim.substring(0,stn);
    //2 :
    //if the string to remove is always "Read Only":
    if ((stn = trim.toUpperCase().lastIndexOf("READ ONLY")) != -1){
       trim = trim.substring(0,stn);
    //3: use StringTokenizer:
    StringTokenizer st=new StringTokenizer(trim," ");
        String result="";
        int count=st.countTokens();
        for(int i=0;i<count-2;i++){
          result+=st.nextToken()+" ";
        trim=result.trim();//remove the last spaceyou may find other solutions too...
    perhaps solution 2 is better, because you can put it in a separate method and remove the string you want to...
    somthing like:
    public String removeEnd(String str, String toRemove){
      int n;
      String result=str;
      if ((n = str.toUpperCase().lastIndexOf(toRemove.toUpperCase())) != -1){
       result= str.substring(0,stn);
      return result;
    }i haven't tried this method , but it may work...

  • Quick script question

    Hi all,
    Could anyone advise me if i can add anything within - header('Location: http://www.mysite.co.uk/thankyou.html'); in the script below so as the page
    re- directs back to the main index page after a few seconds ?
    Thankyou for any help.
    <?php
    $to = '[email protected]';
    $subject = 'Feedback form results';
    // prepare the message body
    $message = '' . $_POST['Name'] . "\n";
    $message .= '' . $_POST['E-mail'] . "\n";
    $message .= '' . $_POST['Phone'] . "\n";
    $message .= '' . $_POST['Message'];
    // send the email
    mail($to, $subject, $message, null, '');
    header('Location: http://www.mysite.co.uk/thankyou.html');
    ?>

    andy7719 wrote:
    Mr powers gave me that script so im rather confused at this point in time
    I don't think I "gave" you that script. I might have corrected a problem with it, but I certainly didn't write the original script.
    What you're using is far from perfect, but to suggest it would lay you open to MySQL injection attacks is ludicrous. For you to be prone to MySQL injection, you would need to be entering the data into a MySQL database, not sending it by email.
    There is a malicious attack known as email header injection, which is a serious problem with many PHP email processing scripts. However, to be prone to email header injection, you would need to use the fourth argument of mail() to insert form data into the email headers. Since your fourth argument is null, that danger doesn't exist.
    One thing that might be worth doing is checking that the email address doesn't contain a lot of illegal characters, because that's a common feature of header injection attacks. This is how I would tidy up your script:
    <?php
    $suspect = '/Content-Type:|Bcc:|Cc:/i';
    // send the message only if the E-mail field looks clean
    if (preg_match($suspect, $_POST['E-mail'])) {
      header('Location: http://www.example.com/sorry.html');
      exit;
    } else {
      $to = '[email protected]';
      $subject = 'Feedback form results';
      // prepare the message body
      $message = 'Name: ' . $_POST['Name'] . "\n";
      $message .= 'E-mail: ' . $_POST['E-mail'] . "\n";
      $message .= 'Phone: ' . $_POST['Phone'] . "\n";
      $message .= 'Message: ' . $_POST['Message'];
      // send the email
      mail($to, $subject, $message);
      header('Location: http://www.example.com/thankyou.html');
      exit;
    ?>
    Create a new page called sorry.html, with a message along the lines of "Sorry, there was an error sending your message". Don't put anything about illegal attacks. Just be neutral.
    By the way, when posting questions here, don't use meaningless subject lines, such as "Quick script question". If you're posting here, it's almost certain to be a question about a script. It doesn't matter whether it's quick. Use the subject line to tell people what it's about.

  • Quick Airport Express Question

    If i set the express to join my existing wireless network (D-Link), will the express have access to the internet (effectively extending the wireless network) or will it just provide airtunes functionality? Also, do i have to have an aiport base station to use the WDS feature of the express?

    Sure...
    The network configuration would be:
    Internet > (Ethernet cable) > [WAN] D-Link Internet Router [LAN] > (Ethernet cable) > [Ethernet port] AX > (wireless) > wireless clients
    To set up the AirPort Express Base Station (AX) for a roaming network as bridge, using the AirPort Admin Utility, connect your computer directly (using an Ethernet cable) to the Ethernet port of the AX, and then, try these settings:
    AirPort tab
    - Base Station Name: <whatever you wish or use the default>
    - AirPort Network Name: <D-Link's SSID>
    - Create a closed network (unchecked)
    - Wireless Security: <D-Links's encryption setting>
    - Channel: <at least 3 channels different from D-Link>
    - Mode: 802.11b/g Compatible
    Base Station Options - WAN Ethernet Port
    - Enable SNMP Access (unchecked)
    - Enable Remote Configuration (unchecked)
    - Enable Remote Printer Access (unchecked)
    Internet tab
    - Connect Using: Ethernet
    - Configure: Using DHCP
    - WAN Ethernet Port: Automatic
    Network tab
    - Distribute IP addresses (unchecked)
    - Apply the new settings.
    - Wait at least 5 minutes.

  • Quick regular expression question/help

    Can someone help me with two regular expressions I need. I could spend a while trying to figure it out myself, however times short and I really would like to get a fool proof optimal solution (my attempt would be buggy).
    Sample sentence
    The population, is projected to reach 200,000, or more (by 2020).[7] This is {dummy} text.
    The first regular expression
    I need all brackets and every thing between them to be removed from a sentence.
    Brackets such as: ( ), [ ] and { } .
    I.e. Given the above sentence the following would be returned:
    The population, is projected to reach 200,000, or more. This is text.
    The second regular expression
    If a word has a trailing comma character I need to add a whitespace between the word and the comma.
    I.e. Given the sentence returned from the first regular expression, this regex would return:
    The population *,* is projected to reach 200,000 *,* or more. This is text.
    Many thanks to anyonewho can help me with this!
    Edited by: Myles on Jan 18, 2008 8:12 AM

    http://java.sun.com/docs/books/tutorial/extra/regex/index.html
    http://www.regular-expressions.info

  • Quick regular expression question!

    If I have a String such as:
    "This is a sentence.[1] This is another."
    OR
    "This is a sentence.(1) This is another."
    I.e. A String has a full stop within it and a non alphanumeric character immediately after it (without whitespace between the full stop and the character)
    How can I insert a whitespace character between the full stop and the non alphanumeric character (such as a bracket in the above examples)?
    So the above Strings would be transformed into:
    "This is a sentence. [1] This is another."
    "This is a sentence. (1) This is another."
    Thanks

    If I understand what you're asking...
    str = str.replaceAll("\\.([^\\p{Alnum}\\s])", ". $1");
    "This is sentence.[1] This is another.(1) This is a third. [1] This is a fourth.& This is a fifth. This is the last."
    "This is sentence. [1] This is another. (1) This is a third. [1] This is a fourth. & This is a fifth. This is the last."For more info:
    http://java.sun.com/docs/books/tutorial/extra/regex/index.html
    http://www.regular-expressions.info/

  • Quick and easy airport express question [expanding my network]

    I have an airpot express unit, it works great, i have plugged in to my internet using an ethernet cable, I just want to know something: can i expand my network?? make it bigger?
    I have airport express in my room, can i plugg another airport express on another room, make settings so that new airport express joins my current network, and like expand my internet connection, my problem is that i live in a house made out of concrete so, walls are really big and not thin at all, so when i go downstairs i loose my internet connecion, can i expand this with another airport express without having to connect the ethernet cable to the new airport express? I hope its not to confusing

    Yes you can, when you plug the 2nd Airport Express in there is an option to join or extend an wireless network. This is what you would select to expand / extend your existing wireless network to other areas that may have a weaker signal.

  • Silly Base Station / Express question

    Hi. Silly Question... Is my Airport Express my Base Station? I've only got the Express and I can connect to the internet just fine. Or does Base Station refer specifically to the round flying-saucer looking thingy? That would explain why I can't see it listed in Airport Setup utility under the Base Station columns. I'm trying to make sure my Express is set up correctly to print, but I didn't specify having a printer when I set up the Wireless Network. Sorry about this, but it might just solve my problem. Thanks in advance. I promise I'll learn quickly.
    M
    Ibook   Mac OS X (10.4.2)  

    I'm not sure if it's a defective AX... just from my personal experience I had similar issues with 3 I needed to return.
    If I recall correctly, you only have 2 choices... either the AX acts as a base station or it's a client of another base station. I suppose it might be possible you had it set as a client and it's just picking up an open access point nearby.
    I would just try restarting the AX and your computer. If that doesn't work, maybe you could try a soft -> hard -> factory reset, in that order.
    Do you have an Apple Store nearby? If so, and none of the above works, you can always take it to the genius bar and they may be able to help.
    Curt

  • Resgular Expression question

    Hi guys. I am a java programmer for a couple of years now but I could never learn regular expressions in this or any other language. My problem is that I want to use String's replaceAll method to replace all HTML structures from a string. Actually, I want to remove all <*>, ie all character between the angular brackets (together with teh brackets of course). Does anyone have any idea how this is done with regular expressions?
    replaceAll method is defined as follows:
    String      replaceAll(String regex, String replacement)
    Replaces each substring of this string that matches the given regular expression with the given replacement.
    Thanks in advance

    Hi,
    public class Test {
         public static void main(String[] args) {
              String test = "<img src=\"blah blah\">hello</img> and so on <br>.";
              System.out.println(test.replaceAll("<[^>]*>", ""));
    }Kaj
    Ps.
    Native methods is not the correct forum for this kind of questions. You should have posted in Java programming.

  • Urgent help with quick translation questions

    Hello,
    I am somewhat new to Java. I have a translation to hand in in a few hours (French to English). Argh! I have questions on how I worded some parts of the translation (and also if I understood it right). Could you, great developers, please take a look and see if what I wrote makes sense? I've put *** around the words I wasn't sure about. If it sounds strange or is just plain wrong, please let know. I also separated two terms with a slash, when I was in doubt of which one was the best.
    Many thanks in advance.
    1) Tips- Always ***derive*** the exceptions java.lang.Exception and java.lang.RuntimeException.
    Since these exceptions have an excessively broad meaning, ***the calling layers will not know how to
    distinguish the message sent from the other exceptions that may also be passed to them.***
    2) The use of the finally block does not require a catch block. Therefore, exceptions may be passed back to the
    calling layers, while effectively freeing resources ***attributed*** locally
    3) TIPS- Declare the order for SQL ***statements/elements*** in the constant declaration section (private static final).
    Although this recommendation slightly hinders reading, it can have a significant impact on performance. In fact, since
    the layers of access to data are ***low level access***, their optimization may be readily felt from the user’s
    perspective.
    4) Use “inlining.”
    Inlining is a technique used by the Java compiler. Whenever possible, during compilation, the compiler
    copies the body of a method in place of its call, rather than executing a ***memory jump to the method***.
    In the example below, the "inline" code will run twice as fast as the ***method call***
    5)tips - ***Reset the references to large objects such as arrays to null.***
    Null in Java represents a reference which has not been ***set/established.*** After using a variable with a
    large size, it must be ***reassigned a null value.*** This allows the garbage collector to quickly ***recycle the
    memory allocated*** for the variable
    6) TIPS Limit the indexed access to arrays.
    Access to an array element is costly in terms of performance because it is necessary to invoke a verification
    that ***the index was not exceeded.***
    7) tips- Avoid the use of the “Double-Checked Locking” mechanism.
    This code does not always work in a multi-threaded environment. The run-time behavior ***even depends on
    compilers.*** Thus, use the following ***singleton implementation:***
    8) Presumably, this implementation is less efficient than the previous one, since it seems to perform ***a prior
    initialization (as opposed to an initialization on demand)***. In fact, at runtime, the initialization block of a
    (static) class is called when the keyword MonSingleton appears, whether there is a call to getInstance() or
    not. However, since ***this is a singleton***, any occurrence of the keyword will be immediately followed by a
    call to getInstance(). ***Prior or on demand initializations*** are therefore equivalent.
    If, however, a more complex initialization must take place during the actual call to getInstance, ***a standard
    synchronization mechanism may be implemented, subsequently:***
    9) Use the min and max values defined in the java.lang package classes that encapsulate the
    primitive numeric types.
    To compare an attribute or variable of primitive type integer or real (byte, short, int, long, float or double) to
    ***an extreme value of this type***, use the predefined constants and not the values themselves.
    Vera

    1) Tips- Always ***derive*** the exceptions java.lang.Exception and java.lang.RuntimeException.***inherit from***
    ***the calling layers will not know how to
    distinguish the message sent from the other exceptions that may also be passed to them.***That's OK.
    while effectively freeing resources ***attributed*** locally***allocated*** locally.
    3) TIPS- Declare the order for SQL ***statements/elements*** in the constant declaration section (private static final).***statements***, but go back to the author. There is no such thing as a 'constant declaration section' in Java.
    Although this recommendation slightly hinders reading, it can have a significant impact on performance. In fact, since
    the layers of access to data are ***low level access***, their optimization may be readily felt from the user’s
    perspective.Again refer to the author. This isn't true. It will make hardly any difference to the performance. It is more important from a style perspective.
    4) Use “inlining.”
    Inlining is a technique used by the Java compiler. Whenever possible, during compilation, the compiler
    copies the body of a method in place of its call, rather than executing a ***memory jump to the method***.
    In the example below, the "inline" code will run twice as fast as the ***method call***Refer to the author. This entire paragraph is completely untrue. There is no such thing as 'inlining' in Java, or rather there is no way to obey the instruction given to 'use it'. The compiler will or won't inline of its own accord, nothing you can do about it.
    5)tips - ***Reset the references to large objects such as arrays to null.***Correct, but refer to the author. This is generally considered bad practice, not good.
    Null in Java represents a reference which has not been ***set/established.******Initialized***
    After using a variable with a
    large size, it must be ***reassigned a null value.*** This allows the garbage collector to quickly ***recycle the
    memory allocated*** for the variableAgain refer author. Correct scoping of variables is a much better solution than this.
    ***the index was not exceeded.******the index was not out of range***
    The run-time behavior ***even depends on compilers.***Probably a correct translation but the statement is incorrect. Refer to the author. It does not depend on the compiler. It depends on the version of the JVM specification that is being adhered to by the implementation.
    Thus, use the following ***singleton implementation:***Correct.
    it seems to perform ***a prior initialization (as opposed to an initialization on demand)***.I would change 'prior' to 'automatic pre-'.
    ***this is a singleton***That's OK.
    ***Prior or on demand initializations***Change 'prior' to 'automatic'.
    ***a standard
    synchronization mechanism may be implemented, subsequently:***I think this is nonsense. I would need to see the entire paragraph.
    ***an extreme value of this type******this type's minimum or maximum values***
    I would say your author is more in need of a technical reviewer than a translator at this stage. There are far too serious technical errors in this short sample for comfort. The text isn't publishable as is.

  • 10G EXPRESS QUESTIONS

    I want to download and start using the free express edition of the db. Before doing so, I have several questions before getting started:
    1) I plan on downloading to, and using the db on, only one system. Which version do I need??? Do I need the server version, client version, or do I need both???
    2) I would prefer to download and use the db from a laptop versus a desktop. Any issues with that??? Of course, the laptop would be sized correctly.
    3) I would prefer to use the db on a Mac but see there is not a version for the Mac OS. Which is the better OS for this db, Windows or Linux???
    Thanks in advance for the help.
    JG

    I want to download and start using the free express
    edition of the db. Before doing so, I have several
    questions before getting started:
    1) I plan on downloading to, and using the db on,
    only one system. Which version do I need??? Do I
    need the server version, client version, or do I need
    both???The 'server' is the database. The 'client' is the software needed to get to the server (get to the database) across the network.
    You need the server at the least.
    If you want to access the database from other computers using something other than a browser, you need the 'client'.
    2) I would prefer to download and use the db from a
    laptop versus a desktop. Any issues with that??? Of
    course, the laptop would be sized correctly.I run Oracle XE on a laptop. 1GB RAM, 40GB disk, P4-2.2GHz laptop. I'm pretty happy.
    3) I would prefer to use the db on a Mac but see
    there is not a version for the Mac OS. Which is the
    better OS for this db, Windows or Linux???
    Which car is better - a Ford or a Chrysler?
    It really comes down to personal preference. The differences between Windows and Linux are not really all that great any more.
    And just like cars - just don't forget that eith has to be maintained. Regularly.
    Message was edited by:
    Hans Forbrich
    PS: I use Linux. But mainly because I've been using computers since the late 1960s and hate the hype around GUI.

  • Axiom 25 and Express Questions

    Hi guys!
    Ive got some questions about syncing up my M-audio axiom 25 to Logic. My goal right now is to be able to write bass and drum parts (addictive drums) into the piano roll in write mode using the midi controller.
    1. first off how do I make the rotary controllers, say B1 to command logic to change the quantize parameters for when i'm writing drums in piano roll. turning clockwise will change the quantize value from 1/4 to 1/6 and counter clock wise will turn from 1/4 to 1/3.
    2. After that, how can I set B2 to transport left or right in piano roll (clock wise counter clockwise) so the playhead can move to the quantized value, which would allow rests.
    3. How can I set so my keystroke hits are placed between a certain velocity range? Like notes i play can only sound between 100 and 127 velocity.
    4. Could you maybe give me some other cool functionality ideas for syncing the two up for my work environment? Im sure there are things I haven't thought of because im new to the whole concept of a MIDI controller.

    Hi,
    i don't know the Axiom, so maybe i'm wrong.
    First, read the chapter on Control Surfaces in the Manual. Especially the Learn function (CMD-L) which can quick assign functions to a midi controller. Maybe this is all you need to get the knobs'n'buttons work. Select the function in Logic by clicking on it, press CMD-L and move the desired controller. That's all there is. You can, however, assign it manually in the control surface setup.
    The second thing is the velocity range. This can be done afterwards with the transform function.
    Usually i don't say this, but: Have a look in the manual. The tasks you want to perform are very specific, and it would be a long run to explain every little step here. However, feel free to ask if you have further questions
    Fox

  • Quick NativeWindow questions.

    Hi,
    Two Quick Questions about native window actions (I am using AIR with HTML and JS):
    1. How do you "refer" to minimize button ? - So, when a user clicks minimize, it should do an action defined in javascript.
    2. How to define click event for System tray icon ? - So I can display something when my system tray icon is double-clicked.
    Thanks.

    1. Add an event listener to the window.nativeWindow object, listening for the NativeWindowDisplayStateEvent.DISPLAY_STATE_CHANGING  or DISPLAY_STATE_CHANGE events.
    2. Add an event listener to your SystemTrayIcon object. You can listen for click, mouseUp or mouseDown events, but doubleClick events are not dispatched by this object.

  • Quick REGEXP_LIKE Question

    Hi everyone,
    Had a very quick question: so I need to retrieve all records that have values in this format "type:123;target_id:456". Note that the numeric value can be 1-6 digits long for either type or target_id.
    Can someone please help me with the regexp_like-ing this?
    Thank you,
    Edited by: vi2167 on May 27, 2009 2:06 PM
    Edited by: vi2167 on May 27, 2009 2:07 PM

    WHERE REGEXP_LIKE(val,'type:\d{1,6};target_id:\d{1,6}')SY.

  • EL Expression questions

    Hi, I have two questions on the El Expression in the JSF:
    1)Can anyone link a El Expression (for JSF) references page?
    2)Can I use a El Expression (like the ternary selection operator) in action attributes or in actionListener or valueListener attributes?

    Link is here (for Tomcat EL - Classes and interfaces for the JSP 2.0 Expression Language API.)
    http://tomcat.apache.org/tomcat-5.5-doc/jspapi/javax/servlet/jsp/el/package-summary.html
    or
    http://java.sun.com/products/jsp/2.1/docs/jsp-2_1-pfd2/javax/servlet/jsp/el/package-summary.html
    for JSF 1.2
    BTW: Its not JSF EL but JSP specification
    EL can star from $ or #: $ is page context # is faces context, sometimes You can use $ for JSF tags, but not always, to implement such an operator check this: http://www.oracle.com/technology/pub/articles/cioroianu_jspapi.html
    But, for now, there is no way to have such an operator out of the box, You just cant't put this kind of logic to view layer

Maybe you are looking for

  • How can I re-use the mail address I signed when I was testing MobileMe?

    A few months ago, I tested mobile me and sigend on a me.com email address. I didn't take the anual subscription so the testaccount was closed fur using but is still existing. Now, I'd like to use the mail address for the cloud services, but I says, -

  • I can't find genius anywhere on my iPhone.

    So I have the new iPhone 5 on iOS 6.1.4 and I don't have a genius button in music. There's also no genius playlist available to create. Am I missing something? Please help I'd like to be able to make genius playlists.

  • [svn:cairngorm3:] 19790: fixing the flexunit 4. 1 related repositories entries

    Revision: 19790 Revision: 19790 Author:   [email protected] Date:     2011-01-18 00:02:32 -0800 (Tue, 18 Jan 2011) Log Message: fixing the flexunit 4.1 related repositories entries Added Paths:     cairngorm3/maven-repository/asmock/asmock-flexunit4.

  • Wrong URL in automatic generated subscription Email???

    Hi, if i receive an automatically generated Email from the Portal (subscription news) i can not open the URL which was send by the Email. My problem is that the included URL contains always the portnumber and works not with SSL (htts). For example i

  • Airport express not working in Japan "no ip address"

    Hi, We have an Airport Express which we use at home to create a wireless network for our iphones and a laptop. I traveled to Japan 2 years ago and plugged my hotel`s ethernet cable in and it worked fine. We are in Japan now and, for the first 4 days,