Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why ppp keeps droping the connection to the internet

Status
Not open for further replies.

Sina

Technical User
Jan 2, 2001
309
CA
Hello every one.

I have freeBSD 4.62 configured and connected to the net and the server acts as gateway and routes packets for internet sharing also.

it runs fine, but from time to time, specially if I start to download files from a windows machine (which is going through a hub to the bsd box) the ppp line drops connection.

Can you help.

these are the messages I get on the console
Oct 21 23:34:53 Sherlock sshd[165]: error: Bind to port 22 on :: failed: Address already in use.
Oct 21 23:34:53 Sherlock sshd[165]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Oct 21 23:34:53 Sherlock sshd[165]: fatal: Cannot bind all addresses.
Oct 21 23:34:59 Sherlock login: ROOT LOGIN (root) ON ttyv0
Oct 21 23:45:26 Sherlock /kernel: pid 89 (ppp), uid 0: exited on signal 10 (core dumped)
Oct 21 23:46:42 Sherlock ppp[271]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Oct 21 23:47:24 Sherlock /kernel: pid 271 (ppp), uid 0: exited on signal 10 (core dumped)
Oct 21 23:47:45 Sherlock ppp[273]: tun0: Warning: deflink: Reducing configured MRU from 1500 to 1492
Oct 21 23:51:19 Sherlock login: ROOT LOGIN (root) ON ttyv1



Why do I get the pid error above, every time I get that error that means the connection is droped.

here is how i connect.

here is the content of my rc.conf file.

# Created: Fri Oct 18 18:26:38 2002
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
ifconfig_xl0="inet 192.168.1.100 netmask 255.255.255.0"
#inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
#nfs_client_enable="YES"
#nfs_reserved_port_only="YES"
#nfs_server_enable="YES"
sendmail_enable="NO"
sshd_enable="YES"
#usbd_enable="YES"
# -- sysinstall generated deltas -- # Fri Oct 18 18:35:50 2002
#ipfilter_enable="YES"
#ipnat_enable="YES"
gateway_enable="YES"
#If you need to enable the gateway without rebooting:
sysctl -w net.inet.ip.forwarding=1
ppp -nat -ddial sympatico

#For Security
syslogd_enable="YES"
#icmp_drop_redirect="YES"
##icmp_log_redirect="YES"
#clear_tmp_enable="YES"
#portmap_enable="NO"
#icmp_bmcastecho="NO"
#fsck_y_enable="YES"
update_motd="NO"
#ntp_enable="YES"
#ntp_flags="-s"
#tcp_drop_synfin="YES"
#log_in_vain="YES"

Any idea?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top