cd22 [Solved] ZTE MF636 USB modem dongle (British Telecom Mobile)/ FreeBSD 8.1 - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old July 31st, 2010, 14:30
RoboNuggie RoboNuggie is offline
Junior Member
 
Join Date: Jul 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default ZTE MF636 USB modem dongle (British Telecom Mobile)/ FreeBSD 8.1

Hello, first time poster and first time BSD user....

I have managed to set up a great system, fluxbox, nvidia, printer etc under FreeBSD, but the one snag is I cannot get the dongle modem to work or really know how to configure.... i have tried editing ppp.conf, have u3g installed but for the life of me I am stuck.

I have read somewhere that I may need to disable umass or enable usb_modeswitching.... but really I don't know.

Code:
ls -l /dev/cuaU*
crw-rw----  1 uucp  dialer    0, 129 Jul 31 13:30 /dev/cuaU0.0
crw-rw----  1 uucp  dialer    0, 130 Jul 31 13:30 /dev/cuaU0.0.init
crw-rw----  1 uucp  dialer    0, 131 Jul 31 13:30 /dev/cuaU0.0.lock
crw-rw----  1 uucp  dialer    0, 135 Jul 31 13:30 /dev/cuaU0.1
crw-rw----  1 uucp  dialer    0, 136 Jul 31 13:30 /dev/cuaU0.1.init
crw-rw----  1 uucp  dialer    0, 137 Jul 31 13:30 /dev/cuaU0.1.lock
crw-rw----  1 uucp  dialer    0, 141 Jul 31 13:30 /dev/cuaU0.2
crw-rw----  1 uucp  dialer    0, 142 Jul 31 13:30 /dev/cuaU0.2.init
crw-rw----  1 uucp  dialer    0, 143 Jul 31 13:30 /dev/cuaU0.2.lock
my dmesg is :

Code:
ugen4.4: <ZTE,Incorporated> at usbus4
ugen4.4: <ZTE,Incorporated> at usbus4 (disconnected)
ugen4.4: <ZTE,Incorporated> at usbus4
ugen4.4: <ZTE,Incorporated> at usbus4 (disconnected)
ugen4.4: <ZTE,Incorporated> at usbus4
u3g0: <ZTE,Incorporated ZTE WCDMA Technologies MSM, class 0/0, rev 2.00/0.00, addr 4> on usbus4
u3g0: Found 3 ports.
umass1: <ZTE,Incorporated ZTE WCDMA Technologies MSM, class 0/0, rev 2.00/0.00, addr 4> on usbus4
umass1:  SCSI over Bulk-Only; quirks = 0x0000
umass1:1:1:-1: Attached to scbus1
(probe0:umass-sim1:1:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
(probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error
(probe0:umass-sim1:1:0:0): SCSI status: Check Condition
(probe0:umass-sim1:1:0:0): SCSI sense: NOT READY asc:3a,0 (Medium not present)
da1 at umass-sim1 bus 1 scbus1 target 0 lun 0
da1: <ZTE MMC Storage 2.31> Removable Direct Access SCSI-2 device 
da1: 40.000MB/s transfers
da1: Attempt to query device size failed: NOT READY, Medium not present

I feel that I am relatively close but just cannot go that bit further....


The dongle works under Debian, so it should work here surely.....


Thanks in advance.....

Last edited by DutchDaemon; July 31st, 2010 at 14:36. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
  #2  
Old July 31st, 2010, 15:19
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Since you've got serial devices from it you are probably close to getting it working. Have you tried issuing AT commands to any of the devices with cu(1)? You need to find which device is the correct one for the phone's data modem, then set ppp to use it.
Reply With Quote
  #3  
Old July 31st, 2010, 21:11
RoboNuggie RoboNuggie is offline
Junior Member
 
Join Date: Jul 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

He aragon,

Yes, using term and setting device to /dev/cuaU0.2 i can send AT commands with the (I presume) modem responding...

I canb get it to connect but it sticks at CONNEC 720000 or similar...

Gah, nearly there.... if I can get this to work I will write a howto not only for myself but for others in a similar need...
Reply With Quote
  #4  
Old July 31st, 2010, 21:23
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Try run ppp on cuaU0.2 then. 3G providers sometimes run their PPP NASes in passive mode, so after CONNECT you won't see any PPP protocol initialisation from them - they wait for your side to initiate it.

Jumping into Linux and checking its ppp configuration might help too.
Reply With Quote
The Following User Says Thank You to aragon For This Useful Post:
RoboNuggie (August 1st, 2010)
  #5  
Old August 1st, 2010, 09:43
RoboNuggie RoboNuggie is offline
Junior Member
 
Join Date: Jul 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Thanks aragon, your replies were both quick and helpful.... I think I will like it here on this forum!

I have actually got it to work, it is just that when I was looking a tail -f /var/log/ppp.log I saw an error at the end

Code:
tun0: warrning: 0.0.0.0: Change route failed: errno: No such process
and I thought it was not working..... so kept fiddling with the PPP.CONF, but I actually forgot to check that whether internet was working...doh!

Thank you again aragon

Last edited by DutchDaemon; August 1st, 2010 at 18:47. Reason: proper formatting: http://forums.freebsd.org/showthread.php?t=8816
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] USB Wi-Fi dongle keeps losing connectivity... bigtoque Peripheral Hardware 3 July 21st, 2010 19:46
how to configure Huawei EC 325 USB modem for an internet connection in Freebsd 8.0 dalfish Peripheral Hardware 2 March 6th, 2010 01:09
ZTE AC8700 EVDO Modem ashvinsivram Peripheral Hardware 0 October 26th, 2009 06:09
[Solved] EDGE USB Modem ZTE MF622+ & FreeBSD 7.2 Antarex Peripheral Hardware 3 August 24th, 2009 21:47
ZTE modem M_GABBANI Peripheral Hardware 0 November 18th, 2008 14:38


All times are GMT +1. The time now is 21:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0