I've got the feeling that something on my install isn't quite right. I tried to install ndiswrapper which went ok, but when I tried to follow the instructions some things weren't quite as they should be.
First of all where as I'm told I should be able to type just ndiswrapper into a console window, I have to type /usr/sbin/ndiswrapper same goes for iwconfig for which I have to type /sbin/iwconfig and I still can't seem to do a scan.
If a reinstall isn't required is there something I can do to check my install out to see what is wrong?
On Fri, 23 Feb 2007 16:53:06 +0000 (GMT) Mark Fraser fedora@mfraz.freeserve.co.uk wrote:
First of all where as I'm told I should be able to type just ndiswrapper into a console window, I have to type /usr/sbin/ndiswrapper same goes for iwconfig for which I have to type /sbin/iwconfig and I still can't seem to do a scan.
Type this:
su -
And then try your commands.
On Fri, 2007-02-23 at 13:11 -0600, Frank Cox wrote:
On Fri, 23 Feb 2007 16:53:06 +0000 (GMT) Mark Fraser fedora@mfraz.freeserve.co.uk wrote:
First of all where as I'm told I should be able to type just ndiswrapper into a console window, I have to type /usr/sbin/ndiswrapper same goes for iwconfig for which I have to type /sbin/iwconfig and I still can't seem to do a scan.
Type this:
su -
And then try your commands.
Explanation: "su" by itself gives you the UID and GID of root. "su -" (with the dash) gives you the UID and GID of root AND root's environment (environment variables, path, etc.). Essentially the dash says "do a full login of me as root".
---------------------------------------------------------------------- - Rick Stevens, Principal Engineer rstevens@vitalstream.com - - VitalStream, Inc. http://www.vitalstream.com - - - - We are born naked, wet and hungry. Then things get worse. - ----------------------------------------------------------------------
In article 1172261283.26502.33.camel@prophead.corp.publichost.com, Rick Stevens rstevens@vitalstream.com wrote:
On Fri, 2007-02-23 at 13:11 -0600, Frank Cox wrote:
On Fri, 23 Feb 2007 16:53:06 +0000 (GMT) Mark Fraser fedora@mfraz.freeserve.co.uk wrote:
First of all where as I'm told I should be able to type just ndiswrapper into a console window, I have to type /usr/sbin/ndiswrapper same goes for iwconfig for which I have to type /sbin/iwconfig and I still can't seem to do a scan.
Type this:
su -
And then try your commands.
Explanation: "su" by itself gives you the UID and GID of root. "su -" (with the dash) gives you the UID and GID of root AND root's environment (environment variables, path, etc.). Essentially the dash says "do a full login of me as root".
Thanks for that. I did manage to get ndiswrapper working for a while, but then the whole computer locked up. This looks like it is due to the difference in stack sizes between the kernel and the driver I am trying to use. From what I have read, this requires recompiling the kernel to use a 8KB stack which is beyond me at the moment.
Thanks for that. I did manage to get ndiswrapper working for a while, but then the whole computer locked up. This looks like it is due to the difference in stack sizes between the kernel and the driver I am trying to use. From what I have read, this requires recompiling the kernel to use a 8KB stack which is beyond me at the moment.
Actually, its not really as hard as you might imagine. There are several web pages explaining the steps.
In the past I have followed the steps here
http://www.city-fan.org/tips/TweakKernelPackage
Which allow you to create fedora kernels rpms, with whatever tweaks you want. For you, you will need to at the "Reconfigure the kernel" step find the option to enable 8k stacks (I recommend the xmenu over the menuconfig )
Alternatively, there are rpms out there in google-land you can find with 8k stacks. I happen to know that linuxant (which provides a commercial product called driverloader which performs the same thing as ndiswrapper ) provides FC kernel rpms with larger stack sizes. See here
http://www.linuxant.com/driverloader/wlan/full/downloads.php
and follow the link for your FC version and system arch.
( btw. driverLoader is very good - I was forced to use it for a while when ipw2100 did not exist and ndiswrapper caused my machine to hang hard ! DriverLoader worked a treat )
cheers Chris
Mark Fraser wrote:
I've got the feeling that something on my install isn't quite right. I tried to install ndiswrapper which went ok, but when I tried to follow the instructions some things weren't quite as they should be.
First of all where as I'm told I should be able to type just ndiswrapper into a console window, I have to type /usr/sbin/ndiswrapper same goes for iwconfig for which I have to type /sbin/iwconfig and I still can't seem to do a scan.
If a reinstall isn't required is there something I can do to check my install out to see what is wrong?
Most likely you are typing those commands as a regular user instead of root. typing 'su -' (without quotes) on the command line will get you to the root user which will allow you to setup your wireless.
That happens to me also - not w/ those particular progs but anything in /usr/sbin and /sbin I have to specify the path and yes I am su'd as root. I figured it was something i screwed in my .profile and haven't bothered to spend the time to figure it out.
On 2/23/07, Mark Fraser fedora@mfraz.freeserve.co.uk wrote:
I've got the feeling that something on my install isn't quite right. I tried to install ndiswrapper which went ok, but when I tried to follow the instructions some things weren't quite as they should be.
First of all where as I'm told I should be able to type just ndiswrapper into a console window, I have to type /usr/sbin/ndiswrapper same goes for iwconfig for which I have to type /sbin/iwconfig and I still can't seem to do a scan.
If a reinstall isn't required is there something I can do to check my install out to see what is wrong?
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Fri, 23 Feb 2007 11:48:32 -0800 Bazooka Joe fastfish@gmail.com wrote:
That happens to me also - not w/ those particular progs but anything in /usr/sbin and /sbin I have to specify the path and yes I am su'd as root. I figured it was something i screwed in my .profile and haven't bothered to spend the time to figure it out.
Just put a dash after the su and you will be all set.
su - commands go here
Wow, what a difference a dash makes - do you know how long I have been typing paths and just excepted it.
Thx - this makes my week
On 2/23/07, Frank Cox theatre@sasktel.net wrote:
On Fri, 23 Feb 2007 11:48:32 -0800 Bazooka Joe fastfish@gmail.com wrote:
That happens to me also - not w/ those particular progs but anything in /usr/sbin and /sbin I have to specify the path and yes I am su'd as root. I figured it was something i screwed in my .profile and haven't bothered to spend the time to figure it out.
Just put a dash after the su and you will be all set.
su - commands go here
-- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
Bazooka Joe wrote:
Wow, what a difference a dash makes - do you know how long I have been typing paths and just excepted it.
The difference is this: "su" simply makes your UID be 0. "su -" makes it look like you logged in as root, so it runs the root setup.
Mike
BTW...if you edit your .bash_profile file, and add /usr/sbin and /sbin to your PATH statement, you should be all set the next time you log in.
Wow, what a difference a dash makes - do you know how long I have been typing paths and just excepted it.
Thx - this makes my week
On 2/23/07, Frank Cox theatre@sasktel.net wrote:
On Fri, 23 Feb 2007 11:48:32 -0800 Bazooka Joe fastfish@gmail.com wrote:
That happens to me also - not w/ those particular progs but anything in /usr/sbin and /sbin I have to specify the path and yes I am su'd as root. I figured it was something i screwed in my .profile and haven't bothered to spend the time to figure it out.
Just put a dash after the su and you will be all set.
su - commands go here
-- MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Bazooka Joe wrote:
That happens to me also - not w/ those particular progs but anything in /usr/sbin and /sbin I have to specify the path and yes I am su'd as root. I figured it was something i screwed in my .profile and haven't bothered to spend the time to figure it out.
Please note that 'su root' is NOT the same as 'su - root'. In the first case it will retain YOUR defined path, whereas the second one will switch to root's path.
su root:
[6] 12:55:07 <kirash@ivanhoe:~> echo $PATH /bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/kirash/bin
[7] 12:55:10 <kirash@ivanhoe:~> su root Password: [1] 12:55:17 <root@ivanhoe:/home/kirash> echo $PATH /bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/kirash/bin
Now the other one: su - root
[8] 12:55:59 <kirash@ivanhoe:~> echo $PATH /bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/kirash/bin
[9] 12:56:02 <kirash@ivanhoe:~> su - root Password: [1] 12:56:05 <root@ivanhoe:~> echo $PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin