No internet connection although wireless connection is well established

Asked by Yasser Ahmed Maamoun

I use ubunto 12.10
No internet connection although wireless connection is well established

Question information

Language:
English Edit question
Status:
Needs information
For:
Ubuntu gnome-nettool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

The OS is called Ubuntu, not Ubunto.

Can you ping 8.8.8.8 over the wireless?

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#2

thank for your corection about os name
i ping 8.8.8.8 through usb . it is ok

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

ok run:

echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolvconf.d/body
echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolvconf.d/tail
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf

Then try the web. Is it ok?

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#4

No
Name@Name-LIFEBOOK-AH530:~$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolvconf.d/body
[sudo] password for Name:
tee: /etc/resolvconf/resolvconf.d/body: No such file or directory
nameserver 8.8.8.8
Name@Name-LIFEBOOK-AH530:~$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolvconf.d/tail
tee: /etc/resolvconf/resolvconf.d/tail: No such file or directory
nameserver 8.8.8.8
Name@yasser-LIFEBOOK-AH530:~$ echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
nameserver 8.8.8.8
Name@Name-LIFEBOOK-AH530:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

Do you get web access after running the commands?

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#6

No

Revision history for this message
Warren Hill (warren-hill) said :
#7

Open a terminal (CTRL+ALT+T) enter the following commands then copy and paste output back here

lsb_release -a; uname -a; ping -c5 8.8.8.8; ifconfig

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#8

No LSB modules are available.
Distributor ID: Ubuntu
Description: vtx - A custom distribution made by vertex team
Release: 12.04
Codename: precise
Linux yasser-LIFEBOOK-AH530 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 i686 i686 GNU/Linux
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=47 time=135 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=47 time=123 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=47 time=122 ms
64 bytes from 8.8.8.8: icmp_req=4 ttl=47 time=161 ms
64 bytes from 8.8.8.8: icmp_req=5 ttl=47 time=140 ms

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 122.098/136.477/161.065/14.041 ms
eth0 Link encap:Ethernet HWaddr 8c:73:6e:a3:82:e9
          UP 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)

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:135 errors:0 dropped:0 overruns:0 frame:0
          TX packets:135 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:13266 (13.2 KB) TX bytes:13266 (13.2 KB)

ppp0 Link encap:Point-to-Point Protocol
          inet addr:10.98.214.34 P-t-P:10.64.64.64 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
          RX packets:28216 errors:0 dropped:0 overruns:0 frame:0
          TX packets:25667 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:29383450 (29.3 MB) TX bytes:4132695 (4.1 MB)

wlan0 Link encap:Ethernet HWaddr 4c:0f:6e:17:9c:b9
          inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::4e0f:6eff:fe17:9cb9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:1221 errors:0 dropped:0 overruns:0 frame:0
          TX packets:572 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:428407 (428.4 KB) TX bytes:60279 (60.2 KB)

Revision history for this message
samuel (samuel-h) said :
#9

just a quick thing but you could try
echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/body
echo "nameserver 8.8.8.8" | sudo tee /etc/resolvconf/resolv.conf.d/tail
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
on my system this is where the files are located, which could explain the no file or directory errors.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

The last command will work. DO you get web access after the commands are ran?

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#11

Nothing happend.The problem still exsit

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#12

yasser@yasser-LIFEBOOK-AH530:~$ lsb_release -a; uname -a; ping -c5 8.8.8.8; ifconfig
No LSB modules are available.
Distributor ID: Ubuntu
Description: vtx - A custom distribution made by vertex team
Release: 12.04
Codename: precise
Linux yasser-LIFEBOOK-AH530 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 i686 i686 GNU/Linux
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4031ms

eth0 Link encap:Ethernet HWaddr 8c:73:6e:a3:82:e9
          UP 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)

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:417 errors:0 dropped:0 overruns:0 frame:0
          TX packets:417 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:31544 (31.5 KB) TX bytes:31544 (31.5 KB)

wlan0 Link encap:Ethernet HWaddr 4c:0f:6e:17:9c:b9
          inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
          inet6 addr: fe80::4e0f:6eff:fe17:9cb9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:7085 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1036 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1385547 (1.3 MB) TX bytes:110893 (110.8 KB)

