Difference between revisions of "Talk:Debian Wheezy Instructions"
Line 36: | Line 36: | ||
=== 1/13/2013 osterluk === | === 1/13/2013 osterluk === | ||
odroidu2 only uses a supercap to backup the RTC. Plan to add ntp to fetch time from the network. | odroidu2 only uses a supercap to backup the RTC. Plan to add ntp to fetch time from the network. | ||
+ | |||
+ | |||
+ | === 2/4/2013 osterluk === | ||
+ | |||
+ | |||
+ | MAC address: | ||
+ | I'm planning on plugging this portable thing headless into various DHCP networks, and thought I'd be able fping/arp the mac address to get the dynamic IP address it's pulled. I've now learned that it generates a new mac address at every boot. To give it a persistent mac address, edit /etc/network/interfaces, change mac as desired; | ||
+ | |||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | auto eth0 | ||
+ | iface eth0 inet dhcp | ||
+ | hwaddress ether c2:c5:aa:9e:aa:58 | ||
+ | |||
+ | After rebooting, from another machine I can get its IP via: | ||
+ | |||
+ | fping -q -c 1 -g 192.168.2.0/24 | ||
+ | arp -an | grep -i c2:c5:aa:9e:aa:58 | ||
+ | |||
+ | I did look at ddclient to dyn.com to publish the address, but it will on occasion be plugged into proxied/NAT'd networks and this would be problematic. | ||
+ | |||
+ | Locales: | ||
+ | To fix the locale errors, eg. when running apt (change your locale to suit, of course); | ||
+ | |||
+ | apt-get install locales | ||
+ | export LANGUAGE=en_US.UTF-8 | ||
+ | export LANG=en_US.UTF-8 | ||
+ | export LC_ALL=en_US.UTF-8 | ||
+ | locale-gen en_US.UTF-8 | ||
+ | dpkg-reconfigure locales | ||
+ | |||
+ | Time: | ||
+ | Change zoneinfo to suit; | ||
+ | |||
+ | apt-get install ntpdate | ||
+ | rm /etc/localtime | ||
+ | ln -s /usr/share/zoneinfo/US/Central /etc/localtime |
Revision as of 04:02, 5 February 2013
Thanks for putting this together, I will start trying to bring fbcon up for an hdmi terminal.
IMHO little things to add:
apt-get install nupdate curl
Also we should set the mac adress text file after first boot:
and sometimes we hang:
[ 721.119278] kinteractiveup D c0514584 0 610 2 0x00000000 [ 721.125601] Backtrace: [ 721.128027] [<c0514354>] (__schedule+0x0/0x6d8) from [<c0514b88>] (schedule+0x50/0x68) [ 721.135934] [<c0514b38>] (schedule+0x0/0x68) from [<c00901fc>] (kthread+0x70/0x94) [ 721.143477] [<c009018c>] (kthread+0x0/0x94) from [<c0077c0c>] (do_exit+0x0/0x700) [ 721.150934] r6:c0077c0c r5:c009018c r4:eb02bf04 [ 721.155515] INFO: task kadaptiveup:611 blocked for more than 120 seconds. [ 721.162297] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 721.170109] kadaptiveup D c0514584 0 611 2 0x00000000 [ 721.176422] Backtrace: [ 721.178847] [<c0514354>] (__schedule+0x0/0x6d8) from [<c0514b88>] (schedule+0x50/0x68) [ 721.186755] [<c0514b38>] (schedule+0x0/0x68) from [<c00901fc>] (kthread+0x70/0x94) [ 721.194298] [<c009018c>] (kthread+0x0/0x94) from [<c0077c0c>] (do_exit+0x0/0x700) [ 721.201752] r6:c0077c0c r5:c009018c r4:eb02bf04
1/12/2013 osterluk
I added curl There is a new kernel build that fixes the scheduler issue, it is included with the SD-card image (3.0.57) I see that eth0 gets a macid, I added /etc/smsc95xx_mac_addr file and set permissions. If remains empty, but the driver seems to come up with a macid. I don't know what you mean by nupdate, I don't find a debian package for it.
Do we need a framebuffer driver? I posted debian-wheezy-3
1/13/2013 osterluk
odroidu2 only uses a supercap to backup the RTC. Plan to add ntp to fetch time from the network.
2/4/2013 osterluk
MAC address: I'm planning on plugging this portable thing headless into various DHCP networks, and thought I'd be able fping/arp the mac address to get the dynamic IP address it's pulled. I've now learned that it generates a new mac address at every boot. To give it a persistent mac address, edit /etc/network/interfaces, change mac as desired;
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp hwaddress ether c2:c5:aa:9e:aa:58
After rebooting, from another machine I can get its IP via:
fping -q -c 1 -g 192.168.2.0/24 arp -an | grep -i c2:c5:aa:9e:aa:58
I did look at ddclient to dyn.com to publish the address, but it will on occasion be plugged into proxied/NAT'd networks and this would be problematic.
Locales: To fix the locale errors, eg. when running apt (change your locale to suit, of course);
apt-get install locales export LANGUAGE=en_US.UTF-8 export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 locale-gen en_US.UTF-8 dpkg-reconfigure locales
Time: Change zoneinfo to suit;
apt-get install ntpdate rm /etc/localtime ln -s /usr/share/zoneinfo/US/Central /etc/localtime