Hy all,
Where is the GuruPlug and SheevaPlug dev Kit support in trunk ?
How can I enable them and make a jffs2-nand rootfs ?
(Last edited by drEagle on 4 Dec 2014, 16:17)
The content of this topic has been archived on 10 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.
Hy all,
Where is the GuruPlug and SheevaPlug dev Kit support in trunk ?
How can I enable them and make a jffs2-nand rootfs ?
(Last edited by drEagle on 4 Dec 2014, 16:17)
I have them included now.
Next step, wifi on the guruplug.
Is there any clue about integrating wireless on the guruplug ?
I try to get wifi working on the kirkwood GuruPlug.
I have compiled the kmod-libertas-sd and get wifi detected :
root@OpenWrt:/# wifi detect
config wifi-device radio0
option type mac80211
option channel 11
option hwmode 11g
option path ''
option htmode
# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 1
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid OpenWrt
option encryption none
It seems to works : (mac address information obfuscated)
root@OpenWrt:/# iw wlan0 info
Interface wlan0
ifindex 4
wdev 0x1
addr 00:xx:yy:zz:aa:bb
type managed
wiphy 0
root@OpenWrt:/# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:xx:yy:zz:aa:bb
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
I have enabled it.
root@OpenWrt:/# wifi detect > /etc/config/wireless
root@OpenWrt:/# uci set wireless.radio0.disabled=0
root@OpenWrt:/# uci commit wireless
wifi activated with success :
root@OpenWrt:/# ifconfig wlan0 up
[ 882.888629] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
scan neightbour works : (some information obfuscated)
root@OpenWrt:/# iw wlan0 scan
BSS 00:aa:bb:cc:dd:ee(on wlan0)
TSF: 874066707 usec (0d, 00:14:34)
freq: 2437
beacon interval: 100 TUs
capability: ESS Privacy ShortPreamble ShortSlotTime (0x0431)
signal: -95.00 dBm
last seen: 260 ms ago
SSID: Livebox-14cd
Supported rates: 1.0* 2.0* 5.5* 11.0* 6.0 9.0 12.0 18.0
DS Parameter set: channel 6
RSN: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: CCMP TKIP
* Authentication suites: PSK
* Capabilities: 1-PTKSA-RC 1-GTKSA-RC (0x0000)
WPA: * Version: 1
* Group cipher: TKIP
* Pairwise ciphers: CCMP TKIP
* Authentication suites: PSK
ERP: <no flags>
Extended supported rates: 24.0 36.0 48.0 54.0
WMM: * Parameter version 1
* u-APSD
* BE: CW 15-1023, AIFSN 3
* BK: CW 15-1023, AIFSN 7
* VI: CW 7-15, AIFSN 2, TXOP 3008 usec
* VO: CW 3-7, AIFSN 2, TXOP 1504 usec
HT capabilities:
Capabilities: 0x100c
HT20
SM Power Save disabled
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 8 usec (0x06)
HT RX MCS rate indexes supported: 0-15
HT TX MCS rate indexes are undefined
HT operation:
* primary channel: 6
* secondary channel offset: no secondary
* STA channel width: 20 MHz
* RIFS: 1
* HT protection: no
* non-GF present: 0
* OBSS non-GF present: 0
* dual beacon: 0
* dual CTS protection: 0
* STBC beacon: 0
* L-SIG TXOP Prot: 0
* PCO active: 0
* PCO phase: 0
Country: FR Environment: Indoor/Outdoor
Channels [1 - 13] @ 20 dBm
WPS: * Version: 1.0
* Wi-Fi Protected Setup State: 2 (Configured)
* Response Type: 3 (AP)
* UUID: 00000000-0000-1000-0000-xxxxxxxxxxxxxxx
* Manufacturer: Sagem
* Model: Livebox FTTH v2
* Model Number: B.1.1.1
* Serial Number: ANxxxxxxxxxxxxxxxx
* Primary Device Type: 6-0050f204-1
* Device name: Livebox FTTH v2
* Config methods: Ethernet, Label, PBC
* RF Bands: 0x1
.......
----8<----
iwinfo and scan works also :
root@OpenWrt:/# iwinfo
wlan0 ESSID: unknown
Access Point: 00:00:00:00:00:00
Mode: Client Channel: unknown (unknown)
Tx-Power: unknown Link Quality: unknown/70
Signal: unknown Noise: unknown
Bit Rate: unknown
Encryption: unknown
Type: nl80211 HW Mode(s): 802.11bg
Hardware: 02DF:9104 0000:0000 [Generic MAC80211]
TX power offset: unknown
Frequency offset: unknown
Supports VAPs: no PHY name: phy0
scan (with some information obfuscated)
root@OpenWrt:/# iwinfo wlan0 scan
Cell 01 - Address: 11:11:11:11:11:11
ESSID: "Livebox-14cd"
Mode: Master Channel: 6
Signal: -91 dBm Quality: 19/70
Encryption: mixed WPA/WPA2 PSK (TKIP, CCMP)
Cell 02 - Address: 22:22:22:22:22:22
ESSID: unknown
Mode: Master Channel: 11
Signal: -64 dBm Quality: 46/70
Encryption: WPA2 PSK (CCMP)
Cell 03 - Address: 33:33:33:33:33:33
ESSID: unknown
Mode: Master Channel: 11
Signal: -54 dBm Quality: 56/70
Encryption: mixed WPA/WPA2 PSK (CCMP)
Cell 04 - Address: 44:44:44:44:44:44
ESSID: unknown
Mode: Master Channel: 11
Signal: -63 dBm Quality: 47/70
Encryption: WPA PSK (CCMP)
Cell 05 - Address: 55:55:55:55:55:55
ESSID: unknown
Mode: Master Channel: 11
Signal: -53 dBm Quality: 57/70
Encryption: mixed WPA/WPA2 PSK (CCMP)
root@OpenWrt:/#
root@OpenWrt:/# iw phy0 info
Wiphy phy0
max # scan SSIDs: 1
max scan IEs length: 0 bytes
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
Band 1:
Frequencies:
* 2412 MHz [1] (30.0 dBm)
* 2417 MHz [2] (30.0 dBm)
* 2422 MHz [3] (30.0 dBm)
* 2427 MHz [4] (30.0 dBm)
* 2432 MHz [5] (30.0 dBm)
* 2437 MHz [6] (30.0 dBm)
* 2442 MHz [7] (30.0 dBm)
* 2447 MHz [8] (30.0 dBm)
* 2452 MHz [9] (30.0 dBm)
* 2457 MHz [10] (30.0 dBm)
* 2462 MHz [11] (30.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
interface combinations are not supported
I get the LUCI GUI in error when test configuration :
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute arcombine dispatcher target for entry '/admin/network/wireless/radio0.network1'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua:187: attempt to index field 'hwmodelist' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>
The mode, channel, band and width are not shown in the GUI.
A bug in luci ?
An error or missing step in my test ?
If someone had any advice that I can try.
(Last edited by drEagle on 23 Dec 2014, 19:45)
mvsdio wlan0 activated :
root@OpenWrt:/# ls -l /sys/class/net
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/mv643xx_eth_port.0/net/eth0
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/mv643xx_eth_port.1/net/eth1
lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Dec 26 05:29 wlan0 -> ../../devices/ocp.1/f1090000.mvsdio/mmc_host/mmc0/mmc0:0001/mmc0:0001:1/net/wlan0
wlan0 wireless managed :
root@OpenWrt:/# iwconfig
lo no wireless extensions.
eth1 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
eth0 no wireless extensions.
but still no luck with luci :
/usr/lib/lua/luci/dispatcher.lua:448: Failed to execute arcombine dispatcher target for entry '/admin/network/wireless/radio0.network1'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/admin_network/wifi.lua:187: attempt to index field 'hwmodelist' (a nil value)
stack traceback:
[C]: in function 'assert'
/usr/lib/lua/luci/dispatcher.lua:448: in function 'dispatch'
/usr/lib/lua/luci/dispatcher.lua:195: in function </usr/lib/lua/luci/dispatcher.lua:194>
(Last edited by drEagle on 26 Dec 2014, 06:39)
I have tryed guessing a path option :
root@OpenWrt:/# cat /etc/config/wireless
config wifi-device 'radio1'
option type 'mac80211'
option channel '11'
option hwmode '11g'
option path 'ocp.1/f1090000.mvsdio/mmc_host/mmc0/mmc0:0001/mmc0:0001:1/net/wlan0'
config wifi-iface
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'OpenWrt'
option encryption 'none'
from
root@OpenWrt:/# ls -l /sys/class/net
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth0 -> ../../devices/platform/mv643xx_eth_port.0/net/eth0
lrwxrwxrwx 1 root root 0 Jan 1 1970 eth1 -> ../../devices/platform/mv643xx_eth_port.1/net/eth1
lrwxrwxrwx 1 root root 0 Jan 1 1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx 1 root root 0 Dec 26 05:29 wlan0 -> ../../devices/ocp.1/f1090000.mvsdio/mmc_host/mmc0/mmc0:0001/mmc0:0001:1/net/wlan0
still no success with luci
(Last edited by drEagle on 26 Dec 2014, 07:01)
Firmware correctly loaded :
root@OpenWrt:/# ethtool -i wlan0
driver: libertas
version: COMM-USB8388-323.p0
firmware-version: 10.38.1.p25
bus-info:
supports-statistics: no
supports-test: no
supports-eeprom-access: yes
supports-register-dump: no
supports-priv-flags: no
Given it complains about "hwmodelist" in luci, you should poke around iwinfo a bit more.
The discussion might have continued from here.