LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   need help with wvdial (https://www.linuxquestions.org/questions/linux-networking-3/need-help-with-wvdial-137150/)

weng 01-21-2004 12:54 PM

need help with wvdial
 
hi,
I ran wvdialconf <.conf-filename>
I then edit wvdial.conf in /etc and added contents from the newly created .conf file
The section added was [Default Dialer]

I typed in the correct values for username/phone/pass and modem settings which were detected during wvdialconf.
I saved the file and still as root, i ran wvdial and got connected. The modem lights monitor showed some activity so i disconnected by terminating the terminal and logged into twm environment.


Ran wvdial again and got connected. I tried to telnet and said could not resolve domain etc. I launched mozilla from terminal and tried some sites, same thing happened. The lights on my modem were on, indicating a connection to my isp. Why cant i connect to sites ? Another hting is i cant seem to disconnect it. I switched off the modem and the Modem Lights panel still attempted to connect until i had to restart the computer.

Thanx for any help.

StikShift 01-21-2004 11:11 PM

I had a similar problem. On mine, I would connect and seem to be authenticated, but then be disconnected after about 5 seconds. It was very frustrating.

I tried kppp instead, and it hooked up quick and easy. No prob. Still using it. You should be able to get an rpm for it from rpmfind.org, or your distro. If you have KDE, it's probably already installed.

Hope this helps. Best luck to you!

StikShift

weng 01-22-2004 03:41 AM

Wvdial question resolved :)
 
hi there,

After reading for a couple of hours, I found that wvdial depends on my isp's dns server to resolve numeric ip address. This is what I did .... i connect to my isp as usual, you can use any dialer such as kppp and the like, then, while you are connected, open up a terminal.
Go to /etc/ppp directory and "cat resolv.conf". You should see a couple of lines such as:
nameserver xyx.yx.xzy.xxx
nameserver xyz.zzy.xyz.zzx

Take note of those 2 lines and disconnect from your ISP. Now go to /etc and "vi resolv.conf" Add the 2 lines or anything you saw earlier in /etc/ppp/resolv.conf into /etc/resolv.conf. Done, now you can try dialing again to your isp with issuing the wvdial command. I connect fine now, I can even telnet to my mail server and browse the internet. Good luck


All times are GMT -5. The time now is 09:56 PM.