Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 12-23-2005, 06:32 PM   #1 (permalink)
Junkie
 
Please help the Linux noob...

Okay, I just installed Linux Mandrake 10.1 and everything is running well except for my wireless card. It's the Linksys WPC11, and yes, unfortunately it's the one with the Broadcom chipset that's unsupported by wlan. After searching around a bit, I found that ndiswrapper along with the correct driver can get it to work. The only problem is that an older version (0.8) of ndiswrapper is currently installed and I can't install a newer version (at least 0.9 required for the wpc11 driver to work) until I uninstall the older version. Seems simple enough, but being a linux noob, I have no idea what to do at this point. I know how to install it once I've removed the old version, but how the hell do I get rid of the older version?

Any help is greatly appreciated.
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head
spectre is offline  
Old 12-23-2005, 07:27 PM   #2 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
I'm making some assumptions here:

#1) ndiswrapper (ver 0.8) was installed by Mandrake during the install.
#2) ndiswrapper (ver 0.8) is an rpm, and ndiswrapper 0.9 is a source tarball that you'll ./configure and compile yourself.

at a shell prompt type:

rpm -qa | grep ndis

This should tell you the name of the ndiswrapper rpm that is installed (ndiswrapper-0.8-12 or something is most likely it). Once you can see the name of the rpm (ignoring all the number parts), remove the rpm with:

rpm -e ndiswrapper

This will remove the old version.

You're now free to install the new version. Good luck (building ndiswrapper from source requires that you have the kernel sources [ or at least the kernel headers ] installed on your machine, so you may have to install them).

As an aside.. some people are starting to develop drivers for the broadcom chipset through reverse engineering. It's nowhere near stable or properly useable yet, but it should make life alot easier in the future.
Latch is offline  
Old 12-23-2005, 09:22 PM   #3 (permalink)
Junkie
 
Sorry, I should've been more clear. It is installed by Mandrake.
It's apparently not an rpm. I just found instructions on how to remove it here.

I've found three options for the install: 2 rpms:versions 0.9 and 1.2.3 and the source tarball for version 1.7.

And I'm glad to hear that people are making the drivers.

Thank you very much, I'll be back (hopefully from Linux, and hopefully soon) to report in on how it went.
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head

Last edited by spectre; 12-23-2005 at 11:01 PM..
spectre is offline  
Old 12-23-2005, 11:10 PM   #4 (permalink)
Junkie
 
Okay, now this is odd. No matter which one I use, I get the same error at the same step.
(All run as root during this)

With the tarball:

tar zxvf ndiswrapper-1.7.tar.gz

cd ndiswrapper-1.7

make distclean

make

make install

From this point is for both the tarball and rpm (and I only have one installed at a time when attempting this):

ndiswrapper -i /home/joe/drivers/bcmwl5.inf

This is the point where I get the following error:

bash: /usr/sbin/ndiswrapper: No such file or directory

Now, I know this means that ndiswrapper isn't being placed in the /usr/sbin directory, my only questions at this point are, what am I doing wrong and what can I do to fix this?

Again, thanks in advance for any help that can be provided.
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head
spectre is offline  
Old 12-23-2005, 11:41 PM   #5 (permalink)
Adequate
 
cyrnel's Avatar
 
Location: In my angry-dome.
Either call it fully qualified (/.../ndiswrapper...)
or rehash.
__________________
There are a vast number of people who are uninformed and heavily propagandized, but fundamentally decent. The propaganda that inundates them is effective when unchallenged, but much of it goes only skin deep. If they can be brought to raise questions and apply their decent instincts and basic intelligence, many people quickly escape the confines of the doctrinal system and are willing to do something to help others who are really suffering and oppressed." -Manufacturing Consent: Noam Chomsky and the Media, p. 195
cyrnel is offline  
Old 12-24-2005, 07:42 AM   #6 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
ooo.. I really don't like what that website tells you to do. While it's doing a manual uninstall of the kernel module itself, it seems to leave the ndiswrapper program and other related things on the system. This can cause problems if your new version of ndiswrapper installs to a location different than the old one.. but it seems to be OK now.

It seems to be OK from him though, and he's running the same version as you.

After doing make install, close your shell and open a new one.
Latch is offline  
Old 12-24-2005, 11:27 AM   #7 (permalink)
Junkie
 
Okay, another step closer now. I'm going with the 1.7 tarball I have the windows driver installed with ndiswrapper -i bcmwl5.inf, and it shows as present.

According to the Installation wiki, I need to do the following:

depmod -a

modprobe ndiswrapper

The depmod -a works without an error, but the modprobe gives me the following error "FATAL: Module ndiswrapper not found"
From what I understand of it, modprobe looks in the /lib/modules/VERSION/ directory, but there is not module there and there were no errors from all of the previous steps. Am I missing something here?

Thank you again for all of the help.
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head
spectre is offline  
Old 12-24-2005, 09:42 PM   #8 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
The "make install" you did should have installed the module into the /lib/modules/VERSION/ directory... not sure where you go from here, except making sure your running kernel is the same version as the VERSION in /lib/modules/VERSION (running 'uname -r' in a shell should tell you the running kernel version).

You could also attempt to run the 'make install' again and watch what it does.. see where it copies the module (if it does)..
Latch is offline  
Old 12-25-2005, 06:35 PM   #9 (permalink)
Junkie
 
I'm running 2.6.8.1-12mdk

I also forgot to mention that I did the:
ln -s /usr/src/linux-2.6.8.1-12mdk /lib/modules/2.6.8.1-12mdk/build

as stated on the wiki.

Is there a - option on how to watch where it copies to other then the verbose mode? I tried watching that, but I can't scroll to see all of it, and from what I did see, I didn't see anything go into the /lib/modules/2.6.8.1-12mdk directory.
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head
spectre is offline  
Old 12-26-2005, 08:49 AM   #10 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
Quote:
Originally Posted by spectre
I'm running 2.6.8.1-12mdk

I also forgot to mention that I did the:
ln -s /usr/src/linux-2.6.8.1-12mdk /lib/modules/2.6.8.1-12mdk/build

as stated on the wiki.
Yep, that's cool.

Quote:
Originally Posted by spectre
Is there a - option on how to watch where it copies to other then the verbose mode? I tried watching that, but I can't scroll to see all of it, and from what I did see, I didn't see anything go into the /lib/modules/2.6.8.1-12mdk directory.
hmmm, not sure offhand. You could type "make install > output.txt 2>&1". This will capture everything to output.txt so you can parse it later. It won't display on screen, so don't panic when you see nothing. If you don't see anything obvious, paste the output to here.. or PM me with the attachment output.txt (assuming you can somehow get the file off that computer and onto the one you're using now).

The make install must throw the module into the directory. You're running the make install as root, right? make install must be done as root.

If it doesn't do it itself, maybe the make install is busted (highly unlikely, though). Look in the ndiswrapper's build directory. You may be able to find the .ko file in there. Try typing "insmod ndiswrapper.ko" That may install the module for you as well.

Good luck, let me know how it goes..
Latch is offline  
Old 12-26-2005, 11:39 AM   #11 (permalink)
Addict
 
I think i built ndiswrapper a long time ago, and I followed the instructions in the INSTALL file to the letter, with success. Maybe check to see if the INSTALL file is different from the Wiki you are using.
phukraut is offline  
Old 12-26-2005, 09:34 PM   #12 (permalink)
Junkie
 
This post coming to you live from Mandrake 10.1.

I got it working this morning. Apparently, it didn't like the name of the folder I was in, so I moved it to the desktop and compiled and ran it from there. It would only run the commands on the utils directory, but not the drivers directory.

Thank you all very much for all of your help.

Now, I have one more question, in windows, I'm used to using Ctrl + Tab to switch tabs in Firefox and other programs, but that just switches Desktops for me, so how do I switch tabs from the keyboard?
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head
spectre is offline  
Old 12-27-2005, 11:27 AM   #13 (permalink)
In Your Dreams
 
Latch's Avatar
 
Location: City of Lights
Glad ndiswrapper finally got in correctly

You'll probably want to disable Ctrl-Tab in KDE/Gnome so it doesn't switch the desktop. Gnome/KDE have different ways of doing it. Gnome has it in Desktop->Preferences->Keyboard Shortcuts (I think, I'm working from memory). KDE has a control center I believe, I don't use it. It should be in the control center though

Good luck.
Latch is offline  
Old 12-27-2005, 07:13 PM   #14 (permalink)
Addict
 
in KDE I think it's Control Center --> Regional & Accessibility --> Keyboard Shortcuts. You can also set up mouse gestures here going to Input Actions (as of KDE 3.5).
phukraut is offline  
Old 12-27-2005, 07:29 PM   #15 (permalink)
Junkie
 
Awesome, thank you all again.
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head
spectre is offline  
Old 01-31-2006, 05:43 PM   #16 (permalink)
Junkie
 
Okay, the noob's back with another question:
I've written a shell script to start ndiswrapper as well as a few other things. They all need to be run as root, so my question is, when logging in as a regular user (other than root, I only have one account on this machine), how can I run this script as root?

I'm getting kind of tired of having to fire up the command line after logging in just to get net access.

Thanks in advance.
__________________
"Fuck these chains
No goddamn slave
I will be different"
~ Machine Head
spectre is offline  
 

Tags
linux, noob


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 06:34 PM.

Tilted Forum Project

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360