The FreeBSD Diary: 2006-11-12 - 2006-12-02
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/. -- 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]
BSDStats Report for December 1st, 2006
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following numbers reflect those systems that reported in on the 1st day of the month of December, compared against the 1st day of the previous month. Since the point of this is to be run monthly, out of periodic monthly, the 1st of the month is when all hosts should be 'renewing' their information ... and this report is only the FreeBSD hosts: Numbers are up from November, which is what we hope for ... not drastically, but 7.5% isn't shabby either: Last MonthThis Month % Change Total Systems 2085 2254 7.50% alpha 3 3 0.00% amd64173 163-6.13% i386 1893 2072 8.64% ia64 1 0 0.00% sparc64 1516 6.25% 4.x224 220-1.82% 5.x303 37218.55% 6.x 1533 1623 5.55% 7.x 253935.90% For those wishing to see more formal stats, or more detail, please check out http://www.bsdstats.org ... we've recently added on a Ports Report, that is present in v5.0 available in /usr/ports/sysutils/bsdstats ... Thank you to all that are currently participating ... hopefully next month we can see as much growth as we did this one (although we know of a site in Australia that is supposedly about to add 800+ hosts, so we should see that easily) ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFcoYw4QvfyHIvDvMRAqDLAJsEsLvSysGG0GVDfmivXv3BML1wJQCglQo4 Lztb4tiJcOP68dSoYJVzpjo= =w0V7 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Please HELP!
Hi Thanks you. But it does not work? I have spend whole night to solve this problem... but still haven't had it work On 12/3/06, Per olof Ljungmark [EMAIL PROTECTED] wrote: VeeJay wrote: Hi I am sorry to post this question here but I am desparet to get my freebsd box work soonest possible. I have installed apache20 on my freebsd box but am unable to run with new httpd.conf changes When I run the apache, with command: # /usr/local/sbin/apachectl restart I get this message: httpd not running, trying to start # In the error log error is like this: [Sun Dec 03 01:29:59 2006] [warn] pid file /var/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? Even I delete the pid file, but it still doesnt work... Please HELP! my httpd.conf is mentioned below; # = # Basic settings # = Listen 0.0.0.0:80 User apache Group apache ServerAdmin [EMAIL PROTECTED] UseCanonicalName Off ServerSignature Off HostnameLookups Off ServerTokens Prod ServerRoot /usr/local DocumentRoot /home/apache PidFile /var/apache/logs/httpd.pid ScoreBoardFile /var/apache/logs/httpd.scoreboard IfModule mod_dir.c DirectoryIndex index.html /IfModule # = # HTTP and performance settings # = Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 IfModule prefork.c MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 /IfModule # = # Load Module Section; Dynamic Shared Object (DSO) Support # = LoadModule access_module libexec/apache2/mod_access.so LoadModule auth_module libexec/apache2/mod_auth.so LoadModule log_config_module libexec/apache2/mod_log_config.so LoadModule mime_module libexec/apache2/mod_mime.so LoadModule dir_module libexec/apache2/mod_dir.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so # Other required modules are compiled such as Compiled in modules: core.c prefork.c http_core.c mod_so.c # = # Access control # = Directory / Options None AllowOverride None Order deny,allow Deny from all /Directory Directory /home/apache/default/public_html Order allow,deny Allow from all /Directory # = # MIME encoding # = IfModule mod_mime.c TypesConfig /usr/local/etc/apache2/mime.types /IfModule DefaultType text/plain IfModule mod_mime.c AddEncoding x-compress .Z AddEncoding x-gzip .gz .tgz AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-tar .tgz /IfModule # = # Logs # = LogLevel warn LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ combined LogFormat %h %l %u %t \%r\ %s %b common LogFormat %{Referer}i - %U referer LogFormat %{User-agent}i agent ErrorLog /var/apache/logs/error_log CustomLog /var/apache/logs/access_log combined # = # Virtual hosts # = NameVirtualHost * VirtualHost * DocumentRoot /home/apache/domain1.com/public_html ServerName www.domain1.com ErrorLog /var/apache/logs/domain1.com/error_log CustomLog /var/apache/logs/domain1.com/access_log combined /VirtualHost VirtualHost * DocumentRoot /home/apache/domain2.com/public_html ServerName www.domain2.com ErrorLog /var/apache/logs/domain2.com/error_log CustomLog /var/apache/logs/domain2.com/access_log combined /VirtualHost Try less /usr/local/etc/rc.d/apache2 Does that answer your question? -- Thanks! BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: acpi and boot problem
From a quick look at /boot/beastie.4th, I think that setting acpi_load in your loader.conf will do the job. also it is written in loader.help but I've already tried and it doesn't work. thanks anyway for the advice ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tools for FreeBSD development
On Sat, 2 Dec 2006, Kevin Sanders wrote: On 12/2/06, Alexander Kabaev [EMAIL PROTECTED] wrote: I personally think that having a dedicated box in disk-less configuration is the best option out there. The ability to quickly go through series of hands/reboots without any associated fsck runs and without the risk of terminally damaging any local FS is priceless. If qemu can be tricked into disk-less booting, it should be just as good though. Alexander, when you say disk-less configuration, are you referring to booting from a network image/server? That's an interesting idea. I'm fairly new to FreeBSD development also, and prefer the speed of a dedicated box, but recently suffered my first corrupted beyond repair system. This is exactly the setup I use also. Most typically, the setup involves a central development server running -STABLE, with a private network link to a series of crash boxes. The development server NFS exports a file system to use as an NFS root and for file sharing, as well as running tftp and dhcp servers. The test boxes use PXE to boot fom the central server. Each test system has its own exported root, so I can use individual loader.conf's to tell test systems to boot off NFS, boot off local disks, etc. I always load the kernel over NFS using pxeboot, regardless of whether I boot boxes with a local root. You get some very nice effects -- you can easily move boxes between FreeBSD versions by switching out root file system symlinks, you can be building the next kernel while the previous one dumps core, etc. Robert N M Watson Computer Laboratory University of Cambridge ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
gdm-autologin not working properly
Hello folks. I'v set up gdm-autologin at /etc/pam.d/ and done everything as told in faq ( http://www.freebsd.org/gnome/docs/faq2.html#q23 ) It asks for user to pass in, is this normal behavior.. because i expected that when i fire up my computer, it automatically logs in and starts gnome session.. as windows does naturally.. am i missing something here or does freebsd faq mislead me? *(gdm)* FILE: /etc/pam.d/gdm clip--- # # $FreeBSD: src/etc/pam.d/gdm,v 1.7 2003/04/30 21:57:54 markm Exp $ # # PAM configuration for the gdm service # # auth auth required pam_nologin.so no_warn #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass # account #account required pam_krb5.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_permit.so ---clip- *(gdm-autologin)* FILE: /etc/pam.d/gdm-autologin ---clip- auth required pam_nologin.so auth required pam_permit.so account required pam_unix.so session required pam_permit.so --clip- *(custom.conf)* gdm's config-file: FILE: /usr/local/etc/gdm/custom.conf --clip [security] AutomaticLoginEnable=true AutomaticLogin=lasse --clip- i'm running FreeBSD 6.1 with fresh install and i got gnome 2.16.2 binarys from GNOME Tinderbox.. as told on section 21. at same FAQ help needed.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Routing Issue?
Hello Everyone, I have a FreeBSD 6.1-RELEASE box that has two network cards (Dual Homed?). Each card is on a different network, as following (from /etc/rc.conf): ifconfig_fxp0=inet 192.168.20.36 netmask 255.255.255.0 ifconfig_rl0=inet 192.168.210.6 netmask 255.255.255.0 defaultrouter=192.168.210.1 route_servers=-net 192.168.2.0 192.168.20.1 static_routes=net1 net2 route_net1=-net 172.20.68.0 192.168.20.1 255.255.254.0 route_net2=-net 192.168.2.0 192.168.20.1 The fxp0 is connected to the outside world while the rl0 is connected to the internal networks. I noticed whenever I ssh or try to telnet to port 25 on this box from 192.168.2.x for example, it delays the response by something like 10 seconds, I even have a tcpdump of that! Can someone explain what is wrong with my setup? Should I have routed running? (I personally don't feel it is needed) Thanks in advance for your help and guidance. P.S. I got the above setup based on my understanding of the handbook, so forgive me if I didn't understand it correctly :) -- -- Yousef Raffah The Savola Group -- http://yousef.raffah.com signature.asc Description: This is a digitally signed message part
Re: Please HELP!
On Sunday December 03, 2006 at 03:32:10 (AM) VeeJay wrote: Hi Thanks you. But it does not work? I have spend whole night to solve this problem... but still haven't had it work Please don't top post. If you don't know what that means, Google for it. Now, do you have the following: 1) /etc/rc.conf 2) [...] 3) apache22_enable=YES This is assuming apache22 is installed. As you were previously instructed, go to the /usr/local/etc/rc.d directory and check out the apache* module for the correct version. When you reboot the system, there is a print out of apache doing a sanity check. Apparently it is failing. Capture that message and print it here. You can also try this as root: httpd -k -E {path-2-file} start Substitute the {path-2-file} for the actual path and file you want to use to store the debug output. That should output any error messages to the console. Check the /var/log/httpd-error.log for any messages as well as the /var/log/messages file. Post them here also. -- Gerard http://www.river.com/users/share/etiquette/ http://www.html-faq.com/etiquette/?toppost http://www.river.com/users/share/etiquette/trumpetpower-netiquette.html http://www.neverending.org/~ftobin/resources/formatting_email_replies/ http://www.reedmedia.net/misc/mail/using-mailing-list.html http://groups.google.com/support/bin/answer.py?answer=12348topic=250 http://en.wikipedia.org/wiki/Godwin's_law ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD Schwag
Hello All, I have been to the usual suspects (freebsdmall.com etc) looking for polos with the new freebsd logo. Where can I get schwag with the new logo? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Routing Issue?
Yousef Adnan Raffah wrote: Hello Everyone, I have a FreeBSD 6.1-RELEASE box that has two network cards (Dual Homed?). Each card is on a different network, as following (from /etc/rc.conf): ifconfig_fxp0=inet 192.168.20.36 netmask 255.255.255.0 ifconfig_rl0=inet 192.168.210.6 netmask 255.255.255.0 defaultrouter=192.168.210.1 route_servers=-net 192.168.2.0 192.168.20.1 static_routes=net1 net2 route_net1=-net 172.20.68.0 192.168.20.1 255.255.254.0 route_net2=-net 192.168.2.0 192.168.20.1 The fxp0 is connected to the outside world while the rl0 is connected to the internal networks. I noticed whenever I ssh or try to telnet to port 25 on this box from 192.168.2.x for example, it delays the response by something like 10 seconds, I even have a tcpdump of that! Can someone explain what is wrong with my setup? Should I have routed running? (I personally don't feel it is needed) Thanks in advance for your help and guidance. P.S. I got the above setup based on my understanding of the handbook, so forgive me if I didn't understand it correctly :) I believe the actual fault is that you don't understand how networks are done, based on the /etc/rc.conf entries you've listed above. I suggest that you pick up Computer Networks: A System Approach by Peterson and Davie to pick up a basic idea of how networking and routing works, and maybe consult http://en.wikipedia.org/wiki/Classful_network as a basis for planning out how things will be done, in particular with network addresses. Providing netstat -nr output would be beneficial as well when troubleshooting issues with routing, as well as any firewall rules you have in place. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: VoIP behind NAT and FreeBSD
Marwan Sultan wrote: First thanks for you all, for the cooperating, My setup is as follow, Router - vr0 FreeBSD fxp0 - Switch - Clients Two NICs attached, vr0 connected to the router (internet interface) has the static 192.168.0.2 fxp0 connected to the Switch connected to clients acting as DHCP 192.168.182.1 and clients are assigned 192.168.182.* ofcourse.. kernel as you know configured for ipfw and NAT chillispot installed, and controlling the fxp0 device thro the DHCP assigning for clients the IPs. however chillispot is not an issue. This is the configuration, I think chillispot using pf rules. once a user will sign in, all blocks will be remmoved. just for the info, Hi Marwan, I have never used ipfw before, so I suggest to do a quick check what the NAT type is. Last time I checked, there was a simple client in the vovidia stun implementation. They also run a public server for testing. If your NAT type is not symmetric NAT, you can use STUN (you will need 2 ip addresses on the internet side of your gateway for STUN to work). If your NAT type is symmetric NAT, I suggest to look at UPNP. Most clients support it. If UPNP is not an options, I guess proxying the media streams, or rewriting the signaling is your only options left. Kurt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Western Australian Daylight Savings changes
Have a current ports tree cd /usr/ports/misc/zonefile make install this gets the correct (and current) timezone file tzdata2006p.tar.gz and does all the right stuff for you. Make sure that you follow the last instruction from the build as you have to manually run tzsetup at the end. mjt Murray Taylor Special Projects Engineer Bytecraft Systems P: +61 3 8710 2555 F: +61 3 8710 2599 D: +61 3 9238 4275 E: [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 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gerard Seibert Sent: Friday, 1 December 2006 10:59 PM To: User Questions Subject: Re: Western Australian Daylight Savings changes On Friday December 01, 2006 at 06:03:12 (AM) Dean Hollister wrote: To confuse things even more, Western Australia is starting daylight saving for a 3 year trial. The start/stop dates are not uniform, just to make life harder. The dates are as follows: First on: 2:00am Dec 3 2007-2008: 2:00am Oct lastSun (ON) 2007-2009: 2:00am Mar lastSun (OFF) If I've got the zoneinfo rules right, they go something like (sorry if field formatting doesn't come out properly): # Western Australia Zone Australia/Perth 7:43:24 - LMT 1895 Dec 8:00 Aus WST 1943 Jul 8:00 - WST 1974 Oct lastSun 2:00s 8:00 1:00WST 1975 Mar Sun=1 2:00s 8:00 - WST 1983 Oct lastSun 2:00s 8:00 1:00WST 1984 Mar Sun=1 2:00s 8:00 - WST 1991 Nov 17 2:00s 8:00 1:00WST 1992 Mar Sun=1 2:00s 8:00 - WST 2006 Dec 2 8:00 AW WST 2009 Mar lastSun 2:00s 8:00 - WST # Rule NAMEFROMTO TYPEIN ON AT SAVE LETTER/S RuleAW 2006only- Dec 3 2:00s 1:00- RuleAW 20072008- Oct lastSun 2:00s 1:00- RuleAW 20072009- Mar lastSun 2:00s 0 - Has anything at this stage been committed to the -STABLE branches for these changes, or will most need to do them manually? The gazetted changes/references are at: http://wa.gov.au/daylightsaving/ I Don't know if this will help you or not, but I have used this shell script to facilitate updating this system. * #!/usr/local/bin/bash mkdir tz cd tz wget 'ftp://elsie.nci.nih.gov/pub/tz*.tar.gz' gzip -dc tzcode*.tar.gz | tar -xf - gzip -dc tzdata*.tar.gz | tar -xf - * Be sure to read the documentation obviously. -- Gerard Mail from '@gmail' is rejected and/or discarded here. Don't waste your time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] --- The information transmitted in this e-mail is for the exclusive use of the intended addressee and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of it, or the taking of any action in reliance upon this information by persons and/or entities other than the intended recipient is prohibited. If you received this in error, please inform the sender and/or addressee immediately and delete the material. E-mails may not be secure, may contain computer viruses and may be corrupted in transmission. Please carefully check this e-mail (and any attachment) accordingly. No warranties are given and no liability is accepted for any loss or damage caused by such matters. --- ### This e-mail message has been scanned for Viruses by Bytecraft ### ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh client affecting fonts?
On 1 December 2006, at 11:28, Eric wrote: oops im an idiot. try this URL http://mikestammer.com/upload/portconfig.png Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. If you think this is a server error, please contact the webmaster. Error 404 mikestammer.com Sun Dec 3 10:17:12 2006 Apache/2.0.59 (FreeBSD) Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions- [EMAIL PROTECTED] -- hackmiester (Hunter Fuller) badaboom who can help me ? i'm french and i don't know irc Paladine can't help you with the being french part, you are screwed their mate Phone Voice: +1 251 589 6348 Fax: Call the voice number and ask. Email General chat: [EMAIL PROTECTED] Large attachments: [EMAIL PROTECTED] SPS-related stuff: [EMAIL PROTECTED] IM AIM: hackmiester1337 Skype: hackmiester31337 YIM: hackm1ester Gtalk: hackmiester MSN: [EMAIL PROTECTED] Xfire: hackmiester ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What Did I Do To My Server?!
On Wednesday 29 November 2006 17:57, Rachel Florentine wrote: IOError: [Errno 13] Permission denied: '/usr/local/zope/instance2/var/Data.fs.lock' Ugh. OK, here's the problem: the Zope port (un?)intentionally screws up the permissions of the installation. Specifically, it unsets the writeable bit of every file under /usr/local/www/Zope, including those on files that Zope actually *needs* to be able to write to. Run this: chown -R www:www /usr/local/zope chmod u+w /usr/local/zope/instance2/var/* chmod u+w /usr/local/zope/instance2/log/* Repeat the last two as necessary to fix any other Zope instances you're trying to run. -- Kirk Strauser pgpaZH9rcltuL.pgp Description: PGP signature
Re: BSDStats Report for December 1st, 2006
On Sun, 03 Dec 2006 04:09:18 -0400 Marc G. Fournier wrote: Since the point of this is to be run monthly, out of periodic monthly, the 1st of the month is when all hosts should be 'renewing' their information ... I have some diskless workstations running FreeBSD. Sure users are not supposed to use them _every_ first day of month (ex. when this day is a weekend or a holiday). Whould stats from those workstations be useless? Thanks! 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: FreeBSD Schwag
Hello All, I have been to the usual suspects (freebsdmall.com etc) looking for polos with the new freebsd logo. Where can I get schwag with the new logo? I just ordered a few from http://bsdmall.com/ When I say just, I mean that I ordered them four months ago and they just got to me yesterday. BSDMall.com promised me that they have new procedures in place (as of this week) that ensure that it will never take longer than two weeks in the future, but it did take a really long time to get my shirts to me. That said, the shirts did make it to me,, and they are quality, and they do offer them with the new logo. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
On 12/3/06, Marc G. Fournier [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Numbers are up from November, which is what we hope for ... not drastically, but 7.5% isn't shabby either: For those wishing to see more formal stats, or more detail, please check out http://www.bsdstats.org ... we've recently added on a Ports Report, that is present in v5.0 available in /usr/ports/sysutils/bsdstats ... Thank you to all that are currently participating ... hopefully next month we can see as much growth as we did this one (although we know of a site in Australia that is supposedly about to add 800+ hosts, so we should see that easily) ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 Hello, I just installed it in my 9 FreeBSD 6.x servers ;) Nice tool to show the BSD power! Thank you, -A ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
intel wireless 3945 driver situation :(
Hi All, My boss gave me a new laptop but it has the 3945 intel wireless card. I know that this was not supported and there is only one experimental driver out there. Any news on whether or not this thing will be supported. Anybody get it to work? thanks G ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How does my computer work with an empty arp table?
My computer is connected to ISP via ADSL and works properly. I typed arp -a and saw an empty table, although I pinged successfully an Internet host one second ago. How does it work? $ ifconfig rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet6 fe80::202:44ff:fe92:1875%rl0 prefixlen 64 scopeid 0x1 inet 192.168.1.2 netmask 0xff00 broadcast 192.168.1.255 ether 00:02:44:92:18:75 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 inet 127.0.0.1 netmask 0xff00 ng0: flags=88d1UP,POINTOPOINT,RUNNING,NOARP,SIMPLEX,MULTICAST mtu 1492 inet6 fe80::202:44ff:fe92:1875%ng0 prefixlen 64 scopeid 0x3 inet 91.124.65.146 -- 195.5.5.161 netmask 0x ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg: How to change background?
Can Xorg show another background than grey grid, for example, black screen? Elisej Babenko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
missing pkg-descr
Dear FreeBSD, The following happens to me A LOT: --- Installing the new version via the port === Installing for perl-5.8.8 === Generating temporary packing list ** Missing pkg-descr for perl-5.8.8. *** Error code 1 Stop in /data/ports/lang/perl5.8. *** Error code 1 Many ports fail to install for this Missing pkg-descr reason. Why is this happening? Any fix? -- Wayne M Barnes [EMAIL PROTECTED]fax: (314) 754-9556 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh client affecting fonts?
hackmiester (Hunter Fuller) wrote: On 1 December 2006, at 11:28, Eric wrote: oops im an idiot. try this URL http://mikestammer.com/upload/portconfig.png Object not found! The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again. yea i deleted it after the initial discussion a few days ago. turns out it is a secureCRT issue in relation to Windows Vista RTM. Vandyke is working on a fix now Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: missing pkg-descr
On 12/3/06, Charlie Root [EMAIL PROTECTED] wrote: Dear FreeBSD, The following happens to me A LOT: --- Installing the new version via the port === Installing for perl-5.8.8 === Generating temporary packing list ** Missing pkg-descr for perl-5.8.8. *** Error code 1 Stop in /data/ports/lang/perl5.8. *** Error code 1 Many ports fail to install for this Missing pkg-descr reason. Why is this happening? Any fix? ln -s /data/ports /usr/ports cd /usr/ports/lang/perl5.8 make install clean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg: How to change background?
Don't pay attention to my post sent a week ago. Sorry for inconvenience, but this is problem of ISPs, not my. Elisej Babenko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg: How to change background?
On Wed, 29 Nov 2006, [EMAIL PROTECTED] wrote: Can Xorg show another background than grey grid, for example, black screen? Elisej Babenko ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] xsetroot -solid black perhaps? r ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gdm-autologin not working properly
The fingers of Lars Udo typed on 03/12/06 12:08: Hello folks. I'v set up gdm-autologin at /etc/pam.d/ and done everything as told in faq ( http://www.freebsd.org/gnome/docs/faq2.html#q23 ) It asks for user to pass in, is this normal behavior.. because i expected that when i fire up my computer, it automatically logs in and starts gnome session.. as windows does naturally.. am i missing something here or does freebsd faq mislead me? *(gdm)* FILE: /etc/pam.d/gdm clip--- # # $FreeBSD: src/etc/pam.d/gdm,v 1.7 2003/04/30 21:57:54 markm Exp $ # # PAM configuration for the gdm service # # auth auth required pam_nologin.so no_warn #auth sufficient pam_krb5.so no_warn try_first_pass #auth sufficient pam_ssh.so no_warn try_first_pass auth required pam_unix.so no_warn try_first_pass # account #account required pam_krb5.so account required pam_unix.so # session #session optional pam_ssh.so session required pam_permit.so ---clip- *(gdm-autologin)* FILE: /etc/pam.d/gdm-autologin ---clip- auth required pam_nologin.so auth required pam_permit.so account required pam_unix.so session required pam_permit.so --clip- *(custom.conf)* gdm's config-file: FILE: /usr/local/etc/gdm/custom.conf --clip [security] AutomaticLoginEnable=true AutomaticLogin=lasse --clip- Try setting automatic login through the gnome-control panel (gdmsetup): System - Administration - Login Window - Security tab - Enable Automatic Login Right now i'm sitting in front of an ubuntu-box, running gnome 2.14.2, but this way you could check into which file and under which directive the settings are written. Funny enough, my auto-login settings are in the [daemon] section of the conf. i'm running FreeBSD 6.1 with fresh install and i got gnome 2.16.2 binarys from GNOME Tinderbox.. as told on section 21. at same FAQ help needed.. ___ 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]
Openwebmail Zlib::compress
I've recently updated my ports, and openwebmail is no longer working, giving me the following error... Software error: Undefined subroutine Compress::Zlib::memGzip called at /usr/local/www/cgi-bin/openwebmail/shares/ow-shared.pl line 1175. For help, please send mail to the webmaster ([EMAIL PROTECTED]), giving this error message and the time and date of the error. I've looked on freebsd.org at the ports and note that note that within the last 7 hours there has been an update to correct the path to Compress::Zlib.pm after recent p5-Compress-Zlib update. Is this still a problem with the port or do I have to alter my configuration somehow. Im running a standard openwebmail with no changes. Send instant messages to your online friends http://uk.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Changing password for GELI encrypted diskpartitions
Hi: The man page doesn't seem to say anything about this: How do you change the pass phrase for an encrypted partition (geli)? (I found that on boot the password must be entered with US keyboard layout and suddenly I couldn't figure out how to type it. Problem is solved, no data lost I just recreated the partition. Yet, it would be nice to know). Secondly: Is the passphrase protecting the key file or the partition itself? (just for curriosity). Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org smime.p7s Description: S/MIME Cryptographic Signature
Re: BSDStats Report for December 1st, 2006
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Sunday, December 03, 2006 19:43:41 +0300 Boris Samorodov [EMAIL PROTECTED] wrote: On Sun, 03 Dec 2006 04:09:18 -0400 Marc G. Fournier wrote: Since the point of this is to be run monthly, out of periodic monthly, the 1st of the month is when all hosts should be 'renewing' their information ... I have some diskless workstations running FreeBSD. Sure users are not supposed to use them _every_ first day of month (ex. when this day is a weekend or a holiday). Whould stats from those workstations be useless? Good question ... not useless, but not sure how (and/or if) it would work ... the script creates a /var/db/bsdstats file that contains the KEY/TOKEN that is used to talk to the server, which is used on subsequent reports so that it doesn't get reported as a 'new host', but just updates the old data ... If its diskless, will each reboot end up reporting as a whole new host each time, or is there some way of saving that /var/db/bsdstats across reboots? - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFczwA4QvfyHIvDvMRAp6PAJ0dkcwrKTlzhjgqsfeSR8i8XYaS7QCgr4Td UKzme94Y7Zi2AYOGPzN/Bls= =r9D6 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Changing password for GELI encrypted diskpartitions
On 12/3/06, Erik Norgaard [EMAIL PROTECTED] typed: The man page doesn't seem to say anything about this: How do you change the pass phrase for an encrypted partition (geli)? . . . Secondly: Is the passphrase protecting the key file or the partition itself? (just for curriosity). From a cursory scan, it would appear that the passphrase protects the key file (which then protects the partition?), and that the passphrase is changed via delkey setkey. Hopefully someone more knowledgeable can shed some more light. -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Please HELP!
Which version of FreeBSD are you running? Which version of apache? Have you updated either recently? -Derek At 05:51 PM 12/2/2006, VeeJay wrote: Hi I am sorry to post this question here but I am desparet to get my freebsd box work soonest possible. I have installed apache20 on my freebsd box but am unable to run with new httpd.conf changes When I run the apache, with command: # /usr/local/sbin/apachectl restart I get this message: httpd not running, trying to start # In the error log error is like this: [Sun Dec 03 01:29:59 2006] [warn] pid file /var/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run? Even I delete the pid file, but it still doesnt work... Please HELP! my httpd.conf is mentioned below; # = # Basic settings # = Listen 0.0.0.0:80 User apache Group apache ServerAdmin [EMAIL PROTECTED] UseCanonicalName Off ServerSignature Off HostnameLookups Off ServerTokens Prod ServerRoot /usr/local DocumentRoot /home/apache PidFile /var/apache/logs/httpd.pid ScoreBoardFile /var/apache/logs/httpd.scoreboard IfModule mod_dir.c DirectoryIndex index.html /IfModule # = # HTTP and performance settings # = Timeout 300 KeepAlive On MaxKeepAliveRequests 100 KeepAliveTimeout 15 IfModule prefork.c MinSpareServers 5 MaxSpareServers 10 StartServers 5 MaxClients 150 MaxRequestsPerChild 0 /IfModule # = # Load Module Section; Dynamic Shared Object (DSO) Support # = LoadModule access_module libexec/apache2/mod_access.so LoadModule auth_module libexec/apache2/mod_auth.so LoadModule log_config_module libexec/apache2/mod_log_config.so LoadModule mime_module libexec/apache2/mod_mime.so LoadModule dir_module libexec/apache2/mod_dir.so LoadModule rewrite_module libexec/apache2/mod_rewrite.so # Other required modules are compiled such as Compiled in modules: core.c prefork.c http_core.c mod_so.c # = # Access control # = Directory / Options None AllowOverride None Order deny,allow Deny from all /Directory Directory /home/apache/default/public_html Order allow,deny Allow from all /Directory # = # MIME encoding # = IfModule mod_mime.c TypesConfig /usr/local/etc/apache2/mime.types /IfModule DefaultType text/plain IfModule mod_mime.c AddEncoding x-compress .Z AddEncoding x-gzip .gz .tgz AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType application/x-tar .tgz /IfModule # = # Logs # = LogLevel warn LogFormat %h %l %u %t \%r\ %s %b \%{Referer}i\ \%{User-Agent}i\ combined LogFormat %h %l %u %t \%r\ %s %b common LogFormat %{Referer}i - %U referer LogFormat %{User-agent}i agent ErrorLog /var/apache/logs/error_log CustomLog /var/apache/logs/access_log combined # = # Virtual hosts # = NameVirtualHost * VirtualHost * DocumentRoot /home/apache/domain1.com/public_html ServerName www.domain1.com ErrorLog /var/apache/logs/domain1.com/error_log CustomLog /var/apache/logs/domain1.com/access_log combined /VirtualHost VirtualHost * DocumentRoot /home/apache/domain2.com/public_html ServerName www.domain2.com ErrorLog /var/apache/logs/domain2.com/error_log CustomLog /var/apache/logs/domain2.com/access_log combined /VirtualHost -- Thanks! BR / vj ___ 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]
Re: How does my computer work with an empty arp table?
On 12/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My computer is connected to ISP via ADSL and works properly. I typed arp -a and saw an empty table, although I pinged successfully an Internet host one second ago. The ARP table is a cache of known ARP-IP addresses. If there are no addresses in the ARP table then the system will send out an ARP broadcast to discover the ARP address that belongs to the IP address. Of course only the Ethernet hosts on your local network will be in your ARP table. -- -- Perfection is just a word I use occasionally with mustard. --Atom Ray Powers-- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
umass mount woes
I got a new whiz-bang mp3 play from SanDisk. I went with SanDisk because they have always worked so well with non-windows for me. Anyway, I'm having a bit of a problem mounting it. Other umass devices work fine on my system. Any help will be appreciated. The device is a Sansa c240. as a usb device, it doesn't default to umass behavior; but it can be set to behave that way. I have set the device USB mode to MSC mode. Some sample system behavior: [EMAIL PROTECTED] ~]# uname -a FreeBSD carmen.opera 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Nov 29 22:46:47 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CARMEN i386 ... so I plug in a jump drive. Stdout shows: umass0: LEXAR MEDIA JUMPDRIVE, class 0/0, rev 2.00/30.00, addr 2 on uhub2 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:e44a4b24? da0 at umass-sim0 bus 0 target 0 lun 0 da0: LEXAR JUMPDRIVE 1000 Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 991MB (2030592 512 byte sectors: 64H 32S/T 991C) Now I can do the following: [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt [EMAIL PROTECTED] ~]# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/da0s1 on /mnt (msdosfs, local) [EMAIL PROTECTED] ~]# umount /mnt ... I then unplug that device and plug in the mp3 player. Stdout: umass0: SanDisk Sansa c240, class 0/0, rev 2.00/7.20, addr 2 on uhub2 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:c412049c? da0 at umass-sim0 bus 0 target 0 lun 0 da0: SanDisk Sansa c240 Sans Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 979MB (2006528 512 byte sectors: 64H 32S/T 979C) (probe0:umass-sim0:0:0:1): Uninitialized Transport 5:c045de9c? da1 at umass-sim0 bus 0 target 0 lun 1 da1: SanDisk Sansa c240 Sans Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 So I then attempt to mount it: [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt mount_msdosfs: /dev/da0s1: Invalid argument [EMAIL PROTECTED] ~]# mount -t msdos /dev/da1 /mnt mount_msdosfs: /dev/da1: Device not configured [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0 /mnt mount_msdosfs: /dev/da0: Invalid argument [EMAIL PROTECTED] ~]# ls /dev/da* /dev/da0/dev/da0s1 /dev/da0s2 /dev/da1 [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt mount_msdosfs: /dev/da0s1: Invalid argument ... any ideas? Thanks for checking out my plight. -N __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSDStats Report for December 1st, 2006
On Sun, 03 Dec 2006 17:05:04 -0400 Marc G. Fournier wrote: If its diskless, will each reboot end up reporting as a whole new host each time, or is there some way of saving that /var/db/bsdstats across reboots? We use memory mounted /var. :-( Ok, let's only our servers do the reporting. 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: BSDStats Report for December 1st, 2006
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - --On Monday, December 04, 2006 02:07:08 +0300 Boris Samorodov [EMAIL PROTECTED] wrote: On Sun, 03 Dec 2006 17:05:04 -0400 Marc G. Fournier wrote: If its diskless, will each reboot end up reporting as a whole new host each time, or is there some way of saving that /var/db/bsdstats across reboots? We use memory mounted /var. :-( Ok, let's only our servers do the reporting. 'k, I'm clueless on diskless, so this may or may not be doable ... but would it be possible to cp the bsdstats file from the 'disk mount server' to /var/db/bsdstats on reboot? Say, something scripted like: if [ ! -f /var/db/bsdstats ]; then if [ -f remotemount/bsdstats.`hostname` ]; then cp remotemount/bsdstats.`hostname` /var/db/bsdstats else run 300.statistics cp /var/db/bsdstats remotemount/bsdstats.`hostname` fi fi Add something like that (real code at least) to the init/rc file used on the diskless station, to be run after all mounts are up? - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFc2uf4QvfyHIvDvMRAiexAJ4y/VmnZ89rxhIU2eOSXL4YQUvLeACgqdA2 07v4cbtbLmfSgAuO8ras+zo= =jk41 -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSDStats Report for December 1st, 2006
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following numbers reflect the change in reporting numbers between October and November 2006. These include both those that reported *on* the 1st of the month, as well as those changes over the course of the month. Since the point of this is to be run monthly, out of periodic monthly, the 1st of the month is when all hosts should be 'renewing' their information. As such, we tend to be more focused on the 39% increase in recurring monthly reports OctNov % Chg DragonFly 13 11 -18% 137 18 -661% FreeBSD660 2085 68% 1976 2659 25% GNU/kFreeBSD 33 3-1000% 144 7-1957% MirBSD 0 1 100% 8 4 -100% NetBSD365142 -157% 1827276 -561% OpenBSD334 83 -302% 3858927 -316% PC-BSD 2 1 -100% 90 51 -76% Overall 1407 2326 39% 8040 3942 -103% The first row for each is the # that reported on the 1st of each month ... in theory, all hosts should be renewing their report on that date. The second row represents total # of hosts that have reported on that month. A complete comparison, including architecture and releases, can be found at: http://www.bsdstats.org/report.php?lastmonthos=operating_system where operating system is one of the above ... For those wishing to see more formal stats, or more detail, please check out http://www.bsdstats.org ... Thank you to all that are currently participating ... and we look forward to seeing increases on subsequent months ... - Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFc2l84QvfyHIvDvMRApy/AKC2WsBdKMRcLfHdDq2hbHemNzjlNgCfWl2g lnhrVvJejbLKmOKwbclkkbM= =jHFl -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: umass mount woes
On Sun, Dec 03, 2006 at 02:56:12PM -0800, Neil Short wrote: I got a new whiz-bang mp3 play from SanDisk. I went with SanDisk because they have always worked so well with non-windows for me. Anyway, I'm having a bit of a problem mounting it. Other umass devices work fine on my system. Any help will be appreciated. The device is a Sansa c240. as a usb device, it doesn't default to umass behavior; but it can be set to behave that way. I have set the device USB mode to MSC mode. Some sample system behavior: [EMAIL PROTECTED] ~]# uname -a FreeBSD carmen.opera 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Nov 29 22:46:47 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CARMEN i386 ... so I plug in a jump drive. Stdout shows: umass0: LEXAR MEDIA JUMPDRIVE, class 0/0, rev 2.00/30.00, addr 2 on uhub2 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:e44a4b24? da0 at umass-sim0 bus 0 target 0 lun 0 da0: LEXAR JUMPDRIVE 1000 Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 991MB (2030592 512 byte sectors: 64H 32S/T 991C) Now I can do the following: [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt [EMAIL PROTECTED] ~]# mount /dev/ad4s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad4s1e on /tmp (ufs, local, soft-updates) /dev/ad4s1f on /usr (ufs, local, soft-updates) /dev/ad4s1d on /var (ufs, local, soft-updates) /dev/da0s1 on /mnt (msdosfs, local) [EMAIL PROTECTED] ~]# umount /mnt ... I then unplug that device and plug in the mp3 player. Stdout: umass0: SanDisk Sansa c240, class 0/0, rev 2.00/7.20, addr 2 on uhub2 (probe0:umass-sim0:0:0:0): Uninitialized Transport 5:c412049c? da0 at umass-sim0 bus 0 target 0 lun 0 da0: SanDisk Sansa c240 Sans Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 979MB (2006528 512 byte sectors: 64H 32S/T 979C) (probe0:umass-sim0:0:0:1): Uninitialized Transport 5:c045de9c? da1 at umass-sim0 bus 0 target 0 lun 1 da1: SanDisk Sansa c240 Sans Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error (da1:umass-sim0:0:0:1): SCSI Status: Check Condition (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 (da1:umass-sim0:0:0:1): Medium not present (da1:umass-sim0:0:0:1): Unretryable error Opened disk da1 - 6 (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 So I then attempt to mount it: [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt mount_msdosfs: /dev/da0s1: Invalid argument [EMAIL PROTECTED] ~]# mount -t msdos /dev/da1 /mnt mount_msdosfs: /dev/da1: Device not configured [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0 /mnt mount_msdosfs: /dev/da0: Invalid argument [EMAIL PROTECTED] ~]# ls /dev/da* /dev/da0/dev/da0s1 /dev/da0s2 /dev/da1 [EMAIL PROTECTED] ~]# mount -t msdos /dev/da0s1 /mnt mount_msdosfs: /dev/da0s1: Invalid argument ... any ideas? Thanks for checking out my plight. -N Some players have a way to format the memory. Check your owners manual. Since the MSC was not the default...it could be it needs formating. -- Alexander FreeBSD 6.0-RELEASE i386 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Invitation to deliver LinuxTop20 talk
Hi Abrar: On behalf of TWINCLING Society I would like to invite you to deliver Linux Top20 talk. Please confirm your availability. thanks Saifi +91 - 99897 13507. TWINCLING Society freedom of innovation http://www.twincling.org/ TWINCLING Society a registered society under Andhra Pradesh Registration of Societies Act, 2001. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
equivalent to date -a
Does FreeBSD have an equivalent to the Solaris date -a command, i.e. a command-level interface to adjtime(2)? I didn't see any mention of a -a switch in the manpages for date(1) or gdate(1), nor anything applicable in apropos, and a grep for adjtime in likely-seeming parts of /usr/src didn't turn up anything either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: equivalent to date -a
В сообщении от Понедельник 04 декабря 2006 11:04 [EMAIL PROTECTED] написал(a): Does FreeBSD have an equivalent to the Solaris date -a command, i.e. a command-level interface to adjtime(2)? I didn't see any mention of a -a switch in the manpages for date(1) or gdate(1), nor anything applicable in apropos, and a grep for adjtime in likely-seeming parts of /usr/src didn't turn up anything either. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] date sets with no key. The command 'date 8506131627' sets the date to ``June 13, 1985, 4:27 PM''. -- С уважением, Бачило Дмитрий Best Regards, Bachilo Dmitry ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: equivalent to date -a
In the last episode (Dec 03), [EMAIL PROTECTED] said: Does FreeBSD have an equivalent to the Solaris date -a command, i.e. a command-level interface to adjtime(2)? I didn't see any mention of a -a switch in the manpages for date(1) or gdate(1), nor anything applicable in apropos, and a grep for adjtime in likely-seeming parts of /usr/src didn't turn up anything either. There's an indirect one via ntpdate -B ... -- 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: How does my computer work with an empty arp table?
On Sun, Dec 03, 2006 at 02:53:44PM -0800, Atom Powers wrote: On 12/3/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: My computer is connected to ISP via ADSL and works properly. I typed arp -a and saw an empty table, although I pinged successfully an Internet host one second ago. The ARP table is a cache of known ARP-IP addresses. If there are no addresses in the ARP table then the system will send out an ARP broadcast to discover the ARP address that belongs to the IP address. Of course only the Ethernet hosts on your local network will be in your ARP table. -- -- Perfection is just a word I use occasionally with mustard. --Atom Ray Powers-- Thank you for response. But why there is no MAC address of my ADSL modem connected via Ethernet? Does my host send broadcast frames to communicate with modem everytime? Furthermore, when I ping the modem, a proper entry appears in table: $arp -a $ping -c 1 rt # It is my modem PING rt.my.domain (192.168.1.1): 56 data bytes 64 bytes from 192.168.1.1: icmp_seq=0 ttl=254 time=1.298 ms --- rt.my.domain ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 1.298/1.298/1.298/0.000 ms $arp -a rt.my.domain (192.168.1.1) at 00:13:49:61:f9:b2 on rl0 [ethernet] But no entry appears when I communicate trough the modem. How can I watch what is going on? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Sierra Wireless MC5720 help
I have a Sierra Wireless MC5720 that came with my Lenovo T60p laptop. The card is fully activated and known to work in Linux and Windows. I am attempting to get the card working in FreeBSD, but not having much luck. The umodem driver claims to support the device, but as of yet I have not been able to get it to probe the modem as anything other than ugen. I would appreciate any help anyone can give me. Thanks. -- Andy Miller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]