[leaf-user] fsck package which supports ext3
Hi all, Does anyone know if there is a fsck.lrp package with a recent version of fsck supporting ext3? The one on LEAF.sourceforge.net has a fsck which does not understand the ext3 extensions. Regards Chera Bekker --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf 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!!
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? The ne2k-pci module supports the rtl8029 chipset. Don't forget also the load the mii.o module. Good luck Chera --- 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] problem with dnsmasq (uClibc Bering 2.2 beta 4)
Hi List, I have a problem with the dhcp part of dnsmasq included with uClibc Bering 2.2 beta 4. In the /etd/dnsmasq.conf file I have the following entry to give a specific name and IP adress: dhcp-host=00:0c:6e:e9:71:29,bekker,192.168.1.25 now when I run dhcpcd on the client machine it receives the ip of 192.168.1.88 (!!) /var/log/daemon.log on the Bering machine tells me: Aug 2 16:50:11 firewall dnsmasq[10498]: DHCPREQUEST(eth0) 192.168.1.88 00:0c:6e:e9:71:29 Aug 2 16:50:11 firewall dnsmasq[10498]: DHCPACK(eth0) 192.168.1.88 00:0c:6e:e9:71:29 bekker Aug 2 16:50:11 firewall dnsmasq[3252]: DHCPREQUEST(eth0) 192.168.1.88 00:0c:6e:e9:71:29 Aug 2 16:50:11 firewall dnsmasq[3252]: DHCPACK(eth0) 192.168.1.88 00:0c:6e:e9:71:29 I can't figure out why dnsmasq doesn't give the adress 192.168.1.25 to the client. Can somebody help me? Regards Chera Bekker --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.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] copy Bering floppy to CF card
Hello List, Right now I am running a Bering uclib firewall from a floppy. I am thinking of buying an IDE CF reader to boot the firewall from a CF card. What would be the easiest way to copy the contents of my current Bering floppy to a CF card which is mounted as /dev/hda1 and to make the CF card bootable? Thanks for any help. Regards Chera Bekker --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
[leaf-user] syslog message: firewall kernel: ip_conntrack: table full, dropping packet.
Hello List, I have noticed that when running a p2p client behind my Bering firewall my syslog gets flooded with the message: |firewall kernel: ip_conntrack: table full, dropping packet.| || Allmost all entries in /proc/net/ip_conntrack pointed to the internal machine running the client. |I noticed that the value in |/proc/sys/net/ipv4/ip_conntrack_max was set to 1024. I have increased this value to 4096 which seems to have put a (temporary?) lid on things. My question is if the increase in the number of connections will somehow have a negative impact on the performance of the firewall? Any information is appreciated. Regards Chera Bekker --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] syslog message: firewall kernel: ip_conntrack: table full, dropping packet.
Hello Eric, Thanks for you reply. After increasing the ip_conntrack_max value to 4096 I did find a curious entry in my messages log file : firewall kernel: __alloc_pages: 0-order allocation failed (gfp=0x1d2/0) This happened twice about a day ago. According to the bucu-conntrack guide the amount for memory used by 4096 connections (with hash size equal to max conntrack) is 4096 x 308 = 1.2 Mb. My LEAF box has 16 Mb RAM and cat /proc/meminfo gives: total:used:free: shared: buffers: cached: Mem: 14725120 11927552 2797568040960 6443008 Swap:000 MemTotal:14380 kB MemFree: 2732 kB MemShared: 0 kB Buffers:40 kB Cached: 6292 kB SwapCached: 0 kB Active: 5924 kB Inactive: 1700 kB HighTotal: 0 kB HighFree:0 kB LowTotal:14380 kB LowFree: 2732 kB SwapTotal: 0 kB SwapFree:0 kB So there should be enough memory left for the conntrack table. Anyway the firewall is still up and running. I set the new max conntrack number using echo 4096 > /proc/sys/net/ipv4/ip_conntrack_max. How can I make this setting permanent? I have seen the option net.ipv4.netfilter.ip_conntrack_max in /etc/sysctl.conf but which package should I backup then? Regards Chera Bekker Eric Spakman wrote: Hello Chera, There is some information about this setting in the following Bering-uClibc guide and the links section in this guide. http://leaf.sourceforge.net/doc/guide/bucu-conntrack.html Eric Hello List, I have noticed that when running a p2p client behind my Bering firewall my syslog gets flooded with the message: |firewall kernel: ip_conntrack: table full, dropping packet.| || Allmost all entries in /proc/net/ip_conntrack pointed to the internal machine running the client. |I noticed that the value in |/proc/sys/net/ipv4/ip_conntrack_max was set to 1024. I have increased this value to 4096 which seems to have put a (temporary?) lid on things. My question is if the increase in the number of connections will somehow have a negative impact on the performance of the firewall? Any information is appreciated. Regards Chera Bekker --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] copy Bering floppy to CF card
Hello Eric, Thanks for your reply. Does it make sense to create some swap space on the CF? Regards Chera Bekker Eric Spakman wrote: Hello Chera, The easiest way is to use initrd_ide.lrp (with ide boot modules) from: http://leaf.sourceforge.net/bering-uclibc/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=3&MMN_position=3:3 if you are using Bering-uClibc 2.3.x If you are using Bering-uClibc 2.2.x, you can find initrd_ide with 2.4.26 modules in: http://cvs.sourceforge.net/viewcvs.py/leaf/bin/packages/uclibc-0.9/20/2.4.26/ Rename the initrd_ide.lrp package to initrd.lrp Read the documentation on "http://leaf.sourceforge.net/doc/guide/buci-ide.html"; on how to setup Bering-uClibc to use on CF. You can use the configured packages from your floppy, so you shouldn't have to change a lot. Eric Hello List, Right now I am running a Bering uclib firewall from a floppy. I am thinking of buying an IDE CF reader to boot the firewall from a CF card. What would be the easiest way to copy the contents of my current Bering floppy to a CF card which is mounted as /dev/hda1 and to make the CF card bootable? Thanks for any help. Regards Chera Bekker --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] copy Bering floppy to CF card
Hi LIst, To follow on on my attempts to run Bering from a CF card. I have bought an IDE card reader and connected it as slave to the primary IDE channel. When I boot with Bering uclibc 2.2.3 with the initrd replaced by the initrd-ide-cd I cannot access it as a harddrive. dmesg gives hdb: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 So I guess the card reader is seen as a floppy. How can I force the IDE driver to recognize it as a harddisk? fdisk /dev/hdb gives "unable to open /dev/hdb". So I am stuck right now. Thanks for any help. Regards Chera Bekker --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] copy Bering floppy to CF card
Hi Ron, thanks for your reply. My problem is that I am booting from bering floppy with the initrd-ide-cd and I am trying to follow the instructions for creating a CF card. I am using an old CF card and I have no Idea what it contains. I am trying to use fdisk to create a partition and a MBR on the CF card but if the system thinks it's a floppy I cannot access it through hda. I tried fd1 but that gives all kind of strange errors in dmesg. I tried booting the system without a CF card in the reader but then the reader is not found at all. I need to find a way to tell ide-detect that the device is not a floppy but a (removable) harddisk regards Chera Bekker Ron Senykoff wrote: To follow on on my attempts to run Bering from a CF card. I have bought an IDE card reader and connected it as slave to the primary IDE channel. When I boot with Bering uclibc 2.2.3 with the initrd replaced by the initrd-ide-cd I cannot access it as a harddrive. dmesg gives hdb: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 So I guess the card reader is seen as a floppy. How can I force the IDE driver to recognize it as a harddisk? How did you create the CF card? You need to use syslinux to make it bootable (directions in the guide) and then simply copy the files over from your floppy. I'm saying this thinking that you may have written the floppy image to the CF card which boot-sector wise may cause confusion. -Ron --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] copy Bering floppy to CF card
Hi Victor, I think I'm out of luck. I have created a bootable CF card using my laptop with Ubuntu and an integrated card reader. I then tried to boot from that card with the IDE cardreader on two different systems. A AMD K5 and a Dell Pentium II 450 (old but good enough for a firewall). The AMD refuses to power on when I have the cardreader in master mode. With the cardreader in slave mode it is found by BIOS as an LS-120 drive. But it refuses to boot from it. The Dell BIOS just doesn't find anything no matter the card reader is slave or master. I have set the BIOS on both systems to auto-detect the ide drives. According to the manual with the cardreader it uses the IDE/ATAPI interface so I would expect it to be found as a CDROM at least. I'm stuck and back to the floppy. Regards Chera Victor McAllister wrote: Chera Bekker wrote: Hi Ron, thanks for your reply. My problem is that I am booting from bering floppy with the initrd-ide-cd and I am trying to follow the instructions for creating a CF card. I am using an old CF card and I have no Idea what it contains. I am trying to use fdisk to create a partition and a MBR on the CF card but if the system thinks it's a floppy I cannot access it through hda. I tried fd1 but that gives all kind of strange errors in dmesg. I tried booting the system without a CF card in the reader but then the reader is not found at all. I need to find a way to tell ide-detect that the device is not a floppy but a (removable) harddisk regards Chera Bekker how did you setup the BIOS on the host computer? CF's may need a proper BIOS setting to be read, even though they are on an ide adaptor. --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] copy Bering floppy to CF card (Progress)
Follow up on this problem. I have progress of a sort. I attached my cardreader to yet another computer. The cardreader was attached as secondary master. This computer had a more modern BIOS which allowed booting from a LS/ZIP drive. And YES,YES,YES I saw the Bering logo. The kernel booted but then the IDE driver started to muck things up again. It did find the card reader at hdc but then it decided that it was a floppy. hdc: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive The two harddisks present in the computer were both attached to a ide-diskdriver. Next I got messages like: VFS: Can't find a valid FAT filesystem on dev 03:01 which is understandable because there is no /dev/hdc1. Then the kernel went into panic mode. The next step was to boot the computer with slackware 10.1 (its normal OS). To my suprise the 2.4.26 kernel gave the same "assuming floppy drive" message but then attached the ide-floppy driver. This driver did give an I/O error (Can't get flexible disk page parameters) but this doesn't seem to be fatal. The subsequent partition check gives hdc: hdc1 and I can mount /dev/hdc1 and read the contents without problems. So my conclusion is that the initrd_ide_cd also needs the ide-floppy driver to get this to work. Question is, how do I do that? Regards Chera Bekker Chera Bekker wrote: Hi Ron, thanks for your reply. My problem is that I am booting from bering floppy with the initrd-ide-cd and I am trying to follow the instructions for creating a CF card. I am using an old CF card and I have no Idea what it contains. I am trying to use fdisk to create a partition and a MBR on the CF card but if the system thinks it's a floppy I cannot access it through hda. I tried fd1 but that gives all kind of strange errors in dmesg. I tried booting the system without a CF card in the reader but then the reader is not found at all. I need to find a way to tell ide-detect that the device is not a floppy but a (removable) harddisk regards Chera Bekker Ron Senykoff wrote: To follow on on my attempts to run Bering from a CF card. I have bought an IDE card reader and connected it as slave to the primary IDE channel. When I boot with Bering uclibc 2.2.3 with the initrd replaced by the initrd-ide-cd I cannot access it as a harddrive. dmesg gives hdb: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 So I guess the card reader is seen as a floppy. How can I force the IDE driver to recognize it as a harddisk? How did you create the CF card? You need to use syslinux to make it bootable (directions in the guide) and then simply copy the files over from your floppy. I'm saying this thinking that you may have written the floppy image to the CF card which boot-sector wise may cause confusion. -Ron --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
Re: [leaf-user] copy Bering floppy to CF card (Progress)
Hi Tim, I wish I had known about the DOM's one week earlier. It sounds perfect for what I am trying to do. Thanks for the tip. Chera Timothy J. Massey wrote: [EMAIL PROTECTED] wrote on 12/23/2005 10:18:03 AM: > Follow up on this problem. I have progress of a sort. I attached my > cardreader to yet another computer. The cardreader was attached as > secondary master. This computer had a more modern BIOS which allowed > booting from a LS/ZIP drive. And YES,YES,YES I saw the Bering logo. The > kernel booted but then the IDE driver started to muck things up again. That means you're past the BIOS stage... > It did find the card reader at hdc but then it decided that it was a > floppy. > > hdc: IOMEGAIDE CARD READER, ATAPI cdrom or floppy?, assuming FLOPPY drive Interesting. This won't help much for your current situation, but here's what I'd recommend to everyone trying this: http://www.globalamericaninc.com/other/dom.php The term you're looking for is Disk on Module. I buy 32MB DOM's (which are 30MB bigger than they need to be) for $35. It's far cheaper than buying a piece of CF and a separate IDE adapter. They make just about any size you want. And they work perfectly: the computer sees a 32MB hard drive. I use those in concert with a VIA EDEN MiniITX motherboard. Zero moving parts: no CPU fan, not PS fan, no rotating storage. It's like a (somewhat expensive) Linksys, but much more powerful: expandable to GB's of flash and 512MB of RAM. I use it for a number of applications, most of them LEAF-based. Tim Massey --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/ --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
[leaf-user] webconf authentication problem bering uclibc 3.1
Hello all, When I try to connect with firefox to the webconf interface of my bering router (bering uclibc 3.1) I get a window asking for my user name and password. However it does not accept root as user and the root password. How can I configure webconf (or mhttpd) to skip the authentication? Regards Chera Bekker - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/
[leaf-user] webconf authentication problem bering uclibc 3.1 (continued)
Hi all, Thanks for all the replies. I deleted the var/webconf/www/.htpasswd file and all is well. However after a reboot this file will be back as it is part of the webconf.lrp package. Can I remove this file from the package without ill effects? Regards Chera Bekker - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ leaf-user mailing list: leaf-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-user Support Request -- http://leaf-project.org/