Tiny Core Base > TCB Q&A Forum

requesting help for 2 internet key

<< < (3/5) > >>

tinypoodle:
Have you looked into output of 'route'?

vinnie:
I do not know what it is! (I also searched route in /var/log)

maro:
Well, the 'wvdial' log in reply #9 indicates to me that you had a connection. To expand reply #10 a bit I'd suggest to share with us the output of: ifconfig -a ; cat /etc/resolv.conf ; route (obviously after you ran 'wvdial').

Next (potential) simple troubleshoouting steps:
(1) Try to ping the 'local IP address' (e.g. 164.132.123.57 in the example from reply #9, which is a public IP address belonging to Infostrada).
(2) Try to ping a well-know public server (i.e. outside of the realm of your ISP), e.g. ping 8.8.8.8
(3) Test the DNS (e.g. via nslookup google.com)
(4) Test a HTTP transmission (e.g. via wget -qO- http://example.com)

This step-by-step approach should allow you to pinpoint what works and what is faulty (and again you might want to share those results here, if you have problems).

tinypoodle:

--- Quote from: vinnie on April 11, 2011, 05:24:55 PM ---I do not know what it is! (I also searched route in /var/log)

--- End quote ---


--- Code: ---route
--- End code ---

 ;)

Though I hope maro made that already clear in the meantime

vinnie:
Ok, preface:
the connection that I use (and allows me to write at this time) is a adsl with router alice, therefore dhcp.
To make test of maro I unplugged the ethernet cable and start wvdial.

The first thing to say and that the file /etc/resolv.conf does not automatically change,  and then to validate the remainder of the test, I manually changed with the two dns provided by output of wvdial.

resolv.conf after change:

--- Code: ---tc@box:/$ cat /etc/resolv.conf
nameserver 193.70.152.25
nameserver 193.70.192.25
--- End code ---


Here are the other tests:


--- Code: ---tc@box:/$ ifconfig -a
dummy0    Link encap:Ethernet  HWaddr 9A:55:B6:B7:E6:F2 
          BROADCAST NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0      Link encap:Ethernet  HWaddr 20:CF:30:6E:C8:D2 
          inet addr:192.168.1.173  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:63052354 errors:0 dropped:0 overruns:0 frame:0
          TX packets:77894 errors:0 dropped:0 overruns:0 carrier:6
          collisions:0 txqueuelen:1000
          RX bytes:143971588 (137.3 MiB)  TX bytes:8767633 (8.3 MiB)
          Interrupt:30

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:896 errors:0 dropped:0 overruns:0 frame:0
          TX packets:896 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:99248 (96.9 KiB)  TX bytes:99248 (96.9 KiB)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:164.132.96.39  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:7 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:118 (118.0 B)  TX bytes:154 (154.0 B)

wlan0     Link encap:Ethernet  HWaddr 48:5D:60:04:E8:F7 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
--- End code ---


--- Code: ---tc@box:/$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
10.64.64.64     *               255.255.255.255 UH    0      0        0 ppp0
127.0.0.1       *               255.255.255.255 UH    0      0        0 lo
192.168.1.0     *               255.255.255.0   U     0      0        0 eth0
default         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
--- End code ---


--- Code: ---tc@box:/$ ping 164.132.96.39
PING 164.132.96.39 (164.132.96.39): 56 data bytes
64 bytes from 164.132.96.39: seq=0 ttl=64 time=0.174 ms
64 bytes from 164.132.96.39: seq=1 ttl=64 time=0.081 ms
--- End code ---


--- Code: ---tc@box:/$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
--- End code ---
...indefinitely time...


--- Code: ---tc@box:/$ nslookup google.com
Server:    193.70.152.25
Address 1: 193.70.152.25

nslookup: can't resolve 'google.com'
--- End code ---


--- Code: ---tc@box:/$ wget -qO- http://example.com
wget: bad address 'example.com'
--- End code ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version