Raspberry: Difference between revisions

From 太極
Jump to navigation Jump to search
No edit summary
Line 18: Line 18:
= Get internet from sharing the internet from another machine =
= Get internet from sharing the internet from another machine =
* https://wiki.archlinux.org/index.php/Internet_Share
* https://wiki.archlinux.org/index.php/Internet_Share
* static iP
<pre>
sudo nano /etc/network/interfaces
iface eth0 inet static
address 192.168.100.1
netmask 255.255.255.0
network 192.168.100.0
broadcast 192.168.100.255
gateway 192.168.100.254
</pre>
The gateway is important and in most cases will always point to your firewalls, switch or routers IP address.

Revision as of 17:25, 6 March 2013

Raspberry Pi

Miscellaneous

Get internet from sharing the internet from another machine

sudo nano /etc/network/interfaces

iface eth0 inet static
address 192.168.100.1
netmask 255.255.255.0
network 192.168.100.0
broadcast 192.168.100.255
gateway 192.168.100.254

The gateway is important and in most cases will always point to your firewalls, switch or routers IP address.