PDA

View Full Version : ndiswrapper on fc5


vectorl33t
2006-05-14, 10:56 PM CDT
Hi, i have tried everything...i swear to god....EVERYTHING.. and i cannot get ndiswrapper compiled.my error is :
//*****************************************
[root@localhost ndiswrapper-1.16]# make install KBUILD=/usr/src/kernels/2.6.15-1.2054_FC5
make -C driver install
make[1]: Entering directory `/media/flashdisk/ndiswrapper-1.16/driver'
Can't find kernel build files in /usr/src/kernels/2.6.15-1.2054_FC5;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/media/flashdisk/ndiswrapper-1.16/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.16]# make install KBUILD=/usr/src/kernels/2.6.15-1.2054_FC5/
make -C driver install
make[1]: Entering directory `/media/flashdisk/ndiswrapper-1.16/driver'
Can't find kernel build files in /usr/src/kernels/2.6.15-1.2054_FC5/;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/media/flashdisk/ndiswrapper-1.16/driver'
make: *** [install] Error 2
[root@localhost ndiswrapper-1.16]# make KBUILD=/usr/src/kernels/2.6.15-1.2054_FC5/
make -C driver
make[1]: Entering directory `/media/flashdisk/ndiswrapper-1.16/driver'
Can't find kernel build files in /usr/src/kernels/2.6.15-1.2054_FC5/;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/media/flashdisk/ndiswrapper-1.16/driver'
make: *** [all] Error 2
[root@localhost ndiswrapper-1.16]# ln -s /usr/src/2.6.15-1.2054_FC5 /lib/modules/2.6.15-1.2054_FC5/build
ln: creating symbolic link `/lib/modules/2.6.15-1.2054_FC5/build' to `/usr/src/2.6.15-1.2054_FC5': File exists
[root@localhost ndiswrapper-1.16]# ln -s /usr/src/2.6.15-1.2054_FC5/ /lib/modules/2.6.15-1.2054_FC5/build
ln: creating symbolic link `/lib/modules/2.6.15-1.2054_FC5/build' to `/usr/src/2.6.15-1.2054_FC5/': File exists
[root@localhost ndiswrapper-1.16]#
//************************************************** ******************
when i do yum install kernel-devel i get the errror:
//********************************************
[root@localhost ~]# yum install kmod-ndiswrapper
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core
//**********************************************
i tried using ln -s to create a symbolic link from lib/modules/2.6.15-1.2054_FC5/ to /usr/src/2.6.15-1.2054_FC5/ and i get
File Exists

i've tried updateing my kernel, but that always fails and doesnt boot up correctly, i just get a black screen.

and the other thing, i dont no how to install kernel devel from the add/remove apps tool. because it always tells me it could not compile a list of programs or something like that and it closes out. I really need help as im sick of windows and want to switch to linux. any help is appreciated.

vectorl33t
2006-05-15, 12:16 PM CDT
seemed like i was on my own.. my solution...simple really...take fedora disc, BREAK IN HALF. Download ubuntu, install. couple of commands. WORKS AWESOME.

panama
2006-05-15, 12:23 PM CDT
Do the following to install and enable livna, then issue then use yum see below.

su -
rpm -ivh http://rpm.livna.org/livna-release-5.rpm
yum install kmod-ndiswrapper

craigeexx
2006-05-15, 03:17 PM CDT
Do the following to install and enable livna, then issue then use yum see below.

Hi i wonder if you could help, i tried you instructions above but it's still not working. Below is what happens when i try to wrap the windows driver.

[root@unknown-00-02-a5-be-d5-8f drivers]# ndiswrapper -i LSBCMNDS.inf
bash: ndiswrapper: command not found
[root@unknown-00-02-a5-be-d5-8f drivers]#

vectorl33t
2006-05-15, 07:56 PM CDT
you get that error because you have installed ndiswrapper. i got a question for u, how could i use get livna like that if IM NOT CONNECTED TO THE INTERNET. wow plz use some common sense people.

craigeexx
2006-05-16, 11:12 AM CDT
Common sense for you!!! Heard of ethernet?

I did fin out that it was in stalled i just had to say which directory it installed to.

Sorry about that, but cound anyone help me (exept vectorl33t, cause apparently i don't have any common sense)

[root@unknown-00-02-a5-be-d5-8f craig]# /usr/sbin/ndiswrapper -m
Adding "alias wlan0 ndiswrapper" to /etc/modprobe.d/ndiswrapper

Now when i open network configuration and set up a new wireless device, it's meant to say ndiswrapper(wlan0). But it does not have it there.

Any help would be great.

Thanks.

sailor
2006-05-16, 12:58 PM CDT
vect1eet, as your second post said " you have solved YOUR problem" you wait one day and are upset no one has responded? If you have solved your problem, then you should be in ubuntu forums contributing there instead of slaming folks here.
Using common sense, I would have assumed as well that you would have both wifi and ethernet, but either way your not going to get much help without dropping the attitude.

vectorl33t
2006-05-16, 01:19 PM CDT
My router is a good 3 stories below me and about 200 feet away, and I'm not going to run an ethernet cord up here. Not everybody has ethernet available to them, if I did I sure as hell wouldn't be on wireless. And sorry for saying use common sense, I get upset sometimes when people tell me the obvious or when I post something and it seems like no one is going to respond. And craig, idk, that command should just plain work without having to tell what dir its in, mine does.

sentry
2006-05-16, 01:35 PM CDT
Don't feed the trolls folks ;)

craigeexx
2006-05-16, 03:05 PM CDT
veet, i also thought that the command would just work but it didn't, then when i tried /usr/sbin/ndiswrapper it did.

Sorry for the earlier post, miss communication.

vectorl33t
2006-05-16, 03:45 PM CDT
im not trolling, or meaning to at least, i just found it difficult to get ndiswrapper to compile in fc5. Probably because I also couldn't figure out how to install my kernel sources because the add/remove programs doesnt work without the internet.

vectorl33t
2006-05-16, 03:54 PM CDT
Also i think i might even switch back to fc5 and give it another go, ubuntu seems a little.......idk.... not so throughou or w/e u wanna call. Just not really indepth, where as fedora seemed pretty nice. I just wish I could get my ndiswrapper working with it, maybe this time i wont forget to install kernel development in the formatting part.