LinuxQuestions.org
Register a domain and help support LQ
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 05-31-2009, 10:53 AM   #1
smartlion
LQ Newbie
 
Registered: May 2009
Posts: 11

Rep: Reputation: 1
Unhappy Help with wvdial.conf


Hello all,

As I said before, I am a total newbei to linux, and I have a Fedora 10 along with WinXP Sp2. I'm trying to connect to the internet through Fedora10 using a Unik-22 ISDN USB modem. The modem is installed already. But I cannot add the internet account using the wvdial.conf. Would anybody please give me a detailed walkthrough for how to add the Username, the Password and the phone No. for through the wvdial.conf?
By the way I looked for such a thing in the Forum, but found nothing.
 
Old 05-31-2009, 11:36 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Your modem is detected? How do you know this? Do you have a device like /dev/ttyS0 or /dev/ttyUSB0 created when you plug your modem in ?

If so, then man wvdial.conf should help you out.

Then you just need to edit the wvdial.conf file.

If it helps, here's mine (this was for a USB "mobile phone" dongle from the UK ISP "3". Yours will obviously need to be different.
Code:
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
IniInit1 = ATZ
Stupid Mode = 1
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB0
Username = three
Dial Command = ATDT
Password = three
Baud = 9600

[Dialer three]
Init2 = ATZ
Init3 = ATE0 V1 &D2 &C1 S0=0 +IFC=2,2
Init5 = AT+CGDCONT=1,”IP”,”3internet”
Modem Type = Analog Modem
ISDN = 0
Phone = *99#
Modem = /dev/ttyUSB0
Username = three
Dial Command = ATDT
Stupid Mode = 1
Password = three
Baud = 460800
And here's a link for you:
http://support.real-time.com/linux/dialup/wvdial.html
 
Old 05-31-2009, 11:41 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Follow up: Here's a better link for you:

http://www.google.co.uk/linux?hl=en&...G=Search&meta=

Those pages may not be in english (perhaps you can read them better than I can) but linux commands are the same.
 
Old 06-03-2009, 06:48 AM   #4
smartlion
LQ Newbie
 
Registered: May 2009
Posts: 11

Original Poster
Rep: Reputation: 1
Thanks Tredegar,

I followed the manual that came with the ISDN modem to check if it is detected or not, and found out that it was. But my problem now is that I cannot login as root, though my password is correct. But I can't login in the main screen as root. I could change the user in the terminal though, but it is still giving me the "Access is denied" when I try to edit the wvdial.conf file.
 
Old 06-04-2009, 11:27 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Sorry for the delay, been busy, and my ISP blocked emails from LQ for a few days as they thought they were spam (sorted out now), so I'm only just catching up.
Quote:
But I can't login in the main screen as root.
Many distros will not allow you to log into a GUI as root.
So you need to login as yourself.
Then you need to open a terminal and then become root with su -
Then give root's password, then you are root (see how your prompt has changed?)
Now you can edit the file: nano /etc/wvdial.conf
Save changes
exit to cease being root, or just leave that terminal open as a "root terminal" (be careful with it.)
 
Old 06-06-2009, 10:26 AM   #6
smartlion
LQ Newbie
 
Registered: May 2009
Posts: 11

Original Poster
Rep: Reputation: 1
Thanks for your replyTredgar,
I have another problem now, a major one.I cannot get into my Fedora at all. It sometimes does not show my account at all in the login screen, and sometimes does. But it allways reboots when I try to login. As far as I know it is not likely for linux to crash like this. I Also know that there is a way to repair the installed OS, but I don't know how. Can you help with that?

Thanks,
 
Old 06-08-2009, 06:31 AM   #7
smartlion
LQ Newbie
 
Registered: May 2009
Posts: 11

Original Poster
Rep: Reputation: 1
Hello again,

I reinstalled Ferdora Linux and redone all the configs again. Now the wvdial is making connection alright but I have more problems. First, I don't know how to dissconnect after the wvdial has made a coonection, and the ISDN modem is not responding after that which forces me to restart the whole system. Second, I cannot make connection using the Kppp GUI; it is telling me that it cannot find the /dev/usb/modem which the same device I'm using for the wvdial and it is working.


Thanks

Smartlion
 
Old 06-08-2009, 10:15 AM   #8
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
Now the wvdial is making connection alright
Good. Now, if you posted your wvdial.conf (in CODE tags please - click the "Go Advanced" button at the bottom of the reply window, then the # Button), it would help others with your modem.
Quote:
First, I don't know how to dissconnect after the wvdial has made a connection
Why do you want to disconnect? ISDN is "always on" isn't it? (I has been a while since I saw an ISDN line).
To disconnect, you can kill the wvdial process
Quote:
Second, I cannot make connection using the Kppp GUI
I have never used kppp so can't help here, but you do not need it anyway because you are using wvdial
 
Old 06-11-2009, 09:11 AM   #9
smartlion
LQ Newbie
 
Registered: May 2009
Posts: 11

Original Poster
Rep: Reputation: 1
Hello, Tredegar,

Thanks alot for your help so far> I can finally access the interent through my Fedora 10.
But now I have another obstacle, and it is not related to this issue. where from can I add another writing language and make a hotkey to change between them in Fedora? I tried hard but with no result. Can you help?

Thanks
 
Old 06-11-2009, 12:02 PM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,017

Rep: Reputation: 369Reputation: 369Reputation: 369Reputation: 369
Quote:
I can finally access the interent through my Fedora 10.
Good.

Tredegar wrote:
Quote:
Now, if you posted your wvdial.conf (in CODE tags please - click the "Go Advanced" button at the bottom of the reply window, then the # Button), it would help others with your modem.
I think you forgot to do this.

If you are going to receive free help, I think it's a good idea to try to give something back when you are able to. Some people refer to this as "Good Karma".
( Also, it doesn't hurt to click the "Thumb-up" button on a post you have found to be helpful )

Quote:
But now I have another obstacle, and it is not related to this issue. where from can I add another writing language and make a hotkey to change between them in Fedora?
Unfortunately, I am not the fount of all knowledge, and it is better to start a new thread for a new subject (with an appropriate title of course).
But before you post your new thread please do a search on scim, install it, and try it out.

Have fun.
 
  


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
wvdial.conf vanished senseproof Linux - Networking 4 05-12-2009 04:52 AM
I can't get permission to edit wvdial.conf no matter what I try. Help please. XenaneX Ubuntu 5 03-16-2009 06:24 AM
PIN in wvdial.conf - or?? stardustdk Linux - Networking 2 01-19-2008 04:17 AM
wvdial.conf problem THaughton Linux - Networking 3 12-10-2006 02:40 PM
wvdial.conf korbin Linux - Newbie 3 02-03-2004 07:48 AM


All times are GMT -5. The time now is 08:43 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration