B2 Wireless AP setup: RTL8188CUS
Posted: 12 Dec 2013, 11:54
Can you assist in the setup of a B2 as a Wireless Access Point?
I've bought a USB Wifi adapter, which seems to register:
mybubba@b2:~$ lsusb
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
I have done this:
apt-get install firmware-realtek
root@mybubba:/home/owner# lsmod
Module Size Used by
ipv6 247164 36
ipt_REJECT 2236 1
xt_state 800 4
xt_tcpudp 1808 7
iptable_filter 772 1
ipt_MASQUERADE 1160 1
iptable_nat 3220 1
ip_tables 11024 2 iptable_filter,iptable_nat
x_tables 12132 7 ipt_REJECT,xt_state,xt_tcpudp,iptable_filter,ipt_MASQUERADE,iptable_nat,ip_tables
nf_conntrack_irc 2912 0
nf_nat_ftp 1268 0
nf_nat 12278 3 ipt_MASQUERADE,iptable_nat,nf_nat_ftp
nf_conntrack_ipv4 9092 7 iptable_nat,nf_nat
nf_defrag_ipv4 848 1 nf_conntrack_ipv4
nf_conntrack_ftp 5128 1 nf_nat_ftp
nf_conntrack 47640 8 xt_state,ipt_MASQUERADE,iptable_nat,nf_conntrack_irc,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
fuse 61348 1
talitos 23848 0
mpc8xxx_wdt 3680 0
But I don't think the kernel module for the device has loaded.
How would I know the correct kernel module has loaded? Or should I be looking for some errors somewhere?
Also, my interfaces file just has the following. Do I need to add an entry for wlan0 ? Or if the correct kernel module loads, will that file be updated automatically?
root@mybubba:/home/owner# more /etc/network/interfaces
iface eth0 inet dhcp
iface eth1 inet static
address 192.168.1.10
gateway 192.168.1.1
netmask 255.255.255.0
auto lo
iface lo inet loopback
Any help on my next steps would be appreciated.
I've bought a USB Wifi adapter, which seems to register:
mybubba@b2:~$ lsusb
Bus 001 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN
I have done this:
apt-get install firmware-realtek
root@mybubba:/home/owner# lsmod
Module Size Used by
ipv6 247164 36
ipt_REJECT 2236 1
xt_state 800 4
xt_tcpudp 1808 7
iptable_filter 772 1
ipt_MASQUERADE 1160 1
iptable_nat 3220 1
ip_tables 11024 2 iptable_filter,iptable_nat
x_tables 12132 7 ipt_REJECT,xt_state,xt_tcpudp,iptable_filter,ipt_MASQUERADE,iptable_nat,ip_tables
nf_conntrack_irc 2912 0
nf_nat_ftp 1268 0
nf_nat 12278 3 ipt_MASQUERADE,iptable_nat,nf_nat_ftp
nf_conntrack_ipv4 9092 7 iptable_nat,nf_nat
nf_defrag_ipv4 848 1 nf_conntrack_ipv4
nf_conntrack_ftp 5128 1 nf_nat_ftp
nf_conntrack 47640 8 xt_state,ipt_MASQUERADE,iptable_nat,nf_conntrack_irc,nf_nat_ftp,nf_nat,nf_conntrack_ipv4,nf_conntrack_ftp
fuse 61348 1
talitos 23848 0
mpc8xxx_wdt 3680 0
But I don't think the kernel module for the device has loaded.
How would I know the correct kernel module has loaded? Or should I be looking for some errors somewhere?
Also, my interfaces file just has the following. Do I need to add an entry for wlan0 ? Or if the correct kernel module loads, will that file be updated automatically?
root@mybubba:/home/owner# more /etc/network/interfaces
iface eth0 inet dhcp
iface eth1 inet static
address 192.168.1.10
gateway 192.168.1.1
netmask 255.255.255.0
auto lo
iface lo inet loopback
Any help on my next steps would be appreciated.