LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-05-2008, 09:51 AM   #1
tsellers
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Rep: Reputation: 0
Ndiswrapper install under Debian 4.0


I have a workstation loaded with Debian 4.0 that works fine except that I can't get it connected to my home wireless network. This workstation was previously running Windows XP and uses a Linksys PCI wireless card.

After some research it appeared that the only way to make this work was to install a package called ndiswrapper. I found instructions for doing so on a couple of websites and tried that but in both cases I end up at a pop up window that displays the following.

module-assistant, error message

Installation of the ndiswrapper-source source failed.

Ignoring this package. Maybe you need to add something to sources.list, maybe the contrib and non-free archives.

Being new to Linux I haven't a clue what this is referring to.

Can anyone help shed some light on how to get ndiswrapper installed on Debian 4.0?
 
Old 12-05-2008, 02:09 PM   #2
j.todd
Member
 
Registered: Feb 2008
Location: Michigan
Distribution: Debian GNU/Linux Unstable
Posts: 144

Rep: Reputation: 16
Can you post the errors? Saying it gave an error doesn't really help.
 
Old 12-05-2008, 09:15 PM   #3
tsellers
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
The error message was quoted exactly as displayed on the screen in the original message.

The following lines are what was displayed.

----------------------------------------------------------------------------
module-assistant, error message

Installation of the ndiswrapper-source source failed.

Ignoring this package. Maybe you need to add something to sources.list, maybe the contrib and non-free archives.

----------------------------------------------------------------------------

The above lines are what is displayed in the window that pops up after running the commands detailed in the web page

Debian forums

entitled Ndiswrapper the easy Debian way...

Here are the commands that I ran (as listed in the instructions).

su
aptitude update
aptitude install module-assistant ndiswrapper-source ndiswrapper-utils
m-a prepare
m-a a-i ndiswrapper

My workstation is equipped with a Linksys WMP11 PCI Adapter which worked fine when I was running Windows XP.
 
Old 12-05-2008, 10:07 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
Could you post your sources.list ?

cat /etc/apt/sources.list
Code:
deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main
could be a simple misconfiguration in your sources list that is causing all the grief.
(CDROM install media not commented out in sources.list is a common misconfiguration)

did you install build essential ?

aptitude install build-essential

did you update and prepare module asisstant before trying to build the module ?

m-a update
m-a prepare
m-a a-i ndiswrapper
 
Old 12-09-2008, 10:55 AM   #5
tsellers
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Response

Quote:
Originally Posted by farslayer View Post
Could you post your sources.list ?

cat /etc/apt/sources.list
Code:
deb http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free
deb-src http://ftp.uwsg.indiana.edu/linux/debian/ etch main contrib non-free

deb http://security.debian.org/ etch/updates main contrib non-free
deb-src http://security.debian.org/ etch/updates main contrib non-free

deb http://www.debian-multimedia.org etch main
could be a simple misconfiguration in your sources list that is causing all the grief.
(CDROM install media not commented out in sources.list is a common misconfiguration)
------------------------------------------------------------------
Here is my sources.list

tsellers@debian:~$ cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

# Line commented out by installer because it failed to verify:
#deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
#deb-src http://security.debian.org/ etch/updates main contrib
tsellers@debian:~$
-------------------------------------------------------------------

did you install build essential ? --- No it was not part of the instructions I was using.

aptitude install build-essential

did you update and prepare module asisstant before trying to build the module ? ---No once again for the above reason. As a new user how am I to have known such was required if it indeed is?

m-a update
m-a prepare
m-a a-i ndiswrapper

As I indicated in my post I am for the most part a Windows veteran and do not know what steps are required to install an additional package within Linux. I find Linux to not be user freindly at all!
 
Old 12-09-2008, 02:10 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
You did not respond with the information I requested even though I provided the command you needed to type to provide that information.

Not sure what we can do for you, if you won't even try....
 
Old 12-09-2008, 02:10 PM   #7
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
dbl post DOH !!

Last edited by farslayer; 12-09-2008 at 02:13 PM.
 
Old 12-09-2008, 02:35 PM   #8
fedoralinuxjunkie
Member
 
Registered: Jun 2008
Location: NC
Distribution: Slackware64 15.0
Posts: 154

Rep: Reputation: 21
Lightbulb

Ok, allow me to try and guide you through what farslayer wants you to do, step by step.

1. Open a terminal (the terminal is the Linux command line, similar the cmd command in Windows)
2. type:
Code:
cat /etc/apt/sources.list
This command will return your sources.list file entries. Sources.list is how the Debian package managers (Synaptic (GUI), apt-get (command line) and aptitude (command line) find the packages on the servers to download and install them. When the cat command returns your sources.list, please post it here. If you do, we can help you further. Linux is very user friendly in most cases, it just takes some getting used to
 
Old 12-09-2008, 02:56 PM   #9
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
You might try Auto-NDISwrapper
http://easylinuxwifi.org/


A Ubuntu howto but it applies to Debian also.

HOWTO: WLan via Ndiswrapper - Ubuntu Forums
http://ubuntuforums.org/showthread.php?t=31926

Debian User Forums :: View topic - Ndiswrapper the easy Debian way...
http://forums.debian.net/viewtopic.php?t=17719


NdisWrapper: The Ultimate Guide - LinuxQuestions.org
http://www.linuxquestions.org/linux/...ltimate_Guide/
 
Old 01-08-2009, 12:50 PM   #10
tsellers
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fedoralinuxjunkie View Post
Ok, allow me to try and guide you through what farslayer wants you to do, step by step.

1. Open a terminal (the terminal is the Linux command line, similar the cmd command in Windows)
2. type:
Code:
cat /etc/apt/sources.list
This command will return your sources.list file entries. Sources.list is how the Debian package managers (Synaptic (GUI), apt-get (command line) and aptitude (command line) find the packages on the servers to download and install them. When the cat command returns your sources.list, please post it here. If you do, we can help you further. Linux is very user friendly in most cases, it just takes some getting used to
Here is what I get with the command supplied.
------------------------------------------------------
csellers@debian:~$ cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ etch/updates main contrib
csellers@debian:~$ cat /etc/apt/sources.list
#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ etch/updates main contrib
csellers@debian:~$
-------------------------------------------------------------
I really would prefer having the ability to directly interact with someone to learn more about Debian Linux and how to get it to work resonably as a replacement for Windows.

As I think I stated from the outset I am new to Linux and not familiar with all the command line entries that can be used. I am a DOS person from long ago. I appreciate the help and appologize if I do not respond immediately. I kind of gave up on this for a while. I would still like to get it working if at all possible.
 
Old 01-08-2009, 01:23 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I would edit the sources list
Comment out the line for the CD
Un-comment the line for the security repository.

Original
Code:
#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
# deb-src http://security.debian.org/ etch/updates main contrib
New
Code:
#
# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 CD Binary-1 20080803-21:07]/ etch contrib main

# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ etch/updates main contrib
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/ etch/updates main contrib
open a shell
applications -> accessories -> terminal

at the prompt switch to rthe root user using su then edit the source.list file

linuxbox:~$ su -
password:
linuxbox:~# nano /etc/apt/sources.list


If you want direct interaction, my best recommendation is to find a LUG (Linux Users Group) in your area.
Search in Google for 'City' 'State' LUG
 
Old 01-09-2009, 06:54 AM   #12
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
The only repo in your sources.list is security.

Follow farslayer's directions to use nano to edit your /etc/apt/sources.list

Then make it look like:
Code:
#Stable 
deb http://http.us.debian.org/debian/ stable main contrib non-free 
#Stable Sources
deb-src http://http.us.debian.org/debian/ stable main contrib non-free 
#Security Updates Stable
deb http://security.debian.org/ stable/updates main contrib non-free
You might also want backports and debian-multimedia.org

# Debian Stable Backports
# For information visit
# http://www.backports.org/dokuwiki/do...d=instructions
# apt-get install debian-backports-keyring
#deb http://www.backports.org/debian etch-backports main contrib non-free

# Marillat For info visit http://www.debian-multimedia.org
# Unstable
#deb http://www.debian-multimedia.org etch main

Once you have updated your sources.list do:

su
aptitude update
aptitude install build-essential module-assistant ndiswrapper-source ndiswrapper-utils
m-a prepare
m-a a-i ndiswrapper

The Guide here will walk you through the steps:
http://forums.debian.net/viewtopic.p...ht=ndiswrapper

You also might consider installing sidux, etch is a bit aged.
Then follow : http://manual.sidux.com/en/internet-...swrapper-basic

If you need help I would suggest using irc, Debian has a channel on irc.oftc.net and on irc.freenode.net then join #debian or ##linux.
 
Old 01-09-2009, 11:51 AM   #13
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
Here's something you might like.

http://tldp.org/guides.html

Welcome to linux.
 
Old 01-09-2009, 11:35 PM   #14
tsellers
LQ Newbie
 
Registered: Dec 2008
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks

Quote:
Originally Posted by thorkelljarl View Post
Here's something you might like.

http://tldp.org/guides.html

Welcome to linux.
I took a brief look at the site above and it looks like there is a lot of information that I can use there. I have not taken the time at this point to delve into anything in particular but will definately add this one to my bookmarks.

Thanks again!
 
Old 01-10-2009, 12:12 AM   #15
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
I thought the linksys cards running broadcom chips that are supported if you added the firmware.
any way if farslyer and craigevil cant get you through this no one can
 
  


Reply



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
Problems installing ndiswrapper on new Debian install JonWin Debian 6 05-05-2008 09:33 AM
Netgear WG511U via ndiswrapper on minimal debian install Plastech Linux - Wireless Networking 1 05-16-2007 08:41 PM
ndiswrapper/madwifi new debian install dauphinfay Debian 3 06-18-2006 08:13 AM
ndiswrapper-1.10 debian debian sarge BCM4306 802.11b/g ]x-k[ Linux - Wireless Networking 3 03-12-2006 12:42 AM
debian - ndiswrapper cant install via apt AM1SHFURN1TURE Linux - Wireless Networking 2 07-19-2005 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:26 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
Open Source Consulting | Domain Registration