Jump to content

WvDial - strange problem.


sud_crow
 Share

Recommended Posts

Hi all,

well, i have been trying to use wvdial (so i can conect outside X) and well, i dont seem to make it work, i mean, i made all the configuration needed, the modem is detected, the program works i mean, it says calling, dials ok, sends user ok, sends pass ok, but then, says"iniciating pppd" and thats it, then shows a "pid --a number--" , and its connected, (i checked when i do CTRL-C it disconects with a "!trying to quit nicely" or something like that and the modem goes "TIK" so it gets disconected....

 

The problem is, that after the "pid #" it doesnt allow me to browse... or at least LYNX does not detect the conection.

 

If anyone can help!!

Link to comment
Share on other sites

Have you used the same dial-up account on another OS/computer before with no problems? Do you have another network connection that works on your Mandrake installation? Just some basic questions, but I think your problem is with your DNS resolution. I've had the same thing happen a few times when setting up a dial-up connection on MDK installs, sometimes the DNS just doesn't seem to work properly. Could you post, and or check your /etc/resolv.conf file? It should look something like this, (without my made up IP addys)-

 

[default@localhost default]$ cat /etc/resolv.conf 

search advant local



# ppp temp entry

nameserver 234.167.114.10 # ppp temp entry

nameserver 159.3.222.10 # ppp temp entry

 

Also your /etc/ppp/resolv.conf file should have your DNS servers listed. It should look the same as your /etc/resolv/conf file except without the "search..." and "# ppp temp..." parts.

Link to comment
Share on other sites

Well, actually, i have dynamic DNS, so i dont specify any, what i do is to add this lines to options under /etc/ppp/options

 

lock

noauth

noipdefault

usepeerdns

 

the first one i dont know what is for (i didnt added it) , then the 2nd is for no authorization required, the 3rd for dynamic IP and the 4th for dynamic DNS

I dont know if its called dynamic DNS but i know that my ISP doesnt use an exclusive one and i dont have to set one.

 

the problem is, if wvdial uses this options file or it doesnt? kppp does.

Link to comment
Share on other sites

Hey bvc.

 

I tryed that, in all posible combinations for this 2 days...

without any positive results...

 

I was thinking if it may not be a lynx problem...??

but it works offline, so i dont know.

 

the thing goes like this, i do wvdial and then it works like i sayd.

till the pin thing.

 

then it just stays there, so i go to another console

and open lynx, by default it tryes to go to its homepage.

but its instantly, that i do the lynx ENTER thing, and

it displays it self with a couldnt connect to host site!

or something similar. but it does it as soon as i press ENTER

so i was thinking if this damn thing is actually checking if im online....

 

any ideas?

Link to comment
Share on other sites

Sorry to double post,

im posting my config files so you can check them.

 

wvdial.conf

[Dialer Defaults]

       Modem = /dev/ttyS0

       Baud = 57600

       Init1 = ATZ

       Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0

       #Init2 = AT S11=50

       Init3 = ATM0

       Auto DNS = on

       Modem Type = Analog Modem

       Phone = myispphone

       Username = myusername

       Password = mypass

       Stupid mode = yes

 

Well as you see, i have 2 init2 thats becouse i dont know all the AT commands and well, the first one is the autogenerated, and the second is the one on the man pages as example.

with both of them, works until the pin#.

 

Also i have tryed with and without the stupid mode, and the Auto DNS, that i must say, it doesnt recognize it as a option like the rest of them (color coding)

 

 

--

also, my resolv.conf is empy.

no lines at all, zero.

 

i didnt know how to try that suggestion about

search mylinuxisp

 

and do you think i should ask for some ISP DNS??

becouse, Kppp is working, and i didnt set any other option besides the ones i did with wvdial.

 

...i need my console online... well... actually, i want my console online... ;)

 

thnx for the help.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...