Re: Unicode support on FreeBSD
It's worth noting that while this solution may work, it's an add-on. The question of Unicode is complex; you should check for relevant threads in the questions@ and i18n@ archives. I am using FreeBSD 6.1. with locale set to ja_JP.UTF-8 for quite some time now, and it's working splendidly. Gnome/KDE work fine, fluxbox is a bit more difficult to set up correctly when it comes to Japanese / Unicode. The only problem I did come across is CD9660-Unicode support: whenever I try to use a CD created on Windows containing Japanese file names, I screws up completely (filenames become mojibake). Messing around with mount options does not help, but reverting to ja_JP.eucJP does. I think it's a bug, but I am not sure. I posted a message to questions@ concerning this problem, but didn't get one answer, so I don't know whether I should post a PR. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade a binary package
This thread has been interesting: On Fri, 15 Dec 2006, RW wrote: Date: Fri, 15 Dec 2006 00:17:42 + From: RW [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Re: Upgrade a binary package On Thursday 14 December 2006 20:55, Gerard Seibert wrote: On Thursday December 14, 2006 at 03:11:30 (PM) Kris Kennaway wrote: ... I only find info on pkg_add and pkg_delete for binary packages, the only references to updating a package give directions on how to use the ports tree. Is there a way to update an installed package with a newer version? sysutils/portupgrade is the usual tool. I think portmaster can do this too. portmanager lang/expect -l Portmanager cannot upgrade from binary packages - only from ports. One thing that hasn't been mentioned is that the packages for a release are not normally updated. From the handbook, 4.4.1 Installing a Package: Note: pkg_add(1) will download the latest version of your application if you are using FreeBSD-CURRENT or FreeBSD-STABLE. If you run a -RELEASE version, it will grab the version of the package that was built with your release. It is possible to change this behavior by overriding the PACKAGESITE environment variable. See the manual for how to fetch 6-stable packages But, how to do this using portupgrade? I have: #uname -a FreeBSD freebsd.connect-a.com.au 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5A and in /usr/local/etc/pkgtools.conf we see: OS_PKGBRANCH=6-stable but when I try portupgrade, this is what happens: ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.1-release/ That is, portupgrade always tries the release version and, of course, the stable version is not there. If I manually try the above ftp location, it is possible to navigate to .../packages-6-stable. How can I make portupgrade do what it is told and get to this stable branch? Do I have to cvsup the system to 6-STABLE (which I intend to do fairly soon anyway)? Do I have to manually retrieve the stable packages? The portupgrade command is: portupgrade -rPn kde (the n is there at the moment for testing). Any ideas as to where to look would be great (the Handbook as installed on my 6.1 release is no help in this area). Thanks heaps. Cheers, Rob Hurle - Rob Hurle Faculty of Asian Studies, ANU Home address and contacts: Tel: +61 2 6247 2397 PO Box 4013Fax: +61 2 6247 2397 AinslieCell phone: 0417 293 603 Australia e-mail: [EMAIL PROTECTED] - ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
removing x11/linux-XFree86-libs ?
Hi all, I noticed that x11/linux-XFree86-libs has been replaced by x11/linux-xorg-libs. I can deinstall and reinstall the linux-xorg-libs but how do I remove the installed port linux-XFree86-libs ? Portmaster aborts updating my ports with the following error and I can't go into the original linux-XFree86-libs portsdirectory cause it doesn't exist any more... So, how do I remove this XFree86 thing (which was normally installed also from ports) ? ... === Checking installed port: libwpd-0.8.7 === Checking installed port: libxine-1.1.3 === Checking installed port: libxml2-2.6.26 === Checking installed port: libxslt-1.1.17 === Checking installed port: linc-1.0.3_6 === Checking installed port: linux-XFree86-libs-4.3.99.902_7 === The x11/linux-XFree86-libs port has been deleted: Has expired: superseeded by linux-xorg-libs port === Aborting update www# www# whereis linux-XFree86-libs linux-XFree86-libs: www# Thanks, Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
devd usage
Hi, I'm running 6.1 on Toshiba notebook SAtellite L100. Get stuck with auto config of wireless cardbus adapter (D-Link DWL-G650). I want to load kernel module (if_ath.ko) automatically when I insert it into the slot. I found that I need /etc/devd.conf to be configured properly. There is a Deqna example that is quite self-explaining excluding those magic numbers assigned to manufacturer and product. Where I can get these? Regards, Muxas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Need explaination for `date` command !
Hi lists, I am currently using FreeBSD-6.1 for a while. I am in Thailand so my time zone is GMT+7. Let say the time is 3:00 PM in Thailand. What I would like to know is 1. What is the output of `date` command I should get ? 2. What is the output of `date -u` command I should get ? TIA Pote :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I fix Cannot find file system superblock problem?
Dear all, Still I can not solove the problem. Maybe it is high time to give up, but before that I wonder, as everybody who has had this kind of trouble does, I could mount it read-only and back up my own data. The data is too precious for me to lose... Thank you for your support. -- FK. From: FK [EMAIL PROTECTED] Subject: Re: How can I fix Cannot find file system superblock problem? Date: Sun, 10 Dec 2006 15:27:56 +0900 Message-ID: [EMAIL PROTECTED] fk Dear all members, fk fk From: [EMAIL PROTECTED] fk Subject: Re: How can I fix Cannot find file system superblock problem? fk Date: Sat, 09 Dec 2006 14:56:58 -0800 fk Message-ID: [EMAIL PROTECTED] fk fk perryh #diff -s sb1 sb2 fk perryh Files sb1 and sb2 are identical fk perryh #diff -s sb1 sb3 fk perryh Files sb1 and sb3 are identical fk perryh fk perryh It might be worthwhile to check one of these identical alternates fk perryh against the real superblock. (AFAIK only the first 512 bytes, or fk perryh less, actually matter.) You might also post a dump of the first 512 fk perryh bytes and see if anyone notices anything. fk fk Thank you for your reply. fk Following your suggestions, I tried these. fk fk #dd if=/dev/da0s2a skip=0 bs=512 count=16 of=sb0 fk 16+0 records in fk 16+0 records out fk 8192 bytes transferred in 0.011918 secs (687360 bytes/sec) fk fk #diff -s sb0 sb1 fk Binary files sb0 and sb1 differ fk fk Dump for the master superblock (the first 512 bytes only). fk #od -x sb0 fk 000 d44010fa9b1009e195247b55f334153f fk 020 f1900b4a387c5d461b9414b0ae100b19 fk 040 4e3cb446b870138f71900ab7ff5275e6 fk 060 5dac130ebbf00a8a fk 100 fk 120 1d127b571a88113fd6100a84a2be064f fk 140 7eb8122632900a449e3c7b57f8700f9e fk 160 cb000932cad07b57176413e431d00ad4 fk 200 4bfa7b58 fk 220 f54c124341e00a4ef1a641f0d97c13ef fk 240 eb000ad7cd247b58d33410a366d009c8 fk 260 be3c6d39787015abd1b00b6f52be7b59 fk 300 3eb80fe346000973 fk 320 fk 340 007c7b5a3b94128828200a65f8903fda fk 360 144015e3b7800b8281a67b5a197c10e8 fk 400 ed1009da fk 420 2f667b5b1658138ded600ab5 fk 440 b0907b5bf44011ec fk 460 2d700a30 fk 500 31ba7b5cd228104ccff009ad5e4e7b5c fk 520 f11c149198e00b0fff5278a45dac11c6 fk 540 18f00a23e3e87b5c5ca013d1c3d00acd fk 560 65127b5d fk 600 3a881231d3e00a47 fk 620 e63c7b5d18701091a8d009c1 fk 640 9abe514e5eb8147192300b04 fk 660 93fa7b5e154c1336 fk 700 59200a982ae426ef901014b5c7300b1b fk 720 15247b5ff334119589300a1241ba7b5f fk 740 122815dbdaa00b7f9abe7b5f5eb810d5 fk 760 8f1009d4c2e47b5ff010143ad4a00af1 fk fk Dump for one of alternative superblock (the first 512 bytes only). fk #od -x sb1 fk 000 00280030 fk 020 00380bb8 fk 040 0033 fk 060 4000080000080008 fk 100 c000f800 fk 120 000e000b00080800 fk 140 000300020800 fk 160 08000040 fk 200 fk 220 bf56444ba5bfc8580800 fk 240 4000 fk 260 5c006f880001 fk 300
Inconsistencies with FreeBSD installation FTP servers
For some odd reason I can't get FTP/FTP-passive based transactions to work on my new system (bails after the first install floppy completes), and when working with different releases it appears that older releases than 6.1 don't have kernel directories (!). Is this a design choice or are the maintainers perhaps missing directories when updating releases? TIA, -Garrett PS This has been a problem since 5.4, and is only solved using NFS on what used to be my linux box, but unfortunately I can't specify a root owned NFS share in Freebsd on my former install platform, so I'm sort of stuck.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
New style with Fluxbox
Hello, Yesterday, i installed by the ports, fluxbox version 0.1.14_2 on my laptop with FreeBSD 6.1. I downloaded a new style called Mysta with theses files: - theme.cfg - pixmaps (button.xpm, menu.xpm and toolbar.xpm) Theses files are in /usr/X11R6/share/fluxbox/styles . The permissions are ok but i don't see my new theme in Fluxbox menu called Styles. Perhaps, i forgot to install a packages, i don't know what happened. Can you help me please ? Thanks in advance. Olivier Regnier ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Upgrade a binary package
Rob Hurle wrote: But, how to do this using portupgrade? I have: #uname -a FreeBSD freebsd.connect-a.com.au 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5A and in /usr/local/etc/pkgtools.conf we see: OS_PKGBRANCH=6-stable but when I try portupgrade, this is what happens: ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-6.1-release/ Set PACKAGESITE. For sh: export PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/; Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: removing x11/linux-XFree86-libs ?
On Sat, 16 Dec 2006 13:15:02 +0100 Beni wrote: I noticed that x11/linux-XFree86-libs has been replaced by x11/linux-xorg-libs. I can deinstall and reinstall the linux-xorg-libs but how do I remove the installed port linux-XFree86-libs ? Portmaster aborts updating my ports with the following error and I can't go into the original linux-XFree86-libs portsdirectory cause it doesn't exist any more... So, how do I remove this XFree86 thing (which was normally installed also from ports) ? ... === Checking installed port: libwpd-0.8.7 === Checking installed port: libxine-1.1.3 === Checking installed port: libxml2-2.6.26 === Checking installed port: libxslt-1.1.17 === Checking installed port: linc-1.0.3_6 === Checking installed port: linux-XFree86-libs-4.3.99.902_7 # pkg_delete linux-XFree86-libs-4.3.99.902_7 === The x11/linux-XFree86-libs port has been deleted: Has expired: superseeded by linux-xorg-libs port === Aborting update www# www# whereis linux-XFree86-libs linux-XFree86-libs: www# 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]
Re: removing x11/linux-XFree86-libs ?
On Saturday 16 December 2006 14:46, [EMAIL PROTECTED] wrote: On Saturday December 16, 2006 at 07:15:02 (AM) Beni wrote: Hi all, I noticed that x11/linux-XFree86-libs has been replaced by x11/linux-xorg-libs. I can deinstall and reinstall the linux-xorg-libs but how do I remove the installed port linux-XFree86-libs ? Portmaster aborts updating my ports with the following error and I can't go into the original linux-XFree86-libs portsdirectory cause it doesn't exist any more... So, how do I remove this XFree86 thing (which was normally installed also from ports) ? ... === Checking installed port: libwpd-0.8.7 === Checking installed port: libxine-1.1.3 === Checking installed port: libxml2-2.6.26 === Checking installed port: libxslt-1.1.17 === Checking installed port: linc-1.0.3_6 === Checking installed port: linux-XFree86-libs-4.3.99.902_7 === The x11/linux-XFree86-libs port has been deleted: Has expired: superseeded by linux-xorg-libs port === Aborting update www# www# whereis linux-XFree86-libs linux-XFree86-libs: www# Thanks, Beni. You could try the following. First make sure you have a completely up to date ports tree. pkgdb -Fv See if that reports and problems and hopefully fixes them. Next run: portmanager -u -l -y That should correct the remaining problems.. Check the log file created: /var/log/portmanager.log to see if there are any errors reported. Plus, when portmanager terminates, it will show what, if any, programs it could not handle. Thanks Gerard for the help. A portmanager -u -l -y updated something completely else (php5) but didn't show any other errors in the log : portmanager 0.4.1_7 INFO: all ports are up to date All should be fixed now. Got a hint from Boris Samodorov too : # pkg_delete linux-XFree86-libs-4.3.99.902_7 Didn't know that pkg_delete worked for ports, thought it was just for packages. Had to deinstall linux-sun-jdk14 first, but the reinstall used already the new linux-xorg-libs. So all is back on track now. Thanks for the help ! Beni. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: if_nfe on nVidia chipset
I have the same one. And if_nfe works well on it, in both FreeBSD 6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using ifconfig command; # ifconfig nfe1 down; ifconfig nfe1 up --- S. Tagashira Palle Girgensohn wrote: Hi! Sorry for the cross post, I'd love to know if I can get this working or not. Regards, Palle -- Forwarded Message -- Date: tisdag, december 12, 2006 18.52.35 +0100 From: Palle Girgensohn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: if_nfe on Asus M2N-SLI deluxe? Hi! Does anybody know if if_nfe should work on the above motherboard? I snached the patch for FreeBSD-6.2 from http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and tried it. The kernel and ifconfig seems happy, but it does not work; ifconfig reports active but ifconfig reports: nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING ether 00:17:31:86:aa:31 media: Ethernet autoselect (none) status: no carrier nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4 inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255 ether 00:17:31:86:b4:c6 media: Ethernet autoselect (none) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5inet 127.0.0.1 netmask 0xff00 The media part of nfe1 looks bad, eh? Is it supposed to work? How can I help to get it working? FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed? /Palle -- End Forwarded Message -- Subject: if_nfe on Asus M2N-SLI deluxe? From: Palle Girgensohn [EMAIL PROTECTED] Date: Tue, 12 Dec 2006 18:52:35 +0100 To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Hi! Does anybody know if if_nfe should work on the above motherboard? I snached the patch for FreeBSD-6.2 from http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html and tried it. The kernel and ifconfig seems happy, but it does not work; ifconfig reports active but ifconfig reports: nfe0: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING ether 00:17:31:86:aa:31 media: Ethernet autoselect (none) status: no carrier nfe1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=1bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4 inet 192.168.1.191 netmask 0xff00 broadcast 192.168.1.255 ether 00:17:31:86:b4:c6 media: Ethernet autoselect (none) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet 127.0.0.1 netmask 0xff00 The media part of nfe1 looks bad, eh? Is it supposed to work? How can I help to get it working? FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else needed? /Palle 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006 [EMAIL PROTECTED]:/usr/obj/.a/banan/usr/src/sys/WORKSTATION Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU) Origin = AuthenticAMD Id = 0x40ff2 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x2001SSE3,CX16 AMD Features=0xea500800SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow AMD Features2=0x1dLAHF,b2,b3,CR8 real memory = 2146369536 (2046 MB) avail memory = 2091245568 (1994 MB) ACPI APIC Table: Nvidia AWRDACPI ioapic0 Version 1.1 irqs 0-23 on motherboard acpi0: Nvidia AWRDACPI on motherboard acpi_bus_number: can't get _ADR acpi_bus_number: can't get _ADR 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 Timecounter ACPI-fast frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0 cpu0: ACPI CPU on acpi0 acpi_button0: Power Button on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 pci0: memory, RAM at device 0.0 (no driver attached) isab0: PCI-ISA bridge at device 1.0 on pci0 isa0: ISA bus on isab0 pci0: serial bus, SMBus at device 1.1 (no driver attached) pci0:
Re: Need explaination for `date` command !
On Saturday 16 December 2006 06:18, Supote Leelasuppakorn wrote: Hi lists, I am currently using FreeBSD-6.1 for a while. I am in Thailand so my time zone is GMT+7. Let say the time is 3:00 PM in Thailand. What I would like to know is 1. What is the output of `date` command I should get ? 2. What is the output of `date -u` command I should get ? TIA Pote :-) well, mine outputs like this: [EMAIL PROTECTED] ~]$ date Sat Dec 16 10:23:44 CST 2006 [EMAIL PROTECTED] ~]$ date -u Sat Dec 16 16:23:46 UTC 2006 (i am GMT-6, US Central Time). as you can see, the second run with the -u, added my 6 hours back on again. so, if you are GMT+7, i would assume that when you give the -u, you would show a time 7 hours earlier. hth, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Legato Client for freeBSD.
Hi Phillip, Appreciate your help. Sure, no problem :) If you do try it out, I'd like to know if it actually works ! And if it doesn't, well, I've been thinking of other ways you could solve your problem. One is to enable FreeBSD's Linux Compatibility and use Letgato's Linux client (I suppose they have one?) Another way of doing would be to either rsync, dump, cpio or tar your data over to another Legato supported platform and then backup that one. Something like this works great once you've setup ssh keys without passphrases: dump -0uaL -f - / | ssh [EMAIL PROTECTED] gzip -9 /path/to/backup/directory/root.dump Finally, I also found those: http://ftp8.ua.freebsd.org/FreeBSD/FreeBSD-current/commerce/networking/legato/ (no idea if it's any good?) http://www.freebsd.uwaterloo.ca/twiki/bin/view/Freebsd/LegatoNetworker (looks good, but does it work?) Good luck! DA+ On 12/15/06, Phillip Upchurch [EMAIL PROTECTED] wrote: David - No - as a matter of fact - I haven't tried ftp://ftp.legato.com/pub/Unsupported/FreeBSD_Client That would be doing things the easy way - dont ya think ? ;-) Appreciate your help. Thanks David Phillip -- David Robillard UNIX systems administrator Oracle DBA CISSP, RHCE Sun Certified Security Administrator Montreal: +1 514 966 0122 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How can I fix Cannot find file system superblock problem?
Dear listers, Hopefully this may help. To back up the necessary data, all I have to do is $tar -cvzf fk.backup.tgz /usr/home/fk/ assuming that the broken partition /dev/da0s2 is mounted on /, which means all data I need to back up is under /usr/home/fk/. Note: /usr/home/fk/ has lots of files including sub-directories. The data size is about 15MB (6MB after gzip-ped). It is almost precise, since I had had this kind of trouble a few times, I have had a custom to collect precious data in a single place and back up my data occasionally. But ... I will lose one-month-long-worthing data, which is horrible since I have modified a lot of data for the time. Do I have any practical ways to back up the data without mounting it, given that I could not fix the superblock? -- FK. From: FK [EMAIL PROTECTED] Subject: Re: How can I fix Cannot find file system superblock problem? Date: Sat, 16 Dec 2006 22:49:59 +0900 Message-ID: [EMAIL PROTECTED] fk Dear all, fk fk Still I can not solove the problem. fk Maybe it is high time to give up, fk but before that I wonder, fk as everybody who has had this kind of trouble does, fk I could mount it read-only and fk back up my own data. fk The data is too precious for me to lose... fk fk Thank you for your support. fk fk -- fk FK. fk fk From: FK [EMAIL PROTECTED] fk Subject: Re: How can I fix Cannot find file system superblock problem? fk Date: Sun, 10 Dec 2006 15:27:56 +0900 fk Message-ID: [EMAIL PROTECTED] fk fk fk Dear all members, fk fk fk fk From: [EMAIL PROTECTED] fk fk Subject: Re: How can I fix Cannot find file system superblock problem? fk fk Date: Sat, 09 Dec 2006 14:56:58 -0800 fk fk Message-ID: [EMAIL PROTECTED] fk fk fk fk perryh #diff -s sb1 sb2 fk fk perryh Files sb1 and sb2 are identical fk fk perryh #diff -s sb1 sb3 fk fk perryh Files sb1 and sb3 are identical fk fk perryh fk fk perryh It might be worthwhile to check one of these identical alternates fk fk perryh against the real superblock. (AFAIK only the first 512 bytes, or fk fk perryh less, actually matter.) You might also post a dump of the first 512 fk fk perryh bytes and see if anyone notices anything. fk fk fk fk Thank you for your reply. fk fk Following your suggestions, I tried these. fk fk fk fk #dd if=/dev/da0s2a skip=0 bs=512 count=16 of=sb0 fk fk 16+0 records in fk fk 16+0 records out fk fk 8192 bytes transferred in 0.011918 secs (687360 bytes/sec) fk fk fk fk #diff -s sb0 sb1 fk fk Binary files sb0 and sb1 differ fk fk fk fk Dump for the master superblock (the first 512 bytes only). fk fk #od -x sb0 fk fk 000 d44010fa9b1009e195247b55f334 153f fk fk 020 f1900b4a387c5d461b9414b0ae10 0b19 fk fk 040 4e3cb446b870138f71900ab7ff52 75e6 fk fk 060 5dac130ebbf00a8a fk fk 100 fk fk 120 1d127b571a88113fd6100a84a2be 064f fk fk 140 7eb8122632900a449e3c7b57f870 0f9e fk fk 160 cb000932cad07b57176413e431d0 0ad4 fk fk 200 4bfa 7b58 fk fk 220 f54c124341e00a4ef1a641f0d97c 13ef fk fk 240 eb000ad7cd247b58d33410a366d0 09c8 fk fk 260 be3c6d39787015abd1b00b6f52be 7b59 fk fk 300 3eb80fe346000973 fk fk 320 fk fk 340 007c7b5a3b94128828200a65f890 3fda fk fk 360 144015e3b7800b8281a67b5a197c 10e8 fk fk 400 ed1009da fk fk 420 2f667b5b1658138ded600ab5 fk fk 440 b0907b5bf440 11ec fk fk 460 2d700a30 fk fk 500 31ba7b5cd228104ccff009ad5e4e 7b5c fk fk 520 f11c149198e00b0fff5278a45dac 11c6 fk fk 540 18f00a23e3e87b5c5ca013d1c3d0 0acd fk fk 560 6512 7b5d fk fk 600 3a881231d3e00a47 fk fk 620 e63c7b5d18701091a8d0 09c1 fk fk 640 9abe514e5eb8147192300b04 fk fk 660 93fa7b5e154c 1336 fk fk 700 59200a982ae426ef901014b5c730 0b1b fk fk 720 15247b5ff33411958930
ipfw rules
I posted this to the freebsd-security list, but i believe that is not the right list to this question (sorry! this is my first message to the freebsd mailing-lists). I hope this is the right list! :) anyway: I tried making a firewall for my laptop..but i'm not sure if i forgot anything. And things can always be done better :) I'm not sure what i should've put under incoming connections... what i have put there now is pretty useless because the default is to deny, but should i accept any incoming connections that don't match the dynamic rules? I just want to be able to surf the internet without too much trouble and send e-mail and pretty much deny everything else. If someone would have the time to have a quick look at this to see if there's anything wrong with it i would really appreciate it! Bye, jurjen. ps. here is my ruleset: #!/bin/sh ipfw -q flush cmd=ipfw -q add ks=keep-state oif=ath0 #setup the loopback $cmd 001 allow all from any to any via lo0 $cmd 002 deny all from any to 127.0.0.0/8 $cmd 003 deny ip from 127.0.0.0/8 to any #check state of incoming packets $cmd 010 check-state # Outgoing #allow outgoing connections to internetsites, ssh sites # webservers and stack. (keep-state) #to stack (student computer thing... e-mail, irc, ssh stuff) $cmd 020 allow all from me to 131.155.140.141/16 via $oif $ks #allow ssh $cmd 021 allow all from me to any 22 out via $oif setup $ks #internet sites: $cmd 032 allow tcp from me to any 80 out via $oif setup $ks #https $cmd 033 allow tcp from me to any 443 out via $oif setup $ks #gopher $cmd 034 allow tcp from me to any 70 out via $oif setup $ks #other e-mail #pop $cmd 040 allow tcp from me to any 110 out via $oif setup $ks #imap $cmd 041 allow tcp from me to any 143 out via $oif setup $ks #allow dns queries $cmd 050 allow udp from me to any 53 out via $oif $ks #allow ntp (?) queries $cmd 051 allow udp from me to any 123 out via $oif $ks #i can send icmp myself $cmd 060 allow icmp from me to any out via $oif $ks #but others can't $cmd 061 deny icmp from any to me # #root can do anything $cmd 070 allow tcp from me to any out via $oif setup $ks uid root #log other outgoing packets $cmd 071 deny log all from any to any out via $oif # Incoming #The default is that all other connections will be blocked anyway, but # the more stuff i put in here, the less stuff will get logged #deny incoming to private networks $cmd 100 deny all from 192.168.0.0/16 to any in via $oif #RFC 1918 $cmd 101 deny all from 172.16.0.0/16 to any in via $oif #RFC 1918 $cmd 105 deny all from 169.254.0.0/16 to any in via $oif #DHCP auto $cmd 106 deny all from 192.0.2.0/24 to any in via $oif #reserved $cmd 108 deny all from 192.168.0.0/16 to any in via $oif #D E class # multicast #block smb stuff $cmd 120 deny tcp from any to me 137 in via $oif $cmd 121 deny tcp from any to me 138 in via $oif $cmd 122 deny tcp from any to me 139 in via $oif #log ACK packets that did'nt match the dynamic ruleset $cmd 130 deny log all from any to any established in via $oif #Now log some stuff in case i did something wrong $cmd 999 deny log any to me ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New style with Fluxbox
On 12/16/06, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, Yesterday, i installed by the ports, fluxbox version 0.1.14_2 on my laptop with FreeBSD 6.1. I downloaded a new style called Mysta with theses files: - theme.cfg - pixmaps (button.xpm, menu.xpm and toolbar.xpm) Theses files are in /usr/X11R6/share/fluxbox/styles . The permissions are ok but i don't see my new theme in Fluxbox menu called Styles. Perhaps, i forgot to install a packages, i don't know what happened. Can you help me please ? Thanks in advance. Olivier Regnier ___ Did you put theme.cfg and the pixmaps into a folder called Mysta in /usr/X11R6/share/fluxbox/styles (e.g. /usr/X11R6/share/fluxbox/styles/Mysta/)? Also have you restarted Fluxbox or reloaded the config from the fluxbox menu? Chad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xorg on a headless, mouseless, keyboardless box
Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Is this even possible? I've been looking at the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html#AEN6864 But it doesn't jump out at me how I should make this work. I've edited /usr/X11R6/lib/X11/xdm/xdm-config and Xaccess to listen for the connection, but when I run xdm on the remote box it fails with No core pointer So I followed the limited instructions on the X wiki and added Section ServerFlags option AllowMouseOpenFail EndSection But now I get Fatal error: no screens found. Is it even possible to have the remote headless box host an X session? thanks, lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New style with Fluxbox
On 12/16/06, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, Yesterday, i installed by the ports, fluxbox version 0.1.14_2 Please try the newer version, x11-wm/fluxbox-devel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
On 12/16/06, Lane [EMAIL PROTECTED] wrote: Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Can you tell us what you really need? Try ssh -X [EMAIL PROTECTED] and running gui apps or even startx there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
Alternately you can also run an NX server and NX client or even TightVNC to access GDM, KDM, or XDM remotely as well. Cheers, Lonnie Andrew Pantyukhin wrote: On 12/16/06, Lane [EMAIL PROTECTED] wrote: Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Can you tell us what you really need? Try ssh -X [EMAIL PROTECTED] and running gui apps or even startx there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Thanks and have a good day, Lonnie T. Cumberland OutStep Technologies Incorporated Email: [EMAIL PROTECTED] [EMAIL PROTECTED] Open Source.. opening the doors for the future in the world of today ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compilation problems with some code from Linux
On 12/8/06, Lane [EMAIL PROTECTED] wrote: On Friday 08 December 2006 11:21, Andrew Falanga wrote: Hi, I'm trying to port some code from Linux to FreeBSD and I've got an issue that revolves around something I've never dealt with before. The code includes the following header: #include sys/ucred.h Apparently, program is attempting to make use of the xucred structure defined in there, because the rest of the stuff in the file seems to be for the kernel. However, when I try to compile, gcc continually bails with the following error (among others), NGROUPS was not declared in this scope. The NGROUPS appears to be a macro, but it's not defined earlier on. Would anyone here know where it's defined so I can include that file too? Secondly, I'm also getting errors because gcc can't find sys/vfs.h either. True enough, there isn't any vfs.h file in /usr/include/sys. Since this file is in Linux, what should I include for FreeBSD? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Andy, I won't pretend to know exactly which header files correspond for your port, but in the past I've found some things that work for me: use locate vfs.h to find similar file names. On 6.x and 5.x I see that these are possible candidates: /usr/X11R6/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h /usr/include/fs/devfs/devfs.h /usr/include/sys/statvfs.h /usr/local/include/af_vfs.h /usr/src/sys/compat/svr4/svr4_statvfs.h /usr/src/sys/fs/devfs/devfs.h /usr/src/sys/nfs4client/nfs4_vfs.h /usr/src/sys/sys/statvfs.h But you'd have to compare the functions and structures defined in sys/vfs.h on linux to determine which is your best match up. There is /usr/ports/devel/mipsel-linux-kernel-headers/ which, according to pkg-plist will install mipsel-linux/include/linux/vfs.h. That may be exactly what you need (although it may be overkill). Or it may be the LAST thing you need :) Sometimes a porter will simply create a patch file in /usr/ports/portname/files that will create a skeleton version of the file which includes only the items you need. I've done this for development on my own system. As far as the NGROUP or other macros ... yikes! You may have to recreate that functionality entirely. I ran this: #!/bin/sh for each in `locate .h | grep '\.h$'` do if [ -f $each ]; then MYF=`cat $each | grep -i ngroups` if [ x$MYF != x ]; then echo $each : $MYF fi MYF= fi done It could probably be done more easily with sed and some elbow grease, but it does show NGROUPS defined here: /usr/X11R6/include/X11/Xos.h : #define NGROUPS 16 and /usr/include/sys/param.h among other places. Good luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thank you everyone. I'm sorry that I didn't reply sooner. I did get this worked out, but unfortunately I don't remember the include file I had to use. I found in a different file than the one I was editing at the time I wrote this a nice comment explaining why the #include sys/vfs.h preprocessor directive was there. I found that function in a different include file for FreeBSD, changed the code and all was well. Thanks again. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
On Saturday 16 December 2006 12:34, Andrew Pantyukhin wrote: On 12/16/06, Lane [EMAIL PROTECTED] wrote: Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Can you tell us what you really need? Try ssh -X [EMAIL PROTECTED] and running gui apps or even startx there. Andrew, What I need is a tall order :) What I'd like is an understanding of how X can be used for remote connections, such as is described here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html#AEN6864 I'd like to be able to work on the remote box in a graphical environment and not have to mount_nfs the devices I need to work with ... I'd also like to be able to start qemu on the remote machine with a Windows client and be able to invoke safe mode. I have a problem with a remote W2K image that is 4Gig compressed, and it is going to take 12 or more hours for me to get it copied to my local machine to fix it ... then another 12 hours to copy it back out there. There are probably some switches that I can use in qemu that I may discover over the next 12 hours, but an understanding of how X can help might actually save me some time. I've used this ssh -X that you mention. This works fine for userland programs, but in order to troubleshoot my particular issue I'd need to be logged in as root. When I try to su remotely to run the command I get: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). I might try logging in locally as root and see what happens But in the long run I think that if I could understand how to grant myself an actual X session on the remote box then I could figure out how to do this and potentially other stuff. Thanks for any information you might share. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: New style with Fluxbox
I installed fluxbox-devel and it's ok. Im' happy :) Thank you ;) On Sat, 16 Dec 2006 21:31:03 +0300 Andrew Pantyukhin [EMAIL PROTECTED] wrote: On 12/16/06, Olivier Regnier [EMAIL PROTECTED] wrote: Hello, Yesterday, i installed by the ports, fluxbox version 0.1.14_2 Please try the newer version, x11-wm/fluxbox-devel ___ 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]
Translate job number from atq to commands that will run
Does anybody know how I could translate the job # into the commands that will run from the output of the atq command? For example, here is my current atq: DateOwner Queue Job # Mon Dec 18 09:00:00 CST 2006rootc 34 Wed Dec 20 09:00:00 CST 2006rootc 35 Fri Dec 22 09:00:00 CST 2006rootc 36 Wed Dec 27 09:00:00 CST 2006rootc 37 Sat Dec 30 09:00:00 CST 2006rootc 38 Wed Jan 3 09:00:00 CST 2007rootc 39 Sat Jan 6 09:00:00 CST 2007rootc 40 Mon Dec 18 09:00:00 CST 2006rootc 41 Wed Dec 20 09:00:00 CST 2006rootc 42 Fri Dec 22 09:00:00 CST 2006rootc 43 Wed Dec 27 09:00:00 CST 2006rootc 44 Sat Dec 30 09:00:00 CST 2006rootc 45 Wed Jan 3 09:00:00 CST 2007rootc 46 Sat Jan 6 09:00:00 CST 2007rootc 47 I checked the /var/at/spool and /var/at/jobs, but it isn't obvious which job is scheduled to run when. Thank you, James Riendeau MMI Computer Support Technician 1300 University Ave Rm. 436, Dept. of MedMicro Madison, WI 53706 Phone: (608) 262-3351 Email: [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: xorg on a headless, mouseless, keyboardless box
On Dec 16, 2006, at 10:24 AM, Lane wrote: Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Is this even possible? I've been looking at the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x- xdm.html#AEN6864 But it doesn't jump out at me how I should make this work. I've edited /usr/X11R6/lib/X11/xdm/xdm-config and Xaccess to listen for the connection, but when I run xdm on the remote box it fails with No core pointer So I followed the limited instructions on the X wiki and added Section ServerFlags option AllowMouseOpenFail EndSection But now I get Fatal error: no screens found. Is it even possible to have the remote headless box host an X session? thanks, lane Lane, Did you by chance remove keyboard / mouse support from your kernel? kldstat(8) may hold the answers, unless you have the mouse compiled directly into the kernel. Sounds like that may be your problem: http://www.mail-archive.com/linux-newbie@vger.kernel.org/ msg06918.html. So you could try commenting out the mouse and keyboard references, just to see what happens.. Another solution that you may want to look into as an alternative to using xdm is X11 forwarding via SSH. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
On Saturday 16 December 2006 17:11, Garrett Cooper wrote: On Dec 16, 2006, at 10:24 AM, Lane wrote: Hi, I need to run X ... or in some way gain access to the display output on a remote box that has neither mouse, keyboard, or console. Is this even possible? I've been looking at the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x- xdm.html#AEN6864 But it doesn't jump out at me how I should make this work. I've edited /usr/X11R6/lib/X11/xdm/xdm-config and Xaccess to listen for the connection, but when I run xdm on the remote box it fails with No core pointer So I followed the limited instructions on the X wiki and added Section ServerFlags option AllowMouseOpenFail EndSection But now I get Fatal error: no screens found. Is it even possible to have the remote headless box host an X session? thanks, lane Lane, Did you by chance remove keyboard / mouse support from your kernel? kldstat(8) may hold the answers, unless you have the mouse compiled directly into the kernel. Sounds like that may be your problem: http://www.mail-archive.com/linux-newbie@vger.kernel.org/ msg06918.html. So you could try commenting out the mouse and keyboard references, just to see what happens.. Another solution that you may want to look into as an alternative to using xdm is X11 forwarding via SSH. -Garrett Garrett, Thanks for responding. No, it's an SMP kernel which includes GENERIC. Do you mean commenting out references to mouse and keyboard in /sys/i386/conf/GENERIC? Like these: device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse That seems a little extreme - recompiling the kernel to get X to work? I'll certainly do it if the technique is endorsed by anyone ... but I'm not so much ready to see what happens, as the server is thirty miles away behind a locked door, and I may not like what happens, at all :) Yeah, the ssh -X trick works great for userland stuff. But I haven't yet fingered out how to run a gui process on the remote as root and get by the authentication issues. Do you have any experience with that? Thanks, again. Lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xorg on a headless, mouseless, keyboardless box
I've used this ssh -X that you mention. This works fine for userland programs, but in order to troubleshoot my particular issue I'd need to be logged in as root. When I try to su remotely to run the command I get: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). I think what's going on is that X puts some authentication information in your home directory: ~/.Xauthority. You might try: $ su -m That will preserve your environment (including $HOME). Now when X goes looking for the ~/.Xauthority, it will find the one sshd set up in your user home directory. I might try logging in locally as root and see what happens But in the long run I think that if I could understand how to grant myself an actual X session on the remote box then I could figure out how to do this and potentially other stuff. Thanks for any information you might share. lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Chris Cowart Network and Infrastructure Systems Administrator RSSP-IT, UC Berkeley May all your pushes be popped signature.asc Description: Digital signature
Re: xorg on a headless, mouseless, keyboardless box
On Saturday 16 December 2006 17:32, you wrote: I've used this ssh -X that you mention. This works fine for userland programs, but in order to troubleshoot my particular issue I'd need to be logged in as root. When I try to su remotely to run the command I get: X11 connection rejected because of wrong authentication. X connection to localhost:10.0 broken (explicit kill or server shutdown). I think what's going on is that X puts some authentication information in your home directory: ~/.Xauthority. You might try: $ su -m That will preserve your environment (including $HOME). Now when X goes looking for the ~/.Xauthority, it will find the one sshd set up in your user home directory. Well, Chris, that was a great suggestion! I can, in fact, run a gui root process on the remote machine, now. Unfortunately I still can't run qemu so that I can get the console. I get: X Error of failed request: BadWindow (invalid Window parameter) Major opcode of failed request: 25 (X_SendEvent) Resource id in failed request: 0x3e Serial number of failed request: 18 Current serial number in output stream: 21 Any advice on how to setup the remote (headless, mouseless, and keyboardless) server to run X? My brain is fried trying to track down a HOWTO, and the wiki is just a half millimeter left of useless. Thanks for your input! Lane I might try logging in locally as root and see what happens But in the long run I think that if I could understand how to grant myself an actual X session on the remote box then I could figure out how to do this and potentially other stuff. Thanks for any information you might share. lane ___ 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]
1440x900
I just orderd a widescreen 19 inch, I have a radeon x300se 128mb card, and am using freebsd 6.1, gnome 2.16, and x11 6.9 (xorg) how do I use this resolution? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 1440x900
On 12/17/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I just orderd a widescreen 19 inch, I have a radeon x300se 128mb card, and am using freebsd 6.1, gnome 2.16, and x11 6.9 (xorg) how do I use this resolution? The same way you use any other one. (a) autodetection (b) xorg.conf (c) gnome settings ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unicode support on FreeBSD
On 12/16/06, 文鳥 [EMAIL PROTECTED] wrote: It's worth noting that while this solution may work, it's an add-on. The question of Unicode is complex; you should check for relevant threads in the questions@ and i18n@ archives. I am using FreeBSD 6.1. with locale set to ja_JP.UTF-8 I'm sorry, I'm not following this discussion. To get Unicode support, I should set my system to ja_JP.UTF8?! My problem is cyrillic fonts; any help is aprreciated. Henry PS: Oh, and don't write back to me in Russian, please. I'm not there yet :-)) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unicode support on FreeBSD
On 12/16/06, Garrett Cooper [EMAIL PROTECTED] wrote: Just wondering if and how I would go about getting Unicode support setup on FreeBSD. Any links I could get would be more than appreciated. Not very helpful, but still: http://infofarmer.blogspot.com/2006/12/unicodifying-freebsd.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Interrupt storm on an MS-1029 (AMD Turion 64)
Is anyone aware of problems with FreeBSD on the MS-1029 notebook or is this a bona fide bug? -Robert Johnson, [EMAIL PROTECTED] STATEMENT OF PROBLEM FreeBSD 6.1 runs very slowly out of the box on my MS-1029 AMD Turion notebook computer. The first line from the output of 'ps -aux' tells that interrupt 19, in use by the ohci and cardbus systems, is consuming 80% of the CPU time: USERPID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 21 79.1 0.0 016 ?? LL 11:52AM 25:48.51 [irq19: cbb0 ohci ATTEMPTED RESOLUTIONS = I attempted to disable the affected devices in the boot configuration file /boot/device.hints. In all cases my 'hints' were ignored and the device drivers were loaded as normal. I also tried to do the equivalent with sysctls, also to no avail (though I might be doing the Wrong Thing): hint.ohci.0.disabled=1 hint.usb.0.disabled=1 hint.cardbus.0.disabled=1 hint.pccard.0.disabled=1 Booting in safe mode and with ACPI disabled did not help. I rebuilt the kernel with the cardbus driver disabled. This caused the cardbus to disappear from the problem process in 'ps' but the ohci driver was still using irq19 and was having an interrupt storm. In the compromised state of my computer it takes 48 hours to compile a kernel, I don't have access to another computer and I want to run with USB support, so I don't want to recompile again without USB support. I installed FreeBSD 6.0 and the problem was the same. I installed FreeBSD 5.3 and there was no problem (except that I needed to disable ACPI), nor was there a problem with NetBSD 3.0, nor Linux 2.4 or 2.6. OpenBSD 3.9 also appears to suffer from an interrupt problem. DETAILED INFORMATION The computer is a Microstar MS-1029 with an AMD MT-37 Turion processor running at 2.0ghz. The Motherboard uses an ATI Radeon Xpress 200P Chipset (North Bridge RX480M, South Bridge SB400). The Graphics Card is an ATI Mobility Radeon X700 with 128 MB of dedicated RAM. The system has 1024 MB of memory. The BIOS is A1029AMS v2.70 I used the minimal installation from 6.1-RELEASE-amd64-disc1.iso # uname -a FreeBSD 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:04:14 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 Windows XP reports the following information regarding IRQ 19: IRQ 19 Standard OpenHCD USB Host ControllerOK IRQ 19 Standard OpenHCD USB Host ControllerOK IRQ 19 Standard Enhanced PCI to USB Host ControllerOK IRQ 19 Ricoh R/RL/5C476(II) or Compatible CardBus Controller OK The results of running other operating systems on the computer: FreeBSD 6.1 -! ohci (USB) and cardbus interrupt storm on IRQ 19 FreeBSD 6.0 -! identical problem FreeBSD 5.3 -- ACPI crashes on boot. No interrupt storm when booted without ACPI, kernel ignores spurious interrupt on IRQ 7 NetBSD 3.0 -- no problem OpenBSD 3.9 -! Apparently the same problem as with the FreeBSD 6 kernels... interrupts use 80+% of the cpu; the individual interrupts are not listed by ps... I don't know much about OpenBSD so I can't say more. Slackware 9.1 with Linux 2.4 kernel -- no interrupt problem (but disk access is slow, probably an old ATA driver) Slackware 11 with Linux 2.6 kernel -- no problem WindowsXP Professional with SP2 -- occasional spurious 'data' returned by ACPI hardware, runs fine otherwise. When I first installed FreeBSD 6.1, the install program ran fine, and at the end of the install process I checked the state of the processes using the holographic shell; there was no interrupt storm. I noticed in the boot process that the computer appears to run fine through the initial boot, but at around the point that it begins processing the rc files it slows down. # dmesg -a 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-RELEASE #0: Sun May 7 04:04:14 UTC 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 Mobile Technology MT-37 (1989.82-MHz K8-class CPU) Origin = AuthenticAMD Id = 0x20f42 Stepping = 2 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 Features2=0x1SSE3 AMD Features=0xe2500800SYSCALL,NX,MMX+,FFXSR,LM,3DNow+,3DNow AMD Features2=0x1LAHF real memory = 536084480 (511 MB) avail memory = 505630720 (482 MB) ACPI APIC Table: MSIOEMAPIC ioapic0: Changing APIC ID to 1 ioapic0 Version 2.1 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: MSI 1029 on motherboard acpi0: Overriding SCI Interrupt from IRQ 9 to IRQ 21 acpi0: Power Button (fixed) acpi_ec0: Embedded Controller: GPE 0x6 port 0x62,0x66 on acpi0 Timecounter ACPI-fast frequency 3579545 Hz
Re: How can I fix Cannot find file system superblock problem?
On 16/12/2006 6:25 AM, FK wrote: ... But ... I will lose one-month-long-worthing data, which is horrible since I have modified a lot of data for the time. Do I have any practical ways to back up the data without mounting it, given that I could not fix the superblock? Have you tried a Linux Live CD, to see whether or not it can read the disk? I had a drive that FreeBSD choked on trying to mount, yet a Linux Live CD was able to boot and read from the UFS filesystem fine (presumably it only implements the bare essentials to be able to read the UFS filesystem, and perhaps omitted some of the other sanity checks.. It sounds like it would be at least worth while trying... Cheers Antony ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
upgrade of portupgrade fails
I did a portupgrade -R on sysutils/portupgrade, and it started upgrading ruby. Unfortunately, it failed. No definition for sock_s_unpack_sockaddr_un stringio.c: c. strscan.c: cc. zlib.c: mcc... Generating RI... Killed *** Error code 137 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5. *** Error code 1 Stop in /usr/ports/lang/ruby18. *** Error code 1 Stop in /usr/ports/lang/ruby18. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade12405.0 make PORT_UPGRADE=yes reinstall egrep: /var/db/pkg/ruby-1.8.4_9,1/+CONTENTS: No such file or directory --- Restoring the old version Any ideas why? Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpslScfnxpX3.pgp Description: PGP signature
Re: upgrade of portupgrade fails
On Saturday 16 December 2006 20:24, Michael P. Soulier wrote: I did a portupgrade -R on sysutils/portupgrade, and it started upgrading ruby. Unfortunately, it failed. No definition for sock_s_unpack_sockaddr_un stringio.c: c. strscan.c: cc. zlib.c: mcc ... Generating RI... Killed *** Error code 137 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5. *** Error code 1 Stop in /usr/ports/lang/ruby18. *** Error code 1 Stop in /usr/ports/lang/ruby18. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade12405.0 make PORT_UPGRADE=yes reinstall egrep: /var/db/pkg/ruby-1.8.4_9,1/+CONTENTS: No such file or directory --- Restoring the old version Any ideas why? Thanks, Mike I had this problem as well after going from 6.1 to -CURRENT I fixed it by doing cd /usr/ports/lang/ruby18 make -DFORCE_PKG_REGISTER install and then rebuilt sysutils/portupgrade lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade of portupgrade fails
On Saturday 16 December 2006 20:24, Michael P. Soulier wrote: I did a portupgrade -R on sysutils/portupgrade, and it started upgrading ruby. Unfortunately, it failed. No definition for sock_s_unpack_sockaddr_un stringio.c: c. strscan.c: cc. zlib.c: mcc ... Generating RI... Killed *** Error code 137 Stop in /usr/ports/lang/ruby18/work/ruby-1.8.5. *** Error code 1 Stop in /usr/ports/lang/ruby18. *** Error code 1 Stop in /usr/ports/lang/ruby18. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade12405.0 make PORT_UPGRADE=yes reinstall egrep: /var/db/pkg/ruby-1.8.4_9,1/+CONTENTS: No such file or directory --- Restoring the old version Any ideas why? Thanks, Mike I had this problem as well after going from 6.1 to -CURRENT I fixed it by doing cd /usr/ports/lang/ruby18 make -DFORCE_PKG_REGISTER install and then rebuilt sysutils/portupgrade lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade of portupgrade fails
On 16/12/06 Lane said: I had this problem as well after going from 6.1 to -CURRENT I fixed it by doing cd /usr/ports/lang/ruby18 make -DFORCE_PKG_REGISTER install and then rebuilt sysutils/portupgrade Well, it seemed to be a problem in building the ruby rdocs, so I removed that option for now. I upgraded portupgrade on its own, and then upgraded ruby, and that seems to have worked. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpQMapgaKZAz.pgp Description: PGP signature
mailman upgrade problem
I just did a portupgrade on mailman, and now it's doing this. Dec 16 22:05:27 kanga Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as group nobody, but the system's mail server executed the mail script as group mailman. Try tweaking the mail server to run the script as group nobody, or re-run configure, providing the command line option `--with-mail-gid=mailman'. Dec 16 22:05:27 kanga postfix/local[87645]: 830DE6E: to=[EMAIL PROTECTED], relay=local, delay=0, status=bounced (Command died with status 2: /usr/local/mailman/mail/mailman post opag. Command output: Group mismatch error. Mailman expected the mail wrapper script to be executed as group nobody, but the system's mail server executed the mail script as group mailman. Try tweaking the mail server to run the script as group nobody, or re-run configure, providing the command line option `--with-mail-gid=mailman'. ) I guess I need to rebuild it... Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpt72TmULpn9.pgp Description: PGP signature
Re: Translate job number from atq to commands that will run
In the last episode (Dec 16), JAMES T RIENDEAU said: Does anybody know how I could translate the job # into the commands that will run from the output of the atq command? For example, here is my current atq: Date Owner Queue Job # Mon Dec 18 09:00:00 CST 2006 rootc 34 ... Sat Jan 6 09:00:00 CST 2007 rootc 47 I checked the /var/at/spool and /var/at/jobs, but it isn't obvious which job is scheduled to run when. at -c n will list the commands to be run for job n. The filenames in /var/at/jobs are of the format qn, where q is the queue, n is the job number in hex, and t is the time the job is scheduled in hex (in minutes from the Epoch, so multiply by 60 to get the more-standard seconds from Epoch). For more info, see at at manpage and /usr/src/usr.bin/at/at.c . -- Dan Nelson [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: mailman upgrade problem
On 16/12/06 Michael P. Soulier said: I just did a portupgrade on mailman, and now it's doing this. Dec 16 22:05:27 kanga Mailman mail-wrapper: Group mismatch error. Mailman expected the mail wrapper script to be executed as group nobody, but the system's mail server executed the mail script as group mailman. Try tweaking the mail server to run the script as group nobody, or re-run configure, providing the command line option `--with-mail-gid=mailman'. Dec 16 22:05:27 kanga postfix/local[87645]: 830DE6E: to=[EMAIL PROTECTED], relay=local, delay=0, status=bounced (Command died with status 2: /usr/local/mailman/mail/mailman post opag. Command output: Group mismatch error. Mailman expected the mail wrapper script to be executed as group nobody, but the system's mail server executed the mail script as group mailman. Try tweaking the mail server to run the script as group nobody, or re-run configure, providing the command line option `--with-mail-gid=mailman'. ) This is odd though, considering the wrapper program is group ownership mailman, with the sgid bit set. Plus, if I change the group ownership to nobody, it complains about the opposite. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpZquDne2NCc.pgp Description: PGP signature
Re: mailman upgrade problem
On 16/12/06 Michael P. Soulier said: This is odd though, considering the wrapper program is group ownership mailman, with the sgid bit set. Plus, if I change the group ownership to nobody, it complains about the opposite. I had to build it this way to fix the issue. MAIL_GID=mailman make I'm using postfix as my MTA. Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpCpqIihQ126.pgp Description: PGP signature
openssh security issues
So, portaudit keeps complaining about openssh, but when I try to upgrade... [EMAIL PROTECTED] ~]$ sudo portupgrade -R openssh [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 207 packages found (-1 +1) (...). done] --- Upgrading 'openssh-3.6.1_5' to 'openssh-3.6.1_6' (security/openssh) --- Building '/usr/ports/security/openssh' === Cleaning for openssh-3.6.1_6 === openssh-3.6.1_6 has known vulnerabilities: = openssh -- multiple vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/32db37a5-50c3-11db-acf3-000c6ec775d9.html = Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/security/openssh. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.20685.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openssh-3.6.1_5 UPGRADE_PORT_VER=3.6.1_5 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! security/openssh (openssh-3.6.1_5)(unknown build error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed So, before bothering the port maintainer, is there a standard place to look for a status update on this kind of thing? Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein pgpXJdPDJxqCJ.pgp Description: PGP signature
Re: Translate job number from atq to commands that will run
Date: Sat, 16 Dec 2006 16:54:58 -0600 From: JAMES T RIENDEAU [EMAIL PROTECTED] Subject: Translate job number from atq to commands that will run To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Does anybody know how I could translate the job # into the commands that will run from the output of the atq command? For example, here is my current atq: Date Owner Queue Job # Mon Dec 18 09:00:00 CST 2006 rootc 34 Wed Dec 20 09:00:00 CST 2006 rootc 35 Fri Dec 22 09:00:00 CST 2006 rootc 36 Wed Dec 27 09:00:00 CST 2006 rootc 37 Sat Dec 30 09:00:00 CST 2006 rootc 38 Wed Jan 3 09:00:00 CST 2007 rootc 39 Sat Jan 6 09:00:00 CST 2007 rootc 40 Mon Dec 18 09:00:00 CST 2006 rootc 41 Wed Dec 20 09:00:00 CST 2006 rootc 42 Fri Dec 22 09:00:00 CST 2006 rootc 43 Wed Dec 27 09:00:00 CST 2006 rootc 44 Sat Dec 30 09:00:00 CST 2006 rootc 45 Wed Jan 3 09:00:00 CST 2007 rootc 46 Sat Jan 6 09:00:00 CST 2007 rootc 47 I checked the /var/at/spool and /var/at/jobs, but it isn't obvious which job is scheduled to run when. Thank you, James Riendeau MMI Computer Support Technician 1300 University Ave Rm. 436, Dept. of MedMicro Madison, WI 53706 Phone: (608) 262-3351 Email: [EMAIL PROTECTED] man at Note the -c flag. Jim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: openssh security issues
On Sat, Dec 16, 2006 at 10:47:39PM -0500, Michael P. Soulier wrote: So, portaudit keeps complaining about openssh, but when I try to upgrade... [EMAIL PROTECTED] ~]$ sudo portupgrade -R openssh [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... - 207 packages found (-1 +1) (...). done] --- Upgrading 'openssh-3.6.1_5' to 'openssh-3.6.1_6' (security/openssh) --- Building '/usr/ports/security/openssh' === Cleaning for openssh-3.6.1_6 === openssh-3.6.1_6 has known vulnerabilities: = openssh -- multiple vulnerabilities. Reference: http://www.FreeBSD.org/ports/portaudit/32db37a5-50c3-11db-acf3-000c6ec775d9.html This says it only affects SSH Protocol version 1. If you only use version 2 or you're not too concerned, you could do: $ sudo portupgrade -m DISABLE_VULNERABILITIES=yes -R openssh = Please update your ports tree and try again. *** Error code 1 Stop in /usr/ports/security/openssh. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.20685.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openssh-3.6.1_5 UPGRADE_PORT_VER=3.6.1_5 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! security/openssh (openssh-3.6.1_5)(unknown build error) --- Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed So, before bothering the port maintainer, is there a standard place to look for a status update on this kind of thing? Thanks, Mike -- Michael P. Soulier [EMAIL PROTECTED] Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction. --Albert Einstein -- Chris Cowart Network and Infrastructure Systems Administrator RSSP-IT, UC Berkeley May all your pushes be popped signature.asc Description: Digital signature
The FreeBSD Diary: 2006-11-26 - 2006-12-16
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. These are the articles posted during this period: 4-Dec : Putting sshd on a higher port Sometimes port 22 is just not convenient http://freebsddiary.org/ssh-higher-port.php?2 27-Nov : Everything got owned I woke up, and everything was gone http://freebsddiary.org/everything-got-owned.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
i finally got wireless working
well, a day well spent, i finally sat down to get the intel 2200 wireless on my ibm t42 working. i have sucessfully configured it to attach to my WPA encrypted wifi on bootup. everything is otherwise working to my satisfaction. now, my questions are: 1) how can i set up to access more than just my wireless network? can this be done at the command line, without rewriting my if_iwi line(s) in rc.conf? 2) can wireless configuration be set to automatically attach to preferred networks first, then possibly any available open if preferred not available? thanks, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i finally got wireless working
At Sun, 17 Dec 2006 it looks like Jonathan Horne composed: well, a day well spent, i finally sat down to get the intel 2200 wireless on my ibm t42 working. i have sucessfully configured it to attach to my WPA encrypted wifi on bootup. everything is otherwise working to my satisfaction. now, my questions are: 1) how can i set up to access more than just my wireless network? can this be done at the command line, without rewriting my if_iwi line(s) in rc.conf? 2) can wireless configuration be set to automatically attach to preferred networks first, then possibly any available open if preferred not available? thanks, jonathan Good work Jonathan, As usual with fellow FreeBSD users, any information about how you got past your problem is stuff Unix folks like me love to hear. I actually save success stories like yours to help me out with wireless issues. I can only speak for myself but I'd love to hear how ya did it. -- Bill Schoolcraft * http://wiliweld.com Health nuts are going to feel stupid someday, lying in hospitals dying of nothing. -- Redd Foxx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: i finally got wireless working
On Sunday 17 December 2006 00:40, Bill-Schoolcraft wrote: Good work Jonathan, As usual with fellow FreeBSD users, any information about how you got past your problem is stuff Unix folks like me love to hear. I actually save success stories like yours to help me out with wireless issues. I can only speak for myself but I'd love to hear how ya did it. thanks! i was quite proud of my efforts myself! its a pretty good feeling to complete a project in an area where i have little expertise (especially when (good) internet docs are few and far between). after all the docs i read, and bad advice i followed, bad decisions i made, it all boiled down to a pretty simple recipe: 1) install net/iwi-firmware 2) add this to loader.conf: # Wireless Network - Intel 2200BG if_iwi_load=YES wlan_acl_load=YES wlan_wep_load=YES wlan_ccmp_load=YES wlan_tkip_load=YES wlan_xauth_load=YES 3) add this to rc.conf: ifconfig_iwi0=DHCP WPA iwi_enable=YES iwi_interfaces=iwi0 iwi_mod_iwi0=bss 4) create and populate /etc/wpa_supplicant.conf: network={ ssid=myssid psk=mypass } reboot, rinse, enjoy! one big mistake i made, was building world up to 6.2-RC1. there was one good article about installing freebsd on an ibm t42 (found it on google), but it didnt have any info on getting wireless to auto start. after i had wireless manually up and running initially, i then built world, and updated. next boot, firmware and modules would not load. i had tweaked some other things, so i backed those changes off, and worked round and round until i decided to just do a quick reinstall. this time, i didnt use 6.1-RELEASE, but i did 6.2-RC1. same behavior, and this is when i figured out that the only time it really worked like the web page depicted, was when i was on 6.1-RELEASE. so i tried cvsuping to -p11, and things still worked fine. this is the only laptop i have (thus, my only wireless computer), so when 6.2 comes out, ill be pretty nervous about upgrading until i read that everything i kosher with iwi- support. cheers, jonathan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
var out of space
Hello, I inherited a freebsd installation with a var slice/mount that is to small and filling up all the time. What type of info should I provide to allow someone to help me with a solution? I would very much prefer to not install another drive just for /var. /usr has plenty of space. Can I mount var off of /usr? Here is the output of df for starters: /dev/ad0s1a128990 119970-1298 101%/ /dev/ad0s1f257998 1852465211478%/tmp /dev/ad0s1g 112755734 4533434 99201842 4%/usr /dev/ad0s1e257998 2069563040487%/var procfs 4 40 100%/proc and ls -la at / looks like this: -rw-r--r-- 2 root wheel 802 May 25 2004 .cshrc -rw-r--r-- 2 root wheel 251 May 25 2004 .profile -r--r--r-- 1 root wheel 6355 May 25 2004 COPYRIGHT drwxr-xr-x 2 root wheel 1024 Nov 29 17:39 bin drwxr-xr-x 3 root wheel 512 Nov 5 15:27 boot drwxr-xr-x 2 root wheel 512 Jan 16 2005 cdrom lrwxr-xr-x 1 root wheel 10 Jan 16 2005 compat - usr/compat drwxr-xr-x 3 root wheel20480 Jan 16 2005 dev drwxr-xr-x 16 root wheel 2560 Dec 1 16:11 etc lrwxrwxrwx 1 root wheel9 Jan 16 2005 home - /usr/home -r-xr-xr-x 1 root wheel 4344469 Nov 5 13:22 kernel -r-xr-xr-x 1 root wheel 4344469 Nov 5 13:22 kernel.GENERIC drwxr-xr-x 2 root wheel 512 May 25 2004 mnt drwxr-xr-x 2 root wheel 4608 Nov 5 13:22 modules dr-xr-xr-x 1 root wheel 512 Dec 17 01:10 proc drwxr-xr-x 3 root wheel 512 Nov 5 13:36 root drwxr-xr-x 2 root wheel 2048 Nov 5 15:27 sbin drwxr-xr-x 4 root wheel 1024 Jan 16 2005 stand lrwxr-xr-x 1 root wheel 11 Nov 5 15:27 sys - usr/src/sys drw--- 7 root wheel 2048 Dec 17 01:09 tmp drwxr-xr-x 18 root wheel 512 Jan 16 2005 usr drwxr-xr-x 21 root wheel 512 Nov 6 11:54 var Thanks for any help, Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]