OpenWrt Forum Archive

Topic: Openwrt no Wan Connection

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

Hi Folks,

i fraggt my Router. The Wan connection could get an IP (Wan via Cable Modem ISH).

Is it possible to clear the nvram and put an original nvram on the router?

Here my configuration, perhaps you could help me:

os_ram_addr=80001000
wl0_net_mode=mixed
wl0_frameburst=off
il0macaddr=00:12:17:d4:6b:33
boardrev=0x10
et0macaddr=00:12:17:D4:6B:31
bootnv_ver=2
watchdog=5000
boot_wait=on
wl0_infra=1
et0mdcport=0
wl0_country_code=AU
pmon_ver=CFE 3.61.13.0
wl0_ifname=eth1
vlan0ports=1 2 3 4 5*
gpio5=robo_reset
wl0_mode=ap
wl0_ap_isolate=0
os_flash_addr=bfc40000
sromrev=2
wl0_gmode=6
boardtype=0x0708
lan_netmask=255.255.255.0
wl0_ssid=OpenWrt
wl0_dtim=1
wl0id=0x4320
wl0_key1=
wl0_key2=
wl0_key3=
wl0_key4=
ag0=255
wl0_closed=0
wl0_rate=0
wl0_plcphdr=long
wl0_macmode=disabled
wl0_radioids=BCM2050
wl0gpio2=0
wl0_phytype=g
wl0gpio3=0
wl0_lazywds=0
boardflags2=0
wl0_afterburner=auto
wl0_antdiv=-1
wl0_wpa_psk=
wan_proto=dhcp
wl0_unit=0
wl_country_code=AU
pa0itssit=62
wl0_wds=
cctl=0
lan_ifnames=vlan0 eth1
wl0_auth=0
wl0_radius_port=1812
wl0_radius_ipaddr=
pa0maxpwr=0x4e
lan_ipaddr=192.168.1.1
clkfreq=200
lan_proto=static
aa0=3
vlan1hwname=et0
wl0_phytypes=g
wl0_wep=disabled
wl0_frag=2346
sdram_config=0x0062
wl0_country=
vlan1ports=0 5
eou_private_key=95b347a9d45d4750c51c78ccd390d55e1d1a731ee69a85bdcbe5a4b74a2173fad542ce90b734de7586d2830620ca6b9f9e726b874467e56c1ac65bd05598b3cba04def022c20f3bb2fd41d9d7fecd2a6478744dc33eabdb9c1bc66b82da78abef724de49130a0143b26314602d06c259ebe3859ad9dc16af315551590518729d
scratch=a0180000
ccode=0
wl0_rateset=default
eou_device_id=I9CQRQ5D
lan_ifname=br0
boardflags=0x0118
sdram_refresh=0x0000
sdram_ncdl=0xfd0009
wl0_rts=2347
wl0_wpa_gtk_rekey=3600
wl0_key=1
et0phyaddr=30
wan_ifname=vlan1
wl0_radio=1
wl0_bcn=100
wl0_hwaddr=00:12:17:D4:6B:33
pa0b0=0x15eb
wl0_gmode_protection=auto
pa0b1=0xfa82
wl0_maclist=
pa0b2=0xfe66
sdram_init=0x000b
vlan0hwname=et0
dl_ram_addr=a0001000
wl0_radius_key=
wl0_corerev=7
wl0_channel=11
wl0_auth_mode=open
boot_ver=v3.4
boardnum=42
wl0_crypto=tkip
eou_public_key=c3c30ef1c6f0222e8b9b62e4771fdbf139c020637c53e9f83204eb17122bbf0cef7ebf5ac83171ad6189704317301695a7d0b3ffa83918524a65da86975188a991a2d9a47e9d46d08602c4e592c7f17c9ca52b868036a95f411d285ff35053747ff52ee4da26393ee12600b6d820eb3d3c8887595ac36bba4b432f78e548086d11
size: 2104 bytes (30664 left)


By Drago

you should get your WAN connection via dhcp, ya no problem, may be I don't understand your question, do you want to set your ip to static  ?

thanks

wireless joe

If you just want to clear your nvram just type :

mtd erase nvram

And then your WRT should have IP 192.168.1.1 if you did not specified it when compiling the firmware.

Hi,

my Problem is, i dont´t get a ipadress for wan with DHCP (I dont have a static ip adress). My Provider has got a DHCP Server (Cabel Modem).

Perhaps my nvram is not correct configured, i dont know sad

Cu Drago

type tihs and see
udhcpc -i vlan1 -b -p /tmp/dhcp-wan.pid

if not set below items by hand

wan_unit=0
wan_get_dns
wan_run_mtu=1500
wan_lease=86400
wan_gateway
wan_domain=
wan_hwname=
wan_netmask
wan_proto=dhcp
wan_hwaddr=XX:XX:XX:XX:XX:XX (YOUR MAC ADDRESS)
wan_ifnames=vlan1
wan_primary=1
wan_gateway_buf=0.0.0.0
wan_iface=vlan1
wan_mtu=1500
wan_ifname=vlan1
wan_hostname=OpenWrt-123XXX

(Last edited by wirelessjoe on 15 May 2005, 00:47)

The discussion might have continued from here.