2 Replies - 3059 Views - Last Post: 18 November 2010 - 07:34 AM

#1 10101010101010   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 18-November 10

D-Link wireless router, Ubuntu 10.04 Lucid

Posted 18 November 2010 - 04:27 AM

hi

My laptop won't display web pages despite my wireless network showing a strong connected signal. What follows is my troubleshooting methods:

[email protected]:~$   cat /etc/resolv.conf
# Generated by NetworkManager
domain cable.virginmedia.net
search cable.virginmedia.net
nameserver 192.168.0.1



ping localhost:

[email protected]:~$ ping -c 4 127.0.0.1
PING 127.0.0.1 (127.0.0.1) 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.065 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.046 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.046 ms

--- 127.0.0.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2999ms
rtt min/avg/max/mdev = 0.046/0.050/0.065/0.012 ms




determine my router IP address:

[email protected]:~$ sudo ifconfig
[sudo] password for andy: 
eth0      Link encap:Ethernet  HWaddr 00:24:54:21:0a:14  
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::224:54ff:fe21:a14/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8825 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9300 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6515656 (6.5 MB)  TX bytes:1869744 (1.8 MB)
          Interrupt:26 Base address:0x4000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2658 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2658 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:998010 (998.0 KB)  TX bytes:998010 (998.0 KB)

wlan0     Link encap:Ethernet  HWaddr 00:26:b6:31:c3:ef  
          inet addr:10.42.43.1  Bcast:10.42.43.255  Mask:255.255.255.0
          inet6 addr: fe80::226:b6ff:fe31:c3ef/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:42 errors:0 dropped:0 overruns:0 frame:0
          TX packets:87 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:4746 (4.7 KB)  TX bytes:16724 (16.7 KB)



ping my router:

[email protected]:~$ ping -c 4 10.42.43.1
PING 10.42.43.1 (10.42.43.1) 56(84) bytes of data.
64 bytes from 10.42.43.1: icmp_seq=1 ttl=64 time=0.064 ms
64 bytes from 10.42.43.1: icmp_seq=2 ttl=64 time=0.044 ms
64 bytes from 10.42.43.1: icmp_seq=3 ttl=64 time=0.046 ms
64 bytes from 10.42.43.1: icmp_seq=4 ttl=64 time=0.049 ms

--- 10.42.43.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 2998ms
rtt min/avg/max/mdev = 0.044/0.050/0.064/0.011 ms



(From the documentation)
If you can ping an external site with its IP address but not the common name then there is a DNS nameserver problem.

1) Ping an external site (determine Googles ip address firstly.):

[email protected]:~$ ping -c 4 www.google.com
PING www.l.google.com (173.194.37.104) 56(84) bytes of data.
64 bytes from lhr14s02-in-f104.1e100.net (173.194.37.104): icmp_seq=1 ttl=55 time=13.2 ms
64 bytes from lhr14s02-in-f104.1e100.net (173.194.37.104): icmp_seq=2 ttl=53 time=29.8 ms
64 bytes from lhr14s02-in-f104.1e100.net (173.194.37.104): icmp_seq=3 ttl=54 time=17.5 ms
64 bytes from lhr14s02-in-f104.1e100.net (173.194.37.104): icmp_seq=4 ttl=53 time=15.1 ms

--- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 13.294/18.956/29.810/6.447 ms



ping Googles IP address:

-- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3005ms
rtt min/avg/max/mdev = 13.294/18.956/29.810/6.447 ms
[email protected]:~$ ping -c 4 173.194.37.104
PING 173.194.37.104 (173.194.37.104) 56(84) bytes of data.
64 bytes from 173.194.37.104: icmp_seq=1 ttl=55 time=28.4 ms
64 bytes from 173.194.37.104: icmp_seq=2 ttl=54 time=16.9 ms
64 bytes from 173.194.37.104: icmp_seq=3 ttl=53 time=30.4 ms
64 bytes from 173.194.37.104: icmp_seq=4 ttl=55 time=22.6 ms

--- 173.194.37.104 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 16.937/24.640/30.469/5.293 ms



both work fine = no DNS problems.


Connection screenshots:

On booting the machine, the system looks for the wireless network, finds it, then connects, see:

http://webtechnologi...gnal_before.png

shortly after though, the signal bars turn to blue, and the connection fails, see:

http://webtechnologi.../img/signal.png


Finally:

[email protected]:~$ sudo /etc/init.d/networking restart
[sudo] password for andy: 
 * Reconfiguring network interfaces...                                          Ignoring unknown interface wlan0=wlan0.
Ignoring unknown interface eth0=eth0.
                                                                         [ OK ]
[email protected]:~$ 



and restarting the system still no wireless internet? help..:)

This post has been edited by 10101010101010: 18 November 2010 - 04:30 AM


Is This A Good Question/Topic? 0
  • +

Replies To: D-Link wireless router, Ubuntu 10.04 Lucid

#2 moopet   User is offline

  • binary decision maker
  • member icon

Reputation: 345
  • View blog
  • Posts: 1,190
  • Joined: 02-April 09

Re: D-Link wireless router, Ubuntu 10.04 Lucid

Posted 18 November 2010 - 06:49 AM

I don't understand. You can ping external sites while only connected by wireless.
This means your Internet connection, router and WiFi are all working.

Do you simply mean that your web browser doesn't work?

Try the following:
telnet google.com 80


Then type a few random characters and hit ENTER. You should see a Ibunch of HTML (the source for google's main page)
If it just says "Trying xxx.xxx.xx.xxx..." and times out then something is wrong with your network connection, probably some sort of firewall rule on your router (though I have no idea why it would be this way)
If it works and you see a page of code, then something is wrong with your browser setup. Either try a different browser or make sure you don't have a proxy (or the wrong proxy) set up in your browser of choice.
Was This Post Helpful? 0
  • +
  • -

#3 10101010101010   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 18-November 10

Re: D-Link wireless router, Ubuntu 10.04 Lucid

Posted 18 November 2010 - 07:34 AM

View Postmoopet, on 18 November 2010 - 05:49 AM, said:

I don't understand. You can ping external sites while only connected by wireless.


hi

No, i can ping external sites through my ethernet hard wired.

With no cables, i get:

[email protected]:~$ telnet google.com 80
telnet: could not resolve google.com/80: Name or service not known



Was This Post Helpful? 0
  • +
  • -

Page 1 of 1