William Shallum

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

Posted Feb 14 2012, 15:51 by William Shallum [updated Apr 16 2013, 23:45]

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