LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2009, 11:49 PM   #1
10100010
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Rep: Reputation: 0
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!
 
Old 09-02-2009, 05:38 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
I think it may be a problem with recent kernels, try getting the svn version:
http://madwifi-project.org/wiki/UserDocs/GettingMadwifi
 
Old 09-02-2009, 06:15 AM   #3
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

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

Thanks
 
Old 09-02-2009, 10:45 PM   #4
10100010
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 09-03-2009, 07:07 AM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
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.
 
Old 09-06-2009, 09:26 PM   #6
10100010
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Original Poster
Rep: Reputation: 0
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!
 
Old 09-07-2009, 12:51 PM   #7
10100010
LQ Newbie
 
Registered: Sep 2009
Posts: 12

Original Poster
Rep: Reputation: 0
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

Last edited by 10100010; 09-07-2009 at 06:23 PM.
 
Old 09-21-2009, 06:55 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
Yeah you should use 'dhcpcd' not 'dhclient', the former is more reliable.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Madwifi problems with Slackware codeman1234 Linux - Networking 8 07-21-2009 02:39 PM
Madwifi on slackware, no ip rmdeboer82 Linux - Laptop and Netbook 7 03-09-2007 07:19 AM
Madwifi ap slackware. Nille_kungen Linux - Wireless Networking 2 02-07-2007 12:29 PM
Madwifi not working on Slackware 10.2 EsotericMatt Linux - Wireless Networking 4 05-18-2006 05:32 PM
slackware 10 (2.6.10) + madwifi AP81 Slackware 12 05-18-2006 05:24 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration