PPPoE server porblem - forward internet
hi all I have a big problem with PPPoE server installed on freebsd 5.2.1. Authentication from incoming user conection (iwan_petkow_draganow for example) is successful, but he can't receive data from outside networks (internet). Is this a routing problem? and how i can fix this? in kernel i have: options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=10 options IPDIVERT options DUMMYNET options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_PPPOE options NETGRAPH_SOCKET That's my files: /etc/rc.conf .. gateway_enable=YES hostname=example.com defaultrouter=192.168.111.1 ifconfig_rl0=inet 192.168.111.6 netmask 255.255.255.224 ifconfig_rl1=inet 10.0.0.1 netmask 255.255.255.0 mtu 1472 #ifconfig_rl1=inet 192.168.0.1 netmask 255.255.255.0 mtu 1472 kern_securelevel=0 kern_securelevel_enable=NO linux_enable=YES #ibcs2_enable=NO #accounting_enable=YES #usbd_enable=YES firewall_enable=YES firewall_type=open firewall_quiet=NO natd_enable=NO natd_interface=rl0 #natd_flags=-redirect_address 10.0.0.10 192.168.111.2 ## PPPoEd-THE SCRIPT IS NOT WORKING AND I START PPPoE SERVER FROM /usr/local/etc/rc.d/pppoed.sh pppoed_enable=YES pppoed_flags=-d -P /var/run/pppoed.pid -a serverPPPoE -l pppoe-in pppoed_interface=rl1 #pppoed_provider=pppoe-in sendmail_enable=NO named_enable=YES sshd_enable=YES router_enable=YES /usr/local/etc/rc.d/pppoed.sh #! /bin/sh /usr/libexec/pppoed -d -a serverPPPoE -l pppoe-in rl1 /etc/ppp/ppp.conf serverPPPoE: set device PPPoE:rl1:pppoe-in enable lqr #set cd 5 #set dial #set dial #set login #ser redial 0 0 pppoe-in: #set device PPPoE:rl1:pppoe-in # za proba t.e. bez nego moje #set log All set log Chat command Connect Warning Error Alert HDLC CCP IPCP Phase TUN LQM Timer #set cd 5 set timeout 0 set mtu 1472 set mru 1472 disable deflate enable deflate24 enable vjcomp #za kompresiq allow mode direct enable lqr proxy enable proxyall deny pap disable pap enable mschap chap chap81 #set mppe set ifaddr 10.0.0.1 10.0.0.10-10.0.0.100 accept dns disable utmp #disable utmp i wtmp entr set crtscts off disable ipv6cp #we don't use ipv6, don't add default HISADDR # Add a (sticky) default route WNIMAWAJ TUKA #add default 192.168.111.1 #test path #add! 10.0.0.0/24 192.168.111.1 #test path #add! 10.0.0.0/24 192.168.0.1 #test path ##NAT nat enable yes #enable iface-alias nat addr 10.0.0.12 192.168.111.2#redirekt na local ip kym real # nat log yes nat same_ports yes nat use_sockets yes # nat unregistered_only yes # enable dns /etc/ppp/ppp.secret iwan_petkow_draganowmara10.0.0.12 Some log Files /var/log/ppp.log . Mar 28 11:44:04 shtajga ppp[521]: Phase: Using interface: tun0 Mar 28 11:44:04 shtajga ppp[521]: Phase: deflink: Created in closed state Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: set timeout 0 Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: set mtu 1472 Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: set mru 1472 Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: disable deflate Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: enable deflate24 Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: enable vjcomp Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: enable lqr proxy Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: enable proxyall Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: deny pap Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: disable pap Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: enable mschap chap cha p81 Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: set ifaddr 10.0.0.1 10 .0.0.10-10.0.0.100 Mar 28 11:44:04 shtajga ppp[521]: tun0: IPCP: Selected IP address 10.0.0.38 Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: accept dns Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: disable utmp Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: set crtscts off Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: disable ipv6cp Mar 28 11:44:04 shtajga ppp[521]: tun0: Command: pppoe-in: add default HISADDR Mar
kernel problem with freebsd 5.2RC2
hi all, make buildkernel KERNCONF=FREESBIEKERNEL -the kernel- # # FREESBIEKERNEL # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # #http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.394.2.2 2003/12/07 23:52:53 scottl Exp $ machine i386 #cpuI486_CPU cpu I586_CPU cpu I686_CPU ident FREESBIEKERNEL #To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints #Default places to look for devices. #makeoptionsDEBUG=-g#Build kernel with gdb(1) debug symbols options SCHED_4BSD #4BSD scheduler options INET#InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT#NFS usable as /, requires NFSCLIENT options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS#Pseudo-filesystem framework options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Compatible with FreeBSD4 options SCSI_DELAY=15000#Delay (in ms) before probing SCSI options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT# Print register bitfields in debug # output. Adds ~215k to driver. # Debugging for use in -current #optionsDDB #Enable the kernel debugger #optionsINVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required b y INVARIANTS #optionsWITNESS #Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN#Don't run witness on spinlocks for speed # To make an SMP kernel, the next two are needed options SMP # Symmetric MultiProcessor Kernel device apic# I/O APIC device isa device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering ## SCSI Controllers #device ahb # EISA AHA1742 family #device ahc # AHA2940 and onboard AIC7xxx devices #device ahd # AHA39320/29320 and onboard AIC79xx devices #device amd # AMD 53C974 (Tekram DC-390(T)) #device isp # Qlogic family #device mpt # LSI-Logic MPT-Fusion ##devicencr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters # #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters
arp -d -a fail on freebsd5.2 rc2
I install FreeBSD 5.2 RC1 from ISO disk 1(full vertion).The arp -d -a command not work and reboot the computer, but the command arp -d hostname work. - http://gsm.ABV.bg - ! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
5.1 make buildkernel kernconf=GEN problem
Hi all, I have a problem with DTK computer(i386). When i try to build a custom kernel an error happen: aic7xxx.c:2525:1682: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2525:1817: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2525:1924: warning: null character(s) preserved in literal /usr/src/sys/dev/aic7xxx/aic7xxx.c:2525:1924: warning: multi-line string literals are deprecated /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:244: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:251: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:259: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:266: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:293: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:300: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:307: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:329: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:354: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:361: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:385: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:407: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2535:434: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2536:1: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2536:18: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2536:33: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2536:40: warning: null character(s) preserved in literal /usr/src/sys/dev/aic7xxx/aic7xxx.c:2536:40: warning: multi-line string literals are deprecated /usr/src/sys/dev/aic7xxx/aic7xxx.c:2552:75: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:48: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:59: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:82: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:93: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:97: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:120: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:131: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:135: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:151: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:155: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:157: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:159: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:171: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:188: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:193: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:226: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:231: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:238: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:242: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:265: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:276: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:318: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:351: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:373: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:378: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:401: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:406: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:411: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:420: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:433: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:442: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:457: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:471: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:482: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:489: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:520: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:543: warning: null character(s) ignored /usr/src/sys/dev/aic7xxx/aic7xxx.c:2625:561: warning: null