| 16:08 | curlymo | @jnettlet, are you there? |
| 16:21 | m_anish | If at first things seem sluggish, blame selinux :) |
| 19:36 | Geo | Hi, is there anything special to get a script to run from rc.local ? In cubox (debian deriv) I entered a few nc listeners, but they are not running |
| 19:39 | Geo | or, im simpler terms- how do I run a command at boot on cubox? |
| 19:48 | curlymo | rc.local should work |
| 19:50 | m_anish | Hi, would anybody know if the iptables_nat module is not present on the fedora 21 kernel for hb-i4pro? |
| 19:51 | m_anish | I get "FATAL: Module iptable_nat not found." if I try modprobe (iptables rpm _is_ installed and latest version) |
| 19:52 | cbxbiker61 | you spelled it wrong |
| 19:56 | m_anish | cbxbiker61, ? |
| 19:57 | cbxbiker61 | iptable_nat/iptables_nat |
| 19:57 | cbxbiker61 | i guess it was iptable_nat |
| 19:58 | m_anish | cbxbiker61, neither works with modprobe .. same error "FATAL: Module iptable_nat not found." |
| 19:58 | cbxbiker61 | find /lib/modules -name iptable_nat.ko |
| 19:58 | cbxbiker61 | zcat /proc/config.gz | grep IPTABLE |
| 19:58 | m_anish | aha, interesting... |
| 19:59 | m_anish | http://fpaste.org/170933/15211901/ |
| 20:00 | m_anish | cbxbiker61, could be that it's not compiled with the latest kernel |
| 20:00 | cbxbiker61 | which kernel? uname -m |
| 20:00 | m_anish | (i just yum updated as the instructions said, right after copying to the sd card) |
| 20:00 | m_anish | 3.18.2-300.11.1.cuboxi_hb.fc21.armv7hl |
| 20:01 | m_anish | uname -m ; armv7l |
| 20:01 | cbxbiker61 | do that zcat and look for NAT |
| 20:01 | m_anish | CONFIG_IP_NF_IPTABLES=y |
| 20:01 | m_anish | CONFIG_IP6_NF_IPTABLES=m |
| 20:01 | m_anish | one sec |
| 20:01 | cbxbiker61 | it's built in, so it should work |
| 20:03 | m_anish | hmm.. but it looks like it's not, right ? the ko is there for kernel versions 3.17.4-301.fc21.armv7hl, 3.17.8-300.fc21.armv7hl but not the kernel being used |
| 20:03 | m_anish | check the fpaste http://fpaste.org/170933/15211901/ |
| 20:04 | cbxbiker61 | it's built in, so modprobe is unnecessary |
| 20:04 | m_anish | hm |
| 20:05 | m_anish | cbxbiker61, basically I was trying this : http://fpaste.org/170936/14215215/ |
| 20:05 | m_anish | the wlan0 is setup with hostapd and dhcp to act as an access point |
| 20:05 | m_anish | and eth0 is connected to the internet |
| 20:06 | m_anish | the idea being that the hb acts as a 'wireless hotspot' |
| 20:06 | m_anish | so needed iptables nat-ing to route traffic accordingly, and doesnt seem to be working |
| 20:07 | m_anish | cbxbiker61, any ideas? |
| 20:09 | m_anish | cbxbiker61, also in the config.gz there is a commented message "# CONFIG_IP_NF_NAT is not set" .. I'm not very experienced at this so dont know what it really means |
| 20:12 | cbxbiker61 | that may be it, if you're doing headless install my 3.18.3 kernel, which i'll put online in a few mins |
| 20:12 | m_anish | cbxbiker61, yep, it's a headless install |
| 20:12 | m_anish | cbxbiker61, thx, will look fwd to it. |
| 20:13 | m_anish | it's 1am in my TZ(UTC+5:30), but I'll leave the IRC client running, and install in the morning if I doze off |
| 20:13 | m_anish | thanks! :-) |
| 20:15 | cbxbiker61 | ok, it's there, if you're not familiar with my kernels, look on the forum in the kernel topic, there's a thread that discusses the installation |
| 20:15 | m_anish | ah, great, looking |
| 20:15 | m_anish | (i'm not familiar :) ) |
| 20:28 | m_anish | cbxbiker61, is this your script I should use? http://www.xilka.com/kernel/UPDATE-KERNEL.sh |
| 20:29 | cbxbiker61 | yes, make sure the /boot directory is mounted if you have a dedicated partion for /boot |
| 20:30 | m_anish | yep it's mounted 250mb free space, should be ok i guess |
| 21:02 | vpeter | Is hummingboard having power off? |
| 21:03 | cbxbiker61 | do you mean have a power switch? |
| 21:05 | m_anish | cbxbiker61, looks like wlan0 vanished after updating the kernel |
| 21:06 | cbxbiker61 | what chip does the adapter use? |
| 21:06 | R0nd | still can't get kodi to work with hw video decoding :( |
| 21:07 | m_anish | it's inbuilt wlan module what comes with the hummingboard-i4pro |
| 21:07 | cbxbiker61 | let me look into that |
| 21:07 | m_anish | cbxbiker61, ok |
| 21:08 | m_anish | cbxbiker61, if you have a static ip, and would like to ssh in, lemme know :) (i'll leave the board running) |
| 21:11 | vpeter | cbxbiker61: I mean what happen if you run comamnd shutdown. |
| 21:11 | cbxbiker61 | m_anish, you'll probably have to modprobe brcmfmac, they probably had it built-in |
| 21:12 | cbxbiker61 | vpeter, oh, well it doesn't actually turn power completely off, but the cpu shutsdown |
| 21:13 | m_anish | cbxbiker61, doing that added the following lines to lsmod |
| 21:13 | m_anish | brcmfmac 178910 0 |
| 21:13 | m_anish | brcmutil 4317 1 brcmfmac |
| 21:13 | m_anish | cfg80211 193311 1 brcmfmac |
| 21:13 | m_anish | rfkill 13553 1 cfg80211 |
| 21:14 | m_anish | cbxbiker61, no wlan0 still, but does ^^ look promising? |
| 21:15 | vpeter | cbxbiker61: Then this is normal - http://www.solid-run.com/community/topic1498-440.html#p16652 |
| 21:16 | cbxbiker61 | vpeter yes |
| 21:16 | vpeter | cbxbiker61: I was correct than :) |
| 21:17 | cbxbiker61 | i've order some inline 2.1mm barrel connection switches, they should be useful for powerdown on a cubox-i |
| 21:17 | cbxbiker61 | adafruit has them |
| 21:18 | cbxbiker61 | m_anish, do dmesg |
| 21:18 | cbxbiker61 | brcmfmac should post messages |
| 21:18 | m_anish | cbxbiker61, http://fpaste.org/170952/15259021/ |
| 21:19 | cbxbiker61 | ls /lib/firmware/*brcm* |
| 21:20 | cbxbiker61 | ifconfig |
| 21:20 | m_anish | http://fpaste.org/170953/15260051/ |
| 21:20 | m_anish | cbxbiker61, ifconfig just has eth0 and lo |
| 21:21 | m_anish | nmcli dev lists eth0, can0, lo |
| 21:21 | cbxbiker61 | journalctl -a | grep firmware |
| 21:23 | m_anish | cbxbiker61, http://fpaste.org/170954/42152618/ |
| 21:28 | cbxbiker61 | m_anish, interesting i get wlan when i use 3.14.29 but not 3.18.3 |
| 21:29 | cbxbiker61 | i'll have to look into that further, but you could use 3.14.29 in the meantime |
| 21:29 | m_anish | (happy to provide ssh access if that helps, i need to hit the bed soon :-) ) will take this up tomorrow |
| 21:29 | m_anish | cbxbiker61, ok |
| 21:29 | m_anish | cbxbiker61, thx!! |
| 21:29 | cbxbiker61 | yep |