Wireless Network
02:00.0 Network controller: Broadcom Corporation BCM4312 802.11a/b/g (rev 01)
Hardware Driver 설치
Broadcom B43 wireless driver 또는 Broadcom STA wireless driver
Broadcom B43 wireless driver인 경우 wlan0
Broadcom STA wireless driver인 경우 eth1
마스터 모드로 만들어주기 위해
sudo iwconfig wlan0 mode master
실패
Master mode를 지원하지 않는 것 같다는...
관련자료를 참고하여 hostapd를 이용한 설정(테스트 전)
1) 패키지 다운로드
sudo apt-get install b43-fwcutter
sudo apt-get install bridge-utils hostapd
2) 브릿지 설정
/etc/network/interfaces 편집
auto eth0 wlan0 br0
iface eth0 inet manual
up /sbin/ifconfig eth0 up
down /sbin/ifconfig eth0 down
iface wlan0 inet manual
up /sbin/ifconfig wlan0 up
down /sbin/ifconfig wlan0 down
iface br0 inet static
address 192.168.*.*
netmask 255.255.255.0
gateway 192.168.1.1
bridge_ports eth0 wlan0
3) hostapd 설정
sudo mv /etc/hostapd/hostapd.conf /etc/hostapd/hostapd.conf.bkk 백업
/etc/hostapd/hostapd.conf 편집
driver=nl80211
interface=wlan0
bridge=br0
hw_mode=b
ssid=Trojan-Win32
channel=1
4) 재실행
sudo shutdown -r now
5) hostapd 실행
sudo /usr/sbin/hostapd /etc/hostapd/hostapd.conf
관련 자료
Using an Ubuntu Powered Laptop as Access Point
How to convert an $800 laptop into a $40 wireless router
HOW TO : Wifi Access Point with hostap + hostapd + freeradius + mysql backend Part 1
HOW TO : Wifi Access Point with hostap + hostapd + freeradius + mysql backend Part 2
댓글 없음:
댓글 쓰기