[leaf-user] Generator and parser
Hi, Has anyone come across / used a XHTML Parser generator tool in Opensource community developed in C ? Do Kindly post the link / tool name . I saw Amaya but it is big and will consume time to get just the XHTML Parser / Generator from it. 1) GENX is XML Parser and No XHTML Parser / Generator tool developed using GENX by GENX till now. 2) EXPAT doesnt provide a opensource XHTML Parser / Generator till today. 3) X-Smiles is simple and good but Java Based . 4) LibXml is also a library and no XHTML parser / Generator Tool by them in opensource till today. Has Someone got a simple setup with just the XHTML Parser and Generator alone developed in C available in OpenSource or A tool Develped Using the above library tools ? Kindly let me know And Do Give me your link. Thanks & Regards, karthik bala guru __ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] Bering 1.2 Dnscache: Querylog versus Forward Only
Erich, Thanks very much! The cr.yp.to site is a gold mine. Thanks for saving me (apparently) from Bind! After perusing the site and reading some of the scripts on Bering, I set /etc/dnscache/env/QUERYLOG to YES, expecting to find /var/log/dnscache containign logs of DNS queries. But no such directory was created, although the script /etc/init.d/dnscache seems to do that. Maybe a bug somewhere? Rick. -Original Message- From: Erich Titl [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 2:56 PM To: Tibbs, Richard; [EMAIL PROTECTED] Subject: RE: [leaf-user] Bering 1.2 Dnscache: Querylog versus Forward Only Rick At 15:12 30.06.2004, Tibbs, Richard wrote: >Thanks Erich.. > >>What is meant by "Dnscache log on" exactly? Is this a > >>server-to-server or a client-server transaction? (Also, it seems the > >>default is actually YES rather than NO.) > >I guess its meaning is _dnscache_log_on_ > But... What does dnscache log on to? ;-) >It would be nice to know what is going on in non-forwarding mode. dnscache is part of djbdns. The way djb marks his presence on the net it must do something useful. see http://cr.yp.to/djbdns.html from http://cr.yp.to/djbdns/dnscache-conf.html . dnscache-conf creates an automatically rotated log directory in D/log/main. The logs are owned by logacct. The corresponding multilog processes run under the uid and gid of logacct. The name logacct must not contain any special characters. Mhhh everybody has the right to write his own logging facility. cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
FW: [leaf-user] Update: USB on Bering 1.2
Forgot to also send this to the list. -Original Message- From: Tibbs, Richard Sent: Thursday, July 01, 2004 8:34 AM To: 'Erich Titl' Subject: RE: [leaf-user] Update: USB on Bering 1.2 Well, I loaded mii.o, but I can't find crc32.o for Bering 1.2 An lsmod shows mii.o unused, so I am not sure (since the modules.dep was for 2.4.24 and Bering 1.2 is 2.4.20, right?) what is going on. Has anyone on the list had a successful use of usbnet.o with Bering 1.2? # lsmod Module PagesUsed by usbnet 9404 0 (unused) usb-uhci 21376 0 (unused) usbcore55616 0 [usbnet usb-uhci] ip_nat_irc 2176 0 (unused) ip_nat_ftp 2784 0 (unused) ip_conntrack_irc2880 1 ip_conntrack_ftp3648 1 3c59x 25104 2 mii 2092 0 (unused) isofs 17032 0 ide-probe-mod 8476 0 ide-cd 26956 0 ide-mod63076 0 [ide-probe-mod ide-cd] cdrom 26912 0 [ide-cd] Dmesg tail is the same: usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 19:02:19 May 11 2003 usb-uhci.c: High bandwidth mode enabled PCI: Found IRQ 11 for device 00:1f.2 PCI: Setting latency timer of device 00:1f.2 to 64 usb-uhci.c: USB UHCI at I/O 0xff80, IRQ 11 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 9 for device 00:1f.4 PCI: Setting latency timer of device 00:1f.4 to 64 usb-uhci.c: USB UHCI at I/O 0xff60, IRQ 9 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver usbnet hub.c: new USB device 00:1f.2-1, assigned address 2 usb.c: USB device 2 (vend/prod 0x77b/0x2226) is not claimed by any active driver -Original Message- From: Erich Titl [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 30, 2004 5:22 PM To: Tibbs, Richard; [EMAIL PROTECTED] Subject: Re: [leaf-user] Update: USB on Bering 1.2 Rick At 21:04 30.06.2004, Tibbs, Richard wrote: >New information: I fiddled around and added usb-uhci.o and got more >signs of life, but still no usb0 interface. Dmesg output appended below > >I am trying a Linksys USB200M on a Dell Optiplex GX150. >In modules I am loading >usbcore >usb-uhci >usbnet > >With the .o's from J. Nilos download page. > >In etc/interfaces I have >auto usb0 >iface usb0 > address 192.168.1.15 > masklen 24 > broadcast 192.168.1.255 > >After login as root, if I issue an "ip addr sho" command, I get >loopback, dummy, eth0 and eth1 as usual, but no usb0 > >A ps-A shows that khubd is running. Dmsesg shows three registered >drivers: usbdevfs,hub and usbnet. Shorwall/interaces has usb0 as a >local zone. > >In the Dell bios I have tried several combinations of with and without >usb emulation plus usb controller on. > >What am I doing wrong here? look into the modules.dep file /lib/modules/2.4.24/kernel/drivers/usb/usbnet.o: /lib/modules/2.4.24/kernel/lib/crc32.o \ /lib/modules/2.4.24/kernel/drivers/usb/usbcore.o \ /lib/modules/2.4.24/kernel/drivers/net/mii.o HTH Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
RE: [leaf-user] Bering 1.2 Dnscache: Querylog versus Forward Only
Rick At 09:06 01.07.2004 -0400, Tibbs, Richard wrote: >Erich, >Thanks very much! >The cr.yp.to site is a gold mine. Thanks for saving me (apparently) from Bind! Well, personally I am a bit reserved to people announcing their merits _that_ way, but then... he may be right. >After perusing the site and reading some of the scripts on Bering, I set >/etc/dnscache/env/QUERYLOG to YES, expecting to find /var/log/dnscache containign >logs of DNS queries. But no such directory was created, although the script >/etc/init.d/dnscache seems to do that. > >Maybe a bug somewhere? I guess you are missing the multilog process which is created by the dnscache config program (and possibly its corresponding user) cheers Erich THINK Püntenstrasse 39 8143 Stallikon mailto:[EMAIL PROTECTED] PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] login and password - CR,LF & DOS2Unix
Sorry to KP for originally sending my reply only to him ... pesky reply-to setting of this LEAF list :/(yes, I know...) K.-P. Kirchdörfer wrote: If you can edit leaf.cfg with a decent editor (not adding CR/LF) like notepad, I was curious about this because my recollection was that notepad didn't handle -only files very well and I made these observations (I'm running XP Pro SP-1 and the notepad program that comes with). When I described below how I opened any file I had, in advance, removed all with the DOS2Unix proggie. A hex-viewing of the files confirmed that DOS2UNIX was doing what I expected... - notepad displays the as a box-like character and doesn't start each line on a new line like one would expect - one is presented with a continuous stream (line) of characters - in a file of 5 lines with each line having only 1 character (hey, I was just quickie testing) plus the I was presented with 5 box-characters and no single-char-per-line characters that I had therein?!?! - in a file with multiple blank lines at the top I was also presented with a stream of box-chars but no single-char-per-line chars - if one has multiple lines in the notepad doc and one saves it, then one gets the end-of-line action - at one time I had opened & saved a file with notepad (making no changes to the file) and notepad had prepended two chars to the file - 0xFE & 0xFF So if I may, I'd probably not suggest use of notepad to people as it doesn't play nicely with -only files. I am guessing that it looks at the first 1 or 2 chars of a file and makes some determination about the filetype, and doesn't recognize -only-delineated files very well. My suggestion is for people to edit any files to their heart's content with their editor of choice and when done, run the DOS2UNIX utility which strips the chars. It works under pure DOS as well as a DOS box under XP (and I would expect 9x, ME, 2K, NT as well). It can be d/l from: http://gatekeeper.dec.com/pub/micro/pc/simtelnet/msdos/txtutl/dos2unix.zip Thanks for LEAF! scott; canada --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] login and password - CR,LF & DOS2Unix
Thx for suggestion; I will add it to the docs. kp Am Donnerstag, 1. Juli 2004 16:59 schrieb freeman groups: > Sorry to KP for originally sending my reply only to him ... pesky > reply-to setting of this LEAF list :/(yes, I know...) > > K.-P. Kirchdörfer wrote: > >If you can edit leaf.cfg with a decent editor (not adding CR/LF) like > > notepad, > > I was curious about this because my recollection was that notepad didn't > handle -only files very well and I made these observations (I'm > running XP Pro SP-1 and the notepad program that comes with). When I > described below how I opened any file I had, in advance, removed all > with the DOS2Unix proggie. A hex-viewing of the files confirmed > that DOS2UNIX was doing what I expected... > > - notepad displays the as a box-like character and doesn't start > each line on a new line like one would expect - one is presented with a > continuous stream (line) of characters > - in a file of 5 lines with each line having only 1 character (hey, I > was just quickie testing) plus the I was presented with 5 > box-characters and no single-char-per-line characters that I had > therein?!?! - in a file with multiple blank lines at the top I was also > presented with a stream of box-chars but no single-char-per-line chars > - if one has multiple lines in the notepad doc and one saves it, then > one gets the end-of-line action > - at one time I had opened & saved a file with notepad (making no > changes to the file) and notepad had prepended two chars to > the file - 0xFE & 0xFF > > So if I may, I'd probably not suggest use of notepad to people as it > doesn't play nicely with -only files. I am guessing that it looks at > the first 1 or 2 chars of a file and makes some determination about the > filetype, and doesn't recognize -only-delineated files very well. > > My suggestion is for people to edit any files to their heart's content > with their editor of choice and when done, run the DOS2UNIX utility > which strips the chars. It works under pure DOS as well as a DOS > box under XP (and I would expect 9x, ME, 2K, NT as well). It can be d/l > from: > http://gatekeeper.dec.com/pub/micro/pc/simtelnet/msdos/txtutl/dos2unix.zip > > Thanks for LEAF! > > scott; canada > > > > > --- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > > leaf-user mailing list: [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/leaf-user > SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
[leaf-user] Please be kind to the Newbie!!
Hi everyone, I was trying to setup a very simple firewall and then build up from there. I am using Bering uClibc 2.1.2 my setup is a cable modem with a static IP (I actually have 5 ip's but i'm trying to keep it simple to start) going to the firewall in the first nic port, then from the firewall's second nic port to a switch (because i don't own a crossover cable), then to a laptop. I have been messing around with Network configurations: interfaces file. From step 1 I have tried to setup option 1.2 but i don't understand the settings completely since they look a little different from my standard Linksys router. What do I fill in for address, broadcast, and gateway? My Isp gave me a subnet mask of 255.255.255.248 with my static ips. I used to input dns1 and dns2 in my Linksys Router, do i still have to do this? Then for step 2 I left it alone (default settings looked ok to me) for eth 1. I thought i would first try to get on the internet with the laptop but it doesn't get to the internet. Is there a simple setting I need to change to fix this? I don't even know if the nics are talking to the LEAF? How do I know which is Eth1 and Eth0? Is there a way to determine if leaf has installed the nic cards properly or at all? I didn't load any special drivers because it looked like maybe they will work if the nics are common enough. I haven't messed with anything else in the system. do i need to change some settings in shorewall in order for the laptop to access the internet? Then of course there are the laptop settings, I am running Windows XP Pro. I have given it the following fixed ip settings: ip address: 192.168.1.5 seb net mask: 255.255.255.0 default gateway: 192.168.1.1 DNS1 and DNS2: the supplied info from my ISP btw, how do I change the login and password when LEAF boots up? Please be kind to the noob, I really want to learn this and I really appreciate all the detail and over-simplification you can stand to type. I know a very little about Routing, less about firewalls, and absolutely nothing about Linux. I have been sucking on the Microsoft tit forever. Thank you in advance, Andrew The best thing to hit the Internet in years - Juno SpeedBand! Surf the Web up to FIVE TIMES FASTER! Only $14.95/ month - visit www.juno.com to sign up today! --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Re: uClibc hdsupp: syslinux error; plus doco errors
On Mon, 2004-06-28 at 16:28, Eric House wrote: > > > I'd guess that there's something wrong with fat12 support in the > > > hdsupp package. Any ideas or suggestions? There seems indeed to be something fundamentally wrong... I tried to configure a new Bering-uClib 2.2.0-beta4 on a DiskOnChip this evening, and have now almost no hair left... Besides from hanging (or simply freezing) until a timeout occurs during the boot, when backing up to the DoC I experienced several times that the umount did not return... I can see it hanging there right now in the ps output: 29389 root260 D umount /var/lib/lrpkg/mnt indefinitely! Trying to kill the umount does of course not succeed. The only solution is to reboot (reset button or power-cycle, the reboot command does not work). I have no clue at all which is to blame: the drivers, fdisk, mkfs.msdos or syslinux or other. But I do know this is very annoying! I'm not aware of the same problem in 2.1.2. Didn't try it out yet though, because I would like to get it going with 2.2.0. If I can help in any way to get it sorted out, I'll be glad to! I'm available for testing any suggestions. Robert --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Please be kind to the Newbie!!
Replies interspersed. At 09:50 PM 7/1/2004 +, [EMAIL PROTECTED] wrote: Hi everyone, I was trying to setup a very simple firewall and then build up from there. I am using Bering uClibc 2.1.2 my setup is a cable modem with a static IP (I actually have 5 ip's but i'm trying to keep it simple to start) going to the firewall in the first nic port, then from the firewall's second nic port to a switch (because i don't own a crossover cable), I don't quite understand this physical description. The LEAF router's external interface needs to connect to the cable modem, either directly or through a switch. Offhand, I think a direct connection, in this instance, does NOT use a crossover cable, but a connection of a cable modem to a switch requires either a crossover cable or an "uplink" port on the switch ... but that may vary. (My actual experience is with DSL modems, which do work this way.) The LEAF router's internal interface should connect either to a normal (not "uplink") port on a switch or hub, using a regular cable, -OR- directly to another host using a crossover cable. Using a switch or hub is better, because sometimes NIN-to-NIC connections have trouble settling on a data rate, and you have enough to worry about without adding that uncertainty. then to a laptop. I have been messing around with Network configurations: interfaces file. From step 1 I have tried to setup option 1.2 but i don't understand the settings completely since they look a little different from my standard Linksys router. What do I fill in for address, broadcast, and gateway? My Isp gave me a subnet mask of 255.255.255.248 Address = the IP address you want the external interface (the one you'll connect to the cable modem, either directly or through a switch) to listen on. For now, call it a.b.c.d. Broadcast = depends a bit on the address, since the netmask ends in .248. In practice, a.b.c.255 will usually work. For the excat value, see the parenthetical in the next item. Gateway = the IP address of the ISP's router (at the other end of the cable-modem link). Your ISP should have provided you with this. Exact practice varies, but in your situation ( 5 static IP addresses), it is usually the one remaining unused address of the block of 8 (where the lowest is the network address, the highest the real broadcast address, and you are using 5 of the 6 intermediate addresses). For example, if your address range were a.b.c.2-6, your values would be: network: a.b.c.0 gateway: a.b.c.1 broadcast: a.b.c.7 I'm actually a bit puzzled as to how you got your Linksys to work without knowing all of this part.The small routers I've set up, from D-LInk and netgear, require this info for a static-address connection. with my static ips. I used to input dns1 and dns2 in my Linksys Router, do i still have to do this? Yes. Exactly how depends on how your LAN clients do DNS. If your LAN clients use the ISP's nameservers directly, you only need to tell the LEAF router itself to use them too; do this by adding them to /etc/resolv.conf . If the LAN clients expect to use the LEAF router as a forwarder, you'll need to configure dnscache to use them; someone else will have to explain that part, since I don't use it. Then for step 2 I left it alone (default settings looked ok to me) for eth 1. I thought i would first try to get on the internet with the laptop but it doesn't get to the internet. Is there a simple setting I need to change to fix this? Who knows? To answer that, we would need a much more complete description of the setup. Refer to the SR FAQ -- referenced at the end of all list e-mails -- to see what we need. You also need to be more specific than " it doesn't get to the internet". What do you actually try and how does it fail? (Quote any error messages exactly.) Finally, it would help if you did some intermediate tests, like ... can the WinXP host ping the LEAF router? can the WinXP host ping the ISP's default gateway? can the WinXP host ping the DNS servers? can the WinXP host ping a known-good Internet address? can the LEAF router ping the WinXP host? can the LEAF router ping the ISP's default gateway? can the LEAF router ping the DNS servers? can the LEAF router ping a known-good Internet address? In any case that is a NO, your report to us should include the failure message that ping reports back (there are 4 or more of these for Linux ping, and they are diagnostic). I don't even know if the nics are talking to the LEAF? How do I know which is Eth1 and Eth0? Is there a way to determine if leaf has installed the nic cards properly or at all? I didn't load any special drivers because it looked like maybe they will work if the nics are common enough. Next time, please tell us what makes and models of NICs you are using. Some wook out of the box, while others require add-in modules we can't guess which
Re: [leaf-user] Please be kind to the Newbie!!
First of all Ray, Thank you s much. I appreciate your help. I don't quite understand this physical description. The LEAF router's external interface needs to connect to the cable modem, either directly or through a switch. Offhand, I think a direct connection, in this instance, does NOT use a crossover cable, but a connection of a cable modem to a switch requires either a crossover cable or an "uplink" port on the switch ... but that may vary. (My actual experience is with DSL modems, which do work this way.) The LEAF router's internal interface should connect either to a normal (not "uplink") port on a switch or hub, using a regular cable, -OR- directly to another host using a crossover cable. Using a switch or hub is better, because sometimes NIN-to-NIC connections have trouble settling on a data rate, and you have enough to worry about without adding that uncertainty. Ok, I did a poor job in explaining my setup. I think I have it setup the way you just mentioned. >From my cable modem I have a normal cat5 cable going into one of two nic cards on my >firewall. Not sure if it is eth0 or eth1 (as defined by LEAF). Then, from the second of two nic cards on my firewall I have a normal cat5 cable running to a Linksys SD208 switch. This switch automatically does crossover when needed. >From the switch, I have a normal cat5 cable running to my laptop. I would have run a >crossover cable from the firewall to the laptop but I don't have one yet. It sounds like my current setup is fine anyway. I hope that is clearer. Address = the IP address you want the external interface (the one you'll connect to the cable modem, either directly or through a switch) to listen on. For now, call it a.b.c.d. Broadcast = depends a bit on the address, since the netmask ends in .248. In practice, a.b.c.255 will usually work. For the excat value, see the parenthetical in the next item. Gateway = the IP address of the ISP's router (at the other end of the cable-modem link). Your ISP should have provided you with this. Exact practice varies, but in your situation ( 5 static IP addresses), it is usually the one remaining unused address of the block of 8 (where the lowest is the network address, the highest the real broadcast address, and you are using 5 of the 6 intermediate addresses). For example, if your address range were a.b.c.2-6, your values would be: network: a.b.c.0 gateway: a.b.c.1 broadcast: a.b.c.7 I'm actually a bit puzzled as to how you got your Linksys to work without knowing all of this part.The small routers I've set up, from D-LInk and netgear, require this info for a static-address connection. My ISP gave me 24.224.166.194 through 24.224.166.198 for the 5 static IP's My Isp gave me a subnet mask of 255.255.255.248 My Isp gave me a default gateway address of 24.224.166.193 So tell me if this looks right: address: 24.224.166.196 netmask: 255.255.255.248 broadcast: 24.224.166.255 gateway: 24.224.166.193 The only thing I'm not sure about is the broadcast entry (the 255 part). I don't htink I ever had this particular info on my Linksys router. If your LAN clients use the ISP's nameservers directly, you only need to tell the LEAF router itself to use them too; do this by adding them to /etc/resolv.conf . If the LAN clients expect to use the LEAF router as a forwarder, you'll need to configure dnscache to use them; someone else will have to explain that part, since I don't use it. I'll try the first DNS thing you mentioned. That seemed easy enough to change. Then for step 2 I left it alone (default settings looked ok to me) for eth 1. I thought i would first try to get on the internet with the laptop but it doesn't get to the internet. Is there a simple setting I need to change to fix this? Who knows? To answer that, we would need a much more complete description of the setup. Refer to the SR FAQ -- referenced at the end of all list e-mails -- to see what we need. You also need to be more specific than " it doesn't get to the internet". What do you actually try and how does it fail? (Quote any error messages exactly.) What I try is opening Microsoft Internet Explorer and wait for the homepage to load. When it fails to load it shows a standard error page saying "The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings." Finally, it would help if you did some intermediate tests, like ... can the WinXP host ping the LEAF router? can the WinXP host ping the ISP's default gateway? can the WinXP host ping the DNS servers? can the WinXP host ping a known-good Internet address? All pinging from laptop (winxp) timed out with 100% loss can the LEAF router ping the WinXP host? can the LEAF router ping the ISP
Re: [leaf-user] Please be kind to the Newbie!!
At 01:21 AM 7/2/2004 +, [EMAIL PROTECTED] wrote: First of all Ray, Thank you s much. I appreciate your help. That's what we're here for. I'm trimming out most of your reply, to get to the parts that identify your problem more quickly. I'm writing all of this from memory. I don't have a working Bering system of any flavor at hand to check against, so there's a risk I'm giving you advice that is incorrect in some details ... most likely some quirk peculiar to Bering that makes it a bit different from stock Linux. Someone running Bering should read this through to spot and correct any blatant stupidities I commit. [...] My ISP gave me 24.224.166.194 through 24.224.166.198 for the 5 static IP's My Isp gave me a subnet mask of 255.255.255.248 My Isp gave me a default gateway address of 24.224.166.193 So tell me if this looks right: address: 24.224.166.196 netmask: 255.255.255.248 broadcast: 24.224.166.255 gateway: 24.224.166.193 The only thing I'm not sure about is the broadcast entry (the 255 part). I don't htink I ever had this particular info on my Linksys router. If you supply an address and a netmask, that should let a device compute the broadcast address. I'm not sure why Linux configurations routinely ask for it separately. In any case, the one you've set should work. A better one, consistent with your /29 (.248) network, would be 24.224.166.199. This isn't your immediate problem, however. Moving on ... [...] can the LEAF router ping the WinXP host? can the LEAF router ping the ISP's default gateway? can the LEAF router ping the DNS servers? can the LEAF router ping a known-good Internet address? all pinging results: ping: sendto: Network is unreachable Translated: the router does not have a route to the network that the requested host is on. Why not? see next item. Next time, please tell us what makes and models of NICs you are using. Some wook out of the box, while others require add-in modules we can't guess which kind you have, and as a beginner, you shouldn't be guessing on your own. The nic that is connected to the cable modem is a [Realtek RTL8139 Family PCI Fast Ethernet NIC] The nic that is connected to the switch (which goes to the laptop) is a [Realtek RTL8029(AS) based Ethernet Adaptor (Generic)] Th info in the [...] is exactly what windows XP calls the cards when xp is running. And this is your problem. The Bering kernel internally supports only a few of the most common NIC types used in routers, and I believe the two RealTeks are NOT on the built-in list of supported ones. You'll need to add modules. For the external NIC, there is an rtl8139.o kernel module you can add. There is also an 8139too.o module. I forget which of these Bering-uClibc uses. For the internal NIC, I'm not certain ... there is not a module specific to it. I **think** the ne2k-pci module supports this one, but I'm not sure. Perhaps someone else can jump in here? So, get the modules appropriate to the kernel you are running (probably 2.4.26, from what I see on the project's Downloads list), add them to your LEAF floppy, and put their names in /etc/modules. The Installation Guide provides the details (http://leaf.sourceforge.net/doc/guide/biaddrm.html). The order of the modules in this file will dictate which NIC is assigned eth0, which eth1 (first come, first served). Check what interfaces have been created with the command ip link show It will also tell you if they have been initialized (that is, assigned IP addresses). ip link show results::: 1: lo: mtu 16436 qdisc noop link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: dummy0: mtu 1500 qdisc noop link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff Since the interfaces were not created, they are not initialized, and the routing table doesn't get routes assigned ... hence the ping error above. [...] I have a new question. Does it matter if I am logged into the firewall (LEAF Configuation Menu on the screen) or not logged in (Firewall# prompt on the screen) for the firewall to operate properlly when I have all the settings correct? No. Do I have to reboot after I make and backup system changes for them to be in effect? No. --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
Re: [leaf-user] Please be kind to the Newbie!!
On Fri, 2004-07-02 at 07:57, Ray Olszewski wrote: > At 01:21 AM 7/2/2004 +, [EMAIL PROTECTED] wrote: > > >First of all Ray, Thank you s much. I appreciate your help. > > That's what we're here for. I'm trimming out most of your reply, to get to > the parts that identify your problem more quickly. > > I'm writing all of this from memory. I don't have a working Bering system > of any flavor at hand to check against, so there's a risk I'm giving you > advice that is incorrect in some details ... most likely some quirk > peculiar to Bering that makes it a bit different from stock Linux. Someone > running Bering should read this through to spot and correct any blatant > stupidities I commit. > > [...] > >My ISP gave me 24.224.166.194 through 24.224.166.198 for the 5 static IP's > >My Isp gave me a subnet mask of 255.255.255.248 > >My Isp gave me a default gateway address of 24.224.166.193 > > > >So tell me if this looks right: > > address: 24.224.166.196 > > netmask: 255.255.255.248 > > broadcast: 24.224.166.255 > > gateway: 24.224.166.193 > >The only thing I'm not sure about is the broadcast entry (the 255 > >part). I don't htink I ever had this particular info on my Linksys router. > > If you supply an address and a netmask, that should let a device compute > the broadcast address. I'm not sure why Linux configurations routinely ask > for it separately. In any case, the one you've set should work. A better > one, consistent with your /29 (.248) network, would be 24.224.166.199. > > This isn't your immediate problem, however. Moving on ... > [...] > > can the LEAF router ping the WinXP host? > > can the LEAF router ping the ISP's default gateway? > > can the LEAF router ping the DNS servers? > > can the LEAF router ping a known-good Internet address? > > > >all pinging results: > > ping: sendto: Network is unreachable > > Translated: the router does not have a route to the network that the > requested host is on. Why not? see next item. > > >Next time, please tell us what makes and models of NICs you are using. > >Some wook out of the box, while others require add-in modules we > >can't guess which kind you have, and as a beginner, you shouldn't be > >guessing on your own. > >The nic that is connected to the cable modem is a [Realtek RTL8139 Family > >PCI Fast Ethernet NIC] > >The nic that is connected to the switch (which goes to the laptop) is a > >[Realtek RTL8029(AS) based Ethernet Adaptor (Generic)] > >Th info in the [...] is exactly what windows XP calls the cards when xp is > >running. > > And this is your problem. The Bering kernel internally supports only a few > of the most common NIC types used in routers, and I believe the two > RealTeks are NOT on the built-in list of supported ones. You'll need to add > modules. > > For the external NIC, there is an rtl8139.o kernel module you can add. > There is also an 8139too.o module. I forget which of these Bering-uClibc uses. > > For the internal NIC, I'm not certain ... there is not a module specific to > it. I **think** the ne2k-pci module supports this one, but I'm not sure. > Perhaps someone else can jump in here? I have used maybe variants of rtl chips both onboard and pci. and unless it's old i'v found that the 8139too.o module workes. so try that first. also keep in mind that the 8139too.o module depends on the crc32.0 and mii.o module so copy over those too. and remember to uncomment them in the modules config > So, get the modules appropriate to the kernel you are running (probably > 2.4.26, from what I see on the project's Downloads list), add them to your > LEAF floppy, and put their names in /etc/modules. The Installation Guide > provides the details (http://leaf.sourceforge.net/doc/guide/biaddrm.html). > The order of the modules in this file will dictate which NIC is assigned > eth0, which eth1 (first come, first served). > > > >Check what interfaces have been created with the command > > > > > > ip link show > > > >It will also tell you if they have been initialized (that is, assigned IP > >addresses). > > > >ip link show results::: > > > >1: lo: mtu 16436 qdisc noop > > link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 > >2: dummy0: mtu 1500 qdisc noop > > link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff > > Since the interfaces were not created, they are not initialized, and the > routing table doesn't get routes assigned ... hence the ping error above. > [...] > > >I have a new question. Does it matter if I am logged into the firewall > >(LEAF Configuation Menu on the screen) > >or not logged in (Firewall# prompt on the screen) for the firewall to > >operate properlly when I have all the settings correct? > > No. > > >Do I have to reboot after I make and backup system changes for them to be > >in effect? > > No. what he means is that you never have to restart,