Command Line Access

18 replies [Last post]
kiteman
Offline
Joined: 20 Feb 2012

Trying to get HAH up and runnoing on my Livebox. Using the instructions on DBZoo

I've managed to downgrade my livebox to v5.03.3-uk

Next it says I need to get command line access

I can access the livebox through the brower and have changed the network settings to

10.0.0.1 etc

PC is set to 10.0.0.2 etc

Downloaded the etc.tar file on step 4

after that it has some command line code. What do I do with that?

I can't connect to the livebox with filezilla server or command prompt - Telnet

It mentions changing the Livebox name then shows more code.

Thanks in advance

 

 

 

brett
Offline
Providence, United States
Joined: 9 Jan 2010
These are the high level

These are the high level steps - http://www.dbzoo.com/livebox/hah_installation

On the high level you are on step 2. - Gain command line access

This has sub-steps after step 4 which you said you completed did you proceed with steps 5 and 6 too ?

http://www.dbzoo.com/livebox/commandlineaccess

And then after sub step 6 (of command line access) you need to do

High level step 3. http://www.dbzoo.com/livebox/buildingfirmware#replacing_the_redboot_loader

I think this need to be tidied up a little, its broken up like this as this is how it happened when doing the work.

Brett

kiteman
Offline
Joined: 20 Feb 2012
I've got to step 4 on the

I've got to step 4 on the command line access page.

Step 4. says download etc.tar (which I've done) into your FTP area (Don't know what this is?) and rename this file as U (can only name it U.tar)

Then there's a bunch of code. What am I meant to do with the code?

This is where I'm stuck

Step 5 Says In Configuration→Advanced→Wireless, change Livebox Name to (Name to what?)

Then another bunch of Code

Don't have a clue on what I'm meant to be doing

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Step 4

So, the ftp area is on your PC. The etc.tar MUST be renamed as 'u' (single character, lower case), not 'U' or 'u.tar'.

at step 5, the Livebox name needs to be set to ;cd /etc;wget ftp://10.0.0.2/u

This line is executed when the Livebox box next reboots. It causes the Livebox to get the file 'u' from your PC (via the ftp server) into the Livebox directory '/etc'.

kiteman
Offline
Joined: 20 Feb 2012
Thanks for that.Sorry about

Thanks for that.

Sorry about this but I want to make sure I'm doing this correctly and don't brick the livebox.

Next question is how do I know it's worked. I can't get Filezilla server to connect to the live livebox. to check the log

I've put the U file in C:\10.0.0.2

is this correct?

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
You know that the ftp has worked ...

... when you see the logfile from your FTP Server (running on your PC) showing the Livebox making the request to get the 'u' file and the FTP server replying by serving the file from the PC to the Livebox.

kiteman
Offline
Joined: 20 Feb 2012
When I open up filezilla

When I open up filezilla server it gives me a connect to server prompt

Server address: 10.0.0.1

Poet: 14147

Admin password: admin

I click OK and get Error, could not connect to server

 

I've put the U file in C:\ 10.0.0.2 is this correct?

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Configure Filezilla Server

It sounds like you've not used an FTP server before. You must configure the FTP Server before it will work ... things like users and shared folders need to be setup.

Do read the documentation that is supplied with the FTP server.

... and if all else fails, you can always buy a pre-flashed HAH box :-)

 

kiteman
Offline
Joined: 20 Feb 2012
Sorry to be a pain but this

Sorry to be a pain but this is all new to me.

I've got my filezilla server working. When I reboot the live box I get the following Log

