LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 08-13-2006, 05:02 PM   #1
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Rep: Reputation: 15
Help with wireless card and Slack 10.2


I am a complete Linux/Slackware newbie. I finally managed to get Slackware 10.2 installed on my computer (dual boot with Win XP). I got KDE up and running, the sound card working, now the only things left are my wireless card and the ATI card. For now, I am mainly concerned with the wireless card.

I have already done a ton of research on the subject. I read up on the internet for 2 weeks just to get 10.2 installed, like I said, I'm a newbie. All of the information that I find states that I need to download the right module and compile it with the kernel.

1) How do I find the right module? I have an HP Pavillion zd8205 laptop with a Broadcom internal wireless card.

2) Once I get the module, how do I install it. I have my USB flash drive working, so I would need to know where to move the file to from there via terminal.

3) How do I compile the kernel once the module is added? I am using the 2.6.13 kernel if it matters.

4) Do I have to do all of this, or is there a simple command to get Slackware to search for my wireless card (and anything else I may be missing) that I don't know about?

5) I also have 128bit WEP encryption. As long as I can get the OS to use the wireless card, I can figure out the encryption stuff. I just want it to see my network.

I would appreciate any answers to the above questions, though as I am aware that this is basic stuff to all of you, I would take a link to a very good tutorial that does not assume that you helped Linus develop Linux.


Thank you in advance,


--ganooch
 
Old 08-13-2006, 06:43 PM   #2
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
as root, download ndiswrapper and unpack it to /usr/local/src.
wget http://umn.dl.sourceforge.net/source...er-1.23.tar.gz
cd /usr/local/src
tar xvfz /root/ndiswrapper-1.23.tar.gz

Then cd into that directory and build it.
cd ndiswrapper-1.23
./configure && make && make install

Then load the ndiswrapper module.
modprobe ndiswrapper

Then unpack the Windows divers and cd into that directory. The issue the command ndiswrapper -i <the inf name of the driver>
 
Old 08-15-2006, 01:50 PM   #3
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tangle
as root, download ndiswrapper and unpack it to /usr/local/src.
wget
cd /usr/local/src
tar xvfz /root/ndiswrapper-1.23.tar.gz

Then cd into that directory and build it.
cd ndiswrapper-1.23
./configure && make && make install

Then load the ndiswrapper module.
modprobe ndiswrapper

Then unpack the Windows divers and cd into that directory. The issue the command ndiswrapper -i <the inf name of the driver>

Good right to here: ./configure && make && make install

I get the following error: -su: ./configure: No such file or directory.

Any ideas?
 
Old 08-15-2006, 02:24 PM   #4
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
It has been a while since I used ndiswrapper, I thought it it had to be configured first. Try make && make install. There is a readme or install file with the source that will tell you how to install it.
 
Old 08-15-2006, 02:55 PM   #5
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware
Posts: 1,880

Rep: Reputation: 51
The answers are all here:
http://ndiswrapper.sourceforge.net/m....php/Main_Page
 
Old 08-16-2006, 06:29 PM   #6
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by tangle
It has been a while since I used ndiswrapper, I thought it it had to be configured first. Try make && make install. There is a readme or install file with the source that will tell you how to install it.
I couldn't get it to compile with the 2.6.13 kernel. I updated to 2.6.17 and ran ndiswrapper. Now it recognizes my wifi card as eth0. Now to get home and try to access my wireless access point...
 
Old 08-17-2006, 07:05 AM   #7
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
It is not working! A couple of points:

1) The essid of my network is 2 words with a space. I inputted it like this:
iwconfig eth0 essid wireless\ net

2) I also ran these commands:
iwconfig eth0 key xxxxxxxx
iwconfig eth0 key on
iwconfig eth0 ap any
dhcpcd eth0

3) Afterward, for good measure, I even add:
/etc/rc.d/rc.pcmcia restart

I am at a loss. What am I missing? I compiled all of the above commands into a script with the exception of /etc/rc.d/rc.pcmcia restart. That I run after the script after I realize that I can't connect.

What do I need to configure under ifconfig? All ifconfig (no parameters) lists is lo. I even shut this down with:
ifconfig lo down

I am open to any suggestions and thanks for the help.

--ganooch
 
Old 08-17-2006, 07:43 AM   #8
tangle
Senior Member
 
Registered: Apr 2002
Location: Arbovale, WV
Distribution: Slackware
Posts: 1,761

Rep: Reputation: 78
Have you tried using /etc/rc.d/rc.inet1 restart? I Live in the middle of no where so I have only one essid to worry about and it's mine. This just connects to the first essid that shows up.

Try puting the two word essid name in quotes, "wireless net". I am not sure if that will work just something off the top of my early morning head.
 
Old 08-28-2006, 09:32 AM   #9
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
I am still stuck! I would really like to get this working...
When I run /etc/rc.d/rc.inet1 restart I get the following errors:
**** /sbin/dhcpcd not running
SIOCSIFFLAGS: No such file or directory
/etc/rc.d/rc.inet1: eth0 is 'Any ESSID'

I have the driver and hardware recognized. I have a script that sets the essid and the WEP key. iwconfig shows the card as eth0. ifconfig only shows lo. I do a ifconfig etho up and I get "SIOCSIFFLAGS: No such file or directory". I do a ifconfig -a and I see that eth0 is there. It states:

eth0 Link encap:Ethernet HWaddr 00:14:A5:23:BD:6B
BROADCAST NOTRAILERS MULTICAST MTU:1500 Metric:1
RX Packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 {0.0 b} TX bytes:0 {0.0 b}
Interrupt:5

