LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help with wvdial.conf (http://www.linuxquestions.org/questions/linux-newbie-8/help-with-wvdial-conf-729677/)

smartlion 05-31-2009 10:53 AM

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.

tredegar 05-31-2009 11:36 AM

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

tredegar 05-31-2009 11:41 AM

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.

smartlion 06-03-2009 06:48 AM

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.

tredegar 06-04-2009 11:27 AM

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.)

smartlion 06-06-2009 10:26 AM

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,

smartlion 06-08-2009 06:31 AM

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

tredegar 06-08-2009 10:15 AM

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

smartlion 06-11-2009 09:11 AM

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

tredegar 06-11-2009 12:02 PM

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.


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