LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-28-2005, 12:03 PM   #1
fugiware
LQ Newbie
 
Registered: Jul 2005
Location: Seattle, WA, USA
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Unhappy Having trouble installing ndiswrapper onto Ubuntu


Help me! I have a belkin f5d7050 for usb that I am trying to switch from win to lin, and its hard. I'm a newbie who just got his first taste of linux (20 ubuntu cds arrived) yesterday and I want internet on my pc!

I can't figure out how to install the source files from Ndiswrapper to my comp. I don't understand the instructions on the wiki.

If anybody could deliver a useful response, that would be much apreciated.
 
Old 07-28-2005, 12:12 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Hi and welcome to LQ How far have you got with the install?
 
Old 07-28-2005, 12:18 PM   #3
fugiware
LQ Newbie
 
Registered: Jul 2005
Location: Seattle, WA, USA
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
i have no clue, I don't know the commands to get it to install. or how to even open a file from the terminal!
 
Old 07-28-2005, 12:40 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Ok. The instructions from the Installation Wiki are straightforward as long as you read through and take your time.

First of all, you need the kernel sources installed. Since you are using Ubuntu (which is Debian based), you may be able to install Ndiswrapper via Synaptic. Open up Synaptic and look through to see if it's there.

http://ndiswrapper.sourceforge.net/ details how to add the link to the ndiswrapper download.

If you need to install via a tar ball, you will need to have your kernel sources installed - check Synaptic for the package. Most of the install is done via the command line, so you will need to have a terminal open to do this.

Some of the commands need you to be root - you usually do this by typing
Code:
su
<enter root's password
Since you are an Ubuntu user, you would simply type
Code:
sudo <command>
<enter your password>
Work through the installation instructions and post back if you get stuck.
 
Old 07-28-2005, 01:20 PM   #5
fugiware
LQ Newbie
 
Registered: Jul 2005
Location: Seattle, WA, USA
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
I don't know Synaptic.
The instructions from the Installation Wiki used


root@ubuntu:/home/andrew/Desktop/int/ndis/ndiswrapper-1.2 # make distclean
make -C driver clean
make[1]: Entering directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.o wrapper.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
make[1]: Leaving directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
make -C utils clean
make[1]: Entering directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/utils'rm -f *~
rm -fr ndiswrapper-1.2 ndiswrapper-1.2.tar.gz *.deb patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.o wrapper.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
rm -f *_exports.h .\#* x86_64_stubs.h
make[1]: Leaving directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
make -C utils distclean
make[1]: Entering directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/utils'rm -f .\#*
root@ubuntu:/home/andrew/Desktop/int/ndis/ndiswrapper-1.2 # make
make -C driver
make[1]: Entering directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
Can't find kernel sources in /lib/modules/2.6.10-5-386/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
make: *** [all] Error 2
root@ubuntu:/home/andrew/Desktop/int/ndis/ndiswrapper-1.2 # make install
make -C driver install
make[1]: Entering directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
Can't find kernel sources in /lib/modules/2.6.10-5-386/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/andrew/Desktop/int/ndis/ndiswrapper-1.2/driver'
make: *** [install] Error 2
root@ubuntu:/home/andrew/Desktop/int/ndis/ndiswrapper-1.2 #
 
  


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
ndiswrapper ubuntu amd64 thewfool Linux - Hardware 5 03-27-2006 12:34 AM
Ubuntu 5.10 ndiswrapper bottledwater Linux - Wireless Networking 9 10-16-2005 04:18 PM
linksys wireless ndiswrapper and ubuntu case1984 Linux - Laptop and Netbook 14 06-07-2005 05:13 AM
Ndiswrapper in Ubuntu stevenyu Ubuntu 8 03-29-2005 04:06 AM
Trouble installing ndiswrapper in redhat digislime Linux - Software 0 08-12-2004 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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