Re: Do I really have to install 80 packages?
On the question of playing Adobe Flash in FreeBSD, could one use the MS-Windows 32-bit version with (i386-)Wine? I plan to try that. Tom ___ 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
SU+J Lost files after a power failure
Hello there, I'm writing because after a power failure I was unable to log in on my FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some files disappeared, including /etc/pwd.db. Thus I was unable to log in. I've been able to regenerate the password database with a live cd but I'm afraid that more files had disappeared somewhere else... I think this is a serious issue, the journal should not truncate files, so something should have gone wrong somewhere.. Any ideas? Should I open a PR? 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: SU+J Lost files after a power failure
On 13 Oct 2013 11:30, David Demelier demelier.da...@gmail.com wrote: Hello there, I'm writing because after a power failure I was unable to log in on my FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some files disappeared, including /etc/pwd.db. Thus I was unable to log in. I've been able to regenerate the password database with a live cd but I'm afraid that more files had disappeared somewhere else... I think this is a serious issue, the journal should not truncate files, so something should have gone wrong somewhere.. Any ideas? Should I open a PR I had similar issues somewhere around 9.0 - although journal check was fine running fsck revealed filesystem inconsistency. I have reported this on the list, but it seemed unnoticed..? For me this is serious issue as well, if you make PR I will give +1 :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info ___ 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: SU+J Lost files after a power failure
On 13.10.2013 12:16, CeDeROM wrote: On 13 Oct 2013 11:30, David Demelier demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote: Hello there, I'm writing because after a power failure I was unable to log in on my FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some files disappeared, including /etc/pwd.db. Thus I was unable to log in. I've been able to regenerate the password database with a live cd but I'm afraid that more files had disappeared somewhere else... I think this is a serious issue, the journal should not truncate files, so something should have gone wrong somewhere.. Any ideas? Should I open a PR I had similar issues somewhere around 9.0 - although journal check was fine running fsck revealed filesystem inconsistency. I have reported this on the list, but it seemed unnoticed..? For me this is serious issue as well, if you make PR I will give +1 :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info Yes, I've also ran fsck in single user mode after and lot of incorrect things were corrected, I wait a bit for answers (if any) before sending a PR. Cheers, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
APC BE750G Power Saving Battery Back-UPS
I have the opportunity to replace an aging UPS with a new APC BE750G Power Saving Battery Back-UPS one. My question is if anyone here has ever used this device under FreeBSD. APC does not have, or at least I couldn't find any, software for a FreeBSD system. Without the software, the unit is basically useless. I Googled and found an old message regarding FreeBSD and a similar UPS http://lists.freebsd.org/pipermail/freebsd-questions/2004-October/062543.html dated 10/2004. Are those issues still relevant? According to http://www.apcupsd.com/manual/#freebsd I need to insure that this is a SmartUPS The unit I am looking at does not qualify. I might add that my present unit is connected to a Windows machine. I intend to replace that one and hook up both PCs to it. -- Carmel ✌ carmel...@hotmail.com ___ 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 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: APC BE750G Power Saving Battery Back-UPS
On Sun, 13 Oct 2013, Carmel wrote: I have the opportunity to replace an aging UPS with a new APC BE750G Power Saving Battery Back-UPS one. My question is if anyone here has ever used this device under FreeBSD. APC does not have, or at least I couldn't find any, software for a FreeBSD system. Without the software, the unit is basically useless. I Googled and found an old message regarding FreeBSD and a similar UPS http://lists.freebsd.org/pipermail/freebsd-questions/2004-October/062543.html dated 10/2004. Are those issues still relevant? According to http://www.apcupsd.com/manual/#freebsd I need to insure that this is a SmartUPS The unit I am looking at does not qualify. I might add that my present unit is connected to a Windows machine. I intend to replace that one and hook up both PCs to it. sysutils/apcupsd works with a lot of APC units. Offhand, I know it works with a several-year-old Back-UPS XS unit (not mine), and with all my older Smart-UPS units. Mac people say that apcupsd works with the BE750G: http://hints.macworld.com/article.php?story=20100314155518972 The Smart-UPS models are preferred for better quality. In some of the newer units, APC has gone to a proprietary communications protocol. The problem units are shown on the apcupsd.com site. ___ 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 setfib arpresolve
Hello On freebsd 8 i get kernel: arpresolve: can't allocate llinfo for x.x.x.x How can i get rid off this issue? I saw http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/167947 but how can i patch 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
Authorisation Errors on 9.2
I have two strange errors but I am not sure whether they are related. ERROR-1: Slim allows login without checking for password. /var/log/auth.log shows: Oct 13 11:44:57: slim: gkr-pam: no password is available for user Oct 13 11:44:57: gnome-keyring-daemon[1225]: couldn't allocate secure memory to keep passwords and or keys from being written to the disk ERROR-2: sshd disconnects (drops) client connections immediately after login. This happens when trying from host its self or some other client. Testing from host (162.168.1.10 is host's IP) $ ssh root@192.168.1.10 Password for root@server.freebsd: Last login: Sun Oct 13 13:02:09 2013 Welcome to myNetwork (the motd message) csh: No such file or directory Connection to 192.168.1.10 closed. /var/log/auth.log for ssh shows: Oct 13 19:41:37: Server listening on 0.0.0.0 port 22. Oct 13 19:42:37: Accepted keyboard-interactive/pam for root from 192.168.1.10 port 33248 ssh2 Oct 13 19:42:37: Received disconnect from 192.168.1.10: 11: disconnected by user Thanks for any advice on how to resolve these two issues. - FreeBSD-9.2-stable_amd64_root-on-zfs_clang-only-world -- View this message in context: http://freebsd.1045724.n5.nabble.com/Authorisation-Errors-on-9-2-tp5851543.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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
Reinstall without reformat
Hi all. Is it possible to install FreeBSD without formatting the disk? I have one directory of data that I want to keep. I can boot from the installer and rm every directory except that (/bin /boot etc), but how could I install the OS from there? I've done ZFS on root installs with the shell and mounting the zpool to /mnt, would that work here 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: Authorisation Errors on 9.2
On 13/10/2013 18:08, Beeblebrox wrote: I have two strange errors but I am not sure whether they are related. ERROR-1: Slim allows login without checking for password. /var/log/auth.log shows: Oct 13 11:44:57: slim: gkr-pam: no password is available for user Oct 13 11:44:57: gnome-keyring-daemon[1225]: couldn't allocate secure memory to keep passwords and or keys from being written to the disk ERROR-2: sshd disconnects (drops) client connections immediately after login. This happens when trying from host its self or some other client. Testing from host (162.168.1.10 is host's IP) $ ssh root@192.168.1.10 Password for root@server.freebsd: Last login: Sun Oct 13 13:02:09 2013 Welcome to myNetwork (the motd message) csh: No such file or directory Connection to 192.168.1.10 closed. /var/log/auth.log for ssh shows: Oct 13 19:41:37: Server listening on 0.0.0.0 port 22. Oct 13 19:42:37: Accepted keyboard-interactive/pam for root from 192.168.1.10 port 33248 ssh2 Oct 13 19:42:37: Received disconnect from 192.168.1.10: 11: disconnected by user Thanks for any advice on how to resolve these two issues. The gnome keyring demon does that. I believe it's only warning and I've never dug in to the source to find out more but I think it's something it can only do on Linux. I'm sure someone will be along in a minute with something to say about that. As to the second problem - csh: No such file or directory. At the risk of pointing out the trivial, is root's home directory valid? Why not post /etc/passwd and we'll check :-) Could it be a dud /root/.tcshrc? Or /etc/login.conf? I assume you've configured sshd to allow direct root logins. If you hadn't I think you get a different rejection message (but who knows with 9.2?) Regards, Frank. ___ 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: SU+J Lost files after a power failure
On 13.10.2013 12:16, CeDeROM wrote: On 13 Oct 2013 11:30, David Demelier demelier.da...@gmail.com mailto:demelier.da...@gmail.com wrote: Hello there, I'm writing because after a power failure I was unable to log in on my FreeBSD 9.2-RELEASE. The SU+J journal were executed correctly but some files disappeared, including /etc/pwd.db. Thus I was unable to log in. I've been able to regenerate the password database with a live cd but I'm afraid that more files had disappeared somewhere else... I think this is a serious issue, the journal should not truncate files, so something should have gone wrong somewhere.. Any ideas? Should I open a PR I had similar issues somewhere around 9.0 - although journal check was fine running fsck revealed filesystem inconsistency. I have reported this on the list, but it seemed unnoticed..? For me this is serious issue as well, if you make PR I will give +1 :-) CeDeROM, SQ7MHZ, http://www.tomek.cedro.info Yes, I've also ran fsck in single user mode after and lot of incorrect things were corrected, I wait a bit for answers (if any) before sending a PR. Running fsck in single-user mode may not be sufficient. You may need to run fsck_ffs from a USB-stick installation or live CD. I remember reviving a FreeBSD partition that way, normal root partition not mounted. I once revived a FreeBSD partition with fsck_ffs from a USB-stick installation of NetBSD 5.1_STABLE i386 after FreeBSD couldn't do it. It helps to have a UPS to protect against short power failures and allow graceful shutdown on longer power outages. Tom ___ 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
Tunnelling between Cisco and Freebsd
Hi all, I am running FreeBSD 9.2. The FreeBSD server in on a private IP, 192.168.1.6. I have only one public IP and that's on my verizon firewall configured to port forward to my FreeBSD server. I do not control the Cisco device, but here is the config that was sent to me: interface Tunnel10 ip address 10.1.1.1 255.255.255.252 tunnel source GigabitEthernet0/0/2.1 (187.255.253.1) tunnel destination 107.48.4.129 Here is what I did on my FreeBSD: ifconfig gre0 create ifconfig gre0 10.1.1.2 10.1.1.1 netmask 255.255.255.252 ifconfig gre0 tunnel 192.168.1.6 187.255.253.1 Now I can ping 10.1.1.1 (his end) But when I try to add a static route for his subnets via his tunnel IP, it fails root@devsrvr:/root # route add -net 187.255.252.0/22http://197.255.252.0/2210.1.1.1 route: writing to routing socket: Network is unreachable add net 187.255.252.0 http://197.255.252.0: gateway 10.1.1.1: Network is unreachable Am I missing anything? It's my first time configuring a Tunnel. 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: Adoble Flash troubles on 9.2-RELEASE
On 10/12/13 20:37, Ralf Mardorf wrote: On Sat, 2013-10-12 at 11:52 +0200, David Demelier wrote: I don't like much chrome but I'll give a try to see. +1 It's not a browser I like. Since I'm using my computer for audio production my FreeBSD isn't maintained, I need to use Linux, so I don't know if Chrome is available for FreeBSD. When I google (resp. startpage.com search) for FreeBSD and Chrome, it seems to be that the hits aren't about Chrome, but Chromium instead. Chromium doesn't include Adobe Flash, https://code.google.com/p/chromium/wiki/ChromiumBrowserVsGoogleChrome . Sorry for the noise. At least we could use Adobe Flash by Chrome with FreeBSD in a virtual machine running a Linux instead of a Windows guest. Or is Chrome available for FreeBSD too? Perhaps you should post the links that don't work with the latest Linux version of Adobe Flash, so others could test if the issue is really caused by Flash Player and not by something else. To add more confusion to this fray, although it may not help with gray screen issue, the only reason chromium works (yes, just install the nspluginwrapper as per the handbook) is that it is better suited to the new pepper style Adobe is going with now. FWIW, I did put in a port to fix drm issues on any site which was stopping videos playing (again, not your specific issue, but what appears to be in discussion here) and which allows flash to work using any browser - uses linux dbus libraries (weird). Not sure of the status though. Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Advice sought on Portmaster -Faf and deleted ports
Hi, I'm following the recipe at the end of man portmaster for deleting and reinstalling all my ports, which I have done many times in the past. This time, I am getting errors on the portmaster -Faf step involving deleted ports, and I'm not sure how to deal with this easily. If the ports aren't in use, I have just deleted them, but for other things, such as libgsf-1.14.21_1, which is required by a dozen or more of my installed packages, it is not so easy. So, I am seeking expert advice here. Is there a way to automate this and keep myself out of trouble, or do I need to do a 'port-by-port' upgrade of each port? Thanks! Scott -- s...@ssr.com ___ 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: Reinstall without reformat
On Sun, 13 Oct 2013 13:24:30 -0400, Kenta Suzumoto wrote: Hi all. Is it possible to install FreeBSD without formatting the disk? Yes. The installer supports not formatting existing partitions. The file system characteristica will be kept, possible content will overwritten. Note that superfluous content will also be kept, except of course you previously remove everything. I have one directory of data that I want to keep. You should still make a backup, because I want to keep does imply exactly that in regards of an OS installation. :-) I can boot from the installer and rm every directory except that (/bin /boot etc), but how could I install the OS from there? You simply re-enter the installer, assign the (existing, but now empty) partitions to the desired mountpoint, make sure _not_ to newfs them, and then commit to the installation as usual. An alternative would be, after preparing the partitions, mount them as desired and extract the installation datasets from the installation media manually (via shell commands). Still you might miss other steps the installer performs. I've done ZFS on root installs with the shell and mounting the zpool to /mnt, would that work here too? Probably yes (never tried that myself). -- 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: Advice sought on Portmaster -Faf and deleted ports
On Sun, 13 Oct 2013, Scott Ballantyne wrote: Hi, I'm following the recipe at the end of man portmaster for deleting and reinstalling all my ports, which I have done many times in the past. This time, I am getting errors on the portmaster -Faf step involving deleted ports, and I'm not sure how to deal with this easily. What errors, exactly? So, I am seeking expert advice here. Is there a way to automate this and keep myself out of trouble, or do I need to do a 'port-by-port' upgrade of each port? It should just work. Have you converted to pkgng? ___ 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: Reinstall without reformat
On Sun, 13 Oct 2013 23:01:02 -0600 (MDT), Warren Block wrote: On Mon, 14 Oct 2013, Polytropon wrote: On Sun, 13 Oct 2013 13:24:30 -0400, Kenta Suzumoto wrote: Hi all. Is it possible to install FreeBSD without formatting the disk? Yes. The installer supports not formatting existing partitions. The file system characteristica will be kept, possible content will overwritten. Note that superfluous content will also be kept, except of course you previously remove everything. sysinstall supported that, but AFAIK bsdinstall does not. Oh, seems you're right. I've checked The FreeBSD Handbook for the relevant instructions for using bsdinstall at http://www.freebsd.org/doc/handbook/bsdinstall-partitioning.html and http://www.freebsd.org/doc/handbook/bsdinstall-final-warning.html and I didn't find an option to _not_ initialize existing partitions, even though it seems you can assign existing partitions without any problem. The remaining question: Will they be initialized again? I know that sysinstall had the option newfs toggle so you could skip the newfs step after you had assigned the existing partitions to the desired mountpoints. It can be seen at http://www.freebsd.org/doc/handbook/install-steps.html in Fig. 3.19 and 3.24. I have to admit that I didn't assume such a significant loss of functionality (that sysinstall provided!) in the new installer... :-( That's why maybe manually extracting the distribution files from the installation media, using the CLI tools, would probably the easiest thing: Manually mount existing partitions as desired, then extract the installation datasets, and apply any further modifications as needed. -- 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
Authorisation Errors on 9.2
Hi, I Inadvertently posted the gnome-keyring bit. That's almost standard error message on FreeBSD-Gnome. The relevant bit for the error is in fact: slim: gkr-pam: no password is available for user However, the user cannot login on a tty without providing a password. For ssh, the same error and dropped connection occurs for all users. sshd was modified to allow root login. All users have valid home directories defined. From /etc/passwd; I wonder if this has anything to do with it? sshd:*:22:22:Secure Shell Daemon:/var/empty:/usr/sbin/*nologin* Could it be a dud /root/.tcshrc? Or /etc/login.conf? The accounts which try to ssh login also login on host proper and do not have any login issues when logging-in directly on host - so I think we can eliminate these problems. Thanks and Regards - FreeBSD-9.2-stable_amd64_root-on-zfs_clang-only-world -- View this message in context: http://freebsd.1045724.n5.nabble.com/Authorisation-Errors-on-9-2-tp5851543p5851636.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ 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