CubieTruck Config Access Point

References:

http://forum.cubietech.com/forum.php?mod=viewthread&tid=424&highlight=cubieboard%2B%E7%83%AD%E7%82%B9

For CubieTruck:

http://forum.cubietech.com/forum.php?mod=viewthread&tid=1580&highlight=cubietruck%2Bap

http://forum.cubietech.com/forum.php?mod=viewthread&tid=1737&highlight=cubietruck%2Bap

http://www.cubieforums.com/index.php/topic,1133.msg6743.html#msg6743

Scenario: Cubietruck with benn’s system using 3.4.61+ kernel 
Problem: Unable to configure hostapd using bcmdhd for wifi. Tried standard hostapd.conf but my Tablet cannot see the device
iwlist wlan0 scan  on ct shows the external wifi router.
linaro@cubietruck:~$ sudo iwlist wlan0 scan
wlan0     Scan completed :
          Cell 01 – Address: 00:1E:40:06:C5:F8
                    ESSID:”jpmhome”                                    <– That is my router
                    Mode:Managed
                    Frequency:2.462 GHz (Channel 11)
                    Quality:5/5  Signal level:-23 dBm  Noise level:-92 dBm
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : WEP-40
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s

linaro@cubietruck:~$ sudo iwconfig 
lo        no wireless extensions.

tunl0     no wireless extensions.

wlan0     IEEE 802.11  ESSID:””  
          Mode:Master  Frequency:2.412 GHz  Access Point: Not-Associated   
          Bit Rate:65 Mb/s   Tx-Power:32 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Managementmode:All packets received
          Link Quality=5/5  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

eth0      no wireless extensions.

p2p0      IEEE 802.11bgn  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=1496 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          
linaro@cubietruck:~$ cat /etc/hostapd/hostapd.conf 
interface=wlan0
ctrl_interface=/var/run/hostapd
ssid=skylab
channel=1

P.S: The Cubieboard2 worked well as an AccessPoint using Dongle supplied by Cubie.

Appreciate a way to solve this.
Joseph Mathew

Modified:
Solved it by modifying bcmdhd module load :
bcmdhd op_mode=2
Now the EESID is set and can access from another Tablet.

linaro@cubietruck:~$ sudo iwconfig 

wlan0     IEEE 802.11  ESSID:”skylab”  
          Mode:Master  Frequency:2.412 GHz  Access Point: 02:1A:11:FE:34:96   
          Bit Rate=65 Mb/s   Tx-Power:32 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr:off
          Power Managementmode:All packets received

Thanks !!
Cubietruck is a great board!! and I am all set to use that in my School Education project: SkyLab

One thought on “CubieTruck Config Access Point

Leave a comment