Am I Using LAN or Wifi?

Discussion in 'Mac Basics and Help' started by kevhui, Dec 27, 2008.

  1. kevhui macrumors regular

    Apr 24, 2008

    My iMac is connected to a router, and also Airport Express thru the same router. Just wonder when a open a web browser, which interface am I using?

  2. tyr2 macrumors 6502a


    May 6, 2006
    Leeds, UK
    Go into 'Network' in System Preferences. You should see your 'Built-in-Ethernet' and 'AirPort' connections in the list on the left with green lights.

    Whichever is at the top is the default interface. To change it click the cog and select 'Set Service Order' then you can drag them around into the preferred order, then click 'Apply' to active the changes.

    You can check this in the terminal by looking at the default route for connections. Do this
    $ netstat -rn | grep default
    default          UGSc       51     8574    en2
    In this example is the router and the last field indicates the interface being used. In this case 'en2' is the wireless card on this machine.
  3. kevhui thread starter macrumors regular

    Apr 24, 2008

Share This Page