Random Notes‎ > ‎

OpenWRT XL Unlimited 3G "No auth is possible" with empty username

posted Feb 14, 2012, 7:51 AM by William Shallum   [ updated Apr 16, 2013, 4:45 PM ]
I bought a TP-LINK WR-1043ND and immediately installed OpenWRT on it.

To use 3g: add packages: comgt, kmod-usb-serial-option

The network operator insists on authentication but expects an empty username and password. Also, needs noipdefault. So /etc/config/network:

config 'interface' 'wan'
        option 'ifname' 'ppp0'
        option 'device' '/dev/ttyUSB0'
        option 'apn' 'xlunlimited'
        option 'username' ''
        option 'password' ''
        option 'service' 'umts'
        option 'proto' '3g'
        option 'pppd_options' 'debug user "" password "" noipdefault'

Did you know that option username '' is treated the same way as not specifying username at all? pppd will then complain that "No auth is possible" when the remote end demands authentication. That's why pppd_options is useful. Also, the remote end will reject our IPCP ConfReq (and then hang up) if an IP is sent, thus the "noipdefault" part.

References


Comments