after step 2 you must check if you have set up to use DNS

make 

user@ubuntu-laptop:~$ cat /etc/resolv.conf 
# Generated by NetworkManager
nameserver 192.168.0.1

then you know which is the DNS you use.

-- 
Regards,
Demosthenes
--- Begin Message ---
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) if there is no result make traceroute to check where the packets dont
pass throught.
example traceroute www.google.com 

4) if the packets stops on your ip, you dont have set Default Route.
Make a route command to check your routes.
example: route

6) if you get

user@ubuntu-laptop:~$ ping www.google.com
ping: unknown host www.google.com

or

user@ubuntu-laptop:~$ traceroute www.google.com
www.google.com: Name or service not known
Cannot handle "host" cmdline arg `www.google.com' on position 1 (argc 1)

your netcard is down.
Make an ifconfig to check the status.

example:
ifconfig


With this pseudo-algorithm you can check the status of your network on
your machine.


To fix something you must make something like

route add default gw 192.168.0.3
or other ip

and
ifconfig eth0 up 192.168.0.1

the values: eth0, ip can be in your program as values from textboxes or
valuebox.

also you need to use EXEC or SHELL instruction and make a virtual
terminal with a TextArea to get the result of SHELL or EXEC instruction.

in quick thought that is the solution i made.


-- 
Regards,
Demosthenes

--- End Message ---
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to