By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,763 Members | 1,612 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,763 IT Pros & Developers. It's quick & easy.

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

P: n/a
jb
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

Jul 8 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
In article <11**********************@35g2000cwc.googlegroups. com>,
"jb" <js******@gmail.comwrote:
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).
Jul 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.