SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-09-14 16:59:19

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Connected wireless, but not connected wireless? (solved)

I just installed Crunchbang, and I can connect to the internet. But when I tried to use the start up script or tried to access anything that needed the internet, it wouldn't work. (It says I'm connected, but that's apparently not the case)

Output of

uname -rv
lspci -knn | grep -EiA2 net
dmesg|grep -Ei 'wlan|firmw|dhc'

is

crunchbang@crunchbang:~$ uname -rv
3.2.0-4-amd64 #1 SMP Debian 3.2.46-1+deb7u1
crunchbang@crunchbang:~$ lspci -knn | grep -EiA2 net
01:00.0 Network controller [0280]: Intel Corporation Centrino Wireless-N 1000 [Condor Peak] [8086:0084]
    Subsystem: Intel Corporation Centrino Wireless-N 1000 BGN [8086:1315]
    Kernel driver in use: iwlwifi
--
08:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v2.0 Gigabit Ethernet [1969:1083] (rev c0)
    Subsystem: Hewlett-Packard Company Device [103c:1650]
    Kernel driver in use: atl1c
crunchbang@crunchbang:~$ dmesg|grep -Ei 'wlan|firmw|dhc'
[    0.559411] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query ignored
[    4.249804] platform microcode: firmware: agent loaded intel-ucode/06-2a-07 into memory
[    4.252301] platform microcode: firmware: agent loaded intel-ucode/06-2a-07 into memory
[    4.254492] platform microcode: firmware: agent loaded intel-ucode/06-2a-07 into memory
[    4.256626] platform microcode: firmware: agent loaded intel-ucode/06-2a-07 into memory
[    8.320440] iwlwifi 0000:01:00.0: firmware: agent loaded iwlwifi-1000-5.ucode into memory
[    8.320454] iwlwifi 0000:01:00.0: loaded firmware version 39.31.5.1 build 35138
[   22.563462] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   24.282634] wlan0: authenticate with 00:1d:d3:be:b7:10 (try 1)
[   24.284698] wlan0: authenticated
[   24.289043] wlan0: associate with 00:1d:d3:be:b7:10 (try 1)
[   24.300379] wlan0: RX AssocResp from 00:1d:d3:be:b7:10 (capab=0xc11 status=0 aid=1)
[   24.300387] wlan0: associated
[   24.306340] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   36.062624] wlan0: no IPv6 routers present


and

crunchbang@crunchbang:~$ sudo rfkill list
[sudo] password for crunchbang:
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
1: hp-wifi: Wireless LAN
    Soft blocked: no
    Hard blocked: no
2: hp-bluetooth: Bluetooth
    Soft blocked: no
    Hard blocked: no
3: hp-wwan: Wireless WAN
    Soft blocked: no
    Hard blocked: no



Not sure if I need certain drivers or what. I have to be wired to access the internet.

Last edited by ElectricCharge (2013-09-15 16:29:32)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-09-14 17:21:26

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 839

Re: Connected wireless, but not connected wireless? (solved)

it look like you should be good to go...
what is the output these commands?

ping -c3 8.8.8.8
ping -c3 www.google.com

also, sometimes can be a problem with the router, have you tried to disconnect all your devices and restart it!?

lastly, check my signature... wink


#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#3 2013-09-14 17:26:35

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

Look at my body paragraph again, I just edited it. I accidentally posted the WIRED output instead of the wireless. NOW it's the wireless, lol. xD

Offline

#4 2013-09-14 17:36:14

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 839

Re: Connected wireless, but not connected wireless? (solved)

^ I am pretty sure that I have read wlan-related info also in your original post...anyway you have loaded the correct modules for your device and the output of dmesg looks OK...

please, post here the output of the commands from my previous reply (and maybe try to restart the router)...
if you use the [code  ] tags, the output is more readable, see the commands between the text editor box and the smileys...

Last edited by VDP76 (2013-09-14 17:38:33)


#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#5 2013-09-14 17:56:59

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

Commands before and after I reset the router:

crunchbang@crunchbang:~$ ping -c3 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.

--- 8.8.8.8 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 2016ms

crunchbang@crunchbang:~$ ping -c3 www.google.com
ping: unknown host www.google.com

Still doesn't work.

Offline

#6 2013-09-14 18:07:57

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

Everything works, like if I got onto Windows 7. It'd work fine, and it works fine with all other devices. Could it be a driver problem?

Offline

#7 2013-09-14 18:18:27

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 839

Re: Connected wireless, but not connected wireless? (solved)

you already have the correct driver for your device, try

sudo dhclient wlan0

#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#8 2013-09-14 20:10:16

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

crunchbang@crunchbang:~$ sudo dhclient wlan0
[sudo] password for crunchbang: 
RTNETLINK answers: File exists

That's what I got when I ran it.

Offline

#9 2013-09-14 20:25:01

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

