Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2009 23:37:30 -0500
From:      Guillermo Paredes - EDDAS <gparedes@eddas.com.pe>
To:        freebsd-usb@freebsd.org
Subject:   MD300 - Sony Ericsson on FREEBSD
Message-ID:  <1a008f20908192137r3f152c84y27e89f975a4a3428@mail.gmail.com>
In-Reply-To: <1a008f20908192133h3afa691ct7862d029141c40bc@mail.gmail.com>
References:  <1a008f20908192133h3afa691ct7862d029141c40bc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Good night

i want run the MD300 on FREEBSD and i fail but i have a question

i plug my modem on windows, and when i connect with putty directly to the
serial port and send the next command

AT+CFUN=1
AT*ENAP=1,1

the led of the modem go to blue and one network adapter wake up and have a
DHCP resolution, and i have INTERNET without the sony ericsson program and
without any kind of dialer in my FREEBSD i do the same (first i was disable
the umass controller in the kernel) , when i plug the modem on my freebsd i
see two devices the ucom0 (serial port) and the cdce0 like:

ucom0: <Sony Ericsson Sony Ericsson MD300, class 2/0, rev 2.00/0.00, addr 2>
on uhub6
ucom0: iclass 2/2
ucom0: data interface 4, has CM over data, has break
ucom0: status change notification available
cdce0: <Sony Ericsson Sony Ericsson MD300, class 2/0, rev 2.00/0.00, addr 2>
on uhub6
cdce0: could not find data bulk in
device_attach: cdce0 attach returned 6

well to write directly to serial port i use the next python script with
pyserial  (conect directly to cuaU0)

import time;
time.sleep(5);
import serial;
s=serial.Serial("/dev/cuaU0" );
s.write("AT+CFUN=1\r" );
time.sleep(10);
s.write("AT*ENAP=1,1\r" );

and voila the modem up and send me a blue light, this means that the modem
link to the provider, but the network card dont found because the cdce0
driver dont support it, well i do the same in linux and work fine, i guess
the driver cdce dont up the virtual network card because this dont have
carrier signal, but if this driver just only create the device and wait the
commands all will work fine,

well, the question is IN THIS CASE I DONT NEED THE PPP DIALER TO MAKE A
TUNNEL LINK. TO CONNECT TO PROVIDER   WHY ???????????????
this because the new u3g driver use a dialer, in this case i dont use the
dialer in windows and linux,


best regards






-- 
Guillermo Paredes Cornejo - EDDAS

MAIL     gparedes@eddas.com.pe
TEL      +51[1]6135929 x 311
           +51[54]959177611  (RPC Claro)
           +51[54]959592141  (Movistar)
RPM     *374564
VoIP     sip:311@eddas.com.pe <sip%3A311@eddas.com.pe>
WWW   www.eddas.com.pe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1a008f20908192137r3f152c84y27e89f975a4a3428>