LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General > LinuxAnswers Discussion
User Name
Password
LinuxAnswers Discussion This forum is to discuss articles posted to LinuxAnswers.

Notices

Reply
 
Search this Thread
Old 09-15-2003, 08:14 PM   #1
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Ubuntu
Posts: 208

Rep: Reputation: 31
Post DISCUSSION: Building a Slackware Wireless Access Point


This thread is to discuss the article titled: Building a Slackware Wireless Access Point
 
Old 09-30-2003, 01:23 PM   #2
theory
LQ Newbie
 
Registered: Sep 2003
Location: Southwest WA
Distribution: Slackware 9
Posts: 4

Rep: Reputation: 0
I used your document this weekend to setup an AP on my slackware 9 box. I commented out the encryption key so that I had an open system and was able to pick up the ESSID and connect to the AP. The problem was that I was not able to retrieve an IP address for my client system. I'll continue working on this to see if the problem is with my setup.

Few questions:

1: In your setup what range of IP Addresses are given out as DHCP addresses?

2: To change the broadcast IP range do you change the following in rc.wlan0 & rc.firewall?

/etc/rc.d/rc.wlan0
# Original document had this: IPADDR=192.168.1.1
IPADDR=192.168.###.1

/etc/rc.d/rc.firewall
# Add masquerading to the POSTROUTING chain in the nat table.
$IPT --table nat \
--append POSTROUTING \
--out-interface eth0 \

# here is the change ### = ### in IPADDR= in rc.wlan0
# old line was: --source 192.168.1.0/24 \
--source 192.168.###.0/24 \
--destination 0/0 \
--jump MASQUERADE
 
Old 12-17-2003, 08:04 PM   #3
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Ubuntu
Posts: 208

Original Poster
Rep: Reputation: 31
Sorry for not responding... didn't realize that there was a post in the discussion.

Currently I don't have DHCP set up for my wireless network (that's why it's in the "to do" section.) If I were to set up DHCP my range of valid host IP addresses would be 192.168.1.2 to 192.168.1.254. That's because I use a 24 bit network mask, which leaves the last eight bits available to create unique host addresses. One of those addresses is considered the "network" address (192.168.1.0). One of those addresses is taken by my Linux box (192.168.1.1) and the other is taken by the broadcast address (192.168.1.255).

I'm not sure what you mean by changing your broadcast IP range. If you're using a 24 bit network mask then your broadcast address is 192.168.1.255. If you're using a different number of bits for the network portion of your address then you'll need to change your broadcast address so that all non-network bits are set.

Maybe this example will help. I'll show the binary addresses with braces around the host portion of the addresses, then I'll show the dotted quad equivalence:

Let's say that you need addresses for more than 254 hosts (.1 throught .254), so you make your network mask 23 bits instead of 24 bits. That means you can use 9 bits to create 510 distinct host addresses instead of 8 bits to create 254 distinct host addresses.

Your network address (where the host portion is all zeros) in binary will be 11000000.10101000.0000001[0.00000000] which is 192.168.2.0 in dotted quad notation. Your broadcast address (where the host portion is all ones) in binary will be 11000000.10101000.0000001[1.11111111] which is 192.168.3.255 in dotted quad notation. The valid hosts are 11000000.10101000.0000001[0.00000001] which is 192.168.2.1 to 11000000.10101000.0000001[1.11111110] which is 192.168.3.254.

It's easier just to stick with a 24 bit network mask unless you really need more addresses than that. You should consult a good TCP/IP administration book. O'reilly has a pretty good one.
 
Old 02-21-2004, 12:35 PM   #4
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
I was interested by the need you mentionned, of adding a "modprobe" in rc.somewhere.
Maybe that's why my own adapter works when just manually installed, and not after reboot.

Last edited by zorba4; 03-05-2004 at 06:50 AM.
 
Old 06-04-2004, 01:04 PM   #5
LuggerHouse
Member
 
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 208

Rep: Reputation: 30
Hey guys,
Nice document there !!! I might be tempted to by a WiFi card just to try it... My question is: did you ever thought of how many clients you can hook to this access point ?? I would be interested to, mayby use your technology to offer hotspoting in my area...

Tks for any replies!

Last edited by LuggerHouse; 06-04-2004 at 01:08 PM.
 
Old 05-12-2005, 09:51 AM   #6
Atrocity
Member
 
Registered: Nov 2002
Location: Hell
Distribution: FreeBSD, Slackware
Posts: 308

Rep: Reputation: 30
nice document, I added that file and executed it and my card is an access point that easy, then I had 3 other cards in that box so I fired them up and gave them the network key and they all have a connection to the First card

