Forums

Skip to content

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

[SOLVED] Can't get wireless(iwl3945ABG) working on Thinkpad

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Valvar
n00b
n00b
Posts: 6
Joined: Fri Mar 08, 2013 9:54 pm

[SOLVED] Can't get wireless(iwl3945ABG) working on Thinkpad

  • Quote

Post by Valvar » Fri Mar 08, 2013 10:08 pm

Greetings,

Sorry for this nooby issue, but after installing Gentoo for the first time I am unable to get the wireless working on my Thinkpad T60.

lspci output:

Code: Select all

 $ sudo lspci | grep -i network
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
I have followed http://wiki.gentoo.org/wiki/Wifi and http://en.gentoo-wiki.com/wiki/Iwlwifi but to no avail.

lsmod gives an empty output (does not list any modules at all).

Trying to load the module:

Code: Select all

$ sudo modprobe -v iwl3945
insmod /lib/modules/3.7.9-gentoo/kernel/drivers/net/wireless/iwlegacy/iwlegacy.ko 
modprobe: ERROR: could not insert 'iwl3945': Exec format error

Ifconfig gives:

Code: Select all

$ sudo ifconfig wlan0 up
wlan0: ERROR while getting interface flags: No such device
iwconfig:

Code: Select all

sudo iwconfig
sit0      no wireless extensions.

lo        no wireless extensions.

eth0      no wireless extensions.
I have udev and wicd installed, and my ethernet connection works fine.[/code] I apologize if I overlooked something simple; I don't have very much experience with issues like this one.
Last edited by Valvar on Sun Mar 10, 2013 4:43 pm, edited 1 time in total.
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Mar 09, 2013 12:45 am

Valvar,

Welcome to Gentoo.

You need to get to the bottom of

Code: Select all

 modprobe: ERROR: could not insert 'iwl3945': Exec format error
There may well be more information in the output of dmesg

Make friends with wgetpaste and use it to put your dmesg output onto a pastebin site.
Tell us the URL you get back.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Valvar
n00b
n00b
Posts: 6
Joined: Fri Mar 08, 2013 9:54 pm

  • Quote

Post by Valvar » Sat Mar 09, 2013 7:34 am

NeddySeagoon wrote:Valvar,

Welcome to Gentoo.

You need to get to the bottom of

Code: Select all

 modprobe: ERROR: could not insert 'iwl3945': Exec format error
There may well be more information in the output of dmesg

Make friends with wgetpaste and use it to put your dmesg output onto a pastebin site.
Tell us the URL you get back.

http://bpaste.net/show/82413/
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56071
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Mar 09, 2013 10:29 am

Valvar,

Look at the end of your dmesg. The 'version magic' strings for some loadable modules and your kernel do not match.
There are several causes for this. e.g. different parts we compiled with different gcc versions, a key configuration change was made to the kernel but it was only partly rebuilt, you system time went backwards ...

The fix is always the same.
Rebuild your kernel starting with the make clean step, so everything in the kernel must be rebuilt.

Code: Select all

cd /usr/src/linux
make clean
then rebuild and reinstall your kernel as you did before. Finally reboot into your new kernel.

At this point the date/time in

Code: Select all

uname -a
should be very recent as it shows the kernel build date and time.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Valvar
n00b
n00b
Posts: 6
Joined: Fri Mar 08, 2013 9:54 pm

  • Quote

Post by Valvar » Sun Mar 10, 2013 4:41 pm

NeddySeagoon wrote:Valvar,

Look at the end of your dmesg. The 'version magic' strings for some loadable modules and your kernel do not match.
There are several causes for this. e.g. different parts we compiled with different gcc versions, a key configuration change was made to the kernel but it was only partly rebuilt, you system time went backwards ...

The fix is always the same.
Rebuild your kernel starting with the make clean step, so everything in the kernel must be rebuilt.

Code: Select all

cd /usr/src/linux
make clean
then rebuild and reinstall your kernel as you did before. Finally reboot into your new kernel.

At this point the date/time in

Code: Select all

uname -a
should be very recent as it shows the kernel build date and time.
After following your instructions I realized I had been compiling the kernel improperly all this time. After several hours of head-scratching I managed to get everything working perfectly. Thank you very much!
Top
Post Reply

5 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