Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: omar_alfudhaily on January 01, 2009, 01:54:00 PM

Title: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: omar_alfudhaily on January 01, 2009, 01:54:00 PM
i have this type of modem and i wd like to use it in ubuntu 7.04 and i tried hardly to make it but ..... and even of that i ve no i idea how setupn the wirless i tried by the normal setup but it doesnt work
the type of this modem is sxc-1080 CDMA 1*  usb modem
Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: Ricky on January 01, 2009, 05:53:10 PM
Hi,

Did you try my this tutorial :
Using CDMA Modem to connect internet on Linux (http://www.linuxsolved.com/linux-forums/linux-tutorials-how-tos/using-reliance-cdma-phone-as-modem-to-connect-internet-t612.0.html)

It should work for you modem.
Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: omar_alfudhaily on January 03, 2009, 02:44:27 PM
hi ricky
it dose not work
firstly when I write this code\
wvdialconf /etc/wvdial.conf
it appears this:
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 Z -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyACM0<*1>: Modem Identifier: ATI -- ERROR
ttyACM0<*1>: Speed 4800: AT -- OK
ttyACM0<*1>: Speed 9600: AT -- OK
ttyACM0<*1>: Speed 19200: AT -- OK
ttyACM0<*1>: Speed 38400: AT -- OK
ttyACM0<*1>: Speed 57600: AT -- OK
ttyACM0<*1>: Speed 115200: AT -- OK
ttyACM0<*1>: Speed 230400: AT -- OK
ttyACM0<*1>: Speed 460800: AT -- OK
ttyACM0<*1>: Max speed is 460800; that should be safe.
ttyACM0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found an USB modem on /dev/ttyACM0.
Modem configuration written to /etc/wvdial.conf.
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp6601': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
ttyACM0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

the modem has found but even of that when i want to /etc/ i didnt find the wvdial.conf folder
i tried to make one but i could not

Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: omar_alfudhaily on January 03, 2009, 03:18:21 PM
i got this
........-laptop ~ $ wvdial indicom
--> WvDial: Internet dialer version 1.60
--> Cannot open ttyACM2: No such file or directory
--> Cannot open ttyACM2: No such file or directory
--> Cannot open ttyACM2: No such file or directory
i just  change in

[Modem0]
Modem=(((((((/dev/input/ttyS0)))))) i put  ttyACM2
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1           
FlowControl= Hardware (CRTSCTS)
[Dialer reliance] and here i write indicom
Username= Ph No.   and i change this
Password= Ph No.    and here
Phone=#777
Stupid Mode= 1
Inherits = Modem0

and then i write
this code
wvdail indicom
Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: Ricky on January 03, 2009, 08:14:07 PM
yes, you have to create wvidial.conf yourself.
Is it working for you ?
Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: omar_alfudhaily on January 05, 2009, 05:35:31 AM
it does not work
i dont why .....really get confuse
Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: Ricky on January 06, 2009, 11:18:13 AM
Your modem is at :
Code: [Select]
Found an USB modem on /dev/ttyACM0
And you are giving /dev/ttyACM2 ?

Follow my tutorial once again and let me know.


Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: omar_alfudhaily on January 07, 2009, 12:47:48 PM
i did it again



[Dialer indicom]
Stupid Mode = 1
Inherits = Modem0
Password = internet
Username = inteernet
Phone = #777


[Modem0]
Modem=/dev/input/ttyS0
Baud=115200
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1           
FlowControl= Hardware (CRTSCTS)
[Dialer indicom]
Username= internet
Password=onternet
Phone=#777
Stupid Mode= 1
Inherits = Modem0

 wvdial indicom
--> WvDial: Internet dialer version 1.60
--> Cannot open /dev/input/ttyS0: No such file or directory
--> Cannot open /dev/input/ttyS0: No such file or directory
--> Cannot open /dev/input/ttyS0: No such file or directory


 $ ifconfig ppp0
ppp0: error fetching interface information: Device not found


do u ve any idea about Linux mint

in  it there is connection VPN

and i found mobile broadband
i click add the i choose the place which will be india
and the i choose the type network and i found airtall and others and also tata indicom (plug2surf)
but I doesn't work too.even when i setup it i mean chage the username and ect

i just show

auto mobile broadband CMAD connection
Title: Re: plug 2 surf whiz! How to Install it in Linux Ubuntu ?
Post by: Ricky on January 07, 2009, 01:17:54 PM
It should be:
Code: [Select]
[Modem0]
[color=red]modem=/dev/ttyACM0[/color]
Baud=460800
SetVolume=0
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1     
init3=ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0     
FlowControl= Hardware (CRTSCTS)
[Dialer indicom]
Username= [b]internet[/b]
Password=[b]internet[/b]
Phone=#777
Stupid Mode= 1
Inherits = Modem0

Now if you are provided with username and password then replace it in config file. Also, you can try removing init3 option.