OpenWrt Forum Archive

Topic: WGT634U Thoughts

The content of this topic has been archived on 1 May 2018. Unfortunately there are posts – most likely complete pages – missing.

Ok heres what I did and heres what I get

I Flashed the orignal netgear firmware as given in the wiki

First part took 1.5 hrs to flash. When flashing the second part forgot to add --offset.

Now its 4:30 AM here at this point and I am really tired.

Start flashing 1st part, and leave comp on at night

My dad woke up at around 8, switched both off - forcefully - plug

Now I boot the router I get this boot sequence

CFE version 1.0.34 for BCM95365R (32bit,SP,LE)
Build Date: Tue Feb 24 03:21:41 CST 2004 (root@jackylinux)
Copyright (C) 2000,2001,2002 Broadcom Corporation.

Add MAC client version(DNI).
Initializing Arena.
Initializing Devices.
et0: chipattach: NVRAM_GET(et0phyaddr) not found
et0: chipattach error
et0: etc_attach failed
Could not attach bcm4710 ethernet: -2
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE:  0x81BB1280 - 0x82000000 (4517248)
Initialized Data:          0x81BB1280 - 0x81BB3E90 (11280)
BSS Area:                  0x81BB3E90 - 0x81BB45D0 (1856)
Local Heap:                0x81BB45D0 - 0x81FB45D0 (4194304)
Stack Area:                0x81FB45D0 - 0x81FB65D0 (8192)
Text (code) segment:       0x81FB65E0 - 0x81FFFFB0 (301520)
Boot area (physical):      0x01B70000 - 0x01BB0000
Relocation Factor:         I:E23B65E0 - D:01BB0280

Heres my orignal printenv

CFE> printenv
Variable Name        Value
-------------------- --------------------------------------------------
BOOT_CONSOLE         uart1
boardtype            bcm95365r
et0macaddr           00-00-00-53-65-10
et1macaddr           00-00-00-53-65-11
CFE_VERSION          1.0.34
CFE_BOARDNAME        BCM95365R
CFE_MEMORYSIZE       32
*** command status = 0

So now I setenv the MAC and some other variables, which I got from http://forum.openwrt.org/viewtopic.php?pid=22991

setenv –ro STARTUP “ifconfig eth0 -addr=192.168.1.1 -mask=255.255.255.0;boot -elf -fs=raw doc0:flash0.os:”
setenv –ro kernel_args “console=ttyS1,115200 root= rw noinitrd”
setenv –ro et0phyaddr 254
setenv –ro et0mdcport 0
setenv –ro configvlan 0x1
setenv –ro et0macaddr 00-09-5b-f7-0d-34
setenv –ro et1macaddr 00-09-5b-f7-0d-35
setenv –ro NET_DEVICE eth0
setenv –ro NET_IPADDR 192.168.1.1
setenv –ro NET_NETMASK 255.255.255.0

The problem is as soon as I reboot, it goes back to what it was. setenv -p also doesnot help. What is going on? Should I just return the router and get a new one. This frustrating, but kinda fun

(Last edited by nitant on 16 Nov 2006, 09:44)

What commands did you use for flashing?

The flashing procedure took me about 5min maximum!

I did not need to flash two parts, I prefer to have a minimum base flash image, and install required packages afterwards (I'm using jffs2 image)
If you want to boot from USB you have to modify /etc/preinit before building the image (squashfs image), or simply edit afterwards (jffs2 images).

Why do you need to change the MAC address in CFE? (And all the other stuff)
You can do this in linux in /etc/init.d/... with "ifconfig eth0.1 hw ether xx-xx-xx-xx-xx".

The orignal Netgear Firmware has to be flashed in two parts (check the Wiki page). Anyway all my NVRAM variables got "unset" an set-ting them again, would coz them to be temporary(wouldnot survive reboot), thus the LAN card of the Router wouldnot work. Called Netgear, they said I will get a replacement as it's DOA (Dead On Arrival).

I bought it on the 14th. I think maybe something was messed up with the flash of the router, thats why it took more than an hour.

Also, can I have your base image. I just need W-LAN/VLAN(Internet Port)/USB support. PPPOE etc is not required. I dont want to boot from USB. I would rather have a minimal fast base package, with a few extra packages installed. My ISP has a always-on LAN connection, so dont need anything fancy there either.

Got my new router. Whee.

Please, MMCM, can you forward me your base images? I just dont wanna brick it this time round. Also can I work on the inbuilt(default netgear) linux firmware? The login (admin:admin) doesnot work, so cant try.

This is something different, last time, I updated to 1.4.1.13 and I could not use the "Installing SSH Daemon while keeping original Firmware" guide here http://sarwiki.informatik.hu-berlin.de/ … ar_wgt634u

Now it works, but server is down. Anyway gonna mess around a bit with this way, before attempt to flash.

--EDIT--

I was reading up on the orignal WGT634U thread, now I saw something about FTP. But I cant login, I tried modifying the proftpd.conf file, but nope. I basically wanna put ctorrent on it, preferably without flashing. BTW, how come wget doesnot work, any alternatives.

I logged in through the CFE using root and password.

(Last edited by nitant on 20 Nov 2006, 17:10)

After messing with the router a lot. Really, I have decided to throw caution to the wind and made my own openWRT image. Used this a  guide
http://forum.openwrt.org/viewtopic.php?pid=31794

I selected more or less default config, removed support for PPPoE, extra wireless drivers(Cisco etc), extra USB support(Prolific, Belkin, etc). Left mostly other stuff to default. Also the architecture i selected as BCM953xx 2.6, as thats the CPU the WGT has, and you said 2.6 is the way to go.

Anyway Image is building. Now should I flash squashfs or jjfs2. I read that generally jjfs2 is better. Also I flash using the commands on the Wiki right? Any other pointers etc for me?? I wont flash till tomm so will wait if neone has replied till then.

I flashed it and it works. Weeeeeeeeeeeeeee. WOWEE, I just got upgraded from ultra-n000b status to n00b status. Got wifi and WAN/LAN working. Now to start sum dls

How has it all worked out with torrent downloading?? Also have the WGT634U, and was thinking about doing something fun with it... Does the torrent client support RSS-feeds from trackers? Otherwise I might go with this instead: http://www.procare.com.tw/idd35.asp?prod_id=137

Yes it worked. Torrent Downloads and everything. For best results, make sure to have a swap file. Though my WGT634U is dead (lightning), and now I am on the journey to downloading with a WRTSL54GS

The discussion might have continued from here.