MD300 - Sony Ericsson on FREEBSD
Guillermo Paredes - EDDAS
gparedes at eddas.com.pe
Thu Aug 20 04:43:46 UTC 2009
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 at eddas.com.pe
TEL +51[1]6135929 x 311
+51[54]959177611 (RPC Claro)
+51[54]959592141 (Movistar)
RPM *374564
VoIP sip:311 at eddas.com.pe <sip%3A311 at eddas.com.pe>
WWW www.eddas.com.pe
More information about the freebsd-usb
mailing list