|
NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
PPPD issue.
Hi there!
I have a problem with internet connection using pppd, I've always used dhcpd so i'am not very familiar with configuration pppd. The problem is that I can establish connection with my ISP, receive IP and nothing more... No DNS is being configured and i can't ping, not only specified host like www.netbsd.org but even if I try ping IP it still fails. In general i have my own IP from ISP but no internet connection? It works almost good using net/userppp, i receive ip,dns and can ping, but cannot downolad any file bigger then few Kb, so i would like to try with PPPD. If it can help I will paste ALMOST working ppp.conf. (on freebsd this ppp.conf works like a charm) In the end my PPPD configuration scripts: playmobile: Code:
/dev/ttyU0 460800 connect 'chat -v -f /etc/ppp/peers/playmobile.chat' nodefaultroute ipcp-accept-local ipcp-accept-remote noipv6 nodetach noauth local Code:
ABORT 'NO DIAL TONE' ABORT 'NO ANSWER' ABORT 'NO CARRIER' ABORT DELAYED '' AT OK ATZ #OK 'AT+CGDCONT=1,"IP","internet"' OK ATD*99# CONNECT '' Thanks in advance for any help. Best Regards Tom. |
|
||||
I actually connect to Internet via PPPoE so I can't help you much, but here is the link for setting up a ppp connection, also including examples and a way to debug if something goes wrong:
http://www.netbsd.org/docs/guide/en/...practice-modem Even though I'm not familiar with the setup, I see you didn't specify the login name and password in pap/chap-secrets file? Also, are you shure you need the nodefaultroute option in stead of defaultroute?
__________________
The best way to learn UNIX is to play with it, and the harder you play, the more you learn. If you play hard enough, you'll break something for sure, and having to fix a badly broken system is arguably the fastest way of all to learn. -Michael Lucas, AbsoluteBSD |
|
|||
My provider doesn't require pap/chap authentication.
If it comes to (no)defaultroute it acts the same with both options. Edit: Wow! I made it work . After your question about pap/chap i added 2 lines: Code:
refuse-pap refuse-chap Thanks s0xxx for clue. Best Regards Tom Last edited by Tom; 26th August 2009 at 02:01 PM. |
|
|||
IdOp, thanks for reply .
I made some changes and finnaly my configuration file looks like this: Code:
/dev/ttyU0 460800 connect 'chat -v -f /etc/ppp/peers/playmobile.chat' nodefaultroute ipcp-accept-local ipcp-accept-remote noipv6 nodetach noauth local 0.0.0.0:0.0.0.0 crtscts refuse-pap refuse-chap Option modem is opposit to local, and when i tried to use it I couldn't establish connection. When it comes to DNS, my ISP provides DNS but PPPD doesn't configure them at all in my case. I had to go with manual configuration /etc/resolv.conf. Finnaly, thanks for help . I was fighting with it for a week, and 10 minutes after first reply I solved the case . Best Regards Tom |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
4.5 -current issue | roundkat | OpenBSD Installation and Upgrading | 11 | 28th February 2009 02:11 PM |
FFS permission issue | marc | OpenBSD General | 2 | 2nd February 2009 07:31 PM |
Possible SMP Issue? | MetalHead | OpenBSD General | 1 | 25th November 2008 03:52 AM |
pppd on FreeBSD 7.0-RELEASE | radcapricorn | FreeBSD General | 2 | 6th June 2008 01:10 PM |
RAM issue | nikkon | FreeBSD General | 5 | 7th May 2008 04:26 AM |