Trying to add GUI in OpenWRT

23 posts / 0 new
Last post
mona
mona's picture
Trying to add GUI in OpenWRT

I am bringing this discussion as a new thread http://www.myopenrouter.com/download/discussion/10719/Trying-to-add-GUI/

No LED is flashing, only LAN port LEDs are glowing very lightly. And in serial console, I am not able to see anything. So there is no question of ping or tftp. 

mona
mona's picture
Sorry I dont have console

Sorry I dont have console dump.
I have checked the power supply. Its perfect.

mona
mona's picture
I have also installed webif

I have also installed webif_latest.ipk by opkg.

bzing2
bzing2's picture
Hmmm, this seems worrying!!

Hmmm, this seems worrying!!

I have installed X-WRT with no-problems at all, which makes me wonder what I did differently!

The bit thats confusing me is that I didn't install webif_latest.ipk but webif.ipk. I used the OpenWRT scripts/feeds to pull down the latest copy of X-WRT and add it to my source tree (edited feeds.conf). I then rebuilt the sources and added it to my running image. All of this worked with no probables what so ever.

What did you guys do that was different to this???

mona
mona's picture
Steps:

Steps:
1.Download webif_latest.ipk from ftp://ftp.berlios.de/pub/xwrt/webif_latest.ipk
2.Download haserl from https://dev.francofon.fr/browser/Environnement%20de%20developpement%20FO...

3.Put haserl and webif_latest.ipk in package directory so that haserl executable would be copied in /use/bin.

4.Modify include/image.mk to put  webif_latest.ipk into /etc of board.

5.Modify package/base-files/files/etc/preinit with

ln -s /etc/opkg.conf /etc/ipkg.conf
alias ipkg='opkg'

6.Burn the new image. then command given

opkg install /etc/webif_latest.ipk

Now I am able to access the web pages. But after reboot, nothing is happening, not able to access console. Only 4 LAN LEDs are glowing very lightly.It seems bootloader crashes.

bzing2
bzing2's picture
Ok well it looks like you

Ok well it looks like you have installed X-WRT for "White Russian" and not for "Kamikaze" (which is the version you would have built). So that explains the difference in the steps.

Unfortunately I have no idea why installing that version has caused the problem. I suggest unpacking it on another computer and checking what the install scripts and init scripts do. Perhaps it touches something it shouldn't.

Looking at the description of your problem you may well have to resort to using the JTAG to recover the board. Good Luck!

bzing2
bzing2's picture
If you manage to figure out

If you manage to figure out what happend, let me know!

I have not, as yet, had a chance (or a need) to go near the JTAG. I would be interested to know if you manage to get it sorted. The following link may well be useful:

http://www.dd-wrt.com/phpBB2/viewtopic.php?t=22655

hpux735
hpux735's picture
I have the same problem. I

I have the same problem. I don't know the steps that caused it, It's the first time I've used jffs and ipkg. (Without Input/output errors, anyway.) And I setup the sshd settings for the firmware dd-wrt.v24-11205_WGR614v8-L_mini.chk

When I set the sshd settings and the device rebooted I got the solid LED's and there is nothing on the serial console :(

Anyway, I'm looking into making a JTAG cable, also. Has anyone had luck with this method? Also, are there special considerations for making the JTAG cable, such as I/O levels, etc?

hpux735
hpux735's picture
I did use dd-wrt.v24-11205

I did use dd-wrt.v24-11205_WGR614v8-L_mini.chk

It was my understanding that dd-wrt is built from the openWRT environment.
This firmware is the first I've found that allows jffs to open and work (I tried by: "touch /jffs/test")
Once that worked I did "ipkg update" and that completed successfully.
Then I looked at the packages that are in the system "ipkg list"
Then, to try the install system "ipkg install microcom"

Finally, because I was planning on using the serial port as an input instead of a console I setup sshd through the web interface. When I clicked on save and apply the router rebooted into a brick.
The symptoms are the same as listed here: all the LED's are on, dimly and there is nothing on the serial terminal.

My hypothesis is that, as I've heard elsewhere, the bootloader code is in serial flash. When I used the jffs partition I must have overwritten that code. Now, I'm in a situation where I have to get a bootloader back onto the board.

It is frustrating that the only option I have for adding functionality appears to be building a whole new firmware image. I REALLY don't want to spend the time building a cross-complication tool chain. I have other things to do with my time. ;)

VASH
VASH's picture
Hi

Hi
I had similar problem before. WRT54gsv4 - No LED no ping - brick. I managed to make it work by shorting the 16th pin circuit on the chip. I even uploaded openwrt firmware (without gui) I do not know how to log in or change anything without GUI. I have the Talisman Firmware ready to upload, but just can't get in. I can ping it and I also see wifi signal. Any ideas how to LOG IN and CHANGE THE FIRMWARE? THANKS!!

VASH
VASH's picture
HI. Any ideas how to LOG IN

HI. Any ideas how to LOG IN to openwrt without GUI and CHANGE firmware? I have the firmware ready - TALISMAN BASIC. Just don't know how to use router without gui. Thanks guys.

achilles
achilles's picture
VASH said:

VASH said:
HI. Any ideas how to LOG IN to openwrt without GUI and CHANGE firmware? I have the firmware ready - TALISMAN BASIC. Just don't know how to use router without gui. Thanks guys.

you can upload your firmware through tftpd also but for that you need to access board's console .... do you have this set up at your disposal .. if yes you can do it through tftp ...

VASH
VASH's picture
Well I have uploaded the

