Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ipw3945
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Fri Feb 26, 2016 3:19 am    Post subject: ipw3945 Reply with quote

I am having all kinds of trouble getting wireless to work.
I have a 8 0r 9 year old Dell Latitude D830 and I am running the Exgent 64-bit.
I posted this problem on Linuxforums but no joy.
From the wireless internet forum on Linuxforums.org I went through the tutorial and was entering the commands.
I found the driver is in the kernel but will not load.
And if i click on the Network icon it says that it is missing the firmware for my wireless. I found an old thread here that said where to get it from, but the links to bughost.org didn't work.
This is the relevant output from dmesg.


[ 32.123730] iwl3945 0000:0c:00.0: Direct firmware load for iwlwifi-3945-2.ucode failed with error -2
[ 32.123738] iwl3945 0000:0c:00.0: iwlwifi-3945-2.ucode firmware file req failed: -2
[ 32.123759] iwl3945 0000:0c:00.0: Direct firmware load for iwlwifi-3945-1.ucode failed with error -2
[ 32.123764] iwl3945 0000:0c:00.0: iwlwifi-3945-1.ucode firmware file req failed: -2
[ 32.123768] iwl3945 0000:0c:00.0: Could not read microcode: -2
[ 32.964377] IPv6: ADDRCONF(NETDEV_UP): enp9s0: link is not ready
[ 32.975090] IPv6: ADDRCONF(NETDEV_UP): wlp12s0: link is not ready
[ 32.975164] iwl3945 0000:0c:00.0: Direct firmware load for iwlwifi-3945-2.ucode failed with error -2
[ 32.975168] iwl3945 0000:0c:00.0: iwlwifi-3945-2.ucode firmware file req failed: -2
[ 32.975178] iwl3945 0000:0c:00.0: Direct firmware load for iwlwifi-3945-1.uco

Thanks for any help.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Fri Feb 26, 2016 3:30 am    Post subject: Reply with quote

First you need to build the driver as module, if you build it in then you have to build in the firmware, too.
Second, make sure correct firmware is in /lib/firmware.
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Fri Feb 26, 2016 3:42 am    Post subject: Reply with quote

I am not sure, but I believe this is what has to be in there.
iwlwifi-3945-2.ucode
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Fri Feb 26, 2016 3:47 am    Post subject: Reply with quote

You realize root partition is not mounted yet when kernel loads, so firmware cannot be loaded if driver requesting it is built into kernel?
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Fri Feb 26, 2016 4:08 am    Post subject: Reply with quote

So, how can I fix it so the driver isn't requesting the firmware until root is loaded?
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Fri Feb 26, 2016 7:01 am    Post subject: Re: ipw3945 Reply with quote

budman7 wrote:
I am having all kinds of trouble getting wireless to work.
I have a 8 0r 9 year old Dell Latitude D830 and I am running the Exgent 64-bit.
I posted this problem on Linuxforums but no joy.
From the wireless internet forum on Linuxforums.org I went through the tutorial ...

Did you also go though https://wiki.gentoo.org/wiki/Intel_Corporation_PRO/Wireless_3945ABG?
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Fri Feb 26, 2016 5:50 pm    Post subject: Reply with quote

I tried before but couldn't get that straight up line in the command with my keyboard and the terminal I was using at the time wouldn't accept pasting.
I changed terminals so I could c&p.
Now I do the first 2 commands and then I get to "make menuconfig" and it tells me there is no rule to make menuconfig stop.
So I can't edit the kernel.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1369
Location: EU or US

PostPosted: Fri Feb 26, 2016 6:32 pm    Post subject: Reply with quote

budman7 wrote:
I tried before but couldn't get that straight up line in the command with my keyboard and the terminal I was using at the time wouldn't accept pasting.
I changed terminals so I could c&p.
Now I do the first 2 commands and then I get to "make menuconfig" and it tells me there is no rule to make menuconfig stop.
So I can't edit the kernel.


What are you trying to do? Do first and think later? I'm a big fan of think first and do later sequence.

The firmware fails to load. This is all we know, you keep most of information in secret.

Did you do lspci -k, do you see iwl3945 loaded? Did you do lsmod, is it loaded as a module? Is there or is there not iwlwifi-3945-1.ucode or iwlwifi-3945-2.ucode present in /lib/firmware/ ?
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Fri Feb 26, 2016 7:44 pm    Post subject: Reply with quote

At first I was trying to do this all on my own, searching forums(not really knowing what I was doing).
Here is the out put of lspci -k

[Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Subsystem: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection
Kernel driver in use: iwl3945
Kernel modules: iwl3945

Output of lsmod
iwl3945 61440 0

Contents of /lib/firmware

iwlwifi-3945-ucode-15.32.2.9 iwlwifi-3945-ucode-15.32.2.9.tgz
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Sat Feb 27, 2016 5:10 am    Post subject: Reply with quote

Almost there, with help from Gruven at Linuxforums.
He told me to

emerge -av linux-firmware

And that would pull the firmware in, which it did.
Now I can see the networks, but I get

Failed to add/activate connection
(32) No session found for uid 1001 (unknown)

when I try to connect to my network.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Sat Feb 27, 2016 10:31 am    Post subject: Reply with quote

budman7 wrote:
Now I can see the networks, but I get

Failed to add/activate connection
(32) No session found for uid 1001 (unknown)

You don't submit any information about what you are doing and which command you tried to connect to your network. So try again starting from https://wiki.gentoo.org/wiki/Wpa_supplicant#Configuration.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Sat Feb 27, 2016 11:06 am    Post subject: Reply with quote

budman7,

Your dmesg output will show lots of useful information.
Please post it to a pastebin site.

If you want to look for yourself, things to look for include,
firmware loading and perhaps failing. The message will tell the file names you need.

The wifi should associate and authenticate with your access point.
Its not unknown for it to connect to someone elses access point. This is a bad thing, unless you intended that.
Do check that its your AP.

When you get here, the normal wired tools like dhcpcd wark to configure the interface.
If you see disconnected by user request, reason 3 you are probably running several WiFi managers and they are fighting over your interface.
You must use at most, one WiFi manager. For checking things out none are required as you can bring up the interface by hand.

We need some information to work with.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Sat Feb 27, 2016 5:01 pm    Post subject: Reply with quote

Moved from Networking & Security to Unsupported Software.

The OP is not using Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Sat Feb 27, 2016 8:34 pm    Post subject: Reply with quote

This is the full output of dmesg. http://pastebin.com/vzwXY6ec

Not sure if it did anything, but recently I made it so I could shutdown -r as a regular user.
And I see in /etc/group that there is another doug,(that's my regular user) with a uid of 1002
and a doug with uid 1001.

I used these commands

usermod -a -G shutdown /bin/bash doug

gpasswd -a doug shutdown

Please let me know if I am not including something you need to help me.
Thanks for all your help.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Sat Feb 27, 2016 10:32 pm    Post subject: Reply with quote

budman7,

There is noting there related to wifi at all. That suggests that the module did not load.
What does
Code:
modprobe iwlwifi
show?

What does it leave at the end of dmesg?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Sun Feb 28, 2016 1:01 am    Post subject: Reply with quote

Here is

exgent doug # modprobe wifi
modprobe: FATAL: Module wifi not found in directory /lib/modules/4.4.0-gentoo-exgent



End of dmesg

24.061412] warning: process `hwsetup' used the deprecated sysctl system call with 1.23.
[ 33.494307] mtrr: base(0xf3000000) is not aligned on a size(0xe00000) boundary
[ 34.536658] IPv6: ADDRCONF(NETDEV_UP): enp9s0: link is not ready
[ 34.567114] iwl3945 0000:0c:00.0: loaded firmware version 15.32.2.9
[ 34.646380] IPv6: ADDRCONF(NETDEV_UP): wlp12s0: link is not ready
[ 35.813155] IPv6: ADDRCONF(NETDEV_UP): enp9s0: link is not ready
[ 35.827477] IPv6: ADDRCONF(NETDEV_UP): wlp12s0: link is not ready
[ 35.944792] IPv6: ADDRCONF(NETDEV_UP): wlp12s0: link is not ready
[ 38.133166] tg3 0000:09:00.0 enp9s0: Link is up at 1000 Mbps, full duplex
[ 38.133171] tg3 0000:09:00.0 enp9s0: Flow control is off for TX and off for RX
[ 38.133192] IPv6: ADDRCONF(NETDEV_CHANGE): enp9s0: link becomes ready


Definitely not the same as my original post.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Sun Feb 28, 2016 11:45 am    Post subject: Reply with quote

budman7,

Its not wifi.
Code:
modprobe iwlwifi

The spelling and the capitalisation matters.

It seems as if wlp12s0 is there now. That's your wifi interface.

Your dmesg fragment shows that your wired interface is working.
Use wgetpaste to past the whole of dmesg again.

You may need to install wgetpaste.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Sun Feb 28, 2016 7:03 pm    Post subject: Reply with quote

There was no output of modprobe iwlwifi

Output of dmesg is here
https://bpaste.net/show/3bcbcaec980f

That wgetpaste is really neat, much better than pastebin, thank you.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Sun Feb 28, 2016 7:36 pm    Post subject: Reply with quote

budman7,

budman7 wrote:
There was no output of modprobe iwlwifi

That's a good sign. When modprobe has noting to say, because it worked, it says nothing :)

Code:
[   16.601300] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, in-tree:s
[   16.601304] iwl3945: Copyright(c) 2003-2011 Intel Corporation
[   16.601441] iwl3945 0000:0c:00.0: can't disable ASPM; OS doesn't have ASPM control
[   16.657248] iwl3945 0000:0c:00.0: Tunable channels: 11 802.11bg, 13 802.11a channels
[   16.657251] iwl3945 0000:0c:00.0: Detected Intel Wireless WiFi Link 3945ABG
...
[   17.120153] ieee80211 phy0: Selected rate control algorithm 'iwl-3945-rs'
[   17.122369] iwl3945 0000:0c:00.0 wlp12s0: renamed from wlan0
[   17.129694] systemd-udevd[2191]: Process 'net.sh wlan0 start' failed with exit code 1.

udev has renamed wlan0 to wlp12s0, so, the failure to start is expected. You need to start wlp12s0 instead.

The kernel ensures you are compliant with your local WiFi regulations
Code:
[   18.267276] cfg80211: World regulatory domain updated:
[   18.267281] cfg80211:  DFS Master region: unset
[   18.267283] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   18.267286] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   18.267289] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   18.267291] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   18.267294] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   18.267297] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   18.267300] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   18.267302] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   18.267305] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)


There was no attempt to associate or authenticate because you tried to start an interface you don't have.
Loading firmware seems to have worked, as there is no error message.
So far, so good.


On another topic,
Code:
[   18.928768] NVRM: The NVIDIA Quadro NVS 140M GPU installed in this system is
               NVRM:  supported through the NVIDIA 340.xx Legacy drivers. Please
               NVRM:  visit http://www.nvidia.com/object/unix.html for more
               NVRM:  information.  The 352.63 NVIDIA driver will ignore
               NVRM:  this GPU.  Continuing probe...
[   18.928780] NVRM: No NVIDIA graphics adapter found!
[   18.928953] NVRM: NVIDIA init module failed!
you have the wrong nvidia driver installed for your hardware.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Sun Feb 28, 2016 8:42 pm    Post subject: Reply with quote

NeddySeagoon wrote:
You need to start wlp12s0 instead


Forgive my ignorance, but how do I start wlp12so.

As for the Nvidia, I didn't get that far yet. A little ways down on the list of things to do.
Exgent installed the drivers for my nvidia.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Sun Feb 28, 2016 10:10 pm    Post subject: Reply with quote

budman7,

I'll refer you to the Gentoo Handbook documentation for wifi.

That link takes you to the start of the networking section.
Wireless is the same as wired with some extra steps for the wireless part. The extra steps for wireless are described a few pages later in that document.

The details depend on the init system you use, so that guide may not be applicable to you.
The guide is correct for OpenRC, which is the Gentoo default.

--edit --

That guide should work for you. From dmesg, you are not using systemd.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
budman7
n00b
n00b


Joined: 08 Nov 2005
Posts: 14
Location: Grand Rapids, MI

PostPosted: Mon Feb 29, 2016 8:41 pm    Post subject: Reply with quote

I went through the networking part and the wireless section and I still could not get it working. I am sure it is because I wasn't getting the gist of the commands.
Or I borked it up to badly from previous efforts.
One of the things I came to realize is that I didn't have a good grasp of the situation.
This came from installing Exgent, where all you do is install it and it works.
I did this thinking I could get used to the way Gentoo does things without going through the handbook install. This i now realize is to put the cart before the horse.
So, I am just going to go ahead and install Gentoo using the handbook without the Exgent shortcut.
Thank you for all your efforts.
_________________
I like work, it fascinates me, I can sit and look at it for hours.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54099
Location: 56N 3W

PostPosted: Mon Feb 29, 2016 9:03 pm    Post subject: Reply with quote

budman7,

Installing Gentoo teaches you what you need to know about maintaining Gentoo.
You will learn a lot that you will use over and over.

The hard bit about a Gentoo install is that you need to make the choices that binary distros make for you.
You don't need to get it right first time since Gentoo allows you to change your choices without reinstalling too.

If you need help with your Gentoo, start a new thread.

Good luck and enjoy your Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum