How to check if the connectivity is via Ethernet or dial-up

Discussion in 'Python' started by jb, Jul 8, 2006.

  1. jb

    jb Guest

    Hi all:

    I was just wondering if there is a way to check (using python
    scripting) whether the computer's connectivity is via Dial-up or
    LAN/Ethernet adaptor? Is there a way in python to check the status of
    all available Ethernet adaptors? If not is there a way to achieve this
    by just checking some network parameters using System module?.

    Please help.

    Thanks,
    -JS
    jb, Jul 8, 2006
    #1
    1. Advertising

  2. jb

    Roy Smith Guest

    In article <>,
    "jb" <> wrote:

    > Hi all:
    >
    > I was just wondering if there is a way to check (using python
    > scripting) whether the computer's connectivity is via Dial-up or
    > LAN/Ethernet adaptor? Is there a way in python to check the status of
    > all available Ethernet adaptors? If not is there a way to achieve this
    > by just checking some network parameters using System module?.


    The best I could suggest is get the pysnmp module, and that to poke around
    in the interface table (assuming your box is running an SNMP agent).
    Roy Smith, Jul 8, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF1bCBL?=

    Developing with dial-up connection irritations

    =?Utf-8?B?UGF1bCBL?=, Jun 22, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    291
    Raterus
    Jun 22, 2004
  2. =?Utf-8?B?QUNhdW50ZXI=?=

    asp.net Auto-Dial

    =?Utf-8?B?QUNhdW50ZXI=?=, Jan 18, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    616
    Ken Cox [Microsoft MVP]
    Jan 18, 2005
  3. Replies:
    0
    Views:
    327
  4. Gad krosner
    Replies:
    4
    Views:
    1,987
    Gordon Beaton
    Feb 23, 2004
  5. Replies:
    5
    Views:
    1,586
Loading...

Share This Page