[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modem dialup with wvdial and kppp



Christian Banik wrote:
Dear Debian Users,

i tried to configure my Com Port Modem with pppconfig. It doesn't work.
The problem is not the Hardware, because he dials and even seems to go in the internet (with wvdial) . Under kppp Error massage 1 appears. But Konqueror or other Browsers can't show internet pages. I've added the Protocol, perhaps you see my mistake.

Thanks a lot Christian




From the looks of of the snippit below it looks like you are getting connected and getting all the info from your ISP (dynamic IP, DNS, etc)

>Nov 20 21:17:52 debian pppd[738]: pppd 2.4.1 started by root, uid 0
>Nov 20 21:17:52 debian pppd[738]: Using interface ppp0
>Nov 20 21:17:52 debian pppd[738]: Connect: ppp0 <--> /dev/ttyS0
>Nov 20 21:17:54 debian kernel: PPP BSD Compression module registered
>Nov 20 21:17:54 debian kernel: PPP Deflate Compression module >registered
>Nov 20 21:17:55 debian pppd[738]: local  IP address 213.6.91.82
>Nov 20 21:17:55 debian pppd[738]: remote IP address 62.104.214.45
>Nov 20 21:17:55 debian pppd[738]: primary   DNS address 62.104.191.241
>Nov 20 21:17:55 debian pppd[738]: secondary DNS address 62.104.196.134


However diald is stepping in and trying to call out to a "private" address (192.168.0.2)

>Nov 20 21:17:56 debian diald[183]: Trigger: udp       192.168.0.1/1025
>62.104.191.241/53
>Nov 20 21:17:56 debian diald[183]: Calling site 192.168.0.2
>Nov 20 21:17:56 debian diald[183]: No devices free to call out on.
>Nov 20 21:17:56 debian diald[183]: Connect script failed.

I suspect you have a NIC installed that has been configured previously with a "gateway" entry. If so, then it will NOT allow pppd to set a new "defaultroute" (or "gateway"). The first thing you should do is check your /etc/network/interfaces file and see if it has a "gateway" entry and remove it or comment it out.

Second, I have found trying to run the "diald" program while you are still trying to get the basic connection going introduces a very large number of new variables into the equation. If you intend running diald, then you should probably dig into that documentation for more help. If you didn't even realize it was on your system, then I would just remove it and proceed on with getting kppp or wvdial running first. You can always re-install it and work on getting it going later AFTER you have a "working" PPP connection. Incidently, I have found the "demand" function of pppd works every bit as well, and is easier to set up, IMHO.

Cheers,
-Don Spoon-



Reply to: