LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem: madwifi + slackware (https://www.linuxquestions.org/questions/linux-newbie-8/problem-madwifi-slackware-751957/)

10100010 09-01-2009 10:49 PM

problem: madwifi + slackware
 
Hi there,

my problem is about wireless networking on Slack (13) but i'll give it a try here. I've been using Ubuntu and Fedora and in these two distros, my wireless card (Atheros) is 1. recognized out of the box or 2. i just have to compile madwifi.

Now, i've been reading and googling (Slackware Essentials and Basics, a couple of howtos); i do the instalation, netconfig (DHCP) and then i download sources from http://connie.slackware.com/~alien/s...madwifi/build/ (there's no pkg there for v13.0) and try to build the thing (according to http://madwifi-project.org/wiki/User...stro/Slackware), but i got a ton of the same error
Code:

"struct of net_device has no member named īprivī".
I thought i had to setup atheros drivers properly before configuring rc.* configuration files, is it the other way around? Do i have to set something up before compiling madwifi?

I hope i've been clear,
otherwise sorry and really really thanks!

H_TeXMeX_H 09-02-2009 04:38 AM

I think it may be a problem with recent kernels, try getting the svn version:
http://madwifi-project.org/wiki/UserDocs/GettingMadwifi

teebones 09-02-2009 05:15 AM

to MODS: this thread should be moved to -> Linux Networking -> Wireless networking section

Thanks

10100010 09-02-2009 09:45 PM

Hi there,

thanks! I downloaded svn's version and it worked just fine, did make clean, make install and not a single error.

Now the thing is: and i know i'm supposed to learn the hard way and that's just what i want to do, but i'm writing this from my mom's pc...

So the thing is i don't really know what to do next, i know i have to edit config files on /rc.d, but i'm watching the command line in blank.
All i google around seems to me like "you have to lift your feet from the ground and there you go, you levitate, that easy!".

Please, give me a few tips on this.

H_TeXMeX_H 09-03-2009 06:07 AM

It's not that difficult to get it working the instructions are here:
http://madwifi-project.org/wiki/UserDocs/FirstTimeHowTo

One thing to note is that if you plan on using WPA encryption, you will likely need to recompile wpa_supplicant like it says here:
http://madwifi-project.org/wiki/UserDocs/802.11i
This is because I believe the wpa_supplicant that comes with slackware does not have madwifi driver enabled during the build, so it will likely not work when using madwifi supported card. If you have trouble configuring it and compiling it then say just post back. Note also that you will need to point it to the built madwifi source code as it says.

10100010 09-06-2009 08:26 PM

Thanks again for the help!

I had no problems whatsoever configuring madwifi, following instructions setp by step. ath0 is up and when i ask for it it gave me a list of all wireless connections.

Now, i use wpa, so i downloadded and recompiled wpa_supplicant. Everything ok, then i do

wpa_passphrase YOURSSID yourpassphrase,

i mod the contect of /etc/wpa_supplicant.conf and finally do

wpa_supplicant -B -Dwext -iath0 -c/etc/wpa_supplicant.conf

and it all ends there, i think i'm supposed to be on line but nothing happens, i'm sorry but i think there's something really silly that i'm missing to do.

Thanks!

10100010 09-07-2009 11:51 AM

Done it!

The problem was IP with DHCP, the last few days i tried dhclient and it didn't worked, but i just tried dhcpd and it worked great.

Really thanks for the help

H_TeXMeX_H 09-21-2009 05:55 AM

Yeah you should use 'dhcpcd' not 'dhclient', the former is more reliable.


All times are GMT -5. The time now is 06:44 PM.