AriettaInstallNotes
- Password changed
- cd /boot ; cp boot256.bin boot.bin
- Change timezone: dpkg-reconfigure tzdata
- apt-get update ; apt-get upgrade
- apt-get install vim man ntp screen fswebcam usb-modeswitch-data
- Disable some services
- shellinbox
- lighttpd
- service shellinbox stop
- service lighttpd stop
- update-rc.d lighttpd disable
- update-rc.d shellinbox disable
- Update disklayout and add new partition
fdisk /dev/mmcblk0 Command (m for help): p Disk /dev/mmcblk0: 16.1 GB, 16088301568 bytes 4 heads, 16 sectors/track, 490976 cylinders, total 31422464 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0009bfc9 Device Boot Start End Blocks Id System /dev/mmcblk0p1 1 62500 31250 83 Linux /dev/mmcblk0p2 63488 3516415 1726464 83 Linux Command (m for help): m Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos compatibility flag d delete a partition l list known partition types m print this menu n add a new partition o create a new empty DOS partition table p print the partition table q quit without saving changes s create a new empty Sun disklabel t change a partition's system id u change display/entry units v verify the partition table w write table to disk and exit x extra functionality (experts only) Command (m for help): n Partition type: p primary (2 primary, 0 extended, 2 free) e extended Select (default p): p Partition number (1-4, default 3): Using default value 3 First sector (62501-31422463, default 62501): Using default value 62501 Last sector, +sectors or +size{K,M,G} (62501-63487, default 63487): Using default value 63487 Command (m for help): p Disk /dev/mmcblk0: 16.1 GB, 16088301568 bytes 4 heads, 16 sectors/track, 490976 cylinders, total 31422464 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0009bfc9 Device Boot Start End Blocks Id System /dev/mmcblk0p1 1 62500 31250 83 Linux /dev/mmcblk0p2 63488 3516415 1726464 83 Linux /dev/mmcblk0p3 62501 63487 493+ 83 Linux Partition table entries are not in disk order Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. WARNING: Re-reading the partition table failed with error 16: Device or resource busy. The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or kpartx(8) Syncing disks.
WLAN-AP
- /etc/network/interfaces
auto wlan1 iface wlan1 inet dhcp wireless-essid any pre-up wpa_supplicant -i wlan1 -c /etc/wpa_supplicant.conf -B post-down killall -q wpa_supplicant
:/etc# cat wpa_supplicant.conf ctrl_interface=/var/run/wpa_supplicant ap_scan=1 network={ ssid="weather" psk="12345678" scan_ssid=1 proto=WPA RSN key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP }
pinout