VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: 20090619 pyWvDial-0.5 [VL6.0]  (Read 856 times)

toothandnail

  • Moderator
  • Vectorian
  • *****
  • Posts: 2527
20090619 pyWvDial-0.5 [VL6.0]
« on: June 19, 2009, 03:51:14 am »

strechedthin has built a new Pywvdial package for VectorLinux 6.0.
   
      
   
Code: [Select]
pyWvDial: pyWvDial (Network application- wvdial and gui )
pyWvDial: pyWvDial is a simple and handy frontend for WvDial.
pyWvDial: It provides a graphical interface for configuration and
pyWvDial: execution of WvDial, with a output monitor and a system
pyWvDial: tray icon, and grants easy access to connection information
pyWvDial:
pyWvDial:
pyWvDial: License: GPL
pyWvDial: Authors: Giacomo Lozito
pyWvDial: Website: http://www.develia.org/projects.php?l=2&f=1&p=pywvdial
   
   After testing this package please stop back here and let us know how it works for you.
   
Logged

arundracula

  • Member
  • *
  • Posts: 57
Re: 20090619 pyWvDial-0.5 [VL6.0]
« Reply #1 on: June 21, 2009, 10:36:00 am »

pyWvDial requires a lot of options. I put some that I know and it doesn't connect. Shows an error incorrect login name or something. And where is the wvdial.conf? In /etc/ there is only wvdialconf-sample.

I created a file called wvdial.conf in /etc and put this settings in it.


[Modem0]
Modem=/dev/ttyACM0
Baud=115200
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
FlowControl=Hardware (CRTSCTS)
[Dialer <name>]
Username=<username>
Password=<password>
Phone=<number>
Stupid Mode= 1
Inherits = Modem0


And in terminal I tried wvdial <name>.. And it doesn't worked.

Then I run wvdial <name> as super user. Then it worked. However I had to put the DNS addresses in resolv.conf.

Is there is anyway direclty putting this settings into a file and pyWvDial reads that?
Logged
Re-installing is not a problem, but it is when I had to.

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: 20090619 pyWvDial-0.5 [VL6.0]
« Reply #2 on: June 21, 2009, 10:50:59 am »

I will see what I can find out.  I'll be home this evening and give it a go.  I may have some questions myself as I am not at all familiar with the program.
Logged
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Arioco

  • Packager
  • Member
  • ****
  • Posts: 39
Re: 20090619 pyWvDial-0.5 [VL6.0]
« Reply #3 on: June 22, 2009, 02:34:37 pm »

here is my /etc/wvdial.conf:
Code: [Select]
[Dialer Defaults]
Init1 = AT+CGDCONT=1,"IP","internet.tigo.hn"
Init1 = ATZ
Auto DNS = off
Modem Type = USB Modem
Phone = *99***1#
Password = Guest
Username = Guest
Modem = /dev/ttyACM0
Baud = 921600

I installed pyWvdial 3 or 4 days ago and i've had no problem

@arundracula,
you can try to edit your /etc/wvdial.conf to make it look like this:

Code: [Select]
[Dialer Defaults]
Modem=/dev/ttyACM0
Baud=115200
Dial Command = ATDT
init1=ATZ
init2=AT+CRM=1
FlowControl=Hardware (CRTSCTS)
Username=<username>
Password=<password>
Phone=<number>
Stupid Mode= 1
#Inherits = Modem0

or make a file named wvdialrc with the same content in your home folder, this way pyWvdial should be able to read your configuration. And i'm not sure but I think Baud=115200 is too low, you will get better speed if you set it to a higher value
« Last Edit: June 22, 2009, 02:58:26 pm by Arioco »
Logged
In a world without fences or walls... Who needs Gates or Windows?