IRC log of #cubox of Sat 05 Jan 2013. All times are in CET < Back to index

04:32 ChrisG_ anyone out there?
05:08 cbxbiker61 ChrisG_, what's up?
05:08 ChrisG_ just recieved my cubox, trying to work through the learning curve...
05:08 ChrisG_ i think i made it past the first hurdle...
05:09 ChrisG_ the installer kept saying my uboot was up to date, but it wasnt
05:09 ChrisG_ i found the instructions to update it manually, and installer is running now
05:10 ChrisG_ i have a feeling it si going to be a long night :-) can't wait to get this thing up and running
05:10 cbxbiker61 are you Linux savvy?
05:11 ChrisG_ i'm an old fart, and a little rusty, but yes
05:11 cbxbiker61 do you have a plan for the cubox yet?
05:11 ChrisG_ yes, not sure it will work, but grand plans...
05:11 ChrisG_ i plan to use it as a traffic monitoring device outside my firewall
05:12 ChrisG_ a little snort/snorby, and maybe some yaf for netflow IPFIX
05:13 cbxbiker61 it should work fine for that, i have one of my cuboxes acting as a firewall
05:14 cbxbiker61 i compiled snort for the cubox, but I haven't really taken the time to work through configuring it
05:14 ChrisG_ the plan is to make it act as a passive sniffer, one NIC listening on send and one listening on receive
05:15 ChrisG_ using USB nics from think penguin
05:15 ChrisG_ https://www.thinkpenguin.com/gnu-linux/penguin-usb-20-hi-speed-10100-fast-ethernet-network-adapter
05:15 ChrisG_ with the built in NIC being the internal mgmt interface
05:15 ChrisG_ anyway, that's the plan :-)
05:15 cbxbiker61 have fun
05:15 ChrisG_ i have a feeling since i'm working with ARM, i will be spening the next few days watching it compile
05:16 ChrisG_ any good distros yet, or am i pretty much looking at compilling source?
05:16 ChrisG_ i'm looking at installing arch linux
05:16 cbxbiker61 i have distcc setup, with matching compilers on my 8 core fx-8350
05:17 ChrisG_ nice
05:17 cbxbiker61 so my compiles on my cuboxes usually runs about 16 jobs at once, with most of them on the fx-8350
05:18 ChrisG_ how many do you have, and what are you using them for?
05:18 cbxbiker61 well i have a distro "Xilka" that is pretty good for the do-it-yourselfer
05:19 cbxbiker61 one firewall, and a couple for client xbmc duties
05:19 ChrisG_ cool
05:19 ChrisG_ sweet... me haz r00t
05:19 cbxbiker61 i haven't updated Xilka in quite a while though, and where it's at now is quite a bit from where it was for the last release
05:21 ChrisG_ have you used any USB NICs with it?
05:21 ChrisG_ i'm guessing on the firewall you are using multiple interfaces
05:23 cbxbiker61 yeah, the usb network adapter i have works perfectly
05:23 cbxbiker61 pretty sure it's a dlink, but a lot of them use the same chips
05:25 cbxbiker61 no Windows boxes in this house, but you wouldn't believe how many linux boxes i have
05:26 cbxbiker61 even a Samsung TV running Linux
05:29 ChrisG_ :)
05:29 ChrisG_ mostly Mac here... but let's just call that BSD :P
05:32 cbxbiker61 yes, at least I can respect Apple for using a strong core architecture, Windows on the other hand has always made me laugh at all of the artificial hurdles you run into because the core is so lame.
05:33 ChrisG_ :-)
05:36 ChrisG_ nice... USB nics loaded right up, this is going better than i thgouht
05:39 cbxbiker61 later, i'm going to catch an episode of Fringe
10:39 niteye those micro SD cards are too damn small
11:05 NotRelevant NotRelevant http://www.cnx-software.com/2012/12/26/135-armbrix-zero-exynos-5-development-board-is-now-available-for-pre-order
11:05 NotRelevant http://www.armbrix.com/
16:22 pioj hi. Is anyone there? I need some help, I think my cubox is bricked
16:22 michaelcubox hello
16:22 michaelcubox what was your last setps you did?
16:22 pioj Im in a putty terminal from Ubuntu
16:23 michaelcubox putty over ssh or serial?
16:23 pioj because last time I put a distro on a SD the device didnt boot at all and nothing in the screen appeared.
16:23 michaelcubox did u use cubox installer?
16:24 pioj so, Im connected in ubuntu to the microusb, to the cubox, and..
16:24 michaelcubox what does happen if you powrcycle your cubox?
16:24 pioj I cant recall if I did, I think I didnt
16:24 pioj ok ok, let me explain
16:25 pioj Im getting the next on the terminal putty:
16:26 michaelcubox you can also use http://pastebin.com/ if that is easier for you ;-)
16:27 pioj yep
16:27 pioj its what i was doing right now
16:27 pioj http://pastebin.com/qhPPH3wA
16:27 pioj sorry for the delay
16:28 pioj from putty , on poweron , my cubox gives this
16:28 michaelcubox can u please plug out power, replug it and show me full og? looks like it cant find a boot.scr
16:28 pioj everytime Im booting a distro nothing appears, no signal , nothing, only the back red light from the machine inside
16:28 pioj ok
16:29 michaelcubox could u please use cubox installer to get a distro on your sdcard. it is the easiest way for beginners and fastest.
16:29 pioj is there a way I can dump that log to a file?
16:30 pioj yep, sure. thats what Im tryin to do , in the end
16:32 pioj ahhhh
16:32 pioj im seeing now
16:33 pioj wait, i think I can boot actually
16:33 michaelcubox u can use a fat usb stick to lad cubox installer
16:33 michaelcubox and output is either serial or hdmi
16:33 pioj yes.
16:33 pioj and, btw, Im logged. I pressed a key at time
16:33 pioj :)
16:34 michaelcubox logging is availablein settings from putty btw
16:35 pioj yeah I followed that guide some minutes ago
16:35 pioj Thx I think I can continue from now on
16:35 michaelcubox from which country are you, if you don't mind i'm asking ;-)
16:36 pioj spain. Sorry if I writing weird
16:36 michaelcubox ok
16:42 pioj hey, this is so cool
16:47 pioj ok one question
16:47 michaelcubox yes
16:47 pioj in the cubox installer guide
16:47 pioj Do I need to have a microsd already formatted ?
16:47 michaelcubox no
16:48 michaelcubox your sc ard will be wiped by cubox installer and formatted
16:48 pioj ok, so only needs an storage to mount it later, perfect
16:48 pioj ahhh I see.
16:48 pioj k thx
19:01 punkt hello everyone
19:03 rabeeh hi punkt
22:00 ChrisG_ anyone got time for a kernel question?
22:25 cbxbiker61 i'm here, what's up?
22:26 cbxbiker61 ChrisG_, i should have told you that I had to patch 3.5.7 on my firewall
22:27 cbxbiker61 it was locking until I backported a 3.6+ patch
22:27 ChrisG_ it seems that the 3.5.7 kernel that is installed with the install tool does not have bridging enabled in the kernel
22:28 cbxbiker61 get my 3.5.7 from my website, hang on
22:28 ChrisG_ looks like the only way i'm going to get that is to recompile, and i'm a little worried about the correct process
22:28 ChrisG_ i found it here --> https://github.com/vDorst/linux
22:29 ChrisG_ and here --> http://www.kernel.org
22:30 cbxbiker61 http://www.xilka.com/xilka/distro/cubox/updates/UPDATE-CUBOX-KERNEL.sh
22:33 ChrisG_ all i really want to do is recompile my existing kernel with one additional option
22:34 cbxbiker61 http://www.xilka.com/sheeva/3/3.5/3.5.7/source/linux-3.5.7-remove-skb-recycling.patch
22:41 ChrisG_ wow, your own distro :-)
22:41 ChrisG_ very nice
22:41 ChrisG_ unfortunately i'm running ubuntu
22:48 rmull ChrisG_: That should be pretty straightforward
22:49 rmull You have the kernel sources?
22:49 cbxbiker61 ChrisG_, the kernel is distro independant
22:50 cbxbiker61 my kernel has all of the netfilter code enabled
22:51 ChrisG_ ok, but i need bridging
22:52 rmull You can add it yourself
22:52 rmull run 'make menuconfig' from the root of your kernel soures
22:53 cbxbiker61 yes, it looks like I didn't have bridging configured on my kernel
22:53 ChrisG_ @rmull - i'm there now, just digging thorugh to find it :P
22:55 cbxbiker61 quite often it's easier to just edit the .config manually then "make oldconfig" it will prompt for new features
22:55 rmull ChrisG_: you can use the '/' key to search for a substring
22:57 ChrisG_ where is my current .config?
22:58 ChrisG_ i found it in menuconfig
23:00 cbxbiker61 you could start with copying http://www.xilka.com/sheeva/3/3.5/3.5.7/release/2/cubox-3.5.7.config to .config, should be pretty close to what you want
23:01 ChrisG_ place it at the top of my src tree?
23:02 rmull ChrisG_: Your current (running) configuration should be at /proc/config.gz - you need to gunzip it
23:02 rmull The .config file should be placed at the top of your kernel source tree, yes
23:02 ChrisG_ i looked in /proc and could not find it there. i though it would be there too
23:03 ChrisG_ odd right?
23:05 rmull It's usually there, but it has to be compiled into your kernel for it to be there
23:05 rmull A stock ubuntu distro should have it there
23:06 ChrisG_ ok, i have cbxbiker's config file at the top of my src tree (/usr/src/linux)
23:07 ChrisG_ and edited to include CONFIG_BRIDGE=y
23:09 ChrisG_ sweet, that went much better :-) thanks
23:09 ChrisG_ i gues because i had no starting config, EVERY option was new
23:10 ChrisG_ your start config was much better
23:13 ChrisG_ ok, make is running. stepping away. thanks again
23:13 ChrisG_ i will read through your kernel update script and might add that