Well I have uploaded the first firmware this way, but it seems that I can't do it again. I would like to to access the installed firmware and use a command to upgrade the firmware to the Talisman. Since there is no GUI I can't log in. I am not a Wiz and I have very little knowledge about routers without gui. I thought there is a way to log in using something like telnet (I've never used telnet).

rakha
rakha's picture
VASH said:

VASH said:
Well I have uploaded the first firmware this way, but it seems that I can't do it again.     

If
you are able to access board's console, then firmware upgraddation is
simple. The steps are :

1.
Press ctrl +c while booting the router - the router will give you the

CFE
prompt.

2.
start the tftpd server by running the 'tftpd' command. It will now

listen
for the tftp packets.

3.
Connect a linux host with the LAN side of the router. You need to use

straight
cable for that.

4.
Set the IP of the ethernet interface to 192.168.1.111 (can be

anything
except 192.168.1.2 in the 192.168.1 subnet)

5.
Run the following command from the host

   
'tftp -m binary 192.168.1.1 -c put <FILENAME>'
 

 

achilles
achilles's picture
VASH said:

VASH said:
Well I have uploaded the first firmware this way, but it seems that I can't do it again. I would like to to access the installed firmware and use a command to upgrade the firmware to the Talisman. Since there is no GUI I can't log in. I am not a Wiz and I have very little knowledge about routers without gui. I thought there is a way to log in using something like telnet (I've never used telnet).

Why do you think that you can't upgrade the firmware again in the same way .... As far as remote login /telnet is concerned  you can do telnet to the board provided telnet has been configured in the OpenWRT that is running on WGR614L ....

using telnet is very simple .... you just need to connect your PC (from which you want to do a telnet) ..to the board (to which you want to do the telnet) ..through ethernet and give command ...

telnet <board's ip>

Make sure that you are able to ping the board from PC ..just to confirm the connection  ....

hope it helps you out ... :) 

suibEnvinna
suibEnvinna's picture
Hey, I’m a newest

Hey, I’m a newest one here of cause, but… Did you ever think that we could look for the circumstances, which lead to actual financial situation in the word, in the root of the global warming? Possibly, negative energy of people conglomerates, generating one more manifestation of nature, which rise against mankind? This time Nature powers got its purpose. Isn’t it?

spoidspem
spoidspem's picture
It’s apparently no

It’s apparently no longer enough for Google to map almost every corner of the Earth. Now the Internet’s 800-pound gorilla is turning its attention to the universe. NASA and Google announced Monday the release of a new Mars mode in Google Earth that brings to everyone’s desktop a high-res, 3D view of the Red Planet.

Full story on CNN
http://scitech.blogs.cnn.com/2009/02/02/shouldnt-it-be-called-google-mars/

UnsessmoluemO
UnsessmoluemO's picture
Facebook seemed to be

Facebook seemed to be relatively free of abhorent sexual behavior used by some practitioners of social networks, including MySpace. However, that changed when an 18-year-old man from outside Milwaukee was charged with posing as a younger woman in order to solicit nude photos of his male classmates and then coercing them to perform sexual acts.
Full news: http://www.crn.com/security/213201918

WoneeSedEffet
WoneeSedEffet's picture
Amid an escalating debate

Amid an escalating debate over just how kid-safe social-networking sites are, Texas authorities on Wednesday announced the arrest of a sex offender accused of using MySpace in violation of his parole. Jesse Clay Scott, 33, of Seguin, Texas, is just the latest of about 30 convicted sex offenders arrested to date by the Texas Attorney General's Fugitive and Cyber Crimes units for allegedly accessing MySpace in violation of parole conditions.

http://news.cnet.com/8301-1023_3-10157193-93.html

Daparktap
Daparktap's picture
Goats can now make medicine

Goats can now make medicine in their milk. But they can't make money...yet.

Yesterday the Food and Drug Administration approved Atryn, from GTC Biotherapeutics, a medicine to treat a hereditary deficiency of the clot-preventing chemical antithrombin. It will be the first medicine made in transgenic animals to be sold. Investors shrugged. Shares in the tiny company are worth only 75 cents and the stock market puts the company's value at a measly $75 million
http://blogs.forbes.com/sciencebizblog/2009/02/the-first-drug-from-desig...

saniya
saniya's picture
i have already installed this

i have already installed this X-WRT it was not properly installed just because of not knowing steps how to installed step by step so i have read this description so all information is great and informative.I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.. instructions to play craps

Shiffscooms
Shiffscooms's picture
This is such a outstanding

This is such a outstanding site.

I will tell my friends about it.

mikeay
mikeay's picture
Hey man,

Hey man,
I`ll be Real quick...
Copy Paste Systems just went live check it out now!
What's I'm about to reveal to you is a revolution in the making
that's being revealed to the world for the first time...
Here's why the Copy Paste Systems package is so UNIQUE...

Usually, many gurus and products will only try and teach you
some methods and tricks. But, you are left on your own after that
having to waste your time, energy, and money.

Copy Paste Systems is not the USUAL...

You are given the exact successful campaigns, landing pages,
templates, the exact systems and processes that
are generating money as we speak!

Copy Paste Systems is without a doubt about as safe as
it gets - because you are just copying and duplicating their
business. There's absolutely no "learning" involved!

All the testing, tweaking, market research, landing pages,
keywords, ads and all the other good "secret" stuff including
exact systems and processes are handed to you!

There's no more expensive trial-and-error!

P.S. IMPORTANT - There is no 150 page ebook to read, there is no series of videos to watch,
no tricks no gimmicks.

check this our now...

http:// goandgrab.info/CopyPasteSystem