Jump to content

Recommended Posts

Posted

Здраствуйте, не могли бы вы подсказать ... если конечно компитентны в этом вопросе: FreeBSD 5.4 не подключается к интернету через PPPoE...

rc.conf:

ppp_enable="YES"

ppp_mode="ddial"

ppp_nat="YES"

ppp_profile="name_of_service_provider"

 

 

ifconfig_de0="inet 213.154.220.46 netmask 255.255.255.252"

 

 

#defaultrouter="192.168.0.99"

gateway_enable="YES"

hostname="myserver"

ifconfig_rl0="inet 192.168.0.98 netmask 255.255.255.0"

 

network_interfaces="lo0 rl0 de0"

 

defaultrouter="213.124.220.46"

 

inetd_enable="YES"

named_enable="YES"

named_flags="-u bind -g bind"

linux_enable="YES"

usbd_enable="YES"

 

nfs_server_enable="NO"

nfs_client_enable="NO"

 

firewall_enable="YES"

firewall_type="Open"

 

 

ppp.conf:

 

default:

set log Phase tun command # you can add more detailed logging if you wish

set ifaddr 10.0.0.1/0 10.0.0.2/0

 

name_of_service_provider:

set device PPPoE: de0 # replace xl1 with your Ethernet device

set authname unlimited

set authkey *****

set dial

set login

add default HISADDR

pppoe.conf:

default:

set log Phase tun command # you can add more detailed logging if you wish

set ifaddr 10.0.0.1/0 10.0.0.2/0

name_of_service_provider:

set device PPPoE:de0 # replace xl1 with your Ethernet device

set authname unlimited

set authkey *******

set dial

set login

add default HISADDR

/var/log/ppp.log:

Apr 1 10:53:35 alfaclub ppp[198]: tun0: Warning: : Cannot send a netgraph mess>

Apr 1 10:53:35 alfaclub ppp[198]: tun0: Warning: deflink: Device (PPPoE:) must>

Apr 1 10:53:35 alfaclub ppp[198]: tun0: Warning: deflink: Device (de0) must be>

Apr 1 10:53:35 alfaclub ppp[198]: tun0: Phase: deflink: Enter pause (30) for r>

Apr 1 10:54:05 alfaclub ppp[198]: tun0: Warning: : Cannot send a netgraph mess>

Apr 1 10:54:05 alfaclub ppp[198]: tun0: Warning: deflink: Device (PPPoE:) must>

Apr 1 10:54:05 alfaclub ppp[198]: tun0: Warning: deflink: Device (de0) must be>

Apr 1 10:54:05 alfaclub ppp[198]: tun0: Phase: deflink: Enter pause (30) for r>

Apr 1 10:54:35 alfaclub ppp[198]: tun0: Warning: : Cannot send a netgraph mess>

Apr 1 10:54:35 alfaclub ppp[198]: tun0: Warning: deflink: Device (PPPoE:) must>

Apr 1 10:54:35 alfaclub ppp[198]: tun0: Warning: deflink: Device (de0) must be>

Apr 1 10:54:35 alfaclub ppp[198]: tun0: Phase: deflink: Enter pause (30) for r>

Apr 1 10:55:05 alfaclub ppp[198]: tun0: Warning: : Cannot send a netgraph mess>

Apr 1 10:55:05 alfaclub ppp[198]: tun0: Warning: deflink: Device (PPPoE:) must>

Apr 1 10:55:05 alfaclub ppp[198]: tun0: Warning: deflink: Device (de0) must be>

Apr 1 10:55:05 alfaclub ppp[198]: tun0: Phase: deflink: Enter pause (30) for r>

Device (PPPoE:) must begin with a '/', a '!' or contain at l>

Warning: deflink: Device (de0) must begin with a '/', a '!' or contain at leas>

Phase: deflink: Enter pause (30) for redialing.

Warning: : Cannot send a netgraph message: Invalid argument

Warning: deflink: Device (PPPoE:) must begin with a '/', a '!' or contain at l>

Warning: deflink: Device (de0) must begin with a '/', a '!' or contain at leas>

Phase: deflink: Enter pause (30) for redialing.

Warning: : Cannot send a netgraph message: Invalid argument

Warning: deflink: Device (PPPoE:) must begin with a '/', a '!' or contain at l>

Warning: deflink: Device (de0) must begin with a '/', a '!' or contain at leas>

Phase: deflink: Enter pause (30) for redialing.

 

 

 

Phase: deflink: Enter pause (30) for redialing.

Warning: : Cannot send a netgraph message: Invalid argument

Warning: deflink: Device (PPPoE:) must begin with a '/', a '!' or contain at least one ':'

Warning: deflink: Device (de0) must begin with a '/', a '!' or contain at leas one ':

Phase: deflink: Enter pause (30) for redialing.

 

 

немогу понять в чем дело

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.