You are not logged in.

#1 2011-04-02 15:46:20

57lvii
Member
From: China
Registered: 2010-04-23
Posts: 38

can't start network , to set a wireless access point

hi guys!

I want share my net with my friend by my wirless network card.

I refer to these articles to set a wirless ap:

Software Access Point
https://wiki.archlinux.org/index.php/So … cess_Point

Turn your Linux computer into a wireless access point using hostapd
http://www.su-root.eu/computing/turn-yo … ng-hostapd

but they all use dhcp to give the IP addresses

I use STATIC IP ADRESS in my rc.conf

eth0="eth0 10.10.62.52 netmask 255.255.255.0 broadcast 10.10.62.255"

wlan0="wlan0 192.168.0.4 netmask 255.255.255.0 up"

wlan0="wlan0 up"
br0="br0 192.168.0.2 netmask 255.255.255.0 up"
INTERFACES=(lo eth0 wlan0 br0)

gateway="default gw 10.10.62.1"
ROUTES=(gateway)

/etc/conf.d/bridges

bridge_br0="eth0 wlan0"
BRIDGE_INTERFACES=(br0)

/etc/hostapd/hostapd.conf
is similar like this

interface=wlan0
bridge=br0
driver=nl80211
logger_stdout=-1
logger_stdout_level=2
ssid=test
hw_mode=g
channel=6
auth_algs=3
max_num_sta=5
wpa=2
wpa_passphrase=tryyourbest
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP CCMP
rsn_pairwise=CCMP

when I reboot my os, the network can't start

it shows error like this:

can't add wlan0 to bridge br0: Operation not supportedup:                                                                                                                                     
error fetching interface information: Device not found

thanks for your help!!!


Life is fantastic, we all pray it gives us the plain comfort life, do not tempt us.
But only in the face of difficult choices, we face the real self, we define ourselves !

Offline

#2 2011-04-02 15:50:19

57lvii
Member
From: China
Registered: 2010-04-23
Posts: 38

Re: can't start network , to set a wireless access point

I don't install iptables !


Life is fantastic, we all pray it gives us the plain comfort life, do not tempt us.
But only in the face of difficult choices, we face the real self, we define ourselves !

Offline

Board footer

Powered by FluxBB