[beagleboard] BBB as VPN relay server

2016-06-19 Thread Tommi
Hello Beagleboners!

So I have at home the Amaon Fire TV box and one of the problems is that I 
would like to use it with VPN in place to avoid some geo restrictions. As 
far as my googling goes you cannot do this directly on the fire TV box

My thought is using a beaglebone in between to provide a VPN. So the setup 
would be:

Amazon fire TV -> lan -> Beaglebone Black -> via VPN into the internet

Is something like this possible? I could imagine adding some buttons or 
something so that you can chose easily if you want to have the VPN on and 
if so to which country you want to go. 

Any pointers would be appreciated!

Thanks,
Tommi

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/af85db39-5129-4e95-82cb-7f2c62bb87f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Internal error messages

2014-12-18 Thread Tommi
Ooops it did it again..*trallalla*

Just got exactly the same error again. only the numbers in the brackets [] 
are different, but I suspect this is system time or something. 

So I guess there is nothing I can do?

Bought the beaglebone in summer, and have been playing with it since. For 
most of the time it has been lying on my desk without case or so, therefore 
I guess heat should not be an issue (also at nights it gets well below 20 C 
indoors these times!)

On Tuesday, December 16, 2014 11:42:53 AM UTC-5, david turvene wrote:

 On Monday, December 15, 2014 9:04:48 PM UTC-5, Tommi wrote:

 Hey, 

 I am running the BBB with btsync and had it running for a while backuping 
 a larger chunk of data. I was away and when I came back I saw the following 
 messages. (line breaks a bit funny)

 What are they supposed to mean? The BBB is still running and did probably 
 not restart as the Putty session was still active when I saw the messages. 


 Yeah, that's an interesting one and immediately got my attention because 
 there two kernel errors in your listing and no other indications.   Both 
 are thrown by the Power Reset Module (PRM) IRQ located at 44e0b000 on the 
 L4_WKUP bus.

 1) Error 1028 - I have no idea what it is but my guess is there's a bit 
 mask 1024 | 4 somewhere that explains it.
 2) Oops 17 - This is an MMU page fault error indicating (again a big 
 guess!) there is something wrong reading/writing a memory page.

 I suspect a momentary blip (heat or EMI related maybe) that caused an 
 L4_WKUP bus hiccup.  OR, if you have been using this BBB for a long time 
 the eMMC flash might be getting to end-of-life (which is accelerated in a 
 hot environment.)  If that is the case, you will see more and more MMU 
 faults.




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] USB mini male cable (both sides mini)

2014-12-17 Thread Tommi

Hey,

I am using the BBB for backup and therefore I need two UBS connections. One 
for my Wifi and the other for my external HDD. As the BBB has two USB Ports 
I would like NOT use an USB hub. The HDD also has a USB mini connector, so 
I would like to connect from USB mini on the BBB to USB mini on the HDD. 
That means I need a cable with USB mini male on both sides. Is there such a 
thing? Anyone knows a place where to buy one? I searched for quite a bit, 
but could not find one. 

I also tried one of those USB mini to USB A 
http://www.amazon.com/dp/B004I0FK6M/ref=pe_385040_127541860_TE_3p_dp_1 
adapters and then use a normal USB cable. But it seems the adaptor does 
not work...

Any ideas? I am also thinking of cutting two cables and to make my own...

Tommi

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] USB mini male cable (both sides mini)

2014-12-17 Thread Tommi



 Well the slave usb port is hard wired for slave only, so you'd also 
 have to physically modify the board.. 



That is annoying. That means basically that I am stuck with an USB hub?!

PS: I really think having a couple of USB Ports should be on such a board.  

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Internal error messages

2014-12-15 Thread Tommi
Hey, 

I am running the BBB with btsync and had it running for a while backuping a 
larger chunk of data. I was away and when I came back I saw the following 
messages. (line breaks a bit funny)

What are they supposed to mean? The BBB is still running and did probably 
not restart as the Putty session was still active when I saw the messages. 

Thanks,
Tommi


root@beaglebone:/media/backup#
Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.009526] Internal error: : 1028 [#1] SMP THUMB2

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.090532] Process irq/70-44e0b000 (pid: 20, stack limit = 
0xdf1862
  
40)

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.097521] Stack: (0xdf187f08 to 0xdf188000)

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.102154] 7f00:   c036192d df186000 df175360 
0   
   
001 df175340 df008840

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.110788] 7f20: c082d37c c007367b  c007355d df071db0 
0   
   
000 df175340 c00735dd

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.119416] 7f40:    c0045103 fef30040 
0   
   
000 e020 df175340

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.128040] 7f60:   dead4ead   
df187   
   
f74 df187f74 

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.136665] 7f80:  dead4ead   df187f90 
df187   
   
f90  df071db0

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.145290] 7fa0: c0045099   c000c8fd  
0   
   
000  

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.153916] 7fc0:      
0   
   
000  

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.162545] 7fe0:     0013 
0   
   
000 f3f38920 dd7f

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.197442] Code: 7849 fa01 f303 18d3 (8819) 6da0

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.229803] Internal error: Oops: 17 [#2] SMP THUMB2

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.309227] Process irq/70-44e0b000 (pid: 20, stack limit = 
0xdf1862
  
40)

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.316219] Stack: (0xdf187d30 to 0xdf188000)

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.320850] 7d20: c007355d 
df0f6   
   
4ec  c004323d

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.329475] 7d40:  d39fd39f  df0f6100  
0   
   
00b c0831758 c00332e7

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.338101] 7d60: df187de3 0020 df186000 0001 c06e798c 
d39fd   
   
39f c029d1c5 c0861db4

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.346723] 7d80: df186000 c08ab8d8 df186000 000b c0831758 
0   
   
002 df187de3 0020

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.355350] 7da0: 2193 c000f819 df186240 000b 6193 
c0361   
   
95a  0004

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.363972] 7dc0: 3700 20393438 31306166 30336620 38312033 
28203   
   
364 39313838 64362029

Message from syslogd@beaglebone at Dec 15 18:50:38 ...
 kernel:[166531.372596] 7de0: 00203061   c04c8a75 c06d98f4 
df187   
   
e14 c0821728

Re: [beagleboard] make BBB Debian Hackerproof

2014-12-15 Thread Tommi
Thanks for your suggestions. I will look more into it. I am aware that full 
security is not achievable, I wanted more to make sure that there is no 
super easy way in where everyone could just see whatever they want to. 

Also that was my point about removing/disabling unused features. Then I do 
not need to keep them up to date when they are not present any more. 

Thanks! 
Tommi



On Sunday, December 7, 2014 11:08:22 PM UTC-5, William Hermans wrote:

 and . . . 
 http://goto.fail/blog/2014/11/25/at-and-t-u-verse-vap2500-the-passwords-they-do-nothing/

 Some ppl just don't get it.

 Anyway, the moral of my long winded story ? If you do not trust it, do 
 some research on your own . . .

 On Sun, Dec 7, 2014 at 9:03 PM, William Hermans yyr...@gmail.com 
 javascript: wrote:

 If you really must keep up to date . . . .- http://threatpost.com/

 On Sun, Dec 7, 2014 at 8:53 PM, William Hermans yyr...@gmail.com 
 javascript: wrote:

 BTW, any who cares, Deian is one of the oldest, and most reliable 
 distro's - period, even it was susceptible to this bash exploit. The only 
 thing you can do in any case short of locking this device up in a closest 
 with no power is keep up to date with the technology you're using.

 A real hacker doesn't care about your system only the data it presents 
 to him / her. The rest are script kiddies, and generally easy to foil.

 On Sun, Dec 7, 2014 at 8:48 PM, William Hermans yyr...@gmail.com 
 javascript: wrote:

 You cant apt-get update  apt-get upgrade . . .
 apt-get install x.y.z, but until you understand the OS *completely* 
 you'll never feel good. Best practices - Only install what you need and 
 completely understand what you install. Anything potentially facing the 
 internet is at risk - period..

 The long standing bash exploit ( 19+ years ) is a perfect example of 
 that. 

 On Sun, Dec 7, 2014 at 5:02 PM, Robert Nelson robert...@gmail.com 
 javascript: wrote:

 On Sun, Dec 7, 2014 at 5:24 PM, Tommi thoma...@gmail.com 
 javascript: wrote:
  Hey,
 
  I am using the BBB for backup (via BTSync, this also gives me some 
 troubles
  lately, but that is a different story...). I am thinking of bringing 
 the BBB
  to work (at a university) to get a real off-site backup. However, I 
 am not
  sure what steps I should take in order to make sure nobody can 
 access my
  files there. So my questions are:
 
  1) What should I do to make sure it is secure? I think I would even 
 be happy
  only to access it via USB and the webserver of BTsync (port )
 
  2) What services could I shut off? I don't need the GUI, the 
 webserver,
  could probably lock down many ports and other services I do not even 
 know
  that they are currently running...
 
  3) Potentially I could also hook the BBB to my computer via USB and 
 share
  Internet with it. Would that be a more secure option?

 Just some quick points, as you could spend a lot of time/research into
 this topic..

 Physical access = root access... Unless you physcally modify the board
 with a gallon of hard epoxy and seal it in concrete. ;)  The board was
 designed for ease of development...

 By the default, the bb.org image has root access open (no password)
 and ssh on port 22..

 There's a script under:

 /opt/scripts/un-tweak-image/debian-re-secure-root-ssh.sh

 That'll reset root to a password (root) and disable root over ssh.

 Next disable bone101/cloud9 both applications give you root access to. 
 ;)

 BTW, for this project, starting with something really bare bones such 
 as:


 https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-Debian7(smallflash)

 Regards,

 --
 Robert Nelson
 http://www.rcn-ee.com/

 --
 For more options, visit http://beagleboard.org/discuss
 ---
 You received this message because you are subscribed to the Google 
 Groups BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to beagleboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.







