View difference between Paste ID: XH5gFZ3L and m9QXaEkh
SHOW: | | - or go back to the newest paste.
1-
iface br0 inet static
1+
[bas@celia]~> cat /etc/hostapd/hostapd.conf
2-
        bridge_ports wlan0
2+
driver=nl80211
3-
        address 192.168.100.1
3+
interface=wlan0
4-
        netmask 255.255.255.0
4+
#bridge=br0
5-
        hostapd /etc/hostapd/hostapd.conf
5+
6
ssid=celia
7
country_code=NL
8
channel=13
9
hw_mode=g
10
ieee80211n=1
11
#ht_capab=[HT40-][SMPS-STATIC][RX-STBC1]
12
13
macaddr_acl=0
14
auth_algs=1
15
ignore_broadcast_ssid=0
16
wpa=2
17
wpa_passphrase=testtest
18
wpa_key_mgmt=WPA-PSK
19
wpa_pairwise=TKIP
20
rsn_pairwise=CCMP
21
22
23
[bas@celia]~> cat /etc/network/interfaces
24
auto lo eth0 wlan0
25
26
iface lo inet loopback
27
28
iface eth0 inet dhcp
29
30
iface wlan0 inet manual
31
	#up   ip link set wlan0 up
32
	#down ip link set wlan0 down
33
	address 192.168.100.1
34
	netmask 255.255.255.0
35
        hostapd /etc/hostapd/hostapd.conf
36
37
#iface br0 inet static
38
#	bridge_ports wlan0
39
#	address 192.168.100.1
40
#	netmask 255.255.255.0
41
#	hostapd /etc/hostapd/hostapd.conf