(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> Connected, sending welcome message...
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> 220-FileZilla Server version 0.9.41 beta
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> 220-written by Tim Kosse (Tim.Kosse@gmx.de)
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> 220 Please visit http://sourceforge.net/projects/filezilla/
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> USER anonymous
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> 331 Password required for anonymous
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> PASS ******
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> 530 Login or password incorrect!
(000003) 06/12/2010 02:25:05 - (not logged in) (10.0.0.1)> disconnected.

It looks like the password is blocking it. I can't seem to find in the server settings where I need to set the login detail. does this need to be done on the server or the livebox?

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
FTP Server needs to be setup

You must configure the FTP access for the 'anonymous' user and make sure that the 'u' file is in the default storage area for this user. You do this on the PC.

Take a little time to read the FTP Server user-guide and understand how the ftp server works.

kiteman
Offline
Joined: 20 Feb 2012
Thanks for the help guys,

Thanks for the help guys, think I've cracked it.

For those with the same problem

use the default filezilla connection settings

Server address: 127.0.0.1

port 14147

Admin pasword: (leave blank)

 

Create a folder called "10.0.0.2" on you HDD and put the 'etc.tar' file in it. Change the file to U

in Filezilla server you need to set up a new user: Edit/Users

then add a new user and call it "anonymous"

next click shared folders and add a new directory. Browse to C:\10.0.0.2 and OK it

it should now connect and do it's thing

garrydwilms
Offline
United Kingdom
Joined: 31 Mar 2011
Welcome

Congratulations and welcome to the HAH owners club!  I found FileZilla the worst bit and struggled at first. However, sometimes good old trial and error is the best way to learn. 

 

Hope you enjoy it as much as I do. Still finding new stuff to do with it!!

g7pkf
Offline
United Kingdom
Joined: 11 Jan 2011
I had similar problems

ends up twat like me accidentallty downloaded client and spent 10minutes scratching head as to where the options were DOH!!

davidnewton
Offline
Shrivenham, United Kingdom
Joined: 23 Nov 2010
easily done

I too initially tried using the client software - doh - but then when I did use the server software windows 7 had its usual firewall fit and caused numerous problems - until I nuked it ;-)

stressed
Offline
Joined: 2 Mar 2013
Inventel livebox filezilla server RTR u 550 FILE NOT FOUND

hello.am following script to unlock and just changed name of livebox but have this error on log can anybody help please?

derek
Offline
Glasgow, United Kingdom
Joined: 26 Oct 2009
Is the 'u' file in the correct location?

It sounds as if the Livebox is able to talk to your ftp server OK. However, when the Lvebox makes the request to get the file named 'u', it cannot be found on the ftp server.

Make sure that the file is available in the root of your ftp area, that permissions are set to allow access to this area and that the filename is in lowercase.

Cheers,
Derek. 

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Hi Stressed, basically as

Hi Stressed, basically as Derek said, make sure you have completed this step

Download etc.tar from http://www.dbzoo.com/_media/livebox/etc.tar

rename etc.tar to "u"

use FTP to copy the "u" file to the Root of the livebox

then you can complete the name change as follows

Browse to Router - 10.0.0.1

Configuration - Advanced - Wireless

Change Livebox name to - ;cd /etc;wget ftp://10.0.0.2/u

Submit

Remember to check the FTP Logs for  "RETR u" before completing the next step

stressed
Offline
Joined: 2 Mar 2013
telnet

hi,  could only manage to get 226 transfer OK on log by extracting etc.tar with 7-zip , however having changed LB name- typed telnet 10.0.0.1 comand prompt get "cannot open connection to host port 23" is this a settings problem or have I to start again please.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
Completely confused by your

Completely confused by your last update.  I have no idea why you are using 7z to extract this file and how that can related to the 226 transfer OK message from the FTP server logs.  What you are trying to accomplish at a high level is this

You need to get the file "u" onto your livebox - you can see from the wiki page if this is successful the FTP logs will show

(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> RETR u
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> 150 Opening data channel for file transfer.
(000001) 21/05/2010 11:11:41 - anonymous (10.0.0.1)> 226 Transfer OK

Once you have done that you have to extract its contents, again you need to change the hostname and reboot to trick the system into now extracting this file you've transfered.

As the Firmware is locked down this must be done it TWO steps using the livebox hostname as the backdoor, this is what you are trying to do here..   If the "u" file is there then you are step away.

In 'Configuration->Advanced->Wireless', change the Livebox Name to

;cd /etc; tar xf u

We would make this easier if we could but this is what we have - if you are having problems here you really need to watch you step when you have to update the redboot firmware as a mistep here will render you a brick.

Brett

Hardware Info