LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 12-31-2010, 11:30 AM   #1
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch / Unix
Posts: 144

Rep: Reputation: 16
build an accesspoint


I want to build up an wifi accesspoint with my laptop.

1.

I've installed the firewall form Alien Bobs efg http://connie.slackware.com/~alien/efg.
1.1 choose the "gateway" option
wlan0
ip 10.1.1.1
netmask 255.255.255.0
and so on...

Manual set up
Code:
ifconfig wlan0 down
iwconfig wlan0 mode managed/ad-hoc
ifconfig wlan0 up
iwconfig wlan0 essid test
iwconfig wlan0 channel 1
iwconfig wlan0 key off
okay i think thats right!?

now I have here a script like this:
Code:
#!/bin/sh
IFACE="wlan0"
IADDR="10.1.1.1"
NMASK="255.255.255.0"
BCAST=`/bin/ipmask $NMASK $IADDR | sed 's/ .*//'`
/sbin/ifconfig $IFACE $IADDR broadcast $BCAST netmask $NMASK
/sbin/ifconfig $IFACE $IADDR up
Is it neccessary to use it like this ?

#ifconfig
to check
Code:
wlan0     Link encap:Ethernet  HWaddr 00:19:e0:8b:ed:35  
          inet addr:10.1.1.1  Bcast:10.1.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:990 errors:0 dropped:0 overruns:0 frame:0
          TX packets:473 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:324508 (316.9 KiB)  TX bytes:106391 (103.8 KiB)
#iwconfig
Code:
wlan0     IEEE 802.11bg  ESSID:"test"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
I tryed to set up the "ad-hoc" mode and the "managed" mode, but doesn't get access.

please help me !

And a happy new year !

Last edited by carlitoco; 12-31-2010 at 11:32 AM.
 
Old 01-01-2011, 08:57 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
As the output of iwconfig shows, the card is in "Managed" mode, which is the standard operating mode (in other words, the card is trying to connect to an AP with the SSID "test"). You need to put the card into either Ad-Hoc, or ideally, Master mode.

Try just doing "iwconfig wlan0 mode master", and then if that gives an error (not all chipsets/drivers support Master) then do "iwconfig wlan0 mode ad-hoc".
 
Old 01-02-2011, 07:03 AM   #3
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch / Unix
Posts: 144

Original Poster
Rep: Reputation: 16
Quote:
I tryed to set up the "ad-hoc"
master mode doesn't work because I don't have madwifi, tryed to compile last days but it (Slackbuilds.org) doesn't work.
 
Old 01-02-2011, 08:19 AM   #4
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch / Unix
Posts: 144

Original Poster
Rep: Reputation: 16
Funy! My Smartphone already get the static ip connection to my "test" network, my other slackware wicd-controlled PC didn't connect.

How to connect manualy to wireless lan?
Code:
ifconfig wlan0 down
iwconfig wlan0 mode managed
ifconfig wlan0 up
iwconfig wlan0 essid test
iwconfig wlan0 channel 1
iwconfig wlan0 key off
and than ?

Code:
# dhcpcd wlan0
can't be right!?

thx!
 
  


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
[SOLVED] rt73usb as AccessPoint toredo Linux - Software 2 11-04-2010 04:40 PM
accesspoint, detected but can't connect efm Linux - Wireless Networking 3 11-07-2006 08:54 PM
Wlan without accesspoint? delta_simon Linux - Wireless Networking 1 02-25-2006 05:05 PM
can't ping accesspoint, but get essid timophej Linux - Wireless Networking 3 11-13-2005 07:55 AM
Problem to connect with AccessPoint jenser Linux - Wireless Networking 0 02-15-2005 03:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 11:58 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
Open Source Consulting | Domain Registration