wwwwfw / openwrt-hiwifi

Automatically exported from code.google.com/p/openwrt-hiwifi
1 stars 0 forks source link

PPPoE won't work after sysupgrade #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  flash the ROM provided in this page: 
https://code.google.com/p/openwrt-hiwifi/wiki/ProjectIntroduction
2.  download 
http://downloads.openwrt.org/barrier_breaker/14.07-rc2/ar71xx/generic/openwrt-ar
71xx-generic-hiwifi-hc6361-squashfs-sysupgrade.bin or from the snapshots, or 
even a custom built one from source, it doesn't matter. Just get a recent 
sysupgrade version rom.
3. Sysupgrade to the ROM you downloaded. Now PPPoE won't work anymore.

What is the expected output? What do you see instead?

PPPoE should work as intended. But after sysupgrading it's not working anymore.

Please provide any additional information below.

I know this probably isn't a bug in this project, but still hoped to clear 
things up, any help would be appreciated.

Original issue reported on code.google.com by gmc...@gmail.com on 8 Aug 2014 at 9:25

GoogleCodeExporter commented 9 years ago
Log output from pppd:

Connect: pppoe-wan <--> /dev/pts/0
LCP: timeout sending Config-Requests
Connection terminated.
Modem hangup

/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 'fd70:3b78:8d30::/48'

config interface 'lan'
        option ifname 'eth0.1'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wan'
        option ifname 'eth0.2'
        option proto 'pppoe'
        option username 'xxxxxxxx'
        option password 'xxxxxxxx'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '0t 2 3 4'

config switch_vlan
        option device 'switch0'
        option vlan '2'
        option ports '0t 1'

dmesg output is attached.

Original comment by gmc...@gmail.com on 8 Aug 2014 at 9:29

Attachments:

GoogleCodeExporter commented 9 years ago
i met this problem too. when i select the pppoe type, the interface does  not 
works. the normal dhcp type works fine.

Original comment by banane....@gmail.com on 7 Oct 2014 at 1:06

GoogleCodeExporter commented 9 years ago
There's also some discussions on OpenWRT's trac system: 
https://dev.openwrt.org/ticket/17353

In my case it is a misconfiguration due to different board settings.

Original comment by gmc...@gmail.com on 11 Oct 2014 at 7:41