Re: Weirdness with permissions after mounting USB flash drive
* Paul Murphy: > I _can_ read/write to it as root, but I would really like to use it > as a non-root user. Any thoughts as to why this is happening? See FreeBSD FAQ[1]. Also, in /etc/fstab you may adjust the mode, see below -m700 for msdos filesystem: /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 If /dev is mounted via devfs (FreeBSD 5), you may want to edit /etc/devfs.conf and add a line like below: perm da0s1 0666 Cheers, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ [1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to get out of Africa?
Hi Wayne! > Dear FreeBSD, > >During installation, I accidentally hit Africa for my timezone. > >I have looked all over the documentation, and I cannot find > out to reset my time zone. > >Does anybody else know? I installed 5.1 from the CD. Did you try running sysinstall and redefine your timezone there? Olivier ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Where to find info on how to clean up port database properly?
I have got to be missing something here... I need to find pointers on how to handle the various questions from running pkgdb -F. I'm afraid I may have made a mess, because I keep getting stuck trying to clean up the database. I didn't find any advice about these questions in the FreeBSD handbook or the various portupgrade/pkgdb/portsdb/pkg_* man pages. I have done the following recently though: cvsup -g -L 2 /etc/cvsup_ports (includes ports-all and doc-all) cd /usr/ports && make INDEX && portsdb -u make readmes # not essential but nice pkgdb -fuF # on advice to someone else here ... but I get confused by what pkgdb starts asking. My general practice (off the top of my head) has been - Change origin to a higher version number of a port when pkgdb recommends it or I believe the new will work in place of the old. - Allow a port origin to be regressed to an older version if pkgdb seems to insist it has problems unless I change the origin and it only lists an older choice. - pkg_deinstall ports I don't need that (1) cause pkgdb to complain and (2) can be uninstalled without extra and surely overzealous options like -r/-R. The last of these tonight caused me to begin deinstalling gnome, but I seem to continue tripping over port database issues. Tonight's whole bout with ports was spurred by my need to clean up a MySQL problem (summary: I once installed MySQL 3.23 server and client, then went to 4.1 but noted the client stayed at 3.23, then somehow--I forget how--upgraded the client but now find Perl/DBI/DBD:mysql is too old to talk the current password authentication protocol with a 4.1 server). In case it helps, this is my last run of pkgdb -F, in which I just pressed Enter at every prompt, to do more recording than altering. I welcome any help, but again as the subject implies, I'm assuming I've missed a wealth of how-to info somewhere regarding the proper care and feeding of pkgdb -F prompts. Script started on Tue Oct 21 03:49:06 2003 # pkgdb -F ---> Checking the package registry database Stale origin: 'print/ghostscript55': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'audio/gnomeaudio': perhaps moved or obsoleted. -> The port 'audio/gnomeaudio' was removed on 2003-07-15 because: "removed as part of GNOME 1.4 desktop phase out" -> Hint: gnomeaudio-1.0.0 is required by the following package(s): gnumeric-0.61 gconf-0.12_1 electriceyes-0.3.12 gnomecore-1.2.4 bonobo-0.37 py-gnome-1.0.53 gnomevfs-0.5 gal-0.5 glade-0.5.11 gnomepim-1.2.0 gnomeusersguide-1.2 -> Hint: checking for overwritten files... -> No files installed by gnomeaudio-1.0.0 have been overwritten by other packages. Deinstall gnomeaudio-1.0.0 ? [no] Stale origin: 'x11/gnomecore': perhaps moved or obsoleted. -> The port 'x11/gnomecore' was removed on 2003-07-15 because: "removed as part of GNOME 1.4 desktop phase out" -> Hint: gnomecore-1.2.4 is required by the following package(s): gnumeric-0.61 gconf-0.12_1 electriceyes-0.3.12 bonobo-0.37 py-gnome-1.0.53 gnomevfs-0.5 gal-0.5 glade-0.5.11 gnomepim-1.2.0 gnomeusersguide-1.2 -> Hint: checking for overwritten files... -> No files installed by gnomecore-1.2.4 have been overwritten by other packages. Deinstall gnomecore-1.2.4 ? [no] Stale origin: 'misc/gnomeusersguide': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'graphics/mpeg-lib': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'x11-toolkits/qt22': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'misc/rpm': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Stale origin: 'editors/vim6': perhaps moved or obsoleted. Skip this for now? [yes] To skip it without asking in future, please list it in HOLD_PKGS. Duplicated origin: delete - gnomeaudio-1.0.0 gnomecore-1.2.4 Unregister any of them? [no] Stale dependency: gtkextra-0.99.17 -> imake-4.3.0_1 (devel/imake-4): imap-uw-2002_1,1 (score:16%) ? ([y]es/[n]o/[a]ll) [no] New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: gtkextra-0.99.17 -> XFree86-libraries-4.3.0_6 (x11/XFree86-4-libraries): New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: gtkextra-0.99.17 -> fontconfig-2.2.90_3 (x11-fonts/fontconfig): New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: libiodbc-3.0.5_1 -> imake-4.3.0_1 (devel/imake-4): Skip this? ([y]es/[n]o/[a]ll) [yes] Stale
Hosed system
/usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table I was messing around with libdes trying to get Diablo to compile... and am now getting this error :( Pretty much hosed the system. Any idea how I can fix this? HELP. :) Reinstalling the crypto package made no difference running 4.8-RELEASE ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hosed system
On Tue, 21 Oct 2003, Shawn Ramsey wrote: > /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time > symbol table > > > I was messing around with libdes trying to get Diablo to compile... and am now > getting this error :( Pretty much hosed the system. Any idea how I can fix this? > HELP. :) > > Reinstalling the crypto package made no difference running 4.8-RELEASE Try installing openssl from ports Rgds Rus -- w: http://www.jvps.com | Linux + FreeBSD Servers from $15/mo e: [EMAIL PROTECTED]| Dedicated Servers from $119/mo t: +44 7919 373537 | email: [EMAIL PROTECTED] t: 1-888-327-6330 | email: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Hosed system
> > /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time > > symbol table > > > > > > I was messing around with libdes trying to get Diablo to compile... and am now getting this error :( Pretty much hosed the system. Any idea how I can fix this? HELP. :) > > > > Reinstalling the crypto package made no difference running 4.8-RELEASE > > Try installing openssl from ports Running ./Configure from openssl results in the same error... and the port bombs with so : Operating system: i386-pc-freebsd4.8 /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no run-time symbol table This system (FreeBSD-elf) is not supported. See file INSTALL for details. ===> Building for openssl-0.9.7b_1 make: don't know how to make freebsd-shared. Stop *** Error code 2 Stop in /usr/ports/security/openssl. :( ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: not updating XFree86 related stuff while performing portupgrade
On Tue, Oct 21, 2003 at 11:05:22AM +0800, Michael Lee(HINET) wrote: > There is one thing that I am not sure of. I read again an article in FreeBSD > Diary > http://www.freebsddiary.org/portupgrade.php > and it said that if I force it to pkg_delete a certain package that other > packages depend on, > there might be problems of broken dependencies. Ah -- that is true, unless you immediately replace the deleted package with an equivalent alternative as I instructed. Subsequently running 'pkgdb -Fvu' will help you fix up any remaining dependency problems. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Hosed system
On Tue, 21 Oct 2003, Shawn Ramsey wrote: > Operating system: i386-pc-freebsd4.8 > /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no > run-time > symbol table > /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no > run-time > symbol table > This system (FreeBSD-elf) is not supported. See file INSTALL for details. > ===> Building for openssl-0.9.7b_1 > make: don't know how to make freebsd-shared. Stop > *** Error code 2 > > Stop in /usr/ports/security/openssl. pkg_add -r openssl ? Rgds Rus -- w: http://www.jvps.com | Linux + FreeBSD Servers from $15/mo e: [EMAIL PROTECTED]| Dedicated Servers from $119/mo t: +44 7919 373537 | email: [EMAIL PROTECTED] t: 1-888-327-6330 | email: [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: weird KDE alt-tab problem
Hey, Have you tried changing your shortcut keys in kde go into the control center --> Regional & Accessibility --> Keyboard Shortcuts And change it so it doesnt happen anymore David Lodeiro > On Tue, 21 Oct 2003 08:28 am, David Gerard wrote: > > Every now and then, I press alt-tab to go between applications > > in KDE 3, and it goes into a strange mode: I press alt, hold and > > press tab, and the window menu comes up ... I press alt again > > and it actually goes to the next window. > > > > 1. What is happening? > > Dont know.. > > > 2. How did it get there? > > Dont know (Well actually, it got there by pressing alt tab) > > > 3. What can I do to get out of it without just restarting KDE? > > Why would you restart kde? I just use alt tab a few times and it goes away > again (: > > _ > JacobRhoden -- http://jacob.rhoden.id.au/ > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Dialup firewalling with FreeBSD
> Hello, > I followed this doc to install my firewall. Upon reboot I get > about 12 lines > more or less like this: > > ipfw: size mismatch (have 176 need..) > It also says that dev tun0 doesn't exist. Does the tun0 device exist after boot? If so, I have faced a similar problem in the past. However, I did have some people at a SeaFUG (now SeaBUG) meeting come up with a solution. I basically had to open the tun0 port before ipfw got started. I can past in the examples if you need them. (if you have tun0 after boot) And allthough dmesg showed several errors, the firewall did work as expected. I, perhaps like you, dont like looking at errors. > > How do I correct this. Do you have "pseudo-device tun" in your kernel config file? Is it remmed out? I am not sure if GENERIC has it or not. > TIA > j > hullATmonisys.ca ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Hacking calendar(1)
> On Sunday, 19 October 2003 at 16:13:09 -0500, Charles Howse wrote: > > Hi, > > When I get my daily calendar email, there is no explanation of which > > entries come from which calendars. > > Other than hacking the source code, is there a way to get > some headers > > like this? > > > > Music History: > > Oct 20 Three members of Lynyrd Skynyrd die in a plane > crash, 1977 > > > > World History: > > Blah blah blah > > > > Computer History: > > Blah blah blah > > The daily calendar information comes from the script > /etc/periodic/daily/300.calendar. It should be relatively > straightforward to change that script. My solution... I found an old post by Greg Lehey that I have modified. I run it from cron at midnight every day. It's working great so far! See it in action as a cgi script, w/o the mail line: http://howse.homeunix.net/calendar.shtml Comments, suggestions? - #!/usr/local/bin/bash # # Go through the calendars and find out what happened today. dir=/usr/share/calendar file=/root/today_cal if [ -a $file ] ; then rm $file fi if [ -n "`/usr/bin/calendar -f $dir/calendar.birthday`" ] ; then echo "Birthdays:" >> $file /usr/bin/calendar -f $dir/calendar.birthday >> $file echo >> $file fi if [ -n "`/usr/bin/calendar -f $dir/calendar.christian`" ] ; then echo "Christian:" >> $file /usr/bin/calendar -f $dir/calendar.christian >> $file echo >> $file fi if [ -n "`/usr/bin/calendar -f $dir/calendar.computer`" ] ;then echo "Computer:" >> $file /usr/bin/calendar -f $dir/calendar.computer >> $file echo >> $file fi if [ -n "`/usr/bin/calendar -f $dir/calendar.music`" ] ; then echo "Music:" >> $file /usr/bin/calendar -f $dir/calendar.music >> $file echo >> $file fi if [ -n "`/usr/bin/calendar -f $dir/calendar.usholiday`" ] ; then echo "U.S. Holidays:" >> $file /usr/bin/calendar -f $dir/calendar.usholiday >> $file fi cat $file | mail -s "Today's Calendar" charles ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Noob FreeBSD 5.1 install question
On Mon, Oct 20, 2003 at 05:22:07PM -0400, [EMAIL PROTECTED] wrote: > A) I have reinstall freeBSD many times over and over. I work with W2k > machine at work and do a Unattended install when I don't want to select > the same options over and over again on multiple machines. Is there a way > I can create a install Config file to select all my options for me? Is > there a way I can take a snapshot of the way the OS is currently > configured and make a Install Config File? Maybe something that will auto > set my TimeZone, Partition / Slice sizes, just to get the Base OS > installed without any ports (except for maybe Lynx Text Web Browser) sysinstall(8) is scriptable -- as described in that man page you can generate a configuration file which supplies answers to the questions that sysinstall asks. As far as I know, there's no way of automatically generating such a config file. Note too that the setting you make in sysinstall are usually just the beginning: most people will use sysinstall in order to get the system able to boot up from it's own disks, and then carry on configuring the system by adding ports/packages and so forth just using the standard system tools. However, it is possible to auto-install a pretty much completely configured system: this is a standard action for people that netboot systems via PXE. Googling for FreeBSD and PXE will get you plenty of examples, for instance see http://seattle.simerson.net/computing/freebsd.netboot.shtml > B) after installing Various ports on the system, do I have to do a Make > Clean after each install or can I run Make Clean after installing all of > my required Ports? No, you can save the 'make clean' step until you're ready. As running 'make clean' in a port directory will run 'make clean' recursively in the directories of all of the dependencies, this can be a lot more time consuming than is really necessary. Here's a couple of things that can help: *) When cleaning for a single port, you can do: # make clean NOCLEANDEPENDS=yes which will just clean that port directory, and not the dependencies. *) If you want to clean out the whole ports tree wholesale, you can do it by: # cd /usr/ports # ls -d */*/work | xargs rm -rf or if you install the portupgrade(1) tools, # portsclean -C will achieve the same effect with less potential for accidentally removing more than you intend by having 'rm -rf' run wild... > Just as FYI I am running FreeBSD 5.1, I have downloaded and Burned the 2 > ISO's (Full Install and Repair / Fix It) I run the install from the cd, > then I choose to NOT install the ports, download the 19.x meg file from > FreeBSD.org/ports and un Tar it into the /usr folder. Well, there's no law that says you *have* to use the ports system, but it's pretty strange not to take advantage of something so good... There are pre-compiled packages available, but these generally don't track the latest upstream updates to the ported software very efficiently. The ports tree does: updates to popular packages like apache generally go into the ports tree within a day or so of them being published. Rather than installing the ports and system sources by downloading tarballs from the FTP sites, there are arguments in favour of installing by running cvsup(1) to populate an empty directory. -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Oracle client question
On Monday 20 October 2003 20:07, Louis LeBlanc wrote: > Netra running Solaris8) to FreeBSD 5.x. The problem is that I am > inextricably tied to Oracle. Oh dear. You have my most sincere sympathies ;) > And no, I don't believe Linux is being considered as an actual runtime > platform option. LOL -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to get out of Africa?
> During installation, I accidentally hit Africa for my timezone. > I have looked all over the documentation, and I cannot find > out to reset my time zone. As root type /stand/sysinstall then select Configure from the menu and TimeZone from the next menu. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with NV driver - More information part 2
On Tuesday 21 October 2003 04:49, Jason Dictos wrote: > Section "Monitor" > Identifier "NEC2080UX" > HorizSync 74.9 > VertRefresh 59.9 > EndSection Hmmm, are you sure this is correct? Shouldn't they rather be _ranges_ ? Just a stab in the dark... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPC with socket connection?
hi- I have two processes running on the same computer communicating with sockets created with AF_INET. It works extraordinarily well. I choose all the normal stuff to make the sockets, but I think if I choose some other flags, specific to IPC on the same computer, then the connection will be much more optimized. Where should I look for optimization flags? I looked in all the normal places, but can't find any. TIA- -lance ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
What is a "unit" number of a device
What is a "unit" number of a device and how does it relate to the minor number of the device. Is there a generic relationship or dowes it differ between devives. TIA Riaan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weirdness with permissions after mounting USB flash drive
On Tue, 21 Oct 2003 09:15:58 +0200 Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > * Paul Murphy: > > > I _can_ read/write to it as root, but I would really like to use > > it > > as a non-root user. Any thoughts as to why this is happening? > > See FreeBSD FAQ[1]. Also, in /etc/fstab you may adjust the mode, > see below -m700 for msdos filesystem: > > /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 > usbd.conf: device "Flash Drive" devname "umass0" vendor 0x0ea0 product 0x2168 release 0x0200 attach "/sbin/mount /flash_drive" fstab: /dev/da0s1 /flash_drivemsdos rw,-m775,noauto 0 0 mounted permisions: d-1 root wheel22016 Dec 31 1979 flash_drive cd to /flash_drive as non-root user: flash_drive: Permission denied. FWIW: vfs.usermount: 1 (Mounting is no problem, usbd does that for me. It's _how_ it's mounted that is the problem) As a side note, the device has a little slider that is supposed to lock the drive from being written to. Does FreeBSD honour this? Is this a software or hardware lock? I'm pretty sure in the above case it is in the unlock position. -- Cogeco ergo sum pgp0.pgp Description: PGP signature
Re: Oracle client question
> Here's the real question: Is anyone out there linking CLIENT > applications that successfully connect to a separate Oracle server? Procedures for installing Oracle 9i under FreeBSD 5.X were posted to the freebsd-databases mailing list recently. Since the server install also installs client software this might be a solution to your problem. Mike Squires ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weirdness with permissions after mounting USB flash drive
* Paul Murphy: > Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > > > * Paul Murphy: > > > > > I _can_ read/write to it as root, but I would really like to use > > > it as a non-root user. Any thoughts as to why this is happening? > > > > [...] in /etc/fstab you may adjust the mode, see below -m700 for > > msdos filesystem: > > > > /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 > > fstab: /dev/da0s1 /flash_drive msdos rw,-m775,noauto 0 0 > > > mounted permisions: d- 1 root wheel 22016 Dec 31 1979 > flash_drive FWIW you could check if your specific FreeBSD supports the -m switch by looking at the mount_msdosfs man page. > As a side note, the device has a little slider that is supposed to > lock the drive from being written to. Does FreeBSD honour this? Is > this a software or hardware lock? I'm pretty sure in the above case > it is in the unlock position. No, AFAIK the write lock is a hardware lock that has nothing to do with the mount process. Best regards, -- Jean-Baptiste Quenot http://caraldi.com/jbq/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Where is the config file?
I would like to know where pkg_add keeps its configuration file? I mean when I execute the command 'pkg_add -r bzip2' how does it know that it needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ as opposed to packages-4-current? Also, along the same note, I searched through the handbook but could not find any information on how to convert a 4-STABLE to a 4-CURRENT. I want to only use CURRENT software not update my kernel to CURRENT. Is this possible? If pkg_add -r is provided a URL to a CURRENT directory, would it fetch all dependencies from the same directory or would it revert to its configured URL to fetch the dependencies? Thanks in advance. -D ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Recommendation for a live streamer that can take audio input
Hello BSDers, Wanted to know if anyone out there had a recommendation for a good audio streaming program. I had used the shoutcast DSP plugin and shoutcast executable server from shoutcast previously on 4.8, but I was never able to get it to work on 5.0. Has anyone set anything like this up on 5.0? I know that icecast can do mp3s and ogg, but i'm looking for something that can take audio input(from a stereo) and then channel that out. scott ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Wireless setups
Luke Kearney <[EMAIL PROTECTED]> writes: > On 19 Oct 2003 21:53:15 -0400 > Lowell Gilbert <[EMAIL PROTECTED]> spake thus: > > > Luke Kearney <[EMAIL PROTECTED]> writes: > > > > > Hi There, > > > I have recently installed 4.8R on my IBM Thinkpad notebook which > > > fortunately includes a wireless NIC. The nic is recognised as wi0 for > > > which I am grateful as Linux did not recognise the card first time > > > around. Now I often move between networks and having to set the wepkey > > > and ssid etc etc by hand will become very tiresome very quickly. I was > > > wondering if any one can point me in the direction of a better way to > > > set these. I am guessing that this will still have to be done after the > > > boot but what do people use ? > > > > > > I was able to get the interface up and ping other hosts so no problems > > > there but can this NIC be set for dhcp rather than having to go through > > > the grief of setting everything manually ? > > > > Doesn't WEP have to be configured *before* you can communicate with > > the DHCP server in the first place? > > Hi, > You are of course absolutely correct, so I am kinda wondering how to > manage this. Without connecting using the correct WEP it is a bit tough > to get an IP. > > Again, any insights into this are appreciated. Well, I'm not sure what you'd really like, so it's a little hard to say. Obviously there is a chicken-and-egg problem that will keep you from using DHCP to figure out the correct WEP key. You will need to start with the WEP key from some a priori knowledge and then (at best) let the machine use that to run DHCP. I suppose you could choose a pccard configuration by hand to select the WEP key and then reload the interface. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: question for portupgrade
"Michael Lee(HINET)" <[EMAIL PROTECTED]> writes: > Hi, > > After cvsupping the port tree ( originally installed by FreeBSD 5.1 Release > CD ), > I tried to do a portupgrade -acCv last night. > Everything seems to be upgraded fine except for Apache. > > The originally installed apache is apache-1.3.27_4. The portupgrade attempts > to upgrade it from > apache-1.3.27_4 to apache-1.3.28. > > Should I command portupgrade -f apache to force it update to the new version > ? > Or will it be better for me to first uninstall apache then do portupgrade -N > apache ? > > Since I also installed mod_fastcgi, mod_php4, mod_gzip, and phpMyAdmin > previously, > I think these packages depends on apache. > > Any suggestion ? > > Thanks! > > > Here is the error message I got. > > Stop in /usr/ports/www/apache13. > ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade5405.2 > make WITH_APACHE_SUEXEC=yes reinstall > egrep: /var/db/pkg/apache-1.3.27_4/+CONTENTS: No such file or directory > ---> Restoring the old version > ** Fix the installation problem and try again. > [Updating the pkgdb in /var/db/pkg ... - 78 packages > found (-0 +1) . done] > ---> Skipping 'www/mod_fastcgi' (mod_fastcgi-2.2.12) because 'www/apache13' > (apache-1.3.27_4) failed > ---> Skipping 'www/mod_php4' (mod_php4-4.3.1,1) because 'www/apache13' > (apache-1.3.27_4) failed > ---> Skipping 'www/mod_gzip' (mod_gzip-1.3.26.1a) because 'www/apache13' > (apache-1.3.27_4) failed > ---> Skipping 'databases/phpmyadmin' (phpMyAdmin-2.3.2) because > 'www/mod_php4' (mod_php4-4.3.1,1) failed > ** The following packages were not installed or upgraded (*:skipped / > !:failed) > ! www/apache13 (apache-1.3.27_4)(install error) > * www/mod_fastcgi (mod_fastcgi-2.2.12) > * www/mod_php4 (mod_php4-4.3.1,1) > * www/mod_gzip (mod_gzip-1.3.26.1a) > * databases/phpmyadmin (phpMyAdmin-2.3.2) Your package-database entry for Apache is corrupt. Either of your suggestions ('portupgrade -f' or deleting and rebuilding) should work, but I would tend to do it by hand to keep a closer eye on it (in case something else goes wrong, primarily). Your choice. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mplayer + sound problem
please. top-post, Don't Bryan Cassidy <[EMAIL PROTECTED]> writes: > I had a big problem yesterday with the PC. Don't want to get into that > but I had to reinstall.. Now that I did a reinstall I can play the video > in mplayer but no sound. For example I am tryin to play the new > IBM/Linux commercial located here > > http://rxns-rbn-sea02.rbn.com/ibmpdc/pdc/open/qtdemand/aug03/prodigy90_med.mpg > > The vid plays fine but no sound at all this time.. Do you have sound functionality at all? Did you remember to load it into your kernel (either in the kernel itself or by loading the kernel module)? Can you do a simple audio test from the command line? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problems with /usr/libexec/save-entropy
Ok, I'm an idiot! I MUST have done something to my system yesterday. It's been running fine, and around 3:00pm yesterday, I started receiving emails from Cron "/usr/local/save-entropy" saying: *User: not found I've tried everything, and looking into everything. I've checked my master.passwd and group (compared 'em to /usr/src/etc). I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared to another 5.1 (Release) box, and everhthing is the same. Could someone point me in the right direction? I'm running: 5.1 Current. I even did another update, build world, kernel and merge this morning, all to no avail! The line in my crontab is: */11 * * * * operator /usr/libexec/save-entropy And when I try to run it from the command line I get: /etc# /usr/libexec/save-entropy *User: not found Any/all help would be appreciated. Thanks! Robert Please CC me as I'm not currently subscribed to this list. THANKS! ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: restoring DOS partition from a tar file
Kent Hauser <[EMAIL PROTECTED]> writes: > Is it possible to backup a DOS partition (bootable) & restore it from a tar > file? I recently had a disk failure & used dump/restore on FreeBSD partitions > & made a tar dump of the DOS one. After "newfs_msdos" & "tar x", the > partition is not bootable. Is there a way to do this? Not from a tar file. I've only needed to do this once, and I used dd. [Plus fdisk(8), I guess...] The other obvious approach is to do a clean and basic DOS install and then restore the tar file on top of it. This won't work as well as you get to more recent versions of Microsoft OS, but I think it should still be possible. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
console connectivity question.
I have installed FreeBSD v4.8 on an Intel system that had a monitor and a keyboard attached at the time of install. I would now like to remove the monitor and keyboard and have a headless unit however I can't seem to make the serial port work as a console. Can't someone direct me to where to go to solve this problem? Thanks Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with /usr/libexec/save-entropy
On Tue, Oct 21, 2003 at 08:10:55AM -0500, Robert Small typed: > Ok, I'm an idiot! I MUST have done something to my system yesterday. It's been > running fine, and around 3:00pm yesterday, I started receiving emails from Cron > "/usr/local/save-entropy" saying: > > *User: not found Look for the string "*User" in /etc/rc.conf (and remove it). -Ruben > > I've tried everything, and looking into everything. I've checked my master.passwd > and group (compared 'em to /usr/src/etc). > > I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared > to another 5.1 (Release) box, and everhthing is the same. Could someone point me in > the right direction? > > I'm running: 5.1 Current. > > I even did another update, build world, kernel and merge this morning, all to no > avail! > > The line in my crontab is: > > */11 * * * * operator /usr/libexec/save-entropy > > And when I try to run it from the command line I get: > > /etc# /usr/libexec/save-entropy > *User: not found > > Any/all help would be appreciated. > > Thanks! > > Robert > > Please CC me as I'm not currently subscribed to this list. THANKS! > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: console connectivity question.
On Tue, Oct 21, 2003 at 07:11:53AM -0600, Tim Hogan typed: > I have installed FreeBSD v4.8 on an Intel system that had a monitor and > a keyboard attached at the time of install. I would now like to remove > the monitor and keyboard and have a headless unit however I can't seem > to make the serial port work as a console. Can't someone direct me to > where to go to solve this problem? Putting "-Dh" (without quotes) in /boot.config works for me. -Ruben > Thanks > Tim > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Where is the config file?
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: > I would like to know where pkg_add keeps its configuration file? I mean > when I execute the command 'pkg_add -r bzip2' how does it know that it > needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ > as opposed to packages-4-current? There isn't any configuration file. pkg_add determines the directory name to be used from the version of FreeBSD that is is running under. > > Also, along the same note, I searched through the handbook but could > not find any information on how to convert a 4-STABLE to a 4-CURRENT. I > want to only use CURRENT software not update my kernel to CURRENT. Is > this possible? Since 4-STABLE is newer than 4-CURRENT, I don't see why you would want to do that. 4-CURRENT was the name used to refer to the development branch of FreeBSD after the 3.x branch had been created and before 4.0-RELEASE had been made. After 4.0-RELEASE had been made the development branch was called 5-CURRENT. 4-STABLE is the branch that all the 4.x releases come from. > > If pkg_add -r is provided a URL to a CURRENT directory, would it fetch > all dependencies from the same directory or would it revert to its > configured URL to fetch the dependencies? > > Thanks in advance. If you want to override where pkg_add fetches packages from you can set the PACKAGEROOT and PACKAGESITE environment variables to appropriate values as described in the pkg_add(1) manpage. -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
cvsuping 5.x source
Hi I have been trying to use cvsup to update my 5.1 install, but something is not working right on this end. I have read the section in the handbook several times but still can't get it to work. This is the supfile that I am using with cvsup: # *default host=cvsup9.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5 *default delete use-rel-suffix *default compress # src-all # # eof But when I go to /usr/src and do the make buildkernel KERNELCONF=LOWFAT as root of course it tells me that make doesn't know how to make buildkernel. and when I ls the directory all that's there is sys. Shouldn't there be some sort of Makefile in there? I figure that's why make doesn't know what to do. Can someone tell me what I'm doing wrong here? I do have a kernel that I built with the source I downloaded after installing 5.1 using the LOWFAT configuration file, and it works fine. However to do this I had to use the first procedure listed in the handbook, because of course when I cd to /usr/src and make buildkernel it doesn't know what to do. Thanks -- Lute * Power Provided * * by * * FreeBSD 5.1 RELEASE * ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: console connectivity question.
Tim, I usually add "-h" to /boot.config and edit the "ttyd0" line in /etc/ttys to look something like: ttyd0 "/usr/libexec/getty std.9600" vt100 on secure Also see the FreeBSD handbook entry on this subject: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html -- Brendan Kelliher Tim Hogan wrote: I have installed FreeBSD v4.8 on an Intel system that had a monitor and a keyboard attached at the time of install. I would now like to remove the monitor and keyboard and have a headless unit however I can't seem to make the serial port work as a console. Can't someone direct me to where to go to solve this problem? Thanks Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Where is the config file?
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: > I would like to know where pkg_add keeps its configuration file? I mean > when I execute the command 'pkg_add -r bzip2' how does it know that it > needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ > as opposed to packages-4-current? pkg_add works out the path it looks for on the FTP servers from the system version number -- there isn't a specific configuration file for it. You can override the defaults by setting various environment variables: PACKAGEROOT, PACKAGESITE as described in the pkg_add(1) man page. If you're interested in exactly how pkg_add works out what URL to use, look at the definition of the 'releases' array near the top of /usr/src/usr.sbin/pkg_install/add/main.c Hmmm... I do believe I can see what might be a bijou little buglette there. Seems that there's no mention of packages-4.8-release or the impending packages-4.9-release. (Checks cvsweb...) Hmmm... Looks like only RELENG_4_8 branch gets an indication of where the 4.8-RELEASE packages are. Makes a certain kind of sense. > Also, along the same note, I searched through the handbook but could > not find any information on how to convert a 4-STABLE to a 4-CURRENT. I > want to only use CURRENT software not update my kernel to CURRENT. Is > this possible? Firstly, there's no such thing as 4-CURRENT and there hasn't been for several years. Your choices at the moment (other than one of the -RELEASE branches) are 4-STABLE or 5-CURRENT. Similarly, there is no 5-STABLE just yet: the omens are that it may appear alongside 5.3 release. This is documented in http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html and http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html Using 5-CURRENT is not recommended unless you are of FreeBSD developer calibre, as it is the bleeding edge and you will need quite a lot of code-fu to be able to deal with the fine messes it can get you into. You seem to be on 4-STABLE already -- unless you have a pressing reason, like you have hardware only supported in 5.x or insatiable curiosity, then I'd stick with that. If you must run a 5.x version go with 5.1-RELEASE which is the best and most recent 5.x code right now. As for upgrading from 4.x-STABLE to 5.x-RELEASE: this can be done by compiling the 5.x sources under 4.x, but it is by no means a trivial task, and there are various new features (like UFS2 filesystems) that you won't be able to take advantage of without extreme pain. Take a look at the instructions in /usr/src/UPDATING (see http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.251.2.12&content-type=text/x-cvsweb-markup&only_with_tag=RELENG_5_1 for details from the UPDATING file for 5.1-RELEASE -- the bit you want is pretty much right at the end of the file) On the whole, you may find it more productive to cut yourself some 5.1 Installation media, wipe your present system and do a fresh install. > If pkg_add -r is provided a URL to a CURRENT directory, would it fetch > all dependencies from the same directory or would it revert to its > configured URL to fetch the dependencies? From reading the source code, I believe that the first option will be the case, unless you set PKG_ADD_BASE in the environment. But I could be wrong. Trying a combination of the '-n' and -v' flags to pkg_add should let you confirm your suppositions without screwing up your system. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: console connectivity question.
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setu p.html - Original Message - From: "Ruben de Groot" <[EMAIL PROTECTED]> To: "Tim Hogan" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 21, 2003 2:20 PM Subject: Re: console connectivity question. > On Tue, Oct 21, 2003 at 07:11:53AM -0600, Tim Hogan typed: > > I have installed FreeBSD v4.8 on an Intel system that had a monitor and > > a keyboard attached at the time of install. I would now like to remove > > the monitor and keyboard and have a headless unit however I can't seem > > to make the serial port work as a console. Can't someone direct me to > > where to go to solve this problem? > > Putting "-Dh" (without quotes) in /boot.config works for me. > > -Ruben > > > Thanks > > Tim > > > > > > ___ > > [EMAIL PROTECTED] mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cvsuping 5.x source
On Tue, Oct 21, 2003 at 08:26:14AM -0500, Lute Mullenix wrote: > Hi I have been trying to use cvsup to update my 5.1 install, but > something is not working right on this end. I have read the section > in the handbook several times but still can't get it to work. > > This is the supfile that I am using with cvsup: > > # > *default host=cvsup9.FreeBSD.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=RELENG_5 There isn't any RELENG_5 tag yet. The RELENG_5 branch will probably be created around the time of 5.3-RELEASE. Until then you will either have to use tag=. (to get the latest from 5-CURRENT) or tag=RELENG_5_1 (to get 5.1-release + security fixes) (Or you can use RELENG_5_2 to get 5.2-release + security fixes.) -- Erik Trulsson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems with /usr/libexec/save-entropy
On Tue, Oct 21, 2003 at 08:10:55AM -0500, Robert Small wrote: > Ok, I'm an idiot! I MUST have done something to my system yesterday. It's been > running fine, and around 3:00pm yesterday, I started receiving emails from Cron > "/usr/local/save-entropy" saying: > > *User: not found > > I've tried everything, and looking into everything. I've checked my master.passwd > and group (compared 'em to /usr/src/etc). > > I've checked crontab (/etc/crontab), and root's crontab (empty). I've also compared > to another 5.1 (Release) box, and everhthing is the same. Could someone point me in > the right direction? > > I'm running: 5.1 Current. > > I even did another update, build world, kernel and merge this morning, all to no > avail! > > The line in my crontab is: > > */11 * * * * operator /usr/libexec/save-entropy > > And when I try to run it from the command line I get: > > /etc# /usr/libexec/save-entropy > *User: not found > > Any/all help would be appreciated. Check /etc/rc.conf for errors -- mismatched quote marks, that sort of thing. Run /usr/libexec/save-entropy in trace mode (it is a shell script), which should give you some idea of where and why it is blowing up: # sh -x /usr/libexec/save-entropy I think you've probably covered this one already, but make sure you have an 'operator' userid in /etc/master.passwd and an 'operator' group similarly in /etc/group. Run pwd_mkdb(8) to ensure that the db-format caches of the password database and /etc/passwd are consistent with the master files: # pwd_mkdb -p Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: Where is the config file?
The reason I am asking all these questions is that I am exploring the possibility of of writing an apt-get like application for FreeBSD (call it apt-pkg). Apt-get was written to help out dpkg in Debian. pkg_add has a lot more features than dpkg but not the update/upgrade features of apt-get. So pkg_add simply requires an 'aide' applcation that simply provides pkg_add information on what to install - kind of a gentler user interface for pkg_add. anyone aware of such a project. Do not want to reinvent the wheel here. But having used debian for some time, I have come to appreciate the appeal this has for ne users and users who simply want to install binaries. Thanks for the rseponses. -D PS: I am thinking of writing it in Python. Good/Bad --- Matthew Seaman <[EMAIL PROTECTED]> wrote: > On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: > > I would like to know where pkg_add keeps its configuration file? I > mean > > when I execute the command 'pkg_add -r bzip2' how does it know that > it > > needs to fetch it from > ftp://ftp.freebsd.org/./packages-4-stable/ > > as opposed to packages-4-current? > > pkg_add works out the path it looks for on the FTP servers from the > system version number -- there isn't a specific configuration file > for > it. You can override the defaults by setting various environment > variables: PACKAGEROOT, PACKAGESITE as described in the pkg_add(1) > man > page. > > If you're interested in exactly how pkg_add works out what URL to > use, > look at the definition of the 'releases' array near the top of > /usr/src/usr.sbin/pkg_install/add/main.c Hmmm... I do believe I can > see what might be a bijou little buglette there. Seems that there's > no mention of packages-4.8-release or the impending > packages-4.9-release. (Checks cvsweb...) Hmmm... Looks like only > RELENG_4_8 branch gets an indication of where the 4.8-RELEASE > packages > are. Makes a certain kind of sense. > > > Also, along the same note, I searched through the handbook but > could > > not find any information on how to convert a 4-STABLE to a > 4-CURRENT. I > > want to only use CURRENT software not update my kernel to CURRENT. > Is > > this possible? > > Firstly, there's no such thing as 4-CURRENT and there hasn't been for > several years. Your choices at the moment (other than one of the > -RELEASE branches) are 4-STABLE or 5-CURRENT. Similarly, there is no > 5-STABLE just yet: the omens are that it may appear alongside 5.3 > release. This is documented in > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html > > and > > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html > > Using 5-CURRENT is not recommended unless you are of FreeBSD > developer > calibre, as it is the bleeding edge and you will need quite a lot of > code-fu to be able to deal with the fine messes it can get you into. > You seem to be on 4-STABLE already -- unless you have a pressing > reason, like you have hardware only supported in 5.x or insatiable > curiosity, then I'd stick with that. If you must run a 5.x version > go > with 5.1-RELEASE which is the best and most recent 5.x code right > now. > > As for upgrading from 4.x-STABLE to 5.x-RELEASE: this can be done by > compiling the 5.x sources under 4.x, but it is by no means a trivial > task, and there are various new features (like UFS2 filesystems) that > you won't be able to take advantage of without extreme pain. Take a > look at the instructions in /usr/src/UPDATING (see > http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.251.2.12&content-type=text/x-cvsweb-markup&only_with_tag=RELENG_5_1 > for details from the UPDATING file for 5.1-RELEASE -- the bit you > want > is pretty much right at the end of the file) On the whole, you may > find it more productive to cut yourself some 5.1 Installation media, > wipe your present system and do a fresh install. > > > If pkg_add -r is provided a URL to a CURRENT directory, would it > fetch > > all dependencies from the same directory or would it revert to its > > configured URL to fetch the dependencies? > > From reading the source code, I believe that the first option will be > the case, unless you set PKG_ADD_BASE in the environment. But I > could > be wrong. Trying a combination of the '-n' and -v' flags to pkg_add > should let you confirm your suppositions without screwing up your > system. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks > Savill Way > PGP: http://www.infracaninophile.co.uk/pgpkey Marlow > Tel: +44 1628 476614 Bucks., SL7 1TH > UK > > ATTACHMENT part 2 application/pgp-signature ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMA
Re: IPFW Antics
"Tom Servo" <[EMAIL PROTECTED]> writes: > Each time that I see the request dialog come up in my IRC client the request > times out because I think that my gateway is dropping the request packets > instead of forwarding them to my IRC machine. I know that ircd usually runs > on port 6667 so I am guessing that DCC requests must land in the same area. > I specified all ports from -7000 to be safe but maybe these are the > wrong ports??? You'd need to check the IRC docs for that. Or look at the traffic on the wire; I use tcpdump(1) for that. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
log_in_vain trouble
I've got two very similar systems, the one in question - FreeBSD janis 4.8-RELEASE-p13 FreeBSD 4.8-RELEASE-p13 #0: Thu Oct 16 09:58:29 CDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM i386 I can't seem to get log_in_vain to work. I've added log_in_vain="YES" to rc.conf. I went so far as to reboot the computer but attempts aren't logged. I ran the following two commands - # sysctl -w net.inet.tcp.log_in_vain=1 # sysctl -w net.inet.udp.log_in_vain=1 and restarted syslogd. Still no joy. A "telnet janis 21" should activate this directive but it does not. It does on my other FreeBSD system. What am I missing in order to get this to work? Thanks, Kent -- "I am always doing that which I can not do, in order that I may learn how to do it." --Pablo Picasso ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [freebsd-questions] root passwd change
On Tue, 21 Oct 2003 08:55:54 -0400 Lowell Gilbert <[EMAIL PROTECTED]> wrote: > Eric Pogroski <[EMAIL PROTECTED]> writes: > > > On Tue, 07 Oct 2003 19:37:19 + > > DanB <[EMAIL PROTECTED]> wrote: > > > > > Is there other way to change the root password that been lost > > > without shutting down the computer. > > > > > > Old way shutdown space barboot -s #mount -t ufs -a > > > #passwd > > > # exit to multiusers. > > > > Try this: > > > > # shutdown now > > < hit return to accept 'sh' as the default shell > > > # passwd > > # exit > > Did you try that? many, many times in the past... :) > Won't it still be in the raised securelevel? nope. sorry about the brevity of my previous reply, in a bit of a rush then. here's whats needed: # shutdown now # (csh & tcsh both go fubar in single-user mode) # passwd root <--- this is important - lost one system by NOT doing this # exit -or-reboot <--- I prefer a reboot, but that's me. work's about 9 times out of 10. It's the tenth one that makes you bald from frustration... :) ps: cc your replies to [EMAIL PROTECTED] so this stuff will get to the archives. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: VXA-2 Packet Drive
"Jeronimo Romero" <[EMAIL PROTECTED]> writes: > Does anyone know if FreeBSD supports Exabyte VXA-2 Packet Drives?? > We are interested in purchasing one but i didn't see it in the > hardware compatibility list and we wanted to make > sure. I believe those devices are SCSI, in which case they should work fine. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
USB and routing...
...but not necessarily in relation to one another. ;-) This is my second go at FreeBSD, and it's my umpteenth one with UNIXes in general. Having done my share of Linux (with one recent battle being setting up a web/mail/NFS/NIS/Samba server for a school project. *puh* I thought I knew what frustration was, but boy was I wrong!), I've moved onto FreeBSD because - well, I think it's easier to set up, and you don't have to relate to several different versions of the same OS. Now, onto my questions: 1. I have installed onto a laptop computer, with a USB mouse and a touchpad. Now, up until very recently, the USB mouse worked fine when I inserted it and took it out while the system was on, and the console output showed usbd doing its thing. However, the other day this stopped working, and I now have to have the USB mouse inserted at startup for it to function at all. This is, of course, no biggie, but it kinda defeats the purpose of the whole USB thing, doesn't it? The touchpad, however, works perfectly, always. 2. I have one built-in NIC and a Wireless NIC, both of which work perfectly, the way they're supposed to. Now, my beef is that the Wireless NIC is used for home, and gets IP via DHCP from my router. The built-in NIC is used for school, must have IP assigned manually (from rc.conf), and has a totally different IP range that my network at home. This, of course, leads to mayhem when the default route is to be established. If I enter the gateway at school statically, my laptop gets online at school, but not at home. If I don't, my laptop gets online at home, but I have to manually "route add default etc" everytime I want to go online at school. Is there a tidy way to do this automatically? One default route per NIC, for instance? Thanks for all help, please CC me, as I'm on digest mode. :-D -- Henrik W Lund ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: console connectivity question.
Thnaks to all who replied. Tim > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setu > p.html > - Original Message - > From: "Ruben de Groot" <[EMAIL PROTECTED]> > To: "Tim Hogan" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, October 21, 2003 2:20 PM > Subject: Re: console connectivity question. > > >> On Tue, Oct 21, 2003 at 07:11:53AM -0600, Tim Hogan typed: >> > I have installed FreeBSD v4.8 on an Intel system that had a monitor >> and >> > a keyboard attached at the time of install. I would now like to >> remove >> > the monitor and keyboard and have a headless unit however I can't seem >> > to make the serial port work as a console. Can't someone direct me to >> > where to go to solve this problem? >> >> Putting "-Dh" (without quotes) in /boot.config works for me. >> >> -Ruben >> >> > Thanks >> > Tim >> > >> > >> > ___ >> > [EMAIL PROTECTED] mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" >> ___ >> [EMAIL PROTECTED] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to > "[EMAIL PROTECTED]" >> > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Where is the config file?
You might want to look at the portupgrade tool in the ports collection. It supports a '-P' flag that tells it to use packages instead of compiling from source. It does an excellent job of handling dependencies (if used correctly), and is very easy to use. It may be better to create a "friendly face" to using portupgrade, rather than creating yet another tool that does the same thing. I am not familiar with apt-get but I believe portupgrade would provide a solid package management engine to whatever interface you choose to build around it. Seeya...Q On Tue, 2003-10-21 at 23:40, Dinesh Nadarajah wrote: > The reason I am asking all these questions is that I am exploring the > possibility of of writing an apt-get like application for FreeBSD (call > it apt-pkg). Apt-get was written to help out dpkg in Debian. pkg_add > has a lot more features than dpkg but not the update/upgrade features > of apt-get. So pkg_add simply requires an 'aide' applcation that simply > provides pkg_add information on what to install - kind of a gentler > user interface for pkg_add. > > anyone aware of such a project. Do not want to reinvent the wheel here. > But having used debian for some time, I have come to appreciate the > appeal this has for ne users and users who simply want to install > binaries. > > Thanks for the rseponses. > > -D > > PS: I am thinking of writing it in Python. Good/Bad > > > --- Matthew Seaman <[EMAIL PROTECTED]> wrote: > > On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: > > > I would like to know where pkg_add keeps its configuration file? I > > mean > > > when I execute the command 'pkg_add -r bzip2' how does it know that > > it > > > needs to fetch it from > > ftp://ftp.freebsd.org/./packages-4-stable/ > > > as opposed to packages-4-current? > > > > pkg_add works out the path it looks for on the FTP servers from the > > system version number -- there isn't a specific configuration file > > for > > it. You can override the defaults by setting various environment > > variables: PACKAGEROOT, PACKAGESITE as described in the pkg_add(1) > > man > > page. > > > > If you're interested in exactly how pkg_add works out what URL to > > use, > > look at the definition of the 'releases' array near the top of > > /usr/src/usr.sbin/pkg_install/add/main.c Hmmm... I do believe I can > > see what might be a bijou little buglette there. Seems that there's > > no mention of packages-4.8-release or the impending > > packages-4.9-release. (Checks cvsweb...) Hmmm... Looks like only > > RELENG_4_8 branch gets an indication of where the 4.8-RELEASE > > packages > > are. Makes a certain kind of sense. > > > > > Also, along the same note, I searched through the handbook but > > could > > > not find any information on how to convert a 4-STABLE to a > > 4-CURRENT. I > > > want to only use CURRENT software not update my kernel to CURRENT. > > Is > > > this possible? > > > > Firstly, there's no such thing as 4-CURRENT and there hasn't been for > > several years. Your choices at the moment (other than one of the > > -RELEASE branches) are 4-STABLE or 5-CURRENT. Similarly, there is no > > 5-STABLE just yet: the omens are that it may appear alongside 5.3 > > release. This is documented in > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvs-tags.html > > > > and > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html > > > > Using 5-CURRENT is not recommended unless you are of FreeBSD > > developer > > calibre, as it is the bleeding edge and you will need quite a lot of > > code-fu to be able to deal with the fine messes it can get you into. > > You seem to be on 4-STABLE already -- unless you have a pressing > > reason, like you have hardware only supported in 5.x or insatiable > > curiosity, then I'd stick with that. If you must run a 5.x version > > go > > with 5.1-RELEASE which is the best and most recent 5.x code right > > now. > > > > As for upgrading from 4.x-STABLE to 5.x-RELEASE: this can be done by > > compiling the 5.x sources under 4.x, but it is by no means a trivial > > task, and there are various new features (like UFS2 filesystems) that > > you won't be able to take advantage of without extreme pain. Take a > > look at the instructions in /usr/src/UPDATING (see > > > http://www.freebsd.org/cgi/cvsweb.cgi/src/UPDATING?rev=1.251.2.12&content-type=text/x-cvsweb-markup&only_with_tag=RELENG_5_1 > > for details from the UPDATING file for 5.1-RELEASE -- the bit you > > want > > is pretty much right at the end of the file) On the whole, you may > > find it more productive to cut yourself some 5.1 Installation media, > > wipe your present system and do a fresh install. > > > > > If pkg_add -r is provided a URL to a CURRENT directory, would it > > fetch > > > all dependencies from the same directory or would it revert to its > > > configured URL to fetch the dependencies? > > > > From reading the source code, I
Re: USB and routing...
On Tuesday 21 October 2003 17:26, Henrik W Lund wrote: > ...but not necessarily in relation to one another. ;-) > > This is my second go at FreeBSD, and it's my umpteenth one with UNIXes in > general. Having done my share of Linux (with one recent battle being > setting up a web/mail/NFS/NIS/Samba server for a school project. *puh* I > thought I knew what frustration was, but boy was I wrong!), I've moved onto > FreeBSD because - well, I think it's easier to set up, and you don't have > to relate to several different versions of the same OS. Now, onto my > questions: > > 1. I have installed onto a laptop computer, with a USB mouse and a > touchpad. Now, up until very recently, the USB mouse worked fine when I > inserted it and took it out while the system was on, and the console output > showed usbd doing its thing. However, the other day this stopped working, > and I now have to have the USB mouse inserted at startup for it to function > at all. This is, of course, no biggie, but it kinda defeats the purpose of > the whole USB thing, doesn't it? The touchpad, however, works perfectly, > always. I think you don't have "usbd" running. Check if you have usbd_enable="YES" in /etc/rc.conf > 2. I have one built-in NIC and a Wireless NIC, both of which work > perfectly, the way they're supposed to. Now, my beef is that the Wireless > NIC is used for home, and gets IP via DHCP from my router. The built-in NIC > is used for school, must have IP assigned manually (from rc.conf), and has > a totally different IP range that my network at home. This, of course, > leads to mayhem when the default route is to be established. If I enter the > gateway at school statically, my laptop gets online at school, but not at > home. If I don't, my laptop gets online at home, but I have to manually > "route add default etc" everytime I want to go online at school. Is there a > tidy way to do this automatically? One default route per NIC, for instance? You could create a script that checks every X-seconds if the network card is connected. If the status goes to "active", add your schools gateway. If the status goes to "no carrier", change to your wireless gateway. (you can get the status from ifconfig) grtz, Daan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Automatic mounting of removable meadia
Hi list, Is it possible to automatically mount media when they are inserted? From the GNOME 2.4 documentation (Nautilus, 1.8.1:To mount Media): " If your system is not configured to mount the device automatically, you must mount the device manually. Right-click on the desktop, then choose Disks->device-name. For example, to mount a floppy diskette, choose Disks->Floppy. An object that represents the media is added to the desktop. " So, how can i configure FreeBSD to mount the device automatically? Unfortunately, the GNOME way to manually mount media via an entry in /etc/fstab does not work under FreeBSD since the mountpoint must be owned by the user, which is difficult to configure for a multiuser system. Any solution? Heinrich -- Heinrich Rebehn University of Bremen Physics / Electrical and Electronics Engineering - Department of Telecommunications - Phone : +49/421/218-4664 Fax :-3341 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
unable to use multiple exports for mountd
I have been dealing with this problem for many years and never really found a reasonable solution or explanation and now it has come to a point where I can no longer find work arounds to make it work the way I need it. How do I export more than one folder for export with different options for each? Here is my current exports file /share /usr/ports -mapall=root /usr/src /usr/obj /syscommon -ro -mapall=root but I get the following when I try to run mountd: Oct 21 10:24:49 butters mountd[80376]: can't change attributes for /syscommon Oct 21 10:24:49 butters mountd[80376]: bad exports list line /syscommon -ro -mapall If I reverse the exports to the following: /usr/src /usr/obj /syscommon -ro -mapall=root /share /usr/ports -mapall=root I get the following: Oct 21 10:38:20 butters mountd[1465]: can't change attributes for /usr/ports Oct 21 10:38:20 butters mountd[1465]: bad exports list line /share /usr/src /usr/obj /usr/ports -mapall It seems no matter which way I put the exports its always the second one that fails. Looking at the example in man exports(5) I see the same thing between the first entry and the 5th onethis seems to imply that what I am trying to do with my exports file should work just fine. from man page: /usr /usr/local -maproot=0:10 friends /usr -maproot=daemon grumpy.cis.uoguelph.ca 131.104.48.16 /usr -ro -mapall=nobody /u -maproot=bin: -network 131.104.48 -mask 255.255.255.0 /u2 -maproot=root friends /u2 -alldirs -network cis-net -mask cis-mask /cdrom -alldirs,quiet,ro -network 192.168.33.0 -mask 255.255.255.0 So where am I going wrong here? Jason Cribbins ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SCSI Host Adapter recommendation
Greetings, I am building a department level server and am going to be running Freebsd & Samba on it instead of the windows headache. The machine is going to have a 12/24GB Dat tape drive, and so I'm looking to find an inexpensive, but works straight out of the box with FreeBSD scsi host adapter. Anybody want to chime in ? Or should I just choose an Adaptec card and be done ? thanks, Darryl ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Automatic mounting of removable meadia
On Tue, 21 Oct 2003 15:19:08 +0200 Heinrich Rebehn <[EMAIL PROTECTED]> wrote: > Hi list, > > Is it possible to automatically mount media when they are inserted? > From the GNOME 2.4 documentation (Nautilus, 1.8.1:To mount Media): > > " > If your system is not configured to mount the device automatically, > you must mount the device manually. Right-click on the desktop, then > choose Disks->device-name. For example, to mount a floppy diskette, > choose Disks->Floppy. An object that represents the media is added to > the desktop." > > So, how can i configure FreeBSD to mount the device automatically? > > Unfortunately, the GNOME way to manually mount media via an entry in > /etc/fstab does not work under FreeBSD since the mountpoint must be > owned by the user, which is difficult to configure for a multiuser > system. > > Any solution? > > Heinrich > -- man (8) amd ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SCSI Host Adapter recommendation
I used to go with adeptecs, but now use tekrams - they seem faster. On Tue, 21 Oct 2003, Darryl Hoar wrote: > Greetings, > I am building a department level server and > am going to be running Freebsd & Samba on > it instead of the windows headache. The > machine is going to have a 12/24GB Dat tape > drive, and so I'm looking to find an inexpensive, > but works straight out of the box with FreeBSD > scsi host adapter. > > Anybody want to chime in ? Or should I > just choose an Adaptec card and be done ? > > thanks, > Darryl > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gettext compile problem
Hello viewers. Can someone talk me through on what to look for so I can start solving these myself.. Information: 4.8 stable / gettext-0.12.1 I have tried removing from distfiles and remaking and reinstall.. I can follow some of what is going on here, but can you give me some detail? What is my next step in thinking? -verbose Thanks! Aaron Making all in lib Making all in libasprintf make all-am /bin/sh ./libtool --mode=link c++ -O -pipe -L/usr/local/lib -o libasprintf.la -rpath /usr/local/lib lib-asprintf.lo autosprintf.lo c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/ lib-asprintf.o .libs/autosprintf.o -Wl,--whole-archive /usr/local/lib/./ libstdc++.a -Wl,--no-whole-archive -L/usr/local/lib/gcc-lib/ i386-portbld-freebsd4.8/../.. -L/usr/ports/lang/gcc33/work/build/gcc -L/ usr/ ports/lang/gcc33/work/build/i386-portbld-freebsd4.8/libstdc++-v3/src/.li bs -L/usr/ports/lang/gcc33/work/build/i386-portbld-freebsd4.8/libstdc++-v3/ src -L/usr/local/lib -L/usr/lib -lm -lgcc /usr/lib/crtendS.o /usr/lib/crtn.o -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0 /usr/lib/libgcc.a(new.o)(.data+0x0): multiple definition of `__new_handler' /usr/local/lib/./libstdc++.a(new_handler.o)(.bss.__new_handler+0x0): first defined here /usr/lib/libgcc.a(tinfo2.o): In function `__dynamic_cast': tinfo2.o(.text+0x7d8): multiple definition of `__dynamic_cast' /usr/local/lib/./libstdc++.a(tinfo.o)(.text.__dynamic_cast+0x0): first defined here /usr/libexec/elf/ld: Warning: size of symbol `__dynamic_cast' changed from 250 to 75 in /usr/lib/libgcc.a(tinfo2.o) *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime/ libasprintf. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime/ libasprintf. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1/gettext-runtime. *** Error code 1 Stop in /usr/ports/devel/gettext/work/gettext-0.12.1. *** Error code 1 Stop in /usr/ports/devel/gettext. Aaron Sloan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Where is the config file?
On Tue, Oct 21, 2003 at 05:27:42AM -0700, Dinesh Nadarajah wrote: > I would like to know where pkg_add keeps its configuration file? I mean > when I execute the command 'pkg_add -r bzip2' how does it know that it > needs to fetch it from ftp://ftp.freebsd.org/./packages-4-stable/ > as opposed to packages-4-current? There is no packages-4-current (or 4-CURRENT). See the pkg_add manpage for the list of available options and environment variables that control its behaviour. Kris pgp0.pgp Description: PGP signature
Re: Hosed system
> > Operating system: i386-pc-freebsd4.8 > > /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no > > run-time > > symbol table > > /usr/libexec/ld-elf.so.1: /usr/lib/libcrypt.so.2: Shared object has no > > run-time > > symbol table > > This system (FreeBSD-elf) is not supported. See file INSTALL for details. > > ===> Building for openssl-0.9.7b_1 > > make: don't know how to make freebsd-shared. Stop > > *** Error code 2 > > > > Stop in /usr/ports/security/openssl. > > pkg_add -r openssl ? Well... thought it was fixed, but am now getting this : /usr/libexec/ld-elf.so.1: /usr/lib/libskey.so.2: Undefined symbol "crypt" any insight appreciated... thanks. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help with NV driver - More information part 2
Well, I've tried ranges too with the same results -Jason -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:40 AM To: [EMAIL PROTECTED] On Tuesday 21 October 2003 04:49, Jason Dictos wrote: > Section "Monitor" > Identifier "NEC2080UX" > HorizSync 74.9 > VertRefresh 59.9 > EndSection Hmmm, are you sure this is correct? Shouldn't they rather be _ranges_ ? Just a stab in the dark... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: unable to use multiple exports for mountd
On Tuesday, October 21, 2003, at 11:21 AM, Jason Cribbins wrote: I have been dealing with this problem for many years and never really found a reasonable solution or explanation and now it has come to a point where I can no longer find work arounds to make it work the way I need it. How do I export more than one folder for export with different options for each? Use symlinks to create seperate export points which refer to that same one folder. I've written up a document which might give you some insight: http://www.pkix.net/~chuck/NFS/article.html -- -Chuck ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing an Unsupported Driver
I have an old HP J2575 10/100 ethernet card that does not seem to be supported by FreeBSD. I found a driver for it on the Debian Linus web site. Can I install the Debian driver in FreeBSD, or must I switch to Debian to make this particular machine useful? If I can install a new driver in FreeBSD, any hint of a direction to the appropriate documentation would be appreciated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SCSI Host Adapter recommendation
On Tue, Oct 21, 2003 at 11:30:15AM -0400, Steve Hovey wrote: > > I used to go with adeptecs, but now use tekrams - they seem faster. > On another mailing the general opinion is that Adaptec host adapters are overpriced. I am using a LSI Logic U160 adapter in my system. Marc -- Marc Wiz [EMAIL PROTECTED] Yes, that really is my last name. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Help with NV driver - More information part 2
On Tuesday 21 October 2003 17:30, Jason Dictos wrote: > Well, I've tried ranges too with the same results I'd suggest you leave the ranges in for starters... then what does the XServer's log file say? Logging has been vastly improved in XFree over the years... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trying to see website from the Internet
Hi, I'm having all kinds of trouble trying to get things set up to see my website on the Internet. I know people like to claim to be newbies, but I actually am. :-) My machine (ethernet card) IP is 192.168.254.25 and I'm serving on port 8080. I can bring up the site no problem on my LAN- http://192.168.254.25:8080/, but not outside. My ISP is earthlink and it's a dynamic IP account. Right now the WAN IP is: 68.164.84.178. Trying http://68.164.84.178:8080/ doesn't work. I've opened the port, 8080, on the router. What should I look at to solve this? I have unsuccessfully scoured the complete freebsd book, handbook, and archives. But haven't found anything to address this specific problem yet, although it seems straightforward. If you think I don't understand networks exactly, you are correct; but it's not for lack of trying. Thanks for help, Micke __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
On Tue, 21 Oct 2003, Micke P wrote: > > Hi, > > I'm having all kinds of trouble trying to get things > set up to see my website on the Internet. I know > people like to claim to be newbies, but I actually am. > :-) > > My machine (ethernet card) IP is 192.168.254.25 and > I'm serving on port 8080. I can bring up the site no > problem on my LAN- http://192.168.254.25:8080/, but > not outside. > > My ISP is earthlink and it's a dynamic IP account. > Right now the WAN IP is: 68.164.84.178. Trying > http://68.164.84.178:8080/ doesn't work. I've opened > the port, 8080, on the router. > > What should I look at to solve this? I have > unsuccessfully scoured the complete freebsd book, > handbook, and archives. But haven't found anything to > address this specific problem yet, although it seems > straightforward. If you think I don't understand > networks exactly, you are correct; but it's not for > lack of trying. I'm assuming since you say you can view it at http://192.168.254.25:8080/ that you've told apache to listen to port 8080--have you also entered your hostname or IP address under ServerName? Cheers, Viktor ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Postfix smtp connect problem
I am running FreeBSD stable (4.9 pre) I installed Postfix from ports. If I log onto the server I can send mail using the "mail" command. If I try an external mail client it times out. For some reasion postfix is not allowing connections other then local host. Can someone tell me how to fix this? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
> > Hi, > > I'm having all kinds of trouble trying to get things > set up to see my website on the Internet. I know > people like to claim to be newbies, but I actually am. > :-) > > My machine (ethernet card) IP is 192.168.254.25 and > I'm serving on port 8080. I can bring up the site no > problem on my LAN- http://192.168.254.25:8080/, but > not outside. > > My ISP is earthlink and it's a dynamic IP account. > Right now the WAN IP is: 68.164.84.178. Trying > http://68.164.84.178:8080/ doesn't work. I've opened > the port, 8080, on the router. When you say you have opened the port on your firewall, are you speaking of the firewall on your FreeBSD box or a Hardware firewall? For example, if you have a linksys router you would have to Forward your TCP port 8080 to the 192.168.254.25 box. > What should I look at to solve this? I have > unsuccessfully scoured the complete freebsd book, > handbook, and archives. But haven't found anything to > address this specific problem yet, although it seems > straightforward. If you think I don't understand > networks exactly, you are correct; but it's not for > lack of trying. if you can get to the website from inside your firewall then it is a routing issue. Just check above and make sure your firewall is routing to the correct box. > Thanks for help, > Micke ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
Hi Viktor, See comments below. --- Viktor Lazlo <[EMAIL PROTECTED]> wrote: > > > On Tue, 21 Oct 2003, Micke P wrote: > > > > > Hi, > > > > I'm having all kinds of trouble trying to get > things > > set up to see my website on the Internet. I know > > people like to claim to be newbies, but I actually > am. > > :-) > > > > My machine (ethernet card) IP is 192.168.254.25 > and > > I'm serving on port 8080. I can bring up the site > no > > problem on my LAN- http://192.168.254.25:8080/, > but > > not outside. > > > > My ISP is earthlink and it's a dynamic IP account. > > Right now the WAN IP is: 68.164.84.178. Trying > > http://68.164.84.178:8080/ doesn't work. I've > opened > > the port, 8080, on the router. > > > > What should I look at to solve this? I have > > unsuccessfully scoured the complete freebsd book, > > handbook, and archives. But haven't found anything > to > > address this specific problem yet, although it > seems > > straightforward. If you think I don't understand > > networks exactly, you are correct; but it's not > for > > lack of trying. > > I'm assuming since you say you can view it at > http://192.168.254.25:8080/ Yes. On my LAN only. > that you've told apache to listen to port 8080 Yes. >--have > you also entered your > hostname or IP address under ServerName? Yes. There seems to be no problem with Apache. The site is being served fine. It's the internet getting the "signal," that's the problem. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Postfix smtp connect problem
Hi, dhull <[EMAIL PROTECTED]> wrote: > I am running FreeBSD stable (4.9 pre) > > I installed Postfix from ports. > > If I log onto the server I can send mail using the "mail" > command. If I try an external mail client it times out. > > For some reasion postfix is not allowing connections other then local host. > > Can someone tell me how to fix this? if you post some output (errors) from /var/log/mail, there is a chance to help you. the output from `postconf -n` would be interesting too. Sven -- 6. I will not gloat over my enemies' predicament before killing them. --Peter Anspach's list of things to do as an Evil Overlord --[rand. sig. #11] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Noob FreeBSD 5.1 install question
> Well, there's no law that says you *have* to use the ports system, but > it's pretty strange not to take advantage of something so good... > There are pre-compiled packages available, but these generally don't > track the latest upstream updates to the ported software very > efficiently. The ports tree does: updates to popular packages like > apache generally go into the ports tree within a day or so of them > being published. > > Rather than installing the ports and system sources by downloading > tarballs from the FTP sites, there are arguments in favour of > installing by running cvsup(1) to populate an empty directory. Sorry, what i was saying is that instead of installing the PORTS from the cd I was downloading the latest and greatest ports Tarball from the www.freebsd.org/ports site. Not the fact that I don't use them.. But thank you for the valuable info. I will put it in my book so I can remember to use it tonight. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
--- [EMAIL PROTECTED] wrote: > > > > Hi, > > > > I'm having all kinds of trouble trying to get > things > > set up to see my website on the Internet. I know > > people like to claim to be newbies, but I actually > am. > > :-) > > > > My machine (ethernet card) IP is 192.168.254.25 > and > > I'm serving on port 8080. I can bring up the site > no > > problem on my LAN- http://192.168.254.25:8080/, > but > > not outside. > > > > My ISP is earthlink and it's a dynamic IP account. > > Right now the WAN IP is: 68.164.84.178. Trying > > http://68.164.84.178:8080/ doesn't work. I've > opened > > the port, 8080, on the router. > > When you say you have opened the port on your > firewall, are you speaking > of the firewall on your FreeBSD box or a Hardware > firewall? For example, > if you have a linksys router you would have to > Forward your TCP port 8080 > to the 192.168.254.25 box. I opened the port on my (hardware) router box, not the FreeBSD firewall. Internet -> ISP -> Modem -> Router -> FreeBSD box. Hopefully that's all I need to do to forward the port 8080 packets. Do I need to configure the FreeBSD firewall settings as well to reflect the port? > > > What should I look at to solve this? I have > > unsuccessfully scoured the complete freebsd book, > > handbook, and archives. But haven't found anything > to > > address this specific problem yet, although it > seems > > straightforward. If you think I don't understand > > networks exactly, you are correct; but it's not > for > > lack of trying. > > if you can get to the website from inside your > firewall then it is a > routing issue. Just check above and make sure your > firewall is routing to > the correct box. This sounds right. And I'm glad to have a name for the problem. There are two firewalls then, the router's and FreeBSD's. I've only given attention to the former... __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
> I opened the port on my (hardware) router box, not the > FreeBSD firewall. Internet -> ISP -> Modem -> Router > -> FreeBSD box. Hopefully that's all I need to do to > forward the port 8080 packets. Do I need to configure > the FreeBSD firewall settings as well to reflect the > port? no, if you can get to the website from inside your hardware firewall (a machine other then your freeBSD box) then the problem ly's with either your hardware firewall, or your ISP. What Brand firewall do you have? Remeber that just opening port 8080 will not work, you have to go into the "Port Forwarding" section of your firewall and forward the 8080 port to your inside box > This sounds right. And I'm glad to have a name for the > problem. There are two firewalls then, the router's > and FreeBSD's. I've only given attention to the former... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Re: Postfix smtp connect problem
I think I found the problem. It had something to do with the "aliases" file. I noticed this when I ran "postfix start" at the command line. Before that I was doing everything from webmin. Webmin is nice but in this case it didn't give me any error messages. Not good. ---Original Message--- > From: Sven Pfeifer <[EMAIL PROTECTED]> > Subject: Re: Postfix smtp connect problem > Sent: Oct 21 2003 19:38:05 > > Hi, > > dhull wrote: > > I am running FreeBSD stable (4.9 pre) > > > > I installed Postfix from ports. > > > > If I log onto the server I can send mail using the "mail" > > command. If I try an external mail client it times out. > > > > For some reasion postfix is not allowing connections other then local host. > > > > Can someone tell me how to fix this? > > if you post some output (errors) from /var/log/mail, there is > a chance to help you. the output from `postconf -n` would be > interesting too. > > > > Sven > > -- > 6. I will not gloat over my enemies' predicament before killing them. > --Peter Anspach's list of things to do as an Evil Overlord > --[rand. sig. #11] > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" ---Original Message--- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
vncserver, rc.local, and blackbox problem
Ok, for today's edition of Show Scott What Stupid Thing He Missed... Trying to set up a dedicated VNC/ethereal server, so I'm trying to have vncserver run from rc.local (using su to run it as a user and not root). Ran into some path issues to make vncserver happy, which I resolved, but for some reason blackbox won't run and it doesn't _seem_ to be paths. Strangely enough, ethereal (which is loaded from the same ~/.vnx/xstartup file as blackbox) DOES launch (I just have no wm). So I know that file is being used. And if I launch vncserver manually as the user. both blackbox and ethereal launch fine. (for those of you wondering, I don't use fluxbox because of cosmetic quirks, or openbox because it doesn't play nice over vnc) Anyhow, my /etc/rc.local file is: PATH=$PATH:/usr/X11R6/bin:/usr/local/bin HOME=/home/ben su ben -c "/usr/local/bin/vncserver -depth 8 -geometry 1024x768" And /home/ben/.vnc/xstartup is currently: #!/bin/sh #PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/b in:/usr/X11R6/bin:/home/ben/bin HOME=/home/ben [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #twm & /usr/X11R6/bin/ethereal & /usr/X11R6/bin/blackbox & (note the commented-out path declaration... that was my attempt to see if making the path match what it is when ben is just logged in would make blackbox happy, which it didn't). The :1.log file only offers a vague clue. When I normally start vncserver manually as ben, it looks like this: 21/10/03 15:28:53 Xvnc version 3.3.7 - built Oct 21 2003 11:01:44 21/10/03 15:28:53 Copyright (C) 2002-2003 RealVNC Ltd. 21/10/03 15:28:53 Copyright (C) 1994-2000 AT&T Laboratories Cambridge. 21/10/03 15:28:53 All Rights Reserved. 21/10/03 15:28:53 See http://www.realvnc.com for information on VNC 21/10/03 15:28:53 Desktop name 'X' (aaa.bbb.ccc.com:1) 21/10/03 15:28:53 Protocol version supported 3.3 21/10/03 15:28:53 Listening for VNC connections on TCP port 5901 21/10/03 15:28:53 Listening for HTTP connections on TCP port 5801 21/10/03 15:28:53 URL http://aaa.bbb.ccc.com:5801 BScreen::BScreen: managing screen 0 using visual 0x22, depth 16 But when I try and start vncserver from bootup, it looks like this: 21/10/03 15:32:22 Xvnc version 3.3.7 - built Oct 21 2003 11:01:44 21/10/03 15:32:22 Copyright (C) 2002-2003 RealVNC Ltd. 21/10/03 15:32:22 Copyright (C) 1994-2000 AT&T Laboratories Cambridge. 21/10/03 15:32:22 All Rights Reserved. 21/10/03 15:32:22 See http://www.realvnc.com for information on VNC 21/10/03 15:32:22 Desktop name 'X' (aaa.bbb.ccc.com:1) 21/10/03 15:32:22 Protocol version supported 3.3 21/10/03 15:32:22 Listening for VNC connections on TCP port 5901 21/10/03 15:32:22 Listening for HTTP connections on TCP port 5801 21/10/03 15:32:22 URL http://aaa.bbb.ccc.com:5801 BScreen::BScreen: managing screen 0 using visual 0x22, depth 8 21/10/03 15:32:32 Xvnc version 3.3.7 - built Oct 21 2003 11:01:44 21/10/03 15:32:32 Copyright (C) 2002-2003 RealVNC Ltd. 21/10/03 15:32:32 Copyright (C) 1994-2000 AT&T Laboratories Cambridge. 21/10/03 15:32:32 All Rights Reserved. 21/10/03 15:32:32 See http://www.realvnc.com for information on VNC 21/10/03 15:32:32 Desktop name 'X' (aaa.bbb.ccc.com:1) 21/10/03 15:32:32 Protocol version supported 3.3 X connection to :1.0 broken (explicit kill or server shutdown). Gdk-ERROR **: X connection to :1.0 broken (explicit kill or server shutdown). It's almost as if it's getting called twice (???) and there's some sort of collision. And/or maybe that broken connection is blackbox dying somehow. Any advice? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Linux ABI using existing linux setup?
Hi there. After years of not using BSD, I've recently installed FreeBSD 5.1, and I have some questions about the linux ABI (plus a few other BSD questions). The short version is: Can I use an existing linux installation instead of linux_base (and if so, what do I need to do to set it up), and can I use a Mandrake setup instead of Redhat or Debian? If you can already answer me, just skip the rest of my email; if you need more information, read on: This box dual-boots between FreeBSD 5.1 and Mandrake Cooker (9.2-ish). The Lilo setup was easy, mounting my ext3 partitions was easy, and after configuring my system and installing the emulation/linux_base port, I can now run most of the software I've installed for Mandrake--including commercial software like SMACX and utilities like fdisk. But there are a few problems. For the most part, they're the same problems you'd get running Mandrake 9.x software on a real Redhat 7.x installation, although there are a few that may be BSD-specific. Either way, I'd like to find a solution. First, is there more information available than the chapter in the Handbook? Next, is it possible to just use my existing linux install in place of the libraries from linux_base? I tried just mounting my linux filesystems on /compat/linux, and almost everything dumps core. That's not surprising, but I wanted to try that before asking. But if I mount my linux system in /mnt/linux, executables can't find any of the solibs. I tried running things under a chroot jail, but then everything coredumps. Is the dynamic rerooting thing configurable? Is there anything tricky I need to do here? And if I do need to chroot nearly everything under /mnt/linux, does that mean only root can run linux apps, or can I allow other people to chroot successfully (and how)? Do I need to brandelf all of my linux executables? (And will this affect using them under linux?) Do I need to run an extra ldconfig, passing /mnt/linux/lib, etc.? And do I use /sbin/ldconfig, /compat/linux/sbin/ldconfig, or /mnt/linux/sbin/ldconfig? (Since I don't know the inner workings of the BSD loader as I do linux, I don't want to mess things up and have to reinstall... I was a bit surprised to see that ldconfig runs so quickly, and the only file it seems to keep around, /var/run/ld-elf.so.hints, is only 239 bytes rather than the 100K+ for /etc/ld.so.cache under linux.) Once I get shared library support working, is there any reason I can't use Mandrake's RPM (a modified 4.2) and urpmi and related tools to update my Mandrake installation from within BSD (by repointing the config files and/or chrooting them)? It may be a larger problem with the dynamic rerooting than just so loading. For example, /usr/local/bin/rpm -qa fails because /var/lib/rpm is empty. But /compat/linux/bin/rpm -qa also fails for the same reason, even though /compat/linux/var/lib/rpm is not empty. Meanwhile, in a separate issue, Linux SDL games have no sound. When I run smacx (with sound enabled), after about 10 seconds it prints "SDL: Audio timeout - buggy audio driver? (disabled)" to stderr. If I don't disable sound, I get a long delay every time it tries to play a movie. Otherwise the game works fine, but no sound. The same thing happens with /mnt/linux/usr/bin/playsound (from the SDL audio package), but /usr/local/bin/playsound works fine. (This is all true whether I'm running esd or not--and esddsp doesn't help. Even after I've set sysctl hw.snd.pcm0.vchans=4, nothing changes.) Do I just need to symlink something to [/compat/linux?]/dev/pcm, etc.? If the system crashes without unmounting cleanly (playing with svgalib stuff...), I can run fsck.ext2 under BSD until the penguins come home, and it finds and even fixes problems just fine, but it never marks the filesystems as clean. So, until I reboot into linux once, I can only mount my ext2 filesystems readonly. Is there something I'm missing? Should I run /mnt/linux/sbin/fsck, or is this a dangerously stupid idea? Or is this by design? And speaking of crashes, I assume there's nothing like linux's "magic SysRq hack" in FreeBSD? (Being able to SysRq-SUB to unmount cleanly even after the system is totally hosed is quite nice for kernel/driver/svga/X/etc. hacking.) Finally, I can lilo -R (to change the default boot target (so I can "lilo -r /mnt/linux -R FreeBSD-5.1 && reboot" or "lilo -r /mnt/linux -R linux24229mm && reboot" and walk away), but lilo -q (to see the list of targets, and verify that they can be found) doesn't work. And, needless to say, installing a new boot map doesn't work. I've spoken to the main lilo developer, and looked at the code, and this is pretty much unfixable (unless you want to add a bunch of new IOCTL's into the various fs drivers, or rewrite lilo to do things a different way), but I thought it was worth mentioning. (I can just strings /mnt/linux/boot/map to get all I really need) Anyway, any help anyone can offer would be greatly appreciated. _
Linux ABI using existing linux setup?
Hi there. After years of not using BSD, I've recently installed FreeBSD 5.1, and I have some questions about the linux ABI (plus a few other BSD questions). The short version is: Can I use an existing linux installation instead of linux_base (and if so, what do I need to do to set it up), and can I use a Mandrake setup instead of Redhat or Debian? If you can already answer me, just skip the rest of my email; if you need more information, read on: This box dual-boots between FreeBSD 5.1 and Mandrake Cooker (9.2-ish). The Lilo setup was easy, mounting my ext3 partitions was easy, and after configuring my system and installing the emulation/linux_base port, I can now run most of the software I've installed for Mandrake--including commercial software like SMACX and utilities like fdisk. But there are a few problems. For the most part, they're the same problems you'd get running Mandrake 9.x software on a real Redhat 7.x installation, although there are a few that may be BSD-specific. Either way, I'd like to find a solution. First, is there more information available than the chapter in the Handbook? Next, is it possible to just use my existing linux install in place of the libraries from linux_base? I tried just mounting my linux filesystems on /compat/linux, and almost everything dumps core. That's not surprising, but I wanted to try that before asking. But if I mount my linux system in /mnt/linux, executables can't find any of the solibs. I tried running things under a chroot jail, but then everything coredumps. Is the dynamic rerooting thing configurable? Is there anything tricky I need to do here? And if I do need to chroot nearly everything under /mnt/linux, does that mean only root can run linux apps, or can I allow other people to chroot successfully (and how)? Do I need to brandelf all of my linux executables? (And will this affect using them under linux?) Do I need to run an extra ldconfig, passing /mnt/linux/lib, etc.? And do I use /sbin/ldconfig, /compat/linux/sbin/ldconfig, or /mnt/linux/sbin/ldconfig? (Since I don't know the inner workings of the BSD loader as I do linux, I don't want to mess things up and have to reinstall... I was a bit surprised to see that ldconfig runs so quickly, and the only file it seems to keep around, /var/run/ld-elf.so.hints, is only 239 bytes rather than the 100K+ for /etc/ld.so.cache under linux.) Once I get shared library support working, is there any reason I can't use Mandrake's RPM (a modified 4.2) and urpmi and related tools to update my Mandrake installation from within BSD (by repointing the config files and/or chrooting them)? It may be a larger problem with the dynamic rerooting than just so loading. For example, /usr/local/bin/rpm -qa fails because /var/lib/rpm is empty. But /compat/linux/bin/rpm -qa also fails for the same reason, even though /compat/linux/var/lib/rpm is not empty. Meanwhile, in a separate issue, Linux SDL games have no sound. When I run smacx (with sound enabled), after about 10 seconds it prints "SDL: Audio timeout - buggy audio driver? (disabled)" to stderr. If I don't disable sound, I get a long delay every time it tries to play a movie. Otherwise the game works fine, but no sound. The same thing happens with /mnt/linux/usr/bin/playsound (from the SDL audio package), but /usr/local/bin/playsound works fine. (This is all true whether I'm running esd or not--and esddsp doesn't help. Even after I've set sysctl hw.snd.pcm0.vchans=4, nothing changes.) Do I just need to symlink something to [/compat/linux?]/dev/pcm, etc.? If the system crashes without unmounting cleanly (playing with svgalib stuff...), I can run fsck.ext2 under BSD until the penguins come home, and it finds and even fixes problems just fine, but it never marks the filesystems as clean. So, until I reboot into linux once, I can only mount my ext2 filesystems readonly. Is there something I'm missing? Should I run /mnt/linux/sbin/fsck, or is this a dangerously stupid idea? Or is this by design? And speaking of crashes, I assume there's nothing like linux's "magic SysRq hack" in FreeBSD? (Being able to SysRq-SUB to unmount cleanly even after the system is totally hosed is quite nice for kernel/driver/svga/X/etc. hacking.) Finally, I can lilo -R (to change the default boot target (so I can "lilo -r /mnt/linux -R FreeBSD-5.1 && reboot" or "lilo -r /mnt/linux -R linux24229mm && reboot" and walk away), but lilo -q (to see the list of targets, and verify that they can be found) doesn't work. And, needless to say, installing a new boot map doesn't work. I've spoken to the main lilo developer, and looked at the code, and this is pretty much unfixable (unless you want to add a bunch of new IOCTL's into the various fs drivers, or rewrite lilo to do things a different way), but I thought it was worth mentioning. (I can just strings /mnt/linux/boot/map to get all I really need) Anyway, any help anyone can offer would be greatly appreciated. _
Re: Trying to see website from the Internet
Micke P wrote: Hi, I'm having all kinds of trouble trying to get things set up to see my website on the Internet. I know people like to claim to be newbies, but I actually am. :-) My machine (ethernet card) IP is 192.168.254.25 and I'm serving on port 8080. I can bring up the site no problem on my LAN- http://192.168.254.25:8080/, but not outside. My ISP is earthlink and it's a dynamic IP account. Right now the WAN IP is: 68.164.84.178. Trying http://68.164.84.178:8080/ doesn't work. I've opened the port, 8080, on the router. Right now the IP is 68.164.84.178? This is not an direct answer to your question, but if you're using a dynamic IP I suggest you go to, for an example DynDNS, and get a name for your site. After that you should install some kind of daemon that updates (in this case) DynDNS to reflect your dynamic IP-changes. In that way you should always be able to connect to your box! But all that I guess you've already figured out. :-) What should I look at to solve this? I have unsuccessfully scoured the complete freebsd book, handbook, and archives. But haven't found anything to address this specific problem yet, although it seems straightforward. If you think I don't understand networks exactly, you are correct; but it's not for lack of trying. Thanks for help, Micke Best regards, Paul ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
A couple of ATI video questions
Hi again. I've got a few more questions, this time about ATI Mach64/Rage video support. Under Linux (until the 2.4.22 kernel's ServerWorks fix broke mtrr support on my machine), I was able to get xv and DRI support on my system (ATI 3D Rage IIc), over a number of versions of XF86 (previously with the gatos ati.2 drivers, but those are now part of the core XF86 distribution). Under FreeBSD-5.1, using XFree86-Server-4.3.0_11 from the ports collection, I'm not getting either. I checked the XF86Config file, and everything's fine there. Looking at xfree86.0.log, the dri module and the ati module are both getting loaded, and there are no gross write-combining errors like I've seen recently in linux. But when I run (e.g.) glxgears, I get: Xlib: extension "XFree86-DRI" missing on display ":0.0". Similarly, xvinfo finds X-Video extension 2.2, but finds no xv-compatible adaptors present. And I have no idea how to track down why this is happening. (For example, unlike linux 2.4.22, write-combining works under FreeBSD 5.1.) I'm having problems with xvidix, as well. In particular, when I try to use xvidix output from mplayer, it completely hangs my system. Under linux, xvidix works fine (other than spraying some visual noise over other windows if I don't run full-screen). I can't find much documentation on xvidix anywhere (just a single rambling file in the mplayer distribution, duplicated on the mplayer website). I'm also having svgalib problems. I can't get it to accept anything better than the 1024x768x64K setting. It recognizes a Mach 64/Rage card and loads the newer driver, just as in linux, but it rejects all higher modelines. In svgalib under linux (and in X in both OS's), I can use 1600x1200x64K (and even higher resolutions). I haven't dug into the code too deep yet. Also, once you've grabbed a new vt in svgalib, stdout and stderr both goes to that vt, so there's no way to log errors, etc. And once the program has completed and you've switched back to your original console (or X) there's no way to get back to the dead vt to see what was left there. Also, if an svgalib program locks up while it's got virtual console switching locked, there seems to be no way to recover other than to ssh into the machine from outside and kill [-9] the program. Usually, this works, although in one case, it apparently froze up the machine completely (no response from the keyboard--even the lock-leds went dead--or over the network), and I had to hard-reset. Most of that last question probably has nothing to do with svgalib, but with differences between linux's and BSD's vt's Under linux, I could forcibly switch vt's, kill everything running on the console, or even kill the vt (I might have to type blind for a few seconds, but I could get things fixed). If I ssh'd in, I could use chvt to bring up a usable console to fix things remotely. Does FreeBSD have equivalents to any of this functionality? Anyway, again, any help, or pointers to where to get help, would be appreciated. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to get out of Africa?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It'll be very easy for U: man tzsetup do it under root -- it has a text-mode dialog-based interface. WBR, CBuH. On Tuesday 21 October 2003 22:24, Wayne M Barnes wrote: > Dear FreeBSD, > >During installation, I accidentally hit Africa for my timezone. > >I have looked all over the documentation, and I cannot find > out to reset my time zone. > >Does anybody else know? I installed 5.1 from the CD. > >Thank you, > > Wayne > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" - -- CBuH. CG[CX] XVyGYjau [EMAIL PROTECTED], ICQ#70929413 GnuPG(PGP) public key is: http://ccclike.chat.ru/my_public_key.asc -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/lXQM5Cj3gqxcdCoRAoidAJ9DcFi1QCF95JwtfPuzvQh4ScN3AACfZFKy U4Iml3M4ULoX4mW87LGWzck= =cWxe -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB and routing...
Quoting "Daan Vreeken [PA4DAN]" <[EMAIL PROTECTED]>: > On Tuesday 21 October 2003 17:26, Henrik W Lund wrote: > > ...but not necessarily in relation to one another. ;-) > > > > This is my second go at FreeBSD, and it's my umpteenth one with UNIXes in > > general. Having done my share of Linux (with one recent battle being > > setting up a web/mail/NFS/NIS/Samba server for a school project. *puh* I > > thought I knew what frustration was, but boy was I wrong!), I've moved > onto > > FreeBSD because - well, I think it's easier to set up, and you don't have > > to relate to several different versions of the same OS. Now, onto my > > questions: > > > > 1. I have installed onto a laptop computer, with a USB mouse and a > > touchpad. Now, up until very recently, the USB mouse worked fine when I > > inserted it and took it out while the system was on, and the console > output > > showed usbd doing its thing. However, the other day this stopped working, > > and I now have to have the USB mouse inserted at startup for it to > function > > at all. This is, of course, no biggie, but it kinda defeats the purpose of > > the whole USB thing, doesn't it? The touchpad, however, works perfectly, > > always. > I think you don't have "usbd" running. > Check if you have usbd_enable="YES" in /etc/rc.conf That's the weird bit. It's running just fine. It just doesn't react when I plug in my mouse. It worked fine up until a couple of days ago. The one major change I did to my system at the time was compile soundcard support into the kernel, but I left all the USB drivers untouched. The device node is still present in /dev, so this one has me boggled. It's not that the mouse doesn't work at all, it's just that it doesn't work as a USB mouse. :-/ > > 2. I have one built-in NIC and a Wireless NIC, both of which work > > perfectly, the way they're supposed to. Now, my beef is that the Wireless > > NIC is used for home, and gets IP via DHCP from my router. The built-in > NIC > > is used for school, must have IP assigned manually (from rc.conf), and has > > a totally different IP range that my network at home. This, of course, > > leads to mayhem when the default route is to be established. If I enter > the > > gateway at school statically, my laptop gets online at school, but not at > > home. If I don't, my laptop gets online at home, but I have to manually > > "route add default etc" everytime I want to go online at school. Is there > a > > tidy way to do this automatically? One default route per NIC, for > instance? > You could create a script that checks every X-seconds if the network card is > > connected. If the status goes to "active", add your schools gateway. If the > status goes to "no carrier", change to your wireless gateway. > (you can get the status from ifconfig) > > grtz, > Daan > I'll try that. Might as well learn some scripting as well. ;-) Thanks! -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
login.conf and accents weirdness
[please honour Mail-Followup-To:, not subscribed] Hi, I can't see accents in mutt's internal pager (even though I can see them in vim). I've read iconv(), terminfo() and the Internalization section in the Handbook among others, but I'm out of ideas. I've tried setting LANG=ca_ES.ISO-8859-15 (although PR misc/45874 [1] hasn't been MFC'ed yet) and LC_CTYPE=ISO-8859-15. I have my consoles as 'cons25l1' in /etc/ttys, and these in login.conf: :lang=es_ES.ISO-8859-15:\ :charset=ISO-8859-15:\ But it doesn't work. Now for the weirdness: if I put :tc=default:\ under the default entry (and thus causing lots of "login_getclass: 'tc=' reference loop 'default'" messages and having cap_mkdb refusing to build it), I can see accents in the mutt pager!!! So, what should I do to see accents? [1] http://www.FreeBSD.org/cgi/query-pr.cgi?pr=misc/45874 tks -- pica ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
viapm
Anyone able to read temperatures on a VIA EPIA-M 1, or working on updating viapm? I built a 4.8 kernel with smbus, viapm, etc, but the hardware monitor programs complain about /dev/smb0 and nothing shows in dmesg about smb. The viapm device looks like it was last updated for VT8233A, and the south bridge on this machine is VT8235 (although a VT8233 shows up as the audio controller ?) , so maybe that's blocking the probe even though the smb part is probably all the same. Thanks for any tips. p.s. If anyone needs to get X working on this machine, lemme know. The xfree86-cvs via driver has a problem unique to freebsd, but it is easy to repair. -- David Brinegar http://brinegar-computing.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Need some insight on error messages that I am getting.
Hello list, I have decided to give FreeBSD a try but I am having a issue that I need help with. I apologize for the length of the email. I just want to ensure that I give enough information to see if anyone can help. Well I am running FreeBSD 4.8. It (FreeBSD) is installed on the second hdd on my system. Which is ad1. The first drive ad0 has windows and SuSE linux on it. I have been able to get FreeBSD to boot and it seems to work properly. But when I try and copy a file from a CD to the FreeBSD drive, I get some error messages. Below is the procedure that I used to try and copy the file and the error messages that come with it. # mount /cdrom (system tells me that the cd is mounted with Rock Ridge extensions) # cp /cdrom/some-file ~ (And now the messages) ad1: WRITE command timeout tag=0 serv=0 - resetting ata0: resetting devices -- done This one repeats for about 5 times. Then this one occurs. ad1: removed from configuration done handle_workitem_freeblocks: block count >From here on out, I cannot control the system and have to do a hard reboot :( This is with a 75M file that I am trying to transfer over. After the reboot, I try with a smaller file. It will transfer but will give at least one of the ad1: WRITE messages. I tried the above file again and I was greeted with the WRITE errors but it finally completed. Judging by the error messages, the system is telling me that there is a problem with the drive. Well I shutdown the system and looked again at the jumpers on the drives. They are set correctly. Next I go out to the net and get a diagnostic utility for the hard drive and run it on the drive. It passed with flying colors. I even reinstalled FreeBSD and even installed the 5.1 to see if the same thing occurs and it does. Does anyone have a clue what might be going on here? Any help will be appreciated! I noticed when I install FreeBSD that it somehow changed how the drive is seen in BIOS. Before installation with the drive wiped clean it shows up as a LBA drive. After installation, it shows up as a CHS drive. During the probes that occur when installing, I see that it sees 2 "c" drives and 2 "d" drives. Is this normal?? Again thanks for the help! -- Marshall "Nothing is impossible, we just do not have all the answers to make the impossible, possible." ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: viapm
This is the correct e-mail address, sorry about that. -- David Brinegar http://brinegar-computing.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ATA mirroring solution required
Hi, Got a bit of a sticky situation. I have a bog standard Compaq AP230 workstation with two IDE channels and 3 devices so far (two CDROM devices and a hard disk). I want to add a second disk as a software RAID1 mirror of the primary disk. I know how to do this in FreeBSD so thats not a problem - the hardware side is. The only available IDE port I have would be shared with the existing hard disk i.e two hard disks in RAID1 on the primary IDE chain. AFAIK this is bad for performance reasons. Drives are both Seagate 7200rpm 40Gb ATA100 and the controller supports ATA100 also. Running 4.8-STABLE. Where do I go? I was looking for a secondary controller to give each drive it's own channel on the controller (ie a promise/HPT one) but have no experience with these under FreeBSD. Can someone recommend one if possible that works flawlessly or an alternative solution? Solutions must be cheap i.e under 50 UKP as the wife will kill me for spending any more ;-) Cheers all -- Chris Smith http://www.infinitemonkeys.org.uk/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Help with NV driver - More information part 2 - SOLVED
Hi All, After setting the sysctl machdep.disable_mtrrs="1" in loader.conf I was able to re-use the nvidia.ko module without it hosing my server! Thanks, -Jason -Original Message- From: Jason Dictos [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 9:30 AM To: 'Nicolai P Guba'; [EMAIL PROTECTED] Well, I've tried ranges too with the same results -Jason -Original Message- From: Nicolai P Guba [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 3:40 AM To: [EMAIL PROTECTED] On Tuesday 21 October 2003 04:49, Jason Dictos wrote: > Section "Monitor" > Identifier "NEC2080UX" > HorizSync 74.9 > VertRefresh 59.9 > EndSection Hmmm, are you sure this is correct? Shouldn't they rather be _ranges_ ? Just a stab in the dark... -- =NPG= ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com This email has been scanned for all viruses by the MessageLabs Email Security System. For more information on a proactive email security service working around the clock, around the globe, visit http://www.messagelabs.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
natd question
i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: natd question
The next question on my mind would be whether or not you've established routes? `man route` Hope it helps, Tyler McGeorge ...to the rescue... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michelle Sent: Tuesday, October 21, 2003 3:00 PM To: [EMAIL PROTECTED] Subject: natd question i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: ATA mirroring solution required
Well, if you're willing to spend some money, getting a hardware RAID1 2-channel IDE controller would be the way to go. As a cheaper alternative, I, personally, would change the drive configuration so that each channel had a HDD master and a CDROM slave. Hope this helps, Tyler McGeorge ...to the rescue... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Chris Smith Sent: Tuesday, October 21, 2003 2:48 PM To: [EMAIL PROTECTED] Subject: ATA mirroring solution required Hi, Got a bit of a sticky situation. I have a bog standard Compaq AP230 workstation with two IDE channels and 3 devices so far (two CDROM devices and a hard disk). I want to add a second disk as a software RAID1 mirror of the primary disk. I know how to do this in FreeBSD so thats not a problem - the hardware side is. The only available IDE port I have would be shared with the existing hard disk i.e two hard disks in RAID1 on the primary IDE chain. AFAIK this is bad for performance reasons. Drives are both Seagate 7200rpm 40Gb ATA100 and the controller supports ATA100 also. Running 4.8-STABLE. Where do I go? I was looking for a secondary controller to give each drive it's own channel on the controller (ie a promise/HPT one) but have no experience with these under FreeBSD. Can someone recommend one if possible that works flawlessly or an alternative solution? Solutions must be cheap i.e under 50 UKP as the wife will kill me for spending any more ;-) Cheers all -- Chris Smith http://www.infinitemonkeys.org.uk/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Equal bandwidth sharing by all hosts using dummynet
Hi all, First of all, I have spent a lot of time reading up on it. Anyway, I live in a shared accomodation with 2 roommates and a landlord and we share a cable internet connection. It is 2Mbit/400Kbit connection. Sometimes when one of us is downloading a song through Kazaa or a new Linux or FreeBSD iso, the bandwidth gets hogged and other users can't get through. I was trying to configure dummynet using Fair Queues but I seem to be missing something. I tried to modify some of the examples on Luigi Rizzo's web site (http://info.iet.unipi.it/~luigi/ip_dummynet/) but it doesn't seem to be working. It is a very simple setup. Private network (192.168.42.0/24)> FreeBSD 5.1 firewall doing NAT (DHCP on external interface) My configuration file excerpt: ipfw pipe 1 config bw 400Kbit/s ipfw pipe 2 config bw 1000Kbit/s ipfw add queue 1 ip from 192.168.42.0/24 to any via fxp0 ipfw queue 1 config weight 5 pipe 1 mask src-ip 0x ipfw add queue 2 ip from any to 192.168.42.0/24 via fxp0 ipfw queue 2 config weight 5 pipe 2 mask dst-ip 0xfff When I do a "ipfw pipe show", the output is: firewall# ipfw pipe list 1: 400.000 Kbit/s0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x/0x -> 0x/0x 2: 1.000 Mbit/s0 ms 50 sl. 0 queues (1 buckets) droptail mask: 0x00 0x/0x -> 0x/0x q1: weight 5 pipe 1 50 sl. 0 queues (64 buckets) droptail mask: 0x00 0x/0x -> 0x/0x q2: weight 5 pipe 2 50 sl. 0 queues (64 buckets) droptail mask: 0x00 0x/0x -> 0x/0x The queues are always "0". So, it seems to me like they are not getting created. What am I missing? I have looked everywhere for answers. Any help would be greatly appreciated. Cheers, Alhagie. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
MOXA C168H/PCI 8 Port serial card
Hi list, I'm trying to use a combination of two AST-4-Port ISA serial cards with one MOXA 8-Port serial PCI card... no luck so far. Both AST cards and the 2 onboard ports work fine, only the MOXA PCI card ports refuse to work: cu -l cuaa10 cu: open (/dev/cuaa10): Device not configured cu: cuaa10: Line in use If anyone has something like this in use, please give me a hint. The system is freebsd 4.9-RC2 and has the following kernel config options: #-- # Serial (COM) ports device sio0at isa? port IO_COM1 flags 0x10 irq 4 device sio1at isa? port IO_COM2 irq 3 options COM_MULTIPORT # code for some cards with shared IRQs #-- AST-4-Port-01 device sio2at isa? port 0x2a0 flags 0x501 device sio3at isa? port 0x2a8 flags 0x501 device sio4at isa? port 0x2b0 flags 0x501 device sio5at isa? port 0x2b8 flags 0x501 irq 5 #-- AST-4-Port-02 device sio6at isa? port 0x1a0 flags 0x901 device sio7at isa? port 0x1a8 flags 0x901 device sio8at isa? port 0x1b0 flags 0x901 device sio9at isa? port 0x1b8 flags 0x901 irq 7 #-- Moxa C168H/PCI Smartio device puc #-- The dmesg output looks like this (reduced to the sio stuff): puc0: port 0xb400-0xb40f,0xb800-0xb83f,0xd000-0xd07f irq 12 at device 9.0 on pci0 sio10: type 16550A sio11: type 16550A sio12: type 16550A sio13: type 16550A sio14: type 16550A sio15: type 16550A sio16: type 16550A sio17: type 16550A sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2 at port 0x2a0-0x2a7 flags 0x501 on isa0 sio2: type 16450 (multiport) sio3 at port 0x2a8-0x2af flags 0x501 on isa0 sio3: type 16450 (multiport) sio4 at port 0x2b0-0x2b7 flags 0x501 on isa0 sio4: type 16450 (multiport) sio5 at port 0x2b8-0x2bf irq 5 flags 0x501 on isa0 sio5: type 16450 (multiport master) sio6 at port 0x1a0-0x1a7 flags 0x901 on isa0 sio6: type 16450 (multiport) sio7 at port 0x1a8-0x1af flags 0x901 on isa0 sio7: type 16450 (multiport) sio8 at port 0x1b0-0x1b7 flags 0x901 on isa0 sio8: type 16450 (multiport) sio9 at port 0x1b8-0x1bf irq 7 flags 0x901 on isa0 sio9: type 16450 (multiport master) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ATA mirroring solution required
hello, On Tue, Oct 21, 2003 at 10:47:36PM +0100, Chris Smith wrote: > Hi, > > Got a bit of a sticky situation. I have a bog standard Compaq AP230 > workstation with two IDE channels and 3 devices so far (two CDROM > devices and a hard disk). I want to add a second disk as a software > RAID1 mirror of the primary disk. I know how to do this in FreeBSD so > thats not a problem - the hardware side is. > > The only available IDE port I have would be shared with the existing > hard disk i.e two hard disks in RAID1 on the primary IDE chain. AFAIK > this is bad for performance reasons. yes you are right. Its very recommended to have only one disk per IDE/ATA channel since it can only deal with one request to one device at the time. > Drives are both Seagate 7200rpm 40Gb ATA100 and the controller supports > ATA100 also. Running 4.8-STABLE. > > Where do I go? > > I was looking for a secondary controller to give each drive it's own > channel on the controller (ie a promise/HPT one) but have no experience > with these under FreeBSD. Can someone recommend one if possible that > works flawlessly or an alternative solution? I have a very similar setup with a vinum raid, using 4 drives on 2 Promise ATA100 (the cheapest one) controllers. They work flawless. Just check the hardware notes on freebsd.org. There are several IDE/ATA controllers that are supported under 4.8-STABLE. > Solutions must be cheap i.e under 50 UKP as the wife will kill me for > spending any more ;-) > > Cheers all cheers, tom ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pppoe for 5.1 doesn't work IAW handbook or rc.conf options
The title just about says it all. The handbook, rc.conf, and the ppp man page don't jive and no single one them works. This is really annoying because I had this working with DSL some time ago, but I can't get it going with my cable modem (Redhat and XP worked). Could someone please post the REAL ppp and pppoe options needed in rc.conf and post the ppp.conf file you are using? Please? I guess I should mention that I need my IP address determined by DHCP, which I thought was handled by "enable dns." Am I wrong? And yes, I know my ethernet card works - dc0. I'll even send a diff for the handbook if you send me something that works. Thank you very, very much. If possible, send a cc to jhestess at yahoo. Take care. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: natd question
i thought one only needed to use route command when routing between 3 or more networks. i have a local LAN and a subnet. however, i tried the command: route add -net 192.x.x.x 64.x.x.x i received the error message: route: writing to routing socket: File exists add net 192.x.x.x: gateway 64.x.x.x: Files exists On Tuesday, October 21, 2003, at 05:04 PM, Tyler McGeorge wrote: The next question on my mind would be whether or not you've established routes? `man route` Hope it helps, Tyler McGeorge ...to the rescue... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Michelle Sent: Tuesday, October 21, 2003 3:00 PM To: [EMAIL PROTECTED] Subject: natd question i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
--- Paul Everlund <[EMAIL PROTECTED]> wrote: > Micke P wrote: > > My machine (ethernet card) IP is 192.168.254.25 > and > > I'm serving on port 8080. I can bring up the site > no > > problem on my LAN- http://192.168.254.25:8080/, > but > > not outside. > > > > My ISP is earthlink and it's a dynamic IP account. > > Right now the WAN IP is: 68.164.84.178. Trying > > http://68.164.84.178:8080/ doesn't work. I've > opened > > the port, 8080, on the router. > > Right now the IP is 68.164.84.178? Yes. > This is not an > direct > answer to your question, but if you're using a > dynamic > IP I suggest you go to, for an example DynDNS, and > get > a name for your site. After that you should install > some kind of daemon that updates (in this case) > DynDNS > to reflect your dynamic IP-changes. In that way you > should always be able to connect to your box! > > But all that I guess you've already figured out. :-) Thanks. Yes. I have a domain. But setting it up doesn't do any good since there is no IP it can connect to. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
--- [EMAIL PROTECTED] wrote: > > I opened the port on my (hardware) router box, not > the > > FreeBSD firewall. Internet -> ISP -> Modem -> > Router > > -> FreeBSD box. Hopefully that's all I need to do > to > > forward the port 8080 packets. Do I need to > configure > > the FreeBSD firewall settings as well to reflect > the > > port? > > no, if you can get to the website from inside your > hardware firewall (a > machine other then your freeBSD box) then the > problem ly's with either > your hardware firewall, or your ISP. What Brand > firewall do you have? > Remeber that just opening port 8080 will not work, > you have to go into the > "Port Forwarding" section of your firewall and > forward the 8080 port to > your inside box While it's not called Port Forwarding on the router setup, I'm certain that is what I've set up. Do you know what an ISP, earthlink, in this case, might do to keep you from serving pages? I'm using another port from 80, because I just get the ISP modem status page when using the dynamic IP with the normal 80 port. I'm afraid I'm just frustratedly baffled. __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Weirdness with permissions after mounting USB flash drive
On Tue, 21 Oct 2003 14:26:17 +0200 Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > * Paul Murphy: > > > Jean-Baptiste Quenot <[EMAIL PROTECTED]> wrote: > > > > > * Paul Murphy: > > > > > > > I _can_ read/write to it as root, but I would really like to > > > > use > > > > it as a non-root user. Any thoughts as to why this is happening? > > > > > > [...] in /etc/fstab you may adjust the mode, see below -m700 > > > for msdos filesystem: > > > > > > /dev/da0s1 /mnt/usbkey msdos rw,-m700,noauto 0 0 > > > > fstab: /dev/da0s1 /flash_drive msdos rw,-m775,noauto 0 0 > > > > > > mounted permisions: d- 1 root wheel 22016 Dec 31 > > 1979 flash_drive > > FWIW you could check if your specific FreeBSD supports the -m switch > by looking at the mount_msdosfs man page. > Seems to, at least the man page says so. Also tried 'chmod 755 /flash_drive' after the fact, but it is silently ignored. I'm stumped! -- Cogeco ergo sum pgp0.pgp Description: PGP signature
/dist directory missing on 5.1 mfsroot disk??
Hi, I am having a peculiar problem with installing 5.1, has anyone successfully used the floppies (made from the ISO image) to boot and install from a CD or DOS partion? When I try I get the following error: Error mounting /dev/acd0 on /dist: No such file or directory (2) My cd rom appears to be fine, appears in dmesg as: acd0: CD-RW at ata0-slave BIOSPIO When I use a fixit disk, I discover that indeed the /dist directory does not exist!! I have tried this now on two computers, a P2 266, and a P1120. They both report the same problem, even when I try and use a DOS partion to load the dist. Any help appreciated, - jacob Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: natd question
Are you using ipfw or ipfilter? --- Michelle <[EMAIL PROTECTED]> wrote: > i am not aware of a natd.conf file. i edited the > rc.conf file to > enable natd and specify the interface. the firewall > rule i am using > for natd is: add divert natd all from any to any via > fxp0. > > On Tuesday, October 21, 2003, at 03:09 PM, Alhagie > Puye wrote: > > > What does your natd.conf and firewall script look > > like? Details would be helpful in diagnosing the > > problem. > > > > Cheers, > > Alhagie. > > --- Michelle <[EMAIL PROTECTED]> wrote: > >> i am running freebsd 4.6.2. i have 2 nic cards > on > >> the machine, one > >> which is the external interface and connects to a > >> router which connects > >> to dsl. the other is internal interface for our > >> subnet. i have > >> enabled natd on the machine, but still cannot get > >> packets out when on > >> the subnet. i can ssh to the external interface, > >> but can't ssh to a > >> machine that is outside of our network. i > checked > >> ps aux to make sure > >> natd is running and checked the firewall rules to > >> make sure the natd > >> divert rule is there. is there something else i > >> need to configure? > >> > >> ___ > >> [EMAIL PROTECTED] mailing list > >> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > > > __ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > search > > http://shopping.yahoo.com > > > __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Trying to see website from the Internet
On Tue, 21 Oct 2003 15:28:51 -0700 (PDT) Micke P <[EMAIL PROTECTED]> wrote: > > --- [EMAIL PROTECTED] wrote: > > > I opened the port on my (hardware) router box, not > > the > > > FreeBSD firewall. Internet -> ISP -> Modem -> > > Router > > > -> FreeBSD box. Hopefully that's all I need to do > > to > > > forward the port 8080 packets. Do I need to > > configure > > > the FreeBSD firewall settings as well to reflect > > the > > > port? > > > > no, if you can get to the website from inside your > > hardware firewall (a > > machine other then your freeBSD box) then the > > problem ly's with either > > your hardware firewall, or your ISP. What Brand > > firewall do you have? > > Remeber that just opening port 8080 will not work, > > you have to go into the > > "Port Forwarding" section of your firewall and > > forward the 8080 port to > > your inside box > > While it's not called Port Forwarding on the router > setup, I'm certain that is what I've set up. > > Do you know what an ISP, earthlink, in this case, > might do to keep you from serving pages? I'm using > another port from 80, because I just get the ISP modem > status page when using the dynamic IP with the normal > 80 port. > > I'm afraid I'm just frustratedly baffled. > Are you sure Earthlink is not blocking all the obvious HTTP server ports? Try using some arbitrary port >32000 -- Cogeco ergo sum pgp0.pgp Description: PGP signature
Re: natd question
On Tuesday, October 21, 2003, at 04:08 PM, Alhagie Puye wrote: Are you using ipfw or ipfilter? ipfw --- Michelle <[EMAIL PROTECTED]> wrote: i am not aware of a natd.conf file. i edited the rc.conf file to enable natd and specify the interface. the firewall rule i am using for natd is: add divert natd all from any to any via fxp0. On Tuesday, October 21, 2003, at 03:09 PM, Alhagie Puye wrote: What does your natd.conf and firewall script look like? Details would be helpful in diagnosing the problem. Cheers, Alhagie. --- Michelle <[EMAIL PROTECTED]> wrote: i am running freebsd 4.6.2. i have 2 nic cards on the machine, one which is the external interface and connects to a router which connects to dsl. the other is internal interface for our subnet. i have enabled natd on the machine, but still cannot get packets out when on the subnet. i can ssh to the external interface, but can't ssh to a machine that is outside of our network. i checked ps aux to make sure natd is running and checked the firewall rules to make sure the natd divert rule is there. is there something else i need to configure? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: natd question
Check this out: http://freebsd.peon.net/tutorials/12/ Cheers, Alhagie --- Michelle <[EMAIL PROTECTED]> wrote: > > On Tuesday, October 21, 2003, at 04:08 PM, Alhagie > Puye wrote: > > > Are you using ipfw or ipfilter? > > ipfw > > > > > > --- Michelle <[EMAIL PROTECTED]> wrote: > >> i am not aware of a natd.conf file. i edited the > >> rc.conf file to > >> enable natd and specify the interface. the > firewall > >> rule i am using > >> for natd is: add divert natd all from any to any > via > >> fxp0. > >> > >> On Tuesday, October 21, 2003, at 03:09 PM, > Alhagie > >> Puye wrote: > >> > >>> What does your natd.conf and firewall script > look > >>> like? Details would be helpful in diagnosing the > >>> problem. > >>> > >>> Cheers, > >>> Alhagie. > >>> --- Michelle <[EMAIL PROTECTED]> wrote: > i am running freebsd 4.6.2. i have 2 nic cards > >> on > the machine, one > which is the external interface and connects to > a > router which connects > to dsl. the other is internal interface for > our > subnet. i have > enabled natd on the machine, but still cannot > get > packets out when on > the subnet. i can ssh to the external > interface, > but can't ssh to a > machine that is outside of our network. i > >> checked > ps aux to make sure > natd is running and checked the firewall rules > to > make sure the natd > divert rule is there. is there something else > i > need to configure? > > ___ > [EMAIL PROTECTED] mailing list > > >>> > >> > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > >>> "[EMAIL PROTECTED]" > >>> > >>> > >>> __ > >>> Do you Yahoo!? > >>> The New Yahoo! Shopping - with improved product > >> search > >>> http://shopping.yahoo.com > >>> > >> > > > > > > __ > > Do you Yahoo!? > > The New Yahoo! Shopping - with improved product > search > > http://shopping.yahoo.com > > ___ > > [EMAIL PROTECTED] mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > > > ___ > [EMAIL PROTECTED] mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make buildworld error
Hello, I installed 4.8 yesterday and i need to upgrade it but I'm getting this error when i try to do make buildworld: ===> usr.sbin/boot0cfg cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing- prototypes -W pointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite- strings - Wswitch -Wshadow -c /usr/src/usr.sbin/boot0cfg/boot0cfg.c cc -O -pipe -march=k6 -W -Wall -Wstrict-prototypes -Wmissing- prototypes -W pointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wwrite- strings - Wswitch -Wshadow -o boot0cfg boot0cfg.o gzip -cn /usr/src/usr.sbin/boot0cfg/boot0cfg.8 > boot0cfg.8.gz ===> etc ===> etc/sendmail make: don't know how to make freebsd.cf. Stop *** Error code 2 Stop in /usr/src/etc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. First i tried to redownload sources and rm -rf /usr/obj/* but it didnt help. Did anyone have same problem ? # uname -v FreeBSD 4.8-RELEASE #0: Thu Apr 3 10:53:38 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC # cat checkouts.cvs:RELENG_4 F 5 1066771415 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
errors with orb drive
I have a castlewood 2.2 gig orb drive in my system. Today, it gave me the follow error: ad1: hard error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) trying PIO mode ad1: DMA problem fallback to PIO mode ad1: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ad0: DMA limited to UDMA33, non-ATA66 cable or device done ad1: hard error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) status=51 error=40 ad1: reading primary partition table: error reading fsbn 0 ad1: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices .. ad0: DMA limited to UDMA33, non-ATA66 cable or device done ad1: hard error reading fsbn 0 (ad1 bn 0; cn 0 tn 0 sn 0) status=51 error=40 ad1: reading primary partition table: error reading fsbn 0 I'm not sure if this is a message the relates to the 'media' (the removable disk) or the head (if its broke, its dead) Any one else using orb drives? -- David Bear phone: 480-965-8257 fax:480-965-9189 College of Public Programs/ASU Wilson Hall 232 Tempe, AZ 85287-0803 "Beware the IP portfolio, everyone will be suspect of trespassing" ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"