петък, 12 май 2017 г.

Predictable Network Interface

I don't like this, how do I disable this? You basically have four options: You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules You create your own manual naming scheme, for example by naming your interfaces "internet0", "dmz0" or "lan0". For that create your own .link files in /etc/systemd/network/, that choose an explicit name or a better naming scheme for one, some, or all of your interfaces. See systemd.link(5) for more information. You pass the net.ifnames=0 on the kernel command line

сряда, 16 ноември 2016 г.

Cubbie ipV6

My domains at dot.tk login with facebook

Here is information about ipv6
https://version6.ru/vps 

Here is how to test http://test-ipv6.com/

Brilliant. IPV6 visible from everyware.
Today I've found
https://forums.he.net/index.php?topic=2933.msg17340#msg17340

all this is linked with my tzar.ml domain and  DDNS https://dns.he.net/
 absolutly free. - GREAT.
My home camera will be visible from  ALL ARROND THE GLOBE now.

ANOTHER DDNS privider https://www.dnspod.com/



Implement it with my miredo. All OK.

I've found that is possible to do with CURL https://forums.he.net/index.php?topic=2323.msg13444#msg13444
HA.

How can I take backup of NAND memory?

Create sdcard with any linux distribution like Debian or Fedora. Boot from sdcard and run this command
# dd if=/dev/nand conv=sync,noerror bs=64K | gzip -c -9 > /nand.ddimg.gz
You can restore it using command
# cd / ; gunzip nand.ddimg.gz; dd if=/nand.ddimg conv=sync,noerror bs=64K of=/dev/nand 
 
How can I take backup of NAND memory? 

Enable Uart in ARMBIAN

Open the port

#mount /dev/nanda /mnt
#cd /mnt
#bin2fex  script.bin script.fex
#vi script.fex
Modify the script.fex to open the uart3 ,uart4 as below :
[uart_para3]
uart_used = 1
uart_port = 3
uart_type = 4
uart_tx = port:PG06<4><1><default><default>
uart_rx = port:PG07<4><1><default><default>
uart_rts = port:PG08<4><1><default><default>
uart_cts = port:PG09<4><1><default><default>

[uart_para4]
uart_used = 1
uart_port = 4
uart_type = 2
uart_tx = port:PG10<4><1><default><default>
uart_rx = port:PG11<4><1><default><default>
Save the modification.
#fex2bin script.fex  script.bin
#reboot
After the reboot ,the uart3 and uart4 are available.

Cubieboard1 And Cubieboard2 Gpio Pin

Move your Ubuntu system to another computer in 3 simple steps



Prerequisites:
The same version of Ubuntu is installed on both machines. The architecture (32/64 bit) can be different.
Step 1: Store the list of installed packages
Run the following command on the source machine to store the installed packages names in ~/pkglist:
sudo dpkg --get-selections | sed "s/.*deinstall//" | sed "s/install$//g" > ~/pkglist
Step 2: Transfer your config
Use scp or rsync or even a flash drive to transfer your home directory (~/*, ~/.*), the source list (/etc/apt/sources.list) and any other files you customized or installed (like apache config under /etc or softwares on /opt) from the source machine to the target one.
Step 3: Install packages
On the target machine run the following command in a failsafe terminal session to install your packages:
sudo aptitude update && cat pkglist | xargs sudo aptitude install -y
That’s all folks!

събота, 23 януари 2016 г.

IPv6 for my Cubbie

Here is information about ipv6
https://version6.ru/vps 

Here is how to test http://test-ipv6.com/

Brilliant. IPV6 visible from everyware.
Today I've found
https://forums.he.net/index.php?topic=2933.msg17340#msg17340

all this is linked with my tzar.ml domain and  DDNS https://dns.he.net/
 absolutly free. - GREAT.
My home camera will be visible from  ALL ARROND THE GLOBE now. 

Implement it with my miredo. All OK.

I've found that is possible to do with CURL https://forums.he.net/index.php?topic=2323.msg13444#msg13444
HA.