OpenWrt Forum Archive

Topic: wgt634u

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

All,

So I'm having some issues trying to get an image to be loaded on a board (wgt634u).  It already seems to have an FreeWRT version on it.  However I can't seem to mount the USB drive and can't get an FTP session working.

I checked with Filezilla Client that it can download the file from the Filezilla Server (test done on the same machine, not sure if a good test). I tried some different combinations of using wget, but no luck.

Also I noticed that I am missing commands like, scp. 

Board IP: 192.168.0.10
FTP Server: 192.168.0.4
Serial connection: 3rd machine

However I have gotten to the CFG setup (via ctrl-c upon boot in the serial terminal).  I changed the setup to boot to the TFTP and have a stock image loaded.  Unfortunately I don't know if I lost the original flashed image.  I stored all the env vars (in a txt file) before I ran 'setup', so in theory it is still there.  Is there away for me to put it back?

I noticed that there in no 2nd partition to boot from.  It is nice to be able to setup the 1st partition in flash and 2nd as an TFTP boot to an image for dev/test.  Is it possible to change the firmware to enable this?

I want to create an image with all the OpenWRT bells and whistles.  The openwrt-wgt634u-squashfs.bin image doesn't seem to work.  I really need a working USB so I can utilize local file storage
http://downloads.openwrt.org/kamikaze/8.09.2/brcm47xx/


===========================================
.
usb.c: registered new driver Philips webcam
hub.c: new USB device 00:03.0-1, assigned address 3
usb.c: USB device not accepting new address=3 (error=-145)
hub.c: new USB device 00:03.0-2, assigned address 4
usb.c: USB device not accepting new address=4 (error=-145)
hub.c: new USB device 00:03.0-2, assigned address 5
usb.c: USB device not accepting new address=5 (error=-145)
hub.c: port 1 over-current change

===========================================
root@FreeWRT:~/image# wget ftp://wrm4@192.168.1.4:openwrt-wgt634u-squashfs.bin
Connecting to 192.168.1.4[192.168.1.4]:0
wget: Unable to connect to remote host (192.168.1.4): Connection timed out
root@FreeWRT:~/image#
--------------------------------------------
root@FreeWRT:~/image# wget ftp://wrm4@192.168.1.4:21/openwrt-wgt634u-squashfs.bin
Connecting to 192.168.1.4[192.168.1.4]:21
wget: Unable to connect to remote host (192.168.1.4): Connection timed out
root@FreeWRT:~/image# ls -alrt
drwxrwxrwt    6 root     root          140 Jan  1 01:55 ..
-rw-r--r--    1 root     root            0 Jan  1 02:28 openwrt-wgt634u-squashfs.bin
drwxrwxrwx    2 root     root           60 Jan  1 02:28 .

===========================================
root@FreeWRT:~/image# ls /dev
console   kmem      mtdblock  ptmx      root      urandom
cua       log       null      pts       shm       usb
full      mem       nvram     pty       tts       zero
gpio      mtd       port      random    tty
===========================================
root@FreeWRT:~/image# ls /bin
ash         echo        iplink      mv          run-parts   umount
busybox     egrep       iproute     netmsg      sed         uname
cat         false       iptunnel    netstat     sh          uncompress
chgrp       fgrep       kill        nice        sleep       usleep
chmod       grep        ln          pidof       stat        vi
chown       gunzip      lock        ping        stty        watch
cp          gzip        ls          printenv    su          zcat
date        hostname    mkdir       ps          sync
dd          ip          mktemp      pwd         tar
df          ipaddr      more        rm          touch
dmesg       ipcalc      mount       rmdir       true

===========================================
root@FreeWRT:~/image# ls /sbin
failsafe     if-watchdog  insmod       modprobe     reboot       syslogd
fwcf         ifconfig     jffs2root    mount_root   rmmod        udhcpc
fwcf.helper  ifdown       klogd        mtd          route        vconfig
halt         ifup         logread      pivot_root   switch_root  watchdog
hotplug      init         lsmod        poweroff     sysctl
===========================================

All I have taken the bleeding edge openwrt-wgt634u-squashfs.bin in 10.03.1 that was updated 12/21/2011.  If someone read this post and built it thanks, but unfortunately it still doesn't work. 

Warning: negative seek on tftp file attempted
Error:  Invalid ELF file

CFE> setup

Setup system configuration
WARNING: Invalid data could render system inoperable.
Press Enter for Platform name to Exit.
Enter Platform name:

        bcm95365r - Broadcom BCM95365R Sentry5 VR/WAP/VPN GW Platform
        bcm95365p - Broadcom BCM95365P Sentry5 PCI NIC Platform
        bcm95365k - Broadcom BCM95365K Sentry5 PCI Platform
        bu5365fpga - Broadcom BCM95365 53XXX Sentry5 FPGA Platform
        bcm95380_rr - Broadcom BCM95380 RoboRouter/Sentry5 Dev Platform
        bcm94702cpci - Broadcom BCM94702 CPCI Host Controller
        bcm94710ap - Broadcom BCM94710AP WAP/Router
        bcm94710 - Broadcom BCM94710D Dev Platform

Press Enter to exit
Enter platform string:bcm95365r
Using platform[bcm95365r]
IP Interface Configuration type [DHCP/Static/None]:Static
Enter IP Address:192.168.1.10
Enter IP Netmask:255.255.255.0
Enter Gateway IP:192.168.1.1
Enter DNS Server IP:192.168.1.1
OS Boot type[FLASH/TFTP]:TFTP
TFTP Server IP Address:192.168.1.2
ELF Image Filename:openwrt-wgt634u-squashfs.bin
Configuring STARTUP for Static IP Configuration, TFTP OS Boot
Filesystem Type[RAMDISK/NFS/FLASH/Other]:FLASH
Enter Linux FLASH Device name [/dev/fl/0]:/dev/fl/0
Configuring Kernel for FLASH Root Filesystem Configuration
*** command status = 0
CFE> reboot

....

Device eth0:  hwaddr 00-09-5B-F7-40-1E, ipaddr 192.168.1.10, mask 255.255.255.0
        gateway 192.168.1.1, nameserver 192.168.1.1
Loader:elf Filesys:tftp Dev:eth0 File:192.168.1.2:openwrt-wgt634u-squashfs.bin Options:(null)
***************************
****  MAC Client V1.0  ****
***************************
et0macaddr value :flag =0 value=00-09-5b-f7-40-1e
et1macaddr value :flag =0 value=00-09-5b-f7-40-1f
MAC exist at least one
system ethernet mac exist and not default....
Skip mac client process.....
Loading: Warning: negative seek on tftp file attempted
Failed.
Could not load openwrt-wgt634u-squashfs.bin: Invalid ELF file

Alright so I have been able to build an image from OpenWrt-ImageBuilder-brcm47xx-for-Linux-i686 Kamikaze 8.09.2 utilizing the command:
make image PROFILE=WGT634U

I load the image through a TFTP, but after it begins to boot instead of failing on "Loading Image", it starts the original image on the board.  I have no idea why this is happening.  Can someone tell me what I'm miss interpreting?

(Last edited by gothrog on 29 Dec 2011, 22:10)

Hum...

I have been able to load the latest BackFire 10.03.1 by first downgrading the original firmware to 1.4.1.10 (downloaded from netgear's website) and then uploading a special config backup, and then flashing the openwrt firmware (as per http://wiki.openwrt.org/oldwiki/OpenWrt … r/WGT634U).

It boots, the web interface (luci) works, but wifi is missing...

Any ideas?

The discussion might have continued from here.