LinuxQuestions.org
Visit Jeremy's Blog.
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 06-05-2008, 05:34 AM   #1
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Rep: Reputation: 0
wireless in Debian wont work


Hi guys. I just installed Debian and I am really having a tough time with the wireless setup. I have an ASUS R1E laptop. I went to the following website WiFi - Debian Wiki to download the driver for the wireless. I also installed the wireless-tools but I dont know whats going on. I also went to the site Intel® Wireless WiFi Link drivers for Linux* downloaded the drivers and did everything and I cant get it to work. I did modprobe mac80211 and when I try to do :
ls /lib/modules/$(uname -r)/build/Makefile
and I dont find anything. I did
uname -r

and it returns "2.6.18-6-amd64"

% wget \
intellinuxwirelessdotorg/mac802...211-10.0.4.tgz
% tar xvf mac80211-10.0.4.tgz
mac80211-10.0.4/origin/GIT
mac80211-10.0.4/origin/net/mac80211/Makefile
...
% cd mac80211-10.0.4

everything is fine until I do
make

I get the following error comes when I run make:
Building modified version in 'modified/' directory:
Copying modified/ from origin/...done
scripts/generate_modified: line 41: rsync: command not found
Applying patches and scripts from pending/.
scripts/generate_modified: line 87: rsync: command not found
+ Applying: pending/0001-mac80211-Add-basic-IEEE-802.11n-support.patch
From 26e77a5fef845edcb5c27db52f413e7558db0e20 Mon Sep 17 00:00:00 2001
patch: **** Can't change to directory post/ : No such file or directory
-----patch failure output-----

pending/0001-mac80211-Add-basic-IEEE-802.11n-support.patch failed. Terminating.
If patch or script failed, check pre/ and post/ for current stage.
make: *** [modified] Error 1

Please can anyone help. I am totally lost and have googled "debian wireless" and almost tried everything that people have said and I always get stuck somewhere or the other. thanks.
 
Old 06-05-2008, 06:01 AM   #2
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Why don't you use apt-get?
 
Old 06-05-2008, 06:10 AM   #3
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
you mean should I try
apt-get install wireless-tools
 
Old 06-05-2008, 06:22 AM   #4
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Do you know the chipset of your wireless card?
If not, please post the output of lspci (I suppose it's a pci card?).
 
Old 06-05-2008, 06:25 AM   #5
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
its Intel 4695 for the wireless
 
Old 06-05-2008, 06:36 AM   #6
Pedroski
Senior Member
 
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,529

Rep: Reputation: 42
I can't get wifi to work under Debian, although I have everything set up to with bcm43xx module.It searches on boot, never finds anything says "no working leases" and sleeps. Even if I put my laptop on top of the wireless modem, it can't find it!
The only time I got wifi to work under Linux was with Suse using ndiswrapper.
Try using Fedora Live CD, see if that finds it. Debian won't operate my Bluetooth adaptor, but using Fedora Live CD, works first time. I use Debian because my nephew, an expert, recommends it. But it's not the most user-friendly for laymen!
 
Old 06-05-2008, 06:39 AM   #7
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
The wireless built into the laptop is not even being detected. Actually, the funny thing is that the bluetooth works perfect with Debian in my laptop. Just the hardware for the wireless doesn't work. I tried openSUSE and everything is a breeze with it.
 
Old 06-05-2008, 06:41 AM   #8
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
lspci gives

00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:03.0 Communication controller: Intel Corporation Mobile PM965/GM965 MEI Controller (rev 03)
00:03.2 IDE interface: Intel Corporation Mobile PM965/GM965 PT IDER Controller (rev 03)
00:03.3 Serial controller: Intel Corporation Mobile PM965/GM965 KT Controller (rev 03)
00:19.0 Ethernet controller: Intel Corporation 82566MM Gigabit Network Connection (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HBM (ICH8M-E) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 03)
05:00.0 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
06:00.0 Network controller: Intel Corporation PRO/Wireless 4965 AG or AGN Network Connection (rev 61)
 
Old 06-05-2008, 06:44 AM   #9
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Did you read this:
http://intellinuxwireless.org/?p=iwlwifi
Note: the 2.6.24 kernel already have this driver

Anyway, you need rsync it seems.
apt-get install rsync

Last edited by Agrouf; 06-05-2008 at 06:47 AM.
 
Old 06-05-2008, 06:56 AM   #10
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
yeah I went through that and the problem is that I need to have mac80211 and when i install that I run into problems. I download the latest debian and still the kernel I have is make 2.6.18-6-amd64. Maybe its because I am using a 64 bit version.
 
Old 06-05-2008, 07:37 AM   #11
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
the errors you posted are because you don't have rsync installed.
rsync is most certainly available via apt-get. I suppose it's named rsync.
apt-get install rsync.
 
Old 06-05-2008, 07:42 AM   #12
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Quote:
I download the latest debian and still the kernel I have is make 2.6.18-6-amd64.
That's not the "latest" version of Debian, it's the "Stable" version, which is to say, the oldest supported version. Most home/hobbyist systems should be running Testing (Lenny). Then you can easily install the most recent kernels.

If that all sounds too complicated, you should be running Mephis, Ubuntu, or some other newbie oriented derivative which provides easily accessible non-free drivers. Debian is for Linux grown-ups.
 
Old 06-05-2008, 07:46 AM   #13
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
I will read up a little bit and will probably update to 2.6.24 and hopefully that should help. thanks.
 
Old 06-05-2008, 03:39 PM   #14
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Heres a how-to that also suggests using kernel 2.6.24RC3 or later that has the driver included (you still need to copy in the firmware)

and also has the step by step build instructions for earlier kernels..

http://www.thinkwiki.org/wiki/Instal...a_ThinkPad_T61
 
Old 06-05-2008, 04:54 PM   #15
nofilbarlas
LQ Newbie
 
Registered: Jun 2008
Posts: 10

Original Poster
Rep: Reputation: 0
farslayer..I actually tried that. When I run make; make patch_kernel I get the following error:

debian:~/mac80211-8.0.2# make; make patch_kernel
Checking kernel compatibility in:
/lib/modules/2.6.18-6-amd64/source//
grep: /lib/modules/2.6.18-6-amd64/source//drivers/base/core.c: No such file or directory
! CONFIG_NET_WIRELESS_NETLINK can not be set in .config!
make: *** [compatible/modified] Error 1
Checking kernel compatibility in:
/lib/modules/2.6.18-6-amd64/source//
grep: /lib/modules/2.6.18-6-amd64/source//drivers/base/core.c: No such file or directory
! CONFIG_NET_WIRELESS_NETLINK can not be set in .config!
make: *** [compatible/modified] Error 1

what does that mean? thanks
 
  


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
wireless driver wont install,ethernet wont work Reanimator Linux - Newbie 4 05-05-2008 09:22 AM
Wireless wont work on PClinusOS mmoscater Linux - Newbie 3 01-08-2008 04:27 PM
debian and xp just wont work on a 160GB HDD bid Debian 10 02-26-2006 03:39 PM
atmel wireless in fc4 wont work zombiedeth Linux - Wireless Networking 1 07-10-2005 08:11 PM


All times are GMT -5. The time now is 12:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration