Re: Is it possible to suspend to disk with geli+Root on ZFS installation
On Sun, 13 Oct 2013 13:17:20 +1000, yudi v wrote: 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. [..] 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. [..] 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. Hi Yudi, you haven't said what sort of machine (desktop/server/laptop) or how long a mains power fail runtime you're after, so it's impossible to guess what sort of size UPS you might need .. 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, I don't know about that model; it makes no mention of shutdown alert / control at all, only 'some models' have a USB connector, and I couldn't find the manual for it there. Certainly not all 'desktop' UPSes support what's needed to communicate and shutdown cleanly, so check carefully both the specs and that software (apcupsd or nut) supports the model. I gather from your timestamp (and that model) that you may be in Australia, in which case you could browse from here for the APCs: http://www.apc.com/products/category.cfm?id=13ISOCountryCode=au [However that page currently throws errors on the various model links of 'Element CACHE.APCTOSECOUNTRYMAPPINGS is undefined in APPLICATION.' :( ] anyone know if apcupsd daemon works fine under FreeBSD or should I be looking at Network UPS Tools (NUT). I'm sure there are people here who can advise. I've only setup Eaton and PowerWare UPSes, and those on a Debian linux server, using NUT. cheers, Ian ___ 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 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
Re: Is it possible to suspend to disk with geli+Root on ZFS installation
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 ___ 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
In freebsd-questions Digest, Vol 486, Issue 5, Message: 18 On Fri, 27 Sep 2013 17:37:55 +1000 yudi v yudi@gmail.com wrote: 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. FreeBSD does not support suspend to disk (ACPI state S4) at all. It's been some years since I last heard of any attempts to implement STD. Suspend to RAM (state S3) works on some machines, including mine. If it works on yours then I suspect use of ZFS shouldn't be an extra issue. I haven't used ZFS, so can't comment on the rest of your message(s). cheers, Ian ___ 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 it possible to suspend to disk with geli+Root on ZFS installation
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 And even suspend to RAM doesn't work on every machine [2]. [2]: https://wiki.freebsd.org/IdeasPage#Suspend_to_disk Roland -- R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpR3yscCbfXL.pgp Description: PGP signature
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
Installation hangs during Archive extraction phase (9.1)
Hi, Upon trying to install FreeBSD 9.1 on a HP Proliant DL585G5 installation freezes when it comes to the point Archive Extraction while extracting ports. To be specific, the system freezes while extracting ports.txz at 23% with Overal Progress being 29%. First I thought about the installation medium, so I re-burned the installation CD (disc1), tried the DVD-installation, even installing over the network - the machine always freezes when it comes to archive extraction. For the hardware part: HP Proliant DL585G5 128GB RAM 8 HDs a 146GB: two of them in Raid-1, the remainder Raid0 2x onboard LAN: (HP NC371i) 2 addon NIC-cards with 2 ports each (HP NC360T) Harddisk has been set up with GPT, for the test automatic partitioning. Has anybody out there seen this type of problem? If yes, any known cure/hint/??? Thanks much in advance for any clue, -ewald ___ 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: Installation hangs during Archive extraction phase (9.1)
On 7/26/2013 12:00 PM, Ewald Jenisch wrote: Hi, Upon trying to install FreeBSD 9.1 on a HP Proliant DL585G5 installation freezes when it comes to the point Archive Extraction while extracting ports. To be specific, the system freezes while extracting ports.txz at 23% with Overal Progress being 29%. You don't actually need to install ports.txz. All it does is populate /usr/ports, but you can do that after install using portsnap as documented in the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html): portsnap fetch portsnap extract First I thought about the installation medium, so I re-burned the installation CD (disc1), tried the DVD-installation, even installing over the network - the machine always freezes when it comes to archive extraction. For the hardware part: HP Proliant DL585G5 128GB RAM 8 HDs a 146GB: two of them in Raid-1, the remainder Raid0 2x onboard LAN: (HP NC371i) 2 addon NIC-cards with 2 ports each (HP NC360T) Harddisk has been set up with GPT, for the test automatic partitioning. Has anybody out there seen this type of problem? If yes, any known cure/hint/??? Thanks much in advance for any clue, -ewald ___ 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
Re: Installation hangs during Archive extraction phase (9.1)
On Fri, Jul 26, 2013 at 01:16:32PM +0200, bw.mail.lists wrote: You don't actually need to install ports.txz. All it does is populate /usr/ports, but you can do that after install using portsnap as documented in the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html): portsnap fetch portsnap extract Hi, Thanks for the hint. Now I could finish the installation (which takes like forever (speaking in terms of 2 hours which is pretty strange given the raw power of this machine)) however after rebooting the box behaves weird to say the last: I started out be entering portsnap fetch. Everything runs fine up to the point when I see Verifying snapshot integrity. Then the system completely comes to a grind. After sending the portsnap fetch to the background (^Z) and entering top the machine completely freezes without any indication as to why. I've already done a complete hardware diagnosis - everything OK. Any ideas on how to track this one down? Thanks much in advance, -ewald ___ 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: Installation hangs during Archive extraction phase (9.1)
On Fri, Jul 26, 2013 at 8:51 AM, Ewald Jenisch a...@jenisch.at wrote: On Fri, Jul 26, 2013 at 01:16:32PM +0200, bw.mail.lists wrote: You don't actually need to install ports.txz. All it does is populate /usr/ports, but you can do that after install using portsnap as documented in the handbook ( http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html ): portsnap fetch portsnap extract Hi, Thanks for the hint. Now I could finish the installation (which takes like forever (speaking in terms of 2 hours which is pretty strange given the raw power of this machine)) however after rebooting the box behaves weird to say the last: I started out be entering portsnap fetch. Everything runs fine up to the point when I see Verifying snapshot integrity. Then the system completely comes to a grind. After sending the portsnap fetch to the background (^Z) and entering top the machine completely freezes without any indication as to why. I've already done a complete hardware diagnosis - everything OK. Any ideas on how to track this one down? Don't install ports during installation, try using 8.4 or 9.1BETA1 instead -- Adam Vande More ___ 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: Fresh installation 9.1
Hi All, after using freebsd for 10 to 20 mins, Key board is getting locked. Before this problem , i have enabled ftpd and provided root login for ftp server access. after that I am facing this problem . but i revert back this root access. and i stopped the ftpd service. mouse is working properly. but key board is not responding properly. Please help me on this. Regards On Fri, Jun 21, 2013 at 6:23 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Thu, 20 Jun 2013 18:17+0530, hrkesh sahu wrote: Hi Trond, One more help please, I was trying to install v6eval-3.3.2 which is used for IPv6 ready logo self test within FreeBSD 9.1-RELEASE version for a IPv6 self test. But I am facing this compilation issue. Code: # make === lib (depend) === lib/Cm (depend) rm -f .depend GPATH GRTAGS GSYMS GTAGS rm -f .depend mkdep -f .depend -a-DYYDEBUG -I. -I/usr/local/include CmTypes.cc BtObject.cc BtArray.cc BtList.cc BtSet.cc CmQueue.cc CmAgent.cc CmMain.cc CmSocket.cc CmFdSet.cc CmFdMasks.cc CmString.cc PerfCollect.cc Timer.cc CmDispatch.cc CmReceiver.cc timeval.cc CmToken.cc CmMatch.cc CmLexer.cc CmMain.cc:51:18: error: utmp.h: No such file or directory FreeBSD 9.1 uses utx, not utmp. Try to disable utmp during configure, and possibly enable utx. Running ./configure --help might give some insight. mkdep: compile failed *** [.depend] Error code 1 Stop in /root/Desktop/xxx/v6eval-3.3.2/lib/Cm. *** [depend] Error code 1 Stop in /root/Desktop/xxx/v6eval-3.3.2/lib. *** [depend] Error code 1 Stop in /root/Desktop/xxx/v6eval-3.3.2. Regards Hrisikesh On Fri, Jun 14, 2013 at 6:11 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Fri, 14 Jun 2013 17:31+0530, hrkesh sahu wrote: Hi Trond, Thanks a lot. Sorry I am asking so many thinks. I am looking for a another help. What is static route for a IPV6 router? A static route is something I use for our IPv6 VPN clients in our net. All packets destined to the VPN clients are routed to the inside interface of the VPN router, the VPN router takes care of everything else, including wrapping the packets in the encryption layer and sending the resulting datagrams to the real clients somewhere out there in the world, back through the main router. How do i need to configure static route on FreeBSD router indicating another router's link local address as next HOP? Now I have a another router which is connected in same network with FreeBSD router. If clients on the far end of each of the two routers needs to communicate with one another, then the appropriate default gateway settings on each host and router should suffice. If three or more routers are connected somehow, then they each need to know about the prefixes on the other routers, and where to send the packets, i.e. the next hop, and let the next hop decide each packet's fate as the packets traverse each router link. This is where routing protocols such as RIP, OSPF, IS-IS, BGP, etc, come into play. I haven't looked into route6d(8), RIP6 routing protocol, but I'm sure it can be tamed to act as you please. Maybe you should look into Quagga and/or GNU Zebra. My network is simple enough, and I only need directly connected and static routes to make things happen. On the outside, towards our ISP, things are much more complicated. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++ ___ 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: Fresh installation 9.1
On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote: Hi All, after using freebsd for 10 to 20 mins, Key board is getting locked. Is that inside X? Before this problem , i have enabled ftpd and provided root login for ftp server access. That is something you should _not_ do, especially not within a network you don't trust (see also: The Internet). Usually FTP access can't be trusted (too much plaintext), and especially for root this is a threat to security. Better use scp (SSH) for transfering files in an FTP-like way. after that I am facing this problem . but i revert back this root access. and i stopped the ftpd service. That is a good step regarding security. Still make sure your system hasn't been compromized. Also be sure to change your root password, because you _never_ know. :-) mouse is working properly. but key board is not responding properly. When this happens inside X, it sounds a bit familiar. Does the keyboard start working again when you move the mouse? I'm not sure if _this_ is still an issue: http://www.wonkity.com/~wblock/docs/html/aei.html Make sure the keyboard is working as expected, for example by testing it in a non-X session (text mode terminal). -- 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
Re: Fresh installation 9.1
On Fri, 19 Jul 2013 18:13:07 +0530, hrkesh sahu wrote: Hi All, after using freebsd for 10 to 20 mins, Key board is getting locked. Apart from Polytopon's good questions observations, such as Is that inside X? I'd also add 1 more question: Is that A) a PS2 [or older] direct keyboard ? eg on 8.1 dmesg: kbd1 at kbdmux0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 eg on 9.1 dmesg kbd: new array size 4 kbd1 at kbdmux0 atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0067 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d eg on 9.1 devinfo atkbdc0 atkbd0 Or B) a PS2 keyboard on a USB converter ? eg on 9.1 dmesg ugen1.2: Semi Tech at usbus1 ukbd0: HID Keyboard on usbus1 kbd2 at ukbd0 kbd2: ukbd0, generic (0), config:0x0, flags:0x3d eg on 9.1 devinfo uhci1 usbus1 uhub1 ukbd0 Just yesterday I had a case (B) lock up on me on 8.2-Release it needed a reboot (or power off unplug) to reset it. It might or not even be a FreeBSD problem has an easy hardware solution, Hrkesh Sahu you dont say how many keyboards you tried, or on how many if any other op systems, You know keyboards use wildly different amounts of mA ? Could be your's is greedy near the limit ? (ive had some PCs dont like some keyboards) was room was hotter than normal (I had 2/3 pieces of hardware dies in hot spell here lately) Might be software or harsdware, we dont know. Hrkesh Sahu all others asking free advice should realise: The more you tell readers on a self help list, the more we readers can deduce, but we can't, don't not interested to mind read ;-) The less people tell us, the less likley readers are to bother to guess or ask questions to deduce answers. We're not paid support, we require people to work to help us help them. eg telling us what interesting bits of dmesg might show, which kernel you ran, if modified or generic, what /var/log/messages shows etc (which you can see via ssh to host from another PC, or after reboot, so you dont need keyboard to see why keyboard has failed, no Catch 22 ;-) What extras you might have installed later ? eg on an 8.2 I installed in /boot/loader.conf vboxdrv_load=YES /etc/rc.conf vboxnet_enable=YES that laptop worked just fine from remote, again just yesterday I neededto use acual keyboard (in X) noted respons was abysmal, maybe 5 or 10 seconds to echo. Theres so much you havent told us, we really dont know what youve done that may have been the problem. Even a beginner should ask what commands should I do to produce more diagnostics to help you help me ? Those that don't try hard to help us don't tend to get so much help. Not a particular personal criticism, just really obvious ! Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with . Send plain text. No quoted-printable, HTML, base64, multipart/alternative. Facebook Insecurity: http://www.bbc.co.uk/news/technology-23027643 ___ 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
trashed installation ?
Hi, I got FreeBSD 10 CURRENT installed in a virtualbox on my ubuntu desktop, had installed x11, and was working on gnome (the 3rd day of compilation !) when I lost power ... twice in a row. The FreeBSD recovered the first time but it doesn't look good this second time. I attach a screenshot. I installed the guest editions as well (another day's compilation !) but mouse doesn't work in the FreeBSD terminal and there's no way I can copy text, or share anything via the clipboard. I'm afraid it's shot and I'll have to spend another week recreating a FreeBSD virtualbox guest ... unless you can tell me how to fix this one. Hope to hear from you, but if I haven't by tomorrow I'll just go ahead and wipe this machine and try again ... with pkgs instead of ports this time. Might not a take a week that way. I get the impression that there's no one reading my mails, or else no interest in my problems. Fair enough. What do I expect for free, right? Thanks for the software anyway. -- john francis lee 246/3 Moo 22 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand ___ 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: trashed installation ?
John, Can you link to the screenshots? They're stripped when you post to the mailing list. ___ 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 software installation problems
On Wed, 17 Jul 2013 00:32:28 +0800 (CST) chenjunbing1234 chenjunbing1...@126.com wrote: questi...@freebsd.org Iknowvery littleEnglish, and Iwant to learnfreebsd,I was underftp://ftp.freebsd.org/pub/FreeBSD/doc/zh_CN.GB2312/books/handbook/above tutorialto installand preparation, andmeta lot of problems,Imade athreehttp://bbs.chinaunix.net/forum-5-1.htmlforumpostingsentitled:novicestep by stepinstallFreeBSD-9.0-RELEASE,not many peopleto helpMymainproblemis the softwareinstalled,I hopeto get your help. What problems did you met? I don't understand chinese, sorry. What do you try to install? The page http://bbs.chinaunix.net/forum-5-1.htmlforumpostingsentitled:novice doesn't exist. Perhaps PC-BSD may help you to install it. --- --- Eduardo Morras emorr...@yahoo.es ___ 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
Help to secure my FreeBSD/Apache installation
Hi everybody! I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, php 5.3.3) and I server some websites from it, most of them using Joomla or Wordpress CMS. I recently had a security breach where someone used a hole in an older Joomla version and was able to install a php script called webadmin.php. From that the person was able to browse all folders and view all files - and change them... not nice! Apache runs using the www user (std installation) and all virtualhosts share the same user, but are placed in different directories. I need some help and pointers to what I can do to strengthen security and to atleast prevent someone from writing to the filesystem and browse all directories and files. (allthough joomla needs some folders to be chmod 777) I'm thinking about installing apache2-mpm-itk or similare to jail each site into its own directory and run each virtualhost as its own user. Is this a good idea? Thankful for answers and pointers! All the best - Andy ___ 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 to secure my FreeBSD/Apache installation
Hi, Reference: From: Andy Wodfer wod...@gmail.com Date: Wed, 17 Jul 2013 23:11:27 +0200 Andy Wodfer wrote: Hi everybody! I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, To quote front page of http://www.freebsd.org: * Production: 9.1 * Legacy: 8.4 My net. con. is too slow right now to check this for you, but look yourself, I bet FreeBSD-8.1 was long ago declared by security-officer@ as not supported as too old, php 5.3.3) and I server some websites from it, most of them using Joomla or Wordpress CMS. I recently had a security breach where someone used a hole in an older Joomla version and was able to install a php script called webadmin.php. From that the person was able to browse all folders and view all files - and change them... not nice! Apache runs using the www user (std installation) and all virtualhosts share the same user, but are placed in different directories. I need some help and pointers to what I can do to strengthen security and to atleast prevent someone from writing to the filesystem and browse all directories and files. (allthough joomla needs some folders to be chmod 777) I'm thinking about installing apache2-mpm-itk or similare to jail each site into its own directory and run each virtualhost as its own user. Is this a good idea? Thankful for answers and pointers! All the best - Andy Upgrade to 8.4 or 9.1, Reinstall new versions of all ports, cd /usr/ports/ports-mgmt/portaudit ; make install ; rehash ; portaudit ; # (Which is in 9.1 not in 8.2) port-audit Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with . Send plain text. No quoted-printable, HTML, base64, multipart/alternative. ___ 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 to secure my FreeBSD/Apache installation
Hi, Reference: From: Julian H. Stacey j...@berklix.com Date: Wed, 17 Jul 2013 23:38:51 +0200 Julian H. Stacey wrote: Hi, Reference: From: Andy Wodfer wod...@gmail.com Date: Wed, 17 Jul 2013 23:11:27 +0200 Andy Wodfer wrote: Hi everybody! I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, To quote front page of http://www.freebsd.org: * Production: 9.1 * Legacy: 8.4 My net. con. is too slow right now to check this for you, but look yourself, I bet FreeBSD-8.1 was long ago declared by security-officer@ as not supported as too old, Re version numbers: Your 8.1 STABLE does not exist ! Only 8 Stable, 8.1-RELEASE, 8.2-RELEASE, etc. http://www.freebsd.org/security/unsupported.html 8.1 8.2 not supported. http://www.freebsd.org/security/index.html#sup 9.1-RELEASE has /usr/ports/www/apache22/work/httpd-2.2.23 Upgrade to 8.4 or 9.1, Reinstall new versions of all ports, cd /usr/ports/ports-mgmt/portaudit ; make install ; rehash ; portaudit ; # (Which is in 9.1 not in 8.2) port-audit Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with . Send plain text. No quoted-printable, HTML, base64, multipart/alternative. ___ 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 to secure my FreeBSD/Apache installation
On Wed, 17 Jul 2013 23:11:27 +0200, Andy Wodfer wrote: Hi everybody! I'm running a server on FreeBSD 8.1 STABLE (apache 2.2.16, mysql 5.1.50, php 5.3.3) and I server some websites from it, most of them using Joomla or Wordpress CMS. Those are typical (and known) attack vectors. Make sure you're always up to date regarding fixes! I recently had a security breach where someone used a hole in an older Joomla version and was able to install a php script called webadmin.php. From that the person was able to browse all folders and view all files - and change them... not nice! This implies you cannot know in how far your system has been compromized. I'd suggest a new installation. Make backups of user files and configurations. Make sure you audit them (so you won't re-install a possible backdoor after a clean install). I need some help and pointers to what I can do to strengthen security and to atleast prevent someone from writing to the filesystem and browse all directories and files. (allthough joomla needs some folders to be chmod 777) I'm thinking about installing apache2-mpm-itk or similare to jail each site into its own directory and run each virtualhost as its own user. Is this a good idea? At least it is a _working_ idea. If it is actually a good idea depends on many different factors. Jails are a good means of separation. Sometimes, using simple user accounts is sufficient, but especially regarding complex web content (such as CMS, stuff that involves PHP and whatnot) the more security you can add, the better it is. Also install portaudit to check for security fixes that have been made available for the software you're running. Apply restrictions as hard as possible. If programs want write access to specific directories, try to make then writable per uer accounts, not within the global tree structure (or even within system directories). The nobody user can also be helpful (regarding on what you are running). If you can separate the different CMSs and sites, a possible security breach will be restricted to that only instance. It can be taken down without affecting the other sites. But also: Educate your users. In order to do that, use money. Make them pay. ;-) PS. Allow me a short addition, I know people will beat me with a pointed stick for mentioning it, but: There are no folders. This term is wrong. What you mean are called directories. A folder is the name of one visual representation (among others) of a directory in a graphical user interface. It _is_ not a directory and it is not similar to one. It's comparable to the relation of the handbrake light in your car's dashboard vs. the real handbrake. Don't claim your handbrake light isn't working when in fact your handbrake is broken. :-) Bottom line: Directory correct, folder plain wrong. You don't call files sheets of paper either. :-) -- 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
FreeBSD software installation problems
questi...@freebsd.org Iknowvery littleEnglish, and Iwant to learnfreebsd,I was underftp://ftp.freebsd.org/pub/FreeBSD/doc/zh_CN.GB2312/books/handbook/above tutorialto installand preparation, andmeta lot of problems,Imade athreehttp://bbs.chinaunix.net/forum-5-1.htmlforumpostingsentitled:novicestep by stepinstallFreeBSD-9.0-RELEASE,not many peopleto helpMymainproblemis the softwareinstalled,I hopeto get your help. ___ 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
WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly
2.2.1.2. FreeBSD/amd64 There are two classes of processors capable of running FreeBSD/amd64. The first are AMD64 processors, including the AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors. The second class of processors that can use FreeBSD/amd64 includes those using the Intel® EM64T architecture. Examples of these processors include the Intel® Core™ 2 Duo, Quad, Extreme processor families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of processors, and the Intel® Core™ i3, i5 and i7 processors. /If you have a machine based on an nVidia nForce3 Pro-150, you ///must///use the BIOS setup to disable the IO APIC. If you do not have an option to do this, you will likely have to disable ACPI instead. There are bugs in the Pro-150 chipset for which we have not yet found a workaround./ I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 6100/nForce 430 chipset. Is that OK? Thanks. Answer : It seems to be OK. I downloaded the release 10 memstick image, put it on a memstick, booted from, ran it as a live cd and it worked OK. I looked at the messages and there were no complaints about ACPI. There was a WARNING : WITNESS option enabled, expect reduced performance. Don't know what that meant. So I downloaded a 9.1 iso and ... actually I had one I'd downloaded in March, i386, and tried to install that in a Virtual box under ubuntu. The installation seemed OK ... but I looked up and it was rebooting. It ran the installation again and I watched ... to see it drop out at the 3rd screen with a % of files installed. I'll try and download the 10.0 iso image, since it worked from the memstick. -- john francis lee 246/3 Moo 22 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand ___ 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
Fwd: WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly
That did it! Looks good now. The 10.0 installation completed ... but I forgot to umount the iso image, so the installation was offered again. I 'forcibly' unmounted the iso image, as Virtual Box put it, and booted again. Looks good. Thanks ! No I'll try to add X and some ports. Original Message Subject: WAS : NVIDIA GeForce 6100/nForce 430 chipset NOW : installation in Vbox repeats endlessly Date: Mon, 15 Jul 2013 19:10:33 +0700 From: john francis lee j...@robinlea.com To: questi...@freebsd.org 2.2.1.2. FreeBSD/amd64 There are two classes of processors capable of running FreeBSD/amd64. The first are AMD64 processors, including the AMD Athlon™64, AMD Athlon™64-FX, AMD Opteron™ or better processors. The second class of processors that can use FreeBSD/amd64 includes those using the Intel® EM64T architecture. Examples of these processors include the Intel® Core™ 2 Duo, Quad, Extreme processor families, the Intel® Xeon™ 3000, 5000, and 7000 sequences of processors, and the Intel® Core™ i3, i5 and i7 processors. /If you have a machine based on an nVidia nForce3 Pro-150, you ///must///use the BIOS setup to disable the IO APIC. If you do not have an option to do this, you will likely have to disable ACPI instead. There are bugs in the Pro-150 chipset for which we have not yet found a workaround./ I have a gigabyte GA-M61PME-52P mother board with an NVIDIA GeForce 6100/nForce 430 chipset. Is that OK? Thanks. Answer : It seems to be OK. I downloaded the release 10 memstick image, put it on a memstick, booted from, ran it as a live cd and it worked OK. I looked at the messages and there were no complaints about ACPI. There was a WARNING : WITNESS option enabled, expect reduced performance. Don't know what that meant. So I downloaded a 9.1 iso and ... actually I had one I'd downloaded in March, i386, and tried to install that in a Virtual box under ubuntu. The installation seemed OK ... but I looked up and it was rebooting. It ran the installation again and I watched ... to see it drop out at the 3rd screen with a % of files installed. I'll try and download the 10.0 iso image, since it worked from the memstick. -- john francis lee 246/3 Moo 22 Thanon Kaew Wai Mueang Chiangrai 57000 Thailand ___ 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: HP ILO FreeBSD 8.3 Installation problem
Hi, USB memstick img file is solution for me. I try FreeBSD-8.3-RELEASE-amd64-memstick.img. I downloaded this img file and copy to USB, not burn it to USB. Then attach to İLO such as USB virtual image then sysinstall start, BUT I selected installation from usb install NOT CD/DVD installation. thanks for your answers. 05.07.2013, 02:00, Damien Fleuriot m...@my.gd: On 5 Jul 2013, at 00:01, bw.mail.lists bw.mail.li...@gmail.com wrote: On 7/4/2013 4:59 PM, Emre Çamalan wrote: Hi, I'm trying to install FreeBSD with an HP ILO 4 advanced, web interface. I tried to install FreeBSD 8.2, FreeBSD 8.3 and FreeBSD 8.4. I tried to use acd0 and cd0 as media. I got the same result. ERROR: I'm trying to add freebsd8.3iso from ILO such as virtual drive not from cd or dvd. We had a similar experience with Dell's DRAC and FreeBSD 9.1, after initial boot and kernel load it wasn't able to mount / from (virtual) cd. We ended up using an mfsBSD iso ( http://mfsbsd.vx.sk/ ), which doesn't mount from cd, but uses an .img loaded as memory disk. Didn't try the official bootonly iso or the USB image. Same here, boot from MFS, gpart manually, install manually, works like a charm. I actually do it for all our installs now, the procedure is quite scriptable. ___ 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
HP ILO FreeBSD 8.3 Installation problem
Hi, I'm trying to install FreeBSD with an HP ILO 4 advanced, web interface. I tried to install FreeBSD 8.2, FreeBSD 8.3 and FreeBSD 8.4. I tried to use acd0 and cd0 as media. I got the same result. ERROR: I'm trying to add freebsd8.3iso from ILO such as virtual drive not from cd or dvd. In Screeshot: Error: mounting /dev/acd0 on /dist: Input/output error (5) other ERROR: Unable to initialize selected media. Would you like to adjust your media configuration and try again? ___ 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: HP ILO FreeBSD 8.3 Installation problem
On 7/4/2013 4:59 PM, Emre Çamalan wrote: Hi, I'm trying to install FreeBSD with an HP ILO 4 advanced, web interface. I tried to install FreeBSD 8.2, FreeBSD 8.3 and FreeBSD 8.4. I tried to use acd0 and cd0 as media. I got the same result. ERROR: I'm trying to add freebsd8.3iso from ILO such as virtual drive not from cd or dvd. We had a similar experience with Dell's DRAC and FreeBSD 9.1, after initial boot and kernel load it wasn't able to mount / from (virtual) cd. We ended up using an mfsBSD iso ( http://mfsbsd.vx.sk/ ), which doesn't mount from cd, but uses an .img loaded as memory disk. Didn't try the official bootonly iso or the USB image. In Screeshot: Error: mounting /dev/acd0 on /dist: Input/output error (5) There is no screenshot, list strips attachments. other ERROR: Unable to initialize selected media. Would you like to adjust your media configuration and try again? ___ 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: HP ILO FreeBSD 8.3 Installation problem
On 5 Jul 2013, at 00:01, bw.mail.lists bw.mail.li...@gmail.com wrote: On 7/4/2013 4:59 PM, Emre Çamalan wrote: Hi, I'm trying to install FreeBSD with an HP ILO 4 advanced, web interface. I tried to install FreeBSD 8.2, FreeBSD 8.3 and FreeBSD 8.4. I tried to use acd0 and cd0 as media. I got the same result. ERROR: I'm trying to add freebsd8.3iso from ILO such as virtual drive not from cd or dvd. We had a similar experience with Dell's DRAC and FreeBSD 9.1, after initial boot and kernel load it wasn't able to mount / from (virtual) cd. We ended up using an mfsBSD iso ( http://mfsbsd.vx.sk/ ), which doesn't mount from cd, but uses an .img loaded as memory disk. Didn't try the official bootonly iso or the USB image. Same here, boot from MFS, gpart manually, install manually, works like a charm. I actually do it for all our installs now, the procedure is quite scriptable. ___ 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: Retrieving a FreeBSD installation
On Thu, Jun 27, 2013 at 1:17 PM, Polytropon free...@edvax.de wrote: On Thu, 27 Jun 2013 07:28:49 +, KK CHN wrote: List, I accidentally installed a Linux variant(mint OS) on my Harddisk where FreeBSD is installed( which contains my data). Is there a possibility to retrieve that FreeBSD Installation which is overwritten by Linux installation. In most cases: What has been overwritten is lost. But: What has only been disallocated (data still on disk) can _sometimes_ be recovered. So it depends on _what_ is still left. Anyway, do not do anything with the disk. Do not try any recovery on the disk itself. Make an image of the disk and use that image file for any further action. In case you damage it, make a new copy. Only work with copies. One wrong step can massively decrease your chances of recovery. Any hints welcome! It will be a very hard thing. You will probably have a lot of trial error experience, and you will surely learn a lot, for example about file systems. I've written about this topic on this list already, and I will again re-use some details from a previous post to make a list for what you can try. Boot from a live CD or USB stick or a different disk. Then make a copy of the disk using # dd if=/dev/ad0 of=disk.dd where /dev/ad0 is the disk you have accidentally overwritten your OS installation. In case the disk makes any trouble, use dd_rescue or ddrescue (from ports). You can also try this: # fetch -rR /dev/ad0 Also recoverdisk could be useful. Maybe there's enough information left to re-instantiate the file systems? Also try testdisk. When no file system can be re-instantiated, but you're sure your data is still somewhere, you can use photorec for recovery. It is able to recover a lot more than just photos. The ports collection contains further programs that might be worth investigating; just in case they haven't been mentioned yet: ddrescue dd_rescue - use this to make an image of the disk! magicrescue testdisk- restores content recoverjpeg foremost photorec Then also ffs2recov scan_ffs should be mentioned. And finally, the cure to everything is found in The Sleuth Kit (in ports: tsk): fls dls ils autopsy Keep in mind: Read the manpages before using the programs. It's very important to do so. You need to _know_ what you're dealing with, or you'll probably fail. There is no magical tetroplyrodon to click ^Z and get everything back. :-) Proprietary (and expensive) tools like R-Studio or UFS Explorer can still be considered worth a try. Their trial versions are for free. UFS Explorer even works using wine (I've tried it). If you can remember significant content of your data, you can even use # grep pattern disk.dd to see if it's still in there. With magicrescue, you can try something like this: # magicrescue -r /usr/local/share/magicrescue/recipes -d out disk.dd where out/ is the directory where your results will be written to. Keep in mind that _this_ approach will _not_ recover file _names_! I know how bad it feels for such a simple mistake and I won't make fun on you, pointing you to use your backups. Of course you always have the option to send your disk to a professional recovery company. This substitutes learning and trying yourself by impressive amounts of money. ;-) Good luck! Thank you very much, I am going to invest my time to try the valuable tips you shared. I admit the wrong step I made. Thanks again. -- 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
Retrieving a FreeBSD installation
List, I accidentally installed a Linux variant(mint OS) on my Harddisk where FreeBSD is installed( which contains my data). Is there a possibility to retrieve that FreeBSD Installation which is overwritten by Linux installation. Any hints welcome! Thanks Chn ___ 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: Retrieving a FreeBSD installation
On Thu, 27 Jun 2013 07:28:49 +, KK CHN wrote: List, I accidentally installed a Linux variant(mint OS) on my Harddisk where FreeBSD is installed( which contains my data). Is there a possibility to retrieve that FreeBSD Installation which is overwritten by Linux installation. In most cases: What has been overwritten is lost. But: What has only been disallocated (data still on disk) can _sometimes_ be recovered. So it depends on _what_ is still left. Anyway, do not do anything with the disk. Do not try any recovery on the disk itself. Make an image of the disk and use that image file for any further action. In case you damage it, make a new copy. Only work with copies. One wrong step can massively decrease your chances of recovery. Any hints welcome! It will be a very hard thing. You will probably have a lot of trial error experience, and you will surely learn a lot, for example about file systems. I've written about this topic on this list already, and I will again re-use some details from a previous post to make a list for what you can try. Boot from a live CD or USB stick or a different disk. Then make a copy of the disk using # dd if=/dev/ad0 of=disk.dd where /dev/ad0 is the disk you have accidentally overwritten your OS installation. In case the disk makes any trouble, use dd_rescue or ddrescue (from ports). You can also try this: # fetch -rR /dev/ad0 Also recoverdisk could be useful. Maybe there's enough information left to re-instantiate the file systems? Also try testdisk. When no file system can be re-instantiated, but you're sure your data is still somewhere, you can use photorec for recovery. It is able to recover a lot more than just photos. The ports collection contains further programs that might be worth investigating; just in case they haven't been mentioned yet: ddrescue dd_rescue - use this to make an image of the disk! magicrescue testdisk- restores content recoverjpeg foremost photorec Then also ffs2recov scan_ffs should be mentioned. And finally, the cure to everything is found in The Sleuth Kit (in ports: tsk): fls dls ils autopsy Keep in mind: Read the manpages before using the programs. It's very important to do so. You need to _know_ what you're dealing with, or you'll probably fail. There is no magical tetroplyrodon to click ^Z and get everything back. :-) Proprietary (and expensive) tools like R-Studio or UFS Explorer can still be considered worth a try. Their trial versions are for free. UFS Explorer even works using wine (I've tried it). If you can remember significant content of your data, you can even use # grep pattern disk.dd to see if it's still in there. With magicrescue, you can try something like this: # magicrescue -r /usr/local/share/magicrescue/recipes -d out disk.dd where out/ is the directory where your results will be written to. Keep in mind that _this_ approach will _not_ recover file _names_! I know how bad it feels for such a simple mistake and I won't make fun on you, pointing you to use your backups. Of course you always have the option to send your disk to a professional recovery company. This substitutes learning and trying yourself by impressive amounts of money. ;-) Good luck! -- 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
Fwd: Fresh installation 9.1
Hi , I need one more help - This is my new /etc/rtadvd.conf -- rl0:\ :addr=fd8f:d6d0:e6e7:100:::prefixlen#64 re0:\ :addr=fd44:13de:a366:200:::prefixlen#64 \ :addr1=2001:db8::1:::prefixlen#64:vltime#12345:pltime#12345: For this all the Client machines received the router advertisement. There are two IPv6 clients are connected to Re0 interface of FreeBSD router using a HUB. All IPv6 clients updates there IPv6 address table. client1 IPv6 address - IP Address. . . . . . . . . . . . : 2001:db8::1:f009:905e:1667:4aae IP Address. . . . . . . . . . . . : 2001:db8::1:224:7eff:fee0:6b51 IP Address. . . . . . . . . . . . : fd44:13de:a366:200:f009:905e:1667:4aae IP Address. . . . . . . . . . . . : fd44:13de:a366:200:224:7eff:fee0:6b51 IP Address. . . . . . . . . . . . : fd8f:d6d0:e6e7:100::1337 IP Address. . . . . . . . . . . . : 2001:db8::2::200 IP Address. . . . . . . . . . . . : fe80::224:7eff:fee0:6b51%5 Default Gateway . . . . . . . . . : fe80::21f:d0ff:fe40:8bbd%5 Client2 Ipv6 address - - fe80:0:0:0:204:a3ff:fe11:9d19 - fd44:13de:a366:200:204:a3ff:fe11:9d19 - fd44:13de:a366:200:0:0:0:200 - 2001:db8::1:204:a3ff:fe11:9d19 My surprise is that - I am able to get a reply for a client1 ICMPv6 request ( fd44:13de:a366:200:204:a3ff:fe11:9d19 is a another client2 IPv6 address- ping6 fd44:13de:a366:200:204:a3ff:fe11:9d19 Pinging fd44:13de:a366:200:204:a3ff:fe11:9d19 from fd44:13de:a366:200:f009:905e:1667:4aae with 32 bytes of data: Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time1ms Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time1ms Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time1ms Reply from fd44:13de:a366:200:204:a3ff:fe11:9d19: bytes=32 time1ms But - when I send this ICMPv6 request from Client1 , I am not able to get the reply. ping6 2001:db8::1:204:a3ff:fe11:9d19 Pinging 2001:db8::1:204:a3ff:fe11:9d19 from 2001:db8::1:f009:905e:1667:4aae with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Please help me on this. Regards Hrisikesh On Wed, Jun 12, 2013 at 6:22 PM, hrkesh sahu hrisikeshs...@gmail.comwrote: Hi Trond, I understood that rtadvd should be stopped and rtadvd_enable should be disabled when we are using Link local address. Now i am able to ping link local address. On Wed, Jun 12, 2013 at 5:06 PM, hrkesh sahu hrisikeshs...@gmail.comwrote: Hi Trond, Thanks a lot for this clear information and your help. I need one more help on this link local address communication - I am not able to ping link local address of FREEBSD machine. Laptop ( windows XP) - rl0 interface FreeBSD Router ping from laptop to freebsd Link address - ping6 fe80::21f:d0ff:fe40:8bbd%5 Pinging fe80::21f:d0ff:fe40:8bbd%5 from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data: Request timed out. Request timed out. Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable. Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable. Ping statistics for fe80::21f:d0ff:fe40:8bbd%5: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss), My rc.conf ipv6_gateway_enable=YES rtadvd_enable=YES rtadvd_interfaces=rl0 re0 Regards On Wed, Jun 12, 2013 at 4:32 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 12 Jun 2013 16:16+0530, hrkesh sahu wrote: Hi Trond, Now it is working. could you please tell me how to route link local address routing? Link local addresses are just that, link local. They are NEVER ment to traverse through any router. Think of link local as VLAN local or subnet local. They play a crucial role in Neighbor Discovery and are useful in ad-hoc nets. See section 2.5.6 of RFC 4291: http://tools.ietf.org/html/rfc4291 See the entire section 7 of RFC 4861: http://tools.ietf.org/html/rfc4861 See section 5.3 of RFC 4862: http://tools.ietf.org/html/rfc4862 Laptop ( windows XP) - rl0 interface FreeBSD Router re0 interface -Target Ipv6 Device (XP Link local address ) fe80::224:7eff:fee0:6b51-connected to -fe80::210:b5ff:fe48:9f73 ( freebsd rl0 interface) ( Freebsd re0 Link local address) fe80::21f:d0ff:fe40:8bbd--connected to --- fe80::204:a3ff:fe11:9d19 ( target device link local address) I send a ICMPv6 request from Laptop to Target device Link local address. ping6 fe80::204:a3ff:fe11:9d19%5 Pinging fe80::204:a3ff:fe11:9d19%5 from fe80::224:7eff:fee0:6b51%5 with 32 bytes of data: Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable. Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable. Reply from fe80::224:7eff:fee0:6b51%5: Destination address unreachable. Reply from
Re: custom kernel installation
great, i managed to compile and install the custom kernel with IPFW kernel support as discussed, thanks for your help! i would like to optimise the kernel to be more specific to my hardware, here is a breakdown of what i have: https://gist.github.com/nkhine/fcbcbe36221dc39491f9 here is what is left in my kernel, is there anything else i should take out? https://gist.github.com/nkhine/fcbcbe36221dc39491f9/revisions any advice much appreciated On Sat, Jun 8, 2013 at 2:38 AM, Polytropon free...@edvax.de wrote: On Sat, 8 Jun 2013 01:17:35 +0200, Norman Khine wrote: thanks for the quick reply You're welcome. On Sat, Jun 8, 2013 at 12:54 AM, Polytropon free...@edvax.de wrote: On Sat, 8 Jun 2013 00:37:02 +0200, Norman Khine wrote: hello, i have a dedicated server from OVH and have updated freebsd to 9.1 and want to enable IPFW in the kernel as this is not enabled. Why not use the module for this? For many years now, you do not need a custom kernel if you want to use IPFW (which _had_ to be compiled into the kernel in the past). Use # kldload ipfw.ko is it good idea to run this like this, would i have to do some settings, as i don't want to be locked out of the system? Depends on your requirements. The kernel module is just the firewall infrastructure, and the ipfw _binary_ will then control it. So it's probably a good idea to check your firewall settings (for example in /etc/ipfw.conf) to reflect _exactly_ what you intend (e. g., _not_ disabling SSH). See man ipfw for details on the firewall configuration file. The system brings several preconfigured profiles. You can find them in /etc/defaults/rc.conf (the firewall_ settings group, especially open according to /etc/rc.firewall's comment header, or for example /etc/ipfw.conf, a file created on your own). Do not use closed. :-) Here's a short example, nothing magic: -f flush add allow tcp from any to any ftp in recv xl0 add allow tcp from any to any ssh in recv xl0 This is _one_ solution if you wanted to allow SSH and FTP via the xl0 interface. Depending on what IPFW defaults to (ALLOW or DENY), a different structure might apply. The configuration line add allow ip from any to any will allow everything. Dealing with kernel modules _might_ be a security issue if you define it to be one. For example, if you raise the syetem security level, you won't be able to load or unload kernel modules. In such a situation, only the functionality present in the kernel at boot time will be available. This if course requires a custom kernel as explained. Otherwise it's a good and comfortable idea to load IPFW as a kernel module. It can then be configured in the same way as a kernel-based firewall. yes i would like to see if i can compile a kernel on an OVH box for freebsd i have tried, but there is always something that fails :-( so i wanted the use the one by OVH and modify it for my use. For checking, you should first check if you can compile the GENERIC kernel that's provided by the OS sources: # cd /usr/src # make buildkernel KERNCONF=GENERIC If this works, you could install it and perform a reboot: # make installkernel KERNCONF=GENERIC # reboot Then if you have derived your own kernel configuration file, do the same with KERNCONF= and its name. so i got the 9.1 sources and now in /usr/src/sys/amd64/conf i have a GENERIC file, but this is too generic, besides i don't have access to the physical box. This file is what the GENERIC kernel (distributed with the OS) has been generated from. Use it as a template for your own custom kernel. well, there was no /usr/src when the system arrived from OVH i downloaded this from freebsd ftp site. so i will need to update it to suit my system and i was just looking for a shortcut. If you have been using freebsd-update, it defaults to fetching the OS sources (it's the src item in the Components list of /etc/freebsd-update.conf. Your kernel and system sources _might_ now be more current than the version you're running. As I mentioned, it's neccessary to have world and kernel in sync. The use of freebsd-update should have properly taken care of this (e. g., updated world, GENERIC kernel, and the sources for the whole thing to the current version). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- % .join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ,adym,*)uzq^zqf ] ) ___ 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
custom kernel installation
hello, i have a dedicated server from OVH and have updated freebsd to 9.1 and want to enable IPFW in the kernel as this is not enabled. the way i updated the system was to copy /boot/kernel.old to /boot/GENERIC then followed ch25 http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.htmlthis went well and the system is up to date. so i got the 9.1 sources and now in /usr/src/sys/amd64/conf i have a GENERIC file, but this is too generic, besides i don't have access to the physical box. what will be the correct way to include the IPFW to existing /boot/kernel is there a way to generate the GENERIC file from the existing loaded kernel? this is what # dmesg brings up http://pastebin.com/V8ZExNC8 do i need anything else? any advice much appreciated norman -- % .join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ,adym,*)uzq^zqf ] ) ___ 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: custom kernel installation
On Sat, 8 Jun 2013 00:37:02 +0200, Norman Khine wrote: hello, i have a dedicated server from OVH and have updated freebsd to 9.1 and want to enable IPFW in the kernel as this is not enabled. Why not use the module for this? For many years now, you do not need a custom kernel if you want to use IPFW (which _had_ to be compiled into the kernel in the past). Use # kldload ipfw.ko and maybe # kldload ipfw_nat.ko if it's just about having IPFW. Of course, if explicitely having it _in_ the kernel is your objective, unread this comment. :-) the way i updated the system was to copy /boot/kernel.old to /boot/GENERIC then followed ch25 http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.htmlthis went well and the system is up to date. So you did freebsd-update to update to 9.1-RELEASE. so i got the 9.1 sources and now in /usr/src/sys/amd64/conf i have a GENERIC file, but this is too generic, besides i don't have access to the physical box. This file is what the GENERIC kernel (distributed with the OS) has been generated from. Use it as a template for your own custom kernel. what will be the correct way to include the IPFW to existing /boot/kernel is there a way to generate the GENERIC file from the existing loaded kernel? No, you can simply copy it and then make changes. For example: # cd /usr/src/sys/amd64/conf # cp GENERIC MYKERNEL (or use any other descriptive name) # vi MYKERNEL (make changes as desired, then :wq) # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot Keep in mind that kernel and world have to be in sync version-wise! Regarding IPFW, you will probably add lines like the following: options DUMMYNET options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=500 options IPFILTER options IPDIVERT Of course you can also remove lines for hardware you don't have in your box, like trimming the support for NICs or SCSI controllers and the like. :-) -- 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
Re: custom kernel installation
thanks for the quick reply On Sat, Jun 8, 2013 at 12:54 AM, Polytropon free...@edvax.de wrote: On Sat, 8 Jun 2013 00:37:02 +0200, Norman Khine wrote: hello, i have a dedicated server from OVH and have updated freebsd to 9.1 and want to enable IPFW in the kernel as this is not enabled. Why not use the module for this? For many years now, you do not need a custom kernel if you want to use IPFW (which _had_ to be compiled into the kernel in the past). Use # kldload ipfw.ko is it good idea to run this like this, would i have to do some settings, as i don't want to be locked out of the system? and maybe # kldload ipfw_nat.ko if it's just about having IPFW. Of course, if explicitely having it _in_ the kernel is your objective, unread this comment. :-) yes i would like to see if i can compile a kernel on an OVH box for freebsd i have tried, but there is always something that fails :-( so i wanted the use the one by OVH and modify it for my use. the way i updated the system was to copy /boot/kernel.old to /boot/GENERIC then followed ch25 http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupdate.htmlthis went well and the system is up to date. So you did freebsd-update to update to 9.1-RELEASE. yes so i got the 9.1 sources and now in /usr/src/sys/amd64/conf i have a GENERIC file, but this is too generic, besides i don't have access to the physical box. This file is what the GENERIC kernel (distributed with the OS) has been generated from. Use it as a template for your own custom kernel. well, there was no /usr/src when the system arrived from OVH i downloaded this from freebsd ftp site. so i will need to update it to suit my system and i was just looking for a shortcut. what will be the correct way to include the IPFW to existing /boot/kernel is there a way to generate the GENERIC file from the existing loaded kernel? No, you can simply copy it and then make changes. For example: # cd /usr/src/sys/amd64/conf # cp GENERIC MYKERNEL (or use any other descriptive name) # vi MYKERNEL (make changes as desired, then :wq) # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot Keep in mind that kernel and world have to be in sync version-wise! Regarding IPFW, you will probably add lines like the following: options DUMMYNET options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=500 options IPFILTER options IPDIVERT Of course you can also remove lines for hardware you don't have in your box, like trimming the support for NICs or SCSI controllers and the like. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... -- % .join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ,adym,*)uzq^zqf ] ) ___ 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: custom kernel installation
On Sat, 8 Jun 2013 01:17:35 +0200, Norman Khine wrote: thanks for the quick reply You're welcome. On Sat, Jun 8, 2013 at 12:54 AM, Polytropon free...@edvax.de wrote: On Sat, 8 Jun 2013 00:37:02 +0200, Norman Khine wrote: hello, i have a dedicated server from OVH and have updated freebsd to 9.1 and want to enable IPFW in the kernel as this is not enabled. Why not use the module for this? For many years now, you do not need a custom kernel if you want to use IPFW (which _had_ to be compiled into the kernel in the past). Use # kldload ipfw.ko is it good idea to run this like this, would i have to do some settings, as i don't want to be locked out of the system? Depends on your requirements. The kernel module is just the firewall infrastructure, and the ipfw _binary_ will then control it. So it's probably a good idea to check your firewall settings (for example in /etc/ipfw.conf) to reflect _exactly_ what you intend (e. g., _not_ disabling SSH). See man ipfw for details on the firewall configuration file. The system brings several preconfigured profiles. You can find them in /etc/defaults/rc.conf (the firewall_ settings group, especially open according to /etc/rc.firewall's comment header, or for example /etc/ipfw.conf, a file created on your own). Do not use closed. :-) Here's a short example, nothing magic: -f flush add allow tcp from any to any ftp in recv xl0 add allow tcp from any to any ssh in recv xl0 This is _one_ solution if you wanted to allow SSH and FTP via the xl0 interface. Depending on what IPFW defaults to (ALLOW or DENY), a different structure might apply. The configuration line add allow ip from any to any will allow everything. Dealing with kernel modules _might_ be a security issue if you define it to be one. For example, if you raise the syetem security level, you won't be able to load or unload kernel modules. In such a situation, only the functionality present in the kernel at boot time will be available. This if course requires a custom kernel as explained. Otherwise it's a good and comfortable idea to load IPFW as a kernel module. It can then be configured in the same way as a kernel-based firewall. yes i would like to see if i can compile a kernel on an OVH box for freebsd i have tried, but there is always something that fails :-( so i wanted the use the one by OVH and modify it for my use. For checking, you should first check if you can compile the GENERIC kernel that's provided by the OS sources: # cd /usr/src # make buildkernel KERNCONF=GENERIC If this works, you could install it and perform a reboot: # make installkernel KERNCONF=GENERIC # reboot Then if you have derived your own kernel configuration file, do the same with KERNCONF= and its name. so i got the 9.1 sources and now in /usr/src/sys/amd64/conf i have a GENERIC file, but this is too generic, besides i don't have access to the physical box. This file is what the GENERIC kernel (distributed with the OS) has been generated from. Use it as a template for your own custom kernel. well, there was no /usr/src when the system arrived from OVH i downloaded this from freebsd ftp site. so i will need to update it to suit my system and i was just looking for a shortcut. If you have been using freebsd-update, it defaults to fetching the OS sources (it's the src item in the Components list of /etc/freebsd-update.conf. Your kernel and system sources _might_ now be more current than the version you're running. As I mentioned, it's neccessary to have world and kernel in sync. The use of freebsd-update should have properly taken care of this (e. g., updated world, GENERIC kernel, and the sources for the whole thing to the current version). -- 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
Re: Fresh installation 9.1
Hi Trond, Thanks a lot for your help and Ipv6 routing is working with FreeBSD OS. we want to go for Ipv6 certification for our IPv6 stack. And Ipv6 stack we want to use FreeBSD as one vendor router. Now It will be easy for IPv6 interoperability test with freeBSD. for Ipv6 interoperability test We need another router device and I am planning use Ubuntu as IPv6 router. Please let me your personal view and if you can help me on this, it will be grateful. How to enable gateway for IPv6 in Ubuntu? Router may require to do send Neighbor advertisement for Host Neighbor solicitation . I installed radvd in ubuntu. could you please share radvd.conf of ubuntu? regards On Wed, May 22, 2013 at 7:53 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote: Hi Trond, Thanks a lot for a clear reply. Could you please tell me Laptop1 ipv6 configuration details? as laptop auto configuration will generate the LL address for a auto ipv6 configuration. For Interface rl0 ipv6 address ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 , what will be laptop ipv6 address? It depends solely on the operating system and whether IPv6 privacy is in effect. Normally, the client will perform stateless automatic address configuration (SLAAC). It goes pretty much like this: The router announces the 64 bit prefix, usually every 200 seconds, but the client may request a new announcement at any time. The client generates a 64 bit interface identifier based on its 48 bit MAC address. The client then concatenates the supplied prefix with the generated interface identifier. The client then performs duplicate address detection (DAD), and if everythings checks out, the client got its IPv6 address. Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address 50:e5:49:41:4d:70. The client would then generated this interface id: 52e5:49ff:fe41:4d70. The Universal/Local bit of the MAC address is inverted, and FF:FE is placed at center. (It really ought to be FF:FF, but way back in time someone misread the IEEE standards regarding conversion from 48 bit MAC addresses to EUI64 format. This oversight doesn't really matter.) The same client would then aqcuire this IPv6 address: fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD. The client gets its IPv6 default route/gateway from the router announcement. Of course, you may configure the IPv6 address and gateway manually on the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and fd8f:d6d0:e6e7:100::101 (gateway's address). On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: Hi Trond , Thanks a lot. Now i am able to ping to other network with IPv4 address. For IPv6 I added these lines in rc.conf - first I included - ipv6_gateway_enable=YES ++ Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) While doing ping6 from fe80::224:7eff:fee0:6b51 to fe80::21f:b5ff:fe48:9f73 - it is working. Neighbor advertisement from fe80::21f:b5ff:fe48:9f73 is happening. while doing from ping6 from fe80::224:7eff:fee0:6b51 to other interface fe80::21f:d0ff:fe40:8bbd , then there is no Neighbor advertisement. After this I included these two lines to rc.conf - rtadvd_enable=YES rtadvd_interfaces=rl0 I have not created any file like /etc/rtadvd.conf . Do i need to create this configuration file? if yes, what should be the input to rtadvd.conf for link local address? please find Ipv6 interface details. Ifconfig re0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM, VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_ LINKLOCAL media:Enthernet autoselect (none) status:active rl0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: active Congratz on achieving active carrier wave on your NICs. Right now your system is running with link-local IPv6 addresses. You may view LL addresses as VLAN local. Packets to such addresses will never ever be forwarded by a router. Instead set up either official IPv6 addresses/subnets or create your own Unique
Re: Fresh installation 9.1
On Thu, 23 May 2013 14:26+0530, hrkesh sahu wrote: Hi Trond, Thanks a lot for your help and Ipv6 routing is working with FreeBSD OS. we want to go for Ipv6 certification for our IPv6 stack. And Ipv6 stack we want to use FreeBSD as one vendor router. Now It will be easy for IPv6 interoperability test with freeBSD. for Ipv6 interoperability test We need another router device and I am planning use Ubuntu as IPv6 router. Please let me your personal view and if you can help me on this, it will be grateful. How to enable gateway for IPv6 in Ubuntu? Router may require to do send Neighbor advertisement for Host Neighbor solicitation . I installed radvd in ubuntu. could you please share radvd.conf of ubuntu? Hmm. I'm not at all familiar with Ubuntu or any other Linux distro for that matter. I admit, I did try out Debian/amd64 7.0.0 a couple of weeks ago, but I have far more experience with FreeBSD than anything else in the *nix world. Truth to be told, I regard most Linux distros as inferior compared to the *BSDs, due to the Linux distros forcing you to install a whole lot of bloat. It probably boils down to what level you are on, be it Joe Public or someone with more experience when it comes to computers and operating systems. Maybe I'm just misinformed and there exists a Linux distro or two letting the user/administrator chose what to install rather well. On Wed, May 22, 2013 at 7:53 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote: Hi Trond, Thanks a lot for a clear reply. Could you please tell me Laptop1 ipv6 configuration details? as laptop auto configuration will generate the LL address for a auto ipv6 configuration. For Interface rl0 ipv6 address ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 , what will be laptop ipv6 address? It depends solely on the operating system and whether IPv6 privacy is in effect. Normally, the client will perform stateless automatic address configuration (SLAAC). It goes pretty much like this: The router announces the 64 bit prefix, usually every 200 seconds, but the client may request a new announcement at any time. The client generates a 64 bit interface identifier based on its 48 bit MAC address. The client then concatenates the supplied prefix with the generated interface identifier. The client then performs duplicate address detection (DAD), and if everythings checks out, the client got its IPv6 address. Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address 50:e5:49:41:4d:70. The client would then generated this interface id: 52e5:49ff:fe41:4d70. The Universal/Local bit of the MAC address is inverted, and FF:FE is placed at center. (It really ought to be FF:FF, but way back in time someone misread the IEEE standards regarding conversion from 48 bit MAC addresses to EUI64 format. This oversight doesn't really matter.) The same client would then aqcuire this IPv6 address: fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD. The client gets its IPv6 default route/gateway from the router announcement. Of course, you may configure the IPv6 address and gateway manually on the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and fd8f:d6d0:e6e7:100::101 (gateway's address). On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: Hi Trond , Thanks a lot. Now i am able to ping to other network with IPv4 address. For IPv6 I added these lines in rc.conf - first I included - ipv6_gateway_enable=YES ++ Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) While doing ping6 from fe80::224:7eff:fee0:6b51 to fe80::21f:b5ff:fe48:9f73 - it is working. Neighbor advertisement from fe80::21f:b5ff:fe48:9f73 is happening. while doing from ping6 from fe80::224:7eff:fee0:6b51 to other interface fe80::21f:d0ff:fe40:8bbd , then there is no Neighbor advertisement. After this I included these two lines to rc.conf - rtadvd_enable=YES rtadvd_interfaces=rl0 I have not created any file like /etc/rtadvd.conf . Do i need to create this configuration file? if yes, what should be the input to rtadvd.conf for link local address? please find Ipv6 interface details. Ifconfig re0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM, VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255
HP 2570p installation
Hi, I bought HP Elitebook 2570p(B6Q08EA). I checked everything, if it is compatible, before I bought it. Unfortunately, I cannot install 9.1 RELEASE, nor 10.0 CURRENT. I get the following: BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS 631kB/523264kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (r...@snap.freebsd.org, Mon May 13 00:38:05 UTC 2013) | and the system beeps and freezes. I added hint.acpi.0.disabled=1 to the file /boot/loader.conf with no effect. Please, could you point me how to find out what causes the problem - even the way of debugging? Thank you very much. regards, lk ___ 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: HP 2570p installation
Hi, it might be a good idea to tell us from where you booted. The internal disk, an USB stick, a USB drive ... And of course, what was on that media. Erich On Thu, 23 May 2013 13:02:37 +0200 (CEST) Ludovit Koren ludovit.ko...@gmail.com wrote: Hi, I bought HP Elitebook 2570p(B6Q08EA). I checked everything, if it is compatible, before I bought it. Unfortunately, I cannot install 9.1 RELEASE, nor 10.0 CURRENT. I get the following: BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS 631kB/523264kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (r...@snap.freebsd.org, Mon May 13 00:38:05 UTC 2013) | and the system beeps and freezes. I added hint.acpi.0.disabled=1 to the file /boot/loader.conf with no effect. Please, could you point me how to find out what causes the problem - even the way of debugging? Thank you very much. regards, lk ___ 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
Re: HP 2570p installation
On Thu, 23 May 2013 18:39:44 +0700 erichsfreebsdl...@alogt.com(Erich Dollansky) said: Hi, it might be a good idea to tell us from where you booted. The internal disk, an USB stick, a USB drive ... I am sorry. It was USB memory stick. And of course, what was on that media. As I wrote FreeBSD-9.1-RELEASE-amd64-memstick.img and FreeBSD-10.0-CURRENT-amd64-20130512-r250582-memstick, respectively lk Erich On Thu, 23 May 2013 13:02:37 +0200 (CEST) Ludovit Koren ludovit.ko...@gmail.com wrote: Hi, I bought HP Elitebook 2570p(B6Q08EA). I checked everything, if it is compatible, before I bought it. Unfortunately, I cannot install 9.1 RELEASE, nor 10.0 CURRENT. I get the following: BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS 631kB/523264kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (r...@snap.freebsd.org, Mon May 13 00:38:05 UTC 2013) | and the system beeps and freezes. I added hint.acpi.0.disabled=1 to the file /boot/loader.conf with no effect. Please, could you point me how to find out what causes the problem - even the way of debugging? Thank you very much. regards, lk ___ 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
Re: Fresh installation 9.1
On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: Hi All, IPv4 Routing - I disabled the DHCP from rc.conf for both the interface. but still I am not able to route trafic from one interface to another. rc.conf --- hostname=idc-freebsd keymap=hy.armscii-8.kbd #ifconfig_re0=DHCP #ifconfig_rl0=DHCP dumpdev=NO ifconfig_rl0=inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 Are the two lines above copied straight from your rc.conf file? If so, both lines are missing a at the end. Please check to see if this is needed. Next, the outputs of the ifconfig command and the netstat -r command should reveal something interesting. Would you please post the results from these two commands? ipv6_activate_all_interfaces=YES gateway_enable=YES default_router=192.168.200.1 I am using FreeBSD - 9.1 Release version I need to communicate between two different subnets. Am i missing anything to enable freebsd as router? Do i need to add a route entry? If possible could you please share rc.conf file with IPv4 routing? Regards Hrisikesh On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: HI All, I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to make this FreeBSD machine as a router . This is my rc.conf ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 gateway_enable = YES ifconfig_rl0 = DHCP ifconfig_re0 = DHCP defaultrouter = 192.168.100.1 ipv6_activate_all_interfaces = YES sshd_enable = YES synchronous_dhclient=YES Please help me to establish a IPv4 router. Both the interfaces are connected to to different laptops with a static IP address. You should place a # in front of the two lines: ifconfig_rl0 = DHCP ifconfig_re0 = DHCP Next, you probably shouldn't place spaces before and after the equal signs. Laptop 1 = 192.168.100.102 ( connected to interface rl0) gateway - 192.168.100.1 Laptop 2 = 192.168.200.102 ( connected to interface re0) ping from Laptop1 - rl0 is successful but ping from Laptop1 - re0 is not successful. After this I want to know also How to make this as IPv6 router? See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html . You probably should create a ULA prefix or two, and assign these to your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help you. Something along these lines might help you achieve what you want: ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64 ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64 ipv6_gateway_enable=YES Finally you probably should configure and enable Router Advertisement and Host Auto Configuration as explained in section 32.11.6 of http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html . -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ 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: Fresh installation 9.1
Hi , Thanks a lot for this quick reply. Sorry i missed the in the end while typing. It's a typo. I provided the ouput of nestat -r and ifconfig. netstat -r -- routing tables - internet : --- destination Gateway Flags Refs Use Netif Expire default 192.168.200.1 UGS 0 0 re0 localhost link#12 UH 0 148 lo0 192.168.100.0 link#10 U 0 0 rl0 192.168.100.101 link#10 UHS 0 0 lo0 192.168.200.0 link#5 U 0 0 re0 192.168.200.101 link#5 UHS 0 0 lo0 Internet6: --- Ipv6 details Ifconfig re0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: no carrier rl0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: no carrier there is a plip0 and lo0. Regards Hrisikesh On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: Hi All, IPv4 Routing - I disabled the DHCP from rc.conf for both the interface. but still I am not able to route trafic from one interface to another. rc.conf --- hostname=idc-freebsd keymap=hy.armscii-8.kbd #ifconfig_re0=DHCP #ifconfig_rl0=DHCP dumpdev=NO ifconfig_rl0=inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 Are the two lines above copied straight from your rc.conf file? If so, both lines are missing a at the end. Please check to see if this is needed. Next, the outputs of the ifconfig command and the netstat -r command should reveal something interesting. Would you please post the results from these two commands? ipv6_activate_all_interfaces=YES gateway_enable=YES default_router=192.168.200.1 I am using FreeBSD - 9.1 Release version I need to communicate between two different subnets. Am i missing anything to enable freebsd as router? Do i need to add a route entry? If possible could you please share rc.conf file with IPv4 routing? Regards Hrisikesh On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: HI All, I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to make this FreeBSD machine as a router . This is my rc.conf ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 gateway_enable = YES ifconfig_rl0 = DHCP ifconfig_re0 = DHCP defaultrouter = 192.168.100.1 ipv6_activate_all_interfaces = YES sshd_enable = YES synchronous_dhclient=YES Please help me to establish a IPv4 router. Both the interfaces are connected to to different laptops with a static IP address. You should place a # in front of the two lines: ifconfig_rl0 = DHCP ifconfig_re0 = DHCP Next, you probably shouldn't place spaces before and after the equal signs. Laptop 1 = 192.168.100.102 ( connected to interface rl0) gateway - 192.168.100.1 Laptop 2 = 192.168.200.102 ( connected to interface re0) ping from Laptop1 - rl0 is successful but ping from Laptop1 - re0 is not successful. After this I want to know also How to make this as IPv6 router? See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html . You probably should create a ULA prefix or two, and assign these to your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help you. Something along these lines might help you achieve what you want: ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64 ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64
Re: Fresh installation 9.1
On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: Hi , Thanks a lot for this quick reply. Sorry i missed the in the end while typing. It's a typo. I provided the ouput of nestat -r and ifconfig. netstat -r -- routing tables - internet : --- destination Gateway Flags Refs Use Netif Expire default 192.168.200.1 UGS 0 0 re0 localhost link#12 UH 0 148 lo0 192.168.100.0 link#10 U 0 0 rl0 192.168.100.101 link#10 UHS 0 0 lo0 192.168.200.0 link#5 U 0 0 re0 192.168.200.101 link#5 UHS 0 0 lo0 Internet6: --- Ipv6 details Ifconfig re0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: no carrier rl0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: no carrier there is a plip0 and lo0. Neither NIC is connected to any equipment, e.g. switch, hub, or computer (status: no carrier). Make sure you can use a straight network cable, else you'll need to get a couple of cross wired network cables and use those instead. Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by running the sysctl net.inet.ip.forwarding command. If not, you can set the sysctl to 1 by running the sysctl net.inet.ip.forwarding=1 command, and you probably should inspect the /etc/rc.conf file one more time. Once you connect the computer to the two networks, the IPv4 routing should work. If not, come back. Regards Hrisikesh On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: Hi All, IPv4 Routing - I disabled the DHCP from rc.conf for both the interface. but still I am not able to route trafic from one interface to another. rc.conf --- hostname=idc-freebsd keymap=hy.armscii-8.kbd #ifconfig_re0=DHCP #ifconfig_rl0=DHCP dumpdev=NO ifconfig_rl0=inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 Are the two lines above copied straight from your rc.conf file? If so, both lines are missing a at the end. Please check to see if this is needed. Next, the outputs of the ifconfig command and the netstat -r command should reveal something interesting. Would you please post the results from these two commands? ipv6_activate_all_interfaces=YES gateway_enable=YES default_router=192.168.200.1 I am using FreeBSD - 9.1 Release version I need to communicate between two different subnets. Am i missing anything to enable freebsd as router? Do i need to add a route entry? If possible could you please share rc.conf file with IPv4 routing? Regards Hrisikesh On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: HI All, I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to make this FreeBSD machine as a router . This is my rc.conf ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 gateway_enable = YES ifconfig_rl0 = DHCP ifconfig_re0 = DHCP defaultrouter = 192.168.100.1 ipv6_activate_all_interfaces = YES sshd_enable = YES synchronous_dhclient=YES Please help me to establish a IPv4 router. Both the interfaces are connected to to different laptops with a static IP address. You should place a # in front of the two lines: ifconfig_rl0 = DHCP ifconfig_re0 = DHCP Next, you probably shouldn't place spaces before and after the
Re: Fresh installation 9.1
Hi Trond , Thanks a lot. Now i am able to ping to other network with IPv4 address. For IPv6 I added these lines in rc.conf - first I included - ipv6_gateway_enable=YES ++ Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) While doing ping6 from fe80::224:7eff:fee0:6b51 to fe80::21f:b5ff:fe48:9f73 - it is working. Neighbor advertisement from fe80::21f:b5ff:fe48:9f73 is happening. while doing from ping6 from fe80::224:7eff:fee0:6b51 to other interface fe80::21f:d0ff:fe40:8bbd , then there is no Neighbor advertisement. After this I included these two lines to rc.conf - rtadvd_enable=YES rtadvd_interfaces=rl0 I have not created any file like /etc/rtadvd.conf . Do i need to create this configuration file? if yes, what should be the input to rtadvd.conf for link local address? please find Ipv6 interface details. Ifconfig re0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM, VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_ LINKLOCAL media:Enthernet autoselect (none) status:active rl0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: active Regards Hrisikesh On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: Hi , Thanks a lot for this quick reply. Sorry i missed the in the end while typing. It's a typo. I provided the ouput of nestat -r and ifconfig. netstat -r -- routing tables - internet : --- destination Gateway Flags Refs Use Netif Expire default 192.168.200.1 UGS 0 0 re0 localhost link#12 UH 0 148 lo0 192.168.100.0 link#10 U 0 0 rl0 192.168.100.101 link#10 UHS 0 0 lo0 192.168.200.0 link#5 U 0 0 re0 192.168.200.101 link#5 UHS 0 0 lo0 Internet6: --- Ipv6 details Ifconfig re0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: no carrier rl0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: no carrier there is a plip0 and lo0. Neither NIC is connected to any equipment, e.g. switch, hub, or computer (status: no carrier). Make sure you can use a straight network cable, else you'll need to get a couple of cross wired network cables and use those instead. Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by running the sysctl net.inet.ip.forwarding command. If not, you can set the sysctl to 1 by running the sysctl net.inet.ip.forwarding=1 command, and you probably should inspect the /etc/rc.conf file one more time. Once you connect the computer to the two networks, the IPv4 routing should work. If not, come back. Regards Hrisikesh On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: Hi All, IPv4 Routing - I disabled the DHCP from rc.conf for both the interface. but still I am not able to route trafic from one interface to another. rc.conf --- hostname=idc-freebsd keymap=hy.armscii-8.kbd #ifconfig_re0=DHCP #ifconfig_rl0=DHCP dumpdev=NO
Re: Fresh installation 9.1
On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: Hi Trond , Thanks a lot. Now i am able to ping to other network with IPv4 address. For IPv6 I added these lines in rc.conf - first I included - ipv6_gateway_enable=YES ++ Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) While doing ping6 from fe80::224:7eff:fee0:6b51 to fe80::21f:b5ff:fe48:9f73 - it is working. Neighbor advertisement from fe80::21f:b5ff:fe48:9f73 is happening. while doing from ping6 from fe80::224:7eff:fee0:6b51 to other interface fe80::21f:d0ff:fe40:8bbd , then there is no Neighbor advertisement. After this I included these two lines to rc.conf - rtadvd_enable=YES rtadvd_interfaces=rl0 I have not created any file like /etc/rtadvd.conf . Do i need to create this configuration file? if yes, what should be the input to rtadvd.conf for link local address? please find Ipv6 interface details. Ifconfig re0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM, VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_ LINKLOCAL media:Enthernet autoselect (none) status:active rl0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: active Congratz on achieving active carrier wave on your NICs. Right now your system is running with link-local IPv6 addresses. You may view LL addresses as VLAN local. Packets to such addresses will never ever be forwarded by a router. Instead set up either official IPv6 addresses/subnets or create your own Unique Local Addresses (ULA) as I wrote previously about. Augment your /etc/rc.conf file with, say: ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 You may assign the IPv6 address manually to avoid restarting the networking subsystem or the whole machine: ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 Next, create /etc/rtadvd.conf with the following contents: rl0:\ :addr=fd8f:d6d0:e6e7:100:::prefixlen#64: If you want IPv6 routing on the re0 interface, you need, say this, in /etc/rc.conf: ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64 Assign the IPv6 address manually using: ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 And add this to /etc/rtadvd.conf: re0:\ :addr=fd44:13de:a366:200:::prefixlen#64: You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart. Happy hacking. Regards Hrisikesh On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: Hi , Thanks a lot for this quick reply. Sorry i missed the in the end while typing. It's a typo. I provided the ouput of nestat -r and ifconfig. netstat -r -- routing tables - internet : --- destination Gateway Flags Refs Use Netif Expire default 192.168.200.1 UGS 0 0 re0 localhost link#12 UH 0 148 lo0 192.168.100.0 link#10 U 0 0 rl0 192.168.100.101 link#10 UHS 0 0 lo0 192.168.200.0 link#5 U 0 0 re0 192.168.200.101 link#5 UHS 0 0 lo0 Internet6: --- Ipv6 details Ifconfig re0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: no carrier rl0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask
Re: Fresh installation 9.1
Hi Trond, Thanks a lot for a clear reply. Could you please tell me Laptop1 ipv6 configuration details? as laptop auto configuration will generate the LL address for a auto ipv6 configuration. For Interface rl0 ipv6 address ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 , what will be laptop ipv6 address? Regards On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: Hi Trond , Thanks a lot. Now i am able to ping to other network with IPv4 address. For IPv6 I added these lines in rc.conf - first I included - ipv6_gateway_enable=YES ++ Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) While doing ping6 from fe80::224:7eff:fee0:6b51 to fe80::21f:b5ff:fe48:9f73 - it is working. Neighbor advertisement from fe80::21f:b5ff:fe48:9f73 is happening. while doing from ping6 from fe80::224:7eff:fee0:6b51 to other interface fe80::21f:d0ff:fe40:8bbd , then there is no Neighbor advertisement. After this I included these two lines to rc.conf - rtadvd_enable=YES rtadvd_interfaces=rl0 I have not created any file like /etc/rtadvd.conf . Do i need to create this configuration file? if yes, what should be the input to rtadvd.conf for link local address? please find Ipv6 interface details. Ifconfig re0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM, VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_ LINKLOCAL media:Enthernet autoselect (none) status:active rl0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: active Congratz on achieving active carrier wave on your NICs. Right now your system is running with link-local IPv6 addresses. You may view LL addresses as VLAN local. Packets to such addresses will never ever be forwarded by a router. Instead set up either official IPv6 addresses/subnets or create your own Unique Local Addresses (ULA) as I wrote previously about. Augment your /etc/rc.conf file with, say: ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 You may assign the IPv6 address manually to avoid restarting the networking subsystem or the whole machine: ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 Next, create /etc/rtadvd.conf with the following contents: rl0:\ :addr=fd8f:d6d0:e6e7:100:::prefixlen#64: If you want IPv6 routing on the re0 interface, you need, say this, in /etc/rc.conf: ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64 Assign the IPv6 address manually using: ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 And add this to /etc/rtadvd.conf: re0:\ :addr=fd44:13de:a366:200:::prefixlen#64: You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart. Happy hacking. Regards Hrisikesh On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: Hi , Thanks a lot for this quick reply. Sorry i missed the in the end while typing. It's a typo. I provided the ouput of nestat -r and ifconfig. netstat -r -- routing tables - internet : --- destination Gateway Flags Refs Use Netif Expire default 192.168.200.1 UGS 0 0 re0 localhost link#12 UH 0 148 lo0 192.168.100.0 link#10 U 0 0 rl0 192.168.100.101 link#10 UHS 0 0 lo0 192.168.200.0 link#5 U 0 0 re0 192.168.200.101 link#5 UHS 0 0 lo0 Internet6: --- Ipv6 details Ifconfig re0: flags=8843UP,Broadcast,Running,Simplex,Multicast Metric 0 mtu 1500
Re: Fresh installation 9.1
On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote: Hi Trond, Thanks a lot for a clear reply. Could you please tell me Laptop1 ipv6 configuration details? as laptop auto configuration will generate the LL address for a auto ipv6 configuration. For Interface rl0 ipv6 address ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 , what will be laptop ipv6 address? It depends solely on the operating system and whether IPv6 privacy is in effect. Normally, the client will perform stateless automatic address configuration (SLAAC). It goes pretty much like this: The router announces the 64 bit prefix, usually every 200 seconds, but the client may request a new announcement at any time. The client generates a 64 bit interface identifier based on its 48 bit MAC address. The client then concatenates the supplied prefix with the generated interface identifier. The client then performs duplicate address detection (DAD), and if everythings checks out, the client got its IPv6 address. Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address 50:e5:49:41:4d:70. The client would then generated this interface id: 52e5:49ff:fe41:4d70. The Universal/Local bit of the MAC address is inverted, and FF:FE is placed at center. (It really ought to be FF:FF, but way back in time someone misread the IEEE standards regarding conversion from 48 bit MAC addresses to EUI64 format. This oversight doesn't really matter.) The same client would then aqcuire this IPv6 address: fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD. The client gets its IPv6 default route/gateway from the router announcement. Of course, you may configure the IPv6 address and gateway manually on the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and fd8f:d6d0:e6e7:100::101 (gateway's address). On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: Hi Trond , Thanks a lot. Now i am able to ping to other network with IPv4 address. For IPv6 I added these lines in rc.conf - first I included - ipv6_gateway_enable=YES ++ Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) While doing ping6 from fe80::224:7eff:fee0:6b51 to fe80::21f:b5ff:fe48:9f73 - it is working. Neighbor advertisement from fe80::21f:b5ff:fe48:9f73 is happening. while doing from ping6 from fe80::224:7eff:fee0:6b51 to other interface fe80::21f:d0ff:fe40:8bbd , then there is no Neighbor advertisement. After this I included these two lines to rc.conf - rtadvd_enable=YES rtadvd_interfaces=rl0 I have not created any file like /etc/rtadvd.conf . Do i need to create this configuration file? if yes, what should be the input to rtadvd.conf for link local address? please find Ipv6 interface details. Ifconfig re0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=8209bRXCSUM,TXCSUM, VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xff00 broadcast 192.168.200.255 nd6 options=21PERFORMNUD,AUTO_ LINKLOCAL media:Enthernet autoselect (none) status:active rl0: flags=8843UP,Broadcast, Running,Simplex,Multicast Metric 0 mtu 1500 options=2008VLAN_MTU,WOL_MAGIC ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xff00 broadcast 192.168.100.255 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media:Enthernet autoselect (none) status: active Congratz on achieving active carrier wave on your NICs. Right now your system is running with link-local IPv6 addresses. You may view LL addresses as VLAN local. Packets to such addresses will never ever be forwarded by a router. Instead set up either official IPv6 addresses/subnets or create your own Unique Local Addresses (ULA) as I wrote previously about. Augment your /etc/rc.conf file with, say: ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 You may assign the IPv6 address manually to avoid restarting the networking subsystem or the whole machine: ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 Next, create /etc/rtadvd.conf with the following contents: rl0:\ :addr=fd8f:d6d0:e6e7:100:::prefixlen#64: If you want IPv6 routing on the re0 interface, you need, say this, in /etc/rc.conf: ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64 Assign the IPv6 address manually using: ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 And add this to /etc/rtadvd.conf: re0:\ :addr=fd44:13de:a366:200:::prefixlen#64: You'll need to restart rtadvd by issuing
Re: Fresh installation 9.1
Hi All, IPv4 Routing - I disabled the DHCP from rc.conf for both the interface. but still I am not able to route trafic from one interface to another. rc.conf --- hostname=idc-freebsd keymap=hy.armscii-8.kbd #ifconfig_re0=DHCP #ifconfig_rl0=DHCP dumpdev=NO ifconfig_rl0=inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 ipv6_activate_all_interfaces=YES gateway_enable=YES default_router=192.168.200.1 I am using FreeBSD - 9.1 Release version I need to communicate between two different subnets. Am i missing anything to enable freebsd as router? Do i need to add a route entry? If possible could you please share rc.conf file with IPv4 routing? Regards Hrisikesh On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl trond.endres...@fagskolen.gjovik.no wrote: On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: HI All, I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to make this FreeBSD machine as a router . This is my rc.conf ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 gateway_enable = YES ifconfig_rl0 = DHCP ifconfig_re0 = DHCP defaultrouter = 192.168.100.1 ipv6_activate_all_interfaces = YES sshd_enable = YES synchronous_dhclient=YES Please help me to establish a IPv4 router. Both the interfaces are connected to to different laptops with a static IP address. You should place a # in front of the two lines: ifconfig_rl0 = DHCP ifconfig_re0 = DHCP Next, you probably shouldn't place spaces before and after the equal signs. Laptop 1 = 192.168.100.102 ( connected to interface rl0) gateway - 192.168.100.1 Laptop 2 = 192.168.200.102 ( connected to interface re0) ping from Laptop1 - rl0 is successful but ping from Laptop1 - re0 is not successful. After this I want to know also How to make this as IPv6 router? See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html . You probably should create a ULA prefix or two, and assign these to your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help you. Something along these lines might help you achieve what you want: ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64 ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64 ipv6_gateway_enable=YES Finally you probably should configure and enable Router Advertisement and Host Auto Configuration as explained in section 32.11.6 of http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html . -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++ ___ 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: Fresh installation 9.1
HI All, I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to make this FreeBSD machine as a router . This is my rc.conf ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 gateway_enable = YES ifconfig_rl0 = DHCP ifconfig_re0 = DHCP defaultrouter = 192.168.100.1 ipv6_activate_all_interfaces = YES sshd_enable = YES synchronous_dhclient=YES Please help me to establish a IPv4 router. Both the interfaces are connected to to different laptops with a static IP address. Laptop 1 = 192.168.100.102 ( connected to interface rl0) gateway - 192.168.100.1 Laptop 2 = 192.168.200.102 ( connected to interface re0) ping from Laptop1 - rl0 is successful but ping from Laptop1 - re0 is not successful. After this I want to know also How to make this as IPv6 router? Regards Hrisikesh Regards Hrisikesh ___ 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: Fresh installation 9.1
On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: HI All, I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying to make this FreeBSD machine as a router . This is my rc.conf ifconfig_rl0 = inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=inet 192.168.200.101 netmask 255.255.255.0 gateway_enable = YES ifconfig_rl0 = DHCP ifconfig_re0 = DHCP defaultrouter = 192.168.100.1 ipv6_activate_all_interfaces = YES sshd_enable = YES synchronous_dhclient=YES Please help me to establish a IPv4 router. Both the interfaces are connected to to different laptops with a static IP address. You should place a # in front of the two lines: ifconfig_rl0 = DHCP ifconfig_re0 = DHCP Next, you probably shouldn't place spaces before and after the equal signs. Laptop 1 = 192.168.100.102 ( connected to interface rl0) gateway - 192.168.100.1 Laptop 2 = 192.168.200.102 ( connected to interface re0) ping from Laptop1 - rl0 is successful but ping from Laptop1 - re0 is not successful. After this I want to know also How to make this as IPv6 router? See http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html. You probably should create a ULA prefix or two, and assign these to your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help you. Something along these lines might help you achieve what you want: ifconfig_rl0_ipv6=inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64 ifconfig_re0_ipv6=inet6 fd44:13de:a366:200::1 prefixlen 64 ipv6_gateway_enable=YES Finally you probably should configure and enable Router Advertisement and Host Auto Configuration as explained in section 32.11.6 of http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html. -- +---++ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +---++___ 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: about unatteneded installation
Hi Devin, On 12/20/12 1:10 PM, Devin Teske devin.te...@fisglobal.com wrote: For now, people that prefer sysinstall can use my FreeBSD Druid pre-built install media: For 9.0: http://sourceforge.net/projects/druidbsd/files/FreeBSD-9.0_Druid-1.0b60.iso/download For 8.3: http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso/download As for 10.0 (when it comes out), expect bsdinstall to surpass sysinstall (in many many great ways) in every way (unlike the current status in 9.x). I had begun evaluating FreeBSD Druid and DruidBSD, but was sidetracked with a different project. I'm hoping to return to this in the coming weeks. Having said that, I am wondering what disk partition utilities FreeBSD Druid/DruidBSD use when installing 9.x. Is it using fdisk/bsdlabel or gpart? -- Take care Rick Miller ___ 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: about unatteneded installation
On Thu, 14 Feb 2013, Rick Miller wrote: Hi Devin, On 12/20/12 1:10 PM, Devin Teske devin.te...@fisglobal.com wrote: For now, people that prefer sysinstall can use my FreeBSD Druid pre-built install media: For 9.0: http://sourceforge.net/projects/druidbsd/files/FreeBSD-9.0_Druid-1.0b60.iso/download For 8.3: http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso/download As for 10.0 (when it comes out), expect bsdinstall to surpass sysinstall (in many many great ways) in every way (unlike the current status in 9.x). I had begun evaluating FreeBSD Druid and DruidBSD, but was sidetracked with a different project. I'm hoping to return to this in the coming weeks. Having said that, I am wondering what disk partition utilities FreeBSD Druid/DruidBSD use when installing 9.x. Is it using fdisk/bsdlabel or gpart? Hi Rick, No worries on time lapse. In fact, I had been needing to get back to you on assuaging those 4 failed patch hunks on your sysinstall work. FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What does sysinstall use, you say? Glad you asked. sysinstall(8) uses a combination of: + libdisk ( see, for example, Set_Boot_Mgr(3) within case 'W' of switch (toupper(key)) in function diskPartition() of file stable/9/usr.sbin/sysinstall/disks.c lines 630-693) http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revision=225736view=markup and ... + phk code (see, for example, slice_wizard() function in file stable/9/usr.sbin/sysinstall/wizard.c lines 65-201, in-use for case '|' of the same switch above, same function, lines 695-707 of stable/9/usr.sbin/sysinstall/disks.c) http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revision=225736view=markup http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/wizard.c?revision=225736view=markup But wait, there's more... The FreeBSD 9 version of my FreeBSD Druid has a patch to perform (only when doing automated/scripted installs): gpart -F destroy ${dest_disk} The reason for this is that if you, say for example, were to try the bsdinstall based media and then want to try sysinstall based media, you're actually prevented from re-formatting that disk into a usable MBR layout until you destroy the GPT backup label stored at the end of the disk. So the FreeBSD Druid for 9.x is basically the same as for 8.x with an additional twist, it has gpart in the mfsroot so that it can do a destroy on the GPT backup data before formatting the disk in automated installations (this destroy command is not done for non-scripted installs). You can see the code here: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/freebsd/menu/etc/all_install?r1=1.2r2=1.3 http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/freebsd/menu/etc/all_install?revision=1.3view=markup -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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
Re: about unatteneded installation
On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin devin.te...@fisglobal.com wrote: On Thu, 14 Feb 2013, Rick Miller wrote: No worries on time lapse. In fact, I had been needing to get back to you on assuaging those 4 failed patch hunks on your sysinstall work. FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What does sysinstall use, you say? Glad you asked. sysinstall(8) uses a combination of: I anticipated this. I am under the impression one cannot force proper slice alignment on 4K sector drives with sysinstall (see http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html). Is it safe to assume that this also applies to 9.x when utilizing sysinstall based installer? -- Take care Rick Miller ___ 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: about unatteneded installation
-Original Message- From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick Miller Sent: Thursday, February 14, 2013 10:39 AM To: Teske, Devin Cc: FreeBSD Questions Subject: Re: about unatteneded installation On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin devin.te...@fisglobal.com wrote: On Thu, 14 Feb 2013, Rick Miller wrote: No worries on time lapse. In fact, I had been needing to get back to you on assuaging those 4 failed patch hunks on your sysinstall work. FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What does sysinstall use, you say? Glad you asked. sysinstall(8) uses a combination of: I anticipated this. I am under the impression one cannot force proper slice alignment on 4K sector drives with sysinstall (see http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html). Is it safe to assume that this also applies to 9.x when utilizing sysinstall based installer? As previously mentioned, the FreeBSD Druid for FreeBSD 9.x contains gpart in the mfsroot. To make this work under sysinstall, you'd essentially tell sysinstall to use what's already there (and by already there, I mean have a script pre-create the partition layout with gpart prior to installation). There are places (like the all_install script) in the FreeBSD Druid that would make this a simple proposition, but I'm afraid that the better solution (according to the article) is to use a true 4K-only drive (the article mentions that the problem only comes into play with drives that advertise both 512 and 4K sector sizes). -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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
RE: about unatteneded installation
On Thu, 14 Feb 2013, dte...@freebsd.org wrote: -Original Message- From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick Miller Sent: Thursday, February 14, 2013 10:39 AM To: Teske, Devin Cc: FreeBSD Questions Subject: Re: about unatteneded installation On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin devin.te...@fisglobal.com wrote: On Thu, 14 Feb 2013, Rick Miller wrote: No worries on time lapse. In fact, I had been needing to get back to you on assuaging those 4 failed patch hunks on your sysinstall work. FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What does sysinstall use, you say? Glad you asked. sysinstall(8) uses a combination of: I anticipated this. I am under the impression one cannot force proper slice alignment on 4K sector drives with sysinstall (see http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html). Is it safe to assume that this also applies to 9.x when utilizing sysinstall based installer? As previously mentioned, the FreeBSD Druid for FreeBSD 9.x contains gpart in the mfsroot. To make this work under sysinstall, you'd essentially tell sysinstall to use what's already there (and by already there, I mean have a script pre-create the partition layout with gpart prior to installation). Yes, but neither fdisk(8) nor gpart(8) can align slices to arbitrary (aligned) locations. They will always be aligned to CHS values, equivalent to using -a63 in gpart. gpart(8) can align FreeBSD partitions inside a slice, though. ___ 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
Fresh installation 9.1
Hi All, I am facing a strange issue.. I installed 9.1 release and installation went successful After boot up i got this error - File system had an unexpected inconsistency. ufs : /dev/ada0s1d (/var) unknown error ; ! Help Error - Aborting Boot Going to single user mode. # Please help me if i need to do anything else. I followed this link - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/using-bsdinstall.html Help me on this SETUP. Regards Hrisikesh ___ 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: Fresh installation 9.1
On Wed, 23 Jan 2013 19:49:13 +0530, Hrisikesh sahu wrote: Hi All, I am facing a strange issue.. I installed 9.1 release and installation went successful After boot up i got this error - File system had an unexpected inconsistency. ufs : /dev/ada0s1d (/var) unknown error ; ! Help Error - Aborting Boot Going to single user mode. # Please help me if i need to do anything else. It seems that the /var partition has not been unmounted properly. Perform a manual file system check and retry. The command # fsck -yf /dev/ada0s1d should be applied in single user mode, with /var being unmounted. To make sure file systems are clean _prior_ to booting the system, put background_fsck=NO into /etc/rc.conf; this may lead to longer startup times when something is strange regarding file systems, but it will prevent you from booting into a possibly damaged environment (which could cause more trouble and maybe even data loss, which justifies the longer boot time in my opinion). -- 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
Re: Fresh installation 9.1
At 08:30 AM 1/23/2013, Polytropon wrote: On Wed, 23 Jan 2013 19:49:13 +0530, Hrisikesh sahu wrote: Hi All, I am facing a strange issue.. I installed 9.1 release and installation went successful After boot up i got this error - File system had an unexpected inconsistency. ufs : /dev/ada0s1d (/var) unknown error ; ! Help Error - Aborting Boot Going to single user mode. # Please help me if i need to do anything else. It seems that the /var partition has not been unmounted properly. Perform a manual file system check and retry. The command # fsck -yf /dev/ada0s1d should be applied in single user mode, with /var being unmounted. To make sure file systems are clean _prior_ to booting the system, put background_fsck=NO into /etc/rc.conf; this may lead to longer startup times when something is strange regarding file systems, but it will prevent you from booting into a possibly damaged environment (which could cause more trouble and maybe even data loss, which justifies the longer boot time in my opinion). I setup a number of servers with 9.1 and had the same issue. I'm not sure why, all of the installation went with no errors. I ended up with this in rc.conf: fsck_y_enable=YES background_fsck=NO force_fsck=YES After a few reboots I was able to take it out. Also if you have this in /etc/rc.conf: dumpdev=YES It always does a dump even on reboot, which also marks the filesystems as dirty. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Fresh installation 9.1
On Wed, 23 Jan 2013 10:24:38 -0600, Derek Ragona wrote: Also if you have this in /etc/rc.conf: dumpdev=YES It always does a dump even on reboot, which also marks the filesystems as dirty. That doesn't seem to conform to what /etc/defaults/rc.conf says: dumpdev=NO# Device to crashdump to (device name, AUTO, or NO). dumpdir=/var/crash# Directory where crash dumps are to be stored savecore_flags= # Used if dumpdev is enabled above, and present. crashinfo_enable=YES # Automatically generate crash dump summary. crashinfo_program=/usr/sbin/crashinfo # Script to generate crash dump summary. So YES looks invalid. But note that I could be wrong here, I'm checking on a v8 system, not v9, so maybe the configuration has actually been changed... -- 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
RE: FreeBSD Hp Proliant DL580 g7 IBM 3650 installation problem
HP p410i Smart Array Raid Controller Card is used by HP proliant dl 580 g7, so when i read Freebsd Hardware Compatibility page ... i saw ciss(4) driver includes: HP Smart Array P410i before installation start i load this module from loader console... loader console load ciss OK Loading loader console autoboot it worked, thanks best regards Date: Thu, 10 Jan 2013 10:15:22 -0800 From: d...@pki2.com To: cwe...@hotmail.com Subject: Re: FreeBSD Hp Proliant DL580 g7 IBM 3650 installation problem CC: freebsd-questions@freebsd.org On Thu, 10 Jan 2013, Emre ?amalan wrote: Hi, I have got a big computer which has got at least 4 core Hp Proliant DL580 g7 server. And it has got HP p410i smart array RAID card. I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after passed menu screen I got an error. I have many HP machines with 410i controllers but no G7s. I haven't had a problem installing FreeBSD on them. Please show me the way for solution. I attached last screenshot from HP 580. And IBM machine give an error and restart again and again. I attached screenshot too. ___ 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
FreeBSD Hp Proliant DL580 g7 IBM 3650 installation problem
Hi, I have got a big computer which has got at least 4 core Hp Proliant DL580 g7 server. And it has got HP p410i smart array RAID card. I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after passed menu screen I got an error. Please show me the way for solution. I attached last screenshot from HP 580. And IBM machine give an error and restart again and again. I attached screenshot too. ___ 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 Hp Proliant DL580 g7 IBM 3650 installation problem
On Thu, Jan 10, 2013 at 6:19 PM, Emre Çamalan cwe...@hotmail.com wrote: Hi, I have got a big computer which has got at least 4 core Hp Proliant DL580 g7 server. And it has got HP p410i smart array RAID card. I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after passed menu screen I got an error. Please show me the way for solution. I attached last screenshot from HP 580. And IBM machine give an error and restart again and again. I attached screenshot too. ___ 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, Could you please send us the errors you encounter please? Regards, Alexandre ___ 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 Hp Proliant DL580 g7 IBM 3650 installation problem
u can also see image for HP (proliant DL 580 g7) http://s1.postimage.org/j5gocn2xb/image.jpg for IBM (3650 server) http://s20.postimage.org/uonx173gd/Ibm.jpg From: axel...@ymail.com Date: Thu, 10 Jan 2013 18:41:58 +0100 Subject: Re: FreeBSD Hp Proliant DL580 g7 IBM 3650 installation problem To: cwe...@hotmail.com CC: freebsd-questions@freebsd.org On Thu, Jan 10, 2013 at 6:19 PM, Emre Çamalan cwe...@hotmail.com wrote: Hi, I have got a big computer which has got at least 4 core Hp Proliant DL580 g7 server. And it has got HP p410i smart array RAID card. I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after passed menu screen I got an error. Please show me the way for solution. I attached last screenshot from HP 580. And IBM machine give an error and restart again and again. I attached screenshot too. ___ 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, Could you please send us the errors you encounter please? Regards, Alexandre ___ 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
Re: FreeBSD Hp Proliant DL580 g7 IBM 3650 installation problem
On Thu, 10 Jan 2013, Emre ?amalan wrote: Hi, I have got a big computer which has got at least 4 core Hp Proliant DL580 g7 server. And it has got HP p410i smart array RAID card. I tried to install FreeBSD 8.2, 8.3 9.1 from DVD and bootonly cd but after passed menu screen I got an error. I have many HP machines with 410i controllers but no G7s. I haven't had a problem installing FreeBSD on them. Please show me the way for solution. I attached last screenshot from HP 580. And IBM machine give an error and restart again and again. I attached screenshot too. ___ 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 boot alternate installation?
I have a system that boots 9.0+patches (claims to be 9.1-PRERELEASE but that's a stretch in this case) off an ssd on sata0 - I needed some mfi patches. Now that mfi is working, I have a raid1 pair on the mfi controller, and I've unpacked 9.1-RELEASE onto it using bsdinstall. Now, the crappy PERC5 and the AMI BIOS in my little AMD mobo don't really see eye to eye and I've had a lot of trouble coaxing it to boot from the RAID volume (the RAID card initialises late it seems). I'm happy to keep /boot on the SATA SSD for now. Is there a straightforward way to configure (the menus to) boot from 9.1? I'm happy enough to rename /boot on the SSD and copy over the contents from 9.1 (really the old 9.0+ system is there as insurance for the moment). Is the simplest mechanism to do that and override rootdev in loader.conf? It seems that there are a number of variables with /boot/... paths so its not so easy to switch between (say) /boot90 and /boot91. ___ 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: about unattended installation
Good morning, El 19/12/2012, a las 19:59, Devin Teske devin.te...@fisglobal.com escribió: On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: Good afternoon, One little question… I'm trying to have ready our new unattended FreeBSD installation system. Until now, I have been using Sysinstall scripting file but now with 9.1 out I think it's moment to start using BSDInstaller in the unattended installation process. Hold on a moment. You might want to wait until 9.2. (read more below) Well in the ftp can be seen : FreeBSD-9.1-RELEASE-amd64-disc1.iso downloadable file…. so I assume it's a release??? I have seen the new installer, works basically like an script…. my real question is… before I did in install.cfg something like : disk=da0 partition=all bootManager=standard diskPartitionEditor da0s1-1=ufs 3072000 / da0s1-2=swap 8096000 none da0s1-3=ufs 20485760 /var 1 da0s1-4=ufs 30720760 /usr 1 da0s1-5=ufs 0 /expert 1 diskLabelEditor Now I assume there's no way of getting this same through any command like… 'bsdinstall partedit ___' am I wrong??. You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the user interface (partedit) as one could sysinstall. (read below about 9.2) So I suppose that till the new installer is able to handle this in a similar way to sysinstall (although the syntax to be different or whatever)…. or partitioning can be achieved in some non interactive way, to maintain the possibility of rebuilding one's own release in order to be able to use sysinstall and to be able to maintain working unattended installation systems…. because this is essential for some of us….. and of course sysinstall to still continue working :)... So I assume all should be done by hand like this example of the Handbook : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script…. am I wrong?. If the answer is yes… could you point me to some documentation in order to be able to complete all this doc. The answer is (unfortunately) yes… that is until (hopefully) 9.2. It's an on-going significant amount of work to make add backward compatibility (so bsdinstall can load sysinstall install.cfg files). I'm not going to discuss the specifics here or yet, but I'm actively working on it. No docs on how to mangle the auto script to do what you want (that I know of). Ok then :) Apart from all this… is Sysinstall going to be maintained in parallel?. Sysinstall is dead. Devin, sysinstall should not be died till the new installer allows or exists a way of doing same thing than before we did in some manner or other one….. because else… don't know... can this commands be translated to gpart for example??… and to act in a non interactive way??. But apart from the own gpart the are later other parts of the installation which should be done too… like selecting which distributions to install in a non interactive way for example….. if that is not possible to be done… in a non interactive way…. sysinstall should not disappear…. The bsdinstall you know can be considered the first generation and accordingly is a bit spartan. I'm working hard on the next generation. My plan is to have 10.0 with bsdinstall able to run sysinstall scripts (for backward compatibility; can't yet say what 9.x release will be MFC'd to, but that could be 9.2). I'm planning one helluva BSDCan-2013 presentation. -- Devin Thanks a lot for all !! Best 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: about unattended installation
On Dec 20, 2012, at 3:34 AM, Egoitz Aurrekoetxea Aurre wrote: Good morning, El 19/12/2012, a las 19:59, Devin Teske devin.te...@fisglobal.com escribió: On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: Good afternoon, One little question… I'm trying to have ready our new unattended FreeBSD installation system. Until now, I have been using Sysinstall scripting file but now with 9.1 out I think it's moment to start using BSDInstaller in the unattended installation process. Hold on a moment. You might want to wait until 9.2. (read more below) Well in the ftp can be seen : FreeBSD-9.1-RELEASE-amd64-disc1.iso downloadable file…. so I assume it's a release??? Of course it's a release… it just may not be the release that solves your problem w/respect to scripting bsdinstall like sysinstall. That will come in a future release (like 9.2). I have seen the new installer, works basically like an script…. my real question is… before I did in install.cfg something like : disk=da0 partition=all bootManager=standard diskPartitionEditor da0s1-1=ufs 3072000 / da0s1-2=swap 8096000 none da0s1-3=ufs 20485760 /var 1 da0s1-4=ufs 30720760 /usr 1 da0s1-5=ufs 0 /expert 1 diskLabelEditor Now I assume there's no way of getting this same through any command like… 'bsdinstall partedit ___' am I wrong??. You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the user interface (partedit) as one could sysinstall. (read below about 9.2) So I suppose that till the new installer is able to handle this in a similar way to sysinstall (although the syntax to be different or whatever)…. or partitioning can be achieved in some non interactive way, to maintain the possibility of rebuilding one's own release in order to be able to use sysinstall and to be able to maintain working unattended installation systems…. because this is essential for some of us….. and of course sysinstall to still continue working :)… You got it. This is a sign to the releng team and everybody else that 10.0 should most-likely not see the light of day until bsdinstall can pass the sniff-test for those of us (like you and I) which rely on the ability to script the installation process fully. So I assume all should be done by hand like this example of the Handbook : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script…. am I wrong?. If the answer is yes… could you point me to some documentation in order to be able to complete all this doc. The answer is (unfortunately) yes… that is until (hopefully) 9.2. It's an on-going significant amount of work to make add backward compatibility (so bsdinstall can load sysinstall install.cfg files). I'm not going to discuss the specifics here or yet, but I'm actively working on it. No docs on how to mangle the auto script to do what you want (that I know of). Ok then :) Apart from all this… is Sysinstall going to be maintained in parallel?. Sysinstall is dead. Devin, sysinstall should not be died till the new installer allows or exists a way of doing same thing than before we did in some manner or other one….. And, you're absolutely right. Some facts/history: a. I'm not the one that killed it (on the contrary, like yourself, I was vehemently arguing against its death -- like you say, UNTIL whatever replacement could offer the same features). ASIDE: You can see my arguing the same points your making now at the below link to the mailing-list archives: http://lists.freebsd.org/pipermail/freebsd-sysinstall/2011-February/000369.html ASIDE: There's a lot of arguments for keeping sysinstall in the above-linked mailing-list, but at the end of the day, we have to realize that sysinstall was not being worked on to provide the features that the angry mob of users was demanding (GPT, ZFS, Geli, etc.) so the 15-year inertia that sysinstall enjoyed had to be ended. There will be people like yourself and me that disagree with the timeline of events that led to the demise of sysinstall in the 10.0-CURRENT line, but all I can say is that there is Ron McDowell (may he rest in peace) vehemently recognized the short-coming and dedicated our lives to filling it (and for Ron, actually the final year of his life was spent working on this project -- a truly selfless act if there ever was one). b. It's officially dead in the 10.0-CURRENT line (read
about unattended installation
Though I do have a need for completely unattended and/or network installs, I don't have a need to continue with sysinstall.cfg. Whatever is done, be sure not to hobble any new installer out of some perceived need to be backwards compatible, or invest much time in being so. Writing and using a config isn't that hard. Since drives tend to be shuffled about, keying different configs off MAC address from shell has been nice. A MAC primitive in the config vs. old ifconfig could be handy. As might any smbios serial options. ___ 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
about unattended installation
Good afternoon, One little question… I'm trying to have ready our new unattended FreeBSD installation system. Until now, I have been using Sysinstall scripting file but now with 9.1 out I think it's moment to start using BSDInstaller in the unattended installation process. I have seen the new installer, works basically like an script…. my real question is… before I did in install.cfg something like : disk=da0 partition=all bootManager=standard diskPartitionEditor da0s1-1=ufs 3072000 / da0s1-2=swap 8096000 none da0s1-3=ufs 20485760 /var 1 da0s1-4=ufs 30720760 /usr 1 da0s1-5=ufs 0 /expert 1 diskLabelEditor Now I assume there's no way of getting this same through any command like… 'bsdinstall partedit ___' am I wrong??. So I assume all should be done by hand like this example of the Handbook : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script…. am I wrong?. If the answer is yes… could you point me to some documentation in order to be able to complete all this doc. Apart from all this… is Sysinstall going to be maintained in parallel?. Thank you very much, Best 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: about unattended installation
Won't be able to help you much, but bsdinstall seems to be using gpart rather than fdisk. This page has a nice explanation on how to use gpart: http://www.wonkity.com/~wblock/docs/html/disksetup.html As for sysinstall, it's not being mainitned officially, but http://druidbsd.sourceforge.net/ is using sysinstall Amitabh On Wed, Dec 19, 2012 at 11:36 PM, Egoitz Aurrekoetxea Aurre ego...@ramattack.net wrote: Good afternoon, One little question… I'm trying to have ready our new unattended FreeBSD installation system. Until now, I have been using Sysinstall scripting file but now with 9.1 out I think it's moment to start using BSDInstaller in the unattended installation process. I have seen the new installer, works basically like an script…. my real question is… before I did in install.cfg something like : disk=da0 partition=all bootManager=standard diskPartitionEditor da0s1-1=ufs 3072000 / da0s1-2=swap 8096000 none da0s1-3=ufs 20485760 /var 1 da0s1-4=ufs 30720760 /usr 1 da0s1-5=ufs 0 /expert 1 diskLabelEditor Now I assume there's no way of getting this same through any command like… 'bsdinstall partedit ___' am I wrong??. So I assume all should be done by hand like this example of the Handbook : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script…. am I wrong?. If the answer is yes… could you point me to some documentation in order to be able to complete all this doc. Apart from all this… is Sysinstall going to be maintained in parallel?. Thank you very much, Best 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 ___ 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: about unattended installation
On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: Good afternoon, One little question… I'm trying to have ready our new unattended FreeBSD installation system. Until now, I have been using Sysinstall scripting file but now with 9.1 out I think it's moment to start using BSDInstaller in the unattended installation process. Hold on a moment. You might want to wait until 9.2. (read more below) I have seen the new installer, works basically like an script…. my real question is… before I did in install.cfg something like : disk=da0 partition=all bootManager=standard diskPartitionEditor da0s1-1=ufs 3072000 / da0s1-2=swap 8096000 none da0s1-3=ufs 20485760 /var 1 da0s1-4=ufs 30720760 /usr 1 da0s1-5=ufs 0 /expert 1 diskLabelEditor Now I assume there's no way of getting this same through any command like… 'bsdinstall partedit ___' am I wrong??. You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the user interface (partedit) as one could sysinstall. (read below about 9.2) So I assume all should be done by hand like this example of the Handbook : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script…. am I wrong?. If the answer is yes… could you point me to some documentation in order to be able to complete all this doc. The answer is (unfortunately) yes… that is until (hopefully) 9.2. It's an on-going significant amount of work to make add backward compatibility (so bsdinstall can load sysinstall install.cfg files). I'm not going to discuss the specifics here or yet, but I'm actively working on it. No docs on how to mangle the auto script to do what you want (that I know of). Apart from all this… is Sysinstall going to be maintained in parallel?. Sysinstall is dead. The bsdinstall you know can be considered the first generation and accordingly is a bit spartan. I'm working hard on the next generation. My plan is to have 10.0 with bsdinstall able to run sysinstall scripts (for backward compatibility; can't yet say what 9.x release will be MFC'd to, but that could be 9.2). I'm planning one helluva BSDCan-2013 presentation. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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
Re: about unattended installation
On Thu, Dec 20, 2012 at 12:29 AM, Devin Teske devin.te...@fisglobal.comwrote: On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: Good afternoon, One little question… I'm trying to have ready our new unattended FreeBSD installation system. Until now, I have been using Sysinstall scripting file but now with 9.1 out I think it's moment to start using BSDInstaller in the unattended installation process. Hold on a moment. You might want to wait until 9.2. (read more below) I have seen the new installer, works basically like an script…. my real question is… before I did in install.cfg something like : disk=da0 partition=all bootManager=standard diskPartitionEditor da0s1-1=ufs 3072000 / da0s1-2=swap 8096000 none da0s1-3=ufs 20485760 /var 1 da0s1-4=ufs 30720760 /usr 1 da0s1-5=ufs 0 /expert 1 diskLabelEditor Now I assume there's no way of getting this same through any command like… 'bsdinstall partedit ___' am I wrong??. You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the user interface (partedit) as one could sysinstall. (read below about 9.2) So I assume all should be done by hand like this example of the Handbook : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script…. am I wrong?. If the answer is yes… could you point me to some documentation in order to be able to complete all this doc. The answer is (unfortunately) yes… that is until (hopefully) 9.2. It's an on-going significant amount of work to make add backward compatibility (so bsdinstall can load sysinstall install.cfg files). I'm not going to discuss the specifics here or yet, but I'm actively working on it. No docs on how to mangle the auto script to do what you want (that I know of). Apart from all this… is Sysinstall going to be maintained in parallel?. Sysinstall is dead. The bsdinstall you know can be considered the first generation and accordingly is a bit spartan. I'm working hard on the next generation. My plan is to have 10.0 with bsdinstall able to run sysinstall scripts (for backward compatibility; can't yet say what 9.x release will be MFC'd to, but that could be 9.2). I'm planning one helluva BSDCan-2013 presentation. -- Devin Interesting Devin. I have played around with bsdinstall script files and partedit source files to certain extent. Was able to achieve a bit of success. One of the major stumbling blocks for me still is including custom scripts and packages. Just can't seem to understand where and how to place them, so that it is available to auto script for further processing. Amitabh ___ 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: about unattended installation
On Dec 19, 2012, at 10:52 AM, Amitabh Kant wrote: Won't be able to help you much, but bsdinstall seems to be using gpart rather than fdisk. This page has a nice explanation on how to use gpart: http://www.wonkity.com/~wblock/docs/html/disksetup.html As for sysinstall, it's not being mainitned officially, but http://druidbsd.sourceforge.net/ is using sysinstall Cool! I'm the maintainer of FreeBSD Druid (sysinstall-based 9.x installer). When 9.1 is officially announced, I'll start rolling a new 9.1 based installer (right now, still just 8.3 and 9.0 are the latest offerings). I'm also the maintainer of bsdconfig. I'd like to also think I'm that last unofficial maintainer of sysinstall (I've actually patched it in stable/9 in the past 90 days). And, as-of the last DevSummit, I've been nominated the new maintainer of bsdinstall (with nwhitehorn's blessing). So… At some point, you'll see me go rabid on all the PR's in the freebsd-sysinstall pool, but right now I'm still in the coal-mines dredging out the framework to accept all these missing features. -- Devin On Wed, Dec 19, 2012 at 11:36 PM, Egoitz Aurrekoetxea Aurre ego...@ramattack.net wrote: Good afternoon, One little question… I'm trying to have ready our new unattended FreeBSD installation system. Until now, I have been using Sysinstall scripting file but now with 9.1 out I think it's moment to start using BSDInstaller in the unattended installation process. I have seen the new installer, works basically like an script…. my real question is… before I did in install.cfg something like : disk=da0 partition=all bootManager=standard diskPartitionEditor da0s1-1=ufs 3072000 / da0s1-2=swap 8096000 none da0s1-3=ufs 20485760 /var 1 da0s1-4=ufs 30720760 /usr 1 da0s1-5=ufs 0 /expert 1 diskLabelEditor Now I assume there's no way of getting this same through any command like… 'bsdinstall partedit ___' am I wrong??. So I assume all should be done by hand like this example of the Handbook : # dd if=/dev/zero of=/dev/da1 bs=1k count=1 # fdisk -BI da1 #Initialize your new disk # bsdlabel -B -w da1s1 auto #Label it. # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitions. # mkdir -p /1 # newfs /dev/da1s1e # Repeat this for every partition you created. # mount /dev/da1s1e /1 # Mount the partition(s) # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. In the auto script…. am I wrong?. If the answer is yes… could you point me to some documentation in order to be able to complete all this doc. Apart from all this… is Sysinstall going to be maintained in parallel?. Thank you very much, Best 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 ___ 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 information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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
portmaster: hal-0.5.14_20 and xorg-server-1.7.7_6, 1 (re)installation fails
When running portmaster -d -w -r pcre because of the upgrade from pcre-8.31 to pcre-8.32 I encountered the following inconveniences: Upgrade to hal-0.5.14_20 failed with the message it needs intltool 0.40 which was installed at the time. First upgrading to intltool-0.41.1 solved this. When reinstalling xorg-server-1.7.7_6,1 with portmaster today: Making install in xkb mkdir: /usr/local/share/X11/xkb/compiled: No such file or directory mkdir: /usr/local/share/X11/xkb/compiled: No such file or directory So I checked /usr/local/share/X11/xkb/compiled and this is a symlink to /var/lib/xkb which did not exist at the time. I created /var/lib/xkb and the installation went fine then. There is one file installed in this location: README.compiled This worked, but is it the right solution? Does anyone know what changed maybe? This is on 9.1-RELEASE with a portstree just updated with portsnap. Previous versions of the ports were from about 20 days ago. Everything is installed the standard way. Just if someone runs into these issues these may be found in the list (or already have been solved in ports) Things like this do not happen too often. ___ 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: Booting 2nd(!) FreeBSD installation sitting on same disk
On Sat, 03-Nov-2012 at 18:46:04 +0100, Mehmet Erol Sanliturk wrote: On Sat, Nov 3, 2012 at 9:54 AM, Andre Albsmeier andre.albsme...@siemens.commailto:andre.albsme...@siemens.com wrote: For various reasons I have to use this disk layout: One harddisk with MBR and 3 slices on a i386 box: Slice 1: Windows XP :-( Slice 2: FreeBSD 7.4-STABLE V1 Slice 3: FreeBSD 7.4-STABLE V2 The MBR is configured as: options=packet,noupdate,nosetdrv default_selection=F2 (Slice 2) When booting, I can choose between: F1 Win F2 FreeBSD F3 FreeBSD However, when pressing F3, the system of slice 2(!) is loaded. This is due to the fact that boot1 always loads the first active FreeBSD slice ;-(. I have two possibilities to actually boot slice 3: 1. Playing with currdev when loader(8) is loaded (or using loader.conf of slice 2). 2. Using boot0cfg to allow updating the MBR. 1. is not really fexible and 2. means that the system remembers which slice was booted last (something I do not want). Is there no chance to actually honour the fact that F3 was pressed and boot from slice 3 without updating the MBR before? Thanks, -Andre There is the following port for managing boot selections : ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/grub2.tbz http://www.freshports.org/sysutils/grub2/ Well, I actually wanted to stick to FreeBSD's boot stuff... -Andre ___ 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: Booting 2nd(!) FreeBSD installation sitting on same disk
On Sat, 03-Nov-2012 at 23:34:48 +0100, jb wrote: Andre Albsmeier Andre.Albsmeier at siemens.com writes: ... However, when pressing F3, the system of slice 2(!) is loaded. This is due to the fact that boot1 always loads the first active FreeBSD slice ;-(. ... Is there no chance to actually honour the fact that F3 was pressed and boot from slice 3 without updating the MBR before? I do not know the story of active slice in FreeBSD, but I know that neither Windows nor Linux require active partitions (in their jargon) to boot from any more. If course FreeBSD doesn't rely on being started from an active slice. Otherwise playing with currdev in loader wouldn't work. It is just boot1 which causes the problem since it always searches the MBR partition (slice) table for the first active FreeBSD slice and if it doesn't find one it starts over again and searches for any FreeBSD slice. The problem is that boot1 doesn't get the information which F-key was pressed in boot0 directly. It does only in case you allow a write-back of the MBR using -o update with boot0cfg. I made an ugly hack for this by patching boot1 code of slice 3 in a way that it actually searches for IN(!)active partitions in its first pass: --- sys/boot/i386/boot2/boot1.S.ORI 2012-09-23 22:07:16.0 +0200 +++ sys/boot/i386/boot2/boot1.S 2012-11-05 07:16:29.0 +0100 @@ -151,7 +151,11 @@ jne main.3 # No jcxz main.5 # If second pass testb $0x80,(%si) # Active? +#ifdef AA_SKIP_ACTIVE_BSDSLICE + jz main.5 # No +#else jnz main.5 # Yes +#endif main.3:add $0x10,%si # Next entry incb %dh# Partition cmpb $0x1+PRT_NUM,%dh # In table? Since this code only sits in boot1 of slice 3 it just applies to slice 3. The proper fix would be to pass the information about the key pressed in boot0 to boot1 directly via registers of by whatever means... -Andre ___ 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
Booting 2nd(!) FreeBSD installation sitting on same disk
For various reasons I have to use this disk layout: One harddisk with MBR and 3 slices on a i386 box: Slice 1: Windows XP :-( Slice 2: FreeBSD 7.4-STABLE V1 Slice 3: FreeBSD 7.4-STABLE V2 The MBR is configured as: options=packet,noupdate,nosetdrv default_selection=F2 (Slice 2) When booting, I can choose between: F1 Win F2 FreeBSD F3 FreeBSD However, when pressing F3, the system of slice 2(!) is loaded. This is due to the fact that boot1 always loads the first active FreeBSD slice ;-(. I have two possibilities to actually boot slice 3: 1. Playing with currdev when loader(8) is loaded (or using loader.conf of slice 2). 2. Using boot0cfg to allow updating the MBR. 1. is not really fexible and 2. means that the system remembers which slice was booted last (something I do not want). Is there no chance to actually honour the fact that F3 was pressed and boot from slice 3 without updating the MBR before? Thanks, -Andre ___ 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: Booting 2nd(!) FreeBSD installation sitting on same disk
On Sat, Nov 3, 2012 at 9:54 AM, Andre Albsmeier andre.albsme...@siemens.com wrote: For various reasons I have to use this disk layout: One harddisk with MBR and 3 slices on a i386 box: Slice 1: Windows XP :-( Slice 2: FreeBSD 7.4-STABLE V1 Slice 3: FreeBSD 7.4-STABLE V2 The MBR is configured as: options=packet,noupdate,nosetdrv default_selection=F2 (Slice 2) When booting, I can choose between: F1 Win F2 FreeBSD F3 FreeBSD However, when pressing F3, the system of slice 2(!) is loaded. This is due to the fact that boot1 always loads the first active FreeBSD slice ;-(. I have two possibilities to actually boot slice 3: 1. Playing with currdev when loader(8) is loaded (or using loader.conf of slice 2). 2. Using boot0cfg to allow updating the MBR. 1. is not really fexible and 2. means that the system remembers which slice was booted last (something I do not want). Is there no chance to actually honour the fact that F3 was pressed and boot from slice 3 without updating the MBR before? Thanks, -Andre There is the following port for managing boot selections : ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/grub2.tbz http://www.freshports.org/sysutils/grub2/ I do NOT know whether it may be useful for you or not . Thank you very much . Mehmet Erol Sanliturk ___ 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: Booting 2nd(!) FreeBSD installation sitting on same disk
Andre Albsmeier Andre.Albsmeier at siemens.com writes: ... However, when pressing F3, the system of slice 2(!) is loaded. This is due to the fact that boot1 always loads the first active FreeBSD slice ;-(. ... Is there no chance to actually honour the fact that F3 was pressed and boot from slice 3 without updating the MBR before? I do not know the story of active slice in FreeBSD, but I know that neither Windows nor Linux require active partitions (in their jargon) to boot from any more. Perhaps it is time to review this requirement in FreeBSD and drop it if possible. Opinions are welcome. If there are no counterarguments, we will create a PR# to start the process. jb ___ 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: Booting 2nd(!) FreeBSD installation sitting on same disk
jb jb.1234abcd at gmail.com writes: ... I do not know the story of active slice in FreeBSD, but I know that neither Windows nor Linux require active partitions (in their jargon) to boot from any more. Perhaps it is time to review this requirement in FreeBSD and drop it if possible. Opinions are welcome. If there are no counterarguments, we will create a PR# to start the process. I forgot to mention that in such case a new boot option would be introduced to set a default boot item in a boot manager's menu. jb ___ 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
installation problem
Hello, I have tried to install freebsd 9.0 into my laptop from usb flash memory(4GB). I can only reach the first installation screen but the installation cannot start and keeps rebooting. I have read the documents in your website and downloaded FreeBSD-9.0-RELEASE-amd64-memstick.img and burned it flash memory with imagewrite (linux mint)I have tried all options at the start screen of the installation. But results are the same. Laptop is Acer Aspire 5520 AMD Athlon 64 dual core, 1gb ram, 120gb hdd, nvidia geforce 7000M There is no problem with the usb flash memory because I have used it to intall linux mint which is already I am using. The DVD of the laptop is not functional so I am using flash memory for installation. Boot sequence of the bios is correct. (usb flash memory) Is there any advice to solve the problem. Thank a lot... ALKC ___ 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: installation of yuma
thank you a lot Steve; it's worked very well. Best regards 2012/9/18 Steve O'Hara-Smith at...@sohara.org On Tue, 18 Sep 2012 14:25:03 + ahmed elouadrhiri ahmedelouadrh...@gmail.com wrote: Hi all; i tried to install yuma in freebsd by the command : make freebsd=1 and it give me : Makefile, line 14: Need an operator At a guess you need to use gmake (you may need to install it first from the ports). -- Steve O'Hara-Smith at...@sohara.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
installation of yuma
Hi all; i tried to install yuma in freebsd by the command : make freebsd=1 and it give me : Makefile, line 14: Need an operator Makefile, line 16: Need an operator Makefile, line 21: Need an operator Makefile, line 23: Need an operator Makefile, line 43: Need an operator Makefile, line 50: Need an operator Makefile, line 51: Need an operator Makefile, line 57: Need an operator Makefile, line 63: Need an operator Makefile, line 64: Need an operator make: fatal errors encountered -- cannot continue can any one help me please,Thank you. Best regards Ahmed el ouadrhiri ___ 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: installation of yuma
On Tue, 18 Sep 2012 14:25:03 + ahmed elouadrhiri ahmedelouadrh...@gmail.com wrote: Hi all; i tried to install yuma in freebsd by the command : make freebsd=1 and it give me : Makefile, line 14: Need an operator At a guess you need to use gmake (you may need to install it first from the ports). -- Steve O'Hara-Smith at...@sohara.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
Installation Logs for FreeBSD 8.x?
Hi All, Is it possible to write FreeBSD 8.x installation logs onto a resulting FreeBSD 8.x host via sysinstall or some scripting method? I am interested in output one sees during a normal installation plus any warning/error conditions. Ideally, this information will end up on the installed host in a directory within /var. sysinstall docs don't seem to explain any sort of facility to accomplish this. Perhaps there is someone out there who has done something similar that might be able to share their knowledge? -- Take care Rick Miller ___ 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: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation
the system setup menu, the boot menu shows that freebsd90 is the first (and only) bootable hard drive. Yet when I try to install FreeBSD 9.0-R, FreeBSD ignores the hardware RAID and sees the two separate drives, instead of seeing a single logical drive. good lesson to NEVER use this pseudo-RAID interfaces and use gmirror instead. not only you can make more complex RAID setup, get higher performance from gmirror and be always able to access data independently of hardware RAID onboard which is just normal controller. Just don't use BIOS RAID ever. ___ 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: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation
FreeBSD will use a hardware RAID device -only- if the particular type of RAID chip/chipset/controller is known to the included device drivers. do not use hardware RAID for such things as this is nothing else than normal controller and BIOS/driver support. ___ 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: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation
From woj...@wojtek.tensor.gdynia.pl Sat May 19 06:51:00 2012 Date: Sat, 19 May 2012 13:48:18 +0200 (CEST) From: User Wojtek woj...@wojtek.tensor.gdynia.pl To: Robert Bonomi bon...@mail.r-bonomi.com cc: freebsd-questions@freebsd.org, te...@sunset.tx.net Subject: Re: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation FreeBSD will use a hardware RAID device -only- if the particular type of RAID chip/chipset/controller is known to the included device drivers. do not use hardware RAID for such things as this is nothing else than normal controller and BIOS/driver support. 'Male bovine excrement' applies. I used 'hardware RAID' because that is -precisely- how the OP described their equipment. And Dell does offer at least one such controller. That aside, my statement is entirely accurate, _as_written_, regardless of the hardwaare that the OP has. Now, I'll grant it is possible that you know more about the OP's equipment than I do, but _I_ will assume that the OP knows what they are talking bout, with regard to -their- hardware configuration. Further, I, personally, have a fairly similar Compaq machine, which has hardware RAID, with it's own BIOS (including configuration/setup screens). Oh, yes, FreeBSD _does_ recognize the raid volumes -- with NO RAID support whatsoever in the O/S itself. I run full-custom kernels with no loadable modules, I _know_ what capbilites are/aren't present. ___ 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: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation
I used 'hardware RAID' because that is -precisely- how the OP described their equipment. unfortunately this is true - it is DESCRIBED as such. lie is standard tool in todays IT marketing. What are facts: - very few controllers actually have some RAID support. those usually have onboard RAM in substantial amount and preferably - battery backed. - unless you need RAID-5,6 or similar hardware cannot speed it up much. - gmirror/gstripe in FreeBSD is vastly superior to any RAID including true hardware ones - if configured properly. unless you treat single-process sequential read as measure of performance. even graid5 (from ports) is close to, or even outperform true hardware RAID, but CPU load is substantial. - RAID hardware does not allow any flexibility, like partitioning disks and using different RAID styles for parts. very useful. - with FreeBSD software RAID you will be able to access your data in every computer with SATA port. That's simple. And Dell does offer at least one such controller. Yes true. Actually all recently bought servers i have to manage are Dells (yes their 24-hour warranty replacement on place actually work!). And i always make sure no hardware RAID is present :), to get best performance. Actually i told Dell marketer i will be recommending hardware RAID solution for Dell when he prove it will actually outperform my software RAID10 setup with same amount of same disks. Still not proved ;) Of course you have to properly configure both hardware and software RAID. The cases where true hardware RAID may help is it's battery backup write-buffer that consume forced syncs (database commits etc) when they are common. still if it is an issue it means than database software is really badly designed if it have to sync constantly. But if there is no choice, today there are simple solutions like small-size SLC flash drive or battery backed ramdisk in extreme cases. Further, I, personally, have a fairly similar Compaq machine, which has hardware RAID, with it's own BIOS (including configuration/setup screens). what is the chip that you say it is hardware RAID? I dare to not believe you, but possibly you are right. ___ 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
Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation
I created a RAID 1 drive in a Dell Optiplex 755, using the internal RAID controller and two 160GB drives, naming the logical drive freebsd90. Within the system setup menu, the boot menu shows that freebsd90 is the first (and only) bootable hard drive. Yet when I try to install FreeBSD 9.0-R, FreeBSD ignores the hardware RAID and sees the two separate drives, instead of seeing a single logical drive. Is there a way to get FreeBSD 9.0 to recognize the Optiplex 755 RAID 1 drive? If not, can I just install FreeBSD to one of the drives and expect the hardware RAID to mirror it properly? ___ 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: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation
From owner-freebsd-questi...@freebsd.org Fri May 18 15:12:56 2012 Date: Fri, 18 May 2012 14:58:26 -0500 (CDT) From: tess lamont te...@sunset.tx.net To: freebsd-questions@freebsd.org Subject: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation I created a RAID 1 drive in a Dell Optiplex 755, using the internal RAID controller and two 160GB drives, naming the logical drive freebsd90. Within the system setup menu, the boot menu shows that freebsd90 is the first (and only) bootable hard drive. Yet when I try to install FreeBSD 9.0-R, FreeBSD ignores the hardware RAID and sees the two separate drives, instead of seeing a single logical drive. FreeBSD will use a hardware RAID device -only- if the particular type of RAID chip/chipset/controller is known to the included device drivers. From some casual searching on the 'net, I can't find anything that indicates -what- RAID controller is in the Optiplex 755. IF you know, or can find that info, check: http://www.freebsd.org/releases/9.0R/hardware.html#DISK to see if that disk controller is listed. If yes, it should 'just work'. If it is not listed, you're out of luck. If you can't in the controller informtion, you'll need to post something that includes the boot-up messages showing what FreeBSD found for disks and disk controllers. ___ 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: Optiplex 755 RAID 1 logical drive configuration ignored by FreeBSD 9.0-R installation
On Fri, 18 May 2012, tess lamont wrote: I created a RAID 1 drive in a Dell Optiplex 755, using the internal RAID controller and two 160GB drives, naming the logical drive freebsd90. Within the system setup menu, the boot menu shows that freebsd90 is the first (and only) bootable hard drive. Yet when I try to install FreeBSD 9.0-R, FreeBSD ignores the hardware RAID and sees the two separate drives, instead of seeing a single logical drive. See graid(8). If it supports that controller, FreeBSD should be able to boot from the array and use 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: Post-installation error on two disks
Le 27 mars 2012 21:06, Gökşin Akdeniz goksin.akde...@gmail.com a écrit : Boot system in single mode and run fsck on all partitions of WD drive. I hope it fixes Hi, Thank you for your answer, I run a fsck on all the partitions and it seems to work. 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
Post-installation error on two disks
Hello all, I am trying to install FreeBSD 9.0 AMD64 on two hard drive disks, I followed the handbook and I make this configuration : My two HDD : - ada0 : OCZ Vertex 2 40 GB (GPT) - ada1 : Western Digital VelociRaptor 150 GB (GPT) The setup : DiskPartition Type Size Mountpoint Label ada0freebsd-boot512K ada0freebsd-ufs 25G/exrootfs ada0freebsd-ufs 26G/var exvarfs ada1freebsd-ufs 135G /usr exusrfs ada1freebsd-ufs 4G /tmp extmpfs I commit and the installation ended with no error. But when I reboot : could not find file system superblock the following file system had an unexpected inconsistency ufs /dev/ada1p2 (/tmp) I tried many configurations (switching disk/partitions/slices), but the last partition of my WD fails always. Is my HDD unsupported, have you got an idea? For you help, In advance, 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: Post-installation error on two disks
Tue, 27 Mar 2012 20:46:55 +0200 tarihinde Kata Goto black.katag...@gmail.com yazmış: I commit and the installation ended with no error. But when I reboot : could not find file system superblock the following file system had an unexpected inconsistency ufs /dev/ada1p2 (/tmp) I tried many configurations (switching disk/partitions/slices), but the last partition of my WD fails always. Is my HDD unsupported, have you got an idea? Boot system in single mode and run fsck on all partitions of WD drive. I hope it fixes -- Gökşin Akdeniz goksin.akde...@gmail.com pgpmpAtcWB6RZ.pgp Description: PGP signature
Re: satisfying package dependencies from installation DVD when building a port -- HOW?
On 03/14/2012 05:50 PM, Polytropon wrote: On Wed, 14 Mar 2012 17:11:55 +0100, IMAP List Administration wrote: Hello, I've just installed 9.0-RELEASE (amd64) in a KVM/Qemo VM on debian linux, which is extremely painful because of the abysmal I/O performance, and would like to build the virtio-kmod. After unpacking src.txz (xz -c /cd/usr/freebsd-dist/src.txz | tar xf -) I did the following: # cd /usr/ports/emulators/virtio-kmo # make clean install at this point I saw port names such as perl, tcl, neon, sqlite, etc fly past. You can use the command # make missing to get a list of which dependencies need to be installed. See man 7 ports for other targets that might be useful. this was helpful. I tried setting PKG_PATH to /cd/packages and to /cd/packages/All, but when I simply try to test using, for example, pkg_add perl pkg_add simply says can't stat package file. Change CWD to the location of the packages (on CD) and try again. According to man pkg_add: If the packages are not found in the current working directory, pkg_add will search them in each directory named by PKG_PATH. If there's still an error, can you provide the command you entered plus the output? Maybe adding -v helps to give some more information. I seem to have found the problem. I read somewhere that PKG_PATH should have the path to the top of the hierarchy, i.e., /cd/packages, and not /cd/packages/something or /cd/packages/All, because pkg_add was capable of adding the hierarchical component, but this is not the case. I find that I must set PKG_PATH to /cd/packages/DIR or /cd/packages/All in order for it to work. Also, coming from OpenBSD, I assumed that I could supply pkg_add the basename of a package, i.e., the name without version number (p5-Text-Iconv as opposed to p5-Text-Iconv-1.7) but this also does not work. pkg_add apparently expects everything except the .tbz extension. cheers, Robert Urban ___ 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: satisfying package dependencies from installation DVD when building a port -- HOW?
On 15/03/2012 17:11, Robert Urban wrote: I seem to have found the problem. I read somewhere that PKG_PATH should have the path to the top of the hierarchy, i.e., /cd/packages, and not /cd/packages/something or /cd/packages/All, because pkg_add was capable of adding the hierarchical component, but this is not the case. I find that I must set PKG_PATH to /cd/packages/DIR or /cd/packages/All in order for it to work. Also, coming from OpenBSD, I assumed that I could supply pkg_add the basename of a package, i.e., the name without version number (p5-Text-Iconv as opposed to p5-Text-Iconv-1.7) but this also does not work. pkg_add apparently expects everything except the .tbz extension. If you look at the packages tree, you'll see a directory called 'Latest' -- that contains packages named without version numbers. It's not a perfect one-to-one correspondence with the packages under All: some packages don't have a 'latest link' (mostly development versions where there is a production version in the tree as well) or the 'latest link' isn't the same as the basename of the package, usually because there are two or more different versions of the same software available. Also, you should have both .../All and .../Latest on PKG_PATH as dependency packages are listed with a version number. Yes, it's not foolproof. The whole package handling thing in FreeBSD is not as good as it should be. Work is underway to improve that, but it is still quite a way away from finished. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matt...@infracaninophile.co.uk Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
satisfying package dependencies from installation DVD when building a port -- HOW?
Hello, I've just installed 9.0-RELEASE (amd64) in a KVM/Qemo VM on debian linux, which is extremely painful because of the abysmal I/O performance, and would like to build the virtio-kmod. After unpacking src.txz (xz -c /cd/usr/freebsd-dist/src.txz | tar xf -) I did the following: # cd /usr/ports/emulators/virtio-kmo # make clean install at this point I saw port names such as perl, tcl, neon, sqlite, etc fly past. Apparently the ports system satisfies dependencies from the ports tree by default. Since I have not updated anything, it seems reasonable, and much less painful to satisfy the dependencies using the packages on the installation DVD, which is mounted on /cd. I tried setting PKG_PATH to /cd/packages and to /cd/packages/All, but when I simply try to test using, for example, pkg_add perl pkg_add simply says can't stat package file. I'm guessing it would be pointless to try to use a (remote) URL in PACKAGEROOT, as the -r flag *must* be give in order for pkg_add to honor the setting, and god knows how the ports system calls pkg_add, if at all. I had a long look in the docs, but this stuff doesn't *seem* to be documented :( Is it possible to get the ports system to satisfy dependencies using the packages from the installation DVD? If so, how? cheers, Robert Urban ___ 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