LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-15-2007, 01:43 AM   #1
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Rep: Reputation: 15
Wireless setting up help.


So now i faced other nooobish problem...how do i setup wireless on my laptop ? this is the info i got after research =D

my card is Atheros AR5006EG

um... iwconfig shows lo and eth0 both with "no wireless exntions"

also.. i've read something about "windows partitions" and puttin some drivers in there.. but i dont think i have windows partitions lol.

madwifi should work but i dont know how to set it up properly..

any help would be great =]
 
Old 12-15-2007, 02:16 AM   #2
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 206

Rep: Reputation: 30
I set up my wireless with the ndiswrapper package that uses the window's driver for your wireless card.

http://ndiswrapper.sourceforge.net/joomla/

I don't know if that will help but it's very easy to use -just read the "install" file that comes with the package.

Here is how I set up my wireless WPA home network--->


network={
ssid="yourssid"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk="yourubersecretpassphrase"
}

Thats the wpa_supplicant.conf that goes in /etc.

Here is my command line in a teminal window (that black dos prompt looking thing)

wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

then in another terminal

dhcpcd wlan0 -that gets your router's ip
 
Old 12-15-2007, 03:45 AM   #3
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Do NOT use ndiswrapper unless you absolutely have to. Use the native Linux drivers, especially for an Atheros card which should be fully supported by madwifi. There's a HOWTO for madwifi here:
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

Make sure you have the kernel sources installed, you'll have to compile a kernel module.
 
Old 12-15-2007, 07:36 AM   #4
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H View Post
Do NOT use ndiswrapper unless you absolutely have to. Use the native Linux drivers, especially for an Atheros card which should be fully supported by madwifi. There's a HOWTO for madwifi here:
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

Make sure you have the kernel sources installed, you'll have to compile a kernel module.


what do you mean by kernel sources installed?

do i have to install something else ? compile ? =] tried google but didnt came up with anything similar what i wanted...

when tried to install madwifi i got error:

Code:
wlanconfig: ioctl: No such device
 
Old 12-15-2007, 08:35 AM   #5
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,035

Rep: Reputation: Disabled
You can download a madwifi package for Slackware 12.0 here: http://www.slackware.com/~alien/slac...wifi/pkg/12.0/
Use the command "installpkg madwifi-*.tgz" to install it.
After reboot (or if you don't want to reboot just type "modprobe ath_pci") the command "iwconfig" should show that there is now a wireless interface ath0.

If you run another version of Slackware than 12.0 or use a non-SMP kernel, or compiled your own kernel, you can build a Slackware package yourself (which will be specifically built for the kernel you are running at the moment) by downloading all the files you find in http://www.slackware.com/~alien/slac...madwifi/build/ to your computer and then run "sh madwifi.SlackBuild". After the compilation finishes, you will find the new package in the /tmp directory, ready to install.

Quote:
what do you mean by kernel sources installed?
do i have to install something else ? compile ? =]
You have to have the kernel-source package installed if you want to compile any new kernel module (like the madwifi driver). For Slackware 12.0 that is the package "slackware/k/kernel-source-2.6.21.5_smp-noarch-2.tgz" on the CD/DVD.

Eric
 
Old 12-15-2007, 09:20 AM   #6
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
thanks.. first link doesnt work ;-/ but ill try to find the package on dvd.
 
Old 12-15-2007, 10:15 AM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,295

Rep: Reputation: Disabled
Quote:
Originally Posted by paperbag View Post
thanks.. first link doesnt work ;-/ but ill try to find the package on dvd.
The slackware.com site seems to be down. Try the link again later, Eric's slackbuilds are the easiest way.

Brian
 
Old 12-16-2007, 04:08 AM   #8
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
so i installed madwifi drivers... from alien bob website.. and then i installed the kernel package

when i installed kernel...

it went like that:

"Executing install script for kernel-source-2....." does that mean its installed ?

and when i type iwconfig it only shows lo and eth0...no wireless extensions.

Last edited by paperbag; 12-16-2007 at 04:12 AM.
 
Old 12-16-2007, 08:52 AM   #9
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
by the way.. when you install slack and it asks to choose the modem etc.. did it matter which one i chose ?
 
Old 12-16-2007, 08:58 AM   #10
H_TeXMeX_H
Guru
 
Registered: Oct 2005
Posts: 11,388
Blog Entries: 2

Rep: Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825Reputation: 825
Please read this:
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

It says how to set it up, you've already installed it properly (hopefully), but now you need to set it up.
 
Old 12-16-2007, 11:20 AM   #11
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by H_TeXMeX_H View Post
Please read this:
http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

It says how to set it up, you've already installed it properly (hopefully), but now you need to set it up.

just to make sure how i install

1. kernel-source package
2. madwifi package for Slackware 12.0
3. madwifi

? right ?
 
Old 12-16-2007, 04:35 PM   #12
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
i installed all of them...but still nothing shows up or works.. did i mist on anything ? any packages.. or maybe i installed badly.. how do i check if i have installed properly ?
 
Old 12-16-2007, 04:42 PM   #13
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 4,035

Rep: Reputation: Disabled
Without my crystal ball, I would need the following from you:

Output from the following commands (run as root):

Code:
cat /etc/slackware-version
uname -a
ls /var/log/packages/madwifi*
ls /var/log/packages/kernel*
lsmod
ifconfig -a
After that, we can probe deeper.

Eric
 
Old 12-16-2007, 04:45 PM   #14
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 51
You probably forgot modprobe ath_pci //this loads kernel module you've just installed
 
Old 12-16-2007, 05:17 PM   #15
paperbag
Member
 
Registered: Dec 2007
Location: London
Distribution: Slackware
Posts: 53

Original Poster
Rep: Reputation: 15
cat /etc/slackware-version
Slackware 12.0.0

uname -a
Linux darkster 2.6.21.5-smp #2 SMP

ls /var/log/packages/mad*
/var/log/packages/madmod /var/log/packages/madplay-0.15.2b-i486-1 Yes i renamed the package name lol >_>


ls /var/log/packages/kernal*
/var/log/packages/kernal And renamed this one..silly name isnt it..

lsmod
http://pastebin.ca/819412

ifconfig -a
http://pastebin.ca/819429


------

and yes.. i did write modprobe ath_pci..

and by the way does renaming packages change anything ? or should i reinstall them with their original names ? i just renamed them because it made easier for me to install.

Last edited by paperbag; 12-16-2007 at 05:19 PM.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting up wireless - please help! penguin tech Linux - Newbie 23 08-16-2005 09:39 AM
setting up wireless mouse lil_justice Linux - Hardware 1 08-13-2005 07:55 PM
Setting up wireless in SUSE 9.2 anc6802 Linux - Wireless Networking 0 06-30-2005 04:47 PM
setting up wireless drewm3525 Linux - Wireless Networking 1 12-19-2004 09:51 PM
Setting up Wireless.... SiliconToad Linux - Wireless Networking 2 07-03-2004 07:31 AM


All times are GMT -5. The time now is 07:04 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration