Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 ... 13 14 [15] 16 17 ... 26

Author Topic: OpenWrt (Chaos Calmer r46559) for ECI/r v1 & v2 - Update: G.INP/ReTX Support  (Read 270620 times)

10megaton

  • Member
  • **
  • Posts: 10

Dumb question I'm sure, I've got OpenWRT running on my ECI/r v1, but for some reason it looks like outbound DNS queries are being blocked. I can ping internet hosts and also managed a telnet to a external server so it looks like routing is fine, as far as I can tell it's just DNS queries that are not working.

Tried server 8.8.8.8 etc, still no good. The moment I swap back to my original unhacked ECI/r everything works fine. Just seems to be an issue with OpenWRT.

Any help appreciated.
Logged

jsamuel

  • Reg Member
  • ***
  • Posts: 117

Which build are you using?
Logged

10megaton

  • Member
  • **
  • Posts: 10
Logged

jsamuel

  • Reg Member
  • ***
  • Posts: 117

I see. I wondered if you were using another build that wasn't mine as DNS works fine.
Would you mind showing us your /etc/config/network file?
Logged

10megaton

  • Member
  • **
  • Posts: 10

Thanks for your assistance  ;D

cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd88:f59f:8b1e::/48'

config interface 'wan'
        option ifname 'eth0'
        option force_link '1'

config interface 'wan_bridge'
        option type 'bridge'
        option proto 'none'
        option ifname 'eth0 ptm0.101'
        option auto '1'

config interface 'lan'
        option ifname 'eth1'
        option _orig_ifname 'eth1'
        option _orig_bridge 'false'
        option proto 'static'
        option ipaddr '192.168.0.52'
        option netmask '255.255.255.0'
        option gateway '192.168.0.1'
        option dns '8.8.8.8'

config vdsl 'dsl'
        option annex 'a'
        option firmware '/lib/firmware/vdsl.bin'
        option tone 'av'
        option xfer_mode 'ptm'

Logged

jsamuel

  • Reg Member
  • ***
  • Posts: 117

I see you've added these?

Quote
        option _orig_ifname 'eth1'
        option _orig_bridge 'false'

I believe this fixes our Multicast problem, thanks.  :)
I'm not sure why DNS isn't working as expected though, have you changed any other files?
Logged

10megaton

  • Member
  • **
  • Posts: 10

I believe this fixes our Multicast problem, thanks.  :)

I'd love to claim credit but I didn't change very much from the original image, only the LAN IP address really.

I just wondered if there was any sort of smart DNS proxy that intercepted DNS requests and proxied them for some strange reason (e.g. like a DHCP relay). The only other thing that occurred to me is the firewall but that appears to be disabled.
Logged

ejs

  • Kitizen
  • ****
  • Posts: 2078

@jsamuel

Does your OpenWRT build include the dsl_cpe_pipe.sh utility program? It might be useful for people who want to access particular stats from the command line, or it might be more reliable for stats monitoring. It's no longer actually a shell script (although it's still named dsl_cpe_pipe.sh some vendor firmwares). The source code is in the dsl_cpe_control source tarball, under the tools/pipe/ directory.
Logged

atkinsong

  • Reg Member
  • ***
  • Posts: 165

Hi, I'm trying to do this from a win7 machine and I think I have an issue with tftpd32. All is OK until I issue the run update_wrt command, the modem then does the erase and comes back with this:-

VR9 # tftpboot - boot k using TFTP protocol
tftpboot - boot image via network using TFTP protocol

Usage:
tftpboot [loadAddress] [[hostIPaddr:]bootfilename]

VR9 #

Can anyone help with the setup of tftpd32?

Thanks
Logged
ISP:A&A, FTTP 160/30, Router Fritzbox 7530

rp00

  • Member
  • **
  • Posts: 30

Hi, I'm trying to do this from a win7 machine and I think I have an issue with tftpd32. All is OK until I issue the run update_wrt command, the modem then does the erase and comes back with this:-

VR9 # tftpboot - boot k using TFTP protocol
tftpboot - boot image via network using TFTP protocol

Usage:
tftpboot [loadAddress] [[hostIPaddr:]bootfilename]

VR9 #

Can anyone help with the setup of tftpd32?

Thanks

I don't think this is an issue with tftpd

It looks more like a typo somewhere.

show the output of "printenv"
Logged

atkinsong

  • Reg Member
  • ***
  • Posts: 165

Printenv below:-

VR9 # printenv
bootdelay=3
baudrate=115200
mem=31M
phym=32M
netdev=eth0
console=ttyS0
baudrate=115200
tftppath=
loadaddr=0x80800000
rootpath=/mnt/full_fs
rootfsmtd=/dev/mtdblock1
nfsargs= setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath)
ramargs=setenv bootargs root=/dev/ram rw
addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):on
addmisc=setenv bootargs $(bootargs) console=$(console),$(baudrate) ethaddr=$(ethaddr) phym=$(phym) mem=$(mem) panic=1 mtdparts=$(mtdparts) init=/etc/preinit vpe1_load_addr=0x81f00000 vpe1_mem=1M ethwan=$(ethwan)
flash_nfs=run nfsargs addip addmisc;bootm $(kernel_addr)
net_nfs=tftp $(loadaddr) $(tftppath)$(bootfile);run nfsargs addip addmisc;bootm
net_flash=tftp $(loadaddr) $(tftppath)$(bootfile); run flashargs addip addmisc; bootm
net_ram=tftp $(loadaddr) $(tftppath)$(bootfile); run ramargs addip addmisc; bootm
u-boot=u-boot.ifx
releaseimg=releaseImg.bin
btagent=ap_jffs2.img
flashargs1=setenv bootargs root=/dev/mtdblock8 ro rootfstype=squashfs
flashargs2=setenv bootargs root=/dev/mtdblock9 ro rootfstype=squashfs
commit_img_1=setenv bootargs $(bootargs) commit_img=1 LD_LIBRARY_PATH=/btagent/lib
commit_img_2=setenv bootargs $(bootargs) commit_img=2 LD_LIBRARY_PATH=/btagent/lib
flash_flash_1=run flashargs1 addip addmisc commit_img_1; bootm $(f_pri_kernel_addr)
flash_flash_2=run flashargs2 addip addmisc commit_img_2; bootm $(f_sec_kernel_addr)
update_uboot_only=tftpboot $(loadaddr) $(u-boot);prot off 0xb0000000 0xb001ffff;erase 0xb0000000 0xb001ffff;upgrade uboot $(loadaddr) $(filesize) 0
update_uboot=tftpboot $(loadaddr) $(u-boot);prot off all;erase all;upgrade uboot $(loadaddr) $(filesize) 0
update_pri_img=tftpboot $(loadaddr) $(releaseimg);upgrade pri_img $(loadaddr) $(filesize) 0
update_sec_img=tftpboot $(loadaddr) $(releaseimg);upgrade sec_img $(loadaddr) $(filesize) 0
update_btagent=tftpboot $(loadaddr) $(btagent);upgrade btagent $(loadaddr) $(filesize) 0
boot_img_idx=0
reset_sys_config=prot off 0xB07E0000 0xB07EFFFF; erase 0xB07E0000 0xB07EFFFF
reset_bt_config=prot off 0xB07C0000 0xB07DFFFF; erase 0xB07C0000 0xB07DFFFF
reset_all_config=run reset_sys_config; run reset_bt_config
reset_uboot_config=prot off $(f_ubootconfig_addr) $(f_ubootconfig_end); erase $(f_ubootconfig_addr) $(f_ubootconfig_end)
reset_ddr_config=prot off $(f_ddrconfig_addr) $(f_ddrconfig_end); erase $(f_ddrconfig_addr) $(f_ddrconfig_end)
mtdparts=ifx_nor0:128k@0(uboot),3648k@128k(pri_image),3648k@3776k(sec_image),512k@7424k(btagent),64k@7936k(pri_bfocus_cfg),64k@8000k(sec_bfocus_cfg),64k@8064k(sysconfig),64k@8128k(misc_cfg),2624k@1152k(pri_rootfs),2624k@4800k(sec_rootfs),8192k@0(all_flash)
part0_begin=0xB0000000
part1_begin=0xB0020000
part2_begin=0xB03B0000
part3_begin=0xB0740000
part4_begin=0xB07C0000
part5_begin=0xB07D0000
part6_begin=0xB07E0000
part7_begin=0xB07F0000
total_part=8
flash_end=0xB07FFFFF
data_block0=uboot
data_block1=pri_img
data_block2=sec_img
data_block3=btagent
data_block4=pri_bfocus_cfg
data_block5=sec_bfocus_cfg
data_block6=sysconfig
data_block7=ubootconfig
data_block8=fwdiag
total_db=9
f_uboot_addr=0xB0000000
f_uboot_size=0x00020000
f_ubootconfig_addr=0xB07F0000
f_ubootconfig_size=0x0000F000
f_ubootconfig_end=0xB07FEFFF
f_pri_img_addr=0xB0020000
f_pri_img_size=0x390000
f_pri_img_end=0xB03AFFFF
f_pri_kernel_addr=0xB0020000
f_pri_kernel_size=0x100000
f_pri_kernel_end=0xB011FFFF
f_pri_rootfs_addr=0xB0120000
f_pri_rootfs_size=0x00290000
f_pri_rootfs_end=0xB03AFFFF
f_sec_img_addr=0xB03B0000
f_sec_img_size=0x390000
f_sec_img_end=0xB073FFFF
f_sec_kernel_addr=0xB03B0000
f_sec_kernel_size=0x00100000
f_sec_kernel_end=0xB04AFFFF
f_sec_rootfs_addr=0xB04B0000
f_sec_rootfs_size=0x00290000
f_sec_rootfs_end=0xB073FFFF
f_btagent_addr=0xB0740000
f_btagent_size=0x00080000
f_btagent_end=0xB07BFFFF
f_pri_bfocus_cfg_addr=0xB07C0000
f_pri_bfocus_cfg_size=0x00010000
f_pri_bfocus_cfg_end=0xB07CFFFF
f_sec_bfocus_cfg_addr=0xB07D0000
f_sec_bfocus_cfg_size=0x00010000
f_sec_bfocus_cfg_end=0xB07DFFFF
f_all_flash_addr=0xB0000000
f_all_flash_size=0x00800000
f_all_flash_end=0xB07FFFFF
f_sysconfig_addr=0xB07E0000
f_sysconfig_size=0x00010000
f_fwdiag_addr=0xB07FF000
f_fwdiag_size=0x400
f_calibration_addr= IFX_CFG_FLASH_CALIBRATION_START_ADDR
f_calibration_size=IFX_CFG_FLASH_CALIBRATION_CFG_SIZE
f_ddrconfig_addr=0xB07FF400
f_ddrconfig_size=0x100
f_ddrconfig_end=0xB07FF4FF
ethact=vr9 Switch
ethaddr=88:03:55:76:CE:C9
bootfile=openwrt-lantiq-xrx200-VG3503J_v2-squashfs.image
bootcmd=cp.b 0xb0020000 0x80002000 0x400000; go 0x80002000
stdin=serial
stdout=serial
stderr=serial
ipaddr=192.168.1.100
serverip=192.168.1.1
boofile=openwrt-lantiq-xrx200-VG3503j_v2_squashfs.image
preboot=ping 1.1.1.1;run bootcmd
update_openwrt=erase 0xb0020000 0xb073ffff;tftp 0x81000000 openwrt-lantiq-xrx200-VG3503J_v2 -squashfs.image;cp.b 0x81000000 0xb0020000 $(filesize)

Environment size: 4867/61436 bytes

VR9 #

Logged
ISP:A&A, FTTP 160/30, Router Fritzbox 7530

rp00

  • Member
  • **
  • Posts: 30

Printenv below:-


update_openwrt=erase 0xb0020000 0xb073ffff;tftp 0x81000000 openwrt-lantiq-xrx200-VG3503J_v2 -squashfs.image;cp.b 0x81000000 0xb0020000 $(filesize)

Environment size: 4867/61436 bytes

VR9 #

you have a "space" between v2 and -squashfs :)

try fixing it first.

Logged

atkinsong

  • Reg Member
  • ***
  • Posts: 165

Yep, spotted that and fixed, was using a text file for copy/paste which had picked up the extra space. Fixed that and now saying "tftp error - file not found.

I'll try again from a fresh start shortly.

Thanks for your help, it's greatly appreciated.
Logged
ISP:A&A, FTTP 160/30, Router Fritzbox 7530

atkinsong

  • Reg Member
  • ***
  • Posts: 165

OK, this is starting to do my head in now.
Modem trying to tftp firmware gives this error:-

TFTP from server 192.168.1.1; our IP address is 192.168.1.100
Filename 'openwrt-lantiq-xrx200-VG3503J_v2-squashfs.image'.
Load address: 0x81000000
Loading: *
TFTP error: 'File not found' (1)


Tftpd32 log entries show:-


Connection received from 192.168.1.100 on port 3814 [30/03 18:16:44.573]
Read request for file <openwrt-lantiq-xrx200-VG3503J_v2-squashfs.image>. Mode octet [30/03 18:16:44.573]
File <openwrt-lantiq-xrx200-VG3503J_v2-squashfs.image> : error 2 in system call CreateFile The system cannot find the file specified. [30/03 18:16:44.573


The correct file is in a folder tftpimage which is set as the base folder in tftpd32.

Any ideas?
Logged
ISP:A&A, FTTP 160/30, Router Fritzbox 7530

rp00

  • Member
  • **
  • Posts: 30


The correct file is in a folder tftpimage which is set as the base folder in tftpd32.

Any ideas?

Can you set the same folder in the main window as "Current directory" ?
Logged
Pages: 1 ... 13 14 [15] 16 17 ... 26
 

anything