OpenWrt Forum Archive

Topic: Latest Kamikaze on the Netgear DG834

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

I have build the AR7 port, and using the adam2flash.pl perl script flashed the squashfs image onto my router (I have already patched ADAM to stop it baulking at invalid checksums), however it doesn't seem to boot. Has anyone got this working? I am in the process of adding a serial port, but before I do this has anyone got any tips? Will I need to modify the ADAM mtd partition sizes? It looks from the source like it doesn't matter how big mtd0 and mtd1 are as long as the image fits into the span of them (which is what the perl script does).

Thanks

I had a DG834Gv2 where OpenWRT wouldn't boot when I had the wireless card plugged in.  That might be worth checking.

Back in the day, I had to add a 5th mtd so I could flash the large file to it while in the bootloader.  You kids and your scripts...

What have you done to confirm that it doesn't boot?

I tried r7496 on my DG834Gv2 which obviously includes the r7487 fixes.  Booting past the boot loader only produced the Kernel version and then it hangs.

I have r7038 working without any major problems on my other v2.  There are bugs, but it's been stable enough to run in production for me.

Not sure what's going on with the buildbot lately.  I haven't seen any green for a couple weeks now.

EDIT:  And to overcome the need to split images, I found it pretty easy to just add an mtd5 partition spanning across mtd0 and mtd1.  The instructions are on the DG834G page of the wiki.  I also like to patch the bootloader so that you don't need to add the checksum.

(Last edited by KillaB on 9 Jun 2007, 00:11)

Thanks for your replies. Yes I was hoping that r7487 changes were going to help, I have tried a few revisions before that but get the same result. Maybe I'll try r7038 just to check I'm not doing something else wrong.

Try making your own build, and if that doesn't work, go back to an old build.

I've now built r7038 and it works OK. I haven't done much testing but it starts up OK. I now need to find what has broken between then and the latest build...

Thanks, I'll try a revision with this change in too. Also what is required to get PPPoA working? Which components do I need to include in the build?

I'm now up and running (and posting this) on r7632. I had an issue with DNAT in that the shared library doesn't seem to be packaged at the moment (There is a ticket for this). So all in all a pretty easy setup.

Hi,
I've been reading alot about this port but I've been having problems
i've tried to get owrt working on my DG843g V1
i've patch Adam 2 to stop the shecksum error.
I created mtd5 partition.

I then flashed the image here
http://downloads.openwrt.org/snapshots/ … uashfs.bin
to the router.

Rebooted and it looks like it booting.

I can't ping 192.168.1.1, or telnet to it. NO DHCP happens so I can't get a ip.

I've reverted back ot netgear firmware by holding down the reset butt and rebooting. this allows me to use the netgear recovery tool to go back.

Is the image i'm using correct.

I haven't got the foggist notion how to build my own firmware. Is there a firmware out there that should work.

Any help would be great.

Chris

Have you got any serial port output from the booting?

No no serial port output. i've not done the serial port thing, do i need to?

Well, it would give more information as to what the problem is. Without serial output, one is essentially blind to any problems that are preventing the router from starting up. I suspect you're experiencing https://dev.openwrt.org/ticket/1858 but one cannot be sure without the serial output.

(Last edited by nabcore on 28 Jul 2007, 21:47)

could be a problem I don't even have a serial port on my motherboard. Has anyone got a image that is known to work on a DG834g that would be a great help

Thanks
Chris

The following entry in the wiki gives details about the router's serial port.
http://wiki.openwrt.org/OpenWrtDocs/Har … ear/DG834G

As for images that may work, you could try rebuilding the image, but commenting the call to ar7_init_clocks(); in setup.c

How can i get pppoe working in this ?
It is strange , i can not connect at all.
I do not see an nas0 interface , i am really new to openwrt.
If i edit  /etc/config/network add this it won`t work since nas0 does not exist.
My ifconfig shows eth0 [lan ip] and eth1 [which i suppose would be the interface to the pppoe to use], but if i set ifname to eth1 in the config file the modem will not reboot at all. No ping , no ssh , nothing... i had to reflash to get back to it.
any ideas ?

# config interface wan
##      PPPoE:
       option ifname   nas0
       option proto    pppoe
       option encaps   llc
       option vpi      0
       option vci      33
       option username "my_username"
       option password "my_password"

BusyBox v1.8.2 (2007-12-29 18:47:03 BRT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
KAMIKAZE (bleeding edge, r10030) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
---------------------------------------------------

# ipkg list
base-files-ar7 - 12-r10030 -
bridge - 1.0.6-1 -
busybox - 1.8.2-1 -
dnsmasq - 2.40-1 -
dropbear - 0.50-3 -
hotplug2 - 0.9+r102-2 -
ip - 2.6.20-070313-1 -
iptables - 1.3.8-2 -
iptables-mod-conntrack - 1.3.8-2 -
iptables-mod-filter - 1.3.8-2 -
iptables-mod-imq - 1.3.8-2 -
iptables-mod-ipopt - 1.3.8-2 -
kernel - 2.6.23.1-ar7-1 -
kmod-ipt-conntrack - 2.6.23.1-ar7-1 -
kmod-ipt-filter - 2.6.23.1-ar7-1 -
kmod-ipt-imq - 2.6.23.1-ar7-1 -
kmod-ipt-ipopt - 2.6.23.1-ar7-1 -
kmod-ipt-nathelper - 2.6.23.1-ar7-1 -
kmod-ppp - 2.6.23.1-ar7-1 -
kmod-ppp-synctty - 2.6.23.1-ar7-1 -
kmod-pppoe - 2.6.23.1-ar7-1 -
kmod-sched - 2.6.23.1-ar7-1 -
libgcc - 4.1.2-12 -
mtd - 6 -
ppp - 2.4.3-9 -
ppp-mod-pppoe - 2.4.3-9 -
qos-scripts - 1.2.1-1 -
tc - 2.6.20-070313-1 -
uclibc - 0.9.29-12 -
udevtrigger - 106-1 -
Done.



#  ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:01:B1:C1:91:51 
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3136 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1631 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1616568 (1.5 MiB)  TX bytes:225557 (220.2 KiB)
          Interrupt:41

eth1      Link encap:Ethernet  HWaddr 00:02:B2:C2:92:52 
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:27

imq0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:30
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

imq1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 
          NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:30
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


my modem is a DG834 V2.

Yeah smile  thats why i created that post smile

The discussion might have continued from here.