Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread Edward Ned Harvey (blu)
From: discuss-bounces+blu=nedharvey@blu.org [mailto:discuss- bounces+blu=nedharvey@blu.org] On Behalf Of John Abreau It has no option to ssh into a command line? That seems odd; pretty much every embedded device I've ever owned was based on Linux and had an option to enable ssh.

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread Edward Ned Harvey (blu)
From: discuss-bounces+blu=nedharvey@blu.org [mailto:discuss- bounces+blu=nedharvey@blu.org] On Behalf Of David Kramer 1) Change my laptop's MAC address temporarily to that of the Roku, This brings up 2 important points: If you have your laptop, then what's the point of bringing the

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread John Abreau
I guess I've been lucky. Now that I think of it, every embedded device I've ever purchased was probably discussed or demoed at a BLU meeting or other Linux-related event before I bought it. On Wed, Dec 31, 2014 at 7:39 AM, Edward Ned Harvey (blu) b...@nedharvey.com wrote: From:

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread David Kramer
Because the Roku can access content that I don't know how to get to from a Linux laptop, and it frees my laptop up to do other things. I'll admit part of the reason I brought it was just to see how well it would work in a hotel room; this isn't mission-critical functionality. I did contact the

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread David Kramer
Like what? Which Linux-based non-computer devices have you bought that have ssh access as shipped without hacking? On 12/31/2014 02:28 AM, John Abreau wrote: It has no option to ssh into a command line? That seems odd; pretty much every embedded device I've ever owned was based on Linux and

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread Gordon Marx
A different idea: just get your Roku's mac address, spoof that on your laptop, authenticate, and then connect the Roku. (Not my idea -- source was http://traveling-roku.blogspot.com) On Wed, Dec 31, 2014 at 10:11 AM, David Kramer da...@thekramers.net wrote: Because the Roku can access content

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread David Kramer
That was actually option 1. It did not work, probably because (as someone here mentioned) the Roku is going to hit up DHCP since it doesn't know the IP address associated with the MAC address via the laptop, and that will force reauthentication anyway. On 12/31/2014 10:15 AM, Gordon Marx wrote:

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread Gordon Marx
Can you statically configure the IP address of the Roku after authenticating with the laptop? Also, my apologies for my poor reading comprehension :--D On Wed, Dec 31, 2014 at 10:53 AM, David Kramer da...@thekramers.net wrote: That was actually option 1. It did not work, probably because (as

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-31 Thread Doug
A variation on Gordon's suggestion... What about an ethernet cable between the laptop and the Roku 3 in a subnet (different from the wifi connection)? In the subnet, the laptop would have to assign the address for the Roku (fixed addresses for both eth0 and the Roku would be fine). I don't know

[Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-30 Thread David Kramer
I recently became the proud owner of a Roku 3 box. Very happy with it minus one or two small details. For grins, I brought it with me on vacation, and immediately ran into the problem that the hotel wifi requires an authentication page be filled out, which the Roku can't do since it doesn't have

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-30 Thread John Abreau
Another option would be to figure out how to fake the browser authentication with curl or wget, so you can script it. I did this a few months ago for a phpbb forum. On Wed, Dec 31, 2014 at 1:16 AM, David Kramer da...@thekramers.net wrote: I recently became the proud owner of a Roku 3 box. Very

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-30 Thread John Abreau
Here's what finally worked for phpbb, if it helps: wget -q -O /dev/null --save-cookies=./session-cookies \ --post-data='username=JohnDoepassword=foobarlogin=Login' \ 'http://www.example.com/forum/ucp.php?mode=login' sid=`cat ./session-cookies _ grep _sid | cut -d$'\011' -f7` wget

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-30 Thread John Abreau
Oops, there's a typo in the second command, the _ should be a |: sid=`cat ./session-cookies | grep _sid | cut -d$'\011' -f7` On Wed, Dec 31, 2014 at 2:03 AM, John Abreau abre...@gmail.com wrote: Here's what finally worked for phpbb, if it helps: wget -q -O /dev/null

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-30 Thread David Kramer
Authenticating from my Linux laptop through my browser works flawlessly; the problem is connecting the Roku device to the wifi, since it doesn't have a web browser, and it certainly doesn't have a command line. On 12/31/2014 01:48 AM, John Abreau wrote: Another option would be to figure out how

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-30 Thread John Abreau
It has no option to ssh into a command line? That seems odd; pretty much every embedded device I've ever owned was based on Linux and had an option to enable ssh. On Wed, Dec 31, 2014 at 2:11 AM, David Kramer da...@thekramers.net wrote: Authenticating from my Linux laptop through my browser

Re: [Discuss] Use Linux laptop as wifi router? Is that even the right solution?

2014-12-30 Thread Tom Metro
David Kramer wrote: Change my laptop's MAC address temporarily to that of the Roku, authenticate, then try to connect with the Roku. Sounds reasonable, except that it didn't work. This is probably worth revisiting. In theory it should work. Perhaps test it after you have returned home and can