Thankyou so much killaB. You have helped me alot.
I have installed kmod-sangam-annex-a package and also set the enviornment variable. The avalanche directory is here but it cant seem to load the wan interface. below is the output of ifup wan.
root@OpenWrt:/etc# ifup wan
/usr/sbin/pppd: unrecognized option 'nic-nas0'
pppd version 2.4.3
Usage: /usr/sbin/pppd [ options ], where options are:
<device> Communicate over the named device
<speed> Set the baud rate to <speed>
<loc>:<rem> Set the local and/or remote interface IP
addresses. Either one may be omitted.
asyncmap <n> Set the desired async map to hex <n>
auth Require authentication from peer
connect <p> Invoke shell command <p> to set up the serial line
crtscts Use hardware RTS/CTS flow control
defaultroute Add default route through interface
file <f> Take options from file <f>
modem Use modem control lines
mru <n> Set MRU value to <n> for negotiation
See pppd(8) for more options.
below is the log output from syslog.
Jan 1 00:00:06 OpenWrt syslog.info syslogd started: BusyBox v1.11.2
Jan 1 00:00:06 OpenWrt user.notice kernel: klogd started: BusyBox v1.11.2 (2008-10-18 12:28:54 CDT)
Jan 1 00:00:08 kernel: br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Jan 1 00:00:08 kernel: device eth0 entered promiscuous mode
Jan 1 00:00:09 kernel: br-lan: port 1(eth0) entering learning state
Jan 1 00:00:09 kernel: br-lan: topology change detected, propagating
Jan 1 00:00:09 kernel: br-lan: port 1(eth0) entering forwarding state
Jan 1 00:00:09 kernel: PHY: 0:10 - Link is Down
Jan 1 00:00:10 kernel: NET: Registered protocol family 8
Jan 1 00:00:10 kernel: NET: Registered protocol family 20
Jan 1 00:00:10 kernel: PPP generic driver version 2.4.2
Jan 1 00:00:11 kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Jan 1 00:00:12 kernel: nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
Jan 1 00:00:13 kernel: registered device TI Avalanche SAR
Jan 1 00:00:13 kernel: Sangam detected
Jan 1 00:00:13 kernel: requesting firmware image "ar0700xx.bin"
Jan 1 00:00:13 kernel: firmware: requesting ar0700xx.bin
Jan 1 00:00:17 kernel: avsar firmware released
Jan 1 00:00:17 kernel: tn7dsl_set_modulation : Setting mode to 0x3
Jan 1 00:00:17 kernel: Creating new root folder avalanche in the proc for the driver stats
Jan 1 00:00:17 kernel: Texas Instruments ATM driver: version:[7.03.01.00]
Jan 1 00:00:18 OpenWrt user.info : Loading defaults
Jan 1 00:00:19 OpenWrt user.info : Loading synflood protection
Jan 1 00:00:19 OpenWrt user.info : Adding custom chains
Jan 1 00:00:20 OpenWrt user.info : Loading zones
Jan 1 00:00:21 OpenWrt user.info : Loading rules
Jan 1 00:00:21 OpenWrt user.info : Loading forwarding
Jan 1 00:00:21 OpenWrt user.info : Loading redirects
Jan 1 00:00:21 OpenWrt user.info : Loading includes
Jan 1 00:00:22 OpenWrt user.notice root: adding br-lan to firewall zone lan
Jan 1 00:00:23 OpenWrt authpriv.info dropbear[647]: Running in background
Jan 1 00:00:28 OpenWrt daemon.info dnsmasq[673]: started, version 2.45 cachesize 150
Jan 1 00:00:28 OpenWrt daemon.info dnsmasq[673]: compile time options: IPv6 GNU-getopt ISC-leasefile no-DBus no-I18N TFTP
Jan 1 00:00:28 OpenWrt daemon.info dnsmasq[673]: DHCP, IP range 192.168.0.100 -- 192.168.0.250, lease time 12h
Jan 1 00:00:28 OpenWrt daemon.info dnsmasq[673]: using local addresses only for domain lan
Jan 1 00:00:28 OpenWrt daemon.warn dnsmasq[673]: no servers found in /tmp/resolv.conf.auto, will retry
Jan 1 00:00:28 OpenWrt daemon.info dnsmasq[673]: read /etc/hosts - 1 addresses
Jan 1 00:00:28 OpenWrt daemon.err dnsmasq[673]: failed to read /etc/ethers:No such file or directory
Jan 1 00:00:29 kernel: ar7_wdt: enabling watchdog timer
Jan 1 00:00:39 OpenWrt authpriv.info dropbear[722]: Child connection from 192.168.0.4:37336
Jan 1 00:00:44 OpenWrt authpriv.notice dropbear[722]: password auth succeeded for 'root' from 192.168.0.4:37336
Jan 1 00:01:55 kernel: NET: Registered protocol family 24
Jan 1 00:01:55 OpenWrt daemon.info pppd[763]: Plugin rp-pppoe.so loaded.
Jan 1 00:01:55 OpenWrt daemon.err pppd[763]: unrecognized option 'nic-nas0'
Jan 1 00:04:37 OpenWrt daemon.info pppd[804]: Plugin rp-pppoe.so loaded.
Jan 1 00:04:37 OpenWrt daemon.err pppd[804]: unrecognized option 'nic-nas0'
Here is my /etc/config/network file
root@OpenWrt:/etc# 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 'interface' 'lan'
option 'type' 'bridge'
option 'ifname' 'eth0'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'nat' '1'
option 'macaddr' ''
option 'ip6addr' ''
option 'gateway' ''
option 'gateway' ''
option 'ip6gw' ''
option 'ipaddr' '192.168.0.1'
config 'atm-bridge'
option 'unit' '0'
option 'payload' 'bridged'
config 'interface' 'wan'
option 'ifname' 'nas0'
option 'proto' 'pppoe'
option 'encaps' 'vc-mux'
option 'vpi' '0'
option 'vci' '103'
option 'username' ''
option 'password' ''
option 'type' 'bridge'
option 'macaddr' ''
option 'mtu' ''
option 'keepalive' ''
option 'defaultroute' '1'
option 'ppp_redial' 'persist'
option 'ipaddr' ''
option 'ip6addr' ''
option 'netmask' ''
option 'gateway' ''
option 'ip6gw' ''
(Last edited by symbiansucks on 20 Oct 2008, 06:11)