Date: Sun, 5 Oct 2003 15:33:47 +0200 From: "Brunoc@quipo.it" <brunoc@quipo.it> To: <freebsd-questions@freebsd.org> Subject: Ping response: sendto: Permission denied Message-ID: <007001c38b45$4f1b4f60$c90e5e3e@computer>
next in thread | raw e-mail | index | archive | help
Hi, in the process of configuring my ppp to access some internet provider (I'm using an analog modem), at a certain point of the configuration, I want to test my network with ping,with these results: root# ping localhost PING localhost.singles.it (127.0.0.1): 56 data bytes ping: sendto: Permission denied ping: sendto: Permission denied ^C --- localhost.singles.it ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss My hostname is ciao.singles.it. # ping ciao=20 PING ciao.singles.it (10.0.0.2): 56 data bytes ping: sendto: Permission denied ping: sendto: Permission denied ^C --- ciao.singles.it ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss Somebody can help ? For your convenience,I include output from uname-a, the messages of the kernel at boot time=20 (output of the command 'dmesg') and the main configuration file /etc/rc.conf. Thank you all Bruno -------------------------------------------------------------------------= ---------------------------------------- -------------------------------------------------------------------------= ---------------------------------------- OUTPUT OF UNAME -A: FreeBSD ciao.singles.it 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Sun Mar 9 = 19:00:35 CET 2003 = root@presto.example.org:/usr/src/sys/compile/CURRENT_WINE i386 -------------------------------------------------------------------------= ---------------------------------------- THE MESSAGES OF THE KERNEL AT BOOT TIME (OUTPUT OF 'DMESG') Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.2-RELEASE #0: Sun Mar 9 19:00:35 CET 2003 root@presto.example.org:/usr/src/sys/compile/CURRENT_WINE Timecounter "i8254" frequency 1193182 Hz CPU: AMD Duron(tm) Processor (701.25-MHz 686-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x631 Stepping =3D 1 = Features=3D0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,= CMOV,PAT,PSE36,MMX,FXSR> AMD Features=3D0xc0440000<<b18>,AMIE,DSP,3DNow!> real memory =3D 268435456 (262144K bytes) avail memory =3D 257523712 (251488K bytes) Preloaded elf kernel "kernel" at 0xc03cc000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: <math processor> on motherboard npx0: INT 16 interface pcib0: <Host to PCI bridge> on motherboard pci0: <PCI bus> on pcib0 pcib1: <PCI to PCI bridge (vendor=3D1106 device=3D8305)> at device 1.0 = on pci0 pci1: <PCI bus> on pcib1 pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 3 rl0: <RealTek 8139 10/100BaseTX> port 0x1800-0x18ff mem = 0x44000000-0x440000ff irq 3 at device 3.0 on pci0 rl0: Ethernet address: 00:06:4f:01:a1:d1 miibus0: <MII bus> on rl0 rlphy0: <RealTek internal media interface> on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci0: <unknown card> (vendor=3D0x14f1, dev=3D0x1033) at 4.0 irq 10 isab0: <VIA 82C686 PCI-ISA bridge> at device 20.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <VIA 82C686 ATA66 controller> port 0x1440-0x144f at device 20.1 = on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0x1400-0x141f irq 11 at device = 20.2 on pci0 usb0: <VIA 83C572 USB controller> on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: <VIA 83C572 USB controller> port 0x1420-0x143f irq 11 at device = 20.3 on pci0 usb1: <VIA 83C572 USB controller> on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ulpt0: Canon S100, rev 1.00/1.00, addr 2, iclass 7/1 chip1: <VIA 82C686 ACPI interface> at device 20.4 on pci0 pcm0: <VIA VT82C686A AC'97 Audio> port = 0x145c-0x145f,0x1458-0x145b,0x1000-0x10ff irq 10 at device 20.5 on pci0 fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on = isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 sc0: <System console> at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold plip0: <PLIP network interface> on ppbus0 lpt0: <Printer> on ppbus0 lpt0: Interrupt-driven port ppi0: <Parallel I/O> on ppbus0 joy0 at port 0x201 on isa0 IP packet filtering initialized, divert disabled, rule-based forwarding = disabled, default to deny, logging disabled ad0: 29198MB <SAMSUNG SV3063H> [59323/16/63] at ata0-master UDMA66 ata1-master: DMA limited to UDMA33, non-ATA66 compliant cable ad2: 39083MB <Maxtor 4D040H2> [79408/16/63] at ata1-master UDMA33 ad3: 2103MB <CASTLEWOOD ORB2-E> [4273/16/63] at ata1-slave WDMA2 Mounting root from ufs:/dev/ad2s1a ad2s2: rejecting partition in BSD label: it isn't entirely within the = slice ad2s2: start 61432560, end 80043263, size 18610704 ad2s2d: start 0, end 80043263, size 80043264 -------------------------------------------------------------------------= ---------------------------------------- AND THE MAIN CONFIGURATION FILE /ETC/RC.CONF # This file now contains just the overrides from /etc/defaults/rc.conf # please make all changes to this file. # hostname=3D"ciao.singles.it" # Set this! firewall_enable=3D"NO" # Set to YES to enable firewall = functionality firewall_type=3D"client" # Firewall type (see /etc/rc.firewall) firewall_script=3D"/etc/rc.firewall" # Which script to run to set up the = firewall firewall_quiet=3D"NO" # Set to YES to suppress rule display firewall_logging=3D"YES" # Set to YES to enable events logging firewall_flags=3D"" # Flags passed to ipfw when type is a = file natd_enable=3D"NO" # Enable natd (if firewall_enable = =3D=3D YES). natd_interface=3D"tun0" # Public interface or IPaddress to = use. # # Network Time Services options: ntpdate_enable=3D"YES" ntpdate_flags=3D"ntps1-0.uni-erlangen.de" xntpd_enable=3D"YES" # Run ntpd Network Time Protocol (or = NO). #xntpd_program=3D"ntpd" # path to ntpd, if you want a = different one. xntpd_flags=3D"-p /var/run/ntpd.pid" # Flags to ntpd (if enabled). # dumpdev=3D/dev/ad0s1b # Device name to crashdump to (or NO). # clear_tmp_enable=3D"YES" # Clear /tmp at startup.=20 # Disable the router program, due to ppp configuration (see the = handbook) #router_enable=3D"NO" # # Enable network daemons for user convenience. network_interfaces=3D"sl0 lo0 rl0" # List of network interfaces (or = "auto"). ifconfig_lo0=3D"inet 127.0.0.1" # default loopback device = configuration. #ifconfig_rl0=3D"inet 212.216.112.112 212.216.172.62 netmask = 255.255.255.0" =20 ifconfig_rl0=3D"inet 10.0.0.2 netmask 255.255.255.0" # If you have any sppp(4) interfaces above, you might also want to set # the following parameters. Refer to spppcontrol(8) for their meaning. sppp_interfaces=3D"ugen0" # example: sppp over ISDN spppconfig_ugen0=3D"authproto=3Dchap myauthname=3Dxxx = myauthsecret=3Dyyyy hisauthname=3Dsome-gw hisauthsecret=3D'another = secret'" ### ISDN interface options: ### isdn_enable=3D"NO" # Enable the ISDN subsystem (or NO). isdn_fsdev=3D"/dev/ttyv4" # Output device for fullscreen mode (or NO = for daemon mode). isdn_flags=3D"-dn -d0x1f9" # Flags for isdnd isdn_trace=3D"NO" # Enable the ISDN trace subsystem (or NO). isdn_traceflags=3D"-f /var/tmp/isdntrace0" # Flags for isdntrace # -- sysinstall generated deltas -- # moused_enable=3D"YES" moused_flags=3D"" linux_enable=3D"YES" sendmail_enable=3D"YES" sendmail_flags=3D"-bd -q30m" # Flags to sendmail (if enabled) saver=3D"logo" font8x8=3D"iso-8x8" font8x14=3D"iso-8x14" font8x16=3D"iso-8x16" keymap=3D"it.iso" sshd_enable=3D"YES" portmap_enable=3D"YES" nfs_server_enable=3D"YES" nfs_client_enable=3D"YES" inetd_enable=3D"YES" usbd_enable=3D"YES" usbd_flags=3D"" # Flags to usbd (if enabled). nfs_reserved_port_only=3D"YES" accounting_enable=3D"YES" apm_enable=3D"YES" firewall=3D"open" # ### Network routing options: ### router_enable=3D"NO" defaultrouter=3D"10.0.0.2" static_routes=3D"" # Set to static route list (or leave = empty). #rand_irqs=3D"5 11" # Stir the entropy pool (like "5 11" or = NO). kern_securelevel_enable=3D"NO" # kernel security level (see init(8)), kern_securelevel=3D"-1" # range: -1..3 ; `-1' is the most insecure # User ppp configuration. ppp_enable=3D"YES" # Start user-ppp (or NO). ppp_mode=3D"auto" # Choice of "auto", "ddial", "direct" or "dedicated". # For details see man page for ppp(8). Default is auto. ppp_nat=3D"YES" # Use PPP's internal network address translation or NO. ppp_profile=3D"papchap" # Which profile to use from /etc/ppp/ppp.conf. ppp_user=3D"root" # Which user to run ppp as --- [Quipo ISP - Questa E-mail e' stata controllata dal programma Declude Virus] [Quipo ISP - This E-mail was scanned for viruses by Declude Virus]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007001c38b45$4f1b4f60$c90e5e3e>