петък, 9 декември 2016 г.
Using dd to backup
sudo fdisk -l
sudo dd bs=4M if=/dev/sdb | gzip > /home/your_username/image`date +%d%m%y`.gz
TO RESTORE
sudo gzip -dc /home/your_username/image.gz | dd bs=4M of=/dev/sdb
понеделник, 8 февруари 2016 г.
Fonera DD-WRT flashing
LAN ip 192.168.1.250
in DOS ping
-t 192.168.1.254
PLUG in
FONERA
TELNET in
to RedBoot at 192.168.1.254 -p 9000
AND you've
got the
That's it.
You are ready now to flash FONERA with a new firmware.
1 . Copy
root.fs and vmlinux.bin.l7 to your tftp server directory
2. Configure
the RedBoot bootloader IP and TFTP server settings using
ip_address
-l [local ip address] -h [remote server address]
ip_address
-l 192.168.1.254 -h 192.168.1.250
3.
flash the
unit by entering the following commands
RedBoot> fis init
About to
initialize [format] FLASH image system - continue (y/n)? y
***
Initialize FLASH Image System
... Erase
from 0xa83e0000-0xa83f0000: .
... Program
from 0x80ff0000-0x81000000 at 0xa83e0000: .
RedBoot> load -r -b 0x80041000 linux.bin
Using
default protocol (TFTP)
Raw file
loaded 0x80041000-0x806d1fff, assumed entry at 0x80041000
RedBoot> fis create linux
... Erase
from 0xa8030000-0xa86c1000:
..........................................................................................................
... Program
from 0x80041000-0x806d2000 at 0xa8030000:
..........................................................................................................
... Erase
from 0xa87e0000-0xa87f0000: .
... Program
from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> fconfig
Run script at boot: true
Boot script:
.. fis load -l vmlinux.bin.l7
.. exec
Enter script, terminate with empty line
>> fis load -l linux
>> exec
>>
Boot script timeout (1000ms resolution): 10
Use BOOTP for network configuration: false
Gateway IP address:
Local IP address: 192.168.1.254
Local IP address mask: 255.255.255.0
Default server IP address:
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Update RedBoot non-volatile configuration - continue
(y/n)? y
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000:
.
RedBoot>reset
FOR OPENWRT
FOR OPENWRT
RedBoot> ip_address -l 192.168.1.254 -h 192.168.1.250
RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
RedBoot> fis init
RedBoot> fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
RedBoot> load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs
RedBoot> fis create rootfs
RedBoot> fconfig boot_script_data
boot_script_data:
.. fis load -l vmlinux.bin.1
.. exec
Enter script, terminate with empty line
>> fis load -l vmlinux.bin.l7
>> exec
>>
Update RedBoot non-volatile configuration - continue (y/n)? y
... Erase from 0xa87e0000-0xa87f0000: .
... Program from 0x80ff0000-0x81000000 at 0xa87e0000: .
RedBoot> reset
Re: Overclocking Atheros devices such as La Fonera Fon/Dir-300
Ok so after reading some more in the DD-WRT forum I found a solution myself. It is almost identical as in the one in the DD-WRT forum, however some commands are a bit different for Gargoyle and the offsets are different for D-Link Dir-300.
So here is my solution, it is successfully tested on FON2100 and DIR-300:
Log on the the device using SSH, then:
Now copy the file with scp to your local computer and load it into a hex editor.
* For La Fonera FON2100 (and FON2200 did not test it personaly):
- change offset 0x1e3 from 0x03 to 0x01 (divisor 2 instead of 5)
- change offset 0x1ef from 0x5c to 0x28 (multiplicator 10 instead of 9 = 200 mhz)
MD5 checksums:
FON2100 183MHz: D8F123639752F2E56B46606461AD8174
FON2100 200MHz: 6AD647AE0978FFBA4357EFBCF0B4DF98
FON2200 183MHz: 80B1A6D05AE6B420129326F8B77B2FC6
FON2200 200MHz: B12C88742121D42C848C03AC36821F02
* For D-Link Dir-300:
- change offset 0x17 from 0x03 to 0x01
- change offset 0x23 from 0x5c to 0x28
MD5 checksums:
DIR-300 183MHz: B9D638E537D01D3ED651FAB2AF63FC22
DIR-300 200MHz: 713806dbb99cb0e633a385eb1a8b5440
Alternatively, you can also download and use the already modified RedBoot bootloaders attached to this post. They worked for me, but I do not guarantee that they will work for you too.
OK now we just need to flash it back.
Copy the modified RedBoot.bin back to the /tmp folder of your router and do:
Then just reboot or replug the power and it will boot up with 200 MHz.
After rebooting you can verify the CPU speed by using SSH and typing the following:
Hopefully this is useful to someone else as well.
So here is my solution, it is successfully tested on FON2100 and DIR-300:
Log on the the device using SSH, then:
- CODE: SELECT ALL
cat /dev/mtdblock0 > /tmp/RedBoot.bin
Now copy the file with scp to your local computer and load it into a hex editor.
* For La Fonera FON2100 (and FON2200 did not test it personaly):
- change offset 0x1e3 from 0x03 to 0x01 (divisor 2 instead of 5)
- change offset 0x1ef from 0x5c to 0x28 (multiplicator 10 instead of 9 = 200 mhz)
MD5 checksums:
FON2100 183MHz: D8F123639752F2E56B46606461AD8174
FON2100 200MHz: 6AD647AE0978FFBA4357EFBCF0B4DF98
FON2200 183MHz: 80B1A6D05AE6B420129326F8B77B2FC6
FON2200 200MHz: B12C88742121D42C848C03AC36821F02
* For D-Link Dir-300:
- change offset 0x17 from 0x03 to 0x01
- change offset 0x23 from 0x5c to 0x28
MD5 checksums:
DIR-300 183MHz: B9D638E537D01D3ED651FAB2AF63FC22
DIR-300 200MHz: 713806dbb99cb0e633a385eb1a8b5440
Alternatively, you can also download and use the already modified RedBoot bootloaders attached to this post. They worked for me, but I do not guarantee that they will work for you too.
OK now we just need to flash it back.
Copy the modified RedBoot.bin back to the /tmp folder of your router and do:
- CODE: SELECT ALL
mtd -f write /tmp/RedBoot.bin RedBoot
Then just reboot or replug the power and it will boot up with 200 MHz.
After rebooting you can verify the CPU speed by using SSH and typing the following:
- CODE: SELECT ALL
cat /proc/cpuinfo
Hopefully this is useful to someone else as well.
- ATTACHMENTS
-
RedBoot-200Mhz.zip
- RedBoot bootloader for overclocking FON2100 and DIR-300 @ 200 MHz.
- (147.04 KiB) Downloaded 233 times
La Fonera Fon 2100 @ 200MHz + Gargoyle 1.2.5
D-Link Dir-300 @ 200MHz + Gargoyle 1.2.3
Buffalo WHR-HP-G54 + Tomato 1.28
D-Link Dir-300 @ 200MHz + Gargoyle 1.2.3
Buffalo WHR-HP-G54 + Tomato 1.28
- ngg.online
- Posts: 15
- Joined: Sun Nov 08, 2009 6:51 am
петък, 5 февруари 2016 г.
Raspberry Pi
First to do after Reinstall
https://github.com/arpitjindal97/raspbian-recipes
To use a X screen on the VNC
http://raspberrypi.stackexchange.com/questions/9590/tightvncserver-show-the-same-screen-on-hdmi-and-vncclient
Prep & Optional Tools:
DHCP_Server
най-доброто
Share WiFi With Ethernet Port on a Raspberry Pi
To use a X screen on the VNC
http://raspberrypi.stackexchange.com/questions/9590/tightvncserver-show-the-same-screen-on-hdmi-and-vncclient
Connect to unsecured wireless network
Generalplus MD80 Mini Spy Cam (type 808)
will work on Raspberry Pi and Cubbieboard 2 ( not tested)
Prep & Optional Tools:
sudo apt-get update
sudo apt-get install guvcview
sudo apt-get install uvcdynctrl
sudo apt-get install uvccapture
sudo apt-get install qv4l2
sudo apt-get install mplayer
sudo apt-get install v4l-utils
sudo reboot
Clear out dmesg:
sudo dmesg --clear
Unload driver and reload to fix quirks:
sudo modprobe uvcvideo -r
sudo modprobe uvcvideo quirks=2
Plug in cam & check device is recognise (works best with SD card inserted):
lsusb
Bus 002 Device 016: ID 1b3f:0c52 Generalplus Technology Inc. 808 Camera #9 (mass storage mode)
Press the "power" button on the side of the cam
lsusb
Bus 002 Device 017: ID 1b3f:2002 Generalplus Technology Inc. 808 Camera #9 (web-cam mode)
Confirm video0:
ls /dev/video0
Check dmesg for errors:
dmesg
Run mplayer
mplayer tv:// -tv driver=v4l2:device=/dev/video0
streamer -c /dev/video0 -b 16 -t 5 -r 2 -s 640x480 -o /root/eyetoy00.jpeg
понеделник, 25 януари 2016 г.
VPS -ses
Mine are - Chunkhost.com , https://galaxyhostplus.com/ , http://www.pieserv.com/
I've found them here http://lowendbox.com
New one - the best.
IntenseVPS
n3servers.com
Mine are - Chunkhost.com , https://galaxyhostplus.com/ , http://www.pieserv.com/
I've found them here http://lowendbox.com
New one - the best.
IntenseVPS
n3servers.com
събота, 23 януари 2016 г.
Telstra-Huawei-E5372t-Wifi-4G-wireless-Modem-UNLOCKED
I've purchased it here http://www.ebay.com.au/itm/Telstra-Huawei-E5372t-Wifi-4G-wireless-Modem-UNLOCKED-/272044636569?ssPageName=ADME:X:AAQ:AU:1123
WOW!! almost 70 AUD. Not cheap at all.

Here I've found a lot of info
http://forums.whirlpool.net.au/forum-replies.cfm?t=2175675&p=12
http://4pda.ru/forum/index.php?showtopic=531966&st=200
The name of the file for last update that I've found is
Update_WEBUI_13.100.08.00.997_E5_V7R1_V3R2.exe
Now the goal here is to update to the best firmware.
UNDER LINUX
http://www.linux.org.ru/forum/admin/11107841
WOW!! almost 70 AUD. Not cheap at all.

Here I've found a lot of info
http://forums.whirlpool.net.au/forum-replies.cfm?t=2175675&p=12
http://4pda.ru/forum/index.php?showtopic=531966&st=200
The name of the file for last update that I've found is
Update_WEBUI_13.100.08.00.997_E5_V7R1_V3R2.exe
Now the goal here is to update to the best firmware.
UNDER LINUX
http://www.linux.org.ru/forum/admin/11107841
ipv6 for Cubieboard
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.
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.
Абонамент за:
Публикации (Atom)