Revision history for this message
Warren Hill (warren-hill) said :
#13

The earlier results (post 8) suggested that the internet connection was fine but the last set can't find a connection

Open a terminal and enter
--------------------------------------------------
route -n
-------------------------------------------------

You should see something like

$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.0.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0

Now in firefox (or another browser) enter the gateway address into the address box In the case above this would be 192.168.1.1

Does this open a web page or ask for a password?

If it does then it looks like your network is OK and the problem is between your router and your ISP. The documentation that came with your router may help you solve this

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#14

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlan0
192.168.1.0 0.0.0.0 255.255.255.0 U 9 0 0 wlan0
the problem intiated while i'm using the internet suddenly no internet connection

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#15

Need help As I did this showed me firmwarebug as below
 sudo lshw -C network; lsb_release -a; uname -a; sudo rfkill list; dmesg | grep -i firm
[sudo] password for Name:
  *-network
       description: Wireless interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 01
       serial: 4c:0f:6e:17:9c:b9
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.5.0-19-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:f0900000-f090ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: 06
       serial: 8c:73:6e:a3:82:e9
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:42 ioport:6000(size=256) memory:f0604000-f0604fff memory:f0600000-f0603fff
No LSB modules are available.
Distributor ID: Ubuntu
Description: vtx - A custom distribution made by vertex team
Release: 12.04
Codename: precise
Linux Name-LIFEBOOK-AH530 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 i686 i686 GNU/Linux
0: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
[ 0.221924] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.339897] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 6.368041] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#16

heeeeeeeeeeeellllllllllllllllllllllp

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#17

Thanks actionparsnip, that solved my question.

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#18

sorry that did not solved my problem

Revision history for this message
Yasser Ahmed Maamoun (yasser-maamoun) said :
#19

Need help As I did this showed me firmwarebug as below
 sudo lshw -C network; lsb_release -a; uname -a; sudo rfkill list; dmesg | grep -i firm
[sudo] password for Name:
  *-network
       description: Wireless interface
       product: AR9285 Wireless Network Adapter (PCI-Express)
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: wlan0
       version: 01
       serial: 4c:0f:6e:17:9c:b9
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=3.5.0-19-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
       resources: irq:17 memory:f0900000-f090ffff
  *-network
       description: Ethernet interface
       product: RTL8111/8168B PCI Express Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:08:00.0
       logical name: eth0
       version: 06
       serial: 8c:73:6e:a3:82:e9
       size: 10Mbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl_nic/rtl8168e-2.fw latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:42 ioport:6000(size=256) memory:f0604000-f0604fff memory:f0600000-f0603fff
No LSB modules are available.
Distributor ID: Ubuntu
Description: vtx - A custom distribution made by vertex team
Release: 12.04
Codename: precise
Linux Name-LIFEBOOK-AH530 3.5.0-19-generic #30-Ubuntu SMP Tue Nov 13 17:49:53 UTC 2012 i686 i686 i686 GNU/Linux
0: hci0: Bluetooth
 Soft blocked: no
 Hard blocked: no
1: phy0: Wireless LAN
 Soft blocked: no
 Hard blocked: no
[ 0.221924] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[ 0.339897] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[ 6.368041] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness

Revision history for this message
Warren Hill (warren-hill) said :
#20

What is your router?

Most routers have a web page interface; assuming yours does what happens when you try to connect in a Web browser?

Enter

192.168.1.1

into the address bar

On my office router this opens a simple status page and there are other password protected pages from there to get details and change settings. The router I have at home asks for a password straight away. The password will be in the documentation that comes with your router.

If you can reliably get this web page (Entering password if required) then there are two possible problems either DNS isn't working correctly or the problem is between your router and the ISP. If not your IP configuration could be set-up incorrectly.

Try it and let us know what happens. Also let us know the make and model of your router

Can you help with this problem?

Provide an answer of your own, or ask Yasser Ahmed Maamoun for more information if necessary.

To post a message you must log in.