OpenWrt Forum Archive

Topic: WGT634U Problem

The content of this topic has been archived on 30 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi.

I have flashed my Netgear WGT634U with "wgt634u-2.6-squashfs.bin".
The DHCP is on and I can access Internet (wireles wan´t work).
When I try to access the web conf with http://192.168.1.1 it want find it...

Why?

(Last edited by CHR57 on 27 Aug 2007, 19:16)

because you didn't install x-wrt?

Ehh, probably not.

Is that to late now without serial cable?

loswillios wrote:

because you didn't install x-wrt?

CHR57 wrote:

Ehh, probably not.

Lol..

Read about the GUI on the Webif² page here

Next, to install, go to Windows command line, and telnet to the box. If you already changed the password first, you need to SSH into the box, best use the free-ware PuTTY client.
Then install using the code below. The box has plenty of RAM/ROM, so it should be ok:

ipkg install http://ftp.berlios.de/pub/xwrt/webif_latest.ipk

(Last edited by cybermaus on 27 Aug 2007, 20:56)

Thanx
It want answer on telnet and I have not set any password.
Any default username/password when I use SSH?

You may also want to read about first logon

Anyway, if you did not set password then there is none. No default password exists to avoid people not changing the default. We assume no-one is naive enough to keep the box open without password. A tip: remember the password you set. The user is root.

And as stated, once you do set a password, the next logon will be SSH not telnet. Download and install PuTTY. It is a well known client that can do both Telnet and SSH.

Set your password with the "passwd" command, and when that is done, update the package list with the "ipkg update" command. Then finally install the Webif² package with the command shown earlier. After that, you have a GUI again. All basic WiFi router config can be done through the GUI, however, if you really want to unlock the power of OpenWRT, you need to keep PuTTY/SSH handy as well.

(Last edited by cybermaus on 27 Aug 2007, 22:14)

cybermaus + CHR57: Do not use http://ftp.berlios.de/pub/xwrt/. This url contains only packages for White Russian.

The Kamikaze webif2 packages are here: kamikaze packages.

The webif2 packages for White Russian and Kamikaze are different similarly to the firmware itself - NVRAM / UCI.

You're correct of course. Luckily, if you try, the installer will actually refuse and tell you it is for the wrong distro, so you cannot damage anything.

What is worse is the correct package for Kamikaze 7.07 on brcm47xx-2.6 seems missing: http://downloads.x-wrt.org/xwrt/kamikaz … latest.ipk

PuTTY asks for username & password and I have not set any...?
But now I have a serial cable that I will test.

cybermaus: Go directly to the packages subdirectory and install the latest webif2 package. smile The webif_latest.ipk is a symlink to the latest webif2 package in the packages directory.

CHR57 wrote:

PuTTY asks for username & password and I have not set any...?
But now I have a serial cable that I will test.

Grrrr!

I can't get the serial cable to work! I'm using PuTTYs serial mode (in Vista).

But what I don't understand is why I can't login with SSH. It asks for a password and I have not set any password anywhere!
I used the firmware from this url:
http://lestblood.imagodirt.net/uploads/ … uashfs.bin
Anything wrong with that one?

(Last edited by CHR57 on 28 Aug 2007, 20:58)

The article that goes with that image assumes you create a serial cable before you upload the image, and does everything from the console, including setting the password. So I guess you used an alternate method, like upgrade from the netgear's normal web GUI.

The article is dated August 2007, and mentions Kamikaze. So that is good. It is probably a 7.07 image.
Hopefully it is a stock image, otherwise, however unlikely, the password might indeed already be set, and you need to ask this David guy what the password is.

But before you do that, lets establish a few things:

- Did you indeed loaded the image through the Netgear GUI?

- How well are you with linux and bash? It may help if we know if you have a lot, a little, or no experience.

- Do you at all realize the normal linux administrator user is 'root', and therefore, if you specify root as user, than PuTTY may not ask for a password, and if it does, you may just be able to enter an empty password?

- You keep telling PuTTY and SSH asks for a user and password. Did you try telnet at all? I do not have any system around with an empty root password, so I do not know how PuTTY reacts to an empty password. But normal instruction is to use telnet on the first logon (see first logon link above)

- The article has a nice description on how to make a serial cable. However, not all Cell-phone-USB-serial cables have the same color wires. Are you sure you have the correct GND-RX-TX wires attached? Do you have any other equipment to test your serial cable?

(Last edited by cybermaus on 29 Aug 2007, 10:22)

Has anyone tried the latest build? I'm thinking it's broken. I'm getting similar results - no SSH access and overall very sketchy performance. What's a good build to try?

cybermaus wrote:

But before you do that, lets establish a few things:

- Did you indeed loaded the image through the Netgear GUI?

- How well are you with linux and bash? It may help if we know if you have a lot, a little, or no experience.

