LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-31-2007, 09:33 AM   #1
stardustdk
Member
 
Registered: Mar 2006
Distribution: Debian Squeeze
Posts: 93

Rep: Reputation: 15
3G (phone) network in Ubuntu Feisty


hey.

I have installed wvdial and that is not working...
It is the 3 network in Denmark.

I have figured out these things from Windows:
Username and password can be anything (!)
Profile name: 3 Denmark
APN: is static and called bredband.tre.dk
Phonenumber: *99#
IP,DNS and WINS is dynamic
Authentication Protocol: PAP


I got a suggestion last time i asked:

[Dialer cingular]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
Username = ISP@CINGULARGPRS.COM
Password = CINGULAR1
Phone = *99***1#
Stupid Mode = 1
Init3 = AT+CGDCONT=1,"IP","isp.cingular"
Dial Attempts = 3

Have made some changes but it stille not working:

[Dialer 3]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
Username = 3
Password = 3
Phone = *99#
Stupid Mode = 1
Init3 = AT+CGDCONT=1,"IP","3.dk"
Dial Attempts = 3


I got his from /var/log/messages:

pppd 2.4.4 started by root, uid 0
Aug 31 01:06:05 JVPLaptop pppd[6089]: Using interface ppp0
Aug 31 01:06:05 JVPLaptop pppd[6089]: Connect: ppp0 <--> /dev/ttyUSB0
Aug 31 01:06:05 JVPLaptop pppd[6089]: CHAP authentication succeeded
Aug 31 01:06:05 JVPLaptop pppd[6089]: CHAP authentication succeeded
Aug 31 01:06:07 JVPLaptop pppd[6089]: Modem hangup
Aug 31 01:06:07 JVPLaptop pppd[6089]: Connection terminated.
Aug 31 01:06:07 JVPLaptop pppd[6089]: Exit.

What is wrong?

Best regards

John Poulsen
 
Old 09-01-2007, 03:01 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,290
Blog Entries: 5

Rep: Reputation: 53
Go here and put gsm and gsm_chat in /etc/ppp/peers and edit it. Then to connect as root;
pppd call gsm
 
Old 09-02-2007, 02:17 PM   #3
stardustdk
Member
 
Registered: Mar 2006
Distribution: Debian Squeeze
Posts: 93

Original Poster
Rep: Reputation: 15
Solved

Hey all.

Now it is solved.

I configured the /etc/wvdial.conf like this:

[Dialer 3]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
Baud = 460800
New PPPD = yes
Modem = /dev/ttyUSB0
Phone = *99#
username=whatever
password=whatever
Stupid Mode = 1
Init3 = AT+CGDCONT=1,"IP","bredband.tre.dk"
Dial Attempts = 3

And starts it with: sudo wvdial 3

Best regards

Stardustdk
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
LXer: How to: 3G modem on Ubuntu Feisty LXer Syndicated Linux News 0 06-18-2007 08:16 AM
LXer: The Perfect Setup - Ubuntu Feisty Fawn (Ubuntu 7.04) LXer Syndicated Linux News 0 04-20-2007 03:31 PM


All times are GMT -5. The time now is 06:01 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration