Re: Is it possible to suspend to disk with geli+Root on ZFS installation
On Mon, Sep 30, 2013 at 2:47 AM, Ian Smith smi...@nimnet.asn.au wrote: In freebsd-questions Digest, Vol 486, Issue 7, Message: 5 On Sat, 28 Sep 2013 16:25:33 +0200 Roland Smith rsm...@xs4all.nl wrote: On Fri, Sep 27, 2013 at 05:37:55PM +1000, yudi v wrote: Hi all, Is it possible to suspend to disk (hibernate) when using geli for full disk encryption. As far as I can tell, FreeBSD doesn't support suspend to disk on all architectures. On amd64 the necessary infrastructure doesn't exist, and on i386 FPU state is lost, there is no multiprocessor support and some MSRs are not restored [1]. [1]: https://wiki.freebsd.org/SuspendResume Roland, sorry, no; you (and that page) are talking about Suspend to RAM, ACPI state S3. What you've said is correct re Suspend to RAM - though some running amd64 have achieved some success on some machines lately; most of the issues are with restoring modern video, backlight and such. Those i386 comments don't apply to my Thinkpad T23s, which suspend and resume, in console mode and X, flawlessly on 9.1-R and properly after various tweaks on 8.x, 7.x and 6.x - but they're a single core P3-M .. I must reiterate, FreeBSD does not support Suspend to Disk (state S4 aka 'hibernate') on ANY platform, except - perhaps - on machines supporting S4 in BIOS (hw.acpi.s4bios=1) which are very rarely spotted in the wild. And even suspend to RAM doesn't work on every machine [2]. [2]: https://wiki.freebsd.org/IdeasPage#Suspend_to_disk That page IS about Suspend to Disk - but only as a wishlist idea, as it has been for many years. Someone did take it on as a Google SoC project years ago, but nothing ever came of it to my knowledge. The last laptop I have that will properly hibernate - ie save RAM and all state to disk and power off, then reload all RAM and state on power return - is a 300MHz Compaq Armada 1500C (mfg '98), but using the older APM BIOS rather than ACPI. (It's still running, 24/7/365 since 2002 :) cheers, Ian Thanks Ian for clarifying that FreeBSD does not support Suspend to Disk. I just assumed all major distros supported all the suspend states. Now I am looking for a UPS that cleanly shuts down the machine when there is a power outage. I am looking at a APC Power-Saving Back-UPS ES 8 Outlet 700VA 230V AS 3112http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=BE700G-AZtotal_watts=200tab=features, anyone know if apcupsd daemon works fine under FreeBSD or should I be looking at Network UPS Tools (NUT). -- Kind regards, Yudi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Geli and ZFS
* * -- There are few different ways to set-up geli with ZFS. I just want to get some opinions (benefits and disadvantages) about the below two options *First option*: (most commonly encountered set-up) Have geli on the block device and ZFS on top of the geli provider. * Second option:* Create a ZFS Volume on a block device, then create geli provider on top of the ZFS volume, and finally, ZFS datasets on top. Generally, it's recommended to let ZFS manage the whole disk if possible, so I was wondering if the second option is better. I will be using couple of 3TB HDDs mirrored for data and want to encrypt them. I am hoping someone with an in-depth understanding of ZFS will be able to offer some insight. -- Kind regards, Yudi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Is it possible to suspend to disk with geli+Root on ZFS installation
Hi all, Is it possible to suspend to disk (hibernate) when using geli for full disk encryption. My set-up is listed below. So I am going to have an encrypted container and ZFS on top. There are two options for the swap with this set-up, either use a swap file on the ZFS pool or use a separate partition for swap and encrypt that. What I want to know is will either of this work with suspend to disk. Reading geli(8) http://man.freebsd.org/geli/8 man page does not say anything about suspending to disk. Geli itself has suspend and resume commands but looks like they cannot be used on the file system where geliutility is stored (so the root pool cannot be suspended?) And the onetime option does not support geli suspend. Thank you. Yudi PS. I haven't received any response to the email below, if someone would still like to answer some of the questions at the end, that would be wonderful. -- Forwarded message -- From: yudi v yudi@gmail.com Date: Fri, Sep 20, 2013 at 7:09 PM Subject: geli+Root on ZFS installation To: freebsd-questions@freebsd.org Hi, I managed to install with geli+root on ZFS setup but have a few questions. Most of the instructions just list commands but offer very little explanation. I adapted the instructions in https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE to suit my needs. Here's the process I used for the test on a VM: 2 GB RAM two HDDs 8 GB each mirrored - three partitions for boot code 128 KB for /boot 2 GB for the rest of the system and encrypted no key file for encrypted partitions, only passphrase using 9.1-RELEASE there will be no swap or handling of 4k drives, just to keep it as simple as possible. *Create the basic three partitions:* gpart destroy -F da0 gpart destroy -F da1 gpart create -s gpt da0 gpart create -s gpt da1 gpart add -s 128 -t freebsd-boot da0 gpart add -s 128 -t freebsd-boot da1 gpart add -s 2G -t freebsd-zfs da0 gpart add -s 2G -t freebsd-zfs da1 gpart add -t freebsd-zfs da0 gpart add -t freebsd-zfs da1 *Write boot code to both disks:* gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da1 *Load necessary modules:* kldload zfs kldload geom_eli * Encrypt the disks with only a passphrase:* geli init -b -s 4096 /dev/da0p3 geli init -b -s 4096 /dev/da1p3 geli attach /dev/da0p3 geli attach /dev/da1p3 *Creating ZFS datasets:* zpool create bootdir mirror /dev/da0p2 /dev/da1p2 zpool set bootfs=bootdir bootdir zpool create -R /mnt -O canmount=off tank mirror /dev/da0p3.eli /dev/da1p3.eli zfs create -o mountpoint=/tank/ROOT zfs set mountpoint=/mnt/bootdirbootdir zfs mount bootdir *Then exit out of the shell and go back to bsdinstall. Install as normal and then get back to the shell after bsdinstall finishes ( do not reboot yet).* Once in the newly installed system: mount -t devfs devfs /dev ( to use ZFS commands in the new environment) *Add the necessary variables/settings:* echo ‘zfs_enable=”YES”‘ /etc/rc.conf echo ‘vfs.root.mountfrom=”zfs:tank/ROOT”‘ /boot/loader.conf echo ‘zfs_load=”YES”‘ /boot/loader.conf echo ‘geom_eli_load=”YES”‘ /boot/loader.conf *Then create a zpool cache file:* zpool set cachefile=/boot/zfs/zpool.cache tank. *Then move the boot folder to the second partition under the bootdir dataset:* mv boot bootdir/ * Then set the final mount points:* zfs set mountpoint=legacy tank zfs set mountpoint=/bootdir bootdir *then reboot.* It should boot fine into the new system. - My questions: - *1.* Almost all the guides I came across, do not install to the root dataset, they only seem to use it to derive/mount other datasets/filesystems. One of the reasons is to user boot environments, what are the other possible reasons for doing this? *2*. Is it necessary to create a symbolic link to the /boot dir? Again one of the howtos on the web had this step ( https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/ ). ln -fs bootdir/boot *3*. This below option is where I had most trouble. This definitely needs to be present when using geli+ZFS, if it's only ZFS, then I think the bootfs flag suffices. Can someone with more knowledge of this please shed some light on when this entry is needed. vfs.root.mountfrom=”zfs:tank/ROOT” *4.* In the wiki link above, what is the purpose of: # zfs set mountpoint=/ zroot/ROOT # zfs set mountpoint=/zroot zroot I cannot understand the logic behind the second command. Does that mean zroot will display under / (root of the filesystem)? and Why? looking at the rest of the commands: # zfs set mountpoint=/tmp zroot/tmp # zfs set mountpoint=/usr zroot/usr # zfs set mountpoint=/var zroot/var so if ROOT is set to / then tmp, usr and var all appear under ROOT, is that right? *5.* There seems to be lot of variation on how the system directories are mounted under ZFS. In the above wiki
geli+Root on ZFS installation
Hi, I managed to install with geli+root on ZFS setup but have a few questions. Most of the instructions just list commands but offer very little explanation. I adapted the instructions in https://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/9.0-RELEASE to suit my needs. Here's the process I used for the test on a VM: 2 GB RAM two HDDs 8 GB each mirrored - three partitions for boot code 128 KB for /boot 2 GB for the rest of the system and encrypted no key file for encrypted partitions, only passphrase using 9.1-RELEASE there will be no swap or handling of 4k drives, just to keep it as simple as possible. *Create the basic three partitions:* gpart destroy -F da0 gpart destroy -F da1 gpart create -s gpt da0 gpart create -s gpt da1 gpart add -s 128 -t freebsd-boot da0 gpart add -s 128 -t freebsd-boot da1 gpart add -s 2G -t freebsd-zfs da0 gpart add -s 2G -t freebsd-zfs da1 gpart add -t freebsd-zfs da0 gpart add -t freebsd-zfs da1 *Write boot code to both disks:* gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da0 gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 1 da1 *Load necessary modules:* kldload zfs kldload geom_eli * Encrypt the disks with only a passphrase:* geli init -b -s 4096 /dev/da0p3 geli init -b -s 4096 /dev/da1p3 geli attach /dev/da0p3 geli attach /dev/da1p3 *Creating ZFS datasets:* zpool create bootdir mirror /dev/da0p2 /dev/da1p2 zpool set bootfs=bootdir bootdir zpool create -R /mnt -O canmount=off tank mirror /dev/da0p3.eli /dev/da1p3.eli zfs create -o mountpoint=/tank/ROOT zfs set mountpoint=/mnt/bootdirbootdir zfs mount bootdir *Then exit out of the shell and go back to bsdinstall. Install as normal and then get back to the shell after bsdinstall finishes ( do not reboot yet).* Once in the newly installed system: mount -t devfs devfs /dev ( to use ZFS commands in the new environment) *Add the necessary variables/settings:* echo ‘zfs_enable=”YES”‘ /etc/rc.conf echo ‘vfs.root.mountfrom=”zfs:tank/ROOT”‘ /boot/loader.conf echo ‘zfs_load=”YES”‘ /boot/loader.conf echo ‘geom_eli_load=”YES”‘ /boot/loader.conf *Then create a zpool cache file:* zpool set cachefile=/boot/zfs/zpool.cache tank. *Then move the boot folder to the second partition under the bootdir dataset:* mv boot bootdir/ * Then set the final mount points:* zfs set mountpoint=legacy tank zfs set mountpoint=/bootdir bootdir *then reboot.* It should boot fine into the new system. - My questions: - *1.* Almost all the guides I came across, do not install to the root dataset, they only seem to use it to derive/mount other datasets/filesystems. One of the reasons is to user boot environments, what are the other possible reasons for doing this? *2*. Is it necessary to create a symbolic link to the /boot dir? Again one of the howtos on the web had this step ( https://www.dan.me.uk/blog/2012/05/06/full-disk-encryption-with-zfs-root-for-freebsd-9-x/ ). ln -fs bootdir/boot *3*. This below option is where I had most trouble. This definitely needs to be present when using geli+ZFS, if it's only ZFS, then I think the bootfs flag suffices. Can someone with more knowledge of this please shed some light on when this entry is needed. vfs.root.mountfrom=”zfs:tank/ROOT” *4.* In the wiki link above, what is the purpose of: # zfs set mountpoint=/ zroot/ROOT # zfs set mountpoint=/zroot zroot I cannot understand the logic behind the second command. Does that mean zroot will display under / (root of the filesystem)? and Why? looking at the rest of the commands: # zfs set mountpoint=/tmp zroot/tmp # zfs set mountpoint=/usr zroot/usr # zfs set mountpoint=/var zroot/var so if ROOT is set to / then tmp, usr and var all appear under ROOT, is that right? *5.* There seems to be lot of variation on how the system directories are mounted under ZFS. In the above wiki link, there seems to be separate filesystems created under the root dataset for usr, var, tmp, usr/home What's the logic? Are there any general guidelines/best practice instructions? Thank you. Yudi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: swap partition leads to instability?
jb jb.1234abcd at gmail.com writes: M. V. bored_to_death85 at yahoo.com writes: recently I heard from a FreeBSD expert that I shouldn't have swap partition for my server, and having swap partition could make my server unstable. I think your FB expert was up to something. I bet he spoke out of experience. Swapping by itself can decrease system reliability due to possible data corruption on swap disk or during two-way transfers, with subsequent incorrect RAM and machine crash. But, swapping is also a symptom, not a problem. It is never a good idea to let it get to that point. ... http://blog.jcole.us/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/ Very interesting point. - do you think this could hurt my server's stability too? (most of its work is a noticeable amount of packet-forwarding, and other network services, like firewall, dhcp server, ntp server, etc) - if so, in what conditions? can I do something to prevent this? or should I just get rid of the swap partition? - does swap partition do any good for me at all? I mean if we even suppose nothing bad happens because of it, is it worth risking to keep it? thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
swap partition leads to instability?
hi everyone, I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a long time now. But recently I heard from a FreeBSD expert that I shouldn't have swap partition for my server, and having swap partition could make my server unstable. this was so strange for me, and I searched a lot but couldn't find a reason for this claim. so my question is simple: - could having a swap partition, be a bad thing for my FreeBSD server? and if so, why and in what conditions? Cheers! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
new backup server file system options
Hi all, I am building a new freebsd fileserver to use for backups, will be using 2 disk raid mirroring in a HP microserver n40l. I have gone through some of the documentation and would like to know what file systems to choose. According to the docs, ufs is suggested for the system partitions but someone on the freebsd irc channel suggested using zfs for the rootfs as well Are there any disadvantages of using zfs for the whole system rather than going with ufs for the system files and zfs for the user data? -- Kind regards, Yudi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to determine the temperature of your CPU?
25.07.2012 18:16, ill...@gmail.com wrote: On 25 July 2012 07:55, Владислав Продан univers...@ukr.net wrote: CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 # kldstat -v | grep temp 319 cpu/coretemp 311 hostb/amdtemp % sysctl dev.amdtemp % sysctl hw.acpi.thermal the other stuff is probably best extracted via: % sysctl dev.cpu | grep temperature (as you can't use wildcards in sysctl oids, bleh) For my dual core machine, I use: % sysctl hw.acpi.thermal.tz0.temperature dev.amdtemp.0.sensor0 \ dev.amdtemp.0.sensor1 dev.cpu.0.temperature dev.cpu.1.temperature in a script to quickly see all of my temperature sensors. You likely have many more. Thanks for the tips! But I have already tried these commands. With 2,4,6-core temperature is displayed, but with 8 cores is not :( Probably will have to arrange PR ... -- Vladislav V. Prodan System Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to determine the temperature of your CPU?
26.07.2012 1:55, Polytropon wrote: On Wed, 25 Jul 2012 14:55:00 +0300, Владислав Продан wrote: CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x600f12 Family = 15 Model = 1 Stepping = 2 # kldstat -v | grep temp 319 cpu/coretemp 311 hostb/amdtemp There are programs in ports like mbmon and xmbmon to easily output the CPU temperature values. Thank you! mbmon shows the temperature of the CPU. -- Vladislav V. Prodan System Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Do not work turn-off line to syslogd last message repeated N times'
Subj. # uname -a FreeBSD XXX.ru 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #1: Mon Dec 5 14:56:07 EET 2011 r...@xxx.ru:/usr/obj/usr/src/sys/XXX.2 amd64 # ps -auxww | grep syslog root 84784 0,0 0,0 12168 1348 ?? Ss ср00 0:03,24 /usr/sbin/syslogd -sc root 24776 0,0 0,0 16408 1364 9 S+2:50 0:00,00 grep syslog #man syslogd ... -c Disable the compression of repeated instances of the same line into a single line of the form ``last message repeated N times'' when the output is a pipe to another program. If specified twice, disable this compression in all cases. ... -- Vladislav V. Prodan System Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Do not work turn-off line to syslogd last message repeated N times'
03.03.2012 0:59, Yuri Pankov wrote: You have 'c' specified once and don't seem to be piping the output to another program. Try specifying 'c' twice as the part of the manpage you pasted suggests? It also does not work this version: # ps -auxww | grep syslog root 84784 0,0 0,0 12168 1348 ?? Ss ср00 0:03,24 /usr/sbin/syslogd -s -c -- Vladislav V. Prodan System Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Do not work turn-off line to syslogd last message repeated N times'
03.03.2012 1:10, Yuri Pankov wrote: Well, twice means cc :-) #man syslogd ... SYNOPSIS syslogd [-468ACcdkNnosuv] [-a allowed_peer] [-b bind_address] [-f config_file] [-l [mode:]path] [-m mark_interval] [-P pid_file] [-p log_socket] ... Where do you see an indication to use the -cc? I need to remove the logs from the line of the form: last message repeated N times -- Vladislav V. Prodan System Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Need Help with a Raid 1 Time critical issue.
On 08.02.2012 6:17, Morris Allen wrote: I have been using the following instructions, I am unable to maintain a Raid1 installation. I have sent this to the Bug group and programming group ( docs/164620 http://www.freebsd.org/cgi/query-pr.cgi?pr=164620cat=docs : Raid 1 issues) and was told to contact your groups. During the initial setup the Raid appears to be there. But when I reboot, the system stops, and will not totally reboot. One issue is my fstab file, using basis install, does not look anything like the file listed below. I really need to get this going my time is getting short and I am in trouble on this box. On reboot, it destroys the Raid that it indicated was present, before the reboot. I have listed my equipment below and have pasted a copy of the instructions I use to the letter. Probably as quick workaround you can set variable kern.geom.part.check_integrity=0 in your /boot/loader.conf. See also: http://lists.freebsd.org/pipermail/freebsd-geom/2012-January/005149.html -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: What unix program for a check the kernel file?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 14 Dec 2011, Oleg simonoff wrote: | |Hi to users of UNIX! | |What unix program is available for a check of a configuration file of the |kernel? | |I`ve got some trouble with configuration of my new kernel but i`d like to |find my mistakes myself |But if those mistakes will't be eliminated independently, i will write to you |again. | Please read the handbook - great thing to become FreeBSD guru: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html 9-th section: Configuring the FreeBSD Kernel +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFO6FdRbt6QiUlK9twRApn6AJwNwevR7J1uASBVf0/5C8EWwNls5QCgr0nU xn6FF1QHSBWYDwbC1/s+a/g= =HvC4 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re[2]: How to boot new kernel
On Mon, 12 Dec 2011, Коньков Евгений wrote: | | HI, krad. | | How I can figure out the correspondence of bios drive number and | freebsd numbering? | | | | Have a look at boot.config file you should be able to do something | there | | On Dec 11, 2011 8:57 PM, Kon'kov Evgenij [1]kes-...@yandex.ru | wrote: | | Hi Freebsd-questions. | | In system two disks now: | | # kenv | grep dev | | currdev=disk1s1a: | | loaddev=disk1s1a: | | loader_conf_files=/boot/device.hints /boot/loader.conf | /boot/loader.conf.local | | vfs.root.mountfrom=ufs:/dev/ad8s1a | | kern.devalias.ada0=ad4 | | kern.devalias.ada1=ad8 | | one was with installed FreeBSD (ad4) and second is empty (ad8) | | I install new system to ad8 and add to (ad4) /boot/loader.conf next | line: | | vfs.root.mountfrom=ufs:/dev/ad8s1a | | so next time I booted from second hdd. | | But now I have problem. | | How to boot kernel from second device instead of first one. | | BIOS starts to run loader from first device (ad4) and kernel is booted | | from it but all other is mounted from (ad8) | | # df -h | | Filesystem SizeUsed Avail Capacity Mounted on | | /dev/ad8s1a 1G117M809M13%/ | | devfs 1.0k1.0k 0B 100%/dev | | /dev/ad8s1e 1G267M660M29%/tmp | | /dev/ad8s1f 39G 23G 13G64%/usr | | /dev/ad8s1d5.8G3.9G1.5G72%/var | | procfs 4.0k4.0k 0B 100%/proc | | devfs 1.0k1.0k 0B 100%/var/named/dev | | so in memory I have old kenel | | uname -a shows that #0: Sat Nov 12 20:17:02 EET 2011 | | (I have compiled new kenel on 2011 12 03 ) | | but on disk all is new: kernel and world. | | How to force to load kernel from second drive (without access to | | machine directly)? | You can specify an alternative slice on the next boot: boot0cfg -s XXX adYYY where XXX - slice number, YYY - disk number +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tell a minimum requirement for RAM for virtual machines (virtualbox)
21.05.2011 18:57, Adam Vande More wrote: Couple things to think about. Virtualbox by default doesn't obey flush cache commands. This is potentially a very bad thing so you'll want to look a changing the default for any ZFS VM, and probably any VM doing DB operations unless speed is more of a priority than data integrity. The other thing to keep in mind is i386 binaries use less RAM than their amd64 counter parts. For this reason, I always make my VM's 32 bit to achieve higher VM density. I have not had trouble with ZFS on i385 with 1GB+ of RAM when following the recommended tuning, but I haven't used a heavily used them either. I prefer to use the MFSBSD ZFS v28 i386 iso for the install. Thanks for the recommendation, but I have all the workers of the amd64 and tests in the i386, with its restrictions did not see the point. Now start the virtual machine to 150MB RAM, FreeBSD 8.2-CURRENT amd64 on ZFS. -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Tell a minimum requirement for RAM for virtual machines (virtualbox)
Tell choice OS (8.2, 8.2-CURRENT or 9.0-CURRENT, FS (UFS or ZFS) and the minimum amount of RAM for use in such schemes: 1) the interaction of multiple routers with established quagga (bgpv4, bgpv6, ospf) 2) the work of two different modes of MYSQL replication servers/clusters. 3) backup zfs partitions/snapshots to a remote server Host machine - win7 64x with 6 GB of RAM Thank you for your advice. -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS-Only FreeBSD and crashdump
28.04.2011 22:25, Yuri Pankov wrote: Why not just use your swap partition as dumpdev? For example? When ZFS is started, it initializes the swap and core dump data will be erased, not having to perform savecore? -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ZFS-Only FreeBSD and crashdump
I have the ZFS-Only FreeBSD 8.2. # gpart show = 34 321672893 ad4 GPT (153G) 341281 freebsd-boot (64K) 162 335544322 freebsd-swap (16G) 33554594 2881183333 freebsd-zfs (137G) How to obtain crash dump, so he kept on zfs? Is it enough for it to correct /etc/rc.d/zfs, adding: # BEFORE: dumpon ? -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ZFS-Only FreeBSD and crashdump
28.04.2011 19:40, Andriy Gapon wrote: At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what you are asking. And when do planning to add support? :) Option to use to dump the usb-flash has its limitations, both on disk size and write speed? -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Options for Secondary DNS Service?
24.04.2011 15:33, Loïc Pefferkorn wrote: Le 11/04/2011 05:43, Pierre-Luc Drouin a écrit : Hi, I am looking for a secondary DNS service. Any suggestion? It is not for a non-profit organisation so I am not necessarily looking for a free solution, but I am wondering if there are reliable solutions for less than what dyndns charges ($40 /year/zone). Thanks! ___ Hello, You should give a try to http://www.xname.org Also try: http://www.dyndns.com/ https://dns.he.net/ http://secondary.net.ua/ -- Vladislav V. Prodan VVP24-UANIC +380[67]4584408 +380[99]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to add a few hundred ip on one interface?
11.02.2011 8:07, Matthew Seaman пишет: ipv4_addrs_re0=xxx.xxx.yyy.134-147/23 See rc.conf(5) for details. And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to add a few hundred ip on one interface?
11.02.2011 15:25, Guillermo Fernando Cotone wrote: On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: And this construction work? ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28 It would work only if all the IPs were on the same subnet. If you want to use different subnets you need to implement vlans on that interface first. man rc.conf ... One can configure more than one IPv4 address with the ipv4_addrs_interface variable. One or more IP addresses must be provided in Classless Inter-Domain Routing (CIDR) address notation, whose last byte can be a range like 192.0.2.5-23/24. In this case the address 192.0.2.5 will be configured with the netmask /24 and the addresses 192.0.2.6 to 192.0.2.23 with the non-conflicting netmask /32 as explained in the ifconfig(8) alias section. With the inter- face in question being ed0, an example could look like: ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-5/28 ... -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how to add a few hundred ip on one interface?
only a shell script at startup? or there are other standard tools? Is there a limit on the number of IP on one interface? ## make aliases IP for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.yyy.$i/23 alias done for j in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.xxx.$i/23 alias done -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to add a few hundred ip on one interface?
11.02.2011 1:52, patrick wrote: See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-ALIASES for more info. Note that aliases should have a netmask of 0x (255.255.255.255). Much difference in the appointment of netmask /23 or /32 are not seen. # ifconfig re0 re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 options=389bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC ether 90:e6:ba:25:1c:b5 inet XXX.XXX.XXX.12 netmask 0xfe00 broadcast XXX.XXX.XXY.255 inet6 fe80::92e6:baff:fe25:1cb5%re0 prefixlen 64 scopeid 0x1 inet XXX.XXX.XXX.18 netmask 0xfe00 broadcast XXX.XXX.XXY.255 inet 192.168.1.201 netmask 0xff00 broadcast 192.168.1.255 inet XXX.XXX.XXX.22 netmask 0x broadcast XXX.XXX.XXX.22 nd6 options=3PERFORMNUD,ACCEPT_RTADV media: Ethernet autoselect (100baseTX full-duplex) status: active # netstat -rn | grep XXX.XXX.XXX defaultXXX.XXX.XXX.1 UGS 060026re0 XXX.XXX.XXX.0/23 link#1 U 0 1605re0 XXX.XXX.XXX.12 link#1 UHS 00lo0 XXX.XXX.XXX.18 link#1 UHS 00lo0 XXX.XXX.XXX.22 link#1 UHS 00lo0 = XXX.XXX.XXX.22/32 link#1 U 00re0 -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: problem with shell script
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 13 Jan 2011, per...@pluto.rain.com wrote: |David Scheidt dsche...@panix.com wrote: | | ps ax | grep [s]lapd | wc -l | | The [] creates a one-character class that doesn't match the regex. | |Doesn't [s]lapd need to be quoted? [] are special to (at least some) |shells. Which FreeBSD version do you use? If it above 4.x you could try the following: `pgrep slapd | wc -l' or maybe `pgrep slapd | xargs ps | wc -l' or something like this, it depends on your criteria +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFNLserbt6QiUlK9twRAvApAKCoIAozDT98VzRkvE3bjPg9Fb2OZwCeLCVj l86YACf0Sd+Gu2vfujQNE/I= =pls0 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: HDD READ/Timeout messages after 8.2 Upgrade
31.12.2010 4:10, Derrick Ryalls wrote: Any pointers? Upgrade to an old build FreeBSD 8.1 Similar problems with working HDD in 9.0-CURRENT -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vla...@jabber.ru ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android phone and FreeBSD 8.1
On Tue, 28 Dec 2010, Polytropon wrote: On Tue, 28 Dec 2010 12:32:02 +0100, Fernando Apestegu?a fernando.apesteg...@gmail.com wrote: Hi all, I bought a GeeksPhone One[1]. It uses Android 2.2.1. I'm trying to get FreeBDS recognize the phone. [...] What can I do to access the phone's storage in FreeBSD? Seems to be the same issue I just had. See the mailing list archives of the last few days. In short: method (a) # true /dev/da0 # true /dev/da1 # true /dev/da2 # true /dev/da3 or method (b) # mount /dev/da0 /mnt # mount /dev/da1 /mnt # mount /dev/da2 /mnt # mount /dev/da3 /mnt will cause the proper device nodes (e. g. /dev/da0s1, /dev/da1s1, /dev/da2s1 and /dev/da3s1) corresponding to inserted media to appear. Those can then be mounted in the usual way. -- Polytropon 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 freebsd-questions-unsubscr...@freebsd.org With my phone, sometimes I have to enable Disc Drive ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Android phone and FreeBSD 8.1
On Tue, 28 Dec 2010, Fernando Apestegu?a wrote: 2010/12/28 Alejandro Imass a...@p2ee.org: 2010/12/28 Fernando Apestegu?a fernando.apesteg...@gmail.com: Hi all, I bought a GeeksPhone One[1]. It uses Android 2.2.1. I'm trying to get FreeBDS recognize the phone. When I plug it to the USB port and activate the Storage option, this is what dmesg reports: It's a wild guess but if you have Gnome installed, try disabling HAL (after you are in your Gnome desktop) before you plug-in the telephone and before you press the activate usb mass storage option on the droid. No luck :S I rebooted with HAL disabled without bringing Gnome up and I still get the same error Cheers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Did you try Disk Drive on the phone and mount_msdosfs as root? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Completely remove user from system
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 23 Dec 2010, itpr0 wrote: |Hi list, | |We are using postfix with system user authentication, I have to completely |remove an user for the system so he couldn't auth to send e-mails. | |Some coworkers told to just remove the lines from /etc/passwd and |/etc/master.passwd... I did that but the user still can authenticate. | |using pw user show XXX returns that still have a register from the user |XXX but trying the pw user del XXX it says there is no such user.. | |I tried rmuser and here is the return: | |# rmuser XXX |Matching password entry: | |XXX:*:20887:1014::0:0:X X:/home/XXX:/nonexistent | |Is this the entry you wish to remove? y |Remove user's home directory (/home/)? y |Removing user (XXX): home passwdpw: user 'XXX' does not exist: No such file |or directory | One of simpliest ways to remove user is the `vipw' command. vipw opens master.passwd file in vi editor. After removing nesessary string vipw rebuild user's database. After that your can just remove user's home directory and even say locate.updatedb if you don't want to see removed user via `locate' :) +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFNE0bgbt6QiUlK9twRAjFEAJ9MHSy2UmmoGjSYyvgebD/eZqaqpACfWECI cCXL5qFCI4CWMb/+kJGK+JU= =Pp4z -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010, Mubeesh ali wrote: can u completely not send any traffic or is this a random drop. If random there could be interference causing replay counter mismatch. This may force AP to drop the packet, the ap may de authenticate client if it sees continuous stream of such packets in a short interval and force client to drop existing sessions like ftp. Please try changing the channel. If the client and AP are both A capable please try using the A band as there are more non overlapping channels and u may be able to find a channel with low interference. On Thu, Dec 16, 2010 at 10:46 PM, Justin V. v...@yeaguy.com wrote: I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Best Regards, Mubeesh Ali.V.M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Mubeesh, It seems to be a random drop.. FTP will be humming along and then wlan0 will go down.. I have the router set for channel 11... i do not have these types of drops with other wifi capable devices.. ex. WIN laptop, Playstaion 3... etc... rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:1e:e5:a8:bd:5a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1e:e5:a8:bd:5a inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL Also yesterday, I lost complete connectivity to the router while my WIN PC was connected and browsing just fine.. I had to bounce the interface and reset the default gateway and my connection restored. I did: /etc/rc.d/netif restart /etc/rc.d/routing restart Thanks, Justin___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010, Mubeesh ali wrote: Hi Justin, I see 7 beacon misses on the interface which is not good the client disconnects on beacon miss...typically most ap's are configured to send a beacon every 100 ms . ..this looks similar http://madwifi-project.org/ticket/1957 thanks, Mubeesh On Thu, Dec 16, 2010 at 11:16 PM, Justin V. v...@yeaguy.com wrote: On Thu, 16 Dec 2010, Mubeesh ali wrote: can u completely not send any traffic or is this a random drop. If random there could be interference causing replay counter mismatch. This may force AP to drop the packet, the ap may de authenticate client if it sees continuous stream of such packets in a short interval and force client to drop existing sessions like ftp. Please try changing the channel. If the client and AP are both A capable please try using the A band as there are more non overlapping channels and u may be able to find a channel with low interference. On Thu, Dec 16, 2010 at 10:46 PM, Justin V. v...@yeaguy.com wrote: I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Best Regards, Mubeesh Ali.V.M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Mubeesh, It seems to be a random drop.. FTP will be humming along and then wlan0 will go down.. I have the router set for channel 11... i do not have these types of drops with other wifi capable devices.. ex. WIN laptop, Playstaion 3... etc... rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:1e:e5:a8:bd:5a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1e:e5:a8:bd:5a inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL Also yesterday, I lost complete connectivity to the router while my WIN PC was connected and browsing just fine.. I had to bounce the interface and reset the default gateway and my connection restored. I did: /etc/rc.d/netif restart /etc/rc.d/routing restart Thanks, Justin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org interesting.. do you know of a better adapter to use?? ive done a search on wlan0 and bmiss.. alot of threads regarding that issue, but all the threads show bmiss 7 ?? does that seem odd
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010, Paul B Mahol wrote: On Thu, Dec 16, 2010 at 7:28 PM, Justin V. v...@yeaguy.com wrote: interesting.. do you know of a better adapter to use?? ive done a search on wlan0 and bmiss.. alot of threads regarding that issue, but all the threads show bmiss 7 ?? does that seem odd?? FYI, you can change bmiss value with ifconfig(8). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org i am going to reconfig the bmiss to 200 and see how the int handles traffic load after that. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wifi keeps dropping.. not sure why, looking for tips/suggestions on debugging this
On Thu, 16 Dec 2010 17:38:54 -0800, Da Rock freebsd-questi...@herveybayaustralia.com.au wrote: On 12/17/10 03:46, Justin V. wrote: On Thu, 16 Dec 2010, Mubeesh ali wrote: can u completely not send any traffic or is this a random drop. If random there could be interference causing replay counter mismatch. This may force AP to drop the packet, the ap may de authenticate client if it sees continuous stream of such packets in a short interval and force client to drop existing sessions like ftp. Please try changing the channel. If the client and AP are both A capable please try using the A band as there are more non overlapping channels and u may be able to find a channel with low interference. On Thu, Dec 16, 2010 at 10:46 PM, Justin V. v...@yeaguy.com wrote: I keep seeing my wlan0 interface go down.. I suspected a faulty wifi router.. i changed that out.. Ive tried using WEP and WPA. Currently using WPA. Here are the logs Im seeing.. Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys Dec 16 07:47:57 yeaguy kernel: wlan0: link state changed to DOWN Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:47:57 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:07 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:18 yeaguy wpa_supplicant[9492]: Authentication with 00:22:6b:66:bf:74 timed out. Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: CTRL-EVENT-SCAN-RESULTS Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Trying to associate with 00:22:6b:66:bf:74 (SSID='vicnet' freq=2462 MHz) Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: WPA: EAPOL-Key Replay Counter did not increase - dropping packet Dec 16 07:48:20 yeaguy wpa_supplicant[9492]: Associated with 00:22:6b:66:bf:74 Dec 16 07:48:20 yeaguy kernel: wlan0: link state changed to UP Given the errors seen what would be the best debug to use?? wlandebug or tcpdump ?? I went ahead and enabled since my logs are complaining about association and authentication.. yeaguy# wlandebug -i wlan0 auth+assoc net.wlan.0.debug: 0x0 = 0xc0assoc,auth yeaguy# Any tips would be appreciated.. I have an end user continually complaining of disconects over FTP.. Thanks, justin v ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Best Regards, Mubeesh Ali.V.M ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi Mubeesh, It seems to be a random drop.. FTP will be humming along and then wlan0 will go down.. I have the router set for channel 11... i do not have these types of drops with other wifi capable devices.. ex. WIN laptop, Playstaion 3... etc... rum0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290 ether 00:1e:e5:a8:bd:5a media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether 00:1e:e5:a8:bd:5a inet 192.168.1.169 netmask 0xff00 broadcast 192.168.1.255 media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g status: associated ssid vicnet channel 11 (2462 MHz 11g) bssid 00:22:6b:66:bf:74 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 0 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS roaming MANUAL Also yesterday, I lost complete connectivity to the router while my WIN PC was connected and browsing just fine.. I had to bounce the interface and reset the default gateway and my connection restored. I did: /etc/rc.d/netif restart /etc/rc.d/routing restart Thanks, Justin What version FreeBSD are you using? The only workaround I know is kill wpa_supplicant and run again- been happening to me for ages. But 8.1 it _finally_ sorted it out :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Using Opera's revolutionary email client: http://www.opera.com/mail/ wifi is bugging out on this server. unable to serve. ___ freebsd
pls help..
Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. My Other windows machine is using the FreeBSD as its gateway, I am running ipnat. This pc suffers from the same issues as the FreeBSD box.. I configured the new router with the same ssid and wepkey.. so minimal adjustments would have to be made for other WIFI users in the house.. Everyone is fine except me... My server is fine as far as my Website is concerned.. I changed my DNS with my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to my server fine from my phone, phones ip is from my Phones netowrk.. this is not being done via WIFI on my phone.. So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it used to.. 30s to 40s to pull up google is just unacceptable, when I have my laptop sitting here using the same WIFI router pulling it up in about 3ms... Another odd symptom I am seeing is that when i issue the command 'alpine' to check my email, it hangs for a good 30s So in my mind, Im thinking, what changed?? My router and my Public IP.. thats it.. its almost like I have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find it hardcoded anywhere.. Heres an example of what im seeing: [...@yeaguy ~]$ ping google.com PING google.com (72.14.204.147): 56 data bytes 64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms 64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms 64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms 64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms [...@yeaguy ~]$ telnet google.com 80 Trying 72.14.204.147... Connected to google.com. it hung here for alot longer than 85ms Escape character is '^]'. ^] telnet q Connection closed. [...@yeaguy ~]$ I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC that is using the FreeBSD as the gateway, but I can telnet to it on tcp port 80 just fine.. [...@yeaguy ~]$ telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. get HTMLHEADTITLEBad request/TITLE/HEAD BODYH1Bad request/H1 Your browser sent a query this server could not understand. /BODY/HTMLConnection closed by foreign host. [...@yeaguy ~]$ Heres some config files: [...@yeaguy ~]$ cat /etc/rc.conf wlans_rum0=wlan0 gateway_enable=YES ifconfig_wlan0=inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI defaultrouter=192.168.1.1 apache22_enable=YES hald_enable=YES dbus_enable=YES samba_enable=YES nmbd_enable=YES smbd_enable=YES winbindd_enable=YES hostname=yeaguy.com ifconfig_em0=inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 description LAN inetd_enable=YES linux_enable=YES sshd_enable=YES usbd_enable=YES postfix_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO firewall_enable=YES firewall_script=/etc/fire ipnat_enable=YES ipnat_program=/sbin/ipnat ipnat_rules=/etc/ipnat.rules ipnat_flags= #ipmon_enable=YES #ipmon_program=/sbin/ipmon #ipmon_flags=-Ds named_enable=YES ntpdate_enable=YES ntpdate_program=ntpdate ntpdate_flags=-b 0.north-america.pool.ntp.org mysql_enable=YES clamav_clamd_enable=YES clamav_freshclam_enable=YES amavisd_enable=YES #amavisd_ram=512m pf_enable=YES pf_rules=/etc/pf.conf pflog_enable=YES saver=daemon [...@yeaguy ~]$ ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 description: LAN options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC ether 00:16:76:bf:17:29 inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33200 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=3RXCSUM,TXCSUM inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 nd6 options=3PERFORMNUD
Re: pls help..
On Tue, 14 Dec 2010, Mubeesh ali wrote: try traceroute to check how packets are going out. do u have any proxy hardcoded in browser in bsd ? On Tue, Dec 14, 2010 at 3:24 PM, Justin V. v...@yeaguy.com wrote: Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. My Other windows machine is using the FreeBSD as its gateway, I am running ipnat. This pc suffers from the same issues as the FreeBSD box.. I configured the new router with the same ssid and wepkey.. so minimal adjustments would have to be made for other WIFI users in the house.. Everyone is fine except me... My server is fine as far as my Website is concerned.. I changed my DNS with my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to my server fine from my phone, phones ip is from my Phones netowrk.. this is not being done via WIFI on my phone.. So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it used to.. 30s to 40s to pull up google is just unacceptable, when I have my laptop sitting here using the same WIFI router pulling it up in about 3ms... Another odd symptom I am seeing is that when i issue the command 'alpine' to check my email, it hangs for a good 30s So in my mind, Im thinking, what changed?? My router and my Public IP.. thats it.. its almost like I have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find it hardcoded anywhere.. Heres an example of what im seeing: [...@yeaguy ~]$ ping google.com PING google.com (72.14.204.147): 56 data bytes 64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms 64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms 64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms 64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms [...@yeaguy ~]$ telnet google.com 80 Trying 72.14.204.147... Connected to google.com. it hung here for alot longer than 85ms Escape character is '^]'. ^] telnet q Connection closed. [...@yeaguy ~]$ I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC that is using the FreeBSD as the gateway, but I can telnet to it on tcp port 80 just fine.. [...@yeaguy ~]$ telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. get HTMLHEADTITLEBad request/TITLE/HEAD BODYH1Bad request/H1 Your browser sent a query this server could not understand. /BODY/HTMLConnection closed by foreign host. [...@yeaguy ~]$ Heres some config files: [...@yeaguy ~]$ cat /etc/rc.conf wlans_rum0=wlan0 gateway_enable=YES ifconfig_wlan0=inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI defaultrouter=192.168.1.1 apache22_enable=YES hald_enable=YES dbus_enable=YES samba_enable=YES nmbd_enable=YES smbd_enable=YES winbindd_enable=YES hostname=yeaguy.com ifconfig_em0=inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 description LAN inetd_enable=YES linux_enable=YES sshd_enable=YES usbd_enable=YES postfix_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO firewall_enable=YES firewall_script=/etc/fire ipnat_enable=YES ipnat_program=/sbin/ipnat ipnat_rules=/etc/ipnat.rules ipnat_flags= #ipmon_enable=YES #ipmon_program=/sbin/ipmon #ipmon_flags=-Ds named_enable=YES ntpdate_enable=YES ntpdate_program=ntpdate ntpdate_flags=-b 0.north-america.pool.ntp.org mysql_enable=YES clamav_clamd_enable=YES clamav_freshclam_enable=YES amavisd_enable=YES #amavisd_ram=512m pf_enable=YES pf_rules=/etc/pf.conf pflog_enable=YES saver=daemon [...@yeaguy ~]$ ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 description: LAN options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC ether 00:16:76:bf:17:29 inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33200 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options
Re: pls help..
On Tue, 14 Dec 2010, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Dec 14 05:45:55 2010 Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST) From: Justin V. v...@yeaguy.com To: freebsd-questions@freebsd.org Subject: pls help.. Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. Without reading any further, this simply =reeks= of being a DNS problem. (99.98792+% of all 30+ seconds to something over the net problems are timeout issue. :) I suspect: a) the new router is not using the same 'local network' adddress as the old one was, This is not a total show stopper, because everyting 'local' is using DHCP to get both the local machine address _and_ the router address. b) you have a DNS server address hard-coded in the /etc/resolv.conf file. (the old router and new router are providing DNS proxy services on *different* addresses, and wyat you have hard-coded is the -old- address) c) your FBSD machine is trying to query the hard-coded DNS server address _first_, and when it gets no response, it *eventually* (ie. after 30 seconds) tries the 'second' DNS server address it has, which is the one learned by DHCP -- that works, the name resolves, and the page loads. On a WORKING windows box click Start-Run, and type 'ipconfig/all' in the box, to see what it is using for a DNS server. Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a *different* address on a 'namemserver' line. Heres what my resolv.conf is, ive changed it to use the router and itself, no change in status: [...@yeaguy ~]$ cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 nameserver 192.168.1.1 [...@yeaguy ~]$ Im currently set to use the router.. The WIN pc is using: 209.18.47.61 and 209.18.47.62.. hmm.. i will try those.. Still hangs and times out.. but able to resolve and ping google.com just fine g... yeaguy# nslookup nytimes.com Server: 209.18.47.61 Address:209.18.47.61#53 Non-authoritative answer: Name: nytimes.com Address: 199.239.136.200 yeaguy# ipnat -l List of active MAP/Redirect filters: map wlan0 10.1.1.0/24 - 192.168.1.169/32 portmap tcp/udp 1:6 map wlan0 10.1.1.0/24 - 192.168.1.169/32 List of active sessions: MAP 10.1.1.190 53401 - - 192.168.1.169 45879 [72.14.204.147 80] MAP 10.1.1.190 53398 - - 192.168.1.169 18541 [72.14.204.147 80] MAP 10.1.1.190 53397 - - 192.168.1.169 27460 [72.14.204.147 80] yeaguy# cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 #nameserver 192.168.1.1 nameserver 209.18.47.61 nameserver 209.18.47.62 yeaguy# yeaguy# telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. I got google to come up after refreshing the page, nytimes still does not come up no matter what, can telnet it just fine on port 80 tho... this doesnt make sense. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pls help..
On Tue, 14 Dec 2010, Justin V. wrote: On Tue, 14 Dec 2010, Robert Bonomi wrote: From owner-freebsd-questi...@freebsd.org Tue Dec 14 05:45:55 2010 Date: Tue, 14 Dec 2010 01:54:26 -0800 (PST) From: Justin V. v...@yeaguy.com To: freebsd-questions@freebsd.org Subject: pls help.. Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. Without reading any further, this simply =reeks= of being a DNS problem. (99.98792+% of all 30+ seconds to something over the net problems are timeout issue. :) I suspect: a) the new router is not using the same 'local network' adddress as the old one was, This is not a total show stopper, because everyting 'local' is using DHCP to get both the local machine address _and_ the router address. b) you have a DNS server address hard-coded in the /etc/resolv.conf file. (the old router and new router are providing DNS proxy services on *different* addresses, and wyat you have hard-coded is the -old- address) c) your FBSD machine is trying to query the hard-coded DNS server address _first_, and when it gets no response, it *eventually* (ie. after 30 seconds) tries the 'second' DNS server address it has, which is the one learned by DHCP -- that works, the name resolves, and the page loads. On a WORKING windows box click Start-Run, and type 'ipconfig/all' in the box, to see what it is using for a DNS server. Check '/etc/resolv.conf' on your FreeBSD box, and see if it lists a *different* address on a 'namemserver' line. Heres what my resolv.conf is, ive changed it to use the router and itself, no change in status: [...@yeaguy ~]$ cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 nameserver 192.168.1.1 [...@yeaguy ~]$ Im currently set to use the router.. The WIN pc is using: 209.18.47.61 and 209.18.47.62.. hmm.. i will try those.. Still hangs and times out.. but able to resolve and ping google.com just fine g... yeaguy# nslookup nytimes.com Server: 209.18.47.61 Address:209.18.47.61#53 Non-authoritative answer: Name: nytimes.com Address: 199.239.136.200 yeaguy# ipnat -l List of active MAP/Redirect filters: map wlan0 10.1.1.0/24 - 192.168.1.169/32 portmap tcp/udp 1:6 map wlan0 10.1.1.0/24 - 192.168.1.169/32 List of active sessions: MAP 10.1.1.190 53401 - - 192.168.1.169 45879 [72.14.204.147 80] MAP 10.1.1.190 53398 - - 192.168.1.169 18541 [72.14.204.147 80] MAP 10.1.1.190 53397 - - 192.168.1.169 27460 [72.14.204.147 80] yeaguy# cat /etc/resolv.conf #domain yeaguy.com #nameserver 10.1.1.1 #nameserver 192.168.1.1 nameserver 209.18.47.61 nameserver 209.18.47.62 yeaguy# yeaguy# telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. I got google to come up after refreshing the page, nytimes still does not come up no matter what, can telnet it just fine on port 80 tho... this doesnt make sense. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I think we are resolved... I statically set my NAT'd WIN PC to what the Laptop was picking up and problem solved.. I edited named.conf and set my forwarders to what my laptop was picking up and problem solved.. my named.conf have the forwarder set to: 192.168.1.1, apparently the new router and an old dns server from my last job.. which normally worked fine.. i suspect that the old router was able to handle dns, while this one cannot... Thanks so much.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: pls help..
On Tue, 14 Dec 2010, Da Rock wrote: On 12/14/10 19:54, Justin V. wrote: Hi, I am having a very difficult time understanding what is going on with this FreeBSD machine.. I was having inet trouble so i put in a new router on my network (home network).. I have a FreeBSD machine on my network: FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 I have windows machines on my network.. One of my windows machines is my laptop and I connect directly to the router via WIFI without any trouble at all... I can browse any website without complaint. My FreeBSD system connects to my WIFI router just fine as well.. I am seeing troubles browsing the inet with my FreeBSD machine (Xorg and opera) Pulling up Google.com can take up to 30s.. My Other windows machine is using the FreeBSD as its gateway, I am running ipnat. This pc suffers from the same issues as the FreeBSD box.. I configured the new router with the same ssid and wepkey.. so minimal adjustments would have to be made for other WIFI users in the house.. Everyone is fine except me... My server is fine as far as my Website is concerned.. I changed my DNS with my host to point to my new WAN IP.. I can pull my page fine.. I can ssh to my server fine from my phone, phones ip is from my Phones netowrk.. this is not being done via WIFI on my phone.. So my Nat'd WIN PC and my FreeBSD Xorg cannot browse the internet like it used to.. 30s to 40s to pull up google is just unacceptable, when I have my laptop sitting here using the same WIFI router pulling it up in about 3ms... Another odd symptom I am seeing is that when i issue the command 'alpine' to check my email, it hangs for a good 30s So in my mind, Im thinking, what changed?? My router and my Public IP.. thats it.. its almost like I have my OLD WAN ip hardcoded somewhere causing a conflict.. I cannot find it hardcoded anywhere.. Heres an example of what im seeing: [...@yeaguy ~]$ ping google.com PING google.com (72.14.204.147): 56 data bytes 64 bytes from 72.14.204.147: icmp_seq=0 ttl=52 time=85.460 ms 64 bytes from 72.14.204.147: icmp_seq=1 ttl=52 time=85.152 ms 64 bytes from 72.14.204.147: icmp_seq=2 ttl=52 time=84.048 ms 64 bytes from 72.14.204.147: icmp_seq=3 ttl=52 time=82.442 ms ^C --- google.com ping statistics --- 4 packets transmitted, 4 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 82.442/84.275/85.460/1.182 ms [...@yeaguy ~]$ telnet google.com 80 Trying 72.14.204.147... Connected to google.com. it hung here for alot longer than 85ms Escape character is '^]'. ^] telnet q Connection closed. [...@yeaguy ~]$ I am unable to browse to nytimes.com via FreeBSD Opera browser or WIN PC that is using the FreeBSD as the gateway, but I can telnet to it on tcp port 80 just fine.. [...@yeaguy ~]$ telnet nytimes.com 80 Trying 199.239.136.200... Connected to nytimes.com. Escape character is '^]'. get HTMLHEADTITLEBad request/TITLE/HEAD BODYH1Bad request/H1 Your browser sent a query this server could not understand. /BODY/HTMLConnection closed by foreign host. [...@yeaguy ~]$ Heres some config files: [...@yeaguy ~]$ cat /etc/rc.conf wlans_rum0=wlan0 gateway_enable=YES ifconfig_wlan0=inet 192.168.1.169 netmask 255.255.255.0 ssid vicnet wepmode on weptxkey 1 wepkey 1:0xF4AE43E9BA description WIFI defaultrouter=192.168.1.1 apache22_enable=YES hald_enable=YES dbus_enable=YES samba_enable=YES nmbd_enable=YES smbd_enable=YES winbindd_enable=YES hostname=yeaguy.com ifconfig_em0=inet 10.1.1.1 netmask 255.255.255.0 broadcast 10.1.1.255 description LAN inetd_enable=YES linux_enable=YES sshd_enable=YES usbd_enable=YES postfix_enable=YES sendmail_enable=NO sendmail_submit_enable=NO sendmail_outbound_enable=NO sendmail_msp_queue_enable=NO firewall_enable=YES firewall_script=/etc/fire ipnat_enable=YES ipnat_program=/sbin/ipnat ipnat_rules=/etc/ipnat.rules ipnat_flags= #ipmon_enable=YES #ipmon_program=/sbin/ipmon #ipmon_flags=-Ds named_enable=YES ntpdate_enable=YES ntpdate_program=ntpdate ntpdate_flags=-b 0.north-america.pool.ntp.org mysql_enable=YES clamav_clamd_enable=YES clamav_freshclam_enable=YES amavisd_enable=YES #amavisd_ram=512m pf_enable=YES pf_rules=/etc/pf.conf pflog_enable=YES saver=daemon [...@yeaguy ~]$ ifconfig em0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 description: LAN options=219bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,TSO4,WOL_MAGIC ether 00:16:76:bf:17:29 inet 10.1.1.1 netmask 0xff00 broadcast 10.1.1.255 media: Ethernet autoselect (100baseTX full-duplex) status: active ipfw0: flags=8801UP,SIMPLEX,MULTICAST metric 0 mtu 65536 pflog0: flags=141UP,RUNNING,PROMISC metric 0 mtu 33200 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST metric 0 mtu 16384 options=3RXCSUM,TXCSUM inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128
Re: usb devices
On Wed, 8 Dec 2010, Chris Brennan wrote: Does usbconf show that it was indeed registered? The kernel may see it and fail to pass it to the USB subsystem for what ever reason. -- Sent from my Droid On Dec 7, 2010 8:26 PM, justin v v...@yeaguy.com wrote: Aloha world.. For whatever reason, today, when i plugin my USB devices they are not showing up.. They are just not registering.. Never seen this problem before... Prior to today, I was able to plug my Android phone in and mount it just fine. Prior to today, I was able to plug my usb mouse and keyboard in and type away at the console or in xorg.. so i run tail -f /var/log/messages from my alt. pc and plug in my phone and nothing.. It was working fine the previous days, you can see my phone and logitech keyboard.. Sure I suppose I could reboot but I dont want to... My system: yeaguy# uname -a FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 My WIFI adapter is usb.. I am up and passing traffic on that interface too, so im a little confused.. yeaguy# cat /var/log/messages | grep -i usb Dec 6 10:32:38 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 10:32:38 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 10:32:38 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 10:32:39 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 11:48:08 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 11:48:08 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:08 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 11:54:35 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 13:06:03 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 6 18:47:33 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 18:47:33 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 18:47:33 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:57:23 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 19:02:46 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 19:02:46 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 19:02:46 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 19:02:47 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 22:39:32 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:19:50 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:19:50 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:19:50 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:19:51 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:22:38 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:23:05 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:23:05 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:23:05 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:23:06 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 06:06:07 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) yeaguy# Thanks, justin v. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I ended up rebooting.. USB works.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
usb devices
Aloha world.. For whatever reason, today, when i plugin my USB devices they are not showing up.. They are just not registering.. Never seen this problem before... Prior to today, I was able to plug my Android phone in and mount it just fine. Prior to today, I was able to plug my usb mouse and keyboard in and type away at the console or in xorg.. so i run tail -f /var/log/messages from my alt. pc and plug in my phone and nothing.. It was working fine the previous days, you can see my phone and logitech keyboard.. Sure I suppose I could reboot but I dont want to... My system: yeaguy# uname -a FreeBSD yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #3: Thu Nov 4 20:43:41 PDT 2010 v...@yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 My WIFI adapter is usb.. I am up and passing traffic on that interface too, so im a little confused.. yeaguy# cat /var/log/messages | grep -i usb Dec 6 10:32:38 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 10:32:38 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 10:32:38 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 10:32:39 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 11:48:08 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 11:48:08 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:08 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 11:48:09 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 11:54:35 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 13:06:03 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 6 18:47:33 yeaguy kernel: ugen1.2: Logitech at usbus1 Dec 6 18:47:33 yeaguy kernel: ukbd0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy kernel: ums0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:47:33 yeaguy root: Unknown USB device: vendor 0x046d product 0xc52b bus uhub1 Dec 6 18:47:33 yeaguy kernel: uhid0: Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 2 on usbus1 Dec 6 18:57:23 yeaguy kernel: ugen1.2: Logitech at usbus1 (disconnected) Dec 6 19:02:46 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 19:02:46 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 6 19:02:46 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 6 19:02:47 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 6 22:39:32 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:19:50 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:19:50 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:19:50 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:19:51 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:22:38 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) Dec 7 00:23:05 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 00:23:05 yeaguy kernel: ugen2.3: HTC at usbus2 Dec 7 00:23:05 yeaguy kernel: umass0: HTC Android Phone, class 0/0, rev 2.00/2.26, addr 3 on usbus2 Dec 7 00:23:06 yeaguy root: Unknown USB device: vendor 0x0bb4 product 0x0c9e bus uhub2 Dec 7 06:06:07 yeaguy kernel: ugen2.3: HTC at usbus2 (disconnected) yeaguy# Thanks, justin v. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't mount root during freebsd-update 7.0 - 8.1 on amd64
On 06.12.2010 3:11, per...@pluto.rain.com wrote: GEOM_PART (gpart) is a new GEOM partition class (slicer) and utility that rolls up support for many partitioning formats (MBR, BSD, GPT etc.) into a single code base. ... NOTE: Some old utilities like bsdlabel may not work if the kernel doesn't include GEOM_BSD and other old slicer classes. In other words, bsdlabel et al don't work with GEOM_PART. Does this mean that, in 8.1-RELEASE, bsdlabel/disklabel will not work with the GENERIC kernel (which includes GEOM_PART_GPT and GEOM_LABEL, but no other GEOM_ pieces AFAICT)? No, It doesn't. You can create partitions with fdisk/bsdlabel. They do write directly to device and this does initiate tasting. And GPART detects created partitions. -- WBR, Andrey V. Elsukov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: can't mount root during freebsd-update 7.0 - 8.1 on amd64
On 06.12.2010 10:22, per...@pluto.rain.com wrote: Thanks, that's what I had hoped (but had noticed a few things lately that had me wondering whether they might perhaps not be working entirely _correctly_ -- I need to do some more experimentation). The next question then is, when _does_ the kernel need to include added options like GEOM_BSD and/or GEOM_PART_BSD? GEOM_BSD is deprecated in FreeBSD 8.x+ and should not be included. GEOM_PART_BSD is already included in DEFAULTS config. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: CURRENT: Issue with ZFS and 2TB WD HDD (WDC WD20EURS-63Z9B1 80.00A80)
On 29.11.2010 11:52, O. Hartmann wrote: Exporting both volumes in FreeBSD 8 works. But importing them in FreeBSD 9.0-CURRENT/amd64 as with the most recent make world of today fails on the 2TB HDD (ZFS pool/volume BACKUP00). Issuing zpool import BACKUP00 results in cannot import 'BACKUP': no such pool available and on console I receive message It seems strange, why the pool name in error message is 'BACKUP' but not 'BACKUP00'? Surprisingly, the GPT partition of the pool BACKUP00 isn't shown in FreeBSD 9, while I see ada3p1 in FreeBSD 8.2. gpart show ada3 lists this: =34 3907029101 ada3 GPT (1.8T) 344062- free - (2.0M) 4096 3907025039 1 freebsd-zfs (1.8T) Do you have something related to GPT in log files? Can you show full output of `gpart show` from FreeBSD-8 and FreeBSD-9? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: linking against shared libraries not in default path
On Mon, 29 Nov 2010, Anton Shterenlikht wrote: |I compiled some numerical libraries under my home |directory, including static and shared libs. The |shared lib is | |% ls ./src/libslatec.so.1 |./src/libslatec.so.1 |% | |Now I'd like to test shared libraries, so I do | |% gfortran45 -o test01.x test01.o qc6a.o -L./src/ -lslatec |% ./test01.x |/libexec/ld-elf.so.1: Shared object libslatec.so.1 not found, required by test01.x |% | |How can I tell the executable to look for a shared library |in a specific directory? I tried setting LIBRARY_PATH, but |it didn't help. | |Perhaps I completely misunderstand how shared libraries work.. | |Please advise | ldconfig -m ./src/libslatec.so.1 (in your example) +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: linking against shared libraries not in default path
On Mon, 29 Nov 2010, Anton Shterenlikht wrote: |I compiled some numerical libraries under my home |directory, including static and shared libs. The |shared lib is | |% ls ./src/libslatec.so.1 |./src/libslatec.so.1 |% | |Now I'd like to test shared libraries, so I do | |% gfortran45 -o test01.x test01.o qc6a.o -L./src/ -lslatec |% ./test01.x |/libexec/ld-elf.so.1: Shared object libslatec.so.1 not found, required by test01.x |% | |How can I tell the executable to look for a shared library |in a specific directory? I tried setting LIBRARY_PATH, but |it didn't help. | Ooops, sorry, you must give full path of shared object, *NOT* a file name: ldconfig -m ./src in your test example. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
On 13.11.2010 10:34, Ivan Klymenko wrote: Hmm, are you sure that your kernel is based on r215176? no doubt! :) Do you use custom ISO image? Can you mount it and show output of command: # ident /mnt/boot/kernel/kernel.symbols | grep g_part.c -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: Error 1: gpart create -s GPT ad0
On 13.11.2010 11:25, Ivan Klymenko wrote: Once mounted iso image of my drive to /mnt ident error: /mnt/boot/kernel/kernel.symbols: No such file or directory because this file (kernel.symbols) is really not in the iso image... So, I can not reproduce this error. And I still think that you use older revision and you should rebuild your ISO image with fresh sources. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: Error 1: gpart create -s GPT ad0
On 13.11.2010 11:40, Ivan Klymenko wrote: So, I can not reproduce this error. And I still think that you use older revision and you should rebuild your ISO image with fresh sources. well ... but it will take a little time ... Just a note - as you may see from tinderbox's emails at the moment building of fresh current is broken :) -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: Why do you use a devil as a mascot?
On Sat, 13 Nov 2010, Mario Lobo wrote: On Friday 12 November 2010 23:27:42 Mubeesh ali wrote: i guess it is high time this list bans the word devil in subject ;-) Let's hack the term and use lucifer instead! -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winfoes FREE) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Its Beelzebub, the daemon. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Error 1: gpart create -s GPT ad0
On 12.11.2010 21:47, Ivan Klymenko wrote: I use the alternate installer pc-sysinstall based on FreeBSD 9.0-CURRENT r215176 Hmm, are you sure that your kernel is based on r215176? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
Re: Error 1: gpart create -s GPT ad0
On 12.11.2010 21:47, Ivan Klymenko wrote: http://img80.imageshack.us/i/qemu.png/ Think all options for gpart are correct - what can there be a problem? This was temporary regression and it is fixed now in r215118. In any case it is harmless. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature
802.11 USB recommendations
Can anyone recommend a stable USB Wifi NIC?? Mine seems to be having issues: [...@yeaguy ~]$ cat /var/log/messages | grep wlan0 Nov 4 19:03:29 yeaguy kernel: wlan0: Ethernet address: 00:1e:e5:a8:bd:5a Nov 4 19:03:30 yeaguy kernel: wlan0: link state changed to UP Nov 4 20:59:53 yeaguy kernel: wlan0: Ethernet address: 00:1e:e5:a8:bd:5a Nov 4 20:59:54 yeaguy kernel: wlan0: link state changed to UP Nov 6 00:16:15 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 00:16:19 yeaguy kernel: wlan0: link state changed to UP Nov 6 00:16:47 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 00:16:47 yeaguy kernel: wlan0: link state changed to UP Nov 6 00:17:30 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 00:17:31 yeaguy kernel: wlan0: link state changed to UP Nov 6 04:23:40 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 04:23:53 yeaguy kernel: wlan0: link state changed to UP Nov 6 10:28:18 yeaguy kernel: wlan0: link state changed to DOWN Nov 6 10:28:28 yeaguy kernel: wlan0: link state changed to UP [...@yeaguy ~]$ grep rum /var/run/dmesg.boot rum0: Cisco-Linksys Compact Wireless-G USB Adapter, class 0/0, rev 2.00/0.01, addr 2 on usbus2 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 rum0: need multicast update callback [...@yeaguy ~]$ Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installed memory today, questions immediately
On Fri, 5 Nov 2010, Leslie Jensen wrote: On 2010-11-05 04:41, justin v wrote: On Thu, 04 Nov 2010 19:35:20 -0700, Jon Radel j...@radel.com wrote: On 11/4/10 10:13 PM, justin v wrote: I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? Start by reading http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html If that doesn't cover it, come back here and include a little information about the version of FreeBSD and the hardware you're using. I would suggest you to give us the output of uname -a I suspect you are running the 32-bit version of FreeBSD and it cannot address more that 3 Gb of RAM. /Leslie ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org yep running 32-bit and have a 686. No PAE happening. oh well. i wasnt sure if id run into any compatiblity issues.. i have this server running how i want, no issues, so, 32bit OS with 3GB ram will do... thanks for the response. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installed memory today, questions immediately
On Fri, 05 Nov 2010 15:29:35 -0700, Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Fri Nov 5 01:18:07 2010 Date: Fri, 05 Nov 2010 08:19:43 +0100 From: Leslie Jensen les...@eskk.nu To: justin v v...@yeaguy.com Cc: FreeBSD Mailing List freebsd-questions@freebsd.org, Jon Radel j...@radel.com Subject: Re: Installed memory today, questions immediately On 2010-11-05 04:41, justin v wrote: On Thu, 04 Nov 2010 19:35:20 -0700, Jon Radel j...@radel.com wrote: On 11/4/10 10:13 PM, justin v wrote: I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? Start by reading http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html If that doesn't cover it, come back here and include a little information about the version of FreeBSD and the hardware you're using. I would suggest you to give us the output of uname -a I suspect you are running the 32-bit version of FreeBSD and it cannot address more that 3 Gb of RAM. Must be a hardware issue, too. I'm running 7.2/i386 on a P-III box, and the boot messages shows 3.9+ gigs 'avail mem'. I double-checked, no mention of PAE in the kernel config, either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I running 32bit OS.. i should have run 64bit actually.. I forgot about the memory limitations with 32bit os. -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Installed memory today, questions immediately
I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? yeaguy# dmidecode -t memory # dmidecode 2.10 SMBIOS 2.3 present. Handle 0x1000, DMI type 16, 15 bytes Physical Memory Array Location: System Board Or Motherboard Use: System Memory Error Correction Type: Single-bit ECC Maximum Capacity: 1 GB Error Information Handle: Not Provided Number Of Devices: 4 Handle 0x1100, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_1 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH Handle 0x1101, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_3 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH Handle 0x1102, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_2 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH Handle 0x1103, DMI type 17, 27 bytes Memory Device Array Handle: 0x1000 Error Information Handle: Not Provided Total Width: 64 bits Data Width: 64 bits Size: 1024 MB Form Factor: DIMM Set: None Locator: DIMM_4 Bank Locator: Not Specified Type: DDR Type Detail: Synchronous Speed: 800 MHz Manufacturer: 7F7F7F7F7F9B Serial Number: Asset Tag: 000A28 Part Number: CT12864AA800.M8FH yeaguy# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Installed memory today, questions immediately
On Thu, 04 Nov 2010 19:35:20 -0700, Jon Radel j...@radel.com wrote: On 11/4/10 10:13 PM, justin v wrote: I installed 4GB or memory today. I rebooted and see this, the first line after the splash menu thing: 983040K of memory above 4GB ignored dmesg shows avail mem amount and I am concerned as well: real memory = 4294967296 (4096 MB) avail memory = 3139940352 (2994 MB) is a stick bad perhaps? Start by reading http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/compatibility-memory.html If that doesn't cover it, come back here and include a little information about the version of FreeBSD and the hardware you're using. -- Thank you, that covers it.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: installing a window manager
On Wed, 3 Nov 2010, Dick Hoogendijk wrote: Up 'till now I had a server without X. I've a need however to be able to graphically work on that server so I thought: I install x11-servers/xorg.server and after that I build windowmaker (nice and light). However, this does not seem to be enough to get X working. Can somebody tell me what to build (with portmaster) to get a minimal X server station with windowmaker. I run 8.1/amd64 with up2date ports. Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Here is what i have installed for X: [...@yeaguy ~]$ pkg_info | grep -i xorg linux-f10-xorg-libs-7.4_1 Xorg libraries (Linux Fedora 10) xorg-7.5X.Org complete distribution metaport xorg-apps-7.5 X.org apps meta-port xorg-docs-1.4,1 X.org documentation files xorg-drivers-7.5X.org drivers meta-port xorg-fonts-100dpi-7.5 X.Org 100dpi bitmap fonts xorg-fonts-7.5 X.org fonts meta-port xorg-fonts-75dpi-7.5 X.Org 75dpi bitmap fonts xorg-fonts-cyrillic-7.5 X.Org Cyrillic bitmap fonts xorg-fonts-miscbitmaps-7.5 X.Org miscellaneous bitmap fonts xorg-fonts-truetype-7.5 X.Org TrueType fonts xorg-fonts-type1-7.5 X.Org Type1 fonts xorg-libraries-7.5 X.org libraries meta-port xorg-server-1.7.5,1 X.Org X server and related programs [...@yeaguy ~]$ For Xorg all I did was pkg_add -r xorg and Im using Awesome WM, very lightweight and quick.. But its not your typical WM.. Its a tiling WM, you cant resize your windows.. really.. you organize your desktop window by clicking in the right hand corner of the desktop.. This WM has grown on me... give it a shot. The purpose of it, i guess, is to elimiate wasting your time resizing your windows.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SSHgaurd and PF
Hi, Would this be considered bruteforce?? This goes on and on: Nov 2 05:42:19 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:42:53 yeaguy last message repeated 3 times Nov 2 05:43:11 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:43:31 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:43:35 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:43:54 yeaguy last message repeated 2 times Nov 2 05:44:27 yeaguy last message repeated 2 times Nov 2 05:44:47 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:44:53 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:45:27 yeaguy last message repeated 3 times Nov 2 05:45:44 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:46:05 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:46:12 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:46:47 yeaguy last message repeated 3 times Nov 2 05:47:03 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:47:24 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:47:31 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:48:06 yeaguy last message repeated 3 times Nov 2 05:48:24 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:48:45 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:48:50 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:49:25 yeaguy last message repeated 3 times Nov 2 05:49:42 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:50:01 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:50:08 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:50:40 yeaguy last message repeated 3 times Nov 2 05:50:58 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:51:20 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [ERROR] Too many authentication failures Nov 2 05:51:25 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:51:59 yeaguy last message repeated 3 times Nov 2 05:52:16 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] My sshgaurd config: # $FreeBSD: src/share/examples/pf/pf.conf,v 1.1.4.1.4.1 2010/06/14 02:09:06 kensmith Exp $ # $OpenBSD: pf.conf,v 1.34 2007/02/24 19:30:59 millert Exp $ # # See pf.conf(5) and /usr/share/examples/pf for syntax and examples. # Remember to set net.inet.ip.forwarding=1 and/or net.inet6.ip6.forwarding=1 # in /etc/sysctl.conf if packets are to be forwarded between interfaces. ext_if=wlan0 #int_if=int0 #table spamd-white persist table sshguard persist #set skip on lo #scrub in #nat-anchor ftp-proxy/* #rdr-anchor ftp-proxy/* #nat on $ext_if from !($ext_if) - ($ext_if:0) #rdr pass on $int_if proto tcp to port ftp - 127.0.0.1 port 8021 #no rdr on $ext_if proto tcp from spamd-white to any port smtp #rdr pass on $ext_if proto tcp from any to any port smtp \ # - 127.0.0.1 port spamd #anchor ftp-proxy/* #block in block in log quick on $ext_if from sshguard label bruteforce #pass out #pass quick on $int_if no state #antispoof quick for { lo $int_if } #pass in on $ext_if proto tcp to ($ext_if) port ssh #pass in log on $ext_if proto tcp to ($ext_if) port smtp #pass out log on $ext_if proto tcp from ($ext_if) to port smtp LOGS: yeaguy# nslookup a214.amber.fastwebserver.de Server: 10.1.1.1 Address:10.1.1.1#53 Non-authoritative answer: Name: a214.amber.fastwebserver.de Address: 217.79.189.214 yeaguy# tcpdump -n -e -ttt -r /var/log/pflog | grep 217.79.189.214 reading from file /var/log/pflog, link-type PFLOG (OpenBSD pflog file) yeaguy# Thanks, Justin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 09:34, Justin V. v...@yeaguy.com wrote: Hi, Would this be considered bruteforce?? Yes This goes on and on: Nov 2 05:42:19 yeaguy pure-ftpd: (?...@a214.amber.fastwebserver.de) [WARNING] Authentication failed for user [Administrator] Nov 2 05:42:53 yeaguy last message repeated 3 times [...] My sshgaurd config: Something isn't set up right if you are getting that many attempts - it should kill them right away: Nov 1 10:47:51 peridot sshd[77847]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:53 peridot sshd[77967]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:54 peridot sshd[78123]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:56 peridot sshd[78228]: reverse mapping checking getaddrinfo for 178-238-137-213.hostnoc.eu [178.238.137.213] failed - POSSIBLE BREAK-IN ATTEMPT! Nov 1 10:47:56 peridot sshguard[49177]: Blocking 178.238.137.213:4 for 420secs: 4 failures over 5 seconds. Do you have the syslog.conf part set up as well as the pf part? I've only used it for ssh but something like the following needs to be there: auth.info;authpriv.info |exec /usr/local/sbin/sshguard yeaguy# nslookup a214.amber.fastwebserver.de Server: 10.1.1.1 Address: 10.1.1.1#53 Non-authoritative answer: Name: a214.amber.fastwebserver.de Address: 217.79.189.214 I wouldn't waste your time trying to find out who they are - just block and move on. That site is probably a shared web hosting account that was compromised by a bad php script - even if you successfully complain (assuming it is a legit hoster that cares) and they do something about it, there are thousands more. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org This is the guide I used: http://www.sshguard.net/docs/setup/firewall/pf/ I followed this section to block all brute attempts: Add this line in the packet filtering (rules) section: block in quick on $ext_if proto tcp from sshguard to any port 22 label ssh bruteforce Replace $ext_if with your WAN interface name if needed. Omit the proto tcp and the to any port 22 segment if you want to block all the traffic from attackers (not just ssh). I really like this port, just keeps the logs from filling up.. Im not going to email their abuse desk just wishing that sshguard would do what I expected it to do via the how to.. :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 10:03, Justin V. v...@yeaguy.com wrote: This is the guide I used: http://www.sshguard.net/docs/setup/firewall/pf/ I followed this section to block all brute attempts: Right, but did you do this part too? http://www.sshguard.net/docs/setup/getlogs/syslog/ The part you mentioned sets up the table and has pf drop the connection attempts, but you need to configure syslog to fill the table with IPs of attackers. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Actually this was installed after the port completed: yeaguy# grep sshg /etc/syslog.conf auth.info;authpriv.info |exec /usr/local/sbin/sshguard But it is not exactly what the HOWTO ways, the HOWTO does not mention the exec part. Put this line high into this file: auth.info;authpriv.info|/usr/local/sbin/sshguard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 10:40, Justin V. v...@yeaguy.com wrote: Actually this was installed after the port completed: yeaguy# grep sshg /etc/syslog.conf auth.info;authpriv.info |exec /usr/local/sbin/sshguard But it is not exactly what the HOWTO ways, the HOWTO does not mention the exec part. Could be that the docs are written for Linux or another version of syslog. The port and the man page say include the exec, so I would go with that. Put this line high into this file: auth.info;authpriv.info |/usr/local/sbin/sshguard Ok - if that isn't working, then check to see if your ftp server is logging to syslog under auth or authpriv. If not you'll need to change the setup to get the logs from the right place. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org I do not see ftp going to auth: yeaguy# grep -i pure /var/log/auth.log yeaguy# grep -i ftp /var/log/auth.log Oct 30 07:36:49 yeaguy sshd[74718]: subsystem request for sftp Oct 30 08:37:25 yeaguy sshd[74942]: subsystem request for sftp Oct 30 08:51:20 yeaguy sshd[74984]: subsystem request for sftp Oct 30 12:49:04 yeaguy sshd[2301]: subsystem request for sftp Oct 30 12:49:56 yeaguy sshd[2308]: subsystem request for sftp Nov 2 08:44:42 yeaguy sshd[17190]: subsystem request for sftp Nov 2 08:46:14 yeaguy sshd[17241]: subsystem request for sftp yeaguy# But I dont have pure-ftp looking at pam so that makes sense right? Probably wouldnt show up there then? I am doing virtual user for pure-ftp. Here is the passwd db for pure: yeaguy# grep pure /etc/inetd.conf ftp stream tcp nowait root /usr/local/sbin/pure-ftpd pure-ftpd -l puredb:/usr/local/etc/pureftpd.pdb yeaguy# so i need to pipe the pure db to auth? thanks, justin___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 10:40, Justin V. v...@yeaguy.com wrote: Actually this was installed after the port completed: yeaguy# grep sshg /etc/syslog.conf auth.info;authpriv.info |exec /usr/local/sbin/sshguard But it is not exactly what the HOWTO ways, the HOWTO does not mention the exec part. Could be that the docs are written for Linux or another version of syslog. The port and the man page say include the exec, so I would go with that. Put this line high into this file: auth.info;authpriv.info |/usr/local/sbin/sshguard Ok - if that isn't working, then check to see if your ftp server is logging to syslog under auth or authpriv. If not you'll need to change the setup to get the logs from the right place. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org So i added this: auth.info;authpriv.info;ftp.info/var/log/auth.log This is existing: ftp.info/var/log/xferlog I see my failed attempts going to auth.log and sshguard is still not blocking or logging.. I restarted both syslog and sshguard.. I feel like we are almost there thanks, jv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
SOLVED Re: SSHgaurd and PF
On Tue, 2 Nov 2010, Rob Farmer wrote: On Tue, Nov 2, 2010 at 11:42, Justin V. v...@yeaguy.com wrote: So i added this: auth.info;authpriv.info;ftp.info /var/log/auth.log This is existing: ftp.info /var/log/xferlog I see my failed attempts going to auth.log and sshguard is still not blocking or logging.. I restarted both syslog and sshguard.. I feel like we are almost there thanks, jv Great - then try: ftp.info |exec /usr/local/sbin/sshguard in your /etc/syslog.conf (don't forget to restart syslog) and it should be working - I'm not sure what the threshold for sshguard to block someone is, but you could test it - just make sure you have a way to get back in if it works and your IP is blocked (or wait for the next script kiddie). -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Your the man.. Worked like a charm. Thanks for all your help! jv___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: is there a utillity...?
On Mon, 01 Nov 2010 20:48:01 -0700, Antonio Olivares olivares14...@gmail.com wrote: On Mon, Nov 1, 2010 at 10:42 PM, Gary Kline kl...@thought.org wrote: People, is there a utility to give me the rate of bps that I am _supposed_ to be getting from my telco DSL? tia, gary -- Gary Kline kl...@thought.org http://www.thought.org Public Service Unix The 7.90a release of Jottings: http://jottings.thought.org/index.php An Open Letter to Stephen Hawking http://www.thought.org/#oL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Try iperf? http://www.freebsdsoftware.org/benchmarks/iperf.html Used it to test speed on modem connection. Hope this helps. Regards, Antonio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org -- Using Opera's revolutionary email client: http://www.opera.com/mail/ Dont you need a Client when using IPERF?? If you want to see your current in/out in realtime try: netstat -I int -w 1 To see my throughput I do: netstat -I wlan0 -w 1 Hope this helps. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
mediatomb and m3u issues
Hi, This is for any mediatomb users. I recently installed Mediatomb with mencoder. Everything works solid on the video side of things.. I can stream video from my FreeBSD machine to my PS3 without any issue. The only issue I see is when I add my music to the mediatomb db. I keep getting a segmentaion fault: Oct 27 17:10:57 hbca kernel: pid 92235 (mediatomb), uid 1001: exited on signal 11 (core dumped) Soon as mediatomb crashes, I check the last file it crashed on, usually a .m3u and remove that .m3u file and then it add the files to the db fine... Anyone know of another workaround?? Thanks, vic ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: start kde in 8.1
On Thu, 28 Oct 2010 20:24:19 -0700, Tim Dunphy bluethu...@gmail.com wrote: sorry forgot to mention I am running it on a dell optiplex gx620 .. thanks in advance On Thu, Oct 28, 2010 at 11:16 PM, Tim Dunphy bluethu...@gmail.com wrote: hey guys, I have kdebase4 installed successfully under freebsd 8.1 I found the following advice on the net with so far isn't working to start it: echo startkde ~/.xinitrc I have attempted startx but the system doesn't know about it. may I have a suggestion to proceed? thanks! -- Here's my RSA Public key: gpg --keyserver pgp.mit.edu --recv-keys 5A4873A9 Share and enjoy!! -- Using Opera's revolutionary email client: http://www.opera.com/mail/ Did you install xorg? -/usr/ports/x11/xorg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Amavisd-new issues..
Hello, I recently attempted to install amavisd-new along with clamd to scan email. Here is the guide I used: http://www.freebsddiary.org/virus-scanning.php Everything goes fine until its time to start amavisd-new. It just doesnt start and I do not see anything in the logs to indicate a problem. When I issue the command I see no errors, but do not see it running when I check ps aux Some output from my device: [...@hbca ~]$ uname -a FreeBSD hbca.yeaguy.com 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Oct 25 20:48:05 PDT 2010 v...@hbca.yeaguy.com:/usr/obj/usr/src/sys/HBCA i386 [...@hbca ~]$ pkg_info | grep amavis amavisd-new-2.6.4_8,1 Performance-enhanced daemonized version of amavis-perl [...@hbca ~]$ perl -v This is perl, v5.10.1 (*) built for i386-freebsd-64int Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using man perl or perldoc perl. If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. [...@hbca ~]$ pkg_info | grep perl amavisd-new-2.6.4_8,1 Performance-enhanced daemonized version of amavis-perl p5-DBI-1.615The perl5 Database Interface. Required for DBD::* modules p5-MIME-Tools-5.428,2 A set of perl5 modules for MIME p5-Storable-2.21Persistency for perl data structures p5-Test-Harness-3.22 Run perl standard test scripts with statistics perl-5.10.1_1 Practical Extraction and Report Language [...@hbca ~]$ Thank you for your time, jv ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Amavisd-new issues..
On Wed, 27 Oct 2010, Bruce Cran wrote: On Wed, 27 Oct 2010 01:11:32 -0700 (PDT) Justin V. v...@yeaguy.com wrote: Everything goes fine until its time to start amavisd-new. It just doesnt start and I do not see anything in the logs to indicate a problem. Have you checked /var/log/maillog ? -- Bruce Cran Ah ok.. I was only checking /var/log/messages... I need to check that HOWTO again, did it say messages or maillog? But at least I have an idea now of whats going on.. Oct 27 10:43:37 hbca amavis[71920]: starting. /usr/local/sbin/amavisd at yeaguy.com amavisd-new-2.6.4 (20090625), Unicode aware Oct 27 10:43:37 hbca amavis[71920]: Perl version 5.010001 Oct 27 10:43:38 hbca amavis[71922]: Net::Server: Group Not Defined. Defaulting to EGID '110 110' Oct 27 10:43:38 hbca amavis[71922]: Net::Server: User Not Defined. Defaulting to EUID '110' Oct 27 10:43:38 hbca amavis[71922]: Module Amavis::Conf2.207 Oct 27 10:43:38 hbca amavis[71922]: Module Archive::Zip1.30 Oct 27 10:43:38 hbca amavis[71922]: Module BerkeleyDB 0.43 Oct 27 10:43:38 hbca amavis[71922]: Module Compress::Zlib 2.02 Oct 27 10:43:38 hbca amavis[71922]: Module Convert::TNEF 0.17 Oct 27 10:43:38 hbca amavis[71922]: Module Convert::UUlib 1.33 Oct 27 10:43:38 hbca amavis[71922]: Module Crypt::OpenSSL::RSA 0.26 Oct 27 10:43:38 hbca amavis[71922]: Module DBD::mysql 4.017 Oct 27 10:43:38 hbca amavis[71922]: Module DBI 1.615 Oct 27 10:43:38 hbca amavis[71922]: Module DB_File 1.82 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::MD5 2.39 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::SHA 5.47 Oct 27 10:43:38 hbca amavis[71922]: Module Digest::SHA12.13 Oct 27 10:43:38 hbca amavis[71922]: Module IO::Socket::INET6 2.65 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Entity5.428 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Parser5.428 Oct 27 10:43:38 hbca amavis[71922]: Module MIME::Tools 5.428 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::DKIM::Signer 0.38 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::DKIM::Verifier 0.38 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::Header2.07 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::Internet 2.07 Oct 27 10:43:38 hbca amavis[71922]: Module Mail::SpamAssassin 3.003001 Oct 27 10:43:38 hbca amavis[71922]: Module Net::DNS0.66 Oct 27 10:43:38 hbca amavis[71922]: Module Net::Server 0.99 Oct 27 10:43:38 hbca amavis[71922]: Module NetAddr::IP 4.028 Oct 27 10:43:38 hbca amavis[71922]: Module Razor2::Client::Version 2.84 Oct 27 10:43:38 hbca amavis[71922]: Module Socket6 0.23 Oct 27 10:43:38 hbca amavis[71922]: Module Time::HiRes 1.9719 Oct 27 10:43:38 hbca amavis[71922]: Module URI 1.56 Oct 27 10:43:38 hbca amavis[71922]: Module Unix::Syslog1.1 Oct 27 10:43:38 hbca amavis[71922]: Amavis::DB code loaded Oct 27 10:43:38 hbca amavis[71922]: Amavis::Cache code loaded Oct 27 10:43:38 hbca amavis[71922]: SQL base codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: SQL::Log codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: SQL::Quarantine NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Lookup::SQL code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Lookup::LDAP codeNOT loaded Oct 27 10:43:38 hbca amavis[71922]: AM.PDP-in proto code loaded Oct 27 10:43:38 hbca amavis[71922]: SMTP-in proto code loaded Oct 27 10:43:38 hbca amavis[71922]: Courier proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: SMTP-out proto code loaded Oct 27 10:43:38 hbca amavis[71922]: Pipe-out proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: BSMTP-out proto code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Local-out proto code loaded Oct 27 10:43:38 hbca amavis[71922]: OS_Fingerprint code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-VIRUS code loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM code loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-EXT code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-C code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: ANTI-SPAM-SA codeloaded Oct 27 10:43:38 hbca amavis[71922]: Unpackers code loaded Oct 27 10:43:38 hbca amavis[71922]: DKIM codeloaded Oct 27 10:43:38 hbca amavis[71922]: Tools code NOT loaded Oct 27 10:43:38 hbca amavis[71922]: Found $fileat /usr/local/bin/file Oct 27 10:43:38 hbca amavis[71922]: No $altermime, not using it Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .mail Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .asc Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .uue Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .hqx Oct 27 10:43:38 hbca amavis[71922]: Internal decoder for .ync Oct 27 10:43:38 hbca amavis[71922]: Found decoder for.F
Re: EVFILT_VNODE doesn't scale to large directory trees?
On Mon, 25 Oct 2010, Kenton Varda wrote: |On Mon, Oct 25, 2010 at 1:54 AM, Igor V. Ruzanov ig...@canmos.ru wrote: | | I thought so too but was not sure about his problem. With | kqueue()/kevent() we can monitor every open file descriptor. So how many | files are laid down in the directory tree, 100, 1000, 15000? In every | such way its possible to write or find already written daemon that | monitors every file in selected folder doing several jobs in separate | threads. There is might be little problem with receiving of *lots* events, | so we could create several pipes (for example) for setting up of | communication between deamon and system. | Note that we must remember to set proper meaning of kern.maxfiles sysctl | variable. | | |I worry that simply increasing the FD limits to meet my needs would have |some negative effects, otherwise the limits would be much higher in the |first place. How much kernel memory does each open FD consume? Probably |most of that is wasted space, since I'm opening these FDs for no other |purpose than to pass them to kqueue -- I never read or write them. But it |sounds like you're saying that there is no alternative (other than polling, |which would obviously be a lot worse), so I guess I'll live with it. | |Well, one other idea: Is there a way to simply monitor *all* I/O by all |processes owned by the current user? I could then filter the events down to |the directory I'm interested in. Not the ideal solution, but it would scale |to a source tree of infinite size (since the machine can only be accessing a |finite number of those files at once). It seems likely that this has been |implemented somewhere due to the obvious system monitoring applications, but |I'm not quite sure where to start looking. | As a weak solution - is to install `lsof' on your system and do grepping of the command output periodically to see what the files are opened by process(es) with a certain their owner. But this method not very good since we must collect any system event in real time way that is implemented in kqueue. Another way is to poll events with FAM mechanism that comes from SGI IRIX. Try to research if any solutions to use FAM under FreeBSD and what the methods of events monitoring could be used in FAM together with your project. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: EVFILT_VNODE doesn't scale to large directory trees?
On Sun, 24 Oct 2010, Kenton Varda wrote: |That doesn't answer my question. I'm not even using make. I could write a |few thousand words describing exactly what I'm trying to do and why it does, |in fact, make sense, but it's really beside the point. I just want to know |if there is any scalable way to monitor a very large directory tree for |changes. Is there? | Dig `kqueue' - its the native FreeBSD's events polling/notification mechanism. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: EVFILT_VNODE doesn't scale to large directory trees?
On Mon, 25 Oct 2010, Erik Trulsson wrote: |On Mon, Oct 25, 2010 at 10:48:58AM +0400, Igor V. Ruzanov wrote: | On Sun, 24 Oct 2010, Kenton Varda wrote: | | |That doesn't answer my question. I'm not even using make. I could write a | |few thousand words describing exactly what I'm trying to do and why it does, | |in fact, make sense, but it's really beside the point. I just want to know | |if there is any scalable way to monitor a very large directory tree for | |changes. Is there? | | | Dig `kqueue' - its the native FreeBSD's events polling/notification | mechanism. | |Since the OP mentioned using EVFILT_VNODE I would assume he is already |using kqueue but is not satisfied with it. | I thought so too but was not sure about his problem. With kqueue()/kevent() we can monitor every open file descriptor. So how many files are laid down in the directory tree, 100, 1000, 15000? In every such way its possible to write or find already written daemon that monitors every file in selected folder doing several jobs in separate threads. There is might be little problem with receiving of *lots* events, so we could create several pipes (for example) for setting up of communication between deamon and system. Note that we must remember to set proper meaning of kern.maxfiles sysctl variable. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
The limit on the length of the login
pw: name too long `sdgkjdsfgkjdfghkdjsfgfsdjghdjks' (max is 16) Crutches pam_mysql and pam_ldap does not offer :) regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD equivalent of Microsoft DFS
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 9 Aug 2010, Ed Flecko wrote: |Is there a FreeBSD equivalent to Microsoft DFS, i.e., software that |will replicate delta level file changes of network shares among |multiple servers in real time? | |Would that be rsync with just a frequently scheduled cron task? | Kqueue - most advanced and cool thing implemented as kernel mechanism of events processing. With that you could write your own file auditing system. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFMYPg2bt6QiUlK9twRAhfUAJ4j7dmbXPYaGKGy5G351PWKSMS1iACgxJCP lAoUhxv9xutJLS+extS+wBQ= =DHlr -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: shell redirection
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 2 Feb 2010, Stefan Miklosovic wrote: |hi | |I have a shell script and I would like to do something like this | |$ ./script.sh somefile | You could do kind of the following things: example.sh: #!/bin/sh read new /dev/stdin echo $new After your script was created, you could run it with some redirected text file: ./example.sh file.txt Don't forget about permissions of your script file to enable script execution. Also you might use while/for-expressions if content of the text file is multiple strings rather than just a big one. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLaD6Pbt6QiUlK9twRAhbCAJ4iXYyu5SZqc2uGQsg2tkzsIub+iACgv5l0 0RrvgPbvlfKc6HYm06MnWRk= =4wLL -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrade 7.0 to 7.2 installworld failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 24 Dec 2009, Colin wrote: |Hi folks, |I have started trying to upgrade my 7.0 to 7.2 and it all seemed to be going |well until I got to installworld. | |First off I did a cvsup for src-all from cvsup.ie.freebsd.org with the tag |RELENG_7_2 | |I have then done: | |cd /usr/src |make buildworld ,|make kernel-toolchain |make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=TED |make -DALWAYS_CHECK_MAKE installkernel KERNCONF=TED |shutdown -r now |mergemaster -p |make installworld | |installworld goes through Making hierarchy fine then gets to Installing |everything and goes: | | | Installing everything |-- |cd /usr/src; make -f Makefile.inc1 install |=== share/info (install) |=== lib (install) |=== lib/csu/i386-elf (install) |cc -O2 -fno-strict-aliasing -pipe -I/usr/src/lib/csu/i386-elf/../common |-I/usr/src/lib/csu/i386-elf/../../libc/include -Wsystem-headers -Wall |-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes |-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings |-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline |-Wnested-externs -Wredundant-decls -Wno-pointer-sign -c |/usr/src/lib/csu/i386-elf/crt1.c |/usr/src/lib/csu/i386-elf/crt1.c:33:20: error: stdlib.h: No such file or |directory |In file included from /usr/src/lib/csu/i386-elf/crt1.c:35: |/usr/src/lib/csu/i386-elf/../../libc/include/libc_private.h:184:24: error: |sys/_types.h: No such file or directory | Did you edit /etc/make.conf before make buildworld? Its usefull to set NO_PROFILE to true to avoid compilation of profiled userland libraries. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLM5HVbt6QiUlK9twRAimEAJ4/3Jmg15g/AE2M+8w/NSLKpI7QAwCdFK8B ERNxC5kdl4oMiPTAxXZWyZ0= =M2WT -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Upgrade 7.0 to 7.2 installworld failed
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 24 Dec 2009, Colin wrote: |No, I didn't see that in any of the upgrade guides that I was following. After |looking it up I can see mention of it in a rebuilding world doc. | |This is my make.conf: | |SUP=/usr/local/bin/cvsup |SUPFLAGS= -g -L 2 |SUPHOST=cvsup.FreeBSD.org |SUPFILE=/root/standard-supfile |PORTSSUPFILE= /root/ports-supfile | These things are for cvsup utility setup and they are not invoked to point on options responsible for specific system building. Try to add the following lines to /etc/make.conf: CFLAGS= -O -pipe NO_FORTRAN= true NO_OBJC=true NO_X= true NO_GAMES=true NO_PROFILE= true and re-make buildworld, then make installworld. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLNF1Tbt6QiUlK9twRArvpAKC5hoEkBr2CMVOvvr/Bv7mhw2TaUQCgidcf lnvA0RDPKNmU/rSUkOzAs8c= =HGMu -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help with ipfw please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Dec 2009, Коньков Евгений wrote: |Здравствуйте, Tiago. | |Вы писали 22 декабря 2009 г., 14:59:50: | |T Im trying to add a basic rule in my ipfw. |T My server has 2 network address, one for external access (x.x.x.x) and other |T for the local network(y.y.y.y). |T The mysql is binded to the local network, but I would like to allow my home |T computer (z.z.z.z) to connect to the mysql by the external ip. |T so basicaly im trying to do is: if request comes from z.z.z.z to |T y.y.y.y:3306 redirect to x.x.x.x:3306 |T I tryed some configuration but I ended locked outside the machine... | |You need -redirect_port |man natd: Also it could be done at kernel-level with ipnat. Simple rule doing something like DNAT looks like (/etc/ipnat.conf): rdr input_if_name z.z.z.z port 3306 - x.x.x.x port 3306 tcp After when /etc/ipnat.conf is prepared, say ipnat -f /etc/ipnat.conf and see active sessions with ipnat -l. Good luck. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLMPnnbt6QiUlK9twRAi2SAJ9FW9gdsHFBM6ZVrZhuIrPur7jdXACff/7z qe3vBcSjtevHsD5wKaJRVSg= =BIyk -END PGP SIGNATURE-___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Help with ipfw please
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Dec 2009, Igor V. Ruzanov wrote: |-BEGIN PGP SIGNED MESSAGE- |Hash: SHA1 | |On Tue, 22 Dec 2009, Коньков Евгений wrote: | ||Здравствуйте, Tiago. || ||Вы писали 22 декабря 2009 г., 14:59:50: || ||T Im trying to add a basic rule in my ipfw. ||T My server has 2 network address, one for external access (x.x.x.x) and other ||T for the local network(y.y.y.y). ||T The mysql is binded to the local network, but I would like to allow my home ||T computer (z.z.z.z) to connect to the mysql by the external ip. ||T so basicaly im trying to do is: if request comes from z.z.z.z to ||T y.y.y.y:3306 redirect to x.x.x.x:3306 ||T I tryed some configuration but I ended locked outside the machine... || ||You need -redirect_port ||man natd: | |Also it could be done at kernel-level with ipnat. Simple rule doing |something like DNAT looks like (/etc/ipnat.conf): | |rdr input_if_name z.z.z.z port 3306 - x.x.x.x port 3306 tcp Oh sorry! z.z.z.z necessary to replace with x.x.x.x from your task (external IP), and x.x.x.x by y.y.y.y from your task (private IP). +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.6 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQFLMPz8bt6QiUlK9twRApFzAJ9OPj1QP/Asxen3aprWPFtTaxT6AwCfcjZc C42ztGPXSqJRP3LeZ9zK/Ok= =ZZvR -END PGP SIGNATURE-___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ifdown/ifup under FreeBSD?
|Under RedHat Linux I can configure an interface, routes and so on in |/etc/sysconfig/network-scripts/ifcfg-eth1, |/etc/sysconfig/network-scripts/routes-eth1 then simply run: | |$ ifup eth1 | |and it will set all the routes/netconfig/aliases I just configured. | |Is there something similar in FreeBSD? | |I tried configuring aliases in /etc/rc.conf and running: | |$ /etc/rc.d/netif restart | |but that just ended in errors that the route was already configured |and so on. Sure I could do all the work manually with ifconfig and |route but that's not my question. | Under FreeBSD (as well as under Linux) you could use Zebra (Zebra/Quagga projects) to configure any interfaces/routing specific things. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD 8.0 retires into itself
Hello! I have updated FreeBSD 8.0 sources via cvsup and compiled system. uname -a shows: FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Mon Nov 30 20:15:12 MSD 2009 r...@localhost:/usr/src/sys/i386/compile/HOME-PAE i386 Machine has 3 physical interfaces: - em0 (PCI/Intel PWLA 8390 MT) - em1 (PCI/Intel PWLA 8390 MT) - fxp0 (PCI/Intel EtherExpress PRO/100) and 2 VLANs: vlan317 and vlan320. Also there is one interface built in motherboard: - ale0 (PCI-E/Atheros AR8121) One physical interface (em0) is in trunk mode (802.1Q) to configure these two VLANs (vlan317 and vlan320) interfaces. Machine acts as BGP router. It has 3 uplinks: - vlan317 - vlan320 - fxp0 and one backbone interface: - em1. Next, i recompiled all userland and made all necessary configurations after which the machine became as production BGP router installed in server room. So issue looks like the following: After 20-30 minutes of stable work, the system starts to retire into itself: any user processes (bgpd, zebra, named) don't respond, For example a can't telnet to bgpd control terminal, telnet just dies showing: Trying 127.0.0.1... Connected to localhost. Escape character is '^]' I even tried to login into system from local console. But when i pressed Enter after username was typed, the console just hang. Power button also doesn't respond (in usual case pressing on Power button gives the machine is going to power off). One interesting thing: after system was booted, top command shows: system eats about 28-30% of CPU time interrupts eat about only 6-7% of CPU time all user processes eat less than 0-1% of CPU time On another working machine (same BGP router, but system is FreeBSD 7.0-STABLE p4) the picture seems to be different: system etas 9-10% of CPU time interrupts eat 15-16% of CPU time So my question is the REASONS that cause such system behavior. I read UPDATING, so kernel in FreeBSD 8.0 RELEASE was largely reworked, in particular - SMPng in order to remove all non-MPSAFE driver's locks (netperf project). Are there new specific kernel config options to get better perfomance of network subsystem? Or should i set some sysctl variables? My hardware: - Motherboard: ASUS P5P43TD (with built in Gigabit LAN Atheros AR8121) - Core 2 Quad CPU - 4G RAM (2x2048) kernel compiled with PAE support, ULE-scheduler, with PREEMPTION option. If you need whole kernel config, please let me know, i will post it ASAP. Thanks in advance! +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD 8.0 retires into itself
On Thu, 3 Dec 2009, Derek Ragona wrote: |At 04:28 AM 12/3/2009, Igor V. Ruzanov wrote: | Hello! | | I have updated FreeBSD 8.0 sources via cvsup and compiled system. uname -a | shows: | | FreeBSD localhost 8.0-RELEASE FreeBSD 8.0-RELEASE #2: Mon Nov 30 20:15:12 MSD | 2009 r...@localhost:/usr/src/sys/i386/compile/HOME-PAE i386 | | Machine has 3 physical interfaces: | - em0 (PCI/Intel PWLA 8390 MT) | - em1 (PCI/Intel PWLA 8390 MT) | - fxp0 (PCI/Intel EtherExpress PRO/100) | | and 2 VLANs: vlan317 and vlan320. | | Also there is one interface built in motherboard: | - ale0 (PCI-E/Atheros AR8121) | | One physical interface (em0) is in trunk mode (802.1Q) to configure these two | VLANs (vlan317 and vlan320) interfaces. Machine acts as BGP router. It has 3 | uplinks: | - vlan317 | - vlan320 | - fxp0 | | and one backbone interface: | - em1. | | Next, i recompiled all userland and made all necessary configurations after | which the machine became as production BGP router installed in server room. | So issue looks like the following: | | After 20-30 minutes of stable work, the system starts to retire into | itself: any user processes (bgpd, zebra, named) don't respond, For example a | can't telnet to bgpd control terminal, telnet just dies showing: | Trying 127.0.0.1... | Connected to localhost. | Escape character is '^]' | | I even tried to login into system from local console. But when i pressed | Enter after username was typed, the console just hang. Power button also | doesn't respond (in usual case pressing on Power button gives the machine is | going to power off). One interesting thing: after system was booted, top | command shows: | | system eats about 28-30% of CPU time | interrupts eat about only 6-7% of CPU time | all user processes eat less than 0-1% of CPU time | | On another working machine (same BGP router, but system is FreeBSD 7.0-STABLE | p4) the picture seems to be different: | | system etas 9-10% of CPU time | interrupts eat 15-16% of CPU time | | So my question is the REASONS that cause such system behavior. I read | UPDATING, so kernel in FreeBSD 8.0 RELEASE was largely reworked, in | particular - SMPng in order to remove all non-MPSAFE driver's locks (netperf | project). Are there new specific kernel config options to get better | perfomance of network subsystem? Or should i set some sysctl variables? | | My hardware: | - Motherboard: ASUS P5P43TD (with built in Gigabit LAN Atheros AR8121) | - Core 2 Quad CPU | - 4G RAM (2x2048) | | kernel compiled with PAE support, ULE-scheduler, with PREEMPTION option. | If you need whole kernel config, please let me know, i will post it ASAP. | | |You need to check your network setups: |ifconfig -a | |You can really only have one NIC on a single network. With multiple NICs if |they are on the same network, you will have arp issues causing routing issues. |You can easily check the arp table before and after you see this behavior |doing: |arp -a |after a reboot, then after the system becomes unresponsive after 30-40 minutes. | |Multiple NICs are necessary if you are using this system as a firewall or |packet filter. | |To narrow down your problem you may want to disable any NICs that are not |necessary and see if the problem persists. | Thank you for reply, Derek! I have different non-overlapped subnets on used network interfaces. Actually, my machine acts as a border rather than just a router. And it needs several network interface cards (NICs) - one of them looks in my network (my Autonomous System with my internal routing), and another ones look to different ISPs with their own ASs. It gives possibility to make a choice of more cheap route to any Internet resource. By the way, when i tested just installed system under traffic load generated with iperf tool, the system worked fine during several days. Configuration was the same except only one NIC was under traffic load. And similar tests with each NIC installed in my machine yielded the same good results. +---+ ! CANMOS ISP Network! +---+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: ig...@canmos.ru ! +---+ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
ppp problem over bluetooth
hello i am on freesd 6 , i am trying to connect to internet using my nokia phone. so far i got paired it with my pc and able to dialup to my isp, problem is i get connected for sometime and gets disconnected. i cant browse, only one dsn server gets assigned in resolv.conf, infact there must be two. this is how i do it : # /etc/rc.bluetooth start ubt0 BD_ADDR: 00:11:67:0e:04:85 Features: 0xff 0xff 0x8d 0x78 0x8 0x18 00 00 3-Slot 5-Slot Encryption Slot offset Timing accuracy Switch Hold mode Sniff mode Park mode RSSI Channel quality SCO link HV2 packets HV3 packets u-law log A-law log CVSD Power control Transparent SCO data Unknown2.7 Max. ACL packet size: 678 bytes Number of ACL packets: 8 Max. SCO packet size: 48 bytes Number of SCO packets: 10 # rfcomm_pppd -a BD_ADDR -c -C dun -l rfcomm-dialup my ppp.conf - default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuad1 set speed 115200 set dial ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ ATZ OK-ATZ-OK AT+CGDCONT=1,\\\IP\\\,\\\airtelgprs.com\\\ OK \\dATD\\T TIMEOUT 40 CONNECT set timeout 120 enable force-scripts enable dns accept dns enable lqr accept lqr set dial set timeout 0 rfcomm-dialup: set phone *99***1# set authname set authkey accept pap accept chap set timeout 300 add default HISADDR #set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 #set dial ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\\AT+CGDCONT=1,\\\IP\\\,\\\airtelgprs.com \\\ OK #\\dATD\\T TIMEOUT 40 CONNECT #set dial ABORT ERROR ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ ATZ OK-ATZ-OK AT+CGDCONT=1,\\\IP\\\,\\\airtelgprs.com\\\ OK \\dATD\\T TIMEOUT 40 CONNECT # Ensure that device references the correct serial port # for your modem. (cuad0 = COM1, cuad1 = COM2) #PAPorCHAPpmdemand: #set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ # \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. my ppp.log Aug 25 21:00:51 ppp[787]: Phase: Using interface: tun0 Aug 25 21:00:51 ppp[787]: Phase: deflink: Created in closed state Aug 25 21:00:51 ppp[787]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) Aug 25 21:00:51 ppp[787]: tun0: Command: default: set device /dev/cuad1 Aug 25 21:00:51 ppp[787]: tun0: Command: default: set speed 115200 Aug 25 21:00:51 ppp[787]: tun0: Command: default: set dial ABORT ERROR ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 AT+CGDCONT=1,\IP\,\airtelgprs.com\ OK \dATD\T TIMEOUT 40 CONNECT Aug 25 21:00:51 ppp[787]: tun0: Command: default: set timeout 120 Aug 25 21:00:51 ppp[787]: tun0: Command: default: enable force-scripts Aug 25 21:00:51 ppp[787]: tun0: Command: default: enable dns Aug 25 21:00:51 ppp[787]: tun0: Command: default: enable lqr Aug 25 21:00:51 ppp[787]: tun0: Command: default: accept lqr Aug 25 21:00:51 ppp[787]: tun0: Command: default: set dial Aug 25 21:00:51 ppp[787]: tun0: Command: default: set timeout 0 Aug 25 21:00:51 ppp[787]: tun0: Command: default: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set phone *99***1# Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set authname Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set authkey Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: accept pap Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: accept chap Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set timeout 300 Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: add default HISADDR Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: resolv rewrite Aug 25 21:00:51 ppp[787]: tun0: IPCP: Primary nameserver set to xxx.xx.250.6 Aug 25 21:00:51 ppp[787]: tun0: Command: rfcomm-dialup: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Aug 25 21:00:51 ppp[787]: tun0: Phase: PPP Started (direct mode). Aug 25 21:00:51 ppp[787]: tun0: Phase: bundle: Establish Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: closed - opening Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: Connected! Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: opening - dial Aug 25 21:00:51 ppp[787]: tun0: Chat: deflink: Dial attempt 1 of 1 Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: dial - carrier Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: carrier - login Aug 25 21:00:51 ppp[787]: tun0: Phase: deflink: login - lcp Aug 25 21:00:51 ppp[787]: tun0: LCP: FSM: Using deflink as a transport Aug 25 21:00:51 ppp[787]: tun0: LCP: deflink: State change Initial -- Closed Aug 25 21:00:51 ppp[787]: tun0: LCP: deflink: State change Closed -- Stopped Aug 25 21:00:52 ppp[787]: tun0: LCP: deflink: LayerStart Aug 25 21:00:52 ppp[787]: tun0: LCP: deflink: SendConfigReq(1) state = Stopped Aug 25 21:00:52 ppp[787]: tun0: LCP: ACFCOMP[2] Aug 25 21:00:52 ppp[787]: tun0:
Re: Attempting ZFS Only Install of 7.2
Jason Garrett wrote: Top Post, I know... but has anyone on @current tried a full on ZFS on ROOT with GPTZFSBOOT? Both Drew and I have both tried the guide at http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ (dead link now :( ) I get as far as the message I detailed before using parts from another guide. I am hoping for both of us, that someone here knows even a little bit. I installed 8.0-BETA1 on ZFS 2 days ago. It works. I did following steps: 1. Boot from bootable USB-flash (Minimal FreeBSD installation with copy of install CD). 2. Create partitions # gpart show ad0 = 34 312581741 ad0 GPT (149G) 342561 freebsd-boot (128K) 29041943042 freebsd-swap (2.0G) 4194594 2516582403 freebsd-zfs (120G) 255852834 56728941 - free - (27G) 3. Create zpool and filesystem hierarchy 4. Install FreeBSD from copy of install CD to ZFS. I used sysinstall with custom options (Install Root and Media Type) 5. Create /etc/fstab, /etc/rc.conf, /etc/src.conf, /boot/loader.conf http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-118 6. Install ZFS aware /boot/loader http://wiki.freebsd.org/ZFSOnRootWithZFSboot#line-144 7. Create zpool.cache 8. Install ZFS boot: # gpart bootcode -b /zroot/boot/pmbr ad0 # gpart bootcode -p /zroot/boot/gptzfsboot -i 1 ad0 9. Change mount points for zroot pool and reboot. It's all. -- WBR, Andrey V. Elsukov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: jail's adjkerntz
On Wed, May 20, 2009 at 1:42 PM, alexus ale...@gmail.com wrote: inside of my jail i get following emails... adjkerntz[25058]: sysctl(set: machdep.adjkerntz): Operation not permitted i dont remember getting these before... i did changed time zone recently though... you have changed time zone in the hostOS or in the jail? -- http://alexus.org/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Question about install of Fortran compiler
Hello FreeBSD community, I had a friend download all the files in freeBSD ports site (the official one) so i have a large collection of .tbz files but i don't seem to be able to find a correct fortran 77 compiler, i already installed c compiler, but calling g77 wouldn't work. Any help anyone could provide ? Best regards, -- Victor Tame ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A strange compiling issue
hi you may install perl from ports? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD-7 reboots hourly
There could be memory issues. I had a system which used to periodically reboot. Eventually found out that after some time, when a part of memory is accessed, due to the faulty memory chip, the system crashes and reboots. Try swapping the memory banks and boot the system. If the faulty chip falls in the memory range where the system is booting up, then you will be able to see that the booting fails ! OR Try to replace the memory cards and try to run the system. Johan Hendriks wrote: Hello dear colleagues. 2 days I have strange behaviour on my 7.0-RELEASE-p3 server. It started to reboot once an hour. No any suspicious task in crontab, nothing strange in /var/log. Just silent reboot. I have no physical access to server - only remote one. Question is: what could it be? How to find what send computer to reboot? Just extra information: I had such stuff before - installworld helped me for one week, now it appears again :( Opened services/sockets are: nobody proftpd647 1 tcp4 *:21 *:* root sshd 845 4 tcp4 *:22 *:* postfix smtpd 5115 6 tcp4 *:25 *:* bind named 525 20 udp4 xxx.xxx.xxx.xxx:53*:* nobody nginx 643 4 tcp4 *:80 *:* root couriertcp 769 3 tcp4 *:110 *:* root couriertcp 789 3 tcp4 *:143 *:* root rsync 659 5 tcp4 *:873 *:* root couriertcp 779 3 tcp4 *:993 *:* root couriertcp 760 3 tcp4 *:995 *:* root syslogd461 9 udp4 *:514 *:* also on local interface (lo0) I have apache, postgrey, spamassasin. I need some pieces of advice what to do with it and what could it be. Thanks in advance, Alexey A. Ukhov P.S.: I mean hourly: I start top and just wait. last what I see is: 0:59:59 uptime Try to disable some cronjobs that run hourly. I think it is something within a cronjob. Regards, Johan No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.4/1617 - Release Date: 17-8-2008 12:58 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said Requires Windows 95, NT, or better, so I installed Linux. ___ 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 says -p3, but i've got -p2
just rebuild your kernel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to submit a patch to FreeBSD project?
On Fri, Jul 11, 2008 at 2:12 AM, Unga [EMAIL PROTECTED] wrote: Hi all Recently I have submitted a patch to the FreeBSD current mailing list, it seems the patch is not applied yet. (http://lists.freebsd.org/pipermail/freebsd-current/2008-July/086814.html) I'm not sure whether the FreeBSD project does not accept patches from non-committers or may be I did not submit it right. How do I submit a patch to the FreeBSD project? http://www.freebsd.org/support/bugreports.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error:make:don't know how to make buildkernel.stop
On Fri, May 23, 2008 at 7:42 AM, Radomir Skrbek [EMAIL PROTECTED] wrote: For make buildkernel you must have source: src-sys src-base I had the same problem. :-) Synchronizing Your Source http://www.freebsd.org/doc/en/books/handbook/synching.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: canned dist option
Hello, Jean-Paul Natola set WHITOUT_X11=YES in /etc/make.conf for example. just see man make.conf and man src.conf You wrote: Which option does one choose during install for use as a server- Don't need games, X, or anything of the sort. I just want to have ssh access Then install my usual CLAM EXIM SA I know this is a lame question but its been over year since I did this TIA j ___ 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]
jail resource limits
Hello. Project Jail2 is not updated from september 2006, I mean.. Do you have any ideas, how to realize different limits in current jail (freebsd 7.0 release). I found method to create limits for disk usage (with using ZFS by Rudy [EMAIL PROTECTED] ) and CPU usage (perl script by Rudy [EMAIL PROTECTED] ) But I cannot found methods to limit memory usage =( can you help me? Thank you. And sorry for terrible english =( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound volume in Totem
Hi, If volume in mplayer is high, then can you give us what is the -ao you are using ? probably that could be a clue ... On Mon, 2008-02-25 at 01:12 +0100, Nikolaj Thygesen wrote: Hi, Both in 6.x and now in 7 I've had issues with the sound volume in Totem. When I use vlc then nothing's wrong, but in Totem even with all the different available volumes turned to the max, I get much less volume/sound. Previously (6.x on a different machine) I could go into mplayer and turn it up there which would in turn increase volume of Totem, but I don't use mplayer on this new machine and never have. Seems like some global setting is interfering. Even the Gnome Configuration Editor shows nothing (that I can find that is). I've googled but to no avail - anybody?? br - Nikolaj Thygesen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Bhasker C V Registered Linux user: #306349 (counter.li.org) The box said Requires Windows 95, NT, or better, so I installed Linux. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW/Divert problem...
Eric F Crist wrote: firewall_enable=YES firewall_script=/etc/ipfw.sh FWIW, ipfw.sh ONLY has count rules it it. There isn't any NAT/etc going on here. Also, IPFW was compiled with DEFAULT TO ACCEPT, since I'm not really using it for anything other than accounting. In the your /etc/ipfw.sh script you should use -f flag when you run ipfw flush command. -- WBR, Andrey V. Elsukov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPFW/Divert problem...
Eric F Crist wrote: In the your /etc/ipfw.sh script you should use -f flag when you run ipfw flush command. I am, but that has nothing to do with my problem. My problem is that, during system boot, I'm asked the following question: Loading divert daemons Are you sure? [yn]: The system sits there indefinitely until the question is answered. I need this to go away. Are you sure? Please, show your script. I think these is two different messages: 1) Loading divert daemons - probably from some of your third party software start script. 2) Are you sure? [yn] - message from ipfw, when you run `ipfw flush` in the /etc/ipfw.sh script. -- WBR, Andrey V. Elsukov ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Query: SAS Multi-pathing support on 6.2
Hello, Does FreeBSD 6.2 supports SAS multi-pathing. Does FreeBSD has port for linux device mapper tool Thanks and Regards, sai -- -- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Doubt on the information provided in freebsd.org website.
Hi All, I was going through the Architecture Handbook(Link: http://www.freebsd.org/doc/en_US.ISO8859-1/books/arch-handbook/boot-bios.html). In this page they have mentioned following phrase The very last thing in the POST is the INT 0x19 instruction. That instruction reads 512 bytes from the first sector of boot device into the memory at address 0x7c00. AFAIK INT0x19 is a reboot service. So I got confused. Can somebody clarify my doubt on INT0x19 (reboot or bootstraping) Thanks and Regards, SaiGanesh -- -- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. - Brian W. Kernighan -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ports updates
Why ports updates recently occur so seldom? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]