[ILUG] Mobile dongle not seen
Gareth Eason
bigbro at skynet.ie
Fri Oct 23 17:16:30 IST 2009
Gah! I'm having a day of typing nightmares - apologies! :(
Firstly, you should *Note* that my wvdial.conf file attached in a previous
mail points at /dev/ttyUSB0 (and specifically not at /dev/modem .)
Secondly, it looks like I mispasted and forgot the line that actually points
wvdial at the modem. doh! For completeness, here is what you should use as
your entire wvdial.conf file:
----- wvdial.conf -----
[Dialer Defaults]
Modem = /dev/ttyUSB0
[Dialer o2]
Modem = /dev/ttyUSB0
Phone = *99#
Username = O2
Password = password
New PPPD = Yes
Stupid Mode = 1
Dial Command = ATDT
Baud = 460800
Init = ATZ
Init1 = AT
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Init5 = AT+CGDCONT=1,"IP","open.internet";
ISDN = 0
Modem Type = USB Modem
----- end of wvdial.conf -----
Hopefully that, at least, gets you on the internet and testing that the
system is actually working. It should be noted that this will completely
bypass NetworkManager (so things like Firefox may think you are offline) and
will not ask you for a PIN. You should disable the PIN for the SIM prior to
testing in this fashion as it just introduces a bunch of complexity.
Best regards,
-->Gar
Gareth Eason wrote:
> Hi,
>
> You're 99.9% there, I'd guess.
>
> You are pointing wvdial at /dev/modem, which will not exist unless you set it
> up. Not in my wvdial.conf file that I point it at /dev/ttyUSB0 - which is
> where your modem should likely appear.
>
> Change that setting and you should be good to go. I suspect everything is
> working for you, apart from you not actually pointing at the modem :)
>
> Make sure your wvdial.conf has the following and nothing else, then run the
> following to test:
>
> ----- wvdial.conf -----
> [Dialer Defaults]
> Phone = *99#
> Username = O2
> Password = password
> New PPPD = Yes
> Stupid Mode = 1
> Dial Command = ATDT
> Baud = 460800
> Init = ATZ
> Init1 = AT
> Init2 = ATZ
> Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> Init5 = AT+CGDCONT=1,"IP","open.internet";
> ISDN = 0
> Modem Type = USB Modem
> ----- end of wvdial.conf -----
>
> ----- to connect to the internet -----
> user at host:~$ sudo su -
> [sudo] password for user: <type your login password here>
> root at host:~# wvdial
> <some text will appear if it's working and the program will not terminate.>
> <Leave this shell open and in another window, try "ping google.com" or similar.>
>
> -----
> Hope that helps.
>
> Best regards,
> -->Gar
>
>
>
> Gerard Cunningham wrote:
>> On Thu, 2009-10-22 at 13:26 +0100, Gareth Eason wrote:
>>> Gerard Cunningham wrote:
>>> As root (make sure vendor and product IDs are correct):
>>> modprobe -r option && modprobe -r usbserial && modprobe usbserial
>>> vendor=0x02d1 product=0x1001 && modprobe option
>>> sleep 3
>>> wvdial o2
>>>
>>> I've attached my wvdial.conf file - if you've not already got it installed,
>>> 'aptitude install wvdial' will see you right :)
>>>
>>> Hope this helps. Any questions, please feel free to drop me a mail.
>>
>> I tried this, got the errors listed at the bottom of this message when I
>> ran the script.
>>
>> I've tried so many things the past few days I suspect that there's all
>> sorts of detritus lying in various config files at the moment, so I've
>> decided to let Ubuntu be until next weekend, after Karmic goes live and
>> I do a clean install. If I'm lucky. Karmic will plug & play, although
>> I'm not hopeful, since it didn't with the beta. If there's no joy, I may
>> try the script again and see what happens.
>>
>> [I don't suppose there's a Karmic install party/POTD event next week an
>> end user could come along to? If it's good enough for #win7.... Free
>> pint(s) to the boffin who gets fixes my bugs.]
>>
>> Meanwhile, on my reserve notebook (thinkpad R52) I decided to install
>> SUSE Linux Enterprise Server, and eureka, it's plug & play, successfully
>> connecting to the interwebs. I've only got a passing familiarity with
>> SUSE tho (its the distro on the SO's netbook) so I'm not sure if I'll
>> migrate or not.
>>
>> Maybe it's time to leave Ubuntu behind and move on.
>>
>> Thanks to all who have made suggestions to date.
>>
>> Anyway, here are the errors:
>>
>> WARNING: Deprecated config file /etc/modprobe.conf, all config files
>> belong into /etc/modprobe.d/.
>> WARNING: All config files need .conf: /etc/modprobe.d/oss-compat, it
>> will be ignored in a future release.
>> WARNING: All config files need .conf: /etc/modprobe.d/blacklist-vmc, it
>> will be ignored in a future release.
>> FATAL: Error removing option
>> (/lib/modules/2.6.28-16-generic/kernel/drivers/usb/serial/option.ko):
>> Operation not permitted
>> --> WvDial: Internet dialer version 1.60
>> --> Warning: section [Dialer o2] does not exist in wvdial.conf.
>> --> Cannot open /dev/modem: No such file or directory
>> --> Cannot open /dev/modem: No such file or directory
>> --> Cannot open /dev/modem: No such file or directory
>>
>>
>>
>
More information about the ILUG
mailing list