LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2011, 07:28 AM   #1
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 78

Rep: Reputation: 3
Question wvdial is not connecting to internet


hello all,
i am trying to connect Internet through wvdial using dialup connection(Xorg is off), m using Ubuntu 11.04 32 bit and Nokia 5130 xpress Music phone.....when i tried to connect with wvdial command , i got the error "subscribe to packet data first" error on cell.....here is my wvdial.conf file...

Quote:
[Dialer Defaults]
Modem = /dev/ttyACM0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = USB Modem
Baud = 460800
New PPPD = yes
ISDN = 0
Phone = *99#
Stupid mode = 1;
my ISP has not provided me any username or password ...and connection works fine in GUI mode...but i need to connect in CLI....TIA
 
Old 07-22-2011, 07:42 AM   #2
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
I'm pretty sure you still have to add the username and password file to the conf file. It's default...
Username = user
Password = pass

have you checked the info in /etc/resolv.conf ? Sometimes wvdial will completely wipe that file :S
it should say something like

nameserver "with an ip address"
nameserver "with an ip address"
 
Old 07-22-2011, 08:03 AM   #3
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 78

Original Poster
Rep: Reputation: 3
tried with
Username = user
Password = pass
but it didn't work out..
checked resolv.conf and here it is
Quote:
# Generated by NetworkManager
nameserver 202.56.230.5
nameserver 202.56.230.6
while using sudo wvdial i got the error
Attached Thumbnails
Click image for larger version

Name:	Screenshot-2.png
Views:	10
Size:	68.8 KB
ID:	7634  
 
Old 07-22-2011, 08:17 AM   #4
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
Bugga. I'm at uni at the moment. If you havnt solved this thread when I get home I'll log back on and give you a hand I use wvdial alot and on my iPhone I can't even open your attachment.

Hopefully someone will give u an answer. If not. I'll write back soon.
 
Old 07-22-2011, 08:19 AM   #5
varunb
Member
 
Registered: Mar 2011
Location: Bangalore, INDIA
Distribution: opensuse, fedora
Posts: 135
Blog Entries: 1

Rep: Reputation: 1
Question

Quote:
Originally Posted by konsolelover View Post
tried with
Username = user
Password = pass
but it didn't work out..
checked resolv.conf and here it is


while using sudo wvdial i got the error

check these packages whether it is installed or not
- usb_modeswitch
- usb_modeswitch-data
- libusb
- wvdial
- wvstreams
 
Old 07-22-2011, 08:49 AM   #6
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 78

Original Poster
Rep: Reputation: 3
yeah, all the packages r installed...found d packages libwvstreams4.6-base n libwvstreams4.6-extras instead of wvstreams...
 
Old 07-22-2011, 09:16 AM   #7
0men
Member
 
Registered: Mar 2011
Location: Brisbane
Distribution: Windows 10, Red Hat, Debian
Posts: 183

Rep: Reputation: 22
Instead of wvstreams ? I'm no help then. I'm only used wstreams to install wvdial. God bless slackbuilds !!
I'd try and get wvstreams installed. Check source forge. You'll have to build it from source but it's easy peasy.


Good luck mate.
 
Old 07-22-2011, 09:20 AM   #8
yhcheang
LQ Newbie
 
Registered: Mar 2011
Distribution: Slackware
Posts: 16

Rep: Reputation: 7
Init3 = AT+CGDCONT=1,"IP","your_ap_name",,0,0

Insert this after init2 and replace your_ap_name with your service's name. In my case it is "airtelgprs.com".

P/s : copy exactly everything including the quotes and coma
 
1 members found this post helpful.
Old 07-22-2011, 10:40 AM   #9
konsolelover
Member
 
Registered: Jul 2011
Location: 127.0.0.1
Distribution: Arch, Ubuntu 11.04
Posts: 78

Original Poster
Rep: Reputation: 3
thnx dude its working (big grin).....btw how can i end connection i tried ctrl+c and ctrl+z but it didn't work....n even closing the terminal....
 
Old 07-22-2011, 02:56 PM   #10
yhcheang
LQ Newbie
 
Registered: Mar 2011
Distribution: Slackware
Posts: 16

Rep: Reputation: 7
I use ctrl + c to end it. The easiest way is to unplug the usb device if you're not using it anymore
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trouble connecting to internet using GPRS modem with WVDIAL-- platform Ubuntu dixit Linux - Networking 3 06-08-2011 01:07 PM
wvdial is connecting but i'm unable to do anything basheer Slackware 4 04-02-2009 09:18 AM
Need help installing and connecting wvdial goathunter Linux - Networking 1 07-13-2005 02:32 AM
Internet logon/wvdial Recirqie Linux - Software 4 10-12-2003 05:10 PM
Cannot surf internet (wvdial) chii-chan Linux - Newbie 4 09-21-2003 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration