Solved

Linux Wireless Access Point

Posted on 2003-12-08
9
891 Views
Last Modified: 2010-03-18
I'm trying to setup my Slackware Linux Computer as a wireless access point. I have installed the access point software and test it with my pocket PC. The Pocket PC will only find it if the wireless card is set at Ad-Hoc mode. rather then Master. I have also install the bridging sofftware too. I can't seem to get this thing running. I am open to suggestions.
0
Comment
Question by:Albert1809
  • 5
  • 4
9 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9900289
This is how I start my AP:

      /usr/sbin/brctl addbr br0
      /usr/sbin/brctl addif br0 eth0
      /usr/sbin/brctl addif br0 wlan0
      /sbin/ifconfig eth0 0.0.0.0
      /sbin/ifconfig wlan0 0.0.0.0
      /sbin/ifconfig br0 192.168.1.2 up
      /usr/sbin/iwconfig wlan0 master
      /usr/sbin/iwconfig wlan0 essid MyESSID
      /usr/sbin/iwconfig wlan0 key s:PASSWORD
      /usr/sbin/iwconfig wlan0 channel 11

      /usr/sbin/iwpriv wlan0 maccmd 1
      /usr/sbin/iwpriv wlan0 addmac xx:xx:xx:xx:xx:xx
      /usr/sbin/iwpriv wlan0 addmac xx:xx:xx:xx:xx:xx
      /usr/sbin/iwpriv wlan0 addmac xx:xx:xx:xx:xx:xx
0
 
LVL 1

Author Comment

by:Albert1809
ID: 9901679
I still can't get my Pocket PC to work while the Linux wireless card is set at Master mode. When I do have it at Ad-hoc mode i'm able to ping the wireless card  from the Pocket PC and ping from the Pocket PC to the wireless card.
0
 
LVL 1

Author Comment

by:Albert1809
ID: 9901689
BTW when the AP is in Master mode my Pocket PC refuses to 'pick up' the signal.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9903110
Do you have he correct essid on both sides?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 1

Author Comment

by:Albert1809
ID: 9903784
I manually entered in into my Pocket PC, but my Pocket PC won't even pickp a signal in master mode.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9903899
I had the same problem on a laptop: It did not display a signal at all until I corrected the essid.
0
 
LVL 1

Author Comment

by:Albert1809
ID: 9923894
Thanx for the quick response.  I entered the ESSID into the client (pda)... No luck yet.  But while looking through the syslog i found an error that said something about firmware 1.4.2  ... Now... I dont know how to check if the firmware on my wireless PCI card is version 1.4.2 .

If anyone knows how please specify.  I suspect that -that's causing the problem.  (hostap website says that hostap doesn't work right with v. 1.4.2)  

One more thing, please let me know which firmware version you're using.  Thank you :)
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 9924918
Here is the output of hostap_diag:

# ./hostap_diag wlan0
Host AP driver diagnostics information for 'wlan0'

NICID: id=0x8013 v1.0.0 (PRISM II (2.5) Mini-PCI (SST parallel flash))
PRIID: id=0x0015 v1.0.7
STAID: id=0x001f v1.3.6 (station firmware)

So it's 1.3.6. I never checked this, and I did not know that it's that old ... But it works.

You can find information about firmware flashing at this web page: http://linux.junsun.net/intersil-prism/
Keep in mind that this is dangerous stuff! It can ruin your card.
0
 
LVL 44

Accepted Solution

by:
Karl Heinz Kremer earned 500 total points
ID: 9924927
Oh, and just in case you have not figured this out yet from my comment, the command hostap_diag <device> prints the firmware version in the last line. Sorry for not explicitely mentioning this.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now