LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2016, 04:05 AM   #1
pzychokuro
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Rep: Reputation: Disabled
Wifi Not Working


I have just installed Mint 17.3 onto a Compaq Presario Cq61-411WM. I have tried even Mint 18. I'v tried several forums in an attempt to get my Wifi card to work. I have had issues on Ubuntu 10.10 also. I am new to Linux and this is the main reason. I need to be on the move with my laptop but I am unable at this point. Any and all advice would be appreciated. Thank you.
 
Old 07-28-2016, 05:08 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Hi,

find out which wifi adapter you have:

Code:
$ lspci -vv | grep -A 10 -i ethernet
Look at the last line of the wireless adapter info and see if there is a module in use. If there is, try
Code:
$/sbin/ifconfig
Look if there are any wlanX network interfaces. You can look inside network-manager for a wireless connection. And try to enable it. Or, it might already be configured. If none of this works, or gets you closer to a solution, come back and write what happened.
 
Old 07-28-2016, 05:38 AM   #3
pzychokuro
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Upon posting $ lspci -vv | grep -A 10 -i ethernet with an ethernet plugged in i received the following.

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Device 363f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 26
Region 0: I/O ports at 2000 [size=256]
Region 2: Memory at f0010000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at f0000000 (64-bit, prefetchable) [size=64K]
Expansion ROM at f0500000 [disabled] [size=64K]
Capabilities: <access denied>


I then removed the ethernet in an attempt to see if it would register differently and got


03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)
Subsystem: Hewlett-Packard Company Device 363f
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 26
Region 0: I/O ports at 2000 [size=256]
Region 2: Memory at f0010000 (64-bit, prefetchable) [size=4K]
Region 4: Memory at f0000000 (64-bit, prefetchable) [size=64K]
Expansion ROM at f0500000 [disabled] [size=64K]
Capabilities: <access denied>

Since I am new i did not find anything specific to wireless adapter.
 
Old 07-28-2016, 06:08 AM   #4
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
pzychkuro,

Open a Terminal and post the results of these commands using code tags (highlight the output and then click on #, above the text box):


Code:
lsmod
Code:
sudo lshw -C network
Code:
rfkill list
 
Old 07-28-2016, 06:21 AM   #5
pzychokuro
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Module Size Used by
nls_iso8859_1 16384 1
hp_wmi 16384 0
sparse_keymap 16384 1 hp_wmi
snd_hda_codec_hdmi 53248 1
snd_hda_codec_idt 61440 1
snd_hda_codec_generic 69632 1 snd_hda_codec_idt
snd_hda_intel 36864 4 snd_hda_codec_hdmi
snd_hda_controller 32768 1 snd_hda_intel
snd_hda_codec 143360 5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep 20480 1 snd_hda_codec
snd_pcm 106496 4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_seq_midi 16384 0
snd_seq_midi_event 16384 1 snd_seq_midi
snd_rawmidi 32768 1 snd_seq_midi
arc4 16384 2
snd_seq 65536 2 snd_seq_midi_event,snd_seq_midi
kvm 479232 0
ath9k 147456 0
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer 32768 2 snd_pcm,snd_seq
ath9k_common 32768 1 ath9k
joydev 20480 0
serio_raw 16384 0
ath9k_hw 458752 2 ath9k_common,ath9k
ath 32768 3 ath9k_common,ath9k,ath9k_hw
dm_multipath 24576 0
scsi_dh 16384 1 dm_multipath
snd 86016 17 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_g eneric,snd_hda_codec,snd_hda_intel,snd_seq_device
mac80211 708608 1 ath9k
edac_core 53248 0
k10temp 16384 0
edac_mce_amd 24576 0
i2c_piix4 24576 0
soundcore 16384 2 snd,snd_hda_codec
rfcomm 69632 0
bnep 20480 2
cfg80211 524288 4 ath,ath9k_common,ath9k,mac80211
bluetooth 491520 10 bnep,rfcomm
binfmt_misc 20480 1
mac_hid 16384 0
shpchp 40960 0
parport_pc 32768 0
ppdev 20480 0
lp 20480 0
parport 45056 3 lp,ppdev,parport_pc
dm_mirror 24576 0
dm_region_hash 24576 1 dm_mirror
dm_log 20480 2 dm_region_hash,dm_mirror
hid_generic 16384 0
uas 24576 0
usbhid 53248 0
hid 110592 2 hid_generic,usbhid
usb_storage 69632 2 uas
amdkfd 81920 1
amd_iommu_v2 20480 1 amdkfd
radeon 1556480 3
i2c_algo_bit 16384 1 radeon
ttm 94208 1 radeon
psmouse 114688 0
drm_kms_helper 126976 1 radeon
r8169 81920 0
ahci 36864 2
libahci 32768 1 ahci
mii 16384 1 r8169
drm 344064 6 ttm,drm_kms_helper,radeon
wmi 20480 1 hp_wmi
video 20480 0
Quote:
*-network DISABLED
description: Wireless interface
product: AR9285 Wireless Network Adapter (PCI-Express)
vendor: Qualcomm Atheros
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: f0:7b:cb:1c:57:85
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath9k driverversion=3.19.0-32-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:f0100000-f010ffff




Quote:
0: phy0: Wireless LAN
Soft blocked: yes
Hard blocked: yes
1: hp-wifi: Wireless LAN
Soft blocked: yes
Hard blocked: yes
I hope to have not screwed that up but this is everything that came up
 
Old 07-28-2016, 06:37 AM   #6
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
pzychokuru,

I have to dash off to lunch now, but I can tell you that your wifi is hard blocked and soft blocked.

A hard block indicates that the wifi is NOT switched ON.

Please consult the laptop's manual (Google for online version) to locate the switch or function key combination.

Atheros AR9285 is your wifi card.

This regularly causes problems.

I would wait for somebody else to help whilst I am away, but in the meantime Google for AR9285 Ubuntu 14.04 and look at the results.

Good luck.

Last edited by beachboy2; 07-28-2016 at 06:54 AM.
 
Old 07-28-2016, 06:48 AM   #7
pzychokuro
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thank you and during the test I unplugged the ethernet cable i don't know if that would make the difference on either of those or not, but thank you i will do the best amount of research I can.
 
Old 07-28-2016, 06:55 AM   #8
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
You did the right thing with the cable unplugged.
 
Old 07-28-2016, 11:00 AM   #9
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
pzychokuro,

There is a wireless button marked as (3) in the illustration in section 2-3:
http://www.hp.com/ctg/Manual/c01740724.pdf

Make sure that the wifi light is ON before proceeding further.

Then in Terminal, do these commands using copy and paste for accuracy, unless your typing is 100%.

Press the Enter key after each command.


Code:
echo "options ath9k nohwcrypt=1" | sudo tee -a /etc/modprobe.d/ath9k.conf

sudo modprobe -rfv ath9k

sudo modprobe -v ath9k
Reboot the laptop.

Then click on the wifi icon (between Updates and Sound on the right in the bottom toolbar).

This should bring up the SSID/Name of your WLAN.

Select it, type in the wifi key and click on Connect.

You may need to select WPA2 Personal/PSK prior to this.

Good luck.

Last edited by beachboy2; 07-29-2016 at 03:13 PM.
 
1 members found this post helpful.
Old 07-28-2016, 08:55 PM   #10
pzychokuro
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Still no luck. The code worked as far as I can tell. I rebooted the laptop. The light is always on. its never blue like when it was with windows 7. I try to turn the wifi setting on and upon clicking it moves to turn on then returns to the off position before and after everything we have done so far.

I have just run rfkill list noticing that Soft blocked has turned to no. I then proceeded to Press the Wifi button 2 times and then the Wifi turned on.

Thank you Beachboy2, I wouldn't have gotten this far without so much of your help. Thank you.

Last edited by pzychokuro; 07-28-2016 at 09:09 PM.
 
Old 07-29-2016, 01:52 AM   #11
beachboy2
Senior Member
 
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 21 MATE, EndeavourOS, antiX, MX Linux
Posts: 3,953
Blog Entries: 32

Rep: Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463Reputation: 1463
pzychokuro,

I am glad that you got your wifi working.

There is a huge amount of excellent information about Linux on LQ Forums.

Use the Search facility on here, plus Google or DuckDuckGo to help you find further information and learn more about using Linux.
 
Old 07-29-2016, 03:08 AM   #12
pzychokuro
LQ Newbie
 
Registered: Jul 2016
Posts: 6

Original Poster
Rep: Reputation: Disabled
Beachboy2,

Thank you again. I will continue learning and researching. I have a book on linux on my desk now so i will be reading and researching alot. Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Static WiFi problem in Dual Booted System. Dynamic WiFi working Shahbaz E Linux - Newbie 3 01-22-2016 09:21 PM
[SOLVED] Wifi not working in Eee PPC 1000HE (Debian Squeeze), but ethernet is working someshpr Linux - Laptop and Netbook 8 10-10-2011 03:59 PM
Wifi not working ankiiit Linux - Wireless Networking 24 08-21-2011 04:54 AM
Canīt Get My Wifi Working... PETROSHP Linux - Newbie 4 02-20-2007 12:06 PM
wifi not working drsketch SUSE / openSUSE 11 11-02-2005 11:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration