Thnaks for your reply!
That wwan0 interface is created but is down.
Searching the web, I had found success story you reported.
So I've tried the "by hand way":
Code:
iconfig wwan0 up
dhclient wwan0
But nothing...
Then I've tried to configure it in
/etc/network/interface.d/wwan0 like explained
at this link for example:
So in my case I've translated it as follow:
Code:
iface wwan0 inet dhcp
wwan_apn "ibox.tim.it"
An then bring up the interface with a simple:
But... It doesn't work.
There is likely something more to do..
Uhmm...
I've just read about the need (at the link above, but
also there) to send an AT command (I think manufacturer specific) that magically connect the dongle to the requested APN.
For example:
Code:
AT^NDISDUP=1,1,"apn"
So I've decided to try it with an other dongle I'm using: "Huawei E-353"
This one is a linux-friendly dongle ufficially supported and working out of the box as a modem device /dev/ttyUSB*.. Thanks to modem-manager and usb-modeswitch.
On Debian Jessie also in this case I obtain a wwan0 interface pluging in the dongle.
Now I'm tring it on an older system Slackware-14.0 in which no wwan0 is automatically created.
Anyway if I send:
Code:
echo -ne 'AT^NDISDUP=1,1,"ibox.tim.it"\n\r' > /dev/ttyUSB0
Suddently dongle led light stop flashing and remain lit (dark blue) like when it is regularly connected to internet.
Peraphs that is the missing part of the configuration.
And the interface config file could be as follow:
Code:
iface wwan0 inet dhcp
pre-up echo -ne 'AT^NDISDUP=1,1,"ibox.tim.it"\n' > /dev/ttyUSB0
That pearphs could work with the huawei E-353 (I'll try it on debian jessie).
But for the Olicard-300 the problem is that it isn't recognized as a modem out of the box: modem-manager + usb_modeswitch don't seem to be able to switch it, so it rest recognized as a "Zero CD" (/dev/sr*).
Also lsusb command report vendor and product "2020:0002", rather than the expected (modem mode) "2020:4000".
I've found this quite simple procedure to switch it:
This is enought to switch to modem mode: now lsusb says "2020:4000".
Also the interface wwan0 is created after that "fake ejecting".
But we don't have any serial port yet like /dev/ttyUSB*.
So for that scope manual loading of usbserial kernel module seems to be needed:
Code:
# usbserial vendor=0x2020 product=0x4000
Now we have:
- /dev/ttyUSB0 (able to receive an AT command that activate the dongle something like the AT^NDISUP working for the huawei)
- wwan0 configured to pre-activate the dongle and obtain an ip address
Will all this work???
I'll try to get it....
Stay tuned!
... And any suggest or comment is greatly appreciated!
