Re: modem/ppp

"kalin mintchev" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
thanks for replying..
i used either recommendation with the one from:
http://FreeBSD.a1poweruser.com:6088/05.04-Internet_access_protocols.htm#User%20PPP

almost working. using the example conf file i get to dial and hear all the
normal modem sounds and after a while i get: PPP enabled. but can not ping
anywhere outside.
ifconfig tun0 prints inbetween other stuff this:
inet 148.222.111.111 --> 333.333.333.3 netmask 0xffffffff
Opened by PID 1037

ps shows that the process is running. i can ping the 333.333.333.3 number
but nothing else. in the resolve.conf i have dns that are not necesarely
the isp's but i know they are working fine. but even bypassing the dns by
just pinging ips i can't ping anything but the 333.333.333.3 number....

any idea why?

thanks...



> On 5/8/05, kalin mintchev <[email protected]> wrote:
>> hi all...
>>
>> need a little help to set up a pcmci modem. i've never used a modem
>> before..
>>
>> this is a 3com card. and it gets recognized fine - as sio0. i have tun0.
>> i'm trying to use it with ppp. i read the handbook on ppp. what confuses
>> me is that the ppp.conf is setting a serial port device - cuaa1.
>
> Hi Kalin:
>
> Here is my ppp.conf. I am using it on  a laptop running FreeBSD
> 5.4-STABLE.
>
> My PCMCIA modem is recognized as sio4:
> sio4: <3Com 3CXM/3CCM556> at port 0x2f8-0x2ff irq 11 function 0 config
> 33 on pccard0
>
> so I use /dev/cuaa4. Perhaps you should try /dev/cuaa0 ?
>
>  Make sure you add
> allow users $YOUR_ACCOUNT at the top of the ppp.conf, so you can dial
> out without being root. Add your account to the operator group, in
> /etc/group.
>
> _________________________________
> default:
>   set log Phase Chat LCP IPCP CCP tun command
>   ident user-ppp VERSION (built COMPILATIONDATE)
>   allow users xfce
>  # Ensure that "device" references the correct serial port
>  # for your modem. (cuaa0 = COM1, cuaa1 = COM2)
>  #
>   set device /dev/cuaa4
>
>  set speed 115200
>   set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \
>            \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT"
>  set timeout 180                        # 3 minute idle timer (the
> default)
>   enable dns                             # request DNS info (for
> resolv.conf)
>
> papchap:
>  #
>  # edit the next three lines and replace the items in caps with
>   # the values which have been assigned by your ISP.
>  #
>
>  set phone 3038241037
>   set authname [email protected]
>   set authkey XXXXXXXXXXXXXXX
>
>   set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
>   add default HISADDR                    # Add a (sticky) default route
> ___________________________________________
>
>
>
>
> --
> Kind regards,
> Jonathan
>


--


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.