iwconfig eth0 states:

eth0 IEEE 802.11b/g ESSID:"wireless" Nickname:"chris"
Mode:Managed Access Point:FF:FF:FF:FF:FF:FF Bit Rate=1 Mb/s
RTS thrff Frament thrff
Encryption key:omitted Security modepen
Link Quality:0 Signal Level:0 Noise Level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

The wireless network is up, the encrytion key is valid, there are no MAC address filters on the router, the essid is right. I am thinking that I will need to get eth0 to show up under ifconfig somehow, but ifconfig eth0 up triggers the error shown above. If anyone has ANY ideas, I would appreciate it.
 
Old 10-01-2006, 06:03 PM   #10
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
UPDATE and subsequent plea for help

I am pretty new to Linux and I am having trouble getting wireless to work. Here is my situation. I have Slackware 10.2 and kernel 2.6.17. I have loaded and run ndiswrapper. I have an HP zd8000 laptop with a Broadcom internal wireless card. After compiling and running ndiswrapper, I enter: ndiswrapper -l and get back bcmwl5 driver installed, hardware present. iwconfig shows that eth0 is my wireless card. I created a script called wireless in vi and after I run it I enter iwconfig again and eth0 is shown with all of the proper information such as ESSID, Encryption Key, Security Mode, ect. Here is where I am stuck:

When I enter ifconfig, all I see is lo and the local loopback's properties. I enter ifconfig -a and it shows eth0, eth1, lo, and sit0 all with more information. As I know the MAC adress of the wireless card, it is easy to confirm that, in fact, eth0 is my wireless card. So I assume that the next course of action would be the command ifconfig eth0 up. I enter this command and get the following result: SIOCSIFFLAGS: No such file or directory. Now there has got to be something that I am missing here.

What is the proper command to get eth0 active in ifconfig? Also, what other steps have I missed or do I need to take to get connected on my wireless network. I am relying on the wealth of knowledge of the people in this forum, because I have been to several other forums and read endless documentation both online and in the source code to no avail. I have been at this for 1 month now (I should say 3 weeks because I have gotten frustrated and gave up for a week). Any help whatsoever would be greatly appreciated.



Thank you in advance,

ganooch
 
Old 10-01-2006, 09:02 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I think Eric Hameleer's Slackware Wiki will have all the answers you need.

First, in a terminal, issue "/sbin/lspci" to find out which chipset your card uses. That will allow you to choose the help for your driver under the Wireless category in Eric's Wiki. (You might not have to use ndiswrapper, and the latest stable kernel has more Broadcom support.)

Since you're using Slackware-10.2, I'd suggest you update your rc.inet1* and rc.wireless* files according to Eric's instructions.

If you're still stuck after following this advice, post back what you did, and what happened, and we'll go from there. Wireless in Slackware works very well once you're properly configured.
 
Old 10-02-2006, 06:24 PM   #12
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
I followed the advice from the above links and I am in the same place that I started. I think that the one issue that needs to be addresses is that my wireless card is identified as eth0. In all of the documentation that I have read, it is stated that this interface should be wlan0. When I do a modprobe ndiswrapper -m, the alias of wlan0 is assigned, but in iwconfig and ifconfig, the card still shows up as eth0.

Any advice from this point is greatly appreciated.


--ganooch
 
Old 10-08-2006, 03:48 PM   #13
ganooch
Member
 
Registered: Aug 2006
Location: Dallas, TX
Distribution: Slackware 11.0
Posts: 39

Original Poster
Rep: Reputation: 15
Another Update:

I have changed some parameters in /etc/rc/rc.inet1.config and now my wireless card comes up as wlan0! A iwlist wlan0 scan shows my wireless network, but I can not connect. I am so close here! What do I need to do to get an IP address from my wireless router? I configured the gateway IP in the rc.inet1.config file. Please, I am open to any and all suggestions.

Thanks,

Ganooch
 
Old 10-09-2006, 12:34 AM   #14
the1sephiroth
Member
 
Registered: Oct 2005
Location: east coast
Distribution: Ubuntu
Posts: 131

Rep: Reputation: 15
i am having similar problems with my slackware. it works sometimes and other times it doesn't and i fiddle with it for a while and get it to work, and i never remember what i did to make it work. i load the drivers and i get the hardware detected and present(can't remember exact) from my linksys drivers. then i do depmod -a and then modprobe ndiswrapper.
then i type iwlist wlan0 scan and it tells me no such device. so i think maybe set the essid. i try iwconfig wlan0 essid linksys and it tells me that device isn't available. what am i doing wrong?

thanks
 
Old 10-09-2006, 10:11 PM   #15
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
Lets face it - Slackware is worthless for wireless. Thank goodness there are other distributions that are wireless-friendly - mainly anything with Gnome so you can install NetworkManager and have the whole process automated.

If only KDE would get a clue...
 
  


Reply



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
Wireless card problem on Slack 10.2 with 2.6.17.1 brooky9999 Slackware 8 06-26-2006 10:55 AM
Wireless card (in PCI slot) slack ditribution zowey Linux - Hardware 1 04-20-2005 12:55 PM
Slack 10.1 PC card Linksys Wireless setup help nerdism Linux - Wireless Networking 2 02-28-2005 06:56 AM
USB multi-card reader; only one card can be mounted in Slack 10. KidsWriter71 Linux - Hardware 6 09-11-2004 07:24 PM
slack 9.1 -- PCMCIA wireless card + DHCP -- can't pull an IP rfrenz20 Slackware 2 02-04-2004 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

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

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
Open Source Consulting | Domain Registration