Re: First try woes: Debian on the PogoPlug Pro August 13, 2017 12:08PM |
Registered: 8 years ago Posts: 162 |
Re: First try woes: Debian on the PogoPlug Pro August 13, 2017 04:31PM |
Admin Registered: 14 years ago Posts: 19,561 |
Re: First try woes: Debian on the PogoPlug Pro August 14, 2017 11:45AM |
Registered: 8 years ago Posts: 162 |
fw_setenv ethaddr "XX:XX:XX:XX:XX:XX" #where x's are my ethernet mac address
root@DebianPlugPro2:~# ping www.google.com ping: www.google.com: Temporary failure in name resolution
Re: First try woes: Debian on the PogoPlug Pro August 16, 2017 10:21AM |
Registered: 8 years ago Posts: 162 |
Re: First try woes: Debian on the PogoPlug Pro August 16, 2017 04:19PM |
Admin Registered: 14 years ago Posts: 19,561 |
Re: First try woes: Debian on the PogoPlug Pro August 16, 2017 04:53PM |
Registered: 8 years ago Posts: 162 |
[ 2.603220] rt2800pci 0000:00:00.0 wlp0s0: renamed from wlan0
auto wlp0s0 iface wlp0s0 inet dhcp wpa-ssid "mywifi" wpa-psk "mywifipassword"
ifup wlp0s0
#Add "non-free" repo echo "deb http://http.debian.net/debian/ wheezy main contrib non-free">>/etc/apt/sources.list #Update repo apt-get update #Install required Wi-Fi packages and common non-free Wi-Fi adapter firmware apt-get install wireless-tools wpasupplicant usbutils firmware-ralink firmware-realtek firmware-atheros #restart the networking devices (will not break ssh session) /etc/init.d/networking restart #check IP of wireless card ifconfig
Re: First try woes: Debian on the PogoPlug Pro August 16, 2017 05:19PM |
Admin Registered: 14 years ago Posts: 19,561 |
Re: First try woes: Debian on the PogoPlug Pro August 16, 2017 05:25PM |
Registered: 8 years ago Posts: 162 |
Re: First try woes: Debian on the PogoPlug Pro August 30, 2017 01:41PM |
Registered: 8 years ago Posts: 162 |
A. How to use the uEnv.txt script This uEnv.txt script can be used to further customizing u-boot envs without saving to NAND or to boot with a completely different set of u-boot envs. Create a text file in /boot directory with the content in the format that u-boot envs are listed. ------------ Note2: To boot with systemd, add this parameter to your u-boot env bootargs. If you are booting with my latest released uboot for OXNAS then use the uEnv.txt capability to do this. See the instruction about uEnvt.txt in that thread. init=/bin/systemd
at /boot/uEnv.txt init=/bin/systemd
cat /proc/cmdline console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data)
pidof systemd && echo "systemd" || echo "other" other
fw_printenv bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm 0x60500000 0x60e00000 0x62c00000; else bootm 0x60500000 0x60e00000; fi; else if run load_dtb; then bootm 0x60500000 - 0x62c00000; else bootm 0x60500000; fi; fi bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; reset bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb usb_custom_params=zswap.enabled=1 device=0:1 devices=usb ide disks=0 1 2 3 ethact=mii0 if_netconsole=ping $serverip ipaddr=192.168.0.222 serverip=192.168.0.220 dtb_file=/boot/dts/ox820-pogoplug-pro.dtb load_dtb=echo loading DTB $dtb_file ...; ext2load $bootdev $device 0x62c00000 $dtb_file load_initrd=echo loading uInitrd ...; ext2load $bootdev $device 0x60e00000 /boot/uInitrd load_uimage=echo loading uImage ...; ext2load $bootdev $device 0x60500000 /boot/uImage mainlineLinux=yes mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) preboot_nc=run if_netconsole start_netconsole scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x60500000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_import=echo importing envs ...; env import -t 0x60500000 uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x60500000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi usb_ready_retry=15 ethaddr=00:00:00:00:00:00
Re: First try woes: Debian on the PogoPlug Pro August 30, 2017 03:34PM |
Admin Registered: 14 years ago Posts: 19,561 |
custom_params=init=/bin/systemd
Re: First try woes: Debian on the PogoPlug Pro August 30, 2017 05:07PM |
Registered: 8 years ago Posts: 162 |
Re: First try woes: Debian on the PogoPlug Pro September 11, 2018 12:42PM |
Registered: 8 years ago Posts: 162 |
Re: First try woes: Debian on the PogoPlug Pro September 11, 2018 04:11PM |
Admin Registered: 14 years ago Posts: 19,561 |
Re: First try woes: Debian on the PogoPlug Pro September 14, 2018 01:12PM |
Registered: 8 years ago Posts: 162 |
Re: First try woes: Debian on the PogoPlug Pro September 14, 2018 04:13PM |
Admin Registered: 14 years ago Posts: 19,561 |
Re: First try woes: Debian on the PogoPlug Pro September 14, 2018 04:48PM |
Registered: 8 years ago Posts: 162 |