-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] make BBB Debian Hackerproof

2014-12-07 Thread Tommi
Hey, 

I am using the BBB for backup (via BTSync, this also gives me some troubles 
lately, but that is a different story...). I am thinking of bringing the 
BBB to work (at a university) to get a real off-site backup. However, I am 
not sure what steps I should take in order to make sure nobody can access 
my files there. So my questions are:

1) What should I do to make sure it is secure? I think I would even be 
happy only to access it via USB and the webserver of BTsync (port )

2) What services could I shut off? I don't need the GUI, the webserver, 
could probably lock down many ports and other services I do not even know 
that they are currently running...

3) Potentially I could also hook the BBB to my computer via USB and share 
Internet with it. Would that be a more secure option?

Thanks
Tommi

Ps: I tried to search the group/internet, but interestingly it seems not to 
be a big question out there...

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Wifi unreliable

2014-12-05 Thread Tommi
Thanks, good to know!

Though at this point I might go with the mantra: never change a running 
system :D

On Friday, December 5, 2014 9:44:02 AM UTC-5, RobertCNelson wrote:

 On Fri, Dec 5, 2014 at 8:40 AM, Thomas Feix thoma...@gmail.com 
 javascript: wrote: 
  Small update, I got the TL-WN722N to work. Since yesterday evening it is 
  online, hope it will stay that way. 
  
  The biggest problem was that wlan0 was already taken from the old 
 dongle, so 
  it now runs on wlan3. 
  
  first I followed this instructions: (not sure if I had to :)) 
  https://wiki.debian.org/ath9k_htc 
  
  Then I had some problems that I would see wlan3 in iwconfig, but 
 wicd-curses 
  would not be able to access it (added wlan3 in prefs) 
  
  I think adding wlan3 to /etc/network/interfaces did the trick for me. 
  
  thanks for all the suggestions, I think I am now happy (until the next 
  problem...) 

 You can cleanup the old (not plugged in) devices in: 

 /etc/udev/rules.d/70-persistent-net.rules 

 To get back down to wlan0.. 

 Regards, 

 -- 
 Robert Nelson 
 http://www.rcn-ee.com/ 


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Wifi unreliable

2014-12-02 Thread Tommi
thanks for your replies. 
I just ordered a different USB plug, let's see if that improves things. 
After tinkering so much with it, it seems the better options. In the end it 
is probably cheaper spending another $14, rather than sitting hours of 
hours trying to fix it. Hope the TP-LINK TL-WN722N 
http://www.amazon.com/gp/product/B002SZEOLG/ref=oh_aui_detailpage_o00_s00?ie=UTF8psc=1
 
will help. 

I'll also try to also do what you suggest Dave, let's see if that helps 
too. Have to say it is a bit annoying that such a simple problem keeps you 
from using the beaglebone

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Wifi unreliable

2014-11-29 Thread Tommi
Hey everyone, 

I have been using the BBB now for quite a while and I really like it. There 
is only one persistent problem I do not seem to get rid of. So I hope you 
can guide me into the right direction. 

I am using the Ourlink wifi dongle https://www.adafruit.com/products/1012 
to connect to the internet and wicd-curses to set up the wifi. Initially it 
seems to work fine. 

However, quite often the dongle disconnects and I am no longer connected to 
the internet. I am unsure how to proceed or what I could try. A couple of 
observations/comments:
- I am using an external usb hub 
http://www.amazon.com/dp/B005A0B3FG/ref=pe_385040_121528360_TE_dp_1 and 
the beaglebone is also powered from a 5V wall plug 
https://www.adafruit.com/products/276. So sketchy power supply should not 
be the issue as some people indicate.
- Interestingly wicd-curses still indicates that it is connected, however 
the router does not confirm that and I cannot connect to the BBB. 
- It seems to happen more often when I try to run BTSync to push a lot of 
data through the BBB to an external HDD. If it sits just there and idles it 
can be online for days without problem. 

Do you guys have any advice what to try? I am quite lost and the internet 
does not give me any more help...

Thanks!
Tommi

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.