You are not logged in.

#1 2011-12-27 14:40:43

3ph3m3ra
Member
Registered: 2011-12-26
Posts: 10

[solved] networkmanager wireless issue, cannot connect to the internet

Network manager starts up and connects to the network fine, but I can't connect to the internet. Pinging another computer on the network by IP address is fine, but pinging google results in this:

[sky@loki ~]$ ping google.com
ping: unknown host google.com

Pinging another computer on the network by hostname results in the same error.

the DNS server is set to 8.8.8.8 in resolv.conf:

# Generated by NetworkManager
nameserver 8.8.8.8

other possibly helpful bits of info:

[sky@loki ~]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:1e:33:99:ff:20 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::21e:33ff:fe99:ff20/64 scope link 
       valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
    link/ether 00:22:fa:35:bc:da brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.61/24 brd 192.168.1.255 scope global wlan0
    inet6 fe80::222:faff:fe35:bcda/64 scope link 
[sky@loki ~]$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11abgn  ESSID:"printer4"  
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:24:B2:51:AB:D0   
          Bit Rate=65 Mb/s   Tx-Power=15 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=68/70  Signal level=-42 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:10   Missed beacon:0
[sky@loki ~]$ nmcli nm
RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN      
running         connected       enabled         enabled    enabled         disabled  

Wired connections to the same network function as expected, and my wireless card is an Intel WiFi Link 5100.

Any help would be much appreciated c:

Last edited by 3ph3m3ra (2011-12-29 02:02:40)

Offline

#2 2011-12-27 15:54:06

b4data
Member
Registered: 2010-12-14
Posts: 141

Re: [solved] networkmanager wireless issue, cannot connect to the internet

Can you ping 8.8.8.8? Could you try a different nameserver?

Offline

#3 2011-12-27 16:11:17

3ph3m3ra
Member
Registered: 2011-12-26
Posts: 10

Re: [solved] networkmanager wireless issue, cannot connect to the internet

No packets are returned when I ping 8.8.8.8. The same problem happens with other nameservers; I've tried using the ones assigned by the router and 4.2.2.2.

Offline

#4 2011-12-27 16:44:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [solved] networkmanager wireless issue, cannot connect to the internet

Could you post the output of ip route  ??
Also, can you ping 192.168.1.61  ??
If so, can you ping 192.168.1.1 ?

Lastly

wlan0     IEEE 802.11abgn  ESSID:"printer4"

Seems like an odd ESSID.  It could be perfectly valid, but-- is it possible that AP is actually a print server?  In other words, are you hitting the correct AP?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2011-12-27 17:00:38

3ph3m3ra
Member
Registered: 2011-12-26
Posts: 10

Re: [solved] networkmanager wireless issue, cannot connect to the internet

[sky@loki ~]$ ip route
default via 192.168.1.1 dev wlan0  proto static 
192.168.1.0/24 dev wlan0  proto kernel  scope link  src 192.168.1.61  metric 2 

Pinging 192.168.1.61 works, as does 192.168.1.1. printer4 is definitely the ESSID; I've connected to it wirelessly before without issues, but not with any form of linux.

Offline

#6 2011-12-27 17:21:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [solved] networkmanager wireless issue, cannot connect to the internet

Okay, I went back a read your first post and picked up something I had missed.

You can ping other computers on 192.168.1.* by IP address
You cannot ping other computers on your subnet by hostname.  Understood, we can come back to this later.
Is it your router? Does it have a web interface?  If so, can you browse to 192.168.1.1, log in, and check the router logs ?
How are you obtaining an IP address?  (Static, dhcpcd, dhclient?)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#7 2011-12-27 18:01:58

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: [solved] networkmanager wireless issue, cannot connect to the internet

If your wired network is fine, it may also be that your card has a problem with the latest kernel and downgrading to 3.1.4-1 solves that for the time being. One example:
https://bbs.archlinux.org/viewtopic.php?id=132350

edit: typo in kernel

