On Sat, Feb 4, 2012 at 09:36, Odhiambo Washington <[email protected]>wrote:
> > > On Sat, Feb 4, 2012 at 03:54, Mehma Sarja <[email protected]> wrote: > >> On 2/3/12 6:56 AM, Seth Mos wrote: >> >>> Try this, connect the 3g dongle, then reboot the device and try to >>> access it again. I have a ZTE modem that does not release the cdrom device >>> until after it is rebooted or I press save on the 3G wan interface again. >>> So it doesn't work on cold boot, but it does work after a warm reboot. >>> >>> Since there is mild interest on the list, I share our findings: >> >> UPON CONNECTING the modem, huawei mobile model number EC 122, we see this >> in /var/log/system.log: >> feb 3 07:11:02 firewall kernel: da0: <HUAWEI SD storage 2.31> removable >> direct access SCSI-2 device >> feb 3 07:11:02 firewall kernel: da0: attempt to query device size failed: >> NOT READY, media not present >> > > > Please try and find what the AT command string for disabling the virtual > cd-rom/storage is. I believe after that you'll probably get your 'modem' - > ugenX.Y > I've used AT^U2DIAG=0 on an Huawei E1820 to achieve that and get the modem > to work. You may want to try that, but if it fails, Google is your friend. > > > >> and we see nothing having to do with usb or huawei in /var/log/system.log >> >> The modem light remains a flashing blue as if it is working. I'll try the >> warm boot, heck even I work well after a warm bath. >> >> I am thinking of going over to Safaricom to tide us over. >> >> > > Huawei E1820 (I have tested this and worked with PC-BSD). It's a bit more > costly though, costing like KES 9,999 > Huawei E160 costs KES 2,000 and I have a feeling it will work. I'll try it > today at some point and let you know. It can save you some few thousands > KES. > > So, take this matter closer to the solution for the benefit of Mehma Sarja & others.. I have taken time to run tests to find a solution for Mehma's problem. I had a choice between the very expensive Huawei E1820 (5.76Mbps/21Mbps) and the relatively cheaper Huawei E160 (2Mbps/3.6Mbps). The reason for running a test against the E160 was two-fold: To see if it actually works, and as such make Mehma save a few thousands when he finally decides which modem to go for, seeing as E1820 costs approximately US$ 111 while the E160 costs US$ 22:-) In both cases I was able to successfully use the same settings with pfSense 2.0.1 (amd64). Here is the output of `ifconfig` when the modem was connected (and I scp-ed this output to another Unix box using the same connection): http://62.8.64.102/~wash/ifconfig.txt The procedure involved running HyperTerminal (this I did on my Windows 8 PC) and disabling the virtual CD-ROM on both devices. The AT command string is AT^U2DIAG=0 (to disable, and =10 to re-enable) I discovered that pfSense (I was running on the LiveCD mode) already had umodem and u3g modules loaded. Sorry, I did not check if they were compiled into the kernel or loaded as modules. And here is my ppp.conf - the exact one I used with the Safaricom-branded Huawei modem(s). u3g: set device /dev/cuaU0.0 set server /var/run/3g-internet "" 0177 set speed 921600 set timeout 0 set authname saf set authkey data set dial "ABORT BUSY TIMEOUT 2 \ \"\" \ AT OK-AT-OK \ AT+CFUN=1 OK-AT-OK \ AT+CMEE=2 OK-AT-OK \ AT+CSQ OK \ AT+CGDCONT=1,\\\"IP\\\",\\\"safaricom\\\" OK \ ATD*99# CONNECT" set crtscts on disable vjcomp disable acfcomp disable deflate disable deflate24 disable pred1 disable protocomp disable mppe disable ipv6cp disable lqr disable echo #nat enable yes enable dns resolv writable set dns 8.8.8.8 set ifaddr 10.1.0.2/0 10.1.0.1/0 255.255.255.255 0.0.0.0 add default HISADDR # See ppp.link* This was my first time ever using pfSense in a dialup mode, so I wrote my ppp.conf by hand. Of course I did find where this is apparently done using the webUI (under Interface Assignments) but clicking the option for editing ppp.conf and saving it did not seem to modify my ppp.conf. Is this perhaps because I was running LiveCD? Is pfSense editor able to generate a complete ppp.conf like the one above and write it? That's the only question I had left on my mind. I believe this will help Mehma in his endeavors. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ I can't hear you -- I'm using the scrambler. Please consider the environment before printing this email.
<<image001.png>>
_______________________________________________ List mailing list [email protected] http://lists.pfsense.org/mailman/listinfo/list
