LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-21-2011, 05:04 PM   #1
hitmanpete
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Rep: Reputation: Disabled
Driver + Make issue


Hi all,

I have just installed Linux - Ubuntu 11 to my laptop and im haveing problems getting the inbuilt WIFI card working.

I have found the following and have been trying to follow to get these drivers working:

http://www.linuxscrew.com/2007/09/19...1-with-ubuntu/

I have tryed this a number of times but its still not working, after the third time i looked closly at all commands and i dont think part 13 of that tutorial is working correctly as i get the following output

Code:
root@magnet-laptop-linux:/home/magnet/.drivers/ndiswrapper-1.47# make uninstall
NOTE: Not all installed files are removed, as different distributions install ndiswrapper files at different places.
Run uninstall as many times as necessary until no "removing" messages appear below.
root@magnet-laptop-linux:/home/magnet/.drivers/ndiswrapper-1.47# make
make -C driver
make[1]: Entering directory `/home/magnet/.drivers/ndiswrapper-1.47/driver'
make -C /lib/modules/2.6.38-11-generic/build SUBDIRS=/home/magnet/.drivers/ndiswrapper-1.47/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/magnet/.drivers/ndiswrapper-1.47/driver/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[2]: *** [_module_/home/magnet/.drivers/ndiswrapper-1.47/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/magnet/.drivers/ndiswrapper-1.47/driver'
make: *** [all] Error 2
root@magnet-laptop-linux:/home/magnet/.drivers/ndiswrapper-1.47# make install
make -C driver install
make[1]: Entering directory `/home/magnet/.drivers/ndiswrapper-1.47/driver'
make -C /lib/modules/2.6.38-11-generic/build SUBDIRS=/home/magnet/.drivers/ndiswrapper-1.47/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/home/magnet/.drivers/ndiswrapper-1.47/driver/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[2]: *** [_module_/home/magnet/.drivers/ndiswrapper-1.47/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/magnet/.drivers/ndiswrapper-1.47/driver'
make: *** [install] Error 2
root@magnet-laptop-linux:/home/magnet/.drivers/ndiswrapper-1.47#
i think this as i cant run that program "ndiswrapper"

Code:
 ndiswrapper
The program 'ndiswrapper' is currently not installed.  You can install it by typing:
apt-get install ndiswrapper-common
root@magnet-laptop-linux:/home/magnet/.drivers/ndiswrapper-1.47#
also if i try the apt-get way i get errors.

Someone pleaseeeeee helppp. i love Linux but this driver issue is putting me off big time
 
Old 09-21-2011, 05:15 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
@ Reply

Hi there,

Here is one link that might help: http://ubuntuforums.org/showthread.php?t=297092

Here is one section from that link:

Please indicate:

1. your laptop model
2. your lspci output
3. Output of cat /var/log/syslog
 
Old 09-21-2011, 05:27 PM   #3
hitmanpete
LQ Newbie
 
Registered: Sep 2011
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3RM1NVT0R View Post
Hi there,

Here is one link that might help: http://ubuntuforums.org/showthread.php?t=297092

Here is one section from that link:

Please indicate:

1. your laptop model
2. your lspci output
3. Output of cat /var/log/syslog
1) Inspiron 1501
2:
Code:
magnet@magnet-laptop-linux:~$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:06.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 13)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200M]
05:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
08:00.0 Ethernet controller: Broadcom Corporation BCM4401-B0 100Base-TX (rev 02)
08:01.0 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter (rev 19)
08:01.1 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 01)
magnet@magnet-laptop-linux:~$
3:
Code:
Sep 21 23:27:05 magnet-laptop-linux kernel: [ 2819.475063] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:06 magnet-laptop-linux kernel: [ 2820.490654] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:06 magnet-laptop-linux kernel: [ 2820.490661] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:06 magnet-laptop-linux kernel: [ 2820.502272] atkbd serio0: Unknown key released (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:06 magnet-laptop-linux kernel: [ 2820.502278] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:07 magnet-laptop-linux kernel: [ 2821.608803] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:07 magnet-laptop-linux kernel: [ 2821.608810] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:07 magnet-laptop-linux kernel: [ 2821.620357] atkbd serio0: Unknown key released (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:07 magnet-laptop-linux kernel: [ 2821.620364] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:08 magnet-laptop-linux kernel: [ 2822.704709] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:08 magnet-laptop-linux kernel: [ 2822.704715] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:08 magnet-laptop-linux kernel: [ 2822.716252] atkbd serio0: Unknown key released (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:08 magnet-laptop-linux kernel: [ 2822.716259] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:09 magnet-laptop-linux kernel: [ 2823.818489] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:09 magnet-laptop-linux kernel: [ 2823.818496] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:09 magnet-laptop-linux kernel: [ 2823.830094] atkbd serio0: Unknown key released (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:09 magnet-laptop-linux kernel: [ 2823.830101] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:10 magnet-laptop-linux kernel: [ 2824.919819] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:10 magnet-laptop-linux kernel: [ 2824.919825] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:10 magnet-laptop-linux kernel: [ 2824.930145] atkbd serio0: Unknown key released (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:10 magnet-laptop-linux kernel: [ 2824.930155] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:11 magnet-laptop-linux kernel: [ 2826.042281] atkbd serio0: Unknown key pressed (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:11 magnet-laptop-linux kernel: [ 2826.042286] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
Sep 21 23:27:11 magnet-laptop-linux kernel: [ 2826.053882] atkbd serio0: Unknown key released (translated set 2, code 0x8d on isa0060/serio0).
Sep 21 23:27:11 magnet-laptop-linux kernel: [ 2826.053887] atkbd serio0: Use 'setkeycodes e00d <keycode>' to make it known.
magnet@magnet-laptop-linux:/var/log$
 
Old 09-22-2011, 12:11 AM   #4
gary185
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
Hi,
First the make is saying you messed with the CFLAGS in the makefile ??
don't know about that one. if it was a nightly developement snapshot or something try getting a new one.

have you tried the other possible solutions besides the windows wrapper.
I always feel like that is the last resort kind of thing.
first try the drivers that are there
next
you can update the drivers in your current kernel if you don't want to compile a new kernel to get the latest drivers.
wifi drivers are always behind and it always helps to have new ones.
the project for that is called compat-wireless.

ok on to the drivers
do
lspci -vnn | grep 14e4

if you get
14e4:4311
or
14e4:4312
you can try b43
https://help.ubuntu.com/community/Wi...ernet%20access
https://help.ubuntu.com/community/Wi...ernet%20access

you can also try the other one (wl)
i think this is what you were trying to use with the wrapper but i think there is no need again see the docs
under the heading "Installing STA drivers"
i think the proprietary drivers are native linux now -- they are kind of crappy but no need for the wrapper.
 
  


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
make menuconfig + ncurses 5.6 issue halturata Linux - Software 4 06-05-2012 04:42 PM
samba and make issue nc3b Programming 2 05-19-2007 02:27 AM
make-kpkg clean issue ??? divukman Debian 2 03-06-2006 03:56 PM
make new kernel issue jiawj Red Hat 0 08-15-2005 03:03 AM
Bluetooth make issue theboyuk Debian 2 04-29-2005 02:34 AM


All times are GMT -5. The time now is 12:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration