Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

Can't connect wifi

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
IamPenguin
n00b
n00b
Posts: 4
Joined: Mon Oct 27, 2014 1:00 pm

Can't connect wifi

  • Quote

Post by IamPenguin » Mon Oct 27, 2014 1:15 pm

First of all, sorry for my bad english XD

Anyway, I installed gentoo, and it boot fine and everything, but I can't connect wifi. When I run ifconfig or iwconfig I don't see wireless interface at all, like it doesn't exists. I downloaded driver and loaded the iwlwifi module, but it doesn't seems to work. Oh and I set my AP in /etc/conf.d/net(WEP security)
My Wireless card is Intel N-7260.

I'm totally at a loss about what I'm suppose to do to fix it S:

~I think this is the right place to post it, but if not move it to anywhere I'd needed to post it~
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

Re: Can't connect wifi

  • Quote

Post by charles17 » Mon Oct 27, 2014 2:22 pm

Check your output of
$ lspci -k
and look if the wireless network controller got its driver.
https://wiki.gentoo.org/wiki/Wifi and
https://wiki.gentoo.org/wiki/Complete_H ... nformation might help.
Top
IamPenguin
n00b
n00b
Posts: 4
Joined: Mon Oct 27, 2014 1:00 pm

Re: Can't connect wifi

  • Quote

Post by IamPenguin » Mon Oct 27, 2014 3:17 pm

charles17 wrote:Check your output of
$ lspci -k
and look if the wireless network controller got its driver.
https://wiki.gentoo.org/wiki/Wifi and
https://wiki.gentoo.org/wiki/Complete_H ... nformation might help.
lspci -k:
Network controller: Intel Corporation Wireless 7260 (rev 73)
Subsystem: Intel Corporation Wireless-N 7260
I'd followed those guides and still nothing was changed...
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

Re: Can't connect wifi

  • Quote

Post by charles17 » Mon Oct 27, 2014 3:52 pm

IamPenguin wrote:
charles17 wrote:lspci -k:
Network controller: Intel Corporation Wireless 7260 (rev 73)
Subsystem: Intel Corporation Wireless-N 7260
I'd followed those guides and still nothing was changed...
Option -k should have shown the driver. Here I get

Code: Select all

$ /usr/sbin/lspci -k
08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
        Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection
        Kernel driver in use: iwl3945
        Kernel modules: iwl3945
Have you checked the kernel options? Did you install the firmware?
Top
IamPenguin
n00b
n00b
Posts: 4
Joined: Mon Oct 27, 2014 1:00 pm

Re: Can't connect wifi

  • Quote

Post by IamPenguin » Mon Oct 27, 2014 3:58 pm

charles17 wrote:
IamPenguin wrote:
charles17 wrote:lspci -k:
Network controller: Intel Corporation Wireless 7260 (rev 73)
Subsystem: Intel Corporation Wireless-N 7260
I'd followed those guides and still nothing was changed...
Option -k should have shown the driver. Here I get

Code: Select all

$ /usr/sbin/lspci -k
08:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
        Subsystem: Hewlett-Packard Company PRO/Wireless 3945ABG [Golan] Network Connection
        Kernel driver in use: iwl3945
        Kernel modules: iwl3945
Have you checked the kernel options? Did you install the firmware?
I installed the firmware and I think the kernel set fine. Maybe there're things that need to change, but I really don't know what is going on there and what I need to looking for. I used genkernel so I didn't work with the kernel options.
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

Re: Can't connect wifi

  • Quote

Post by charles17 » Mon Oct 27, 2014 4:05 pm

As long the driver is not mentioned by lspci you don't have it. Guess you need CONFIG_IWLWIFI
Top
IamPenguin
n00b
n00b
Posts: 4
Joined: Mon Oct 27, 2014 1:00 pm

Re: Can't connect wifi

  • Quote

Post by IamPenguin » Mon Oct 27, 2014 4:06 pm

charles17 wrote:As long the driver is not mentioned by lspci you don't have it. Guess you need CONFIG_IWLWIFI
OK. As a module or built-in?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Oct 27, 2014 4:08 pm

IamPenguin,
IamPenguin wrote: ... I used genkernel so I didn't work with the kernel options.
Oops. genkernel is a dumb script all genkernel kernels are the same unless you work with the kernel options. genkernel has a -menuconfig option for that.

There are several things genkernel leaves to the user, WiFi and 3D video acceleration being two of them.
So we know from your quote that you don't have WiFi support in your kernel.

Modules are preferred - it makes fimware loading so much easier.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Mon Oct 27, 2014 4:22 pm

NeddySeagoon wrote:Modules are preferred - it makes fimware loading so much easier.
Could you please drop some more words why the module driver does easier firmware loading than a built-in driver?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Mon Oct 27, 2014 4:51 pm

charles17,

There are four possible combinations for a module that needs fimware.
The module and firmware can both be in the kernel - that works
The module can be in /lib/modules and the firmware in /lib/firmware - that works too.
The other two combinations fail.
A built in driver cannot load its firmware from /lib/firmware as root is not yet mouted.
A loadable module cannot get its firmware from inside the kernel as its no longer available.

The wart on the face of both being in the kernel is that its not always clear at kernel build time which firmware you need.
Its then a kernel rebuild to fix it, after you read dmesg to find out the firmware file name you really need.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Tue Oct 28, 2014 9:34 am

NeddySeagoon wrote:charles17,

There are four possible combinations for a module that needs fimware.
The module and firmware can both be in the kernel - that works
The module can be in /lib/modules and the firmware in /lib/firmware - that works too.
The other two combinations fail.
A built in driver cannot load its firmware from /lib/firmware as root is not yet mouted.
A loadable module cannot get its firmware from inside the kernel as its no longer available.

The wart on the face of both being in the kernel is that its not always clear at kernel build time which firmware you need.
Its then a kernel rebuild to fix it, after you read dmesg to find out the firmware file name you really need.
Thanks for those clear words of explanation. Guess they could be very helpful for folks new to linux.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic