Ixthusdan
Jun 13 2007, 03:00 AM
I did not think that I am an idiot, but perhaps I am wrong. What I am trying to do (again) is get Fedora going wireless without plugging in the ethernet. I have downloaded the 2 files, one for ndiswrapper and the matching kdml for the running kernel. Although ndiswrapper is claimed to be installed by rpm, the system does not recognize the command "ndiswrapper" and so I cannot insert the driver so that the system sees the device. No device, no configuration. I can get Mandriva going without ever having to plug in the ethernet, so I should be able to do the same with Fedora. What am I missing?
JonEberger
Jun 13 2007, 03:17 AM
I'm going to play stupid and ask the following although i bet you've already thought of this.
1.) Are you root?
2.) /sbin/ndiswrapper?
3.) How'd you install the .rpm file? -Uvh? Any warnings?
Just a few thoughts right off the bat. Keep the comments coming.
Jon
iphitus
Jun 13 2007, 04:05 AM
yeah, by default fedora does not have /usr/sbin and /sbin in root's path. Append the full path, either /sbin/ndiswrapper or /usr/sbin/ndiswrapper.
Additionally, it doesnt enable networkmanager by default, enable this in services, and start it and you'll get a new icon in your systray you can use for wireless instead of the pathetic fedora tool.
James
ianw1974
Jun 13 2007, 05:38 AM
In Fedora/Red Hat, just typing su is not enough, you must type:
CODE
su -
to get the paths correctly. Alternatively, edit /etc/bashrc and add:
CODE
alias su="su -"
this is what I do on my Fedora/Red Hat installs. I noticed no ndiswrapper packages on my system, but if you add the freshrpms repo, you can get a dkms-ndiswrapper package installed.
Ixthusdan
Jun 13 2007, 11:42 AM
Thanks for the clues, everybody. I guess I am too Mandrivacintric or something. I'll be back after I give this a shot.
Ixthusdan
Jun 13 2007, 01:37 PM
OK. From Fedora 7, I am a partial idiot.
The su - thing was what I did not know. So now I can be a "successful" root as opposed to a "fake" root in Fedora. The next thing I forgot, and why I am an idiot, is that I did not blacklist bcm43xx, which I have as yet not been able to work on any system, including Mandriva. I always use ndiswrapper. At any rate, the network service also is much better than the Fedora tool. Thank you all for the help.
ianw1974
Jun 14 2007, 05:43 AM
In case you're not sure of where in Fedora 7, it's /etc/modprobe.d/blacklist and you list the module here. Although I expect you already tried that for blacklisting the module.
Hope it works/worked.
jlc
Jun 14 2007, 05:02 PM
QUOTE (ianw1974 @ Jun 13 2007, 12:38 AM)

Alternatively, edit /etc/bashrc and add:
CODE
alias su="su -"
Keep in mind there are some good reason not to alias it

If you want to fire a gui installer as root you wont get X widgets so you will need to use just "su" not "su -". You can always add sbin to your path to make things like that easier.
CODE
vi ~/.bash_profile
And add.
CODE
PATH=$PATH:$HOME/bin:/sbin:/usr/sbin
ianw1974
Jun 14 2007, 07:22 PM
Not sure I understand what you mean, I use su - aliased, and yet, I can stil launch X apps for installing?
jlc
Jun 14 2007, 07:51 PM
Hurm, it does work now. It didn't used to. Maybe I'm getting to old......
iphitus
Jun 15 2007, 01:41 AM
QUOTE (jlc @ Jun 15 2007, 05:51 AM)

Hurm, it does work now. It didn't used to. Maybe I'm getting to old......
i did it the path way too. makes more sense to me -- and it's global, not just for my user.
ianw1974
Jun 15 2007, 05:59 AM
If you edit /etc/bashrc, then it is also global for all users

This is what I did

And less typing too
iphitus
Jun 15 2007, 01:11 PM
QUOTE (ianw1974 @ Jun 15 2007, 03:59 PM)

If you edit /etc/bashrc, then it is also global for all users

This is what I did

And less typing too

i was a bit fancier, i made /etc/profile.d/sbin.sh and added the PATH change there.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.