bump

Offline

#10 2013-09-14 21:37:06

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 839

Re: Connected wireless, but not connected wireless? (solved)

ElectricCharge, as far as my experience in these forums tells me, bumping is OK but you should try to do it while you're adding more information in order to help people in helping you...also remember that the help you get is a result of people volunteering their time, 15 min might seem like a lot of time for you but it might not necessarily be for someone else...

anyway, let's see if this gets you online... wink

sudo ifdown wlan0 && sudo ifup wlan0

#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#11 2013-09-14 23:33:44

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

Sorry about that, I'll be sure to remember that next time smile

I ran

sudo ifdown wlan0 && sudo ifup wlan0

and got

crunchbang@crunchbang:~$ sudo ifdown wlan0 && sudo ifup wlan0
[sudo] password for crunchbang: 
ifdown: interface wlan0 not configured
Ignoring unknown interface wlan0=wlan0.

Offline

#12 2013-09-14 23:52:32

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 839

Re: Connected wireless, but not connected wireless? (solved)

ok, so check your /etc/network/interfaces file, it should contain something like

allow-hotplug wlan0
iface wlan0 inet dhcp

if not, add those lines and reboot...

you can post the content of the file here if you're not sure and/or you want a double check....


#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

#13 2013-09-15 00:15:47

ew
#! Die Hard
Registered: 2012-09-27
Posts: 1,975

Re: Connected wireless, but not connected wireless? (solved)

As you see, others are having this issue: http://crunchbang.org/forums/viewtopic.php?id=28884

I suspect that it could be a authentication issue. What kind of security do you use? WPA/WPA2, WEP?  Try turning off the security on your router for short time, then edit your connection to use "none" as wifi-security. If this works, then the issue is authentication, and you may have to change your wifi-security from wep to wpa/wpa2 or vice versa. If it doesn`t connect without security, then the issue is elsewhere, and my guess is wrong... But it`s worth a test...

Last edited by ew (2013-09-15 00:23:34)


- apt-mark hold account

Offline

#14 2013-09-15 00:20:21

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

VDP76 wrote:

ok, so check your /etc/network/interfaces file, it should contain something like

allow-hotplug wlan0
iface wlan0 inet dhcp

if not, add those lines and reboot...

you can post the content of the file here if you're not sure and/or you want a double check....

I now cannot not even connect to the router (Even if it doesn't work) it says "device not managed"

I think I may have put it in incorrectly. This is what the file says.

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback
allow-hotplug wlan0
iface wlan0 inet dhcp

Offline

#15 2013-09-15 00:22:26

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

ew wrote:

As you see, others are having this issue: http://crunchbang.org/forums/viewtopic.php?id=28884

Here`s my output and my wifi is working:

ew@CBsid:~$ dmesg|grep -Ei 'wlan|firmw|dhc'
[    0.119652] [Firmware Bug]: ACPI: BIOS _OSI(Linux) query honored via cmdline
[    5.066221] platform microcode: firmware: agent loaded intel-ucode/06-3a-09 into memory
[    5.066256] platform microcode: firmware: agent loaded intel-ucode/06-3a-09 into memory
[    5.066281] platform microcode: firmware: agent loaded intel-ucode/06-3a-09 into memory
[    5.066306] platform microcode: firmware: agent loaded intel-ucode/06-3a-09 into memory
[    6.109455] psmouse serio1: elantech: assuming hardware version 3 (with firmware version 0x450f02)
ew@CBsid:~$ 

I suspect that it could be a authentication issue. What kind of security do you use? WPA/WPA2, WEP?  Try turning off the security on your router for short time, then edit your connection to use "none" as wifi-security. If this works, then the issue is authentication, and you may have to change your wifi-security from wep to wpa/wpa2 or vice versa. If it doesn`t connect without security, then the issue is elsewhere, and my guess is wrong... But it`s worth a test...

I'll try this if the change of the /etc/network/interfaces doesn't work. (I would need to reset my router to factory defaults, since I change the wifi password to something else and forgot. Of course, I still know the security code to connect a device to it.)

Offline

#16 2013-09-15 05:31:55

ElectricCharge
Member
Registered: 2013-08-10
Posts: 11

Re: Connected wireless, but not connected wireless? (solved)

I reinstalled Crunchbang a few times, and it's now working. For some reason, Crunchbang thought it was WPA instead of WEP.

Offline

#17 2013-09-15 07:56:45

VDP76
#! Bean Roaster
Registered: 2012-04-12
Posts: 839

Re: Connected wireless, but not connected wireless? (solved)

It is good that you finally managed to get the connection working...

please, edit the title of your first post adding a heading [SOLVED]... wink


#!#!#! Forum etiquette #!#!#!
Are you a new member!? Have you introduced yourself?!
CLI basics | LVM | smxi | chrooting | multiarch

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo