Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jun 2011 00:55:27 +0530
From:      Manish Jain <>
To:        Matthias Apitz <>
Subject:   Re: Can someone please help me set up my tata-photon (huawei) modem ?
Message-ID:  <>
In-Reply-To: <20110628184613.GA1074@tiny>
References:  <> <20110628184613.GA1074@tiny>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

   Hello Matthias,
   Yes, I do have /dev/cuaU0.0 along with corresponding lock and init
   files, although I cannot give you the output you want right now since
   I am booted into XP with the FreeBSD 8.2 dvd image being downloaded.
   (This will hopefully finish in about 15 hours, as cygwin::ncftpget
   I also tried a few other things, most notably installing
   usb_modeswitch, and putting this into /etc/devd.conf :
   attach 100 {
   device-name "ugen[0-9]+";
   match "vendor" "0x12d1";
   match "product" "0x1446";
   action "/usr/local/bin/usb_modeswitch";
   Running kldload for u3g and ucom indicates they are both already
   loaded. Running usb_modeswitch seems to have also generated some
   /dev/ttyU<n>.<n> files, along with corresponding lock and init files -
   just like the cua entries.
   The only thing that seems out of place with the current setup is that
   usb_modeswitch's wrapper (usb_modeswitch_dispatcher) needs
   /usr/local/bin/tclsh, and for some reason the FreeBSD installer
   installed it as /usr/local/bin/tclsh8.2
   I'll try fixing the above tomorrow and will try out anything
   you/someone else might have to suggest. BTW, I made a slight error in
   my original message. My system's release version is 8.1, not 8.0.
   Thank you &
   Manish Jain
   On 29-Jun-11 00:16, Matthias Apitz wrote:

El día Tuesday, June 28, 2011 a las 01:47:31PM +0530, Manish Jain escribió:

   Hi all,
   My tata-photon (huawei) modem works painlessly on Win XP. Every
   setting is auto (including getting the nameserver). The auth protocol
   is CHAP. But when I boot into FreeBSD 8.0 (stable), and run 'ppp -auto
   pmdemand' followed by 'ping [1]' (or yahoo or any other
   site, for that matter), I always get "Hostname lookup failure". BTW, I
   don't have an /etc/resolv.conf. I only configured ppp.conf (please see
   below for details). Can someone please help me set up the modem so
   that I can dial out and connect to the internet from my FreeBSD box ?
   Thanks in advance.
   Manish Jain
   This is my ppp.conf :


Hello Manish,

Before digging into the ppp details (there is a log about in
/var/log/ppp.log), do you have after attaching the Huawei modem a
device /dev/cuaU0 at all? What does the following command gives:

ls -l /dev/cua*
chat -vs < /dev/cuaU0.0 > /dev/cuaU0.0 '' AT OK 'ATI2' O
printf "\n"





Want to link to this message? Use this URL: <>