Revision d1f4bbcc
Changed gumstix network config to static
scout_gumstix/etc/network/interfaces | ||
---|---|---|
1 |
# interfaces(5) file used by ifup(8) and ifdown(8) |
|
2 |
auto lo |
|
3 |
iface lo inet loopback |
|
4 |
iface usb0 inet static |
|
5 |
address 10.42.0.60 |
|
6 |
netmask 255.255.255.0 |
|
7 |
gateway 10.42.0.1 |
|
8 |
dns-nameservers 8.8.8.8 8.8.4.4 |
scout_gumstix/etc/rc.local | ||
---|---|---|
11 | 11 |
# |
12 | 12 |
# By default this script does nothing. |
13 | 13 |
|
14 |
dhclient -nw usb0 |
|
15 |
|
|
16 | 14 |
export_as_output() { |
17 | 15 |
last_dir="$PWD" |
18 | 16 |
cd /sys/class/gpio |
Also available in: Unified diff