Last edited by Strike0 (2011-12-27 18:06:35)


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#8 2011-12-27 18:12:46

3ph3m3ra
Member
Registered: 2011-12-26
Posts: 10

Re: [solved] networkmanager wireless issue, cannot connect to the internet

I'm pretty sure that it isn't the router, because it works fine on other computers.
I'm using dhcpcd to get the IP.

newbie question: what's the best way to go about downgrading the kernel?

Offline

#9 2011-12-27 18:21:28

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: [solved] networkmanager wireless issue, cannot connect to the internet

Have a look at this wiki for downgrading: https://wiki.archlinux.org/index.php/Downgrade
If you have recently installed Arch, you won't have the older kernel in your pacman cache, but you can get it from the ARM (also described there).
If you reboot with the new (i.e. old;) kernel and it works, you can then set a blacklist for kernel updates (also described there, a bit further down). That way you can keep updating the rest of the system without the wifi-working kernel being overwritten.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#10 2011-12-27 18:43:40

3ph3m3ra
Member
Registered: 2011-12-26
Posts: 10

Re: [solved] networkmanager wireless issue, cannot connect to the internet

Downgrading the kernel didn't fix it, unfortunately :c

Offline

#11 2011-12-27 19:22:34

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: [solved] networkmanager wireless issue, cannot connect to the internet

Ok, or not ok. Please make sure you have upgrated the kernel again then via pacman -Syu to avoid confusion.
Stop dhcpcd

rc.d stop dhcpcd 

and try dhclient to get the IP, does that change anything?
What do you have in your  daemon array in rc.conf please? network, dhcpcd, netfs?

edit: Re-read that you use networkmanager, so I would suppose that is in the array. Please clarify still.

Last edited by Strike0 (2011-12-27 19:26:02)


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#12 2011-12-27 22:34:41

tobsen
Member
Registered: 2011-10-13
Posts: 37

Re: [solved] networkmanager wireless issue, cannot connect to the internet

I observed similar symptoms with my Intel Ultimate-N 6300. Your problem may be related to buggy 11n mode in the iwlagn driver.
Try disabling 11n via /etc/modprobe.d/modprobe.conf:

options iwlagn 11n_disable=1

Offline

#13 2011-12-28 03:11:56

3ph3m3ra
Member
Registered: 2011-12-26
Posts: 10

Re: [solved] networkmanager wireless issue, cannot connect to the internet

relevant portions of rc.conf:

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------

HOSTNAME="loki"

interface=wlan0
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------

DAEMONS=(syslog-ng !network crond dbus networkmanager)

after adding

options iwlagn 11n_disable=1

to /etc/modprobe.d/modprobe.conf, I can now attempt to ping google.com, but I still do not receive packets:

[sky@loki ~]$ ping google.com
PING google.com (74.125.225.82) 56(84) bytes of data.
^C
--- google.com ping statistics ---
45 packets transmitted, 0 received, 100% packet loss, time 44010ms

Offline

#14 2011-12-28 07:04:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,742

Re: [solved] networkmanager wireless issue, cannot connect to the internet

3ph3m3ra wrote:

I'm pretty sure that it isn't the router, because it works fine on other computers.

I'm skeptical. 

You can see other computers on your subnet. 
You can see your router
You seem to be able to resolve a Goggle address through a DNS somewhere.

It might be that low level stuff like ARP are working, but the TCP and UDP layers are getting hosed.  That is part of the reason I had suggested you try to connect to the router's web page.  The secondary reason is to look at the router logs in case it is a routing issue.  I asked about the how you obtained an IP because some routers will not perform NAT for computers that pop up on the network without having explicitly assigned an IP by the router. 

Here is a thought -- any chance there are multiple DHCP servers on the subnet?  You could check your system log to ensure that the offer came from 192.168.1.1.

You might also install extra/mtr and then see what the route from your system to an Arch Linux server looks like:

mtr 66.211.214.131

See how many hops it takes to get there -- or see where the request goes to die.  On my system:

                                                                               My traceroute  [v0.82]