- Do you at all realize the normal linux administrator user is 'root', and therefore, if you specify root as user, than PuTTY may not ask for a password, and if it does, you may just be able to enter an empty password?

- You keep telling PuTTY and SSH asks for a user and password. Did you try telnet at all? I do not have any system around with an empty root password, so I do not know how PuTTY reacts to an empty password. But normal instruction is to use telnet on the first logon (see first logon link above)

- The article has a nice description on how to make a serial cable. However, not all Cell-phone-USB-serial cables have the same color wires. Are you sure you have the correct GND-RX-TX wires attached? Do you have any other equipment to test your serial cable?

Thanx for helping.

Yes, I loaded it from the Netgear GUI.

Unfortunately non experience.

I have tried root without any password and any default passwords I can think of.

Telnet want answer. Like that service is not enabled.

I now understand that the device use 3v and the PC serial 5v. So I need to find a Cell-phone-USB cable or other thing.

Thanx

/Chr

CHR57 wrote:

I now understand that the device use 3v and the PC serial 5v. So I need to find a Cell-phone-USB cable or other thing.

You hooked up the RX/TX directly to your PC serial port? Oh boy, I hope it is still working. Normally a 'real' serial port is +12V / -12V, not 5 volt as you think, and certainly not 3.3V.

Indeed, normally if a password is set, telnetd will not start, and thus not answer. It seems like indeed a password is set. Try to contact this "David" guy who wrote that article and build the image you used if he knows if it has set a default password.

CHR57 -

           From the posts it looks like you are going back and forth about whether the router is really working.  Kamakaze does work reliably on the 634U.  However Kamakaze does not have a default Web interface so you will have to get used to command line linux to get anywhere with it.  You can eventually install Webif^2 and that will make things easier, but you should master basic things first.  You will need to read through the Wiki Documentation, as mentioned above particularly first logon.  Much of the documentation refers to white russian and linksys WRT's.  This is still a good introduction, but anytime a difference is mentioned with Kamakaze or the 634U they are definitive not the general documentation.

     You do have to log in with telnet first, SSH (and PuTTy) do not work until after you have run the passwd command.  After you run the passwd command telnet will not work.  If your router is bricked (flashing kamakaze did not work), you will have to use the serial console, but this is very complicated and you do not want to use it until after you have determined that that the router is bricked.  You really really do need the cell phone USB cable if you use the serial port.

You mentioned that DHCP and WAN work on your router.   If this is true kamakaze is working and you can log in with telnet.  But you need to make sure this is true.  You could for example run nmap 192.168.1.1 and ports 23 and 53 should show up (telnet and DNS).  You can also ping 192.168.1.1 and you should get a response.  Nmap is a unix command and although versions exist for windows you won't already have it installed if you have windows.

If the router is really working telnet is dead simple and you should just connect to it, but you probably have to give more information about how you are connected to the router and what you have tried.  One problem you might have is that you have a host computer with a network card set in a different subnet - i.e. 192.168.0.1 your host computer must be operating in the 192.168.1.1 subnet.  You can set your host network card address manually and set it multiple host ip's.  You can also set your host computer so that the network is connected directly to the router and not to any other computer and set your host computer to use DHCP.  You may have done this if you know that DHCP and WAN are working.  Another possible problem is that you have a firewall set to block telnet (even outgoing).  You need to know what the firewall settings are or disable it while you are setting up the router.

Wireless does not work in the initial setup on the 634U - the configuration parameter is set to 0.  This is in the /etc/config/wireless file.  You can change it using vi to edit the file.  Vi is a character mode full-screen editor which takes a little getting used to at first - you will need to read documentation.  Vi is standard on linux systems - try man vi, but if you have Windows you will have to look on the internet for documentation (try google).

Again - first make sure you have some kind of network connection to the router and if you have any problem simplify your system so the only connection is between your host computer and the router.  Try dhcp and then try manually configuring the network card.  If you can get an active network connection then telnet should work- it will give you a banner and then a command line prompt.  You can then display and make modifications in /etc and /etc/config.  /etc/config/network sets the subnet and other things.  /etc/config/wireless modifies the wireless setting.  The command passwd will prompt you for a root password and will then enable ssh and disable telnet although telnet will work until you exit.  When you use ssh you need to connect to root@192.168.1.1.  In PuTTy make sure the user name is root (one of the data parameters in the configuration).

Once all of this works you can install Webif, but make sure you understand ipkg first and that you you use the kamakaze webif for your machine.

If you have bricked your router and need to use the serial console then read the documentation very carefully.  One quirk of the 634U is that it only works with tftpd on the host machine not tfp.  That is the daemon version of tfp not the client version.  This means you will probably need a linux machine, although you can probably get tfpd for server versions of windows.  The end user versions have tfp, not tfpd.  You will need to read a lot of documentation to get tfpd flashing through the serial console working right.

The discussion might have continued from here.