Re: How to config ipv6 for this instance
netsh interface ipv6 isatap set router 202.112.95.129 netsh interface ipv6 add route ::/0 2 2001:da8:207:1:0:5efe:202.112.95.129 no idea what is isatap Wikipedia got a good description http://en.wikipedia.org/wiki/ISATAP strange that their admin can do this on router and give users native IPv6. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to config ipv6 for this instance
thanks for your reply. I install miredo and study the manual, it seems that the default setting of midero works fine, so I just setup teredo as follows, but it still can't work. would you please figure out what is wrong with it, or give me a configuration guide in detail. Thanks in advance! // asign the ipv6 add ifconfig teredo inet6 2001:da8:207:1:0:5efe.172.16.120.226 // setup the default router ifconfig teredo isatap rtr 202.112.95.129 On Sun, May 11, 2008 at 7:43 AM, Christer Hermansson [EMAIL PROTECTED] wrote: Xiaobo Zhu wrote: Hi, I have read the handbook and spent hours on the configuration of ipv6 on laptop, but still can't get it done. The local network administrator only suggest the following steps to setup ipv6 on windows xp and it works fine on that platform. I just don't know to get it work on FreeBSD, would anyone guide me in detail so I can also help the people aroud me. Many thanks! You should use Miredo ( /usr/ports/net/miredo ) That have a isatap implementation. -- Christer Hermansson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Apache and Environment
Hello. I use apache13 and php5. When I do a phpinfo(), I can see in Environment sensibles datas when I launch apache in root. I see all my env variables (as MAIL, TERM, USER, PWD, LOGNAME, EDITOR, OSTYPE, LANG, etc, etc...). So, we see informations about user who launched apache. When apache is launched as boot (with apache_enable=YES), I don't see these informations. I only see: HOME/ PATH/sbin:/bin:/usr/sbin:/usr/bin RC_PID 39 PWD / This is OK. There is no critical informations. How could I launch apache and mask these informations? I must reboot to have this default datas, else I see environment data about the user who lauch it. Thanks. -- - Nicolas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xfce with graphical login
Hello, I just installed Xfce4.4 on FreeBSD 7.0. I have been trying to get it to directly give me a graphical login. The Xfce manual says this can be done using gdm. According to it, I need to copy the example file xfce44.desktop into /usr/X11R6/share/xsessions. The example file is supposed to be located in /usr/local/share/examples (since Xfce is installed in /usr/local.) But there is no such file. 1. Is there any other location this file could be? (`locate` cannot find it.) 2. Can I download it from somewhere? Googling did not give anything. 3. Will anyone be kind enough to send me a copy by email? It is strange why the file's not there. Xfce was installed using pkg_add (the port was giving some error in compilation which I could not solve) and is working nicely without any obvious problems. Thanks, Nishita. -- http://nishita.50webs.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xfce with graphical login
Nishita Desai wrote: Hello, I just installed Xfce4.4 on FreeBSD 7.0. I have been trying to get it to directly give me a graphical login. The Xfce manual says this can be done using gdm. According to it, I need to copy the example file xfce44.desktop into /usr/X11R6/share/xsessions. The example file is supposed to be located in /usr/local/share/examples (since Xfce is installed in /usr/local.) But there is no such file. 1. Is there any other location this file could be? (`locate` cannot find it.) 2. Can I download it from somewhere? Googling did not give anything. 3. Will anyone be kind enough to send me a copy by email? It is strange why the file's not there. Xfce was installed using pkg_add (the port was giving some error in compilation which I could not solve) and is working nicely without any obvious problems. Thanks, Nishita. As an Xfce user, I've always found gdm to be more trouble than it's worth. Have you had a look at /usr/ports/x11/slim - it's a nice, lightweight graphical login manager. frase signature.asc Description: OpenPGP digital signature
Re: Xfce with graphical login
Nishita Desai wrote: Hello, I just installed Xfce4.4 on FreeBSD 7.0. I have been trying to get it to directly give me a graphical login. The Xfce manual says this can be done using gdm. According to it, I need to copy the example file xfce44.desktop into /usr/X11R6/share/xsessions. The example file is supposed to be located in /usr/local/share/examples (since Xfce is installed in /usr/local.) But there is no such file. 1. Is there any other location this file could be? (`locate` cannot find it.) 2. Can I download it from somewhere? Googling did not give anything. 3. Will anyone be kind enough to send me a copy by email? It is strange why the file's not there. Xfce was installed using pkg_add (the port was giving some error in compilation which I could not solve) and is working nicely without any obvious problems. Thanks, Nishita. This is the quick way to add XFCE to your sessions menu in GDM: First of all, make sure you have gdm_enable=YES in /etc/rc.conf (I assume you already have this) Now, create a file in: /usr/local/etc/dm/Sessions Name it something like xfce44.desktop and type the following into it (adjust as needed): [Desktop Entry] Encoding=UTF-8 Name=XFCE4 Comment=This session logs you into XFCE4 Exec=/usr/local/bin/startxfce4 TryExec=/usr/local/bin/startxfce4 Icon= Type=Application Reboot, and when the GDM login screen appears, you will be able to select XFCE4 from the Sessions menu. Hope this helps, Manolis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xfce with graphical login
On Sun, May 11, 2008 at 12:48 PM, Fraser Tweedale wrote: As an Xfce user, I've always found gdm to be more trouble than it's worth. Have you had a look at /usr/ports/x11/slim - it's a nice, lightweight graphical login manager. On Sun, May 11, 2008 at 1:56 PM, Manolis Kiagias wrote: This is the quick way to add XFCE to your sessions menu in GDM: [...] Reboot, and when the GDM login screen appears, you will be able to select XFCE4 from the Sessions menu. Thank you both of you for your help. I've installed Slim and it works great. Thanks again, Nishita. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gcc42 and profiling
Whist trying to compile a program using the gcc42 (actually gnat-gcc42) port, using the -pg flag for profiling, I got the following upon linking: cc -pg -c -o prog.o prog.c cc -pg -o prog prog.o /usr/bin/ld: cannot find -lgcc_p I'm assuming this means that profiling libraries for the compiler are missing. What do I need to do to get working libraries from the port? There doesn't appear to be anything to set in the Makefile or any port options whatsoever. Please CC: me as I'm not subscribed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gcc42 and profiling
Please ignore my last post. I somehow neglected to install the proflibs distribution. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tap - wireless client bridging (WPA)
Michael Neumann wrote: Hi, I'd like to run Qemu on FreeBSD 7.0 and be able to connect from the Qemu instance to the internet. For this to work, I'd like to use a tap device and bridge it with a wireless (wpi) device. But it seems like both lagg and if_bridge doesn't yet support WPA security (or wireless clients). In the meanwhile I found the answer myself... the solution is to use natd. Regards, Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to config ipv6 for this instance
Xiaobo Zhu wrote: thanks for your reply. I install miredo and study the manual, it seems that the default setting of midero works fine, so I just setup teredo as follows, but it still can't work. would you please figure out what is wrong with it, or give me a configuration guide in detail. Thanks in advance! // asign the ipv6 add ifconfig teredo inet6 2001:da8:207:1:0:5efe.172.16.120.226 // setup the default router ifconfig teredo isatap rtr 202.112.95.129 Like I said in my first post to this thread, I haven't tried this and I can't try this by my self for the moment (got no access to a 6-4 gateway what I'm aware about), however I think it's a interesting subject so I will probably try to test it in the future if I get the opportunity. I was now reading little about it and found a posting http://article.gmane.org/gmane.network.ipv6.miredo.devel/174 so maybe it doesn't offer a working isatap client only a isatap server and you need the client, this posting say so but maybe that's only apply for linux. The only tips I can give you is to check for any error messages in /var/log/messages and I would try to start it manual in xterm or on the console to see what's going on, as root /usr/local/sbin/miredo --foreground Maybe it's better for you to continue the search for a solution in http://lists.freebsd.org/mailman/listinfo/freebsd-net the readers of that list are probably more into this subject. -- Christer Hermansson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Dowloading entire source code
I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for reference. Please let me know how do i go about it. regards, Onkar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dowloading entire source code
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Onkar wrote: | I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for | reference. Please let me know how do i go about it. Depends on if your talking about for the base system or ports or both. The easiest way to do it is use the csup procedures listed in the one of appendixs of the Handbook. If you want to do it in in such a way that if you make a mortification the next csup will not globber it read the man page for developement(8), you should note though that some of the procedures listed there are overkill. For example I skip most of the stuff on /usr/src2 (besides it breaks some tools). For example this is how I update my sources on a daily baseis: cvsup -h cvsup9.us.freebsd.org /usr/share/example/cvsup/cvsup-supfile // fetch the latest6 cvs repository cd /usr/src cvs -q update -dP // update my local base systems sources // do the make procedure listed in the handbook cd /usr/ports cvs -q update -dP // update my ports tree portsupgrade -a // install any new port updates Note this method will give you a 8-CURRENT system if you want some other version you will have to put a tag option on the /usr/src cvs call. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgm/7UACgkQk8GFzCrQm4Al/gCeK0vsp9QqVYycqKLUKyinSImu 1FgAoIYiHM5RaVmYI76zGDAbJNa5h7Jp =06ha -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dowloading entire source code
On Sun, 11 May 2008 19:09:03 +0530 Onkar [EMAIL PROTECTED] wrote: I am a newbie to FreeBSD . I want ot downlod entire FreeBSD source code for reference. Please let me know how do i go about it. Welcome to FreeBSD Onkar! ;-) While installing from CD, you have the option to extract the source code. If you've already installed FreeBSD and your /usr/src is empty or non-existent, you could always login as 'root', and re-run the installer with: # /usr/sbin/sysinstall Then go to Configure (Do post-install configuration of FreeBSD), then Distribution (Install additional distribution sets), and then check src (Sources for everything). You could figure out the rest yourself. ;) The sources you'll get will be unpacked under /usr/src and can be used to recompile the system (kernel and base system) as described in the Handbook. Later, you may want to upgrade your system. Typically, you'll use 'csup' (/usr/bin/csup) to fetch the newest sources from one of the FreeBSD CVSUP mirrors. This will update your sources in /usr/src. Then you'll compile everything into /usr/obj (a temporary holding area) as described in the Handbook (have a look at /usr/src/UPDATING, near the end), and move the compiled binaries from /usr/obj to where they belong (again: see the Handbook). regards, Onkar -cpghost. -- Cordula's Web. http://www.cordula.ws/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
GUI on FreeBSD
I want to install FreeBSD on my system. But the problem is that I got only one system (which i need to chech mail and other such layman tasks ! ) I would be nice if I install the GUI . \ I am currentl using GNU/Linux ( for Kernel hacking and other layman tasks !! ) Please let me know how to enable GUI when installing FreeBSD !! regards, Onkar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GUI on FreeBSD
You can install a GUI after installing FreeBSD. If you choose this route (instead of choosing to install X during the install), then I recommend reading the FreeBSD Handbook section on X11: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html On Sun, May 11, 2008 at 8:17 AM, Onkar [EMAIL PROTECTED] wrote: I want to install FreeBSD on my system. But the problem is that I got only one system (which i need to chech mail and other such layman tasks ! ) I would be nice if I install the GUI . \ I am currentl using GNU/Linux ( for Kernel hacking and other layman tasks !! ) Please let me know how to enable GUI when installing FreeBSD !! regards, Onkar ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: GUI on FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nerius Landys wrote: | You can install a GUI after installing FreeBSD. If you choose this route | (instead of choosing to install X during the install), then I recommend | reading the FreeBSD Handbook section on X11: | | http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11.html It sounds like he wants more then just a GUI he wants a desktop in that case you should pick one of the following depending on your taste: xfce4 (what I use) gnome kde | | On Sun, May 11, 2008 at 8:17 AM, Onkar [EMAIL PROTECTED] wrote: | | I want to install FreeBSD on my system. But the problem is that I got only | one system (which i need to chech mail and other such layman tasks ! ) I | would be nice if I install the GUI . \ | I am currentl using GNU/Linux ( for Kernel hacking and other layman tasks | !! | ) Please let me know how to enable GUI when installing FreeBSD !! | | regards, | Onkar | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to | [EMAIL PROTECTED] | | ___ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to [EMAIL PROTECTED] | -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgnGMgACgkQk8GFzCrQm4Dm9gCeIlWNIpTmdclW3jgxkcKA3nLa CXsAoKvIC4Ft2b21WBXu8PLq3dJBRdGK =Wo31 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
agp problems in 7.0-RELEASE
Hi all, I have upgraded my home desktop (1.4GHz P-IIIS) machine from 6.2-RELEASE-p9 to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from 6.2 and 7.0, I realized that some things aren't the same anymore. Probing agp gives the following messages -- 6.2-RELEASE-p9: pci0: ACPI PCI bus on pcib0 agp0: VIA 862x (CLE266) host to PCI bridge mem 0xe000-0xe0ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) 7.0-RELEASE: pci0: ACPI PCI bus on pcib0 agp0: VIA 862x (CLE266) host to PCI bridge on hostb0 agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: bad aperture size agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) device_attach: agp0 attach returned 12 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xd800-0xdbff,0xde00-0xdeff at device 0.0 on pci1 -- So what are the errors agp0: Invalid aperture setting 0x0 and agp0: bad aperture size (0Mb) and device_attach: agp0 attach returned 12 that I see in 7.0-RELEASE? I assume that agp driver is not attached, so there's something wrong with its implementation in 7.0, right? I have uploaded the complete dmesg's to 6.2-RELEASE dmesg :http://pastebin.com/f12c0ff27 7.0-RELEASE dmesg :http://pastebin.com/f3e6809c6 Thanks a lot :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiz Fusion brings all Gnome with itself
Hi, I've installed Compiz Fusion on my machine using packages. Installing it from ports was unsuccessful since it needs gio-fam-backend which in turn needs glib-2.16.3 to be installed. I don't really want to update my glib since I don't know if I need to update all my system (or at least those packages which depend on it) as well or not after updating glib (I just didn't want to take the risk). Anyhow, installing Compiz Fusion from ports brought with it all Gnome: - [EMAIL PROTECTED] /usr/ports]$ pkg_info | grep -i gnome atk-1.20.0 A GNOME accessibility toolkit (ATK) eel-2.20.0 Generally useful classes and extensions to GNOME gconf2-2.20.1 A configuration database system for GNOME gnome-control-center-2.20.1_1 Control center for GNOME 2 project gnome-desktop-2.20.1_1 Additional UI API for GNOME 2 gnome-doc-utils-0.12.2 GNOME doc utils gnome-icon-theme-2.20.0_1 A collection of icons for the GNOME 2 desktop gnome-keyring-2.20.1 A program that keeps passwords and other secrets gnome-menus-2.20.1 Implementation of the FreeDesktop Desktop Menu Spec gnome-mime-data-2.18.0_2 A MIME and Application database for GNOME gnome-panel-2.20.1 Panel component for the GNOME 2 Desktop gnome-vfs-2.20.0_2 GNOME Virtual File System gnome_subr-1.0 Common startup and shutdown subroutines used by GNOME scrip gnomehier-2.3_10A utility port that creates the GNOME directory tree libbonobo-2.20.1_1 A component and compound document system for GNOME2 libbonoboui-2.20.0 GUI frontend to the libbonobo component of GNOME 2 libglade2-2.6.2 GNOME glade library libgnome-2.20.1.1_1 Libraries for GNOME, a GNU desktop environment libgnomecanvas-2.20.1.1 A graphics library for GNOME libgnomekbd-2.20.0 GNOME keyboard shared library libgnomeui-2.20.1.1 Libraries for the GNOME GUI, a GNU desktop environment libxml2-2.6.31 XML parser library for GNOME libxslt-1.1.22_1The XSLT C library for GNOME nautilus-2.20.0 File manager for the GNOME desktop py25-libxml2-2.6.31 Python interface for XML parser library for GNOME - especially, 'ps -ax' now shows these two processes running: - 865 ?? I 0:00.15 /usr/local/libexec/gconfd-2 14 876 ?? I 0:00.03 gnome-pty-helper - How can I stop them from running when I start X? And how can I remove all these useless Gnome packages that I won't use? Do I need to update everything that depends on it if I decide to update glib? Thanks a lot :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root login stops working
On Sat, May 10, 2008 at 11:00:41PM +0200, Mel wrote: On Saturday 10 May 2008 20:50:46 Dennis Flynn wrote: I'm running FreeBSD wx.dennis-flynn.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 About a day after install root login no longer works - even on the console. I see the following in /var/log/auth.log: May 10 14:22:37 wx sshd[86223]: Accepted password for root from 10.11.12.104 port 1492 ssh2 May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: And in /var/log/messages: May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 (core dumped) Looks like you got hacked, the tell-tale being ip port . http://security.freebsd.org/advisories/FreeBSD-SA-08:05.openssh.asc . . . unless that's part of Dennins' network setup. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] McCloctnick the Lucid: The first rule of magic is simple. Don't waste your time waving your hands and hopping when a rock or a club will do. pgpDnaanFCYYq.pgp Description: PGP signature
Re: root login stops working
On Sun, May 11, 2008 at 01:38:52AM +0530, अनुज Anuj Singh wrote: Direct root login is disabled by default. are you able to login from your 10.11.12.104 as a non root user? What client software are you using on your 10.11.12.104 for logging on to your freebsd? Correction: Direct root login via SSH is disabled by default. If you need root access, you should use a staff account in the wheel group to remotely log into the machine, then su to root. You should, however, be able to log in as root from a TTY console for local access. The fact that remote direct root login is disabled is a security feature, meant to prevent things like brute-force attacks on root over the network. It's a bad idea to change that behavior, in general. Back when I was using Debian for all my servers, I would configure sshd to disable direct root login -- and was pleased to find that on FreeBSD it's disabled by default, once I started using FreeBSD for all my servers. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] John Kenneth Galbraith: If all else fails, immortality can always be assured through spectacular error. pgpOaBkQNdnaB.pgp Description: PGP signature
Re: root login stops working
On Sat, May 10, 2008 at 11:50:46AM -0700, Dennis Flynn wrote: I'm running FreeBSD wx.dennis-flynn.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 About a day after install root login no longer works - even on the console. I see the following in /var/log/auth.log: May 10 14:22:37 wx sshd[86223]: Accepted password for root from 10.11.12.104 port 1492 ssh2 May 10 14:22:37 wx sshd[86223]: Received disconnect from 10.11.12.104: 0: I'd say this was expected behavior, since FreeBSD disbles direct root login over SSH by default (for good reason), but . . . And in /var/log/messages: May 10 14:27:51 wx kernel: pid 86237 (csh), uid 0: exited on signal 11 (core dumped) . . . this looks suspicious. I'm pretty sure you don't get any core dumps when sshd refuses to let you log in as root. New to FreeBSD after using Linux for a long time. I'd really like to get this to workfor my web server/weather station which is currently running on Debian Linux. For security purposes, you should probably actually configure your Debian system to behave more like your FreeBSD system, with regard to SSH. Set the PermitRootLogin value in /etc/ssh/sshd_config to no to prevent remote logins over SSH as root. This behavior is intended as a security measure. To access root remotely, log in over SSH as an account that has su access, then su to root, rather than just logging in as root directly. To grant an account on FreeBSD su access to root, add it to the wheel group. -- CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ] print substr(Just another Perl hacker, 0, -2); pgpbjhD21KGII.pgp Description: PGP signature
Re: root login stops working
need root access, you should use a staff account in the wheel group to remotely log into the machine, then su to root. or set PermitRootLogin yes in sshd_conf much easier. The fact that remote direct root login is disabled is a security feature, meant to prevent things like brute-force attacks on root over the network. It's a bad idea to change that behavior, in general. Back when just another stupid myth. simply use good passwords. having to log through 2 accounts doesn't increase security. actually increases mess. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
arplookup 0.0.0.0 failed: host is not on local network
Hi! I have been seeing a lot of warnings in syslog the last week. Do anyone have a tip for where to begin searching for the sinner? arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network pinging 0.0.0.0 gives me reply from 192.168.0.1 which is my OpenBSD router. The warnings shows up on my FreeBSD server. Nothing on the OpenBSD box. $ uname -a FreeBSD shine.carebears.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Feb 28 07:58:17 CET 2008 [EMAIL PROTECTED]:/files2/build/usr/src/sys/SHINE amd64 -- chs ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: root login stops working
Wojciech Puchar wrote: need root access, you should use a staff account in the wheel group to remotely log into the machine, then su to root. or set PermitRootLogin yes in sshd_conf much easier. The fact that remote direct root login is disabled is a security feature, meant to prevent things like brute-force attacks on root over the network. It's a bad idea to change that behavior, in general. Back when just another stupid myth. As is, of course, all security in depth. Hey, if you want everything riding on one password, more power to you, but you might want to refrain from using phrases like stupid myth unless you've got some hard data to back them up. simply use good passwords. Or a nice little key encrypted with a good pass phrase. Use ssh-agent right and you can make things even easier for yourself. having to log through 2 accounts doesn't increase security. actually increases mess. The only mess I can think of is all that logging that forces a bit of accountability onto all the admins who know the root password. Of course, if you're the only admin, I suppose it doesn't really matter. ;-) --Jon Radel smime.p7s Description: S/MIME Cryptographic Signature
Re: root login stops working
meant to prevent things like brute-force attacks on root over the network. It's a bad idea to change that behavior, in general. Back when just another stupid myth. As is, of course, all security in depth. Hey, if you want everything riding on one password, more power to you, but you might want to refrain from using phrases like stupid myth unless you've got some hard data to back them up. did below. simply use good passwords. Or a nice little key encrypted with a good pass phrase. i use ssh with id_dsa/authorized keys regularly, and rlogin.rhosts within the range of private/vpn/other way secure network having to log through 2 accounts doesn't increase security. actually increases mess. The only mess I can think of is all that logging that forces a bit of accountability onto all the admins who know the root password. Of course, if you're the only admin, I suppose it doesn't really matter. 2 admins for one server is never good idea :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [Bulk] Re: root login stops working
Thus spoke Chad Perrin on Sunday, 11 May 2008 at 13:58:46 -0600: On Sat, May 10, 2008 at 11:50:46AM -0700, Dennis Flynn wrote: I'm running FreeBSD wx.dennis-flynn.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 About a day after install root login no longer works - even on the console. [ ] For security purposes, you should probably actually configure your Debian system to behave more like your FreeBSD system, with regard to SSH. Set the PermitRootLogin value in /etc/ssh/sshd_config to no to prevent remote logins over SSH as root. This behavior is intended as a security measure. To access root remotely, log in over SSH as an account that has su access, then su to root, rather than just logging in as root directly. I think sshd_config in Debian has PermitRootLogin to no by default (i.e., as part of default installation). It's been a while since I've munged with the default configs (correct me if I am wrong). -- Cheers, Bikal KC (Please use: nepbababucxspamfree_at_yahoo DOT ca) Journal: http://nepbabu.livejournal.com || pubkey: see header Rule 6: There is no Rule 6. - Rob Pike Those who can make you believe absurdities, can make you commit atrocities. - François-Marie Arouet pgpXDyc67sDlr.pgp Description: PGP signature
Re: agp problems in 7.0-RELEASE
At 02:17 PM 5/11/2008, Novembre wrote: Hi all, I have upgraded my home desktop (1.4GHz P-IIIS) machine from 6.2-RELEASE-p9 to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from 6.2 and 7.0, I realized that some things aren't the same anymore. Probing agp gives the following messages -- 6.2-RELEASE-p9: pci0: ACPI PCI bus on pcib0 agp0: VIA 862x (CLE266) host to PCI bridge mem 0xe000-0xe0ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) 7.0-RELEASE: pci0: ACPI PCI bus on pcib0 agp0: VIA 862x (CLE266) host to PCI bridge on hostb0 agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: bad aperture size agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) device_attach: agp0 attach returned 12 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xd800-0xdbff,0xde00-0xdeff at device 0.0 on pci1 -- So what are the errors agp0: Invalid aperture setting 0x0 and agp0: bad aperture size (0Mb) and device_attach: agp0 attach returned 12 that I see in 7.0-RELEASE? I assume that agp driver is not attached, so there's something wrong with its implementation in 7.0, right? I have uploaded the complete dmesg's to 6.2-RELEASE dmesg :http://pastebin.com/f12c0ff27 7.0-RELEASE dmesg :http://pastebin.com/f3e6809c6 Thanks a lot :) The agp aperture size is usually set in the BIOS. Check your BIOS. -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 [EMAIL PROTECTED]
FreeBSD 7 on Windows 2008 (Hyper-V)
Hi: Im trying to set up a FreeBSD VM under Hyper-V but i the instalation do not start. i try x86 and x64 boot disk only (for a net install). The error i got is cant load kernel. Im a novice on FreeBSD but i have set up a few small server with it. Any idea? -- mmm, interesante. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
netbeans 6.0.1 not run
Hi all! full explanation: FreeBSD 7.0-RELEASE (i386) uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) installed: jdk-1.6.0.3p4_1 diablo-jdk-1.5.0.07.01_10 javavmwrapper-2.3.2 I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. java -version: java 16 jdku3p1 etc etc Then I insralled netbeans from ports, firstly it warned: JAVA_HOME should not be defined. So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and reinstalled netbeans. Installation went fine. When I try run netbeans: [EMAIL PROTECTED]:~netbeans XIO: fatal IO error 0 (Unknown error: 0) on X server :0.0 after 0 requests (0 known processed) with 0 events remaining. Any ideas? P/S:All pkgs were installed via ports* -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.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 [EMAIL PROTECTED]
Imagemagick port seems broken - jp2.c patch fails
I may be not thinking straight due to a head cold- in which case just tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It attempts to find Imagemagick folder in the work folder but cannot do so. I ran ls but all it has is .extract.imagemagick._usr_local or the like (the exact message is on another system atm). All I want is to install lives, but this has killed that. Any ideas what I can do? Or is this something to send to the ports list? Time is of the essence here, so thats why I thought somebody here might be able to find a workaround so I can continue for now and post to ports later. Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd7 on older machines
At 03:39 PM 5/9/2008, prad wrote: i can't seem to boot the cdrom on older hardware (500MHz and down). i read somewhere that the older drives aren't supported by the installation cdrom. i want to create a series of 'dumb terminals' which can ssh -Y into a faster machine. if necessary i suppose i can floppy in and then install via nfs. or i can setup the hd on another machine that does support the install cdrom and then transfer to the older machine. here are the specific questions: 1. do older machines work better with older versions of freebsd? 2. if i dd a hd (with freebsd) onto another hd will i have a problem with the mbr and be unable to boot? 3. are there any other ideas for install? -- In friendship, prad Your older computer probably doesn't support booting from CD. You can get a third party BIOS to upgrade your system. Or create boot floppies to start the install. Once you get a version installed keep it up to date using cvsup or the new binary update utility. -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 [EMAIL PROTECTED]
Re: arplookup 0.0.0.0 failed: host is not on local network
At 03:39 PM 5/11/2008, Christer Solskogen wrote: Hi! I have been seeing a lot of warnings in syslog the last week. Do anyone have a tip for where to begin searching for the sinner? arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network arplookup 0.0.0.0 failed: host is not on local network pinging 0.0.0.0 gives me reply from 192.168.0.1 which is my OpenBSD router. The warnings shows up on my FreeBSD server. Nothing on the OpenBSD box. $ uname -a FreeBSD shine.carebears.lan 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Feb 28 07:58:17 CET 2008 [EMAIL PROTECTED]:/files2/build/usr/src/sys/SHINE amd64 -- chs Sounds like you have 0.0.0.0 configured on an ethernet interface. I would check all your systems, and be sure it isn't used. -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 [EMAIL PROTECTED]
Re: netbeans 6.0.1 not run
On Sun, 11 May 2008, cuongvt wrote: Hi all! full explanation: FreeBSD 7.0-RELEASE (i386) uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) installed: jdk-1.6.0.3p4_1 diablo-jdk-1.5.0.07.01_10 javavmwrapper-2.3.2 I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. java -version: java 16 jdku3p1 etc etc Then I insralled netbeans from ports, firstly it warned: JAVA_HOME should not be defined. So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and reinstalled netbeans. Installation went fine. When I try run netbeans: [EMAIL PROTECTED]:~netbeans XIO: fatal IO error 0 (Unknown error: 0) on X server :0.0 after 0 requests (0 known processed) with 0 events remaining. This is exactly the same error message I get whenever I attempt to run any graphical java application on FreeBSD 7 using the diablo port. Between the diablo binaries and my Nvidia drivers, I'm relying on so many different compatibility layers and hacks that it's just too much. Installing jdk-1.6 and forcing my java applications to point to /usr/local/jdk1.6.0 instead of /usr/local/diablo* fixed the problem for me. So, I suspect that netbeans is still looking at the diablo java. Maybe there's a configuration option somewhere? If netbeans copies the java engine or contains its own, then I bet it's using diablo because that's the dependency that the port lists. I've not used netbeans on FreeBSD, so I don't know. Any ideas? P/S:All pkgs were installed via ports* -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.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 [EMAIL PROTECTED]
Re: Imagemagick port seems broken - jp2.c patch fails
Did you cvsup before attempting the install? -J - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Sun May 11 16:46:31 2008 Subject: Imagemagick port seems broken - jp2.c patch fails I may be not thinking straight due to a head cold- in which case just tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It attempts to find Imagemagick folder in the work folder but cannot do so. I ran ls but all it has is .extract.imagemagick._usr_local or the like (the exact message is on another system atm). All I want is to install lives, but this has killed that. Any ideas what I can do? Or is this something to send to the ports list? Time is of the essence here, so thats why I thought somebody here might be able to find a workaround so I can continue for now and post to ports later. Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: netbeans 6.0.1 not run
Luke Dean wrote: On Sun, 11 May 2008, cuongvt wrote: Hi all! full explanation: FreeBSD 7.0-RELEASE (i386) uid=1001(mak) gid=0(wheel) groups=0(wheel),69(network) installed: jdk-1.6.0.3p4_1 diablo-jdk-1.5.0.07.01_10 javavmwrapper-2.3.2 I'm using zsh so I set JAVA_HOME and PATH of java into in my .zshrc. java -version: java 16 jdku3p1 etc etc Then I insralled netbeans from ports, firstly it warned: JAVA_HOME should not be defined. So i removed JAVA_HOME and PATH of java into in my .zshrc, reboot and reinstalled netbeans. Installation went fine. When I try run netbeans: [EMAIL PROTECTED]:~netbeans XIO: fatal IO error 0 (Unknown error: 0) on X server :0.0 after 0 requests (0 known processed) with 0 events remaining. This is exactly the same error message I get whenever I attempt to run any graphical java application on FreeBSD 7 using the diablo port. Between the diablo binaries and my Nvidia drivers, I'm relying on so many different compatibility layers and hacks that it's just too much. Installing jdk-1.6 and forcing my java applications to point to /usr/local/jdk1.6.0 instead of /usr/local/diablo* fixed the problem for me. So, I suspect that netbeans is still looking at the diablo java. Maybe there's a configuration option somewhere? If netbeans copies the java engine or contains its own, then I bet it's using diablo because that's the dependency that the port lists. I've not used netbeans on FreeBSD, so I don't know. Any ideas? P/S:All pkgs were installed via ports* -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179367.html Sent from the freebsd-questions mailing list archive at Nabble.com. Yeah. Netbeans looks for diablo 1.5 p7 as it's dependency. Thanks for info. Any idea? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/netbeans-6.0.1-not-run-tp17179367p17179967.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 [EMAIL PROTECTED]
Re: agp problems in 7.0-RELEASE
On Sun, May 11, 2008 at 5:42 PM, Derek Ragona [EMAIL PROTECTED] wrote: At 02:17 PM 5/11/2008, Novembre wrote: Hi all, I have upgraded my home desktop (1.4GHz P-IIIS) machine from 6.2-RELEASE-p9 to 7.0-RELEASE some time ago. When comparing the two dmesg outputs from 6.2 and 7.0, I realized that some things aren't the same anymore. Probing agp gives the following messages -- 6.2-RELEASE-p9: pci0: ACPI PCI bus on pcib0 agp0: VIA 862x (CLE266) host to PCI bridge mem 0xe000-0xe0ff at device 0.0 on pci0 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 pci1: display, VGA at device 0.0 (no driver attached) 7.0-RELEASE: pci0: ACPI PCI bus on pcib0 agp0: VIA 862x (CLE266) host to PCI bridge on hostb0 agp0: Invalid aperture setting 0x0agp0: Invalid aperture setting 0x0agp0: bad aperture size agp0: Invalid aperture setting 0x0agp0: Invalid aperture size (0Mb) device_attach: agp0 attach returned 12 pcib1: PCI-PCI bridge at device 1.0 on pci0 pci1: PCI bus on pcib1 vgapci0: VGA-compatible display mem 0xd800-0xdbff,0xde00-0xdeff at device 0.0 on pci1 -- So what are the errors agp0: Invalid aperture setting 0x0 and agp0: bad aperture size (0Mb) and device_attach: agp0 attach returned 12 that I see in 7.0-RELEASE? I assume that agp driver is not attached, so there's something wrong with its implementation in 7.0, right? I have uploaded the complete dmesg's to 6.2-RELEASE dmesg :http://pastebin.com/f12c0ff27 7.0-RELEASE dmesg :http://pastebin.com/f3e6809c6 Thanks a lot :) The agp aperture size is usually set in the BIOS. Check your BIOS. -Derek -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. Hi, It could be a possibility, but I haven't touched anything in the BIOS. I've just upgraded my 6.2-RELEASE-p9 to 7.0-RELEASE from source. Besides, I was not geting that error when using 6.2. Apparently, it's something related to FreeBSD rather than my BIOS. Thanks :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Imagemagick port seems broken - jp2.c patch fails
On Sun, 2008-05-11 at 17:20 -0700, Johan Dowdy wrote: Did you cvsup before attempting the install? -J Do you mean update the ports tree? This is a relatively new install of 6.3 (last week or so) with a minimal distro and no ports tree installed at the time. I run portsnap manually after install nowadays so that the latest and greatest is installed from the start. I'll try updating, but pkg_version -v seems up to date so I doubt very much it'll make a diff. - Original Message - From: [EMAIL PROTECTED] [EMAIL PROTECTED] To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org Sent: Sun May 11 16:46:31 2008 Subject: Imagemagick port seems broken - jp2.c patch fails I may be not thinking straight due to a head cold- in which case just tell me so- but building Imagemagick-6.4.0.7 from ports is failing. It attempts to find Imagemagick folder in the work folder but cannot do so. I ran ls but all it has is .extract.imagemagick._usr_local or the like (the exact message is on another system atm). All I want is to install lives, but this has killed that. Any ideas what I can do? Or is this something to send to the ports list? Time is of the essence here, so thats why I thought somebody here might be able to find a workaround so I can continue for now and post to ports later. Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: [samba 3.0.28a,1) PANIC: tdb_reopen_all failed
On Sun, 11 May 2008 00:17:03 +0200, Gilles [EMAIL PROTECTED] wrote: No problem there. I did create my own /usr/local/etc/smb.conf, and smbpasswd is living under /usr/local/etc/samba/. The n-1 version worked fine, and this version was installed about a week ago. I uninstalled, recompiled the Ports. Hopefully, this error won't occur again. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]