View Full Version : simple question
skotwarr
2007-03-05, 03:28 AM CST
how do I Open a shell terminal in the MadWifi source directory.
Saint Mike
2007-03-05, 03:35 AM CST
if your using gnome, press alt+f2 and type gnome-terminal
You will have to direct it to where you extraced madwifi
cd = change directory eg cd /home/username
ls = will list all files/folders in current dir
If its a zip you extraced its prolly somewhere in your home director which is /home/yourusername
Would need more information
skotwarr
2007-03-05, 03:55 AM CST
[skotwarr@localhost ~]$ ls
Desktop eclipse madwifi-0.9.2.1 workspace
[skotwarr@localhost ~]$
is this the more information?
I am trying to do this:
Open a shell terminal in the MadWifi source directory.
Removing old modules ¶
For this step you must be logged on as root.
First, set all your MadWifi devices down:
ifconfig ath0 down
ifconfig wifi0 down
#Repeat these 2 ifconfig lines for every MadWifi device you have
Thank you for your help
Wayne
2007-03-05, 04:00 AM CST
A great add-on to Nautilus (if you're running gnome) is 'nautilus-open-terminal' It adds a menu entry to open a terminal in the current directory:
yum install nautilus-open-terminal
Hope this helps anyone
Wayne
skotwarr
2007-03-05, 04:16 AM CST
is this what is supposed to happen:
[root@localhost ~]# yum install mautilus-open-terminal
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna 100% |=========================| 1.1 kB 00:00
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: mautilus-open-terminal
Nothing to do
Wayne
2007-03-05, 04:18 AM CST
is this what is supposed to happen:
[root@localhost ~]# yum install mautilus-open-terminal
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
livna 100% |=========================| 1.1 kB 00:00
core 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
No Match for argument: mautilus-open-terminal
Nothing to do
Well, if you don't spell 'nautilus' correctly what do you expect to happen? :p
Wayne
skotwarr
2007-03-05, 04:21 AM CST
much better result! Thank you
skotwarr
2007-03-05, 04:23 AM CST
How do I use it?
Wayne
2007-03-05, 04:26 AM CST
How do I use it?
First you have to logout and back in. Then open Nautilus, navigate to where you want to go and if you decide you want to open a Terminal then from the 'File' menu entry, the choice is obvious :D
Wayne
skotwarr
2007-03-05, 04:45 AM CST
Yes, that is nice!
can you help me with the madwifi?
this is what I am supposed to do:
First, set all your MadWifi devices down:
ifconfig ath0 down
ifconfig wifi0 down
#Repeat these 2 ifconfig lines for every MadWifi device you have
Assuming that you're inside the MadWifi directory, execute the following scripts to remove the current modules from your system and its memory:
cd scripts
./madwifi-unload.bash
./find-madwifi-modules.sh $(uname -r)
cd ..
You should then be asked if you are sure that you want to remove the old modules.
Building MadWifi ¶
Now that you have the MadWifi code, it's time to compile it into the actual driver. Thankfully, this is easy.
Assuming that you've met all of the requirements above, and you're inside the MadWifi directory, you can just type:
make
Which will start the build process. Watch for any questions you might be prompted to answer - when it finishes, quickly scan through for any errors. If everything went according to plan, you can proceed to the next step. Make sure you have all the Requirements or the build process may fail.
This is what happened:
[root@localhost madwifi-0.9.2.1]# ifconfig atho down
atho: unknown interface: No such device
[root@localhost madwifi-0.9.2.1]# ifconfig wifi0 down
wifi0: unknown interface: No such device
[root@localhost madwifi-0.9.2.1]# cd scripts
[root@localhost scripts]# ./madwifi-unload.bash
[root@localhost scripts]# ./find-madwifi-modules.sh $(uname -r)
[root@localhost scripts]# cd ..
[root@localhost madwifi-0.9.2.1]# make
/bin/sh: line 0: cd: /lib/modules/2.6.19-1.2911.6.4.fc6/build: No such file or directory
Makefile.inc:89: *** /lib/modules/2.6.19-1.2911.6.4.fc6/build is missing, please set KERNELPATH. Stop.
[root@localhost madwifi-0.9.2.1]#
skotwarr
2007-03-05, 08:28 PM CST
Any suggestions?
Thank you
vichara
2008-10-07, 02:59 PM CDT
well its been a long time since you posted here but i am going through the same instructions and am getting the same error as you posted at the bottom. did you get it to work? thanks. peace
nick.stumpos
2008-10-07, 03:25 PM CDT
/lib/modules/build need tos be a link to your kernel source or headers ie /usr/src/"kernel your using"
if its not that make sure the correct kernel-devel and kernel-headers packages are installed or if running your own kernel that it points to the directory in which it was built
bobbfwed
2008-10-09, 12:11 PM CDT
Any chance you can download the kernel-devel without yum? I can't get internet to my laptop, and I have drivers that may work, but they require kernel-devel (the build directory).
nick.stumpos
2008-10-09, 12:26 PM CDT
sure just download the correct kernel rpm directly from the repos on another computer than transfer it however you see fit, then install with the rpm utility
uname -a to see your current kernel version
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.