Re: [Gambas-user] How to find out internet status

2011-04-04 Thread Ganesh Kumar
Hi. Sir., > your whole code works fine for me. > are you sure that you really call this routine in the main program? this > is the only reason i can think of... My scenario is Create one form check Internet status .. If Internet is there means Execute my script otherwise skip the form I have c

Re: [Gambas-user] How to find out internet status

2011-04-04 Thread tobias
hi, your whole code works fine for me. are you sure that you really call this routine in the main program? this is the only reason i can think of... -- Create and publish websites with WebMatrix Use the most popular FREE

Re: [Gambas-user] How to find out internet status

2011-04-04 Thread Ganesh Kumar
Thanks for your kindly replay. > another way may be found according to the following test: > in my case, i am connected to the internet via wlan0. my eth0 isn't > connected to anything. in a terminal: > $ curl --interface wlan0 google.de > returns some html, while > $ curl --interface eth0 google.

Re: [Gambas-user] How to find out internet status

2011-04-03 Thread Demosthenes Koptsis
As net admin i would check in order 1) ping the dns of LAN, for example a Linux box inside the LAN example ping 192.168.0.3 2)if there is no DNS in LAN, ping the DNS of ISP example ping the.dnsofisp.com 3) if you are sure that you have a working DNS, ping google example ping www.google.com 3) i

Re: [Gambas-user] How to find out internet status

2011-04-03 Thread tobias
hi, this for sure isn't the best solution but my first thought was using ifconfig to determine if your internet interface (maybe eth0 or whatever) has an ip address which should mean that it is connected..? (i don't know how it works with a modem) this way you are at least independant of a test

Re: [Gambas-user] How to find out internet status

2011-04-03 Thread Doriano Blengino
Il 03/04/2011 11:31, Ganesh Kumar ha scritto: > Hi Guys, > > I am new to Gambas with networking field. I want find out internet > connection in > my system or NOT. > I don't use ping command. > > ping www.yahoo.com its pinging...yes internet connection is there is > working fine. > > one day yahoo

Re: [Gambas-user] How to find out internet status

2011-04-03 Thread Ganesh Kumar
Thanks for you kindly reply, > what connection do you use? I have to use ADSL , But my situation I dont see modem-router My only option i have to use with script only.. Any Gambas modules will be there check internet status > If you use ADSL you can see the STATUS of your modem-router, it will

Re: [Gambas-user] How to find out internet status

2011-04-03 Thread Demosthenes Koptsis
Hello, what connection do you use? If you use ADSL you can see the STATUS of your modem-router, it will say something like: CONNECTION IS UP, or VC1 IS UP, or ADSL IS UP. it will also display the IP and other info. You can make a bookmark for your Router page on Firefox and also save the login

[Gambas-user] How to find out internet status

2011-04-03 Thread Ganesh Kumar
Hi Guys, I am new to Gambas with networking field. I want find out internet connection in my system or NOT. I don't use ping command. ping www.yahoo.com its pinging...yes internet connection is there is working fine. one day yahoo server is down.. How to find out..try another website.. Its not