[Hardware Hacking General] samapal:
welcome. So if you have a 3g wifi router - Huawei E5830 or zte mf30, you can add features to your devices. Both devices have a micro sd slot. inside the device runs Linux, now get access to the content sd card via ftp server. First I will show you how easy to get ftpd at the Huawei E5830, then back to the zte mf30.

ftpd enable for the Huawei E5830

1. the first thing you need to do for enable ftpd on device is access to internal Linux via telnet. For huawei 5830 for enable telnet to open a web page http://www.zibri.org/2010/04/e5830-telnet-server-enabler.html You need use PC for to enable telnet at you wifi router. Huawei E585, E5830, E5832S, E583C declared supported, you need to download the application to enable support for telnet. Before downloading disable your anti-virus, it will be possible to report on the virus, but the virus is not present. then need to connect the device to a PC via USB and turn on. If the driver and the software is not installed, you must install. Then run the downloaded application. At the input field will be the date and time. You need to visit the blog entry that matches the date and time at input field of the application. You need to copy the blog title and paste into the application input field. When the application is worked out, congratulations, you now had access to the internal Linux. To check access via telnet you need to typing at console telnet 192.168.1.1 then you should see a login prompt. Enter root without a password.

2. Now when accessed through telnet open, now you need to download and unzip ftpenable.zip to the root at the micro sd card. You need ftpenable folder at the root of the micro sd card. Place micro sd card into wifi router and turn on it. Connect your android device to the wifi router via wifi

3. Now you can use any console but I recommend downloading connectbot. free application at the playstore https://play.google.com/store/apps/details?id=org.connectbot&feature=search_result#?t=W251bGwsMSwxLDEsIm9yZy5jb25uZWN0Ym90Il0 . Run connectbot, choose telnet, enter 192.168.1.1 connect over telnet. Now close the connection. Now we have a record in the connectbot 192.168.1.1 then long press and select from the list - edit host. Select from a list of post-login automation and at the input box paste the following text.

root

mkdir /mnt/sdcard

mount /dev/mmcblk0p1 /mnt/sdcard

sh /mnt/sdcard/ftpenable/inst.sh

echo "well done! congratulations!"

Note that after the last line cursor should be to move to a new line(like press enter). It was the execution of the script to install busybox which supports ftpd. After WiFi router will rebooted. Connect WiFi router and open connectbot. Then long press and select edit host. Go to the post-login automation. Delete script for installation busy box and paste text

root

startftpd.sh

I created two entries in connectbot. one to install busybox, another to start ftpd.

after the close of the session in connectbot, ftpd stops.

it's convenient. When you need to access through ftp you turn it on when you need access to micro sd via usb, you turn off ftpd closing session connectbot.

so to enable FTP access to micro sd now need to connect to wifi router and run connectbot last entry that starts ftpd on the router. or enter into any console and connect to a telnet then typing startftpd.sh

Ftp enable for the ZTE mf30

Zte mf30 has busybox that support ftpd, and only that we need is get telnet access to the internal Linux. I do not know how to get instant access to telnet. Now access to telnet need to get every time after reboot the router.

1. For enable telnet access to the WiFi router you need have web browser that support opening offline page. I use opera mobile. Download ftpenable.zip, unzip it. First connect WiFi router. then go to opera mobile and type 192.168.0.1 then enter login and password admin admin.

Enter to the web page Wi-Fi router.

Then go to ftpenable folder and launch script.html choose open with opera mobile. Choose enable.

2. To enable ftp server. execute the commands below it. I have use connectbot, because it create record with automation. Then goto connect bot. you need to create a connection. telnet 192.168.0.1 then paste the text in the automation

root

mkdir /mnt/sdcard

mount /dev/mmcblk0p1 /mnt/sdcard

/system/busybox tcpsvd -vE 0.0.0.0 21 /system/busybox ftpd -v -w /mnt/sdcard

do not forget to go to the next line after the last sentence. to execute.

i have used total comander with ftp plaggin to connect ftp server 192.168.0.1