Re: Firewall with bridged interfaces and captive portal
Olivier Nicole wrote: Hi Chris, I need to implement a firewall with bridged interfaces that offers captive portal (authentication before opening the traffic). We are using a combination of squid+ipfw. Although we are NATing the users, that really just introduces needless complexity that could be avoided with a bridging solution. Our web-app/captive portal/authentication program is written in-house; it's very tightly integrated with several existing pieces of infrastructure. I don't know if there are any solutions that will work out-of-the-box. I can get you more technical details if this is a direction you'd be interested in moving. Long time ago I have been toying with ipf (for the genral firewall) and NoCat+ipfw for the captive portal. But that did not work too well, so any technical information will be appreciated :) My long term vision is a quite integrated thing, where users that read their email and authenticate to POP3/IMAP would be granted the access without the need to authenticate to the web portal. For squid have a look at the option auth_param You are able to use your own authorisation app/script that can check all kinds of places to see if that IP is allowed access. For example I have a client that has samba on his transparent proxy. Each user has a drive letter mapped to that share. The script defined by auth_param just greps the ip from 'smbstatus -p' and uses the username with that IP to tell squid what user it is for the logs. There would be nothing to stop the script to check ipfw, to see if there is rules for that ip to allow access and then if there isn't, add them. To remove the ipfw rules you could have a cron script that checks the last packet time (using -t or -T) and if its over a certain time then remove it (preferably with the checking of where you got the initial check to see if the user is valid or not). HTH cya Andrew Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installation on a Dell Poweredge R805
On Tue, Dec 2, 2008 at 10:57 AM, Chris Boyd <[EMAIL PROTECTED]> wrote: > I'm having an issue installing FreeBSD 7 AMD64 on a Dell Poweredge R805. > > The system starts to boot, throws several mpt_cam_event 0x12 and 0x16 > errors, presents the boot menu, and then crashes with a "Fatal trap 12: page > fault while in kernel mode" and then wants to reboot. > > This is a dual CPU, quad core Opteron 2352 system with 8GB RAM and dual SAS > on a PERC6 controller. I've tried various memory and BIOS settings to see > if I can get it to boot, but it either does the bits describe above, or > hangs hard. > > Any and all suggestions appreciated. > > --Chris > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > 1: PERC6 is not listed as supported, last time I checked. 2: Dells are notorious for not working very well with !Windows, !Linux (haven't tried something like Open Solaris) I have a new PE2950's at the office, FreeBSD sees everything, including the PERC6i controller, but the motherboard NICs are suffering horribly bad for performance. Ping flood from the console to it's own IP address bound to the NIC looses 30% of it's packets. Also, what's "NIC2" on the motherboard/case labeling, is the first NIC FreeBSD finds. NIC1 is the 2nd nic FreeBSD finds. Just oddities. Honestly, I would either stick with IBM or iXsystems branded machines. Others may have success, but those two just seem the best I've seen. Custom builds are always an option too, and the warranties for custom builds are often equal, or longer, than a brand-name machine, but you have to talk to each device vendor, instead of "Dell" for example. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewalls using a DNSbl (and distributed ssh attacks)
On Wed, Dec 3, 2008 at 7:53 PM, Daniel Bye <[EMAIL PROTECTED]>wrote: > On Wed, Dec 03, 2008 at 07:43:26PM -0600, Jeffrey Goldberg wrote: > > It's not a big issue, but I'm wondering if there is a DNSBl that lists > > IPs that are engaging in brute force ssh attacks. And if there is > > such a list, is there a way to integrate that information into a > > firewall or sshd. > > > > As I've said this really isn't a big issue for me, as the brute force > > attempts at sshd are nothing but an annoyance as I review logs. > > > > The attacks that I'm seeing appear to be coordinated and distributed. > > That is, there will be one attempt on username "fred" from one IP > > immediately followed by an attempt on "freddy" from another IP > > followed by an attempt on "fredrick" from a third source and so on. > > I don't know of any DNSbl type service, but I am using DenyHosts with > very great success. Its synchronisation feature allows participating > instances of the script to share IP addresses of misbehaving hosts, > so as soon as an address hits the database, it's only a matter of an > hour or so before your instance can start blocking it. > > The basic setup uses TCP wrappers to block offending hosts, but I am > using the datafile it maintains as a file-based table in pf, which I > reload periodically from a cronjob. > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X >- proprietary attachments in e-mail / \ > Depending on the role of the machine, I've started to firewall off remote ssh connects to my machines except only the hosts I use. A dyndns hostname + pf querying DNS and the static IPs that I have at the office. All others don't need access, and if push comes to shove, I can update dyndns IP with anything I'm behind, allow DNS propogation, (hour?) and then connect. works quite well. pf example: block in on fxp0 all pass in on fxp0 inet proto tcp from { , "sub.dyndnsorg.tld" } to port 22 keep state flags S/SA When you implement this, the firewall sees no existing state (I think) and will kill your connection. If you didn't typo the firewall rule, you can connect right back. --TJ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: what script is whacking root's files
On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway <[EMAIL PROTECTED]> wrote: > Derek Ragona wrote: > >> I have a freshly installed 7.0 release server. The configuration files >> (all dot files including .ssh etc.) in /root keep getting deleted. I >> assume this is from a script running from periodic and can be set NOT to >> delete these files. Can someone point me where I need to make this change. >> I have already combed through the handbook and mailing list archives. >> > > There is no such standard script in FreeBSD. > > Kris > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED]" > I'd make sure there's not something like a tmpfs/mfs filesystem that /root is being used on. If / is on a ramdisk image of any kind, on each reboot, it should disappear. Perhaps you should paste your fstab and current mounted filesystems as an aid to debug. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update through proxy with auth
On 3 Dec 2008 , RW entreated about "Re: freebsd-update through proxy with auth": > On Wed, 03 Dec 2008 10:36:29 +0200 > "DA Forsyth" <[EMAIL PROTECTED]> wrote: > > > Hiya > > > > How do I get freebsd-update to fetch through a proxy that requires > > authentication? I cannot find any options in the man pages. > > > > have you tried putting it in the proxy name > > http://user:[EMAIL PROTECTED]:port sadly, that doesn't work looks like freebsd-update never queries the http_proxy env variable -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Returning User With Filesystem/Memory Tuning Questions
On Thursday 04 December 2008 04:12:04 Giorgos Keramidas wrote: > On Wed, 3 Dec 2008 17:24:48 -0600 (CST), Kevin Monceaux <[EMAIL PROTECTED]> wrote: > > On Wed, 3 Dec 2008, Roland Smith wrote: > >> Application crashed can also be due to bad hardware, especially > >> memory. Make sure that you rule out hardware troubles before diving > >> into the software. > > > > I don't think it was hardware related, but it's a possibility. > > > > Jogging my memory a bit more I think the first program I had memory > > allocation problems was tin. Fetching headers from even a semi-large > > newsgroup would cause tin to crash. I forget the exact error messages > > but they were something along the lines of not being able to allocate > > the needed amount of memory. At the times of the failures there > > appeared to be available RAM with swap space completely untouched. The > > errors occurred at about the same point in fetching the headers each > > time. After much Googling I tried adjusting the following: > > > > kern.maxdsiz > > kern.dfldsiz > > kern.maxssiz > > Hi Kevin, > > The `kern.maxdsiz' tunable is a boot-time option that limits the amount > of memory a _single_ process can allocate for its `data'. And the dfldsiz is the initial soft limit. You can set dlfdsiz to 512 and maxdsiz to 1024, then all processes will initially bonk out at 512 and you'd have to use limit(1) to start up the process that needs more. 1024 will be the hard limit, nothing can excess beyond that. Datasize is simplified malloc(3) where ssiz = stack size. Function pointers and local variables that are not malloced (char foo[1024]), are put there till stack is exhausted. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
arpwatch and isc-dhcp-relay
Hi all, When I install arpwatch and isc-dhcp-*relay* to listen on the same interface, the latter won't work, while on another machine arpwatch and isc-dhcp-*server* don't seem to bite on another. Anyone knows why? Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Returning User With Filesystem/Memory Tuning Questions
On Thu, 4 Dec 2008, Giorgos Keramidas wrote: For what it's worth, I've been reading newsgroups with more than 5000 messages in Gnus, a newsreader that runs inside GNU Emacs, and its memory usage has *never* reached 512 MB, I doubt I'd have a problem with newsgroups that small with either tin or pan. How well does Gnus handle groups with 1,000,000 to 2,000,000+ messages? My ISP dropped it's NNTP service a while back and I ended up signing up with GigaNews. They have 240 day retention for binary groups and 1,990 day retention for text groups. So, many of the group archives on their servers are huge. Granted I don't need to retrieve all the headers for a particular group, but it's not unusual for me to be browsing a group with a header count in the five to six digit range. so if you want help to switch from the aging tin reader to something that is still maintained & developed actively, I will be glad to help. I finally gave up on tin a while back and switched to pan. It seems to be less of a memory hog with larger groups than tin was. I prefer TUI based programs over GUI based programs, but I think pan is worth putting up with the GUI interface. It handles large groups with multi-part binary posts fairly well and makes good use of the ten NNTP connections GigaNews gives me. Chances are I might not have any problems with pan under FreeBSD. I might be misremembering, it may have only been tin I had problems with. But it wouldn't hurt to learn a little more about FreeBSD memory tunable settings even if I end up not needing them. Well, I guess I'll probably need at least a few if I go with ZFS this time around. I prefer vim over emacs but might take a look at Gnus. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mx1.freebsd.org
Ebbe Hjorth <[EMAIL PROTECTED]> wrote: > My postfix mail servers shows to messages in the queue saying > > (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected: > cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command)) > > But when i do a lookup or a reverse lookup, i find my hostname, also > from work and other ip, not only local ;) > > Does mx1.freebsd.org have an old dns? - This affects me sending mail > to all the freebsd lists. Most likely a temporary DNS problem; are the messages still sitting in your queue? -- Sahil Tandon <[EMAIL PROTECTED]> ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall with bridged interfaces and captive portal
Hi Chris, > > I need to implement a firewall with bridged interfaces that offers > > captive portal (authentication before opening the traffic). > > We are using a combination of squid+ipfw. Although we are NATing the > users, that really just introduces needless complexity that could be > avoided with a bridging solution. > > Our web-app/captive portal/authentication program is written in-house; > it's very tightly integrated with several existing pieces of > infrastructure. I don't know if there are any solutions that will work > out-of-the-box. > > I can get you more technical details if this is a direction you'd be > interested in moving. Long time ago I have been toying with ipf (for the genral firewall) and NoCat+ipfw for the captive portal. But that did not work too well, so any technical information will be appreciated :) My long term vision is a quite integrated thing, where users that read their email and authenticate to POP3/IMAP would be granted the access without the need to authenticate to the web portal. Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipfw and bridged interface
Hi, I remember that I read, many years ago, something about the way ipfw interacts with the IP stack. AFAIR, ipfw would be called on layer 2, where only certain rules would be applied, then on the IP layer where other rules would apply. Is it still the case? Where can I find th description? Best regards, Olivier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: hp dv2225nr laptop optical drive random ejects
>has anyone ever seen this happen? >system is 8.0-current, drive is not >being used and it will just eject while >sitting on a table. Yes, I did. It was hardware-related. It was the CD/DVD ribbon connector getting all wrinkles and apparently something resetting just out of even the smallest vibration. You may find this ribbon connector appearance conspicous. It usually gold or red colored. Look from under your laptop while drive's out if you can't see it from topside. And this ribbon connector is not exactly cheap too. I'm not sure why. -- Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Returning User With Filesystem/Memory Tuning Questions
On Wed, 3 Dec 2008 17:24:48 -0600 (CST), Kevin Monceaux <[EMAIL PROTECTED]> wrote: > On Wed, 3 Dec 2008, Roland Smith wrote: > >> Application crashed can also be due to bad hardware, especially >> memory. Make sure that you rule out hardware troubles before diving >> into the software. > > I don't think it was hardware related, but it's a possibility. > > Jogging my memory a bit more I think the first program I had memory > allocation problems was tin. Fetching headers from even a semi-large > newsgroup would cause tin to crash. I forget the exact error messages > but they were something along the lines of not being able to allocate > the needed amount of memory. At the times of the failures there > appeared to be available RAM with swap space completely untouched. The > errors occurred at about the same point in fetching the headers each > time. After much Googling I tried adjusting the following: > > kern.maxdsiz > kern.dfldsiz > kern.maxssiz Hi Kevin, The `kern.maxdsiz' tunable is a boot-time option that limits the amount of memory a _single_ process can allocate for its `data'. The default value is 512 MB (the value reported by sysctl is the number of bytes): $ sysctl kern.maxdsiz kern.maxdsiz: 536870912 If a single process running on i386 wants to allocate more than 512 MB of memory, and it is not a large database server, then it's possible that something is wrong with the way the process handles its memory :) For what it's worth, I've been reading newsgroups with more than 5000 messages in Gnus, a newsreader that runs inside GNU Emacs, and its memory usage has *never* reached 512 MB, so if you want help to switch from the aging tin reader to something that is still maintained & developed actively, I will be glad to help. Gnus can run in text-only mode too, much like tin; it supports threading, scoring of messages by author, subject, by custom header filters, etc.; it can read messages from multiple news servers; it can work in `offline' mode and post all your outgoing messages later, when you get back online; it can prefetch all the messages of your favorite groups, and that's just a short list of the features I can remember off-hand. > which greatly improved things. But, I adjusted them using examples of > values I found on the net without really understanding what I was > doing. This time around I want to learn how to tweak whatever settings > need to be tweaked to best use my available memory. Well, you can just ask here, on the freebsd-questions list. There are _many_ knowledgeable subscribers who can describe what each FreeBSD option means, how to tune it for your own needs, and so on :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewalls using a DNSbl (and distributed ssh attacks)
On Wed, Dec 03, 2008 at 07:43:26PM -0600, Jeffrey Goldberg wrote: > It's not a big issue, but I'm wondering if there is a DNSBl that lists > IPs that are engaging in brute force ssh attacks. And if there is > such a list, is there a way to integrate that information into a > firewall or sshd. > > As I've said this really isn't a big issue for me, as the brute force > attempts at sshd are nothing but an annoyance as I review logs. > > The attacks that I'm seeing appear to be coordinated and distributed. > That is, there will be one attempt on username "fred" from one IP > immediately followed by an attempt on "freddy" from another IP > followed by an attempt on "fredrick" from a third source and so on. I don't know of any DNSbl type service, but I am using DenyHosts with very great success. Its synchronisation feature allows participating instances of the script to share IP addresses of misbehaving hosts, so as soon as an address hits the database, it's only a matter of an hour or so before your instance can start blocking it. The basic setup uses TCP wrappers to block offending hosts, but I am using the datafile it maintains as a file-based table in pf, which I reload periodically from a cronjob. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ pgpTYCn2NsJaz.pgp Description: PGP signature
Re: what script is whacking root's files
Derek Ragona wrote: I have a freshly installed 7.0 release server. The configuration files (all dot files including .ssh etc.) in /root keep getting deleted. I assume this is from a script running from periodic and can be set NOT to delete these files. Can someone point me where I need to make this change. I have already combed through the handbook and mailing list archives. There is no such standard script in FreeBSD. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: UFS partitioning
Da Rock writes: > Excuse my nose in here- I just have a couple of questions. > > 1) It IS possible to boot from a dedicated disk? Yes. Can't remember the last time I used anything else. > 2) Does using dedicated mode increase the space available to use? > Partitioning normally takes up space so a HDD loses about 10% of > usable space doesn't it, so the space used by partitioning is can > now be used as filespace. Not really; certainly not in the scale of state of the market drives. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: UFS partitioning
On Tue, 2008-12-02 at 11:39 -0500, Jerry McAllister wrote: > On Tue, Dec 02, 2008 at 11:17:40AM +0100, Polytropon wrote: > > > On Tue, 2 Dec 2008 10:56:44 +0100 (CET), Pieter Donche <[EMAIL PROTECTED]> > > wrote: > > > If FreeBSD is to put on the system as only operating system (Fdisk: > > > "A = Use Entire disk"), then will the BSD-partitions will show up as > > > ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? > > > > You're mixing terminology here. :-) The "use entire disk" will > > create a slice for FreeBSD covering the complete disk. A slice > > is what MICROS~1 calls "primary partition". > > > > Now the conclusion: Let's say you create a slice on ad0, it will > > be ad0s1. Now you can create partitions inside this slice as you > > mentioned it, e. g. ad0s1a = /, ad0s1b = swap, ad0s1d = /tmp, > > ad0s1e = /var, ad0s1f = /usr and ad0s1g = /home. > > True. Too bad MS had to use the same terminology for slices > as FreeBSD uses for subdivisions of slices. But, it won't be > undone now, so the confusion will continue. > > > But if you're > > refering to ad0a, ad0b, ad0d etc. you're stating that there's > > no slice, implying that (if I see this correctly) it isn't possible > > to boot from that disk. > > It is correct that this would imply no slice being created. > But it is not correct that it could not be bootable. You can > use bsdlabel to write the boot sector to ad0 instead of ad0s1 > and it would be bootable - but would be what someone has enjoyed > describing as a 'dangerously dedicated' disk. FreeBSD can deal > with it, but other systems cannot. > > I don't know if you can do this from sysinstall though. I have > never tried. But, it can be done by running bsdlabel by hand. > > > Of couse, if you would intend to use > > a (physical) second disk for only the home partition, you could > > omit the slice and the partition and simply newfs ad1 - but > > that wasn't your question. > > Probably the 'dangerously dedicated' disk is more often used this > way as an additional (second) drive that is not made bootable. > > In that case, it is unlikely that one would mount any of the > partitions on '/' making it the root filesystem. That may > be a problem. But, otherwise this looks probable or more likely > it would have some swap to add to the first disk and all the > rest in either the a or d partitions mounted as something > like '/work' or /scratch'. > > > > > ad0 |---| the whole disk > > ad0s1 \--/ one slice > > ad0s1X \--/\---/\-/\-/\---/\/ partitions > > a b d e f g > > / swap /tmp /var/usr /home mount point Excuse my nose in here- I just have a couple of questions. 1) It IS possible to boot from a dedicated disk? 2) Does using dedicated mode increase the space available to use? Partitioning normally takes up space so a HDD loses about 10% of usable space doesn't it, so the space used by partitioning is can now be used as filespace. These questions are all theoretical: I've only read in passing about dedicated mode, but the use of this would be highly specialised by extension. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Firewalls using a DNSbl (and distributed ssh attacks)
It's not a big issue, but I'm wondering if there is a DNSBl that lists IPs that are engaging in brute force ssh attacks. And if there is such a list, is there a way to integrate that information into a firewall or sshd. As I've said this really isn't a big issue for me, as the brute force attempts at sshd are nothing but an annoyance as I review logs. The attacks that I'm seeing appear to be coordinated and distributed. That is, there will be one attempt on username "fred" from one IP immediately followed by an attempt on "freddy" from another IP followed by an attempt on "fredrick" from a third source and so on. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mount_smbfs and Kerberos
mount_smbfs on OSX seems to have Kerberos support, does mount_smbfs on FreeBSD support Kerberos? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unix domain socket tunnel to TCP on other machine
For mimedefang/clamav purposes, I'm trying to setup a Unix domain socket that tunnels to a TCP port on another machine. For example, if I "telnet -u /var/spool/mysock" on machine X, I want it to be just like doing "telnet Y 25". I've poked around with stunnel and ssh's port forwarding/ControlMaster stuff, but I can't quite get this working. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
what script is whacking root's files
I have a freshly installed 7.0 release server. The configuration files (all dot files including .ssh etc.) in /root keep getting deleted. I assume this is from a script running from periodic and can be set NOT to delete these files. Can someone point me where I need to make this change. I have already combed through the handbook and mailing list archives. Thanks, -Derek derek at computinginnovations.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
install 6.4 on Dell OPTIPLEX 755 panics
Install 6.4 from DVD on DELL Optiplex 755 (Core 2 DUE E6550 CPU with 2GB memory) always panic at last stage of boot. Is this a hardware specific (this machine only) issue? or is it a known hardware problem for DELL Optiplex 755? Disable ACPI does not help. Also noticed that 6.4 did not detect second core on this machine. -Jin -- md0: Preload image 4423680 bytes at 0xc0bc79dc ad8: 238418MB at ata4-master SATA300 acd0: DVDROM at ata5-master SATA150 acd1: DVDR at ata6-master SATA150 umass0: at uhub6 port 2 (addr 2) disconected Fatal trap 12: page fault while in kernel mode fault virtual address= 0x20 fault code = supervisor read, page not present instruction pointer = 0x20:0xc045d1f6 stack pointer= 0x28:0xe56c8c64 frame pointer= 0x28:0xe56c8c68 code segment = base 0x0, limit 0d, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 1 current process = 11 (swi4: clock sio) trap number = 12 panic: page fault ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and ntpd start order in rc.d
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nerius Landys wrote: >> FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It >> continues to have 2 processes running, the process which does the DNS lookup >> fails to exit, and ntpd fails to adjust the clock even after days of >> running. Immediately after bootup and several hours or days later this is >> what I get: >> >> # ps -U root | grep ntpd >> 87837 ?? Ss 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> 87838 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> >> If I do a "/etc/rc.d/ntpd restart" on a running system it fixes the problem, >> and only one of the ntpd processes remains, and the clock gets adjusted. >> >> I have named running as a caching name server on my system. The contents of >> my /etc/resolv.conf: >> >> domain nerius.com >> nameserver 127.0.0.1 >> >> My /etc/rc.conf: >> >> ... >> named_enable="YES" >> ntpd_enable="YES" >> ... >> >> I believe that the problem with ntpd is that named is started AFTER ntpd. >> >> Trying to reproduce problem. On a running system. I shut down named. Then >> I restart ntpd, then I start named. I can reproduce the problem that >> happens on bootup - ntpd has 2 processes and does not adjust the clock. >> Restarting ntpd while named is running fixes the problem >> >> I believe that the fix for this is to add a dependency to /etc/rc.d/ntpd >> script, adding "named" to "REQUIRE" section in comments. In your opinion, >> is this a robust fix? For example the line in my /etc/rc.d/ntpd script that >> looks like so: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs >> >> would be changed to this: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs named > > Modifying /etc/rc.d/ntpd in this manner did not fix the problem. I > still have 2 ntpd processes running indefinitely after bootup of the > system, until I manually issue a "/etc/rc.d/ntpd restart", after which > the ntpd runs fine. As a separate test, I tried adjusting my > resolv.conf to point to an external name server, and I disabled named > at startup, and used the original /etc/rc.d/ntpd. I still got the > same problem - 2 ntpd processes running indefinitely. > > Does anyone know why I'm getting 2 ntpd processes running after bootup > (and ntpd fails to adjust the clock as a result)? Any suggested fix > would be appreciated. Hi Nerius, I don't know why those processes are hung after boot, but in order to troubleshoot the problem, I suggest that you modify the /etc/rc.d/ntpd script to invoke ntpd from truss and log the output to a file, e.g. /tmp/truss.log.$$. Once you've rebooted, kill the processes and post the the log files on a web site somewhere so we can have a look at them. Also, what are the contents of your /etc/ntp.conf file? Best regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJNxW60sRouByUApARApi2AKC+p8UxGYtbdnF/SDGxB4yGV8mpOgCfTi8s yeb2mXFtkWw4OoDxrPWtkho= =O9RE -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and ntpd start order in rc.d
On Dec 3, 2008, at 1:01 PM, Nerius Landys wrote: [ ... ] Does anyone know why I'm getting 2 ntpd processes running after bootup (and ntpd fails to adjust the clock as a result)? Any suggested fix would be appreciated. When ntpd first starts up, it forks a child process to perform DNS resolution of the timeservers listed in its config. If that fails, that generally indicates that DNS was not working at the time, or something else was going wrong with the network. [ See ntpd/ntp_config.c, search for fork() or "ntpd_initres". ] The fix is to make sure that you have a working network and resolver available when you try to startup ntpd. Failing that, you can hardcode IP addresses in /etc/ntp.conf, but that's a bad idea for anything outside of timeservers which you control. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Returning User With Filesystem/Memory Tuning Questions
On Wed, 3 Dec 2008, Roland Smith wrote: Application crashed can also be due to bad hardware, especially memory. Make sure that you rule out hardware troubles before diving into the software. I don't think it was hardware related, but it's a possibility. Jogging my memory a bit more I think the first program I had memory allocation problems was tin. Fetching headers from even a semi-large newsgroup would cause tin to crash. I forget the exact error messages but they were something along the lines of not being able to allocate the needed amount of memory. At the times of the failures there appeared to be available RAM with swap space completely untouched. The errors occurred at about the same point in fetching the headers each time. After much Googling I tried adjusting the following: kern.maxdsiz kern.dfldsiz kern.maxssiz which greatly improved things. But, I adjusted them using examples of values I found on the net without really understanding what I was doing. This time around I want to learn how to tweak whatever settings need to be tweaked to best use my available memory. Are the above settings what I should be adjusting and/or are there others? I know it's probably impossible to give advice on exactly what to tune without knowing the exact errors I was seeing. But some general memory tuning advice might help until I'm able to reinstall and try things out. P.S. I've switched from tin to pan which seems to be much less of a memory hog, so that helps quite a bit. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and ntpd start order in rc.d
> When ntpd first starts up, it forks a child process to perform DNS > resolution of the timeservers listed in its config. If that fails, that > generally indicates that DNS was not working at the time, or something else > was going wrong with the network. > > [ See ntpd/ntp_config.c, search for fork() or "ntpd_initres". ] > > The fix is to make sure that you have a working network and resolver > available when you try to startup ntpd. Failing that, you can hardcode IP > addresses in /etc/ntp.conf, but that's a bad idea for anything outside of > timeservers which you control. > Thank you! That explains the problem. I had a hunch that the problem was along these lines. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and ntpd start order in rc.d
> I don't know why those processes are hung after boot, but in order to > troubleshoot the problem, I suggest that you modify the /etc/rc.d/ntpd > script to invoke ntpd from truss and log the output to a file, e.g. > /tmp/truss.log.$$. Once you've rebooted, kill the processes and post > the the log files on a web site somewhere so we can have a look at them. Um, the truss thing is a little over my head. I don't think I have the cranium capacity for this. Sorry. > Also, what are the contents of your /etc/ntp.conf file? Here is my ntp.conf: server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.ntp.org server 3.us.pool.ntp.org restrict default kod nomodify notrap nopeer noquery ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and ntpd start order in rc.d
>> FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It >> continues to have 2 processes running, the process which does the DNS lookup >> fails to exit, and ntpd fails to adjust the clock even after days of >> running. Immediately after bootup and several hours or days later this is >> what I get: >> >> # ps -U root | grep ntpd >> 87837 ?? Ss 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> 87838 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> >> If I do a "/etc/rc.d/ntpd restart" on a running system it fixes the problem, >> and only one of the ntpd processes remains, and the clock gets adjusted. >> >> I have named running as a caching name server on my system. The contents of >> my /etc/resolv.conf: >> >> domain nerius.com >> nameserver 127.0.0.1 >> >> My /etc/rc.conf: >> >> ... >> named_enable="YES" >> ntpd_enable="YES" >> ... >> >> I believe that the problem with ntpd is that named is started AFTER ntpd. >> >> Trying to reproduce problem. On a running system. I shut down named. Then >> I restart ntpd, then I start named. I can reproduce the problem that >> happens on bootup - ntpd has 2 processes and does not adjust the clock. >> Restarting ntpd while named is running fixes the problem >> >> I believe that the fix for this is to add a dependency to /etc/rc.d/ntpd >> script, adding "named" to "REQUIRE" section in comments. In your opinion, >> is this a robust fix? For example the line in my /etc/rc.d/ntpd script that >> looks like so: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs >> >> would be changed to this: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs named > > Modifying /etc/rc.d/ntpd in this manner did not fix the problem. I > still have 2 ntpd processes running indefinitely after bootup of the > system, until I manually issue a "/etc/rc.d/ntpd restart", after which > the ntpd runs fine. As a separate test, I tried adjusting my > resolv.conf to point to an external name server, and I disabled named > at startup, and used the original /etc/rc.d/ntpd. I still got the > same problem - 2 ntpd processes running indefinitely. > > Does anyone know why I'm getting 2 ntpd processes running after bootup > (and ntpd fails to adjust the clock as a result)? Any suggested fix > would be appreciated. > I figured out a fix for this problem! I add ntpdate_enable="YES" to my /etc/rc.conf. As a result, after bootup ntpd is running only one process and the clock gets adjusted gradually after I set it back 30 seconds. So why does running ntpdate at bootup fix the ntpd 2 process hanging problem? Well I had a look at /etc/rc.d/ntpdate: # REQUIRE: NETWORKING syslogd named And, ntpd requires ntpdate. So maybe NETWORKING is the answer to this problem. Without NETWORKING DNS lookups cannot happen and the ntpd process that does the DNS lookups hangs. So it sounds like if you are gonna run ntpd at startup you'd better run ntpdate as well. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: loader.conf issues
Weldon S Godfrey 3 <[EMAIL PROTECTED]> escribió: I did a quick search for this and didn't see anyone seeing this. I am running 7.0-PRERELEASE amd64 This is my loader.conf: vm.kmem_size_max="16106127360" vm.kmem_size="1073741824" kern.maxvnodes="80" I've always changed those variables in /etc/sysctl.conf ed However, this is what happens after reboot: store1# sysctl -a | grep kmem vm.kmem_size_scale: 3 vm.kmem_size_max: 3221225472 vm.kmem_size_min: 0 vm.kmem_size: 1073741824 store1# sysctl -a | grep kern.maxvn kern.maxvnodes: 10 store1# Is there some issue with vm.kmem_size_max being larger than 3G? If this has been fixed, let me know. I am using 7.0-RELEASE loader from amd64 iso since for some reason, when I complile a new loader on this Dell 2950-iii, I get an unusable loader (it just hangs before the screen to select safe mode, single user mode, etc). Thanks, Weldon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mounting ext3fs partition
On Wed, Dec 3, 2008 at 11:01 PM, Josh Carroll <[EMAIL PROTECTED]> wrote: >> Hi josh, >> >> Exactly, it is 256. So according to you, I can't use the mounted >> filesystem, right? >> >> Could you please explain in more detail, what the problem is? >> >> Thanks in advance. > > I believe around e2fsprogs version 1.40.5 or so, they changed the > default inode size from 128 to 256. The current ext2fs driver in > FreeBSD has a hard-coded inode size defined: > > #define EXT2_INODE_SIZE128 > > I have a patch that dynamically determines this size, but I do not yet > have a good enough understanding of the ext2/3 spec to decide if the > changes I made are sufficient to fix the problem or if there is some > risk of breakage because the extra 128 is required for some metadata > of some sort. > > What happened in your case is something I was afraid of and what > prompted me to look into a fix in the first place - namely, newer > Linux distributions or even file systems created by e2fsprogs from > ports in FreeBSD will be unusable with the current ext2fs driver, > since it assumes a size of 128. > > There is some more information here regarding the patch and its current > status: > > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2008-11/msg00421.html > > I (or even better, someone more knowledgeable about file systems) need > to read through the ext2/3 spec and determine if the changes I've made > cause any breakage. Ok, Thanks for the clarification and overall, thanks for the work of submitting the patch regardless of it is merged yet or not. > > Thanks, > Josh > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Firewall with bridged interfaces and captive portal
Olivier Nicole wrote: > I need to implement a firewall with bridged interfaces that offers > captive portal (authentication before opening the traffic). [...] > > Is there any solution that exists? > > I looked at pfSense, but captive portal does not work on bridged > interfaces; it's one or the other. > > Any other suggestion? Hello, We are using a combination of squid+ipfw. Although we are NATing the users, that really just introduces needless complexity that could be avoided with a bridging solution. Our web-app/captive portal/authentication program is written in-house; it's very tightly integrated with several existing pieces of infrastructure. I don't know if there are any solutions that will work out-of-the-box. I can get you more technical details if this is a direction you'd be interested in moving. -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley pgpLZMO2kRw0d.pgp Description: PGP signature
Installation medium undetected / Initial network setup
I am working with the Disc 1 ISO of 7-RELEASE. I am having difficulty when selecting the installation medium. When I choose CD/DVD, it returns "Error mounting /dev/acd0 on /dist. Input / Output error 5. I have already set up the partition, and used the auto mode to create slices. I also tried the FTP option, at which point it prompted me to setup my network interface, which I could not complete. I'm using built in nVidia ethernet that it recognizes. I enabled DHCP in the options menu. I know my default gateway IP, but am unsure what to provide as hostname or domain. I currently have a linux distro installed, so if there is a command i can run to retrieve the necessary info I can do that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mounting ext3fs partition
> Hi josh, > > Exactly, it is 256. So according to you, I can't use the mounted > filesystem, right? > > Could you please explain in more detail, what the problem is? > > Thanks in advance. I believe around e2fsprogs version 1.40.5 or so, they changed the default inode size from 128 to 256. The current ext2fs driver in FreeBSD has a hard-coded inode size defined: #define EXT2_INODE_SIZE128 I have a patch that dynamically determines this size, but I do not yet have a good enough understanding of the ext2/3 spec to decide if the changes I made are sufficient to fix the problem or if there is some risk of breakage because the extra 128 is required for some metadata of some sort. What happened in your case is something I was afraid of and what prompted me to look into a fix in the first place - namely, newer Linux distributions or even file systems created by e2fsprogs from ports in FreeBSD will be unusable with the current ext2fs driver, since it assumes a size of 128. There is some more information here regarding the patch and its current status: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2008-11/msg00421.html I (or even better, someone more knowledgeable about file systems) need to read through the ext2/3 spec and determine if the changes I've made cause any breakage. Thanks, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 SOLVED
--- On Wed, 12/3/08, Scot Hetzel <[EMAIL PROTECTED]> wrote: From: Scot Hetzel <[EMAIL PROTECTED]> Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], freebsd-questions@freebsd.org, [EMAIL PROTECTED] Date: Wednesday, December 3, 2008, 12:17 PM On 12/3/08, Dino Vliet <[EMAIL PROTECTED]> wrote: > Hi people, > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. > > uname -a gives: > FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 > > pkg_info | grep fuse gives: > > fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse > fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace > fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images > > Does anyone have a clue as to what is causing this behavior? How did you install the fusefs-kmod was it from a package or did you build it through the ports system? The most likely cause of this error is due to the fuse.ko module was not built against the same source as your kernel. Rebuild fusefs-kmod and that should resolve the problem. Scot Hi all, this did the trick, thanks! I rebuild my kernel and had to rebuild that port as well. Was sure I had done a portupgrade -fa before, but still it seemed I had to rebuild the port first. After this, I could start fusefs with the script in rc.d and after rebooting it recognized that option as well. Now I managed to mount my external disk with that as well, so everything is ok:-) Thanks again, Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
hp dv2225nr laptop optical drive random ejects
has anyone ever seen this happen? system is 8.0-current, drive is not being used and it will just eject while sitting on a table. the only error is from ata stating that the command was frozen or some sort. error isn't repeatable by user. I'm waiting for it to happen again so i can paste relevant info. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mounting ext3fs partition
On Wed, Dec 3, 2008 at 9:08 PM, Josh Carroll <[EMAIL PROTECTED]> wrote: > On Wed, Dec 3, 2008 at 2:45 PM, Fernando Apesteguía > <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems >> in my computer and I would like to have full access to all of them. >> >> I've mounted the NTFS partition without problems (though it is >> read-only, it's enough for me) >> >> I've compiled the kernel with the EXT2FS option. I can mount the partition >> with: >> >> mount -t ext2fs /dev/ad4s1 /mnt/linux >> >> note: the partition is actually a ext3fs... >> >> But if I enter the mount point and do "ls", I get: >> >> ls: /mnt/linux: Bad file descriptor > > Is is possible you are running into a case where the inode size of the > partition is not the previous default for e2fsprogs of 128. I have a > patch that addresses this, but I am hesitant to suggest it, since I > have not yet validated that it does not trample some additional ext2 > metadata. However, in the testing I've done, it has worked with all > the tests I've put it through. > > You can verify the inode size with: > > tune2fs -l /dev/ad4s1 | grep "Inode size" > > It is likely 256 (the new e2fsprogs default), in which case you will > not be able to see or use the mount without a fix. If you're > interested in my patch, let me know and I can send it to you (the > machine it is hosted on is down at the moment). Hi josh, Exactly, it is 256. So according to you, I can't use the mounted filesystem, right? Could you please explain in more detail, what the problem is? Thanks in advance. > > Thanks, > Josh > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: named and ntpd start order in rc.d
> FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It > continues to have 2 processes running, the process which does the DNS lookup > fails to exit, and ntpd fails to adjust the clock even after days of > running. Immediately after bootup and several hours or days later this is > what I get: > > # ps -U root | grep ntpd > 87837 ?? Ss 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > 87838 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > > If I do a "/etc/rc.d/ntpd restart" on a running system it fixes the problem, > and only one of the ntpd processes remains, and the clock gets adjusted. > > I have named running as a caching name server on my system. The contents of > my /etc/resolv.conf: > > domain nerius.com > nameserver 127.0.0.1 > > My /etc/rc.conf: > > ... > named_enable="YES" > ntpd_enable="YES" > ... > > I believe that the problem with ntpd is that named is started AFTER ntpd. > > Trying to reproduce problem. On a running system. I shut down named. Then > I restart ntpd, then I start named. I can reproduce the problem that > happens on bootup - ntpd has 2 processes and does not adjust the clock. > Restarting ntpd while named is running fixes the problem > > I believe that the fix for this is to add a dependency to /etc/rc.d/ntpd > script, adding "named" to "REQUIRE" section in comments. In your opinion, > is this a robust fix? For example the line in my /etc/rc.d/ntpd script that > looks like so: > > # REQUIRE: DAEMON ntpdate cleanvar devfs > > would be changed to this: > > # REQUIRE: DAEMON ntpdate cleanvar devfs named Modifying /etc/rc.d/ntpd in this manner did not fix the problem. I still have 2 ntpd processes running indefinitely after bootup of the system, until I manually issue a "/etc/rc.d/ntpd restart", after which the ntpd runs fine. As a separate test, I tried adjusting my resolv.conf to point to an external name server, and I disabled named at startup, and used the original /etc/rc.d/ntpd. I still got the same problem - 2 ntpd processes running indefinitely. Does anyone know why I'm getting 2 ntpd processes running after bootup (and ntpd fails to adjust the clock as a result)? Any suggested fix would be appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Returning User With Filesystem/Memory Tuning Questions
On Wed, Dec 03, 2008 at 01:24:09PM -0600, Kevin Monceaux wrote: > FreeBSD Fans, > > I think I've just about talked myself into coming back for another try. > First, to ZFS or not to ZFS, that is the question. While I like some of > the features ZFS has to offer, I realize it may be overkill for my needs. > The main thing I'm looking for is the ability to combine all the space > available on both hard drives of my home desktop box. Well, gconcat should do the trick. But it carries a risk in the sense that if one of the drives dies, you loose your data. I can't comment on ZFS since I haven't used it. I have two identical disks in my desktop, one is used as a backup. > If I remember correctly, the last time around I had some occasional memory > related application crashes. For example I had pan crash a few times > trying to open a large newsgroups. I've never had problems with pan, but I don't use it much anymore. Setting options with malloc.conf(5) can aid you with finding memory bugs. Application crashed can also be due to bad hardware, especially memory. Make sure that you rule out hardware troubles before diving into the software. > I know FreeBSD doesn't blindly allocate memory like Linux does, > but I would like to tune things to take full advantage of my available > memory. To the best of my knowledge, FreeBSD will use all the memory you have within limits set by hardware and software (e.g. limits(1)). Obviously the address space of i386 is becoming limited these days, and part of the address space is reserved for the kernel (1 GB on i386, IIRC). > Taking the above filesystem question into consideration, and wanting a > stable flash plugin, which FreeBSD version should I be going with? Go with the most recent. 7.1 is getting ready, but if you're comfortable with following 7-STABLE that's OK as well. If you want the binary flash plugin you'll have to stick to the i386 architecture. It won't work on amd64. But that goes for most binary stuff. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpAzZylD2Chk.pgp Description: PGP signature
Re: Mounting ext3fs partition
On Wed, 3 Dec 2008 20:59:42 +0100, "Fernando Apesteguía" <[EMAIL PROTECTED]> wrote: > Any clues? >From ports: sysutils/e2fsprogs? I don't have a Linux partition here so I cannot check / confirm. Maybe you could use ext3.fsck from this port to check the file system before mounting it? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Introduction
Wojciech Puchar([EMAIL PROTECTED])@2008.12.02 13:49:57 +0100: > > unfortunately i was too unaware of *BSD systems and used linux, until it > got so unusable with time i started to actively seek something else. What became unusable? Kernel or the userland? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mounting ext3fs partition
On Wed, Dec 3, 2008 at 2:45 PM, Fernando Apesteguía <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems > in my computer and I would like to have full access to all of them. > > I've mounted the NTFS partition without problems (though it is > read-only, it's enough for me) > > I've compiled the kernel with the EXT2FS option. I can mount the partition > with: > > mount -t ext2fs /dev/ad4s1 /mnt/linux > > note: the partition is actually a ext3fs... > > But if I enter the mount point and do "ls", I get: > > ls: /mnt/linux: Bad file descriptor Is is possible you are running into a case where the inode size of the partition is not the previous default for e2fsprogs of 128. I have a patch that addresses this, but I am hesitant to suggest it, since I have not yet validated that it does not trample some additional ext2 metadata. However, in the testing I've done, it has worked with all the tests I've put it through. You can verify the inode size with: tune2fs -l /dev/ad4s1 | grep "Inode size" It is likely 256 (the new e2fsprogs default), in which case you will not be able to see or use the mount without a fix. If you're interested in my patch, let me know and I can send it to you (the machine it is hosted on is down at the moment). Thanks, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
I don't know how Gjournal works, but it works below the filesystem (so ^^ next lines shows you actually know. thanks for answer, for me it's definitely not worth using, i would prefer waiting for fsck every few months or less than to have much slower writes i think it is not aware of metadata), see http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mounting ext3fs partition
On Wed, Dec 3, 2008 at 8:55 PM, Polytropon <[EMAIL PROTECTED]> wrote: > On Wed, 3 Dec 2008 20:45:23 +0100, "Fernando Apesteguía" <[EMAIL PROTECTED]> > wrote: >> But if I enter the mount point and do "ls", I get: >> >> ls: /mnt/linux: Bad file descriptor >> >> What am I doing wrong? > > Do you get the same error when the Linux partition is not > mounted? I'm asking because I have a similar problem caused > from a defective / missing inode. No, I don't get any errors if the filesystem is not mounted. But thanks for the hint, I didn't think about that possibility. Any clues? > > > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: restore superblock
fsck_ffs -b An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. On Wed, 3 Dec 2008, PJ wrote: I have been googling for superblock restore and things are a bit confusing. Some of the commands don't seem to match current fsck parameters (notably -b doesn't exist. Apparently I should be able to reconstruct the superblock(s) on my /usr partition (slice ?) as my searches found that there are backups of the superblocks on the files systems. But how do I find them and restore the corrupt ones? Not clear in my searches. I have another installation of fbsd 7.0 on another machine with the partitioning identical and identical hdds. How could I use the superblock and/or other information from the good installation to repair the damaged one - or would it be possible to recover the superblock info from the damaged one's backcups? Phil Jourdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Mounting ext3fs partition
On Wed, 3 Dec 2008 20:45:23 +0100, "Fernando Apesteguía" <[EMAIL PROTECTED]> wrote: > But if I enter the mount point and do "ls", I get: > > ls: /mnt/linux: Bad file descriptor > > What am I doing wrong? Do you get the same error when the Linux partition is not mounted? I'm asking because I have a similar problem caused from a defective / missing inode. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Returning User With Filesystem/Memory Tuning Questions
FreeBSD Fans, I think I've just about talked myself into coming back for another try. I've been a Linux user since the 1.x kernel days. I've tried switching my home desktop box to FreeBSD a couple of times now. The first time around was mainly to give ZFS a try. After getting tired of ZFS related crashes I ended up going back to Linux. After ZFS progressed a bit, and I had taken lots of notes on the tuning needed to make ZFS relatively happy, I tried again. That time around I got ZFS working fairly well but eventually got fed up with the lack of a stable flash plugin. On the one hand, I hate sites that try to force flash upon users. On the other hand, if someone sends me a link to an amusing sounding YouTube video or I want to view the radar map at Weather.com, etc., it's a pain to be among the flash impaired. I've been browsing the mailing lists from time to time and it sounds like flash is working well enough for the limited times I'd use it, so I'm considering giving it one more try. With any of the following questions any suggestions, including RTSM(Read The Smeggin Manual) suggestions, are welcomed. With RTSM suggestions, they are even more welcomed if they include which manual and section to read. :-) First, to ZFS or not to ZFS, that is the question. While I like some of the features ZFS has to offer, I realize it may be overkill for my needs. The main thing I'm looking for is the ability to combine all the space available on both hard drives of my home desktop box. One drive is 120GB and the other is 250GB. Well, actually, I think those are marketing gigabytes. I'd be happy with either having all the space combined and available to the root filesystem, or a separate UFS root filesystem and the remaining space available for everything else. The last time around I set up root on UFS + /var, /usr, /home, /tmp, etc., on ZFS using instructions which I think were located at: http://wiki.FreeBSD.org/JeremyChadwick/FreeBSD_7.x_on_a_ZFS_pool though that page appears to no longer exist. Could something like gvinum or gconcat be used to achieve the above or should I go with ZFS? The box in question is a hyperthreaded Pentium 4 with 3GB of RAM. If ZFS is a good choice, could someone point me towards the current tuning recommendations for ZFS? If I remember correctly, the last time around I had some occasional memory related application crashes. For example I had pan crash a few times trying to open a large newsgroups. At the times of the crashes it appeared there was still plenty of free RAM and swap space was never even touched. I know FreeBSD doesn't blindly allocate memory like Linux does, but I would like to tune things to take full advantage of my available memory. I searched Google and tweaked some settings, though I forget which ones, which helped but didn't completely eliminate the crashes. What settings should I be looking at to tune to make the best use of my 3GB of memory and swap space. The last time around I set up quite a bit of swap space and it didn't appear to ever be touched. I want to keep swapping to a minimum but would prefer to have a little swapping going on than to have a program crash trying to allocate memory when there's both RAM and swap space available. Taking the above filesystem question into consideration, and wanting a stable flash plugin, which FreeBSD version should I be going with? I forget what I was running last time, but RELENG_7 sounds familiar. Is the 7.1-BETA2 iso recent enough or do I need to go with some flavor of STABLE or CURRENT? Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mounting ext3fs partition
Hi all, I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems in my computer and I would like to have full access to all of them. I've mounted the NTFS partition without problems (though it is read-only, it's enough for me) I've compiled the kernel with the EXT2FS option. I can mount the partition with: mount -t ext2fs /dev/ad4s1 /mnt/linux note: the partition is actually a ext3fs... But if I enter the mount point and do "ls", I get: ls: /mnt/linux: Bad file descriptor What am I doing wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
Le Wed, 3 Dec 2008 15:21:19 +0100 (CET), Wojciech Puchar <[EMAIL PROTECTED]> a écrit : > >>> I use gjournal since FreeBSD 7.0 and it seems to work fine. > >> is it really smart enough to not write everything twice or am i > >> wrong? > > > > It writes everything twice :) > > > > (but every journaling system has to write something twice) > > there is a big difference between something (metadata, short data > writes and everything (like huge file data) I don't know how Gjournal works, but it works below the filesystem (so i think it is not aware of metadata), see http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5 TB server
>> On Sun, 30 Nov 2008 17:45:40 +0200, >> "Valentin Bud" <[EMAIL PROTECTED]> said: V> I perfectly agree with you and yes there might be monsters out there V> in the ZFS on FreeBSD but the fact that us (the community) embrace V> the change and apply it makes the development of it possible and even V> faster. I'm all in favor of more development as far as weeding out the corner cases is concerned. I just don't want one of those cases to be found on my production server. V> I have thought about a decent UPS and already told them that they V> should install an alarm system of some sort because neither I nor any V> IT company can warranty them physical security. Physical security is their problem; just make sure you point that out so you're not on the hook for it. The UPS is essential; power isn't terribly clean (from an IT perspective) where I work, and I'm not exactly in the backwoods of America. V> The room is not possible :|, that would have been great. What do you V> think about a rack of some sort? Make sure your rack has plenty of room for ventilation. My only complaints about racks are too much server crowding and noise. -- Karl Vogel I don't speak for the USAF or my company Why Trick or Treating is Better than Sex #6: It's OK when the person you're with fantasizes you're someone else, because you are. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531
--- On Wed, 12/3/08, Kevin Kinsey <[EMAIL PROTECTED]> wrote: From: Kevin Kinsey <[EMAIL PROTECTED]> Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531 To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Date: Wednesday, December 3, 2008, 3:56 PM Dino Vliet wrote: > Hi people, > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error What does $file /usr/local/modules/fuse.ko say, and do you have Linux support built and enabled? Kevin Kinsey -- A failure will not appear until a unit has passed final inspection. *** Hi Kevin, That command gives the following result on my system: file /usr/local/modules/fuse.ko /usr/local/modules/fuse.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped I don't have linux support build and enabled. Is it necessary? Thanks Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
--- On Wed, 12/3/08, Scot Hetzel <[EMAIL PROTECTED]> wrote: From: Scot Hetzel <[EMAIL PROTECTED]> Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED], freebsd-questions@freebsd.org, [EMAIL PROTECTED] Date: Wednesday, December 3, 2008, 12:17 PM On 12/3/08, Dino Vliet <[EMAIL PROTECTED]> wrote: > Hi people, > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. > > uname -a gives: > FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 > > pkg_info | grep fuse gives: > > fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse > fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace > fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images > > Does anyone have a clue as to what is causing this behavior? How did you install the fusefs-kmod was it from a package or did you build it through the ports system? The most likely cause of this error is due to the fuse.ko module was not built against the same source as your kernel. Rebuild fusefs-kmod and that should resolve the problem. Scot Hi Scot, I installed it from ports. I think as a dependency on fusefs-ntfs? I will rebuild my system as I upgraded lately from 6.3 to 7, but I'm sure I just followed the handbook and did everything allright. Will post the results when I try this again afterwards. Brgds Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: restore superblock
PJ wrote: I have been googling for superblock restore and things are a bit confusing. Some of the commands don't seem to match current fsck parameters (notably -b doesn't exist. Apparently I should be able to reconstruct the superblock(s) on my /usr partition (slice ?) as my searches found that there are backups of the superblocks on the files systems. But how do I find them and restore the corrupt ones? Not clear in my searches. I have another installation of fbsd 7.0 on another machine with the partitioning identical and identical hdds. How could I use the superblock and/or other information from the good installation to repair the damaged one - or would it be possible to recover the superblock info from the damaged one's backcups? Phil Jourdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Here is what I get when I run fsck /dev/ad8s1f : **fsck /dev/ad8s1f **Last Mounted on /usr Phase 1 - Check Blocks and Sizes UNKNOWN FILE TYPE I=2802880 UNEXPECTED SOFT UPDATE INCONSISTENCY (I answered n to all the remove? [yn] questions) UNKNOWN FILE TYPE I=3297280 UNKNOWN FILE TYPE I=3297408 INCORRECT BLOCK COUNT I=4008454 (1440 should be 384) PHASE 2 - Check Pathnames DUP/BAD I=3297280 OWNER = ROOT MODE=40755 SIZE=8192 MTIME= JUL 21 14:25 2008 DIR= /lib Hope this give some useful information. Phil Jourdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mount_nfs from fstab with -L option?
Steve Polyack skrev: Roger Olofsson wrote: Dear mailing list, What would be the correct way to do the following: mount_nfs -L server:/path mnt when using the /etc/fstab file? Greetings from Sweden /Roger Any options passed to mount(8)may be added (comma separated) to the Options section in /etc/fstab. For example: # Device Mountpoint FSType Options Dump Pass# server:/path /mnt nfs rw,-L 00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.13/1826 - Release Date: 2008-12-03 09:34 Thank you Steve! /Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mount_nfs from fstab with -L option?
Roger Olofsson wrote: Dear mailing list, What would be the correct way to do the following: mount_nfs -L server:/path mnt when using the /etc/fstab file? Greetings from Sweden /Roger Any options passed to mount(8)may be added (comma separated) to the Options section in /etc/fstab. For example: # Device Mountpoint FSType Options Dump Pass# server:/path /mnt nfs rw,-L 00 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: /usr/ports/net/freeradius2 port broken
On Wed, Dec 3, 2008 at 2:26 AM, Marcel Grandemange <[EMAIL PROTECTED] > wrote: > Anyone else aware that the freeradius2 port is broken? > > > [EMAIL PROTECTED] /usr/ports/net/freeradius2]# make > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > => freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/. > => Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./. > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size unknown > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size of remote file is not known > freeradius-server-2.0.5.tar.bz2317 B 3535 Bps > ===> Extracting for freeradius-2.0.5 > => MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > => SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > ===> Refetch for 1 more times files: freeradius-server-2.0.5.tar.bz2 > freeradius-server-2.0.5.tar.bz2 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > => freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/. > => Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./. > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size unknown > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size of remote file is not known > freeradius-server-2.0.5.tar.bz2361 B 2208 Bps > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > => MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > => SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > ===> Giving up on fetching files: freeradius-server-2.0.5.tar.bz2 > freeradius-server-2.0.5.tar.bz2 > Make sure the Makefile and distinfo file > (/usr/ports/net/freeradius2/distinfo) > are up to date. If you are absolutely sure you want to override this > check, type "make NO_CHECKSUM=yes [other args]". > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > [EMAIL PROTECTED] /usr/ports/net/freeradius2]# make NO_CHECKSUM=yes > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > ===> Extracting for freeradius-2.0.5 > ===> freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found > bzip2: /usr/ports/distfiles//freeradius-server-2.0.5.tar.bz2 is not a bzip2 > file. > ===> Patching for freeradius-2.0.5 > ===> freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found > ===> Applying FreeBSD patches for freeradius-2.0.5 > patch: can't cd to > /usr/ports/net/freeradius2/work/freeradius-server-2.0.5: No such file or > directory > => Patch patch-config-security failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > [EMAIL PROTECTED] /usr/ports/net/freeradius2]# > > > Regards > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > [EMAIL PROTECTED] > The port works fine here it fallsback to ftp://ftp.freeradius.org/pub/freeradius/old/ which it should to grab 2.0.5.try updating your ports(if you have not already) and try again ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
restore superblock
I have been googling for superblock restore and things are a bit confusing. Some of the commands don't seem to match current fsck parameters (notably -b doesn't exist. Apparently I should be able to reconstruct the superblock(s) on my /usr partition (slice ?) as my searches found that there are backups of the superblocks on the files systems. But how do I find them and restore the corrupt ones? Not clear in my searches. I have another installation of fbsd 7.0 on another machine with the partitioning identical and identical hdds. How could I use the superblock and/or other information from the good installation to repair the damaged one - or would it be possible to recover the superblock info from the damaged one's backcups? Phil Jourdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Running X without a videocard
> > DISPLAY variable must point to display > > like IP-number:0 (or non-zero if you have more than 1 display :) > > Shouldn't that be IP-number:0.0 ? > > Olivier Only in case there are multiple screens on the specified server. (The first number, which is mandatory, IIRC, specifies the server and the second, optional, specifies its screen.) (-K -- (-K JohnNy aka Partial Derivative ∂ [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] [EMAIL PROTECTED] [skype] JohnNy64-konik [abandoned] pgpSE1GjYuW1b.pgp Description: PGP signature
mount_nfs from fstab with -L option?
Dear mailing list, What would be the correct way to do the following: mount_nfs -L server:/path mnt when using the /etc/fstab file? Greetings from Sweden /Roger ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
loader.conf issues
I did a quick search for this and didn't see anyone seeing this. I am running 7.0-PRERELEASE amd64 This is my loader.conf: vm.kmem_size_max="16106127360" vm.kmem_size="1073741824" kern.maxvnodes="80" However, this is what happens after reboot: store1# sysctl -a | grep kmem vm.kmem_size_scale: 3 vm.kmem_size_max: 3221225472 vm.kmem_size_min: 0 vm.kmem_size: 1073741824 store1# sysctl -a | grep kern.maxvn kern.maxvnodes: 10 store1# Is there some issue with vm.kmem_size_max being larger than 3G? If this has been fixed, let me know. I am using 7.0-RELEASE loader from amd64 iso since for some reason, when I complile a new loader on this Dell 2950-iii, I get an unusable loader (it just hangs before the screen to select safe mode, single user mode, etc). Thanks, Weldon ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is there anything weird I should know about using ipfw on alias addresses?
On Tue, 2 Dec 2008, Brett Davidson wrote: > Ian Smith wrote: > > On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson <[EMAIL PROTECTED]> > > wrote: > > > > > ifconfig shows the alias addresses correctly bound. > > > Creating an ipfw rule and testing it from the command line works > > > (connects out from master address, not alias) > > > > From website on alias address, the firewall blocks the packets. > > > > > > The weird thing is that it tags them (in the security log) as coming > > > from the master address (not the alias) out the correct interface. In a > > > normal world that would mean the packet would match! > > > > What's goin' on here Willis? > > > > Difficult to tell without seeing a) ifconfig b) netstat -rn c) at least the > > relevant firewall rule/s and d) log entries that illustrate your problem. > > Obscure sensitive information by all means, but otherwise pretend we > > haven't the slightest clue how your system is configured :) > > Fair enough. > > ifconfig below: > > bce1: flags=8843 mtu 1500 >options=3b >inet 210.5.50.5 netmask 0xffe0 broadcast 210.5.50.31 NB .. >inet 210.5.51.32 netmask 0x broadcast 210.5.51.32 >inet 210.5.51.27 netmask 0x broadcast 210.5.51.27 >inet 210.5.51.33 netmask 0x broadcast 210.5.51.33 >inet 210.5.51.34 netmask 0x broadcast 210.5.51.34 >inet 210.5.51.42 netmask 0x broadcast 210.5.51.42 >inet 210.5.51.4 netmask 0x broadcast 210.5.51.4 >ether 00:1c:c4:c0:56:94 >media: Ethernet autoselect (1000baseSX ) >status: active > > Relevant /etc/rc.conf entries : > ifconfig_bce1="inet 210.5.50.5 netmask 255.255.255.224" > ifconfig_bce1_alias0="inet 210.5.50.5 netmask 255.255.255.224" Your first alias here is a repeat of the 'primary' address. ifonfig seems to have resolved/merged that above, but it's not an alias. > ifconfig_bce1_alias1="inet 210.5.51.4 netmask 255.255.255.255" > ifconfig_bce1_alias2="inet 210.5.51.27 netmask 255.255.255.255" > ifconfig_bce1_alias3="inet 210.5.51.32 netmask 255.255.255.255" > ifconfig_bce1_alias4="inet 210.5.51.33 netmask 255.255.255.255" > ifconfig_bce1_alias5="inet 210.5.51.34 netmask 255.255.255.255" > ifconfig_bce1_alias6="inet 210.5.51.42 netmask 255.255.255.255" I didn't spot on first reading this that the first address is in a different subnet than all the others. I'm not entirely sure whether that's relevant, or how, just pointing it out as being non-obvious, and suspecting one of the 210.5.51 subnet should show a broader netmask. > Relevant ipfw rules : > ipfw -q add 02012 allow tcp from any to 208.69.123.164 80 out via bce1 setup > keep-state > ipfw -q add 02012 allow tcp from any to 208.69.123.164 443 out via bce1 setup > keep-state netstat -finet -rn (or -rna) please? unclear where your default route goes, or how the 210.5.51 subnet is routed or its netmask, but assume that 208.69.123.164 is probably accessed via the default route .. > Interesting entries in /var/log/security : > Dec 1 16:42:25 kernel: ipfw: Deny TCP 210.5.50.5:49708 > 208.69.123.164:80 out via bce1 Did that occur =after= the above rules were installed? Just the one? Seems odd on face value, but without knowing what your other rules do. > What makes this interesting is that I can connect to that port via the > command line. You mean like with 'telnet 208.69.123.164 80' ? With 210.5.50.5 as source address? tcpdump output may help understand or explain this. > It's the website that lives on 210.5.51.42 that is having problems. Why, if > the rule is valid enough for the command line is it having problems from an > aliased address? Hang on; do you mean you're having a webserver on 210.5.51.42 trying to connect out to another webserver on 208.69.123.164 ? If not, what? I guess you have rules allowing inbound port 80 access to 210.5.51.42 ? And that your upstream is routing 210.5.51.42/something to 210.5.50.5 ? > This MUST have something to do with the way ipfw is working with aliased > addresses but I'm blowed if I know what is wrong. ipfw doesn't do anything different with any address in particular except when using the forward action. ipfw certainly has no concept of primary or alias addresses, it just applies the addresses/masks you specify. Nor does ipfw know or care (even when forwarding) whence the stack is next going to route outbound packets .. but netstat -rn will tell us. cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cvs stupid question
i try export [EMAIL PROTECTED]:/home/ncvs cvs checkout -rRELENG_7 src waited over an hour, no files got fetched what i'm doing wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPSec + vpn + multicast
Hello, I followed the handbook instructions and the ipsec(4) man page to setup vpn-over-ipsec for our company's site-to-site connection via our dedicated T1. Anyway I have it working but I found that I need to make sure that multicast traffic can traverse through the two subnets. I have the following options in my kernel: FreeBSD somebox.domain.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Fri Nov 21 08:11:47 PST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sysKERNEL i386 device crypto options IPSEC options IPSEC_FILTERTUNNEL options IPSEC_DEBUG #debug for IP Security options IPSEC_NAT_T ipsec-tools: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for ipsec-tools-0.7.1 _OPTIONS_READ=ipsec-tools-0.7.1 WITH_DEBUG=true WITH_IPV6=true WITHOUT_ADMINPORT=true WITHOUT_STATS=true WITH_DPD=true WITH_NATT=true WITH_NATTF=true WITH_FRAG=true WITH_HYBRID=true WITHOUT_PAM=true WITHOUT_RADIUS=true WITHOUT_LDAP=true WITHOUT_GSSAPI=true WITHOUT_SAUNSPEC=true WITH_RC5=true WITH_IDEA=true Does anyone know how I can accomplish this? The goal is to try and have transparency between the two sites to and try and get Bonjour working. Thanks for your help. --gabe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update through proxy with auth
On Wed, 03 Dec 2008 10:36:29 +0200 "DA Forsyth" <[EMAIL PROTECTED]> wrote: > Hiya > > How do I get freebsd-update to fetch through a proxy that requires > authentication? I cannot find any options in the man pages. > have you tried putting it in the proxy name http://user:[EMAIL PROTECTED]:port ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531
Dino Vliet wrote: Hi people, kldload: can't load /usr/local/modules/fuse.ko: Exec format error What does $file /usr/local/modules/fuse.ko say, and do you have Linux support built and enabled? Kevin Kinsey -- A failure will not appear until a unit has passed final inspection. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
which version for an eee pc 901?
Hi, I have been following the progress (well done so far everyone involved!) on the Asus EEE PC Wiki pages, but had a quick question: All the drivers committed/in development/done so far, will they be included in Rel 7_1? Or would I need to keep tracking 7 stable, or even, current (8.0?) This is for my personal EEE PC - a 901 (currently running the default xandros, but looking forward to moving towards FreeBSD!) Thanks, Alun. --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
I use gjournal since FreeBSD 7.0 and it seems to work fine. is it really smart enough to not write everything twice or am i wrong? It writes everything twice :) (but every journaling system has to write something twice) there is a big difference between something (metadata, short data writes and everything (like huge file data) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
sniffit requires config file?
Whenever I use sniffit on a new machine, I have to create this conf file: select both mhosts 0 select both mhosts 1 select both mhosts 2 select both mhosts 3 select both mhosts 4 select both mhosts 5 select both mhosts 6 select both mhosts 7 select both mhosts 8 select both mhosts 9 Not a huge deal, but can I make sniffit sniff all packets w/o a conf file? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
Wojciech Puchar wrote: >>> what file system would you choose? What options are out there besides >>> UFS and ZFS? What FS's are least likely to have corruption issues >>> when there are power hits? >> >> May be UFS + gjournal. >> I use gjournal since FreeBSD 7.0 and it seems to work fine. > is it really smart enough to not write everything twice or am i wrong? It writes everything twice :) (but every journaling system has to write something twice) signature.asc Description: OpenPGP digital signature
Basic Tulip questions
I just installed Tulip on my FreeBSD server. The server has X11 installed, but isn't running it. I asked the questions below to the Tulip list ([EMAIL PROTECTED]) earlier, but got no reply, so I was hoping someone here was familiar w/ it and could help me. Does Tulip have a command-line mode? Can Tulip recognize graphviz-generated graph files such as those attached? I couldn't find a way to load these into Tulip? My experience has been w/ graphviz, and my goal is to create planar graphs from various data sources. Graphviz does this, but the resulting graphs tend to (ironically) have both overlapping nodes (boxes too close to each other) AND excessive space between nodes (the graphs could be a lot more compact). In some cases, graphviz creates unnecessarily huge (eg, 32768x32768) GIF files for fairly simple graphs. I'm hoping Tulip will automatically draw fairly nice graphs + have options that let me make them look even nicer, ideally from the command-line. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. by-balloon-sahara.dot Description: Binary data digraph x { edge [fontsize=10,fontcolor=red,arrowhead=open]; node [shape=polygon,fontsize=10,fontcolor=blue]; large_brass_bed [label="large brass bed\n(sheets, pillow)"]; large_brass_bed -> bedroom [label="get up"]; bedroom [label=" bedroom\n(window, bed)"]; bedroom -> ledge_outside_window [label="go window"]; ledge_outside_window [label="ledge outside window\n(flag pole)"]; ledge_outside_window -> bedroom [label="go window"]; bedroom [label="bedroom"]; bedroom -> hall [label="n"]; hall [label="hall"]; hall -> bathroom [label="n"]; bathroom [label="bathroom\n(mirror, watch, toilet)"]; bathroom -> hall [label="s"]; hall [label="hall"]; hall -> outside_castle [label="e"]; outside_castle [label="outside castle\n(coat-of-arms, bell pull)"]; outside_castle -> meandering_path [label="e"]; meandering_path [label="meandering path\n(castle, fence/gate, crowd)"]; meandering_path -> GAME_END [label="go gate"]; GAME_END [label="GAME END"]; hall [label="hall"]; hall -> kitchen [label="w"]; kitchen [label="kitchen\n(oven, DW)"]; kitchen -> DW_kitchen [label="go dumb"]; DW_kitchen [label="DW (kitchen)"]; DW_kitchen -> DW_pantry [label="raise dumbwaiter"]; DW_pantry [label="DW (pantry)"]; DW_pantry -> pantry [label="go room"]; pantry [label="pantry\n(matches, garlic, DW)"]; DW_kitchen [label="DW (kitchen)"]; DW_kitchen -> DW_workroom [label="lower dumbwaiter"]; DW_workroom [label="DW (workroom)"]; DW_workroom -> workroom [label="go room"]; workroom [label="workroom\n(door, mallet, DW, vent, memo)"]; workroom -> dungeon [label="d"]; dungeon [label="dungeon\n(pit, iron rings)"]; dungeon -> pit [label="go pit"]; pit [label="pit\n(torch)"]; workroom [label="workroom"]; workroom -> closet [label="go door"]; closet [label="closet\n(vial, dust, no-doz)"]; closet -> workroom [label="w"]; workroom [label="workroom"]; kitchen [label="kitchen"]; kitchen -> giant_solar_oven [label="go oven"]; giant_solar_oven [label="giant solar oven\n(nail file, lens)"]; giant_solar_oven -> kitchen [label="w"]; kitchen [label="kitchen"]; ledge_outside_window [label="ledge outside window"]; ledge_outside_window -> hanging_on_sheet [label="climb sheet"]; hanging_on_sheet [label="hanging on sheet"]; hanging_on_sheet -> flower_box [label=" go window"]; flower_box [label="flower box\n(daisies)"]; flower_box -> doorless_room [label="go window"]; doorless_room [label="doorless room\n(portrait, window)"]; doorless_room -> flower_box [label=" go window"]; flower_box [label=" flower box"]; flower_box -> hanging_on_sheet [label=" climb sheet"]; hanging_on_sheet [label=" hanging on sheet"]; hanging_on_sheet -> ledge_outside_window [label=" climb sheet"]; ledge_outside_window [label=" ledge outside window"]; doorless_room [label="doorless room"]; doorless_room -> dark_passage [label="go passage"]; dark_passage [label="dark passage"]; dark_passage -> crypt [label="n"]; crypt [label="crypt\n(cigarettes, vent, sign, coffin)"]; crypt -> large_coffin [label=" go coffin"]; large_coffin [label="large coffin\n(slide bolt)"]; large_coffin -> crypt [label="u"]; crypt [label="crypt"]; crypt -> dark_passage [label="s"]; dark_passage [label="dark passage"]; dark_passage -> doorless_room [label="s"]; doorless_room [label="doorless room"]; } ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
what file system would you choose? What options are out there besides UFS and ZFS? What FS's are least likely to have corruption issues when there are power hits? May be UFS + gjournal. I use gjournal since FreeBSD 7.0 and it seems to work fine. is it really smart enough to not write everything twice or am i wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: open multiple xterms with script
On Wed, 3 Dec 2008 09:58:52 +0200, "Aggelidis Nikos" <[EMAIL PROTECTED]> wrote: > some additional questions: > > 1) is there any way to give the root password once? i tried this: > #!/bin/sh > > su root -c "\ > xterm -geometry 80x25 -title 'App 1' -e 'app1' & > xterm -geometry 80x25 -title 'App 2' -e 'app2'\ > " > > but i get this: > xterm Xt error: Can't open display: %s Exactly. When you su root, $DISPLAY is not set, so you would have to set it first, maybe like this: #!/bin/sh su root -c "\ export DISPLAY=:0.0; \ xterm -geometry 80x25 -title 'App 1' -e 'app1' & xterm -geometry 80x25 -title 'App 2' -e 'app2' \ " > 2) > Is there any way to > instruct xterm not to close after the execution of the program? You could do this: xterm -geometry 80x25 -title 'App 1' -e 'app1 ; csh' & which would start your prefered dialog shell when "app1" has finished. The dialog shell would run even if "app" fails (thatÄs why I suggest using ; instead of &&). > So basically the idea is open 4 terminals, execute a specific command > inside them but if the command finishes or stops, the terminal stays > {with a new prompt}. This sould be able to be achieved using the example above. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best Journaling File System - ZFS/???
Le Tue, 2 Dec 2008 08:57:58 -0800, "Don O'Neil" <[EMAIL PROTECTED]> a écrit : > With all the discussions of ZFS lately, I'm beginning to wonder if > it's really ready for a production environment. Concerns over memory > utilization, speed, stability, etc... > > So, my question is this... If you were building a brand new 6.3/7.0 > server with decent performance (dual core, 32 Bit OS - because of > known compatibility issues with specific software, 4 GB RAM, etc...) > what file system would you choose? What options are out there besides > UFS and ZFS? What FS's are least likely to have corruption issues > when there are power hits? May be UFS + gjournal. I use gjournal since FreeBSD 7.0 and it seems to work fine. Regards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pasting via ssh causes data loss
Didn't found on lists.freebsd.org, so I resend it On 1 дек, 05:03, Chris <[EMAIL PROTECTED]> wrote: > I was curious about your situation and set up a couple of tests. Noting > you mentioned iTerm, I thought I might be able to recreate it on a Mac > (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due > to unreliability sometime back). I've downloaded iTerm for this test. I'm using Apple's Terminal.app. > I copied a 23094 byte program I was working on locally in MacVIM. I > first did > a cat >testfile then pasted through an ssh terminal.app connection > over satellite (very > bad connection) into a FreeBSD 7.0 box I built in the last month. At > the far end it received 23094 bytes. sftp of the file to the remote and > diff showed no differences. I then opened an ssh session to a FreeBSD > server > on my local lan and repeated with the same results. No problems. I believe that FreeBSD fetches all data. When I ssh back to my mac from FreeBSD, I recieve all data all the time. TCP should handle errors, so nothing surprising here. > The problem does not appear to be obvious or common so there must be > something > unique about how this situation if you have reproduced it on two > different terminal programs using ssh that would work correctly to other > servers using the same shell and collection method (e.g. cat >blah). I tried zsh, sh, bash and my program on the freebsd box. > Something missing here. Have you checked if you have > errors shown on the interface of the server? Are there losses if you > sftp > the files from your machine to the remote (Try pushing a 1.5 MB file and > see if that shows failures). Did you install something other than the > default > OpenSSH on the server? Do the text files have something other than text > in them or even control sequences for the remote? Just taking > potshots here. sftp doesn't lose data. Even cat file | ssh host 'cat >file' doesn't. Only pasting. It's 100% reproducible, I don't think it's some kind of side effect. $ netstat -I bge0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll bge0 1500 00:a0:d1:e3:fd:9c 55134708 0 48858321 0 0 (no errors) Terminal sessions:http://pastie.org/327615.txt? key=opkxhrjptnh3lebyn8rjlqhttp://pastie.org/327617.txt? key=gaznt1zmfi7usps74n2h5w I believe nothing strange was installed on the server... it's a typical freebsd web-server. > A somewhat side note here, I would personally never think to move > files this > way since it's quite possible that content of files can disrupt the > stream. > I tend to use sftp. I never do that for binary files. I use sftp either. However, when I need to change some source on a server, I already have an opened text editor with the file and a terminal, in that case cat >file is just quickier. BTW, thank you for your help, guys... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and hardware??
Bruce Cran wrote: On Tue, 02 Dec 2008 14:04:51 -0500 michael <[EMAIL PROTECTED]> wrote: Bob McConnell wrote: 2. Do an SMB mount of remote directories onto the desktop or your home directory. Open any application and access files in that directory as easily as when they are on the local drive. [...] also, my vlc sees any mounted drive or directory, no matter the protocol. so does mplayer, etc. i don't know why your system doesn't operate correctly, but i don't have that issue at all. e,g: /mnt/Azureus Downloads this mount is mounted over samba from a computer on the other side of the house, and i see everything on it and play my files over the network. But it doesn't work if you use "Places -> Connect to Server" - the share appears on the Desktop as though it's mounted, but you have to realise that it's actually a GVFS mount, not a kernel-level mount. So only Gnome applications which know about GVFS are able to see the files. yeah.. i don't use that. mine are mounted with smbfs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Urgent assistance with Building Qt4-sql
Just updated my ports via csup and i need qt4-sql installed as a dependency for KDE4.1.3, but it refuses to let me compile it with the following error reguardless if i use the little-endian or big-endian trigger, the result is the same... == The target system byte order could not be detected! Turn on verbose messaging (-v) to see the final report. You can use the -little-endian or -big-endian switch to ./configure to continue. ===> Script "configure" failed unexpectedly. Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the "/usr/ports/databases/qt4-sql/work/qt-x11-opensource-src-4.4.1/src/sql/../..//config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/databases/qt4-sql. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.13456.0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/qt4-sql (unknown build error) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
On 12/3/08, Scot Hetzel <[EMAIL PROTECTED]> wrote: > On 12/3/08, Dino Vliet <[EMAIL PROTECTED]> wrote: > > Hi people, > > > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 > running 7.0 because when I try to load fusefs with this command, kldload > /usr/local/modules/fuse.ko I get the following error: > > > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > : > > > > Does anyone have a clue as to what is causing this behavior? > > > How did you install the fusefs-kmod was it from a package or did you > build it through the ports system? > > The most likely cause of this error is due to the fuse.ko module was > not built against the same source as your kernel. Rebuild fusefs-kmod > and that should resolve the problem. > I usually see this problem after cvs updating the FreeBSD sources and then rebuilding a module, and trying to load that module. Rebuilding the kernel and all external modules should resolve the problem. Scot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253
On 12/3/08, Dino Vliet <[EMAIL PROTECTED]> wrote: > Hi people, > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 > running 7.0 because when I try to load fusefs with this command, kldload > /usr/local/modules/fuse.ko I get the following error: > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to > /boot/loader.conf and rebooting doesn't help either, because then that error > message is printed on the console. > > uname -a gives: > FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 > 13:42:17 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 > > pkg_info | grep fuse gives: > > fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse > fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace > fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images > > Does anyone have a clue as to what is causing this behavior? How did you install the fusefs-kmod was it from a package or did you build it through the ports system? The most likely cause of this error is due to the fuse.ko module was not built against the same source as your kernel. Rebuild fusefs-kmod and that should resolve the problem. Scot ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
Leslie Jensen skrev: Mel skrev: On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: How would you guys uninstall a meta-port? I'm considering a move to kde4 but I want a clean install, so I want to remove the kde3 meta-port first. cd /usr/ports/x11/kde3 for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; portname=`make -C ${origin} -V PORTNAME`; pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; done cd /usr/ports/ports-mgmt/pkg_cutleaves make install pkg_cutleaves -xg Delete all leaves you are sure you don't need anymore, till no leaves are left. Thanks Mel I did a [EMAIL PROTECTED]/usr/ports/x11/kde3:make PORTNAME make: don't know how to make PORTNAME. Stop How do I solve the error? /Leslie Problem solved Answering my own question. I forgot the -V. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Pasting via ssh causes data loss
01.12.2008, в 15:52, Mel написал(а): Can't check telnet... there's no telnet demon around. inetd: $ grep telnet /etc/inetd.conf #telnet stream tcp nowait root/usr/libexec/telnetd telnetd #telnet stream tcp6nowait root/usr/libexec/telnetd telnetd Quick setup: remove appropreate hashmark above /etc/rc.d/inetd onestart It works :( All 6060 bytes are saved. I tried ssh -vvv, nothing between connect and disconnect. It's definitely not an EOF. It just loses some part of data, doesn't stop receiving after some point. Where does it get lost? Meaning, does it get over the wire? Hard to check encrypted, but a 3k diff should show up in number of the IP packets sent. Is it possible to compare tcpdump linux <-> linux vs linux <-> freebsd on the receiving end? I'm on Mac OS X, so tcpdumps: I to freebsd http://pastie.org/327953.txt?key=zaehiz6bxcxs3rjuyfbtyq freebsd to me http://pastie.org/327954.txt?key=autckpywar1mkngb9re0w I to linux http://pastie.org/327955.txt?key=klqvsd73l3flhayoykeeq linux to me http://pastie.org/327952.txt?key=uu1cpgleuhnctwcuqzxlw However, I'm not sure it's helpful. I mean you can't look inside a packet, because it was encrypted. Headers and packet size depends on many factors. For example, if you compare linux and freebsd tcpdumps here, you'll see that freebsd ignore packet's checksums and linux has tcp timestamps turned off, and so on. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Uninstalling kde3 meta-port
Mel skrev: On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: How would you guys uninstall a meta-port? I'm considering a move to kde4 but I want a clean install, so I want to remove the kde3 meta-port first. cd /usr/ports/x11/kde3 for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; portname=`make -C ${origin} -V PORTNAME`; pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; done cd /usr/ports/ports-mgmt/pkg_cutleaves make install pkg_cutleaves -xg Delete all leaves you are sure you don't need anymore, till no leaves are left. Thanks Mel I did a [EMAIL PROTECTED]/usr/ports/x11/kde3:make PORTNAME make: don't know how to make PORTNAME. Stop How do I solve the error? /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Disenchanted with ZFS; alternatives?
Le 02/12/2008 à 22:58:28+0100, Wojciech Puchar a écrit > > To come back to FreeBSD, I'm using FreeBSD since > 10 years, UFS is very > > slow, and when UFS2 is release I'm very happy to switch to UFS2. > > simply turn on softupdates and turn off atime Yes I known that. But event that UFS2 >> UFS1 (hopefully ;-) ) It's especially true on squid server. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mer 3 déc 2008 09:55:39 CET ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: open multiple xterms with script
On Wed, 3 Dec 2008 09:58:52 +0200, "Aggelidis Nikos" <[EMAIL PROTECTED]> wrote: > Thank you for your help! > > some additional questions: > > 1) is there any way to give the root password once? i tried this: > #!/bin/sh > > su root -c "\ > xterm -geometry 80x25 -title 'App 1' -e 'app1' & > xterm -geometry 80x25 -title 'App 2' -e 'app2'\ > " > > but i get this: > xterm Xt error: Can't open display: %s su doesn't preserve the DISPLAY environment variable, so you can use one of the following: sudo bash -c "xterm & xterm &" su root -c "DISPLAY=$DISPLAY ; export DISPLAY ; xterm & xterm &" > i don't think i need something so complex. Is there any way to > instruct xterm not to close after the execution of the program? I'm not sure. It may be possible to play shell-specific tricks that cause `app1' to be executed as part of the shell's startup scripts. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531
Hi people, I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: kldload: can't load /usr/local/modules/fuse.ko: Exec format error Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. uname -a gives: FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 pkg_info | grep fuse gives: fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images Does anyone have a clue as to what is causing this behavior? I prefer to keep the external harddisk in ntfs format, although I could easily reformat it as ufs or ext3 because my whole system environment consists of bsd and linux. But I don't know if I will violate maxtor's guarantee. So I hope someone can help me with this. Brgds Dino ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd-update through proxy with auth
Hiya How do I get freebsd-update to fetch through a proxy that requires authentication? I cannot find any options in the man pages. -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"