You are not logged in.
Today I changed out our old modem and linksys wireless router (unprotected) with a new router. Before I would have no problem getting either a wired connection or a wireless connection to connect. Now this new router has WPA2 encryption and for some reason I can't connect either way.
I'm running KDE with the KDE network manager applet, I have the iwl3945 drivers installed, I put in the network password and I can't connect. Not sure what to do. Tried searching for an answer, tried messing around with some things but nothing.
Any help would be much appreciated.
Last edited by herrvideman (2010-05-14 12:31:49)
Offline
Hmmm. I no longer use NM but I believe NetworkManager puts it's logs in /var/log/daemon.log. Check it for clues as to what is going on as it can be many things. If you are still stumped post the relevant portions of the log deleting anything which contains sensitive data.
Offline
That's just it, it seems like everything should be working. It says it's connected, but no internet.
Formatting might be a little off, I had to copy all this over to another computer and reformat it so I could post it here (daemon.log):
May 13 20:29:50 ArchBox NetworkManager: <info> (wlan0): device state change: 3 -> 4 (reason 0)
May 13 20:29:50 ArchBox NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
May 13 20:29:50 ArchBox NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
May 13 20:29:50 ArchBox NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
May 13 20:29:50 ArchBox NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
May 13 20:29:50 ArchBox NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
May 13 20:29:50 ArchBox NetworkManager: <info> (wlan0): device state change: 4 -> 5 (reason 0)
May 13 20:29:50 ArchBox NetworkManager: <info> Activation (wlan0/wireless): access point '*******' has security, but secrets are requi$
May 13 20:29:50 ArchBox NetworkManager: <info> (wlan0): device state change: 5 -> 6 (reason 0)
May 13 20:29:50 ArchBox NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
May 13 20:29:50 ArchBox polkitd[2057]: started daemon version 0.96 using authority implementation `local' version `0.96'
May 13 20:29:51 ArchBox NetworkManager: <WARN> secrets_update_setting(): Failed to update connection secrets: 1 802-1x
May 13 20:29:51 ArchBox NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) scheduled...
May 13 20:29:51 ArchBox NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) started...
May 13 20:29:51 ArchBox NetworkManager: <info> (wlan0): device state change: 6 -> 4 (reason 0)
May 13 20:29:51 ArchBox NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) scheduled...
May 13 20:29:51 ArchBox NetworkManager: <info> Activation (wlan0) Stage 1 of 5 (Device Prepare) complete.
May 13 20:29:51 ArchBox NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) starting...
May 13 20:29:51 ArchBox NetworkManager: <info> (wlan0): device state change: 4 -> 5 (reason 0)
May 13 20:29:51 ArchBox NetworkManager: <info> Activation (wlan0/wireless): connection '*******' has security, and secrets exist. No $
May 13 20:29:51 ArchBox NetworkManager: <info> Config: added 'ssid' value '*******'
May 13 20:29:51 ArchBox NetworkManager: <info> Config: added 'scan_ssid' value '1'
May 13 20:29:51 ArchBox NetworkManager: <info> Config: added 'key_mgmt' value 'WPA-PSK'
May 13 20:29:51 ArchBox NetworkManager: <info> Config: added 'psk' value '<omitted>'
May 13 20:29:51 ArchBox NetworkManager: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete.
May 13 20:29:51 ArchBox NetworkManager: <info> Config: set interface ap_scan to 1
May 13 20:29:51 ArchBox NetworkManager: <info> (wlan0): supplicant connection state: inactive -> scanning
May 13 20:29:53 ArchBox NetworkManager: <info> (wlan0): supplicant connection state: scanning -> associating
May 13 20:29:53 ArchBox NetworkManager: <info> (wlan0): supplicant connection state: associating -> associated
May 13 20:29:53 ArchBox NetworkManager: <info> (wlan0): supplicant connection state: associated -> 4-way handshake
May 13 20:29:53 ArchBox NetworkManager: <info> (wlan0): supplicant connection state: 4-way handshake -> group handshake
May 13 20:29:53 ArchBox NetworkManager: <info> (wlan0): supplicant connection state: group handshake -> completed
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wirel$
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled.
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started...
May 13 20:29:53 ArchBox NetworkManager: <info> (wlan0): device state change: 5 -> 7 (reason 0)
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0) Beginning DHCP transaction (timeout in 45 seconds)
May 13 20:29:53 ArchBox NetworkManager: <info> dhcpcd started with pid 2079
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Get) scheduled...
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete.
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Get) started...
May 13 20:29:53 ArchBox NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP6 Configure Get) complete.
May 13 20:29:53 ArchBox dhcpcd: version 5.2.2 starting
May 13 20:29:53 ArchBox dhcpcd: wlan0: rebinding lease of 192.168.1.2
May 13 20:29:53 ArchBox NetworkManager: <info> DHCP: device wlan0 state changed (null) -> preinit
May 13 20:29:53 ArchBox dhcpcd: wlan0: acknowledged 192.168.1.2 from 192.168.1.254
May 13 20:29:53 ArchBox dhcpcd: wlan0: checking for 192.168.1.2
May 13 20:29:59 ArchBox dhcpcd: wlan0: leased 192.168.1.2 for 3600 seconds
May 13 20:29:59 ArchBox NetworkManager: <info> DHCP: device wlan0 state changed preinit -> bound
May 13 20:29:59 ArchBox NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Get) scheduled...
May 13 20:29:59 ArchBox NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Get) started...
May 13 20:29:59 ArchBox NetworkManager: <info> address 192.168.1.2
May 13 20:29:59 ArchBox NetworkManager: <info> prefix 24 (255.255.255.0)
May 13 20:29:59 ArchBox NetworkManager: <info> gateway 192.168.1.254
May 13 20:29:59 ArchBox NetworkManager: <info> nameserver '192.168.1.254'
May 13 20:29:59 ArchBox NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) scheduled...
May 13 20:29:59 ArchBox NetworkManager: <info> Activation (wlan0) Stage 4 of 5 (IP4 Configure Get) complete.
May 13 20:29:59 ArchBox NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) started...
May 13 20:30:00 ArchBox NetworkManager: <info> (wlan0): device state change: 7 -> 8 (reason 0)
May 13 20:30:00 ArchBox NetworkManager: <info> Policy set '*******' (wlan0) as default for routing and DNS.
May 13 20:30:00 ArchBox NetworkManager: <info> Activation (wlan0) successful, device activated.
May 13 20:30:00 ArchBox NetworkManager: <info> Activation (wlan0) Stage 5 of 5 (IP Configure Commit) complete.
And:
[me@ArchBox ~]$ ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:1B:77:34:DE:9B
inet addr:192.168.1.2 Bcast:255.255.255.255 Mask:255.255.255.0
inet6 addr: fe80::21b:77ff:fe34:de9b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6590 errors:0 dropped:0 overruns:0 frame:0
TX packets:5856 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1650023 (1.5 Mb) TX bytes:530893 (518.4 Kb)
Offline
Well that looks perfectly fine to me, what exactly doesn't work? Can you ping 192.168.1.254/enter the router's web config?
It says it's connected, but no internet.
It is connected to your router... is the router connected to the internet?
Last edited by hokasch (2010-05-14 01:09:47)
Offline
I know the router is connected to the internet because other computers (including the one I'm using to write this) are connected to it and I can surf the web from them.
From my computer that won't connect I can ping my router AND access it's config, I can also ping www.google.com as well. However what specifically will not work is if I use my browser to try to travel to any website. Or if I try to use pacman to update my comp. So it's not just the browser either.
I really don't get it.
Offline
Weird. It sounds strange enough to be some sort of odd ipv6 problem related to the new router. If you don't need it you might try disabling it to test:
http://wiki.archlinux.org/index.php/IPv … the_Module (hopefully this is up to date)
There's also a way to disable ipv6 within firefox as well using about:config and then search for ipv6.
You might also give us /etc/resolv.conf
output of 'route'
both before and after attempting to connect.
Last edited by davidm (2010-05-14 02:23:39)
Offline
That did the trick. Would have never guessed anything like that. I am eternally indebted. Thanks alot!
Offline
Actually, browser works but pacman -Syu won't work still. How can one connect while the other can't?
Anyway here's what you asked for:
[me@ArchBox ~]$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 2 0 0 wlan0
default 192.168.1.254 0.0.0.0 UG 0 0 0 wlan0
default 192.168.1.254 0.0.0.0 UG 303 0 0 wlan0
/etc/resolv.conf:
# Generated by NetworkManager
nameserver 192.168.1.254
Last edited by herrvideman (2010-05-14 02:45:24)
Offline
Actually, browser works but pacman -Syu won't work still. How can one connect while the other can't?
Hmm. Did you just disable ipv6 in firefox? If so that would have fixed that but left the problem on much of the rest of the system. Try disabling it globally.
Offline
I only have Chromium installed atm and I couldn't figure out how to disable IPv6 in that so I did it globally as
http://wiki.archlinux.org/index.php/IPv … the_Module
described.
Offline
I only have Chromium installed atm and I couldn't figure out how to disable IPv6 in that so I did it globally as
http://wiki.archlinux.org/index.php/IPv … the_Module
described.
From reading that should prevent it from autoloading at startup but I guess it doesn't necessarily prevent something else from trying to load it (make sure you rebooted as well).
'lsmod | grep ipv6' should show whether it is being loaded by anything.
If everything else is working right it might possibly be a separate issue for why pacman isn't working. Try out some other network programs and see what happens. Perhaps post what pacman is giving you as an error when you try to update.
Offline
'lsmod | grep ipv6' returns nothing.
I can connect to a server in Konversation (IRC), that's working fine.
As for the pacman output:
[me@ArchBox ~]$ sudo pacman -Syyu
Password:
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from mirror.rit.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from distro.ibiblio.org : No address record
core 36.0K 98.4K/s 00:00:00 [#################################################################################] 100%
error: failed retrieving file 'extra.db.tar.gz' from mirror.rit.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from distro.ibiblio.org : No address record
extra 453.0K 380.0K/s 00:00:01 [#################################################################################] 100%
error: failed retrieving file 'community.db.tar.gz' from mirror.rit.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from distro.ibiblio.org : No address record
community 365.8K 357.2K/s 00:00:01 [#################################################################################] 100%
:: Starting full system upgrade...
warning: libdvdread: local (4.1.3-2) is newer than extra (4.1.3-1)
warning: popt: local (1.16-2) is newer than core (1.15-1)
warning: vlc: local (1.0.6-3) is newer than extra (1.0.6-2)
local database is up to date
I've also rebooted after every change I've made lol
Last edited by herrvideman (2010-05-14 03:10:07)
Offline
Well that's interesting. If I try to go to one of the addresses in my mirrorlist with a browser it won't work as well. One of the ones I tried:
http://lug.mtu.edu/archlinux/ftpfull/$repo/os/i686
And I've tried several.
Last edited by herrvideman (2010-05-14 03:53:46)
Offline
I fixed it. I manually put my DNS servers into the network manager. No idea why this would work but it does for me.
Also thanks davidm for all your help.
Offline