Can not ping self with DD-WRT on WGR614L

5 posts / 0 new
Last post
achilles
achilles's picture
Can not ping self with DD-WRT on WGR614L

Hi all,

I have compiled DD-WRT for WGR614L and flashed my board with corresponding image.

The board boots up properly but I am not able to ping myself.

ifconfig shows three interfaces eth0,eth1 and vlan1 out of which vlan1 has an IP 192.168.1.2 and eth0 and eth1 dont have any ip.

I am not able to ping 192.168.1.2 or if I give an IP of 192.168.1.xxx to eth0 and try to ping it I am not able to do so.

Please note that in all the cases I m truing to ping myself from board but it's not happening ...

Could anybody plz tell me what I am missing .....

 

 

achilles
achilles's picture
thnx now I am able to ping

thnx now I am able to ping myself ... but board to PC ping still not working ..
I think I need to do some configuration manipulation to enable this ...

achilles
achilles's picture
Tathagata Das said:

Tathagata Das said:
can you send me the configuration ? I think it is just a configuration problem. Either you disable some option during compilation or you have modified (unintentionally) network configurations and ping is not working now.
You can download one dd-wrt firmware from this site and test it. If it works fine then you can compare the configuration with that firmware.

I am using following configuration ....

#
# Base Features
#
CONFIG_BCM5354=y
#CONFIG_VFS=y
CONFIG_WIVIZ=y
#CONFIG_NOMESSAGE=y
CONFIG_PWC=y
# CONFIG_RSTATS is not set
CONFIG_OVERCLOCKING=y
CONFIG_VLANTAGGING=y
CONFIG_PROXYWATCHDOG=y
CONFIG_RADIOOFF=y
CONFIG_JFFS2=y
CONFIG_LANGUAGE=y
CONFIG_NETWORKSETTINGS=y
CONFIG_ROUTERSTYLE=y
CONFIG_SCHEDULER=y
CONFIG_SYSLOG=y
CONFIG_TELNET=y
CONFIG_WDSWATCHDOG=y
CONFIG_IPV6=n
CONFIG_CONNTRACK=y

CONFIG_ARP=y
CONFIG_MSSID=y
CONFIG_HTTPREDIRECT=y
CONFIG_SMTPREDIRECT=y

CONFIG_DIST="mini"

CONFIG_BLUE=y
CONFIG_ELEGANT=y
CONFIG_YELLOW=y
CONFIG_CYAN=y
CONFIG_RED=y
CONFIG_VLAN=y
CONFIG_GREEN=y
CONFIG_ORANGE=y
CONFIG_CDEBUG=n
CONFIG_TELNET=y
CONFIG_AQOS=n
CONFIG_KROMO=y
CONFIG_WIKAR=y
CONFIG_XIRIAN=y
CONFIG_BRAINSLAYER=y
CONFIG_RC=y
CONFIG_NVRAM=y
CONFIG_SHARED=y
CONFIG_BUSYBOX=y
CONFIG_LIBBCM=y
CONFIG_WLCONF=y
CONFIG_BRIDGE=y
CONFIG_HTTPD=y
CONFIG_WWW=y
CONFIG_NOSSL=y
CONFIG_EBTABLES=y
CONFIG_RADAUTH=y
CONFIG_DHCPFORWARD=y
CONFIG_VPND=y
CONFIG_PPTPD=y
#
# IPSec
#
# CONFIG_IPSEC is not set
# CONFIG_RADIUSPLUGIN is not set
# CONFIG_PPPSTATS is not set
CONFIG_L7=y
# CONFIG_ZEBRA is not set
CONFIG_BIRD=y
# CONFIG_WSHAPER is not set
CONFIG_SVQOS=y
# CONFIG_FROTTLE is not set
# CONFIG_PARPROUTED is not set
CONFIG_WOL=y
# CONFIG_SNMP is not set
# CONFIG_RADVD is not set
# CONFIG_RFLOW is not set
CONFIG_NETCONF=n
# CONFIG_IPTABLES is not set
CONFIG_LIBIPT=y
# CONFIG_GLIBC is not set
CONFIG_UCLIBC=y
CONFIG_LIBOPT=y
CONFIG_ADM6996=y

#
# Options
#
CONFIG_VENDOR=broadcom
CONFIG_UDHCPD=y
CONFIG_PPP=y
# CONFIG_PPPOESERVER is not set
# CONFIG_PPPOERELAY=y
# CONFIG_PPPOESNIFF is not set
CONFIG_UPNP=y
CONFIG_NAS=y
# CONFIG_SES is not set
CONFIG_DROPBEAR_SSHD=y
CONFIG_BOOT_WAIT_ON=y
CONFIG_IPROUTE2=y
CONFIG_NTP=y
CONFIG_DNSMASQ=y
CONFIG_UTILS=y
# CONFIG_ETC is not set
CONFIG_BCMWPA2=y
#
# Additional C libraries
#
CONFIG_LIBCRYPT=y
CONFIG_LIBPCAP=y
CONFIG_LIBDL=y
CONFIG_LIBM=y
CONFIG_LIBNSL=y
CONFIG_LIBPTHREAD=y
CONFIG_LIBRESOLV=y
CONFIG_LIBUTIL=y

#
# Environment
#
PLATFORM=mipsel
LINUXDIR=$(SRCBASE)/linux/brcm/linux.v24_2
LIBDIR=$(TOOLCHAIN)/lib
USRLIBDIR=$(TOOLCHAIN)/usr/lib

#
# Internal Options
#

PPPOE_SUPPORT=1
CONFIG_PPPOE=y
PPTP_SUPPORT=1
CONFIG_PPTP=y
PPPD_SUPPORT=1
CONFIG_PPPD=y
HEARTBEAT_SUPPORT=1
CONFIG_HEARTBEAT=y
PARENTAL_CONTROL_SUPPORT=1
CONFIG_PARENTAL_CONTROL=y
CONFIG_L2TP=y
MULTICAST_SUPPORT=1
CONFIG_MULTICAST=y


But I am not able to ping PC from board or vice versa ......

I have downloaded mini build no . 11218 and tested it and here ping works but could you plz tell me how can I get corresponding configuration file .....

Also in both 11218 and my build 11218 ifconfig gives the same output ...............

Could any body suggest me what I may be missing .....  

achilles
achilles's picture
OK ... I will look into the

OK ... I will look into the nvram logs and see if I am doing anything wrong there ....

achilles
achilles's picture
I have taken the difference

I have taken the difference of two nvram logs .i.e nvram parameters of 11218 build and nvram parameters of mybuild(it shows SVN revision: 11291M at console) but did not find any difference in network parameters ....
But with my image ping does not work ....
One thing I also observed is that if I bring the bridge down and explicitly make eth0 up with an IP 192.168.1.1 then I am able to ping the board (192.168.1.133)...
Can this difference in behavior be attributed to two different versions (11218 and 11291M)and if yes which portion of code I should look into ....
Otherwise what can be the reason for such behavior ....