odin (0.0.0.0)                                                                                                                                             Tue Dec 27 23:03:28 2011
Keys:  Help   Display mode   Restart statistics   Order of fields   quit
                                                                                                                                           Packets               Pings
 Host                                                                                                                                    Loss%   Snt   Last   Avg  Best  Wrst StDev
 1. 192.168.1.1                                                                                                                           0.0%     4    0.9   0.9   0.9   0.9   0.0
 2. netblock-68-183-241-1.dslextreme.com                                                                                                  0.0%     4    9.4   9.4   9.0   9.8   0.3
 3. lax1_cr1_3_0_306.dslextreme.com                                                                                                       0.0%     4    9.5  10.0   9.5  11.4   0.9
 4. ge-6-22.car4.LosAngeles1.Level3.net                                                                                                   0.0%     4   10.2   9.9   9.5  10.2   0.3
 5. vlan80.csw3.LosAngeles1.Level3.net                                                                                                    0.0%     4    9.6  10.6   9.5  12.0   1.3
 6. ae-82-82.ebr2.LosAngeles1.Level3.net                                                                                                  0.0%     3   11.4  10.6  10.2  11.4   0.6
 7. ae-3-3.ebr3.Dallas1.Level3.net                                                                                                        0.0%     3   41.0  84.3  41.0 170.8  74.9
 8. ae-73-73.csw2.Dallas1.Level3.net                                                                                                      0.0%     3   41.2  61.8  41.2 102.4  35.2
 9. ae-71-71.ebr1.Dallas1.Level3.net                                                                                                      0.0%     3   41.9  42.8  41.9  43.7   0.9
10. ae-14-14.ebr2.Chicago2.Level3.net                                                                                                     0.0%     3   67.4  62.6  60.0  67.4   4.1
11. ae-5-5.ebr2.Chicago1.Level3.net                                                                                                       0.0%     3   60.5  60.8  60.3  61.5   0.7
12. ae-1-100.ebr1.Chicago1.Level3.net                                                                                                     0.0%     3   68.6  65.6  60.5  68.6   4.4
13. ae-3-3.car2.Pittsburgh3.Level3.net                                                                                                    0.0%     3   75.1  73.8  72.9  75.1   1.2
14. VELOCITYNET.car2.Pittsburgh3.Level3.net                                                                                               0.0%     3   76.5  77.3  76.5  78.6   1.1
15. cust02-ge-0-0.eri.velocity.net                                                                                                        0.0%     3   79.3  78.2  77.3  79.3   1.0
16. gudrun.archlinux.org                                                                                                                  0.0%     3   76.7  76.7  76.5  77.0   0.3

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#15 2011-12-28 13:44:36

Strike0
Member
From: Germany
Registered: 2011-09-05
Posts: 1,496

Re: [solved] networkmanager wireless issue, cannot connect to the internet

3ph3m3ra wrote:

relevant portions of rc.conf:

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
interface=wlan0

Please put "eth0" there. Networkmanager takes care of wlan0.
Reboot and then on top of ewaller's questions, something else you can do is check networkmanager logs. For that, stop it

sudo rc.d stop networkmanager

start it again, wait until your wifi connection shows up and then maybe the output of

sudo less /var/log/everything.log |grep -m 20  NetworkManager 

helps to see if something unusual is in there. Post the lines here , if unsure.


The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.

Offline

#16 2011-12-28 19:17:57

mad2
Member
Registered: 2011-12-25
Posts: 10

Re: [solved] networkmanager wireless issue, cannot connect to the internet

Are you using any gui network manager such as wicd? and is the network secured via wpa?


IBM T60+ARCH=Amazing

Offline

#17 2011-12-29 02:02:14

3ph3m3ra
Member
Registered: 2011-12-26
Posts: 10

Re: [solved] networkmanager wireless issue, cannot connect to the internet

I set up a different router and wireless works when I connect to it. Strange, but problem solved.
Thanks to all of you for your help!!

Offline

Board footer

Powered by FluxBB