Given this evidence, should I be worried that I may have been hacked
Once I opened up SSH to the outside world, my machine has been hammered once or twice a day most days, with username failures. None of the usernames would fit a username on my system (except root), and I have ssh set to deny root logins, and only use SSH2. Additionally, I have the following in my login.access (only active entry, the name have been changed on this, but the three names would appear as 3 and four character random alphabetical strings): -:ALL EXCEPT wrbc crr aqp:ALL EXCEPT local As of the 9th, I've only seen one set of blatant/brute-force attempt at my ssh server. It's interesting, but the major drop in attempts has me more worried than the attempts (could this drop off be because they no longer need to hack me? Could they have hacked me an that be the reason why?) How worried should I be, and what's the best recourse for this? Thanks, -Jim Stapleton ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Given this evidence, should I be worried that I may have been hacked
I have DSA. I will change it to a nonstandard port, but I was wondering what your oppinion on a good way to check if this is the result of me being hacked, or just someone loosing interest. On 4/14/07, Gabor Kovesdan [EMAIL PROTECTED] wrote: Jim Stapleton schrieb: Once I opened up SSH to the outside world, my machine has been hammered once or twice a day most days, with username failures. None of the usernames would fit a username on my system (except root), and I have ssh set to deny root logins, and only use SSH2. Additionally, I have the following in my login.access (only active entry, the name have been changed on this, but the three names would appear as 3 and four character random alphabetical strings): -:ALL EXCEPT wrbc crr aqp:ALL EXCEPT local As of the 9th, I've only seen one set of blatant/brute-force attempt at my ssh server. It's interesting, but the major drop in attempts has me more worried than the attempts (could this drop off be because they no longer need to hack me? Could they have hacked me an that be the reason why?) How worried should I be, and what's the best recourse for this? On a system I administer I put SSH to a non-standard port (in this case 1234) and the brute force attempts has gone away since then. I suggest you trying that. Besides, you can change to RSA/DSA auth, which is more secure. Regards, Gabor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Verifying that I have SMP up and running
I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Verifying that I have SMP up and running
Ahh, yes, I see that. And high-cpu multitasking seems to run a lot better too Thank you, -Jim Stapleton On 4/9/07, Michael K. Smith - Adhost [EMAIL PROTECTED] wrote: Hello Jim: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Jim Stapleton Sent: Monday, April 09, 2007 2:52 PM To: freebsd-questions@freebsd.org Subject: Verifying that I have SMP up and running I added SMP to the kernel config, but I want to make sure that it's running. I tried top, as I'm used to seeing multiple processors listed there (Tru64, Linux), but did not see it in FreeBSD. However I got the dmesg below (see end of mail, the beginning of dmesg output), which seems to indicate it's up an running. Can someone verify this, and are there any good tools to show how much each CPU is using in the way of resources? Thanks, -Jim Stapleton Copyright (c) 1992-2007 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-STABLE #0: Sun Apr 8 14:50:03 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070408-SMP Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Dual Core AMD Opteron(tm) Processor 180 (2412.38-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x20f32 Stepping = 2 Features=0x178bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x3LAHF,CMP Cores per package: 2 real memory = 1073676288 (1023 MB) avail memory = 1033093120 (985 MB) ACPI APIC Table: Nvidia AWRDACPI FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 Version 1.1 irqs 0-23 on motherboard You should be able to see both processors in top, under the C column. You will see a 0 or 1 depending on which processor is doing the work for that process. There aren't cumulative, per-processor totals but you can get a decent idea of what's going on. Mike ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: some thoughts about gmirror
Mike Wolman wrote: if you were keeping track of the blocks which had changed then you do not need to generate this list and simply send over the changed blocks. Unison keeps a list of files at each end and only exchanges block lists for files that have changed. I use it to sync 40GB (10K files) over a 1Mbps link and it's very fast. It also will do two-way sync. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: creating rc.d scripts
oops, sent a reply to the wrong list a bit ago... Anyway, it is still not working. I forgot to mentions, sorry, doing $ /usr/local/etc/rc.d/sb_server start works just fine. I used /usr/bin/env python because I would like to add this to the port that installs the server this script starts, and I cannot be certain that python will be installed in /usr/local/bin, instead of some other path directory (can I? Is this even a concern porters should take into account?). Changing to /usr/local/bin/python did not fix the issue. Thanks for the information. I'll reboot the machine and see if sendmail is dead when I get home. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Remove FreeBSD Boot Manager
- Original Message From: Derek Ragona [EMAIL PROTECTED] To: Jim Priovolos [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, March 24, 2007 9:30:31 PM Subject: Re: Remove FreeBSD Boot Manager You can boot the windows repair console and use fixmbr command from there. -Derek fixmbr can be used to remove the boot manager? I didn't see anything that appeared to be capable of doing that. At 08:06 PM 3/24/2007, Jim Priovolos wrote: How can I remove the FreeBSD boot manager? My disk is full with an NTFS partition or slice and there was only room for 7 meg of anything else. The only thing that is installed now is the boot manager that asks if I want to start in Windows or BSD. I'd like to get rid of that until I can figure out how to shrink the partition. Thanks, Jim Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Remove FreeBSD Boot Manager
How can I remove the FreeBSD boot manager? My disk is full with an NTFS partition or slice and there was only room for 7 meg of anything else. The only thing that is installed now is the boot manager that asks if I want to start in Windows or BSD. I'd like to get rid of that until I can figure out how to shrink the partition. Thanks, Jim Sucker-punch spam with award-winning protection. Try the free Yahoo! Mail Beta. http://advision.webevents.yahoo.com/mailbeta/features_spam.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: creating rc.d scripts
This: (0) ~ sudo rcorder /usr/local/etc/rc.d/* /etc/rc.d/* /etc/rc.d/dumpon /etc/rc.d/initrandom /etc/rc.d/geli /etc/rc.d/gbde /etc/rc.d/encswap /etc/rc.d/ccd /etc/rc.d/swap1 /etc/rc.d/mdconfig /etc/rc.d/ramdisk /etc/rc.d/early.sh /etc/rc.d/fsck /etc/rc.d/root /etc/rc.d/mountcritlocal /etc/rc.d/var /etc/rc.d/cleanvar /etc/rc.d/random /etc/rc.d/adjkerntz /etc/rc.d/atm1 /etc/rc.d/hostname /etc/rc.d/ipfilter /etc/rc.d/ipnat /etc/rc.d/ipfs /etc/rc.d/kldxref /etc/rc.d/sppp /etc/rc.d/addswap /etc/rc.d/auto_linklocal /etc/rc.d/sysctl /etc/rc.d/serial /etc/rc.d/pccard /etc/rc.d/netif /etc/rc.d/ip6addrctl /etc/rc.d/atm2 /etc/rc.d/pfsync /etc/rc.d/pflog /etc/rc.d/pf /etc/rc.d/isdnd /etc/rc.d/ppp /etc/rc.d/routing /etc/rc.d/ip6fw /etc/rc.d/network_ipv6 /etc/rc.d/devd /etc/rc.d/ipsec /etc/rc.d/ipfw /etc/rc.d/nsswitch /etc/rc.d/mroute6d /etc/rc.d/route6d /etc/rc.d/mrouted /etc/rc.d/routed /etc/rc.d/NETWORKING /etc/rc.d/mountcritremote /etc/rc.d/devfs /etc/rc.d/ipmon /etc/rc.d/mdconfig2 /etc/rc.d/ramdisk-own /etc/rc.d/newsyslog /etc/rc.d/syslogd /etc/rc.d/savecore /etc/rc.d/ldconfig /etc/rc.d/archdep /etc/rc.d/abi /etc/rc.d/SERVERS /etc/rc.d/named /etc/rc.d/ntpdate /etc/rc.d/rpcbind /etc/rc.d/nisdomain /etc/rc.d/ypserv /etc/rc.d/ypxfrd /etc/rc.d/ypupdated /etc/rc.d/ypbind /etc/rc.d/ypset /etc/rc.d/yppasswdd /etc/rc.d/wpa_supplicant /etc/rc.d/accounting /etc/rc.d/nfsclient /etc/rc.d/amd /etc/rc.d/atm3 /etc/rc.d/auditd /etc/rc.d/tmp /etc/rc.d/cleartmp /etc/rc.d/dmesg /etc/rc.d/ike /etc/rc.d/ipxrouted /etc/rc.d/kerberos /etc/rc.d/kadmind /etc/rc.d/keyserv /etc/rc.d/kpasswdd /etc/rc.d/quota /etc/rc.d/nfsserver /etc/rc.d/mountd /etc/rc.d/nfsd /etc/rc.d/nfslocking /etc/rc.d/pppoed /etc/rc.d/pwcheck /etc/rc.d/virecover /etc/rc.d/DAEMON /etc/rc.d/watchdogd /etc/rc.d/usbd /etc/rc.d/ugidfw /etc/rc.d/timed /usr/local/etc/rc.d/gkrellmd /usr/local/etc/rc.d/mythbackend /usr/local/etc/rc.d/sb_server /usr/local/etc/rc.d/sb_server~ /usr/local/etc/rc.d/svnserve /etc/rc.d/apm /etc/rc.d/apmd /etc/rc.d/bootparams /etc/rc.d/hcsecd /etc/rc.d/bthidd /etc/rc.d/local /etc/rc.d/lpd /etc/rc.d/motd /etc/rc.d/mountlate /etc/rc.d/ntpd /etc/rc.d/powerd /etc/rc.d/rarpd /etc/rc.d/rtadvd /etc/rc.d/rwho /etc/rc.d/sdpd /etc/rc.d/LOGIN /etc/rc.d/syscons /etc/rc.d/sshd /etc/rc.d/sendmail /usr/local/etc/rc.d/ezjail.sh /etc/rc.d/cron /etc/rc.d/jail /etc/rc.d/localpkg /etc/rc.d/netoptions /etc/rc.d/securelevel /etc/rc.d/resolv /etc/rc.d/power_profile /etc/rc.d/pcvt /etc/rc.d/othermta /etc/rc.d/natd /etc/rc.d/msgs /etc/rc.d/moused /etc/rc.d/mixer /etc/rc.d/inetd /etc/rc.d/hostapd /etc/rc.d/geli2 /etc/rc.d/ftpd /etc/rc.d/dhclient /etc/rc.d/bsnmpd /etc/rc.d/bridge /etc/rc.d/bluetooth /etc/rc.d/bgfsck /usr/local/etc/rc.d/vpnc.sh.sample /usr/local/etc/rc.d/snmptrapd /usr/local/etc/rc.d/snmpd /usr/local/etc/rc.d/dbus /usr/local/etc/rc.d/polkitd /usr/local/etc/rc.d/openvpn /usr/local/etc/rc.d/mysql-server /usr/local/etc/rc.d/mdnsd /usr/local/etc/rc.d/kdelibs.sh /usr/local/etc/rc.d/kdc.sh.sample /usr/local/etc/rc.d/hald /usr/local/etc/rc.d/fusefs /usr/local/etc/rc.d/ffserver /usr/local/etc/rc.d/cupsd /usr/local/etc/rc.d/avahi-daemon.sh /usr/local/etc/rc.d/avahi-dnsconfd.sh /usr/local/etc/rc.d/apache.sh /usr/local/etc/rc.d/001slpd.sh Thanks, -Jim Stapleton On 3/21/07, Brian A. Seklecki [EMAIL PROTECTED] wrote: what does: $ sudo rcorder /usr/local/etc/rc.d/* /etc/rc.d/* ..look like? ~BAS On Wed, 2007-03-21 at 10:57 -0700, Chuck Swiger wrote: On Mar 21, 2007, at 10:52 AM, Jim Stapleton wrote: I created a script in my /usr/local/etc/rc.d directory, but for some reason it doesn't auto start when I start my machine. I added entries to the rc.conf that I thought should work, but they did not. On a related not, my rc.conf file doesn't seem to disable autostart of sendmail. Could anyone advise me? Your rc script is probably not working because it might not find python under /usr/local/bin unless you explicitly set $PATH to include that directory. Secondly, you want to use sendmail_enable=NONE rather than NO if you want to completely disable all of sendmail. Setting it to NO means that there is no sendmail daemon listening on port 25, but there will still be a local client mqueue runner spawned to handle local deliveries. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mysql Unlinked Files
On startup of mysql-server 5.0.12 on FBSD 5.4-RELEASE my server always has 3 0-size unreferenced files with 69 links reported by lsof +L1. 23 groups of: mysqld 6179 mysql6u VREG 4,170 09 /var (/dev/aacd0s1d) mysqld 6179 mysql7u VREG 4,170 0 23 /var (/dev/aacd0s1d) mysqld 6179 mysql 11u VREG 4,170 0 24 /var (/dev/aacd0s1d) This doesn't cause problems but I am curious as to what is causing it and if I could do anything to fix it? Thanks. -- Jim Flowers [EMAIL PROTECTED] -- 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]
creating rc.d scripts
I created a script in my /usr/local/etc/rc.d directory, but for some reason it doesn't auto start when I start my machine. I added entries to the rc.conf that I thought should work, but they did not. On a related not, my rc.conf file doesn't seem to disable autostart of sendmail. Could anyone advise me? Thanks, -Jim Stapleton rc.conf: == #hostname/ifconfig/defaultrouter omitted usbd_enable=YES linux_enable=YES sshd_enable=YES ntpdate_enable=YES ntpd_enable=YES sendmail_disable=YES sendmail_enable=NO mail_enable=NO inetd_flags=-wW -a 192.168.1.84 syslogd_flags=-b 192.168.1.84 rpcbind_enable=NO sb_server_enable=YES sb_enable=YES == Script: [EMAIL PROTECTED] 17:46:04 (0) ~ cat /usr/local/etc/rc.d/sb_server #!/bin/sh # Start or stop sb_server # $FreeBSD: ports/mail/py_spambayes/ # PROVIDE: sb_server # REQUIRE: DAEMON # BEFORE: LOGIN # KEYWORD: shutdown # name=sb_server prefix=/usr/local # Define these sb_server_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # /etc/rc.conf.d/gkrellmd # # DO NOT CHANGE THESE DEFAULT VALUES HERE # sb_server_enable=${sb_server_enable:-NO} # Enable gkrellmd sb_server_flags=${sb_server_flags:--u 8880} # Flags to gkrellmd . /etc/rc.subr #we keep everyting in /var/sb/db cd /var/db/sb if [ $1 = start ] then if [ -e sb_pid ] #process already started then #attempt to see if the process in the PID file is a SB server ps -A | grep $(cat sb_pid) | grep -v grep | grep sb_server.py if [ $? != 0 ] then echo PID file existed, but had no valid SB PIDs, cleaning rm sb_pid else echo PID file found in '${prefix}, server already started exit 1 fi fi ERR=0 name=sb_server rcvar=`set_rcvar` /usr/bin/env python ${prefix}/bin/sb_server.py ${sb_server_flags} if [ $? -ne 0 ] then echo SB Server initialization failed exit 1 fi sleep 2 ps -A | grep sb_server.py | grep -v grep | cut -f2 -d ' ' | tail -n 1 sb_pid if [ $? -ne 0 ] then echo SB Server pid file creation failed fi fi if [ $1 = stop ] then if [ -e sb_pid ] then kill $(cat sb_pid) if [ $? -ne 0 ] then echo Could not kill the SB Server process exit 1 fi rm sb_pid if [ $? -ne 0 ] then echo Could not remove PID file but SB Server process killed. exit 1 fi else echo No PID file foundin ${prefix} exit 1 fi fi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mysql Unlinked Files
mysql-server stop removes unreferenced files and links, however, mysql-server start just creates them again (of course with higher inodes). The link count does go down some over time (now at 54). Must be something in the startup routine. Just thought someone might have run into it before and figured it out. Thanks for responding. On Wed, 21 Mar 2007 10:49:06 -0700, Chuck Swiger wrote On Mar 21, 2007, at 7:24 AM, Jim Flowers wrote: On startup of mysql-server 5.0.12 on FBSD 5.4-RELEASE my server always has 3 0-size unreferenced files with 69 links reported by lsof +L1. 23 groups of: mysqld 6179 mysql6u VREG 4,170 09 /var (/ dev/aacd0s1d) mysqld 6179 mysql7u VREG 4,170 0 23 /var (/ dev/aacd0s1d) mysqld 6179 mysql 11u VREG 4,170 0 24 /var (/ dev/aacd0s1d) This doesn't cause problems but I am curious as to what is causing it and if I could do anything to fix it? Do they go away if you kill mysqld? If not, consider rebooting to single-user mode or off of a CD, and running fsck by hand on /var... -- -Chuck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Jim Flowers [EMAIL PROTECTED] -- 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]
Downloads
Hi, I've downloaded the 6.2 files. When I burned a CD with the boot file it didn't make my laptop boot off it after powering up with it in the CD drive. The *disk1 file burnt to a CD gave the same results. I tried the *disk1 file using ftp through a browser and also command line ftp set to binary. I checked the boot order and CD is first. If I put a Windows boot CD in there it will boot off of it. Any ideas? I've got a Compaq Presario 2500 laptop with XP on it now. Thanks for the help in advance, Jim P. Need Mail bonding? Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users. http://answers.yahoo.com/dir/?link=listsid=396546091 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Verifying my 3D drivers set up properly for my nVidia based graphics card
I have a 7300GT in my computer, and I have run into a couple of errors trying to set up WoW in Wine (couldn't find copies of the error elsewhere). Also a couple of OpenGL applications are running slower than one would expect given my card (especially in the screen savers area, where the same apps would run /too fast/ with my old Ti4200. These in conjunction lead me to suspect my graphics setup. What application/method would you suggest to test this? I'd prefer something that would provide command line information, rather than about how fast does this run? I checked for the libraries mentioned on nVidias web site, and they are all in the right spots, which leads me to suspect it's an xorg.conf error, but I'm not sure. I've attached the xorg.conf file to the end, just in case. Thanks, -Jim Stapleton /etc/X11/xorg.conf: # nvidia-xconfig: X configuration file generated by nvidia-xconfig # nvidia-xconfig: version 1.0 ([EMAIL PROTECTED]) Tue Feb 6 05:44:08 UTC 2007 Section ServerLayout Identifier X.org Configured Screen 0 Screen0 0 0 InputDeviceMouse0 CorePointer InputDeviceKeyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath/usr/X11R6/lib/X11/fonts/misc/ FontPath/usr/X11R6/lib/X11/fonts/TTF/ FontPath/usr/X11R6/lib/X11/fonts/Type1/ FontPath/usr/X11R6/lib/X11/fonts/CID/ FontPath/usr/X11R6/lib/X11/fonts/75dpi/ FontPath/usr/X11R6/lib/X11/fonts/100dpi/ EndSection Section Module Load extmod Load glx Load dbe Load record Load xtrap Load type1 Load freetype EndSection Section InputDevice Identifier Keyboard0 Driver kbd EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol auto Option Device /dev/sysmouse Option ZAxisMapping 4 5 6 7 EndSection Section Monitor ### Comment all HorizSync and VertSync values to use DDC: Identifier Monitor0 VendorName SAM ModelName SyncMaster HorizSync 30.0 - 81.0 VertRefresh 56.0 - 75.0 Option DPMS EndSection Section Extensions Option Composite Enable EndSection Section Device Identifier Card0 Driver nvidia VendorName nVidia Corporation BoardName Unknown Board EndSection Section Screen Identifier Screen0 Device Card0 MonitorMonitor0 SubSection Display Viewport0 0 Depth 24 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 16 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 15 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 8 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Depth 4 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection SubSection Display Viewport0 0 Modes 1280x1024 1024x768 800x600 640x480 EndSubSection EndSection /var/log/Xorg.0.log: X Window System Version 6.9.0 Release Date: 21 December 2005 X Protocol Version 11, Revision 0, Release 6.9 Build Operating System: FreeBSD 6.2 i386 [ELF] Current Operating System: FreeBSD elrond.ameritech.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri Mar 2 21:01:49 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/JIM20070302 i386 Build Date: 08 February 2007 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Tue Mar 13 17:47:13 2007 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout X.org Configured (**) |--Screen Screen0 (0) (**) | |--Monitor Monitor0 (**) | |--Device Card0 (**) |--Input Device Mouse0 (**) |--Input Device Keyboard0 (WW) The directory /usr/X11R6/lib/X11/fonts/CID/ does not exist. Entry deleted from font path. (**) FontPath set to /usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TTF/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/ (**) RgbPath set to /usr/X11R6/lib/X11/rgb (**) ModulePath set to /usr/X11R6/lib/modules (**) Extension Composite is enabled (II) Module ABI versions: X.Org ANSI C Emulation: 0.2 X.Org Video Driver: 0.8 X.Org XInput driver : 0.5 X.Org Server Extension
Re: hauppauge PVR 150 problem loading modules
Thank you, I'll call hauppauge tomorrow, they seem to be quite friendly about it. I was trying to find the file that spat out the error message but was lost. Thanks again, -Jim Stapleton On 3/4/07, Josh Paetzel [EMAIL PROTECTED] wrote: On Friday 02 March 2007 20:34, Jim Stapleton wrote: I appologize -questions, disregard this, it was supposed to go to multimedia. On 3/3/07, Jim Stapleton [EMAIL PROTECTED] wrote: After being unable to get the WinTV-Radio work, I replaced it with a PVR-150. I followed the instructions here: http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-Novemb er/005351.html attempting to get the PVR 150 I just picked up working. However, after loading the modules as described in the output of the pvrxxx port, and the message listed, no new devices showed up. I checked /var/log/messages and go this: [EMAIL PROTECTED] 21:28:36 (0) ~ cat /var/log/messages | grep cxm Mar 2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ; PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c Mar 2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ; PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c Mar 2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm_iic Mar 2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm Mar 2 21:27:53 elrond kernel: cxm0: Conexant iTVC16 MPEG Coder mem 0xc000-0xc3ff irq 16 at device 6.0 on pci5 Mar 2 21:27:53 elrond kernel: cxm_iic0: Conexant iTVC15 / iTVC16 I2C controller on cxm0 Mar 2 21:27:53 elrond kernel: iicbb0: I2C bit-banging driver on cxm_iic0 Mar 2 21:27:53 elrond kernel: cxm0: unknown tuner code 0x67 Mar 2 21:27:53 elrond kernel: cxm0: could not initialize tuner Mar 2 21:27:53 elrond kernel: cxm_iic0: detached Mar 2 21:27:53 elrond kernel: device_attach: cxm0 attach returned 6 So it's safe to say I have an unknown tuner on this card, what would my next step from here be? Thank you, -Jim Stapleton In /usr/ports/multimedia/pvrxxx/work/dev/cxm/cxm_eeprom.c there's a big switch of tuner codes starting on line 213either figure out what tuner you have and add the appropriate entry for the tuner code it's showing or start guessing. -- Thanks, Josh Paetzel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hauppauge PVR 150 problem loading modules
OK, I'm working on that, what's the most trivial method of finding out if the tuner is working? I saw a cat /dev/cxm0 test.mpg comment, do I have to set channel before I do that, should I use the pvr250_setchannel application? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hauppauge PVR 150 problem loading modules
OK, this little script seemed to get the job done, but... it's not horribly fast/efficient (I found a tuner the same as 0x55 that works with 0x67 also). For testing purposes, is there an mpeg player that will gake input from stdin? I.E. I would replace cat /dev/cxm0 test_$START.mpg with cat /dev/cxm0 | some_app Thanks, -Jim Stapleton #!/bin/sh INC=0.10 START=740.00 STOP=750.00 P=$START cat /dev/cxm0 test_$START.mpg TEST=$(echo $P = $STOP | bc) while [ $TEST -eq 1 ] do echo $P pvr250-setchannel -m 2 $P P=$(echo $P + $INC | bc) TEST=$(echo $P = $STOP | bc) sleep 2 done kill $(ps -A | grep cat | grep cxm0 | cut -f 2 -d ' ') noatun test_$START.mpg On 3/4/07, Jim Stapleton [EMAIL PROTECTED] wrote: OK, I'm working on that, what's the most trivial method of finding out if the tuner is working? I saw a cat /dev/cxm0 test.mpg comment, do I have to set channel before I do that, should I use the pvr250_setchannel application? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
hauppauge PVR 150 problem loading modules
After being unable to get the WinTV-Radio work, I replaced it with a PVR-150. I followed the instructions here: http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-November/005351.html attempting to get the PVR 150 I just picked up working. However, after loading the modules as described in the output of the pvrxxx port, and the message listed, no new devices showed up. I checked /var/log/messages and go this: [EMAIL PROTECTED] 21:28:36 (0) ~ cat /var/log/messages | grep cxm Mar 2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ; PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c Mar 2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ; PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c Mar 2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm_iic Mar 2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm Mar 2 21:27:53 elrond kernel: cxm0: Conexant iTVC16 MPEG Coder mem 0xc000-0xc3ff irq 16 at device 6.0 on pci5 Mar 2 21:27:53 elrond kernel: cxm_iic0: Conexant iTVC15 / iTVC16 I2C controller on cxm0 Mar 2 21:27:53 elrond kernel: iicbb0: I2C bit-banging driver on cxm_iic0 Mar 2 21:27:53 elrond kernel: cxm0: unknown tuner code 0x67 Mar 2 21:27:53 elrond kernel: cxm0: could not initialize tuner Mar 2 21:27:53 elrond kernel: cxm_iic0: detached Mar 2 21:27:53 elrond kernel: device_attach: cxm0 attach returned 6 So it's safe to say I have an unknown tuner on this card, what would my next step from here be? Thank you, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hauppauge PVR 150 problem loading modules
I appologize -questions, disregard this, it was supposed to go to multimedia. On 3/3/07, Jim Stapleton [EMAIL PROTECTED] wrote: After being unable to get the WinTV-Radio work, I replaced it with a PVR-150. I followed the instructions here: http://lists.freebsd.org/pipermail/freebsd-multimedia/2006-November/005351.html attempting to get the PVR 150 I just picked up working. However, after loading the modules as described in the output of the pvrxxx port, and the message listed, no new devices showed up. I checked /var/log/messages and go this: [EMAIL PROTECTED] 21:28:36 (0) ~ cat /var/log/messages | grep cxm Mar 2 20:47:11 elrond sudo: sjss : TTY=ttyp1 ; PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c Mar 2 20:49:05 elrond sudo: sjss : TTY=ttyp1 ; PWD=/usr/ports/multimedia/pvrxxx ; USER=root ; COMMAND=/usr/local/bin/emacs work/modules/cxm/cxm/fbsd-compat.c Mar 2 21:27:50 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm_iic Mar 2 21:27:53 elrond sudo: sjss : TTY=ttyp1 ; PWD=/home/sjss ; USER=root ; COMMAND=/sbin/kldload cxm Mar 2 21:27:53 elrond kernel: cxm0: Conexant iTVC16 MPEG Coder mem 0xc000-0xc3ff irq 16 at device 6.0 on pci5 Mar 2 21:27:53 elrond kernel: cxm_iic0: Conexant iTVC15 / iTVC16 I2C controller on cxm0 Mar 2 21:27:53 elrond kernel: iicbb0: I2C bit-banging driver on cxm_iic0 Mar 2 21:27:53 elrond kernel: cxm0: unknown tuner code 0x67 Mar 2 21:27:53 elrond kernel: cxm0: could not initialize tuner Mar 2 21:27:53 elrond kernel: cxm_iic0: detached Mar 2 21:27:53 elrond kernel: device_attach: cxm0 attach returned 6 So it's safe to say I have an unknown tuner on this card, what would my next step from here be? Thank you, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Asking for bugs instead of about them, for a change.
I'm wokring on a project to add to the handbook, on debugging port installs that fail, when it's trivially user fixable. However, I haven't collected all of my error messages from broken port installs I've had. Would it be possible to have some people mail me (unless someone says otherwise, directly, so as not to clutter the list), port build errors related to either [a] broken dependancy relations or [b] overly-agressive CFLAGS/CXXFLAGS The last 50 to 100 lines should be more than sufficient. What I really need is [a] A copy of the relevant parts of the make.conf file (CFLAGS/CXXFLAGS/CPUTYPE) [b] the entire dependancy trace (the list of ports that the system is backtracking out of), and the last 15 to 20 lines of the actual build (be it the configuration steps, the compilation commands, etc). Also nice would be [c] How you fixed it or plan to fix it. Thank you, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
OK, I managed to get it so something else wasn't grabbing *.*, dunno what made that happen. What you said made me think Hey, there was something in the man pages about starting services, I figured I ought test that out. So I did: Pre-Jail process/netstat: [EMAIL PROTECTED] 07:52:14 (0) /usr/ports ps -A | grep syslog 2952 ?? Ss 0:00.08 /usr/sbin/syslogd -b 192.168.1.84 [EMAIL PROTECTED] 07:52:17 (0) /usr/ports ps -A | grep send 5489 p2 S+ 0:00.00 grep send [EMAIL PROTECTED] 07:52:25 (0) /usr/ports ps -A | grep name [EMAIL PROTECTED] 07:52:29 (0) /usr/ports ps -A | grep inet [EMAIL PROTECTED] 07:52:31 (0) /usr/ports ps -A | grep ssh 2474 ?? Is 0:00.01 /usr/sbin/sshd 5498 p2 R+ 0:00.00 grep ssh [EMAIL PROTECTED] 07:51:08 (0) ~ netstat -f inet -a; netstat -f inet6 -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 192.168.1.84.53971 nz-in-f83.google.http ESTABLISHED tcp4 0 0 192.168.1.84.57400 oam-d17a.blue.ao.aol ESTABLISHED tcp4 0 0 192.168.1.84.56522 205.188.7.124.aol ESTABLISHED tcp4 0 0 192.168.1.84.50267 py-in-f83.google.http ESTABLISHED tcp4 0 0 192.168.1.84.ssh *.*LISTEN tcp4 0 0 192.168.1.84.53732 ar-in-f83.google.http ESTABLISHED udp4 0 0 192.168.1.84.syslog*.* starting jail [EMAIL PROTECTED] 07:52:50 (0) /usr/ports jail /jail/ [EMAIL PROTECTED] 192.168.1.85 /bin/sh /etc/rc Loading configuration files. [EMAIL PROTECTED] Setting hostname: [EMAIL PROTECTED] Creating and/or trimming log files:. ln: /dev/log: Operation not permitted Starting syslogd. ELF ldconfig path: /lib /usr/lib /usr/lib/compat a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Clearing /tmp (X related). Starting local daemons:. Updating motd. Starting sshd. Starting cron. Local package initialization:. Sat Feb 24 07:54:40 UTC 2007 Jailed port/binding list: [EMAIL PROTECTED] 07:54:05 (0) ~ netstat -f inet -a; netstat -f inet6 -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 192.168.1.85.smtp *.*LISTEN tcp4 0 0 192.168.1.85.ssh *.*LISTEN tcp4 0 0 192.168.1.84.58735 nz-in-f83.google.http ESTABLISHED tcp4 0 0 192.168.1.84.57400 oam-d17a.blue.ao.aol ESTABLISHED tcp4 0 0 192.168.1.84.56522 205.188.7.124.aol ESTABLISHED tcp4 0 0 192.168.1.84.50267 py-in-f83.google.http ESTABLISHED tcp4 0 0 192.168.1.84.ssh *.*LISTEN tcp4 0 0 192.168.1.84.53732 ar-in-f83.google.http ESTABLISHED udp4 0 0 192.168.1.85.syslog*.* udp4 0 0 192.168.1.84.syslog*.* Issue not confused, but it did give me some try this tests. Unfortunately I still cant connect to anything outside of the jail, not even to the host. SSHing into jail does not work, into host does. [EMAIL PROTECTED] 07:54:40 (0) /usr/ports jail /jail/ legolas 92.168.1.85 /bin/csh %ssh -x 192.168.1.84 ^C And as a last test I should have thought of before: [EMAIL PROTECTED] 07:59:13 (0) /usr/ports sysctl security.jail.allow_raw_sockets security.jail.allow_raw_sockets: 1 [EMAIL PROTECTED] 07:59:26 (0) /usr/ports jail /jail/ legolas 92.168.1.85 /bin/csh %ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ^C --- 127.0.0.1 ping statistics --- 7 packets transmitted, 0 packets received, 100% packet loss %ifconfig nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 oh, and for testing purposes, I unhid everything in /jail/dev [EMAIL PROTECTED] 08:04:20 (0) /usr/ports devfs rule -s 666 show 100 path acd* hide 200 path ad10* hide 300 path audio* hide 400 path dsp* hide 500 path apm* hide 600 path dev* hide 700 path geom* hide 800 path kmem* hide 900 path mem* hide 1000 path nfs* hide 1100 path pci* hide 1200 path nvidia* hide 1300 path snd* hide 1400 path sysmouse* hide 1500 path ukbd0* hide 1600 path usb* hide 1700 path ums* hide 1800 path net* mode 755 1900 path ata* hide 2000 path atkbd* hide 2100 path kbd* hide 2200 path fd* hide 2300 path fid* hide 2400 path net* mode 777 2500 path show 2600 path * unhide Still no luck. Thanks everyone for all the help, hopefully this is enough information to indicate the problem. -Jim Stapleton sockstat (referenced at the end of the netstat man page) will show you process names/ports. To get any given service to work inside the jail, that IP:Port must not be bound anywhere else, but it must be bound
Re: problems with jail
Thank you, that fixed it. After all the other stuff (some of which also had it broke), it was a 1... ARGH! Thanks again, I am now the proud owner of a shiny new jail to put all my processes behind bars inside of. :-) On 2/24/07, Philipp Wuensche [EMAIL PROTECTED] wrote: Jim Stapleton wrote: Issue not confused, but it did give me some try this tests. Unfortunately I still cant connect to anything outside of the jail, not even to the host. SSHing into jail does not work, into host does. [EMAIL PROTECTED] 07:54:40 (0) /usr/ports jail /jail/ legolas 92.168.1.85 /bin/csh %ssh -x 192.168.1.84 ^C And as a last test I should have thought of before: [EMAIL PROTECTED] 07:59:13 (0) /usr/ports sysctl security.jail.allow_raw_sockets security.jail.allow_raw_sockets: 1 [EMAIL PROTECTED] 07:59:26 (0) /usr/ports jail /jail/ legolas 92.168.1.85 /bin/csh %ping 127.0.0.1 PING 127.0.0.1 (127.0.0.1): 56 data bytes ^C There is missing a 1 in front of 92.168.1.85 If you do ifconfig inside the jail and you don't see the ipaddr. of the jail configured on any of the network interfaces, you did something wrong. Either forgot to configure the ipaddr. or used the wrong in the jail command. greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Thank you, it still did not connect using that. The mail server is a SMTP server. Also I copied over my host's resolve.conf file. With all these hassles/headaches, would it be better/more secure for me to settup Bochs or QEmu running a virtual BSD server? Thanks, -Jim Stapleton On 2/23/07, Jonathan Chen [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 01:49:25AM +, Jim Stapleton wrote: oops, did a reply instead of reply all, sorry. My question was what's the best way to test net connectivity in jail, csup?, and i did try csup (using a copy of my standard ports supfile), it failed: %csup -g -L 2 /etc/supfile-ports Parsing supfile /etc/supfile-ports Connecting to cvsup12.FreeBSD.org Name lookup failure for cvsup12.FreeBSD.org: hostname nor servname provided, or not known Will retry at 20:52:12 You need to set up the jail's /etc/resolv.conf to query a suitable DNS. If you want to check connectivity from within the jail to out, you could always telnet mail-server-ip 25. To check connectivity in, you could try enabling the jail's sendmail server... Hope this helps. -- Jonathan Chen | To do is to be -- Nietzsche [EMAIL PROTECTED] | To be is to do -- Sartre | Scooby do be do -- Scooby ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Thank you, that's at least useful testing, but it did not work. Jail is definetly not getting any network action. Would a host netstat output be useful? I looks pretty cryptic. Thanks, -Jim Stapleton On 2/23/07, Jeff Palmer [EMAIL PROTECTED] wrote: At 08:22 PM 2/22/2007, you wrote: I'd like to get Apache running in jail, but I can't seem to get network working in jail. ..snip.. Anyway, when I go to jail, running csh (as root) in jail, I try/get: %ping 192.168.1.1 ping: socket: Operation not permitted You can't ping from a jail unless you set the security.jail.allow_raw_sockets sysctl on the host OS. - Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Jail: [EMAIL PROTECTED] 14:04:11 (0) ~ sudo jail /jail/ legolas 192.168.1.85 /bin/csh %telnet 192.168.1.4 25 Trying 192.168.1.4... ^Z Suspended %kill %1 [1]Terminatedtelnet 192.168.1.4 25 %ifconfig -a nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 OK, from host: [EMAIL PROTECTED] 14:02:11 (0) ~ ifconfig -a nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.84 netmask 0xff00 broadcast 192.168.1.255 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 [EMAIL PROTECTED] 14:04:08 (0) ~ jls JID IP Address Hostname Path 1 192.168.1.85legolas /jail Is that what you needed Thanks, -Jim Stapleton Jim Stapleton wrote: Thank you, that's at least useful testing, but it did not work. Jail is definetly not getting any network action. Would a host netstat output be useful? I looks pretty cryptic. Can you please post the output of ifconfig and jls. From your rc.conf it seems the ipaddr. for the jail is not or wrong configured on your interface. greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
Nope, I didn't. I fixed that. It now doesn't give me an error, but at the same time I still don't get incoming/outgoing network traffick: (after turning on the variable to allow raw sockets - note: telnet to my mailserver IP doesn't work either.): jail /jail/ legolas 92.168.1.85 /bin/csh %ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes ^C --- 192.168.1.1 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss %exit exit On Fri, Feb 23, 2007 at 03:25:00PM +, Jim Stapleton wrote: Thank you, it still did not connect using that. The mail server is a SMTP server. Also I copied over my host's resolve.conf file. Hmm. Did you remember to set up the alias entry on your host machine? What about firewall changes? With all these hassles/headaches, would it be better/more secure for me to settup Bochs or QEmu running a virtual BSD server? Dunno. I don't use those tools. My jail setup sent surprisingly smooth when I did it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
new host rc.conf: hostname=elrond.ameritech.net #ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ipv4_addrs_nve0=192.168.1.84-85/24 netmask 255.255.255.0 defaultrouter=192.168.1.1 #ifconfig_nve0=DHCP usbd_enable=YES linux_enable=YES sshd_enable=YES sendmail_enable=NO inetd_flags=-wW -a 192.168.1.84 rpcbind_enable=NO attempts after rebooting still fail. The jail rc.conf: #hostname=legolas.ameritech.net #ifconfig_nve0=inet 192.168.1.85 netmask 255.255.255.0 #defaultrouter=192.168.1.1 rpcbind_enable=NO ifconfig_nve0= I have tried this with both the above setup, and one setup commenting out the ifconfig_nve0= line, and uncommenting the other ifconfig_nve0/defaultrouter lines (just in case I misread something). Neither worked. Thanks -Jim Stapleton On 2/23/07, Philipp Wuensche [EMAIL PROTECTED] wrote: Jim Stapleton wrote: Jail: [EMAIL PROTECTED] 14:04:11 (0) ~ sudo jail /jail/ legolas 192.168.1.85 /bin/csh %telnet 192.168.1.4 25 Trying 192.168.1.4... ^Z Suspended %kill %1 [1]Terminatedtelnet 192.168.1.4 25 %ifconfig -a nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 OK, from host: [EMAIL PROTECTED] 14:02:11 (0) ~ ifconfig -a nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.84 netmask 0xff00 broadcast 192.168.1.255 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 [EMAIL PROTECTED] 14:04:08 (0) ~ jls JID IP Address Hostname Path 1 192.168.1.85legolas /jail Is that what you needed You only have configured the 192.168.1.84 ipaddr on your nve0 interface, you need to configure the 192.168.1.85 ipaddr. on the interface too. Delete the ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 line in rc.conf and replace it with ipv4_addrs_nve0=192.168.1.84-85/24 and do a reboot. If you don't want to reboot, use ifconfig nve0 alias 192.168.1.85/32 to configure the alias while the system is running. You could also use the jail_example_interface=nve0 option in rc.conf and reboot, but I don't recommend that because it is somewhat broken and poorly implemented. greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
It still does not function. I noticed the netmask and broadcast do not look right, could this be it? [EMAIL PROTECTED] 16:26:28 (0) ~ ifconfig nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.1.84 netmask 0xff00 broadcast 192.168.1.255 inet 192.168.1.85 netmask 0x broadcast 192.168.1.85 ether 00:13:d4:2e:2f:62 media: Ethernet autoselect (100baseTX full-duplex) status: active plip0: flags=108810POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 On 2/23/07, Jeff Palmer [EMAIL PROTECTED] wrote: At 02:38 PM 2/23/2007, Jim Stapleton wrote: new host rc.conf: hostname=elrond.ameritech.net #ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ipv4_addrs_nve0=192.168.1.84-85/24 netmask 255.255.255.0 defaultrouter=192.168.1.1 #ifconfig_nve0=DHCP usbd_enable=YES linux_enable=YES sshd_enable=YES sendmail_enable=NO inetd_flags=-wW -a 192.168.1.84 rpcbind_enable=NO Jim: try the following: hostname=elrond.ameritech.net ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ifconfig_nve0_alias0=192.168.1.85 netmask 255.255.255.255 defaultrouter=192.168.1.1 #ifconfig_nve0=DHCP usbd_enable=YES linux_enable=YES sshd_enable=YES - Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
yes, I can ping it from this machine, other machines and jail. Going on that line, I tried to ssh to it, and I got into the host system. My problem is in the sshd config I think then? I'm pretty sure there are no other daemons running on this system... Oh, I guess I have devd and usbd, they shouldn't be causing issues: [EMAIL PROTECTED] 20:05:26 (0) ~ ps -A | grep -e 'd$' 484 ?? Is 0:00.01 /sbin/devd 648 ?? Ss 0:00.01 /usr/sbin/usbd 699 ?? Is 0:00.00 /usr/sbin/sshd 1930 ?? Is 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 1957 ?? Ss 0:00.09 /usr/sbin/moused -p /dev/ums1 -t auto -I /var/run/moused.ums1.pid Thanks, -Jim Stapleton On 2/23/07, Philipp Wuensche [EMAIL PROTECTED] wrote: Jim Stapleton wrote: new host rc.conf: hostname=elrond.ameritech.net #ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ipv4_addrs_nve0=192.168.1.84-85/24 netmask 255.255.255.0 /24 is already the netmask. Can you ping the ipaddr. from another host in your network? greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
I saw them in there, but that section seemed to be lacking in what I needed to do... I admit I missed the alias until someone reminded me. by lacking I mean: To configure sshd(8), it is necessary to modify /etc/ssh/sshd_config. doesn't tell me what I need to change, and I couldn't find the answer in the docs about sshd. I assume that having the listen port set to 192.168.1.84 should be sufficient, but that doesn't fix the problem OK, I didn't bother editing sendmail and named's files, I thought the suggested: sendmail_enable=NO would keep it from starting. I did turn off sendmail, but that didn't fix the problem. named is not running, and hasn't run on this machine. and I did read the jail man page, I'm still stuck. -Jim Stapleton On 2/24/07, Harald Schmalzbauer [EMAIL PROTECTED] wrote: Am Samstag, 24. Februar 2007 02:06 schrieb Jim Stapleton: yes, I can ping it from this machine, other machines and jail. Going on that line, I tried to ssh to it, and I got into the host system. My problem is in the sshd config I think then? I'm pretty sure Please, read man (8) jail. All your pitfalls are very well explained! there are no other daemons running on this system... Oh, I guess I have devd and usbd, they shouldn't be causing issues: [EMAIL PROTECTED] 20:05:26 (0) ~ ps -A | grep -e 'd$' 484 ?? Is 0:00.01 /sbin/devd 648 ?? Ss 0:00.01 /usr/sbin/usbd 699 ?? Is 0:00.00 /usr/sbin/sshd 1930 ?? Is 0:00.00 /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid 1957 ?? Ss 0:00.09 /usr/sbin/moused -p /dev/ums1 -t auto -I /var/run/moused.ums1.pid Thanks, -Jim Stapleton On 2/23/07, Philipp Wuensche [EMAIL PROTECTED] wrote: Jim Stapleton wrote: new host rc.conf: hostname=elrond.ameritech.net #ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 ipv4_addrs_nve0=192.168.1.84-85/24 netmask 255.255.255.0 /24 is already the netmask. Can you ping the ipaddr. from another host in your network? greetings, philipp ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 MĂĽnchen +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
I did the ssh after you did the previous mail, but it didn't fix the problem. I'm not having problems senmail or named, they were simply mentioned in the man page. I never had named running, and I didn't realize sendmail was running. The latter was my problem with sendmail. That problem as I said is fixed. Beyond that I don't even know which process on my system are daemons at this point, except usbd and devd, neither of which (to my knowledge) should be listening to any sockets. Actually there are a couple of kernel processes (pagedaemon, vmdaemon, and bufdaemon), but I don't know where to find documentation on them, X, and KDM. I can't find anything on limiting sockets of these to a specific IP only. -Jim STapleton On 2/24/07, Harald Schmalzbauer [EMAIL PROTECTED] wrote: Am Samstag, 24. Februar 2007 04:01 schrieben Sie: I saw them in there, but that section seemed to be lacking in what I needed to do... I admit I missed the alias until someone reminded me. by lacking I mean: To configure sshd(8), it is necessary to modify /etc/ssh/sshd_config. doesn't tell me what I need to change, and I couldn't find the answer in the docs about sshd. I assume that having the listen port set to 192.168.1.84 should be sufficient, but that doesn't fix the problem Well, have you sighuped sshd? If you have ListenAddress 192.168.1.84 in /etc/ssh/sshd_config (and sighuped/restarted sshd) it's impossible that it answers connections to 192.168.1.85 OK, I didn't bother editing sendmail and named's files, I thought the suggested: sendmail_enable=NO would keep it from starting. I did turn off sendmail, but that didn't fix the problem. named is not running, and hasn't run on this machine. What problems do you have with named and sendmail? If you don't need them don't care about, just keep them disabled. You have to limit listening sockets of all daemons running on the host system. That's all. Best regards, -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 MĂĽnchen +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
OK, I have a fairly sizeable list, but it looks like most stuff is bound to 192.168.1.84 except two things, one is closed, and the other is syslog (guess I have to look at it's man page). It also looks like there is something else there. I guess I'll be looking at the netstat man page to figure out how to get the name of the daemon touch it: netstat -f inet -a; netstat -f inet6 -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 192.168.1.84.57256 ar-in-f18.google.http ESTABLISHED tcp4 0 0 192.168.1.84.62237 caim-m05b.blue.a.aol TIME_WAIT tcp4 0 0 192.168.1.84.58627 oam-d17a.blue.ao.aol TIME_WAIT tcp4 0 0 192.168.1.84.64265 205.188.7.124.aol TIME_WAIT tcp4 0 0 192.168.1.84.ssh *.*LISTEN tcp4 0 0 *.**.*CLOSED tcp4 0 0 192.168.1.84.61774 ar-in-f19.google.http ESTABLISHED tcp4 0 0 192.168.1.84.53732 ar-in-f83.google.http ESTABLISHED udp4 0 0 *.syslog *.* Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) udp6 0 0 *.syslog *.* On 2/24/07, Harald Schmalzbauer [EMAIL PROTECTED] wrote: Am Samstag, 24. Februar 2007 04:21 schrieb Jim Stapleton: I did the ssh after you did the previous mail, but it didn't fix the problem. I'm not having problems senmail or named, they were simply mentioned in the man page. I never had named running, and I didn't realize sendmail was running. The latter was my problem with sendmail. That problem as I said is fixed. Beyond that I don't even know which process on my system are daemons at this point, except usbd and devd, neither of which (to my knowledge) should be listening to any sockets. Actually there are a couple of kernel processes (pagedaemon, vmdaemon, and bufdaemon), but I don't know where to find documentation on them, X, and KDM. I can't find anything on limiting sockets of these to a specific IP only. To see what daemons are listening you can use 'netstat -f inet -a'. Then you see if you have to limit some other daemons (use -f inet6 for IPv6 if configured). Please post the output of the command above to see why you get ssh connections to your jail IP answered by the host's ssh daemon. -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 MĂĽnchen +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
addendum, I fixed syslogd by adding this to my rc.conf: syslogd_flags=-b 192.168.1.84 However, looking through netstat's man page, I couldn't find the name of the flag (if it exists) that will show the process name. Does that require a different tool? Thank you, -Jim Stapleton On 2/24/07, Jim Stapleton [EMAIL PROTECTED] wrote: OK, I have a fairly sizeable list, but it looks like most stuff is bound to 192.168.1.84 except two things, one is closed, and the other is syslog (guess I have to look at it's man page). It also looks like there is something else there. I guess I'll be looking at the netstat man page to figure out how to get the name of the daemon touch it: netstat -f inet -a; netstat -f inet6 -a Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 192.168.1.84.57256 ar-in-f18.google.http ESTABLISHED tcp4 0 0 192.168.1.84.62237 caim-m05b.blue.a.aol TIME_WAIT tcp4 0 0 192.168.1.84.58627 oam-d17a.blue.ao.aol TIME_WAIT tcp4 0 0 192.168.1.84.64265 205.188.7.124.aol TIME_WAIT tcp4 0 0 192.168.1.84.ssh *.*LISTEN tcp4 0 0 *.**.*CLOSED tcp4 0 0 192.168.1.84.61774 ar-in-f19.google.http ESTABLISHED tcp4 0 0 192.168.1.84.53732 ar-in-f83.google.http ESTABLISHED udp4 0 0 *.syslog *.* Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) udp6 0 0 *.syslog *.* On 2/24/07, Harald Schmalzbauer [EMAIL PROTECTED] wrote: Am Samstag, 24. Februar 2007 04:21 schrieb Jim Stapleton: I did the ssh after you did the previous mail, but it didn't fix the problem. I'm not having problems senmail or named, they were simply mentioned in the man page. I never had named running, and I didn't realize sendmail was running. The latter was my problem with sendmail. That problem as I said is fixed. Beyond that I don't even know which process on my system are daemons at this point, except usbd and devd, neither of which (to my knowledge) should be listening to any sockets. Actually there are a couple of kernel processes (pagedaemon, vmdaemon, and bufdaemon), but I don't know where to find documentation on them, X, and KDM. I can't find anything on limiting sockets of these to a specific IP only. To see what daemons are listening you can use 'netstat -f inet -a'. Then you see if you have to limit some other daemons (use -f inet6 for IPv6 if configured). Please post the output of the command above to see why you get ssh connections to your jail IP answered by the host's ssh daemon. -Harry -- OmniSEC - UNIX und Windows Netzwerke - Sicher Harald Schmalzbauer Flintsbacher Str. 3 80686 MĂĽnchen +49 (0) 89 18947781 +49 (0) 160 93860101 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problems with jail
I'd like to get Apache running in jail, but I can't seem to get network working in jail. I followed the instructions in the man page for jail so far, breating the world install in my jail directory (/jail), which is the only BSD partition on the drive (ad8s3d, ad8s3b is swap, and ad8s3c is that weird partition chunk that always appears after a swap chunk). In doing this I should be able to remove the main system disk from the devfs in the jail, which seemed to be a good idea. But I hadn't gotten that far yet... Regardless, I didn't squash out any devices just yet with devfs, instead, I ensure any 'net*' device had mode 755 (basic jail test, ping the tail on the router), an modified the rc.conf files as the manual page suggested. Anyway, when I go to jail, running csh (as root) in jail, I try/get: %ping 192.168.1.1 ping: socket: Operation not permitted from my normal system prompt (out of jail): ping 192.168.1.1 PING 192.168.1.1 (192.168.1.1): 56 data bytes 64 bytes from 192.168.1.1: icmp_seq=0 ttl=150 time=0.489 ms 64 bytes from 192.168.1.1: icmp_seq=1 ttl=150 time=0.468 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=150 time=0.465 ms ... I figure I messed something up pretty oddy for this not to work. System: FreeBSD 6.2 i386 CSUP run 2007-02-10 Ports [and their required deps] installed x11/xorg, x11/kde3, editors/xemacs, editors/openoffice.org-2, editors/nano, editors/pico, x11-wm/WMaker, lang/python25, net-im/gaim, www/firefox System rc.conf hostname=elrond.ameritech.net ifconfig_nve0=inet 192.168.1.84 netmask 255.255.255.0 defaultrouter=192.168.1.1 #ifconfig_nve0=DHCP usbd_enable=YES linux_enable=YES sshd_enable=YES sendmail_enable=NO inetd_flags=-wW -a 192.168.1.84 rpcbind_enable=NO jail rc.conf rpcbind_enable=NO #I had the nve0 interface setup with 192.168.1.85 and with assigned to it also jail command (run from root for testing purposes only - I'll narrow it down to a less privledged host/jailed system user later) jail /jail/ [EMAIL PROTECTED] 192.168.1.85 /bin/csh The machine was rebooted since I set everything up. Thank you, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problems with jail
oops, did a reply instead of reply all, sorry. My question was what's the best way to test net connectivity in jail, csup?, and i did try csup (using a copy of my standard ports supfile), it failed: %csup -g -L 2 /etc/supfile-ports Parsing supfile /etc/supfile-ports Connecting to cvsup12.FreeBSD.org Name lookup failure for cvsup12.FreeBSD.org: hostname nor servname provided, or not known Will retry at 20:52:12 I'm only using one jail (it'll run apache, mysql and possibly sftp) Thanks, -Jim Stapleton On 2/23/07, Jonathan Chen [EMAIL PROTECTED] wrote: On Fri, Feb 23, 2007 at 01:22:53AM +, Jim Stapleton wrote: I'd like to get Apache running in jail, but I can't seem to get network working in jail. [...] Anyway, when I go to jail, running csh (as root) in jail, I try/get: %ping 192.168.1.1 ping: socket: Operation not permitted This is normal. You can't ping out from a jail. If you're going to manage several jails on a box, I would suggest you try the ezjail port. Cheers. -- Jonathan Chen [EMAIL PROTECTED] --- I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
x86 emulators that can handle partition devices instead of slices.
I have two hard drives in my machine (ad8, ad10), ad10 is the system disk, ad8 has a few GB of swap at the end and 2 fat32 partitions. Mostly I'm using the fat partitions for a windows install to use as the base for WINE, but occasionally I'll want to install software, or run something directly in Windows. In these cases it'd be nice not to have to reboot. Is it possible to set up an emulator to either use /dev/ad8 or /dev/ad8s1, could I give it a CD device (only when on) as well? I found that the former was not possible in Bochs, and I read some stuff on QEmu in the logs, so I figured I'd ask here before I put a lot of time into it (i.e. I'll try with no response or some I don't knows, but if I get a can't be done, then I won't waste my time). Thank you, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: x86 emulators that can handle partition devices instead of slices.
Jim Stapleton wrote: I have two hard drives in my machine (ad8, ad10), ad10 is the system disk, ad8 has a few GB of swap at the end and 2 fat32 partitions. Mostly I'm using the fat partitions for a windows install to use as the base for WINE, but occasionally I'll want to install software, or run something directly in Windows. In these cases it'd be nice not to have to reboot. Is it possible to set up an emulator to either use /dev/ad8 or /dev/ad8s1, could I give it a CD device (only when on) as well? I found that the former was not possible in Bochs, and I read some stuff on QEmu in the logs, so I figured I'd ask here before I put a lot of time into it (i.e. I'll try with no response or some I don't knows, but if I get a can't be done, then I won't waste my time). Thank you, -Jim Stapleton Jim, Emulators (at least vmware, qemu) should treat partitions transparently. I don't think that they can understand BSD slices as there isn't an option to load or read BSD slices in the config section of the emulators I've used IIRC. Cheers, -Garrett I figured that /should/ be teh case, but after my experience with Bochs and it being very confused, I figured I should just ask. So, then if the DOS parition is /dev/ad8s1, then I should be able to link it to /dev/ad8s1 in the config, or should I link it to /dev/ad8? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CPU Intel core 2 (64bits). Which freeBSD should I install?
Hi all; I looked up on the Free archives and what I found was that I should either install amd64 ( if I use lots of multimedia stuff) or i386 (later compiling for SMP). I tried ia64 (which I thought means Intel Architecture) but the image won't even boot. This machine is going to be exclusively an e-mail/DNS server. Any suggestions? Thanks As an addendum to the other reply, with a bit more info: i386 - Intel x86, 32 bit. It will run on a Pentium CPU or higher, and most stuff will even run on a 386 or higher if you do it right. IA64 - Intel Architecture, 64 bit. This is /not/ 64 bit x86, but rather the Itanium architecture. AMD64 - AMDs 64 bit architecture. If you see a 64 bit x86 processor. This is what it runs. Intel's implementation of this is called EMT64, but it is effectively the same thing. If you want to use dual core, you will need an SMP kernel. I'm not sure which flag in the config file is needed, but it should be in the documentation. As for which you want: for email/DNS, unless you are on a really high load (ISP or major network link), either will work, and a Core 2 Duo is almost certainly overkill. AMD64 should get you a bit better calculation performance, but I believe i386 will have smaller instruction sizes, which could reduce the data transfer times for program switching - lower latency. Can anyone clarify this? In either case, your bottleneck will probably be the wire between the machine and the hub/switch/router/wall, and the version of the OS won't be a big deal. Is this a home machine or an office machine? How many computers will be using it for DNS and for mail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
I'd like to do my bit to support FreeBSD
I've found quite a few tricks and techniques for handling FreeBSD's ports system when things go south. I'd like to add them to the handbook, adding, lets say 4.5.6 - When Ports Attack. OK, really it'd be more along the lines of 4.5.6 - Installing Ports When Things Go Wrong It would give hints that I've aquired over time from the mailing list, or my own use: 1) config-recursive (my most recent gem aquired from you nice people!) 2) Keeping flag-sets in your make.conf (basically several sets of CFLAGS/CXXFLAGS, so if something fails, you can quickly try something else) 3) How to remove a broken dependancy (read: how to figure the next port up, the list, and then configure that port to remove the dependancy) 4) Rolling back your ports tree to an earlier date or dates, but globally or one port at a time 5) determining which step will fix your problem. Now, as far as I know this would requre: 1) Downloading the doc group of the ports tree to it's own special directory, keeping the CVS flags in tact - I should be able to do this 2) Editing the file of interest - trivial beyond belief 3) ??Generating the file?? 4) ??Submitting the diffs?? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: I'd like to do my bit to support FreeBSD
Thanks, that doesn't look like a challange at all. Guess I'll have some fun with it when I get home. -Jim Stapleton On 2/6/07, Bill Moran [EMAIL PROTECTED] wrote: In response to Jim Stapleton [EMAIL PROTECTED]: I've found quite a few tricks and techniques for handling FreeBSD's ports system when things go south. I'd like to add them to the handbook, adding, lets say 4.5.6 - When Ports Attack. OK, really it'd be more along the lines of 4.5.6 - Installing Ports When Things Go Wrong It would give hints that I've aquired over time from the mailing list, or my own use: 1) config-recursive (my most recent gem aquired from you nice people!) 2) Keeping flag-sets in your make.conf (basically several sets of CFLAGS/CXXFLAGS, so if something fails, you can quickly try something else) 3) How to remove a broken dependancy (read: how to figure the next port up, the list, and then configure that port to remove the dependancy) 4) Rolling back your ports tree to an earlier date or dates, but globally or one port at a time 5) determining which step will fix your problem. Now, as far as I know this would requre: 1) Downloading the doc group of the ports tree to it's own special directory, keeping the CVS flags in tact - I should be able to do this 2) Editing the file of interest - trivial beyond belief 3) ??Generating the file?? Start here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/fdp-primer/index.html As you read through that, you'll probably be pleasantly surprised how well organized and automated everything is. I know I was. 4) ??Submitting the diffs?? Also covered in the above link. Once you've generated your docs (step #3) you can post your modified copy to your personal website and direct people to it to get feedback and suggestions. There's also a dedicated mailing list for the documentation project: http://lists.freebsd.org/mailman/listinfo/freebsd-doc which was very helpful when I was doing my first submits. Thanks for stepping up to help out! -- Bill Moran Collaborative Fusion Inc. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NVidia troubls with AMD64..
OK, my main question is this: I originally had an x86-64 config set up, and I ran Xorg -configure, which generated an nv driver based xorg.conf file. It placed the card at PCI 1:0:0 if I remember correctly. When I tried to start X it complained that it couldn't find my card at PCI 1:0:0. I went back to i386, and got to this point, and there was no problem. The driver configs appeared identical, including the PCI 1:0:0. System: 6.2-i386/6.2-AMD64 ASUS A8N-E motherboard, BIOS 1.13 Athlon64 3000+ 512MB memory GeForce 7300GT video card (BFG). Any idea why I would see that problem? I would like to stick to x86-64, but for some reason it doesn't want to find my video card. Also, anyone know the state of the kernel in relation to nVidia's requested updates (mentioned June 06 in -hackers)? I could ask FBSD-hackers, but it's not really an important questions, and I don't want to take their time away from keeping this great OS great. (Don't bother searching if you don't know, just asking if anyone reading this knows off the top of their heads): Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
memory above 4Gb ignored
I do not see any reference to resolving the 786432K of memory above 4Gb ignored anywhere in Google or otherwise. I see references to it for FreeBSD 4.XX, but I am running 6.2, and have the same problem. Is there any easy solution? For a hoot, I installed SuSe 10.2 on my machine and it recognized the full 4Gb; FreeBSD does not. Any suggestions would be appreciated. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: configuring all dependancies before making in ports
Thanks, that's a big help... Especially since I might have to rebuild my new system again soon, due to the lack of 64 bit support for my video card (PCIeGeForce 7300 - the X drivers can't seem to find the video device) On 2/2/07, Jonathan Horne [EMAIL PROTECTED] wrote: try: make config-recursive or, if i want to just take all the default options (like, for kde which is a ridiculously long build): make BATCH=yes install clean cheers, jonathan On Friday 02 February 2007 20:55, you wrote: Quick question, I'm trying to build a couple of packages that take a long time to build, even longer because they just stop when it's time to configure something. That's a problem if it's configure time, say when I need to sleep, or am at work. Is there a way to have the make run through all the dependancies that need build, running their configuration menus /before/ doing any of the builds? i.e. $ cd /usr/ports/x11/kde3 $ make -dependancies=configure install clean Thanks, -Jim Stapleton ___ 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]
configuring all dependancies before making in ports
Quick question, I'm trying to build a couple of packages that take a long time to build, even longer because they just stop when it's time to configure something. That's a problem if it's configure time, say when I need to sleep, or am at work. Is there a way to have the make run through all the dependancies that need build, running their configuration menus /before/ doing any of the builds? i.e. $ cd /usr/ports/x11/kde3 $ make -dependancies=configure install clean Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB2 drive speed problems
I have a notebook that has a USB2 controller. In windows I can get a 14MB/s data transfer rate in Windows (write) to my USB drive. However in BSD, I only get a 630KB/s transfer rate. Whats the best way to ascertain *why* I'm getting this slow performance? I'm not sure which diagnostic steps to take at this point. I know I had the USB2 modules compiled into my kernel. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
is THIS why the 6.2 release seems stalled ?
http://farragut.flameeyes.is-a-geek.org/articles/2007/01/08/a-shadow-lies-upon-all-bsd-distributions - Gentoo/FreeBSD: license problems require a development pause http://farragut.flameeyes.is-a-geek.org/articles/2007/01/07/gentoo-freebsd-license-problems-requires-a-development-pause The big license mess, part 2 http://farragut.flameeyes.is-a-geek.org/articles/2007/01/07/the-big-license-mess-part-2 -- Gentoo/FreeBSD On Hold Due To Licensing Issues ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: linux compatability question
Thank you, I had to use a different linux library (linux-dri I think), but it ended up working. -Jim Stapleton On 12/27/06, Boris Samorodov [EMAIL PROTECTED] wrote: On Wed, 27 Dec 2006 14:02:39 -0500 Jim Stapleton wrote: I'm not sure what to do at this point, I'm trying to run a linux app (binary) that requires libGLU.so.1, and it's an x86 binary. It requires a linux library. When I first ran it, it complained that the file libGLU.so.1 could not be found (it was in my /usr/X11R6/lib directory. I made a simlink with And that is a FreeBSD one. that name to that file to /compat/linux/usr/X11R6/lib and now get this error: ./partiview: error while loading shared libraries: /lib/libGLU.so.1: ELF file OS ABI invalid Yes, the linux app tries to load a FreeBSD library. This is on an i950 based notebook (integrated intel graphics), using the i810 and vga drivers in X. FreeBSD 6.1, X is either 6.8 or 6.9 Any suggestions? Remove your simlink and install graphics/linux-libGLU. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
good news for FreeBSD lovers who admin Stellent Content Manager, irrelevant news for everyone else...
This is by no way an official post, but in my current job I admin a Stellent Content Server, which until recently only had AIX/Linux/SunOS/Win32 as supported platforms (maybe one or two other platforms that I've forgotten). I was about to try installing it with the Linux Compatability Layer where necessary, but right when I was going to start, all the images dissapeared off their website. This morning I checked, and along with the 7.6.2 (new sub-release?) I found a FreeBSD ISO. So, really, if you were interested in SCM but couldn't find it in FreeBSD, or wanted to move a system with it over to FreeBSD, you now can. If you don't know what SCM is, then you probaly wasted your time reading this message (sorry, I did warn you). I'm just happy to see a nice piece of mainstream commercial software on FreeBSD. It's not common enough as of yet. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: FreeBSD Installer vs RedHat Linux Fedora Core Installer?
I have made a post like this before, so I can hardly criticise you for that, though my goal was more to try to consolidate a group to work on the issue. I'll say this, while the graphics aren't as pretty as those of many Linux distros, the FreeBSD installer is a lot more user friendly and workable in 6.x than it was in 5.2 (5.3?) when I had tried it previously. It may not be a pretty GUI, but it has the functionality and flexibility, in fact, a bit more than even the GUIs of those I'd say, and it's not user-unfriendly anymore. Additionally, it's worth the switch now, simply for the fact that although the learning curve is a touch higher when things work, it's a lot lower when fixing things that don't, add to that the fact that more of the listed supported stuff just works without the hassle you get on Linux, it's well worth the switch. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux compatability question
I'm not sure what to do at this point, I'm trying to run a linux app (binary) that requires libGLU.so.1, and it's an x86 binary. When I first ran it, it complained that the file libGLU.so.1 could not be found (it was in my /usr/X11R6/lib directory. I made a simlink with that name to that file to /compat/linux/usr/X11R6/lib and now get this error: ./partiview: error while loading shared libraries: /lib/libGLU.so.1: ELF file OS ABI invalid This is on an i950 based notebook (integrated intel graphics), using the i810 and vga drivers in X. FreeBSD 6.1, X is either 6.8 or 6.9 Any suggestions? Thanks, -Jim Stpleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
trouble compiling a port - expect on 6.2RC1
I have problems compiling the stock expect, well actually it is with the dependencies for expect tcl84 and tk84, on 6.2-RC1. How do I go about determining outstanding issues for any given port? Thanks. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
v6 speed compared to previous versions
When I switched to 6.0, then 6.1, it was noticed by most of my clients that my php/mysql/apache system slowed down a fair bit compared to previous version (5.XX). I always like to be on the bleeding edge of FreeBSD, but the performance hit is being commented about by my (few) mysql/php clients. I've seen the trolls of past about speed and previous versions, and I would really be interested to hear the actual truth about 6.XX speed. It is my understanding that 6.XX is more optimized for multi-processors, and that for a single processor, 5.XX (or even 4.XX) outperforms 6.XX. Would someone please outline the choices/drawbacks/concerns of even considering going back a series? Thanks, Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
core dumps
is there any way to have NO core dumps? ..aside from never causing one :) I mean, can you compile something into the kernel to prevent core dumps? I've never found it necessary to examine one in many years, and cannot foresee ever having to do it. Thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
cleanly reading compressed backups
I have several disk images, and I'd like to grab files off of them, but I'm not sure how. I made these images by booting up a linux boot CD (it seemed easier than a BSD cd at the time, and the results should be the same), and make a backup as such: dd if=/dev/sda | bzip2 -z9 | split [forgot the args, basically 1GB files that are bsd-backup-(date)-??] anyway, without uncompressing them back to disk (it's the same slice/partitions as I have now), what's the easiest way to get read access to these contents of the files in these backups? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Some old fashioned assistance requested, and some oppinions wanted.
Ok, to start this off, and so you know where I'm coming from - I do a lot with comptuers and I'm visually impared. This makes notebooks a royal pain in the posterior - to the point where I NEED a few features in KDE/Gnome,a nd cannot use Windows. However, add to that a lot of manufacturers don't support their customers very well, not even if it is plain and simple hardware, and you suddenly have a *very* restrictive list. I I've had bad experiences with many companies, and good experiences with really only two. One of which, while BSD/Linux friendly, is out of the picture for reasons of exceptionally immoral and frivolous lawsuites (in my oppinion), the other, while their support is surperb, does not provide drivers for anything but windows, and does weird stuff to their hardware. The latter company is Toshiba. I'm putting this here on the questions and not the mobile forum because I believe that they also make non-mobile machines, and this is a slightly more wide ranging question that normally is found there. My question: 1) If Toshiba were to provide open source drivers for it's weirdities, would you purchase their machines? 2) If yes to #1, would you join me in a snail-mail writing campaign to them to request they provide drivers for BSD and/or Linux - preferrably open source for one, or closed source for both, if it must remain closed for whatever reasons. 3) Off the topic of the main post, what are your top 3 vendors if your main consideration is the combination of (1) FreeBSD compatable hardware, and (2) Reliable/Honest/Intelligent and Customer Friendly tech support for hardware issues. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Backing up SOHO server
Hmm, not familiar with dump or restore, but what I would suggest, is when you can get some down time, boot from a live cd, and using a dd/bzip2/split combo (or any other method of your choice), make a backup image of the drive as well, If you get a new drive with the same size/etc, it'll massively speed up the reinstall phase. When you recover, all you need is cat/bunzip2/dd to do the restore. It's quite a bit faster than a reinstall, especially if you compile your own apps - it saved me a lot of time when my notebook died. Sorry I couldn't be more help with your specific questions. -Jim Stapleton On 10/22/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: All, I have freebsd 6.1 installed running Samba authenticating my home users and pc's and home shares for each user. This also serves as a web development box for my internal network. Because there is a login script that runs to map drives on the remote pc's all users are accustomed to dumping there important data there. I am trying to come up with a backup and restore plan. Just plan to do complete dumps with the script below once a week which is good for me due to the fact of how the box is used. If a total drive crash happens I will just reinstall from cd then use restore to recover the dump. I am backing up to a usb drive connected to the server. I have printed the file system and taped it to the top of the usb drive hehehehe. Any other input would be appreciated. Also on the restore portion I plan to just cd into that slice and run dd if=/mnt/backup/file/Backup.gz |gzip -d |restore -rf - Since this is for home use and protection for only disasster/drive failure a new install will be done, will retore over write what is there to restore the old contents? vader# df -H Filesystem SizeUsed Avail Capacity Mounted on /dev/ad0s1a260M 55M184M23%/ devfs 1.0k1.0k 0B 100%/dev /dev/ad0s1g 20G 10G8.1G56%/home /dev/ad0s1d1.0G223k954M 0%/tmp /dev/ad0s1f 12G2.5G9.0G22%/usr /dev/ad0s1e4.2G620M3.2G16%/var /dev/ad4s1 242G122G100G55%/music devfs 1.0k1.0k 0B 100%/var/named/dev /dev/da0s1d116G6.8G100G 6%/mnt/backup vader# more /etc/fstab # DeviceMountpoint FStype Options DumpPass# /dev/ad0s1b noneswapsw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1g /home ufs rw 2 2 /dev/ad0s1d /tmpufs rw 2 2 /dev/ad0s1f /usrufs rw 2 2 /dev/ad0s1e /varufs rw 2 2 /dev/ad4s1 /music ufs rw 3 3 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 The backup script vader# more dumpbackup.sh #!/bin/sh mount -t ufs /dev/da0s1d /mnt/backup/ dump=/sbin/dump chflags=/bin/chflags dt=`date +%Y%m%d` destpath=/mnt/backup/file lvl=0 # / src1=/dev/ad0s1a # /home src2=/dev/ad0s1g # /var src3=/dev/ad0s1e # /usr src4=/dev/ad0s1f dest1=$destpath/root_ad0s1a_l0_$dt.gz dest2=$destpath/home_ad0s1g_l0_$dt.gz dest3=$destpath/var_ad0s1e_l0_$dt.gz dest4=$destpath/usr_ad0s1f_l0_$dt.gz # Exceptions NO BACKUP $chflags -R nodump /usr/ports/ $chflags -R nodump /usr/src/ $chflags -R nodump /usr/obj/ $chflags -R nodump /mnt/backup/ # Fullbackup Level 0 Monthly $dump -$lvl -Lauf - $src1 | gzip -2 | dd of=$dest1 $dump -$lvl -Lauf - $src2 | gzip -2 | dd of=$dest2 $dump -$lvl -Lauf - $src3 | gzip -2 | dd of=$dest3 $dump -$lvl -Lauf - $src4 | gzip -2 | dd of=$dest4 #Finish Comments umount /mnt/backup/ echo Finished Another Weeks Backup vader# ___ 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]
general VM / KMEM tunables question
Trying to tune a new system (FreeBSD 6.1) for the best performance (moderately busy webserver, but nothing over the top). However, I'm having a lot of trouble finding documentation on VM sysctl tunables. I have run into the (somewhat common) issue before of running out of PV_Entries due to Apache getting busy, so my current webserver kernels all have the following in them: options KVA_PAGES=512 options PMAP_SHPGPERPROC=401 However, these values were only chosen because they seemed to fix my problem, not because I'm entirely sure they're the best possible values. How does one go about determining how many KVA_PAGES and PMAP_SHPGPERPROC to set? Also, are there sysctl OIDs for these options? Poking around google, I've seen mention of vm.pmap.pv_entry_max and vm.pmap.shgperproc, but those OIDs do not exist on my system as far as I can tell. I also have the following in my sysctl.conf, but again I'm not sure how I initially came up with these figures (though they do work), and I wanted to get a better handle on my system tuning: vm.v_free_min=8192 vm.v_free_target=16384 vm.v_free_reserved=8192 vm.v_free_severe=16384 Basically just trying to get some clues as to how to figure out (based on system config) what these values should reasonably be set to. Thanks. -Jim Keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question with mouse pointer
Thanks, that is what I was looking for/thinking of. On 10/19/06, Norberto Meijome [EMAIL PROTECTED] wrote: On Thu, 19 Oct 2006 20:16:16 -0400 Jim Stapleton [EMAIL PROTECTED] wrote: What's the best way to get a larger pointer on my comptuer? I'm running Xorg/KDE. I tried to look, but the only thing I could find was cursor profiles, and I'd rather not have to figure out how to create a new profile... Sorry for the lack of specifics and details, but I'm not what else to put here. Lowering the resolution isn't really an option either... Hi Jim, usually (in my experience) this is done by changing the cursors you actually use (rather than 'enlarge' the current by some software method). On my 6.2-PRERELEASE system X cursors are located in /usr/X11R6/lib/X11/icons/ you can download packages and extract them in folders there, or simply install them from ports (search for 'cursor' in the name). To change the default setting (so it affects your login manager too, you need to edit /usr/X11R6/lib/X11/icons/default/index.theme For example, I have the following cursor packages installed: $ pkg_info | grep curso cursor-bluecurve-theme-0.234_2 The Bluecurve X cursor themes and my index.theme is: [EMAIL PROTECTED] [Fri Oct 20 10:59:07 2006] /usr/X11R6/lib/X11/icons/default $ cat index.theme [Icon Theme] Inherits=Bluecurve-inverse #Inherits=core There may be some way for your desktop manager to modify the cursor... but this works, and I use XFCE, so i don't know those details about KDE or GNOME. I think Enlightment has some mouse-pointer related settings, but it's been a while since I tried it. HIH, B _ {Beto|Norberto|Numard} Meijome Percusive Maintenance - The art of tuning or repairing equipment by hitting it. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Question with mouse pointer
What's the best way to get a larger pointer on my comptuer? I'm running Xorg/KDE. I tried to look, but the only thing I could find was cursor profiles, and I'd rather not have to figure out how to create a new profile... Sorry for the lack of specifics and details, but I'm not what else to put here. Lowering the resolution isn't really an option either... Thanks, -Jim Stapleto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
yeah the ports make me fell in love with FreeBSD, the only thing that came close to FreeBSD ports is the gentoo portage, note came close but not really at par. yeah, portage wasn't bad, but it wasn't as clean as ports either. More errors, more fixing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Also, I'm not sure when you guys tried Gentoo, but as of late (within the past ~1 year), the quality of the packages and system as an OS has improved quite a bit, in the sense that many stable items now install and work properly in the OS. Another off-topic comment I admit, but I thought it should be mentioned... I've been trying to deal with it for the past two months, on and off. OpenOffice would not compile, Xorg took a lot of tweaking and a few attempts, and a few other programs provided a bit of challange. Only KDE went more smoothly than it did in FBSD. I'd like to see portage in FBSD though, since ruby is pretty kludgy. Either that or a different means of recording package data and dependencies (been thinking of Perl for a while..). Where does Ruby fit into this? To my knowledge, ports uses Perl to my knowledge, and Portage uses Python. And while I wouldn't mind a few of the portage features, such as about 10k more packages, and a few of the interface/display options, I'd still rather use FBSD any day. -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
I have a few FreeBSD machine from 4.x to 5.x. I have asked people how to upgrade them to latest version 6.x cleanly. All I was told is that I need to wipe them out and reinstall. However, this is not the case with Gentoo Linux. With Gentoo, version release does not matter that much, you can always keep your system up to date if you like. Of cause, you can also choose staying at a certain version. I'm gonna join the whoever said this was on crack club. Going between major versions can be a challange due to mergebastard and the various config file change, but Gentoo's setup is really no different in that respect. However, when you want to compile the Kernel, the FreeBSD system is much mroe useful than that of Gentoo. I failed my first kernel build on FreeBSD (custom kernel config) before it booted properly, and have since done several more without issue. With Gentoo, after about half a dozen attempts at optimizing my kernel for my notebook, I gave up and used Genkernel, which was not as efficient, but at least worked. Linux supports more devices than FreeBSD, especially new devices. Spend an extra 5 minutes researching your hardware before buying, more often than not, this'll save you the issues. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
No offense to those who swear by it (and I know this is a bit off-topic), but genkernel is shit. It's kernel compiling for people who are afraid of forgetting make commands.. -Garrett I agree, but since I couldn't get a decent custom kernel booting, that was my only option. And speaking of sht, in regards to Damiens last comment - I honestly don't believe that it's just binary drivers that keeps Linux with better driver support - there are more OSS drivers there too. The reason? It's fecal - linux only; cares that it works, they care much less about documentation and quality. It's enticing to the a lot of the developers and made the community larger - Hey I can spend my time coding how I want instead of following standards and wasting time with documentation!!. Don't get me wrong, I think binary drivers due play an issue, by my BSD desktop had binary drivers in it too, they just weren't supplied with the BSD images (I don't think they would have been stored with linux images either). anyway, just another two cents of my own. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Mass Storage stopped working, help requested
On 10/15/06, Erik Norgaard [EMAIL PROTECTED] wrote: Jim Stapleton wrote: It used to work on this machine, the kernel/world has not been recompiled/reinstalled since then. However, A USB drive that used to work (and still works in windows) no longer works in FreeBSD. When I plug in the drive, the /dev/da* devices do not show up. The system is running 6.1. When you plug in the USB drive, lines should be appended to the dmesg of the kernel identifying the device - or any errors. Please post that. The handbook says I need these: device scbus device da device pass device uhci device ohci device usb device umass You may need ehci if this is USB 2.0, but I think it would otherwise fall back on either ohci or uhci. Scanning dmesg for usb, I get: [EMAIL PROTECTED] 17:32:22 (0) /usr/src dmesg | grep usb usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 usb2: UHCI (generic) USB controller on uhci2 usb2: USB revision 1.0 usb3: UHCI (generic) USB controller on uhci3 usb3: USB revision 1.0 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0 usb4: USB revision 2.0 See comment above on dmesg. You don't get all the relevant info by grepping for usb. The results from usbdevs: [EMAIL PROTECTED] 17:34:11 (0) /usr/src sudo usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 2: USB-PS/2 Optical Mouse, Logitech addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: iAUDIO X5, Cowon Systems, Inc. Is that with the device plugged in? If so, seems logical that there is no device in /dev because it is not found. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 OK, here's the full dmesg. It's the IAUDIO X5 devices (I just use it as a portable hard drive a lot, which is why I called it that). After unplugging/plugging it in several times, I noticed my dmesg doesn't change: Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.1-STABLE #1: Mon Jul 24 16:10:27 EDT 2006 root@:/usr/obj/usr/src/sys/JIMKERN Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Genuine Intel(R) CPU T1300 @ 1.66GHz (1662.52-MHz 686-class CPU) Origin = GenuineIntel Id = 0x6e8 Stepping = 8 Features=0xafe9fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE Features2=0xc1a9SSE3,MON,VMX,EST,TM2,b14,b15 real memory = 526843904 (502 MB) avail memory = 506183680 (482 MB) ACPI APIC Table: INTEL CALISTGA ioapic0 Version 2.0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: TOSINV Capell00 on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR acpi0: Power Button (fixed) acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST ACPI-0239: *** Error: Method execution failed [\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST ACPI-0356: *** Error: Region EmbeddedControl(3) has no handler ACPI-1304: *** Error: Method execution failed [\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST ACPI-0239: *** Error: Method execution failed [\\_SB_.PCI0.PCIB.DOCK._STA] (Node 0xc3241360), AE_NOT_EXIST Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 acpi_ec0: Embedded Controller: GPE 0x16 port 0x62,0x66 on acpi0 cpu0: ACPI CPU on acpi0 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_perf0: ACPI CPU Frequency Control on cpu0 acpi_perf0: failed in PERF_STATUS attach device_attach: acpi_perf0 attach returned 6 acpi_throttle0: ACPI CPU Throttling on cpu0 acpi_lid0: Control Method Lid Switch on acpi0 battery0: ACPI Control Method Battery on acpi0 acpi_acad0: AC Adapter on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 acpi_video0: ACPI video extension port 0x1800-0x1807 mem 0xdc10-0xdc17,0xc000-0xcfff,0xdc20-0xdc23 irq 16 at device 2.0 on pci0 pci0: display at device 2.1 (no driver attached) pci0: multimedia at device 27.0 (no driver attached) pcib1: ACPI PCI-PCI bridge irq 17 at device 28.0 on pci0 pci2: ACPI PCI bus on pcib1 pcib2: ACPI PCI
Re: Route #3 - USB 802.11 a/b/g
On 10/8/06, Jim Stapleton [EMAIL PROTECTED] wrote: On 10/8/06, Sam Leffler [EMAIL PROTECTED] wrote: Jim Stapleton wrote: On 10/7/06, Lars Engels [EMAIL PROTECTED] wrote: On Fri, Oct 06, 2006 at 07:22:50PM -0400, Jim Stapleton wrote: OK, that's interesting, I tried, that, and got this: ural0: flags=108843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT mtu 1500 inet6 fe80::215:e9ff:fe2d:72c3%ural0 prefixlen 64 scopeid 0x4 inet 192.168.1.84 netmask 0xff00 broadcast 49.49.253.171 ether 00:15:e9:2d:72:c3 media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps (OFDM/54Mbps) status: no carrier ssid mine channel 6 authmode OPEN privacy ON deftxkey 1 txpowmax 100 protmode CTS bintval 100 I've tried replacing wep with wepkey, I've tried weptxkey 1 to 4, no luck on any of those. Any other suggestions? Perhaps the authmode needs to be set to SHARED? That didn't work either -- I also tried 8021x and wpa. Both gave me an error: ifconfig: SIOCS80211: invalid argument status: no carrier means you are not associated to the ap. When the reason is not obvious I usually do this: wlandebug -i ural0 scan+auth+assoc before bringing the interface up w/ ifconfig. The console msgs should tell you what's going on. I don't recall if ifconfig ural0 debug will give you similar info. Of course it'd be better if the failure code for the last auth/assoc attempt was reported by ifconfig in this situation (I think it's available by ioctl but can't recall--if not it's easy to add and has been done for other systems). Sam PS. wlandebug is in src/tools/tools/net80211. well, it gave me something that is probably useful - but I've no idea how to use it. [EMAIL PROTECTED] 16:17:27 (0) ~ sudo wlandebug -i ural0 scan+auth+assoc net.wlan.1.debug: 0x0 = 0xe0assoc,auth,scan there was no other output. Nothing appeared in dmesg thanks, -Jim Stapleton addendum: I found a way to get by this problem - it only seems to fail when the mouse is plugged in before the drive, if I plug in the mouse first, the drive fails. I have verified this with anouth drive. This only happens when the mouse is plugged in directly, if the mouse is plugged in via a KVM (as it would be at home), the problem is not observed. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What's so compelling about FreeBSD?
Well, in my case: - No matter what method I use to install packages in Linux (Apt-Get, Yum, Deb, RPM, and to a much lesser extent, Emerge, and to a *MUCH* greater extent src tar.gz's), I tend to have a lot more trouble getting installs to finish than with BSD in ports. - The FreeBSD community is much more friendly and helpful than the Linux community, in my experience. Gentoo's is better than other Linux communities, but still not quite up to FreeBSD. - I notice a lot smaller number of It's 'X' liscence, therefore it has to be good, or It's open source therefore it has to be good fanboys in FreeBSD. The users tend to be more of a It works, so it's good type. This really makes the commmunity pleasant. - The documentation of FreeBSD is much better in both organization and detail - while good documentation can be found for Linux, FreeBSD just takes a lot less searching. - I've found a lot of breaks in Linux where I couldn't find anything short of a system re-install to fix them without a lot more effort in searching for some obscure piece of documentation. Aside from once when I blew up my kernel build, I didn't have that problem in BSD. - It's less popular than Linux, so it's less commonly known/accounted for, and it makes you just that much safer from hackers. Note: that's not to say it doesn't have it's issues, like every other OS, I could name a few dozen issues I've run into with FreeBSD without much hassle (mostly related to drivers, UI, and parts of the installer), but that's a different topic alltogether. -Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB Mass Storage stopped working, help requested
It used to work on this machine, the kernel/world has not been recompiled/reinstalled since then. However, A USB drive that used to work (and still works in windows) no longer works in FreeBSD. When I plug in the drive, the /dev/da* devices do not show up. The system is running 6.1. The handbook says I need these: device scbus device da device pass device uhci device ohci device usb device umass kldstat shows this: 1 12 0xc040 51e030 kernel 21 0xc091f000 1adb8linux.ko 31 0xc093a000 4d24 acpi_video.ko 44 0xc093f000 597acacpi.ko 51 0xc0999000 3b58 acpi_toshiba.ko 62 0xc3803000 9000 ibcs2.ko 71 0xc381 3000 ibcs2_coff.ko 81 0xc3df7000 d000 msdosfs.ko Looking for the modules, I find: [EMAIL PROTECTED] 17:29:05 (0) /usr/src ls /boot/kernel | grep 'scbus\.' [EMAIL PROTECTED] 17:29:10 (0) /usr/src ls /boot/kernel | grep 'da\.' coda.ko ida.ko snd_hda.ko [EMAIL PROTECTED] 17:29:12 (0) /usr/src ls /boot/kernel | grep 'pass\.' [EMAIL PROTECTED] 17:29:26 (0) /usr/src ls /boot/kernel | grep 'uhci\.' [EMAIL PROTECTED] 17:29:30 (0) /usr/src ls /boot/kernel | grep 'ohci\.' [EMAIL PROTECTED] 17:29:32 (0) /usr/src ls /boot/kernel | grep 'usb\.' usb.ko [EMAIL PROTECTED] 17:29:43 (0) /usr/src ls /boot/kernel | grep 'umass\.' umass.ko Scanning dmesg for usb, I get: [EMAIL PROTECTED] 17:32:22 (0) /usr/src dmesg | grep usb usb0: UHCI (generic) USB controller on uhci0 usb0: USB revision 1.0 usb1: UHCI (generic) USB controller on uhci1 usb1: USB revision 1.0 usb2: UHCI (generic) USB controller on uhci2 usb2: USB revision 1.0 usb3: UHCI (generic) USB controller on uhci3 usb3: USB revision 1.0 usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: Intel 82801GB/R (ICH7) USB 2.0 controller on ehci0 usb4: USB revision 2.0 The results from usbdevs: [EMAIL PROTECTED] 17:34:11 (0) /usr/src sudo usbdevs addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 1: UHCI root hub, Intel addr 2: USB-PS/2 Optical Mouse, Logitech addr 1: UHCI root hub, Intel addr 1: EHCI root hub, Intel addr 2: iAUDIO X5, Cowon Systems, Inc. What is the best way to fix this without recompiling the kernel? I thought about compiling the drivers in the source tree individually: [EMAIL PROTECTED] 17:37:13 (0) /sys cd /usr/src; find . -iname '*da\.*' ./cam/scsi/scsi_da.c ./cam/scsi/scsi_da.h ./coda/coda.h ./dev/ida/ida.c but I could not do a make in the scsi or cam directories. make scsi gave me a don't know how to make class of error, and make cam gave me an error saying cam is up to date. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: webbased email administration
Andreas Widerøe Andersen wrote: Hi, We're considering setting up an email service here and we need to give IT admins in various companies the ability to administer their own email addresses (under their domain). I'm looking for software that will do this. We currently run Sendmail and WU-POP3, but can easily change to Postfix or whatever needed. Can anyone recommend a webbased system for administration of email adresses that will run on FreeBSD? Thanks, Andreas take a look at: http://www.eemam.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Newbie Question - looking for suggestions of small ports to install on stand-alone system without internet connection
On 10/6/06, ograbme [EMAIL PROTECTED] wrote: I would like a few recommendations for small ports to try to install on my stand-alone machine. The stand-alone machine does not have connection to the internet; however, I do have a set of four (4)CD from the FreeBSD Mall and two (2) of the CD's have 'ports' on them. I would like to select one, two or three ports to install on this machine ... to go through the steps and experience of the ports process using the cdroms, so ... in essence I'm looking for suggestions of ports of a small nature (if there is such a thing). I'm not sure how familiar you are with Unis operating systems or the various tools available for all of it's incarnations, so, I'm listing these with info as if you were completely new to it. If you are not, I do not mean any insult or offense, I just don't know your level of experience, so I'm going for something relatively low that would give you a wide range of sights and sounds in the desktop *nix world. If you aren't /that/ new, just look at my list, and pick and choose your favorites. Ideally, you would want to install ports that you could make use of more than ports that are small. Even the larges ports rarely cause me issues. For small starts: bash - already suggested, very good shell nano - light weight and useful text editor pico - like nano, but made before or after, can't remember which vim - again, already suggested, good text editor, though not to my taste. It is lightweight and fast, though not to the extent of pico/nano. sudoku - I prefer pencil and paper because you can make notes, but it's fun naim - a console IM program intermediate projects: emacs - another popular editor, the largest (in size, not popularity - don't know what is the most popular) of the bunch, but I know people who get a lot of work done only starting one program *ever*, this is that program. It uses a large amount of resources for just a text editor, but you can do a lot more with it, and on a modern machine, that large amount is still relatively neglegable. xorg - an X (graphics) server, which will be extremely useful if you want more than a console command prompt. gaim - a multi-im client. quite useful, it could actually be in small projects, but you need X installed before hand. gnome - this is between intermediate and larger projects, a good and popular desktop/session manager, again, not to my taste, for as much smaller as it is, it runs slower than KDE on my systems. Nonetheless, a lot of people like it, and you should give it a try. * - Just about anything in the games directory Big projects KDE - like gnome, but more friendly to the people who like gui configuration, less friendly to those who like text configuration. I find it faster, but that could be because I have a lot of memory on all my machines - it's definetly larger. Might be the whole space for speed tradeoff that you can sometimes do, I don't know. Regardless, be prepared for a challange, you may not (read: probably won't) be able to get the full KDE running due to some apps not compiling. Read the updating file, and you may have to try kde-lite. openoffice.org-2.0 - a nice office suit, be prepared for a challange! Now, you may need a few java packages that won't be on the CDs for this - which you'll have to download elsewhere and put on either a CD or a flash drive. Have fun, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Application run on SCO Openserver but not freeBSD.
Hi, I have an application which I run on SCO Openserver and I was hoping it would run on FreeBSD but it doesn't. It is a cobol application but the cobol compiler will not run. Many years ago we moved from Interactive Unix to SCO and we simply copied the complier onto the SCO box and away it went, I was hoping to do the same with FreeBSD, is that not possible? Regards, Jim. Jim Borland Unit 2 Wallace Studios 27 Wallace Avenue LisburnBT27 4AE mail: [EMAIL PROTECTED] www: www.meridiansystems.co.uk tel: +44 (0)28 9260 5060 fax: +44 (0)28 9264 0700 mob: This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not freebsd-questions@FreeBSD.org you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Jim Borland therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can't log in a root from anywhere but the console screen.
I want to use a PC to telnet to the freeBSD server and login as root but it won't let me! Can you help? I can login as a normal user just not as root, I can't key in su to get in as superuser either. Jim. Jim Borland Unit 2 Wallace Studios 27 Wallace Avenue LisburnBT27 4AE mail: [EMAIL PROTECTED] www: www.meridiansystems.co.uk tel: +44 (0)28 9260 5060 fax: +44 (0)28 9264 0700 mob: This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not freebsd-questions@FreeBSD.org you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Jim Borland therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Can't log in a root from anywhere but the console screen.
Jim Borland Unit 2 Wallace Studios 27 Wallace Avenue LisburnBT27 4AE mail: [EMAIL PROTECTED] www: www.meridiansystems.co.uk tel: +44 (0)28 9260 5060 fax: +44 (0)28 9264 0700 mob: This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not freebsd-questions@FreeBSD.org you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Jim Borland therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. -Original Message- From: Erik Norgaard [mailto:[EMAIL PROTECTED] Sent: 28 September 2006 09:42 To: Jim Borland Cc: freebsd-questions@FreeBSD.org Subject: Re: Can't log in a root from anywhere but the console screen. Jim Borland wrote: I want to use a PC to telnet to the freeBSD server and login as root but it won't let me! Can you help? I can login as a normal user just not as root, I can't key in su to get in as superuser either. 1) Don't use telnet, use ssh, for security. 2) Are you in the wheel group? Erik suggested I use ssh, I've never used ssh before and when I do it says the connection has been refused. The root user is in the wheel group, I have a user called jim which is in a group called group he is able to login using telnet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Running applications on freebsd which currently run on SCO Openserver.
Hi, I have an application which is written in cobol and runs on SCO Openserver, we moved from Interactive Unix to SCO many years ago without any problem. Is it possible to just copy the executables ( the compiler, some utility programs etc. ) onto a freebsd machine? I have tried but they don't run! Any help would be appreciated. Thanks, Jim Borland. Jim Borland Unit 2 Wallace Studios 27 Wallace Avenue LisburnBT27 4AE mail: [EMAIL PROTECTED] www: www.meridiansystems.co.uk tel: +44 (0)28 9260 5060 fax: +44 (0)28 9264 0700 mob: This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not freebsd-questions@FreeBSD.org you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Jim Borland therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Systems Administration Tool
Hi, Is there any kind of systems administration tool on freebsd to enable the configuration of such things as printers and users? Is there a graphical user interface? Thanks, Jim. Jim Borland Unit 2 Wallace Studios 27 Wallace Avenue LisburnBT27 4AE mail: [EMAIL PROTECTED] www: www.meridiansystems.co.uk tel: +44 (0)28 9260 5060 fax: +44 (0)28 9264 0700 mob: This message contains confidential information and is intended only for [EMAIL PROTECTED] If you are not freebsd-questions@FreeBSD.org you should not disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Jim Borland therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ndis + Linksys WPC54Gv3
I have just picked up this card for my notebook. On this site: http://taosecurity.blogspot.com/2006/02/linksys-wpc54g-with-freebsd-yesterday.html it is reported to work. I have inserted the card, the status light on it blinks green then goes off. I ran ndis and generated the driver as specified, kldloaded the wlan_wep module, followed by ndis, followed by the card driver. After that I checked dmesg - the card did not appear (nothing with ndis or the card driver name). No errors came from kldload, and there was no ndis entry in /dev or /dev/net What's the next step in diagnostics? I'm runing FreeBSD 6.1 on i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Heavy internal network traffic seems to upset other network processes
I have a FreeBSD 6.1 machine with two em nics, one of which is set up as external for the Internet-facing side, the other is internal (100Mbit) and is connected to a small switch with a few other machines. Occasionally I will transfer large files across the internal link and, when doing so, other network related applications seem to grind to a halt and the system seems to be working very hard. In fact, mySQL will actually stop accepting incoming requests during the file transfer, which is the biggest side effect I'm having because of the problem. I'm wondering if it's some kind of tuning option I need to set, but I'm really not sure where to look. I have maxusers set to 256, nmbclusters is 8192 (maybe this should be higher?). Any help would be appreciated. Thanks. -Jim keller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can someone point me to some good and descriptive VPN documentation for my use?
d'oh, thanks, I was looking for vpn in net and net-mgmt, didn't think of grepping the security directory. Thanks! -Jim Stapleton On 8/31/06, Jonathan Horne [EMAIL PROTECTED] wrote: On Thursday 31 August 2006 11:28, Alex Zbyslaw wrote: Jim Stapleton wrote: I'm trying to VPN in to work from home, and the IT group there only supports windows. There are Cisco pre-configured clients for Linux, MacOS X, and Windows available, but not BSD. I tried running the Linux binary, but it wanted to move to a nonexistant driectory, and didn't tell me which directory it couldn't find, so I couldn't make the proper symlink. You could try a strings on the binary to try to find the directory - assuming that's the only problem, of course :-) --Alex the most important question is, what type of vpn concentrator do you have? if it happens to be a cisco vpn3000, the try this: /usr/ports/security/vpnc other wise, google [your vpn model] freebsd and see what turns up. cheers, jonathan ___ 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: free-bsd's mount_smbfs having issues with EMC Celerra
The right stuff: sudo mount_smbfs -I server name NOT ip - don't ask me why, I don't know -W workgroup/domain name -d 550 -f 550 //myusername@server name NOT ip - I can answer this if you don't know and ask me why/share mount point That's about it. On 8/30/06, Antony Mawer [EMAIL PROTECTED] wrote: On 31/08/2006 2:18 AM, Jim Stapleton wrote: nevermind, my own dumb mistake with the connection string, first I didn't have the right stuff for logging into a domain, second time around when that was fixed, I had a / where there should have been an @. What was the right stuff for logging into a domain? Can you give an example command line? We've seen some machines where we had to add the -W parameter with the domain name (as the workgroup name, go figure) in order to get mount_smbfs to work... yet smbclient will happily figure this out itself. Cheers Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
can someone point me to some good and descriptive VPN documentation for my use?
I'm trying to VPN in to work from home, and the IT group there only supports windows. There are Cisco pre-configured clients for Linux, MacOS X, and Windows available, but not BSD. I tried running the Linux binary, but it wanted to move to a nonexistant driectory, and didn't tell me which directory it couldn't find, so I couldn't make the proper symlink. I looked through the VPN via IPSEC portion of the handbook, but was left wanting. Anyone know of a better howto? My questions from the VPN/IPSEC section: (1) My machine isn't the router - can it still work? (2) I don't want to send a lot of garbage to the VPN connection, should I connect the loopback (127.0.0.1), my local ip (192.168.1.84), or create a new loopback or virtual network connection (how?) Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
free-bsd's mount_smbfs having issues with EMC Celerra
I'm trying to connect my FreeBSD notebook to some shares at work, which are on an EMC Celerra box, which uses the windows SMB protocol, but I keep getting an odd error, which right now I'm suspecting is an incompatability between the two, and I was wondering if anyone here has had previous experience with this: 1) I can mount_smbfs shares on my windows desktop at home 2) People here can mount drives on the celerra box from Windows and Linux 3) Every time I try to map a share from FreeBSD, I get the error: mount_smbfs: unable to open connection: resource temporarily unavailable And no, I am not installing windows/linux on my notebook to get this (and sound) working, each has it's own issues which make it much worse for my uses. :-P Thanks -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: free-bsd's mount_smbfs having issues with EMC Celerra
nevermind, my own dumb mistake with the connection string, first I didn't have the right stuff for logging into a domain, second time around when that was fixed, I had a / where there should have been an @. Just point, laugh and make funny faces at me, I deserve it for the latter error. Thanks, -Jim Stapleton On 8/30/06, Jim Stapleton [EMAIL PROTECTED] wrote: I'm trying to connect my FreeBSD notebook to some shares at work, which are on an EMC Celerra box, which uses the windows SMB protocol, but I keep getting an odd error, which right now I'm suspecting is an incompatability between the two, and I was wondering if anyone here has had previous experience with this: 1) I can mount_smbfs shares on my windows desktop at home 2) People here can mount drives on the celerra box from Windows and Linux 3) Every time I try to map a share from FreeBSD, I get the error: mount_smbfs: unable to open connection: resource temporarily unavailable And no, I am not installing windows/linux on my notebook to get this (and sound) working, each has it's own issues which make it much worse for my uses. :-P Thanks -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: driver source compilation question
is not constant hdac.c:1862: error: (near initialization for `hdacchan_methods[5]') hdac.c:1863: error: `channel_getcaps_desc' undeclared here (not in a function) hdac.c:1863: error: initializer element is not constant hdac.c:1863: error: (near initialization for `hdacchan_methods[6].desc') hdac.c:1863: error: initializer element is not constant hdac.c:1863: error: (near initialization for `hdacchan_methods[6]') hdac.c:1864: error: initializer element is not constant hdac.c:1864: error: (near initialization for `hdacchan_methods[7]') *** Error code 1 Line 1587 of hdac.c: KOBJMETHOD(channel_init,hdacchan_init), channel_init is not described anywhere, but I noticed that several other driver files in the kernel tree use soemthing like this also - I'm assuming that I'm missing something in the makefile, but I cant figure out what. Any help is appreciated. Thank you, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPSEC, am I missing something?
I was googling freebsd and vpn so I could use my notebook to handle work stuff remotely, and I found this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ipsec.html guess I didn't need google. Regardless, it mentions a lot of kernel options. I checked my kernel configuration file, to see if they had been turned on, they weren't even in there and commented out let alone on (as some optionals are). What I found and added: #ipsec: Required for VPN options IPSEC#IP security options IPSEC_ESP#IP security (crypto; define w/ IPSEC) #ipsec optimsations options FAST_IPSEC # new IPsec (cannot define w/ IPSEC) options IPSEC_FILTERGIF #filter ipsec packets from a tunnel before adding these, I just had the default 6.1 generic kernel file with a few things commented and a couple uncommented. Am I missing soemeting? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPSEC, am I missing something?
OK, thanks. Right now there are no problems, I just am looking to figure out how to connect to my works VPN from home. Right now I'm looking at the actual VPN part, but after that I have to check how to do remote desktop/terminal services for the windows server I have to work on. Thank you, -Jim Stapleton On 8/27/06, Erik Nørgaard [EMAIL PROTECTED] wrote: Jim Stapleton wrote: What I found and added: #ipsec: Required for VPN optionsIPSEC#IP security optionsIPSEC_ESP#IP security (crypto; define w/ IPSEC) #ipsec optimsations optionsFAST_IPSEC # new IPsec (cannot define w/ IPSEC) optionsIPSEC_FILTERGIF #filter ipsec packets from a tunnel before adding these, I just had the default 6.1 generic kernel file with a few things commented and a couple uncommented. Just start with the first two options, then add the others if needed. But before you start, check if this actually solves the problem. There is a well known problem with IPSec across NAT-firewalls: Authenticated Headers don't work. Not all kernel options are in the GENERIC file, look for the NOTES file, platform specific NOTES are where you find the GENERIC for your platform, but there is also a general NOTES. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
driver source compilation question
I've found some driver source, it's just got the .c and .h files for the drivers, and no makefile. make and make install do nothing (I've extracted them to a folder in my home directory). How do I install them? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: driver source compilation question
In my case, I'm trying to compile the HDA audio driver for an Intel HDA sound card, I checked this driver makefile here: /usr/ports/audio/aureal-kmod/Makefile but I've no clue where to start, there's a lot of stuff in there. I'll look again in the morning, but any suggestions on an easier driver? Thanks, -Jim Stapleton On 8/25/06, Derek Ragona [EMAIL PROTECTED] wrote: The simplest thing is to copy a make file from a port, or other driver source directory and edit it for your driver. -Derek At 08:20 PM 8/25/2006, Jim Stapleton wrote: I've found some driver source, it's just got the .c and .h files for the drivers, and no makefile. make and make install do nothing (I've extracted them to a folder in my home directory). How do I install them? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need help with Netgear wireless card WG311T
Hi I can't seem to get a 'supported' wireless card working. pciconf -l -v reports the chipset as 5212, 5213, but dmesg says that device_attach failed and returned 6 (which I think means the hardware is unsupported.) Currently I have tried this with both 6.1 and 5.5. Any help would be appreciated. Thanks Jim Freeze ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wine and FreeBSD how to
On 7/31/06, Jim Stapleton [EMAIL PROTECTED] wrote: On 7/31/06, Joshua Lewis [EMAIL PROTECTED] wrote: I installed wine on my 6.1 system but I don't see a config file anywhere on the system. Has anyone installed and used Wine successfully that could point me towards an easy FreeBSD how to? Or something similar. I told my 7 year old I would load a game for him and wanted to look for an easy how too. Sincerely, Joshua Lewis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] There is a configuration utility I used, can't remeber the name, but the name should be obvious using this - it'll create the base wine directory and such like that: $ ls /usr/local/bin | grep wine Sorry, I know it's a bit late, but I remember the tool now: wineprefixcreate makes a nice wine directory to wherever you have your WINEPREVIX variable set, and it works quite nicely. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acpi module build fails
Date: Sun, 13 Aug 2006 05:53:37 +0200 From: Dimitar Vasilev [EMAIL PROTECTED] Subject: acpi module build fails To: FreeBSD Questions [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-5; format=flowed Branch - 6.1-stable This persists from 1 day - i have cvsuped from different servers around the globe, including cvsup from scratch. The statement on line 285 is if (acpi_resume_beep) timeout(acpi_stop_beep, NULL, 3 * hz); return (ret); } Anyone knows how to fix this ? C is not my strong side. Thanks, It looks like acpi_wakeup.c had changes to beep on restart merged in, but the required changes to acpi_machdep.c aren't in the tagged release. I fixed this by setting my cvsup tag to *default release=cvs tag=RELENG_6_1 deleting /usr/src/sys, cvsupping again. This gets you to a working version (frozen, so you are less likely to be caught by similar updates on the STABLE release line). -- Jim Segrave [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
linux-opera and linux-firefox
I've recently moved to FreeBSD 6.1 STABLE (RELENG_6_1). I've cvsupped my ports tree Aug 9, 10:12 UTC. I removed all linux ports, deleted /compat/linux, then tried an install of /usr/ports/www/linux-opera and /usr/ports/www/linux-firefox. Both installed without any errors or warning and linux-base linux_base-fc-4_6, linux-xorg-libs-6.8.2_5, and the usual raft of other linux libraries. However neither firefox nor opera actually run, I get: [EMAIL PROTECTED]:/home/jes% linux-opera ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored. /usr/local/share/linux-opera/bin/opera: error while loading shared libraries: /usr/lib/libpthread.so.0: ELF file OS ABI invalid and [EMAIL PROTECTED]:/home/jes% linux-firefox /usr/local/lib/linux-firefox/firefox-bin: error while loading shared libraries: /usr/lib/libpthread.so.0: ELF file OS ABI invalid [EMAIL PROTECTED]:/home/jes% [EMAIL PROTECTED]:/home/jes% file /usr/compat/linux/lib/libpthread* /usr/compat/linux/lib/libpthread-2.3.6.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), not stripped /usr/compat/linux/lib/libpthread.so.0: symbolic link to `libpthread-2.3.6.so' Anyone have any suggestions as to the cause of this problem or its solution? -- Jim Segrave [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: Problems with MySQL since upgrade
Not sure, seems more of a mysql question, but here's some guesses I have for diagnostics. could you run these queries? SELECT COUNT(*) FROM users WHERE status 3 SELECT COUNT(*) FROM sessiions WHERE sid = d9fe25949f79f2c767a0d237b4fdf841 SELECT COUNT(*) FROM FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status 3 -Jim Stapleton On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote: On Aug 1, 2006, at 9:24 AM, Richard Morse wrote: Hi! I recently updated MySQL to version 5.0.22 using the ports system (portupgrade -r -R mysql-\*). Previous to this, MySQL was behaving perfectly normally. Since the upgrade, I have found that every so often -- sometimes two or three times a day, sometimes every other day, but no more often than that -- one of the databases MySQL is hosting starts misbehaving, MySQL starts climbing in processor usage, and I have to restart MySQL to recover. By misbehaving, I mean that some subset of queries to this database start not returning -- they take forever. By climbing in processor usage, I mean that my load averages, which normally sit around 0, start going up to 3, 5, even 7. - How can I determine what query it is that is causing this to happen? I have turned on the log files by adding the following line to /etc/rc.conf: Hi! Since this time, I have, I think, found what query is causing the problem: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status 3 LIMIT 0, 1 How can I determine _why_ this is causing MySQL to hang/enter some kind of infinite loop? Thanks, Ricky ___ 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]
anyone have any luck on installing FreeBSD on a SATA drive on an Adaptec 1205SA card?
I got this thinking adaptec would make their own chip, turns out it is a SiL 3112 (I got it to hopefully end the issues I was having with the SiL 2114 on my motherboard, turns out I just ended up with more). Anyway, while this new chip fixed the issues of write errors in windows, BSD cannot boot with the card installed, except in safe mode, and even then the installer hanges at random intervals. Any fix suggestions? The motherboard is an ABit NF7-S. The drive is a Seagate and was used for a FreeBSD install on an ASUS A8N-E motherboard, quite successfully. Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with MySQL since upgrade
I thought there were mysql forums, but I am not sure. In the queries I gave you, none of the results were too large I take it (not above the low thousands)? -Jim Stapleton On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote: Hi! All of these queries worked just fine, without causing any problems. As this is more of a mysql issue, do you have any suggestions where it would be best for me to query them? Thanks, Ricky On Aug 2, 2006, at 9:36 AM, Jim Stapleton wrote: Not sure, seems more of a mysql question, but here's some guesses I have for diagnostics. could you run these queries? SELECT COUNT(*) FROM users WHERE status 3 SELECT COUNT(*) FROM sessiions WHERE sid = d9fe25949f79f2c767a0d237b4fdf841 SELECT COUNT(*) FROM FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status 3 -Jim Stapleton On 8/2/06, Richard Morse [EMAIL PROTECTED] wrote: On Aug 1, 2006, at 9:24 AM, Richard Morse wrote: Hi! I recently updated MySQL to version 5.0.22 using the ports system (portupgrade -r -R mysql-\*). Previous to this, MySQL was behaving perfectly normally. Since the upgrade, I have found that every so often -- sometimes two or three times a day, sometimes every other day, but no more often than that -- one of the databases MySQL is hosting starts misbehaving, MySQL starts climbing in processor usage, and I have to restart MySQL to recover. By misbehaving, I mean that some subset of queries to this database start not returning -- they take forever. By climbing in processor usage, I mean that my load averages, which normally sit around 0, start going up to 3, 5, even 7. - How can I determine what query it is that is causing this to happen? I have turned on the log files by adding the following line to /etc/rc.conf: Hi! Since this time, I have, I think, found what query is causing the problem: SELECT u.*, s.* FROM users u INNER JOIN sessions s ON u.uid = s.uid WHERE s.sid = d9fe25949f79f2c767a0d237b4fdf841 AND u.status 3 LIMIT 0, 1 How can I determine _why_ this is causing MySQL to hang/enter some kind of infinite loop? Thanks, Ricky ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [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: SATA Cables Suck!
I have SATA one cables/connectors, and they do come loose when fiddling in the case, but otherwise they are fine (when the case is closed and the machine is running. However, I do prefer the locking cables and jacks in SATA II. You might look at Newegg as your vendor, I believe I saw some there: http://www.newegg.com. Alternatively, I got some SATAII cables from, oddly enough, Microcenter, that were good priced and worked well. -Jim Stapleton On 8/2/06, Eric [EMAIL PROTECTED] wrote: On 1 Aug 2006 at 17:23, Nikolas Britton wrote: The number one problem I've had with SATA RAIDs has been the cables! 4 times I've lost arrays because the cables came loose or some other stupid problem with the cables. I need a vendor that has high quality latching SATA-II cables. Also... what can we do with the old cables to fix them... super glue them on?... Here's a question... Are all SATA cables rated for SATA-II? I've never seen a definitive answer to this question and newegg.com does not sells SATA-II cables... Also does the spec call for shielded cables? frustrated, need a place to unload thanks. I think Western Digital makes securelock cables that snap in place pretty well. might be worth a look. Eric ___ 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: Wine and FreeBSD how to
On 7/31/06, Joshua Lewis [EMAIL PROTECTED] wrote: I installed wine on my 6.1 system but I don't see a config file anywhere on the system. Has anyone installed and used Wine successfully that could point me towards an easy FreeBSD how to? Or something similar. I told my 7 year old I would load a game for him and wanted to look for an easy how too. Sincerely, Joshua Lewis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] There is a configuration utility I used, can't remeber the name, but the name should be obvious using this - it'll create the base wine directory and such like that: $ ls /usr/local/bin | grep wine ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
scsi performance these days
does FreeBSD (6.1) still operate better on a SCSI drive system compared to EIDE or SATA ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd livecd and pentium 1
That is pretty small. At the bare minimum level, you might be able to get it up and running, but not be able to do much of any real work on it without more memory. You didn't mention the amount of disk on the machine, but if you want to run X (needed for a Gui) then it will take more that a couple of GB and if you want KDE or Gnome to manage your Gui, it will take even more. I don't remember if Pentium I will do the trick or not, but probably will, just awfully slowly. A P1 with 32MB should be sufficient albeit painful, but I wouldn't use any large scale desktop/window managers (such as KDE/Gnome), I'd probably use one of the light weights like TWM (and ION?), or maybe a medium weight (WMaker?), and no more. A memory upgrade is strongly recommended if possible. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What FreeBSD users really want
), and keeps the system resources from being wasted by things that aren't needed. -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
network no longer auto-starts after mergemaster
I rebuilt my kernel/world, but now my network no longer auto-starts. I can easily start it with sudo ifconfig fxp0 up, which, while it works, is mildly annoying. Anyone know what file I could have improperly mergemastered to get this result? My rc.conf file, I'm not sure what else I should put in (such as my /var/log/messages; everything as of the last boot?): # -- sysinstall generated deltas -- # Fri Jun 16 08:17:49 2006 # Created: Fri Jun 16 08:17:49 2006 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=aragorn.ameritech.net ifconfig_fxp0=DHCP ibcs2_enable=YES moused_enable=YES linux_enable=YES sshd_enable=YES svr4_enable=YES usbd_enable=YES apmd_enable=YES Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: network no longer auto-starts after mergemaster
On 7/20/06, Nick Withers [EMAIL PROTECTED] wrote: On Thu, 20 Jul 2006 09:36:42 -0400 Jim Stapleton [EMAIL PROTECTED] wrote: I rebuilt my kernel/world, but now my network no longer auto-starts. I can easily start it with sudo ifconfig fxp0 up, which, while it works, is mildly annoying. Anyone know what file I could have improperly mergemastered to get this result? /etc/rc.d/netif? What were you rebuilding from / to (e.g., 6.1-RELEASE - -CURRENT)? I'll take a look at that file, thank you. 6.1 - 6.1 (just a rebuild of the kernel to make it more efficient, and the OSS tech support suggested it might get their drivers to work for my sound). Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]