Re: How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?



El día Friday, July 20, 2012 a las 05:55:21PM +0530, Manish Jain escribió:


Hello all,

I earlier had a Huawei EC1261-based USB modem which used to connect
smoothly to the internet under FreeBSD 8.2 using the u3g module. For
some reasons, I have had to switch to another provider (MTS) who swapped
the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem.
And my FreeBSD system cannot connect to the internet anymore.

Here are the contents of my ppp.conf (I assume authkey means password) :

default:
set log Phase Chat LCP IPCP CCP tun command
allow users bourne
set device /dev/cuaU0.0
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
\"\" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
set timeout 180 # 3 minute idle timer (the default)
enable dns # request DNS info (for resolv.conf)

huawei:
set phone "#777"
set login
set authname "internet@xxxxxxxxxxxxxxxxxxxx"
set authkey "MTS"
set timeout 0
disable ipv6cp
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
add default HISADDR
set dial AT+CRM=1
accept CHAP

The u3g module is loaded at boot-time via /etc/rc.local :

kldload u3g
sleep 3
ppp -auto huawei

Please provide the logs of chat and ppp;

matthias
--
Matthias Apitz
e <guru@xxxxxxxxxxx> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Huawei E220 and usb storage
    ... Im using a Huawei E220 USB modem, ... One hint is to put the USB modem as static in kernel and usb_storage as module. ... mass storage device, and also as three serial communication ports. ...
    (Linux-Kernel)
  • Huawei E220 and usb storage
    ... I recently got an Huawei E220 usb modem. ... mass storage device, and also as three serial communication ports. ... Several pages on the web state that it should work *without* this switch ...
    (Linux-Kernel)
  • How to get Huawei EC1561 USB modem working under FreeBSD 8.2 ?
    ... I earlier had a Huawei EC1261-based USB modem which used to connect smoothly to the internet under FreeBSD 8.2 using the u3g module. ... I have had to switch to another provider who swapped the Huawei EC1261-based USB modem with a Huawei EC1561-based USB modem. ...
    (freebsd-questions)
  • Re: Unable to use USB Modem Virgin Broadband, Australia
    ... it appears it recognizing as flash drive, make of the USB modem is HUAWEI ... Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines ... Antonio Montagnani ...
    (Fedora)
  • Re: Install and Configure HUAWEI E220 3G Broadband Modem (USB)
    ... I am using a HUAWEI E220 USB modem to connect to the Internet. ...
    (Ubuntu)