Archive

Archive for the ‘Friki Stuff’ Category

ZTE Tre WebPocket 21.6Mb – Retrieve Lost Password

July 3rd, 2013 No comments

WebPocket21ZTE Tre WebPocket 7Mb or WebPocket 21.6 Mb or WebPocket 42Mb and default password lost?

Here is how to retrieve it:

1) Disconnect your PC from Internet either by unplugging the LAN cable, or disabling the WiFi..whatever

2) Connect your WiFi Router through its USB Cable and install the software it has in its storage partition. This will install a virtual USB LAN which will connect to the router itself

3) The router will be 192.168.1.1 and your virtual LAN card will be 192.168.1.100

4) Open a MS-Dos Windows by running “cmd” and type “ping 192.168.1.1” when you get replies it means it works

5) Open your browser and go to http://3.home or better http://192.168.1.1 and login by typing the default password “admin”

6) Go to options, wifi, security and click “Show Password” and you will be able to see what the password is, plus you will be able to change it

7) Unplug the USB cable, enable WLan Adapter, search for the WebPocket’s SSID Network, select it and type the just discovered password

8) Enjoy browsing the Internet again

 

Raspberry Pi WiFi WLan USB Dongle TP-Link

May 19th, 2013 1 comment

Login in SSH and type

lsusb

U sould get something like

pi@raspberrypi ~ $ lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 007: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004: ID 0781:5530 SanDisk Corp. Cruzer
Bus 001 Device 005: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB

Where the Realtek entry is the TP-Link USB WiFi Dongle

Then edit the following file as below

sudo pico /etc/network/interfaces

The default file should be like

auto lo

iface lo inet loopback
iface eth0 inet dhcp

allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Change it as below

auto lo

iface lo inet loopback
#iface eth0 inet dhcp

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "your-ssid"
wpa-psk "your-password"
#wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp

Change your-ssid and your-password, but please keep the quotation marks around them

Comment out the wpa_supplicant.conf is commented out

Then reboot byt typing sudo reboot and remove the LAN cable

The Raspberry Pi will reboot and should connect to your WiFi Network

Enjoy!

Transmission BitTorrent – Export – Import downloaded torrents

May 11th, 2013 No comments

This article explains how to backup, export and then restore, import your downloaded torrents file into Transmission on a RaspberryPi

For example if you messed up with your SD and want to run the stable non development SD at night while during the day you have the chance to play around with settings

The first time I set up Raspberry + Samba Share NAS on USB Flash Drive + Transmission downloading to another USB Flash drive…it took me about 10 days

Now I am able to replicate the same configuration in less than half hour.

But one thing was still missing.

Where are all my downloaded torrents, seeding for ages?

So I wanted to be able to retrieve them all with no need to re-download them which would be pretty silly.

So here is what I have done with success.

To access the following folder I needed to enable root
sudo passwd root

Create a folder transmission_export in your home folder
mkdir transmission_export in /home/pi or wherever you want

Copy recursively the content of the following 2 folders
cp -R /var/lib/transmission-daemon/info/resume /home/pi/transmission_export

cp -R /var/lib/transmission-daemon/info/torrents /home/pi/transmission_export

Then when you have your new Transmission set up and working on your new Raspberry SD Card or whatever, you should import the files you’ve just backed up

then sudo service transmission-daemon restart and then reload the web interface.

You should find your downloaded torrents ready now to seed again!

I did not need that but you may also right click on each torrent and choose “Verify local data”, plus you may reset file owners

chown -R debian-transmission:debian-transmission resume/

and

chown -R debian-transmission:debian-transmission torrents/