Raspberry: Difference between revisions
Jump to navigation
Jump to search
Line 32: | Line 32: | ||
In my current setting, the host machine's eth0 has IP 10.42.0.1 (inet addr). The RPi has IP 10.42.0.37 and gateway 10.42.0.1. | In my current setting, the host machine's eth0 has IP 10.42.0.1 (inet addr). The RPi has IP 10.42.0.37 and gateway 10.42.0.1. | ||
<pre> | |||
$ netstat -rn | |||
Kernel IP routing table | |||
Destination Gateway Genmask Flags MSS Window irtt Iface | |||
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 | |||
10.42.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 | |||
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0 | |||
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0 | |||
</pre> | |||
And the others may be worth to be changed too | And the others may be worth to be changed too |
Revision as of 18:35, 6 March 2013
Raspberry Pi
Miscellaneous
- Raspberry pi quick start guide
- http://elinux.org/RPi_Hub
- wifi setup
- Berryboot for multiple boots
- video player: omxplayer videofile.mp4
- mp3 player: mpg321 "my file.mp3"
- raspberry pi server
- re-run configuration
- MagPi: The Unofficial Raspberry Pi Magazine—Published around eight times a year, MapPi is a free and polished electronic magazine for Pi hobbyists.
- HTG guide to getting started with Raspberry Pi
- A month with raspbian How to change date/time.
- My youtube video demostrating GPIO function.
Get internet from sharing the internet from another machine
- https://wiki.archlinux.org/index.php/Internet_Share
- static iP. Set up host eth0 IP and then set up RPi IP:
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.
In my current setting, the host machine's eth0 has IP 10.42.0.1 (inet addr). The RPi has IP 10.42.0.37 and gateway 10.42.0.1.
$ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0 10.42.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
And the others may be worth to be changed too
/etc/hostname /etc/resolv.conf /etc/hosts