Current specs : 4 atheros Mini PCI cards running on slack 10.1 kernal 2.4
Running Madwifi drivers

Later on I am goign to try to fire up all of those cards as separate access points and see if I actually get an internet connection with them, it apears that I would but you never know since i am not sure if I have an ip address or not.

CONCERNS!
You said its not done with DHCP so would that mean I would have to assign each client an ip address in the 192.168.1.xx range in order to reach the internet?????????????????????????

Problems!
My only problem is the calling code that I added to the rc.inet1 file it calls the rc.wlan0 file on boot but says that my interface is not found, then apears to be up when I iwconfig it but nothing can connect! Its easy enough to fix though I just took the code out of rc.inet1 and just manually did a ./rc.wlan0 and all is well, its not a big deal since I dont really need the access point to go up at boot automatically but if somone has a workaround would be helpfull to post it or an explanation of why it wouldnt find my card at boot but does just fine afterwards
 
Old 01-10-2006, 04:11 PM   #7
madwifimoody
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
Lightbulb went to netgear

went to netgear and did a product search for the MA311 and this is what i got Did You Mean: ma111

Your search did not match any documents.

* Make sure all words are spelled correctly.
* Try using fewer words.
* Try using more general keywords.
* Try different keywords or spellings.
is there another card that will work like the ma311 from netgear?
 
Old 01-10-2006, 04:45 PM   #8
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 331Reputation: 331Reputation: 331Reputation: 331
madwifimoody,

I went to netgear.com and looked in their product finder on the first page. The product finder is just above the product search. I clicked on the button and found the ma111. Here is the page:

http://netgear.com/products/details/MA111.php
 
Old 01-10-2006, 10:52 PM   #9
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Ubuntu
Posts: 208

Original Poster
Rep: Reputation: 31
No, that's not it. Look on Amazon .

I wrote the tutorial a couple of years ago, so I don't think that the card is in production anymore. Anything with a Prism chipset should work, I think.
 
Old 01-11-2006, 04:02 AM   #10
madwifimoody
LQ Newbie
 
Registered: Jan 2006
Posts: 13

Rep: Reputation: 0
Thumbs up

thanks for replying so quikly do you know which linksys/netgear ect ect. adapters that currently have the prism chipsets in them the reason im asking is because im looking into setting up a community based free access network in my area id prefeer using linux to do it with rather than some off the shelf ap becuase linux offers so much more plus i can pick up PI and PII for less then $25 dollers in my area then add the cost of the card + material and the price is about the same as buying a crummy off the shelf product that doesent allow you to do half of what linux with a few add ons will do
i origonaly posted in the wireless networking section about this with no answers then found your tutorial i used to run slackware it was my first distro i installed and ran for about a year any ways thanks for the info keep up the good work
 
Old 01-11-2006, 10:57 AM   #11
eric.r.turner
Member
 
Registered: Aug 2003
Location: Planet Earth
Distribution: Ubuntu
Posts: 208

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by madwifimoody
do you know which linksys/netgear ect ect. adapters that currently have the prism chipsets in them
Best thing to do is take a look at the hostap website, and perhaps contact the author of the driver.
 
Old 09-09-2006, 01:36 AM   #12
cooljimwhy
LQ Newbie
 
Registered: Nov 2005
Location: New Concord, Ohio
Distribution: Slack' for now, trying Ubuntu / Gentoo.
Posts: 11

Rep: Reputation: 0
Wow, this is much later than the other posts, but I would like to thank the author for a wonderfully written tutorial. I had numberous problems, definately the orinoco_pci driver problem, and a few other script problems, but they were all by fault of me. I kept re-reading the tutorial, and re-reading it, and finally got it! Thanks a bunch.

My new AP:
Slack 10.2
Linksys B card
....on a 233mhz laptop!

...and my college says "no wireless systems"

pfffft, it'll just look like a regular computer on the LAN

-Jimmy
 
  


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
Wireless router to wireless access point J3N7iL Linux - Wireless Networking 2 09-29-2005 08:55 PM
Wireless Router vs Wireless Access Point IBall Linux - Wireless Networking 2 02-01-2005 12:29 PM
building a wireless acess point geden Linux - Wireless Networking 3 11-29-2004 08:03 PM
Which is the best Wireless Access Point and Wireless Card? hamish Linux - Wireless Networking 13 05-04-2004 10:26 AM
Wireless Access Point using Slackware 9 and Netgear MA311 PCI eric.r.turner LinuxQuestions.org Member Success Stories 2 09-07-2003 11:10 PM


All times are GMT -5. The time now is 03:06 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration