[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Parallella Community • View topic - Sharing your computer's Wifi connection with Parallella

Sharing your computer's Wifi connection with Parallella

A forum for documenting the Parallella and Epiphany . (Not Q&A!)

Sharing your computer's Wifi connection with Parallella

Postby aolofsson » Thu Mar 20, 2014 12:38 am

This is a nice trick that I learned from some clever folks at the Eclipsecon hackathon. Turns out that it's really easy to share your internet connection with the Parallella using Ubuntu without needing to use a router. Here's what you need to do:

On laptop:
-Run a recent Ubuntu (I run 13.10)
-In the network-manager, edit connections and create a connection called "shared wifi connection"
-Edit that connection and in the ipv4 tab, select "shared to other computers".
-Connect an ethernet cable from your computer to the Parallella
-After being connected to the internet using wifi, clock on your new "shared wifi connection"

There are lots of posts explaining this further, here is one:
http://askubuntu.com/questions/359856/u ... h-ethernet
http://askubuntu.com/questions/359856/s ... h-ethernet

On Parallella:
1.) Connect the parallella with serial cable to your computer (or use a keyboard/mouse/hdmi screen to interact directly).

2.) Check that network interface definitions looks like the following.

/etc/network/interfaces should have the following
auto eth0
iface eth0 inet dhcp

You may also need to remove the following file and reboot:
/etc/udev/rules.d/70-persistent-net.rules

3.) At terminal, reset the interface to allow laptop to assign IP address to the board:

sudo ifdown eth0
sudo ifup eth0

4.) Verify IP address using ifconfig/ping internet.
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Sharing your computer's Wifi connection with Parallella

Postby shodruk » Fri Mar 21, 2014 11:00 am

That's magical! :o
Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

Re: Sharing your computer's Wifi connection with Parallella

Postby nmalinoski » Thu Apr 24, 2014 2:14 am

nmalinoski
 
Posts: 16
Joined: Mon Dec 17, 2012 3:29 am

Re: Sharing your computer's Wifi connection with Parallella

Postby shodruk » Thu Apr 24, 2014 12:52 pm

Shodruky
shodruk
 
Posts: 464
Joined: Mon Apr 08, 2013 7:03 pm

Re: Sharing your computer's Wifi connection with Parallella

Postby Dyzav » Sat May 16, 2015 11:56 pm

With Headless Parallella
Laptop:
-Running on Linux Mint 17.1 64-bit
-network-manager same as Ubuntu ( Steps 1.- 5. http://askubuntu.com/questions/359856/u ... h-ethernet)
-for finding IP addresses Installed ipscan ( http://www.upubuntu.com/2013/01/install ... pa-in.html)


Parallella desktop board :
-Connecting:

sudo ssh -XC parallella@IP( e.g.192.168.0.15)

-Running on Ubuntu 14.04 Parallella ( Zynq7010) headless image ( Jan 30th 2015 release, 515MB)

rm /etc/udev/rules.d/74-persistent-net.rules ( removing.. in my case the number is 74 not 70, don't know if it helped or not)

-tried:

sudo ifdown eth0

-Installing network manager ( https://help.ubuntu.com/community/NetworkManager)

sudo start nm-connection-editor

-Then ( Steps from 6. http://askubuntu.com/questions/359856/u ... h-ethernet)
-All works well
Dyzav
 
Posts: 1
Joined: Sat May 16, 2015 11:21 pm

Re: Sharing your computer's Wifi connection with Parallella

Postby aolofsson » Tue May 19, 2015 2:21 am

Very nice! Thanks for sharing!
Andreas
User avatar
aolofsson
 
Posts: 1005
Joined: Tue Dec 11, 2012 6:59 pm
Location: Lexington, Massachusetts,USA

Re: Sharing your computer's Wifi connection with Parallella

Postby dennis » Fri Jan 22, 2016 4:02 am

User avatar
dennis
 
Posts: 1
Joined: Sat Jan 16, 2016 3:25 pm
Location: Lima, Perú.


Return to Quick Start Guides , Documentation, Examples (Start Here!)

Who is online

Users browsing this forum: No registered users and 2 guests

cron