[OT] - FBSD logo, graphics
I'm writing a review of FBSD for a well-known web site (I'll let you know when it's posted - probably tomorrow). Anyway, I'm looking for a few FBSD graphics to dress up the page - Beastie is the likely candidate. I don't need much, one or two images will be sufficient. Can anyone suggest a source (one where there will be no copyright issues). best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
installing ipfilter
I wanted to do some experimenting with ipfilter, and strangely, I can't figure out how to install it. It doesn't seem to be installed. If I do which ipfilter or man ipfilter, there's no indication of its existence. I tried locate ipfilter, I do find this: /usr/share/examples/ipfilter /usr/src/contrib/ipfilter Neither of these appear to be what I need. I've looked in /usr/ports, and can't find it there either. I'm using 5.2-RELEASE. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fwbuilder - broken port?
Hmmm...strange happenings here... I tried installing fwbuilder (a tool for building firewalls - works with ipfilter and pf) from ports. This is the first time I've seen this sort of error... [EMAIL PROTECTED]:/usr/ports/security/fwbuilder make fwbuilder-1.0.11.tar.gz doesn't seem to exist in /usr/ports/distfiles/. Attempting to fetch from http://us.dl.sourceforge.net/fwbuilder/. Receiving fwbuilder-1.0.11.tar.gz (1385279 bytes): 100% (ETA 00:00) 1385279 bytes transferred in 309.8 seconds (4.37 kBps) === Extracting for fwbuilder-1.0.11_1 Checksum OK for fwbuilder-1.0.11.tar.gz. === Patching for fwbuilder-1.0.11_1 === Applying FreeBSD patches for fwbuilder-1.0.11_1 ===! Running aclocal aclocal: not found *** Error code 127 Stop in /usr/ports/security/fwbuilder. What exactly was that all about? A broken port perhaps? best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: the most light weight X web browser?
Dear Warren, I followed your advice about compiling Links so that it could run in graphics mode without X. This is REALLY COOL - one of the best tips I've received in a long time, and I thank you for it. However, I've run into one little glitch. As root, it works fine, but as a regular user, when I type: links -g -mode 640x480x16 I get this error message: svgalib: Cannot get I/O permissions. No doubt it's a permissions error, but I'm not sure which/where permissions I should change. Any ideas? TIA best regards, Robert On Sun, 9 May 2004 09:13:12 -0600 (MDT) Warren Block [EMAIL PROTECTED] wrote: On Sun, 9 May 2004, mark rowlands wrote: [EMAIL PROTECTED] : /web1/web1: 03:16 PM: links -version Links 2.1pre14 [EMAIL PROTECTED] : /web1/web1: 03:17 PM: links -help links [options] URL Options are: -g Run in graphics mode. But the next few lines of the man page say that only works if --enable-graphics was given to ./configure when compiling links. In the port's Makefile it only turns on --enable-graphics if you compile it for X. (More specifically, it only turns on --enable-graphics if -DWITHOUT_X11 is not defined.) So to run it without X but with graphics, you'll have to modify the Makefile or just manually compile links. Just out of curiousity, I tried it just now. A quick hack to make it work: Make sure you have svgalib installed (/usr/ports/devel/svgalib). Remove the --without-svgalib from the first CONFIGURE_ARGS line. Add --enable-graphics to the same line. Remove the whole .if !defined(WITHOUT_X11) ... .endif section. Run it with 'links -g -mode 640x480x16'. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: non functioning keys on compaq laptop
I'd suggest first testing it with a live CD (either FreeBSD or Linux) just to eliminate the possibility of a software problem. If it's definitely hardware, a possible cheap/temporary fix would be an external keyboard. As for repairing a hardware problem, if a replacement keyboard didn't solve it, then it's probably the mainboard and I'm afraid that's likely to be an expensive repair. This is the big problem with laptops - expensive and proprietary parts. good luck, Robert On Mon, 10 May 2004 06:32:18 -0700 (PDT) Mwaura Kiarie [EMAIL PROTECTED] wrote: I have a compaq armada 1750 laptop. Recently, some keys failed (56,Ctrl, /,') appears there is a pattern. Can someone explain what to do. I changed the keyboard and same problem was there ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_msdosfs anomaly
On my system I have several Linux distros installed in the extended partition, and FBSD 5.2 shows slices as high as /dev/ad0s9. I am able to mount all of these with mount_ext2fs. Whether or not it is possible to mount msdos extended partitions, I can't say, since I don't have any installed on my hard drive. regards, RS On Thu, 13 May 2004 09:39:23 -0400 (EDT) Jerry McAllister [EMAIL PROTECTED] wrote: Aloha I have a 80 gig hard drive that I have sliced up for multiple distros of linux and freebsd. I have win98 on slice 1 and freebsd on slice 2. On slice 10 I have a 2.7 Gig slice formatted as fat32 for data sharing between all distros. When logged into frebsd (5.2.1) i can mount the win98 slice with mount_msdosfs /dev/ad0s1 /win98 without any trouble. When I attempt to mount slice 10 with mount_msdosfs /dev/ad0s10 /shared I get the following error: mount_msdosfs: /dev/ad0s10: invalid argument. Slice 10 was formatted in win98 and scan disk was run. I have a text file and two jpeg photos in the slice. Only 4 primary slices are recognized. FreeBSD will not talk to a slice 10 and I don't think anything MS will either in a standard manner. That is why they came up with extended partitions. What did you use to create the extra slices? jerry Any help will be appreciated. Thanks Robert ___ [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: The journalling file system saga
Is anyone remotely interested in this? Yes, for the reasons mentioned below, and strictly for practical personal use because I'd love to be able to share data between FreeBSD and Linux ;) Right now, FBSD offers the option to mount ext2 if you've compiled that into the kernel - I'd be happy to see a reiserfs option as well. If nothing else it would very useful to have the ability to mount reiserfs partitions under FreeBSD so that I could read the data I have stored there. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Printing to a network printer?
On Wed, 12 May 2004 10:19:11 -0400 Gerard Samuel [EMAIL PROTECTED] wrote: Specifically to a Brother MFC3820cn - http://solutions.brother.com/mfc3820cn_us/en_us/ Im currently trying to print to it via CUPS, but Im getting nowhere fast. Has anyone ever attempted to print to this unit via the network? I would like to hear what you have to say... Dear Gerard, I too have struggled with making CUPS work for network printing. It took me awhile, but I think I've finally got it. The FreeBSD Handbook has nothing useful to say about CUPS (it just says visit http://cups.org), so I've been writing up a HOW-TO which I'll submit to the Handbook folks soon. It's not quite finished, but here's what I have so far - hope it helps. regards, Robert STEP 1: Installing CUPS from PORTS You've got to install four packages from ports. You can find them here: [EMAIL PROTECTED]:# ls -d1 /usr/ports/print/cups* /usr/ports/print/cups /usr/ports/print/cups-base /usr/ports/print/cups-lpr /usr/ports/print/cups-pstoraster The first port - /usr/ports/print/cups - is a meta-port, so installing it should install the others. STEP 2: Creating a Log Directory Create a directory for the CUPS log files: [EMAIL PROTECTED]:# mkdir /var/log/cups STEP 3: FreeBSD-specific Issue On FreeBSD, CUPS stores its executable files in /usr/local/bin/ whereas the traditional lp executables are in /usr/bin/. Because /usr/bin/ is in the command path before /usr/local/bin/, your CUPS files will not be able to execute. For example: [EMAIL PROTECTED]:# which lpr /usr/bin/lpr This problem is handily solved by making file /usr/bin/lp* non-executable, like this: [EMAIL PROTECTED]:~ chmod -x /usr/bin/lp* Now, let's try the previous command again: [EMAIL PROTECTED]:# which lpr /usr/local/bin/lpr Success! This is what we want. STEP 4: Starting the CUPS Daemon You need to set up a script that starts the CUPS daemon on bootup. There is a sample startup script which you can just copy and make executable, like this: cd /usr/local/etc/rc.d cp cups.sh.sample cups.sh chmod 755 cups.sh You could reboot now to start the daemon, but since you're in this directory anyway, you could start it manually: ./cups.sh start STEP 5: Configuring the Printer This part is just like Linux. Open up a browser (Mozilla or Konqueror will do) and type this url: http://localhost:631 This will bring you to the CUPS configuration menu. You'll be asked to login (login as root and use the root password), then it's simple point-and-click stuff that you should be able to figure out yourself. STEP 6: Configuring a CUPS Server and Client If you want to enable network printing on your LAN, you've got a little more work to do. Assuing that the FreeBSD box is the print server, edit file /usr/local/etc/cups/cupsd.conf and make two changes. The two changes vary according to how your network is configured, but for a typical Class C network, this should work: # broadcast address BrowseAddress @LOCAL Location / Allow From 192.168.0.0/24 Instead of @LOCAL, we could have specified a broadcast address, such as 192.168.0.255 (again, that's for a Class C network). And rather than 192.168.0.0/24 (the whole network), we could have specified just a single client machine (such as 192.168.0.3). Once you have made the above changes, restart the CUPS daemon: /usr/local/etc/rc.d/cups.sh restart Now go to the client machine, open your browser, type http://localhost:631, and click the button Print test page - it should work. Now try printing a regular html file with the same browser. It will probably NOT work unless you remember to specify the CUPS server as the printer (your browser should give you an option to select a printer in the File-Print menu). STEP 7: Configure a CUPS Server to Work with LPD Clients If the client machine is not running CUPS, or you are using an application (on the client machine) which depends on lpr, you must configure CUPS to accept print jobs from LPD clients. You accomplish this with a CUPS helper server called cups-lpd (see man cups-lpd). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installing a new system....
I've tried LILO for multi-boot Windows/Linux/FBSD, and have found it to be a headache. You're better off with GRUB, in my opinion. A decent introductory article about GRUB can be found here: http://www2.linuxjournal.com/lj-issues/issue85/4622.html regards, Robert On Thu, 6 May 2004 12:00:47 +0200 Willem Jan Withagen [EMAIL PROTECTED] wrote: - Original Message - From: Steven Hartland [EMAIL PROTECTED] Planning to just add FreeBSD to the grub boot menu. Steve - Original Message - From: Willem Jan Withagen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 4:50 PM Subject: Installing a new system When thing go as planned I'm getting my dual opteron system this week. So it is time to start planning What I'm wanting to dump on it: FBSD AMD64 FBSD i386 Win2K i386 Win2k x86_ Beta perhaps linux-amd64 (note it has a 200Gb disk) What bootmanager should I use. Anybody tried LILO for these kinds of excercises?? --WjW ___ [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: the most light weight X web browser?
Is there any way to get links -g to run without starting X? If I run it in an Xterm, it's fine, but at the console it just exits with an error: [EMAIL PROTECTED]:~ links -g Could not initialize any graphics driver. Tried the following drivers: x: Can't open display (null) Would be nice on my laptop if I could make it run in graphics mode without actually starting X. regards, Robert ever had a look at links' graphics mode (-g)? It's blazing fast and really small - links just against xlib. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Built-in lpr vs CUPS
Dear Kai, This problem can be solved by making file /usr/bin/lp* non-executable, like this: chmod -x /usr/bin/lp* regards, Robert On Sat, 08 May 2004 18:55:54 +0200 Kai Grossjohann [EMAIL PROTECTED] wrote: The default setup is to include /usr/bin before /usr/local/bin in $PATH. This means that entering lpr -Pfoo doesn't work for printing on my machine, I have to say /usr/local/bin/lpr -Pfoo. It is obvious that I could change $PATH to mention /usr/local/bin before /usr/bin, but is that the right solution? Surely there is a reason for /etc/login.conf to mention /usr/bin first. Any thoughts are very much appreciated. Kai ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ProFTPd installation / configuration help needed
On Fri, 14 May 2004 14:57:53 -0400 Bruce Hunter [EMAIL PROTECTED] wrote: I have installed ProFTPd from the ports collection on a FBSD 5.2.1 system. The only problem is, it doesn't start up. I know I have to set / change the ftp line in the /etc/inetd.conf i also have setup a user account on the system called ftp and the group ftp. Any help would be great As I recall, you have to manually create a directory /var/run/proftpd - the man page erroneously tells you to use /var/run/run/proftpd. Permission levels and ownership are like this: # ls -dl /var/run/proftpd drwxr-xr-x 2 root wheel 512 Apr 16 20:19 /var/run/proftpd If you're starting from /etc/inetd.conf, you need to edit /usr/local/etc/proftpd.conf and comment out the line that says: ServerType standalone and add a line that says: ServerType inetd See man proftpd for more details. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD installation on a single partition
Unless you're really short of hard disk space, I'd say that this is a bad idea. Multiple partitions give added stability and security. The sole disadvantage of using multiple partitions is that you might not allocate enough space on one particular partition and so it could fill up - therefore, you have to put some careful thought into how large each partition should be. Advantage No. 1 of multiple partitions - stability. Some directories are frequently being written to, especially /tmp and /var, and probably /home (especially if you manage to create a swap file there). If there is a system crash or power failure while information is being written, you could lose everything. All your critical data probably resides in /home, so you should keep it in a separate partition so that you can recover it even if everything else goes to hell. Ideally, you want the / partition to be read-only. Advantage No. 2 - security. A number of denial of service attacks and other hacks are aimed at /tmp and /var, and you can accidentally cause a self-inflicted denial of service attack if you fill up /home. Having separate partitions prevents this. At the very least, keep swap in its own partition. Ideally, have separate partitions for /, /usr, /tmp, /var and /home. regards, Robert On Sat, 15 May 2004 14:31:28 +0200 Günther Schmidt [EMAIL PROTECTED] wrote: Hi, I'd like to install FreeBSD on a single partition, how can I do that? The sys/installer complains about a missing swap partition, (I'd rather use swap files though). Thanks Günther ___ [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: New work on installer?
On Mon, 17 May 2004 01:00:37 -0500 [EMAIL PROTECTED] wrote: Has there been any new work on the installer or planned? If not, I would like to help... What about graphical? If you're looking to improve FreeBSD's user-friendliness, more usefual than a GUI installer would be a few network setup tools. To get some idea what I'm talking about, take a look at Slackware's netconfig and adsl-setup tools. These aren't GUI, just ncurses scripts, but very easy to use. When I was a FBSD newbie, one of my most frustrating experiences was having to manually write and modify /etc/ppp/options and /etc/ppp/ppp.conf. I think a lot of newbies get to this point, spend a few frustrating days tearing their hair out, and then give up and go back to Redhat or SUSE. A user-friendly GUI or ncurses script for configuring the new PF firewall would no doubt win a few converts too. Take a look at Guarddog (a Linux tool for IP tables) to get some idea. Just my 2 cents. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: home on a gbde encrypted partion
On Sat, 22 May 2004 12:54:29 +0200 platanthera [EMAIL PROTECTED] wrote: On Friday 21 May 2004 17:49, platanthera wrote: hi all, I want to move my home directory to a gbde encrypted partition. I plan to have only the default dotfiles in /home/xxx (before mounting the encrypted partition), log in as usual, attach and fsck the encrypted partion and then mount it 'over' /home/xxx. Is there anything wrong with this approach? hmm... obviously there is something wrong. I can't unmount my current home directory later. Not really surprising.. Interesting question. File /etc/passwd is where the system determines where a user's data files will be located. For example, user robert on my system: [EMAIL PROTECTED]:~ cat /etc/passwd | grep robert robert:*:1005:1006:User :/home/robert:/usr/local/bin/bash So just create a special user (using sysinstall), perhaps user secure. Instead of putting his login directory at /home/secure, put it on /secure (a directory you manually create) and (as root) mount /secure on an encrypted partition. After /secure is mounted, login as user secure. You'll have to tweak permissions of course so that user secure can read/write files on this partition. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Policy filtering with postfix
I'm not an expert on Postfix or any other MTA, but it might be that your logs are displaying headers or attachments with high-order ASCII text used by non-Roman scripts (Chinese, Korean and Japanese would be good examples). I have some files from Chinese Windows (Word docs and html) and when I list the filesnames at the console in FreeBSD, this is how they display: .doc .htm 1?1.doc ??.doc ??? .doc ? ??.doc ?? ?.doc ??.htm .doc ??.doc ??? ?.doc ??? ??.doc ???.doc ?.doc ??.doc .doc So maybe this is your problem. best regards, Robert On Sun, 30 May 2004 01:43:54 +0300 Lefteris Tsintjelis [EMAIL PROTECTED] wrote: Hi, I am trying to setup policy but I keep on getting all these in my log files. postfix/policy-spf[15755]: : testing: stripped [EMAIL PROTECTED], stripped [EMAIL PROTECTED] postfix/policy-spf[15755]: : SPF : smtp_comment= , header_comment=?? ?? postfix/policy-spf[15755]: decided action=DUNNO Are all these normal to show up in the maillog? Anyone has any idea what they are? I suspect it maybe an IPv6 problem. Can anyone please confirm it? Thank you, Lefteris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk geometry salad...
2) When installing FreeBSD, sysinstall warns that a geometry of the first drive (1) as it detects it (77545/16/63) is incorrect and can't be used. It automatically replaces the values with 4865/255/63. The problem is that after replacing the geometry with 4865/255/63 the number of LBA sectors (as listed in the Disk Slice editor) becomes lower than the manufacturer spec (78,156,225 instead of 78,165,360). What does this mean? You've encountered a well-known bug in the installer. I've experienced it too and so have many others. During the install, when you're in the fdisk partition editor, just hitting g is usually all you have to do to correct the bug. If you've already installed, I'm not sure what you can do to correct the bug other than go back and reinstall, this time hitting g. There might be another way to change disk geometry without doing that, but I don't know how (anybody reading this know?). You might want to take a look at the following article, the geometry bug is discussed about 1/3 down from the top: http://distrowatch.com/dwres.php?resource=review-freebsd regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem of vipw
On Tue, 1 Jun 2004 21:58:13 +0800 Hamilton [EMAIL PROTECTED] wrote: Hi, I would like to add a new user into my system. I simply execute the vipw command from the remote machine. No matter how I execute vipw as root or sudo vipw, the system shows the error message to me. i.e. I execute #vipw -- as root #sudo vipw vipw: pw_edit() No such file or directory Dear Hamilton, I would guess that this is probably just a path error. You might be able to start vipw by just typing /usr/sbin/vipw. If this solves the problem, you might want to add /usr/sbin to the path (it should be there by default, but that depends on what account you're using to log in with). You can set the path in the ~/.profile hidden file. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pure-ftpd with SFTP and PureDB Authentication (fwd)
If your users want a GUI client and they run Linux or *BSD, then they can easily configure Gftp to use sftp rather than ftp. In this scenario, you don't need to run Pureftp on your server - sftp (which uses the sshd daemon) will do the whole job. In Gftp, you set this up by clicking FTP-Options-SSH, and on the line that says SSH2 sftp-server path type /usr/libexec/sftp-server. This is the sftp-server path for FreeBSD, though note that if your users try to connect to another server that uses a different path (some Linux distros use /usr/lib/sftp-server) they'll have to change the path. Anyway, once this option is set, the only thing the user has to do is click on the FTP icon (upper right-hand side of Gftp screen) and select SSH2 (as opposed to FTP). That's all. All of the above applies to Linux and *BSD, and maybe to OSX as well. But if your users are running Windows, I have no idea. It may be possible with some Windows ftp clients, but you'll have to research that on your own. Maybe I haven't really answered your question. best regards, Robert On Thu, 3 Jun 2004 08:26:55 -0800 Noah [EMAIL PROTECTED] wrote: SFTP is for giving secure-ftp-access to users who also have secure- shell-access (SSH), so I don't think it's appropriate for your case. FTP-logins can be totally separated from shell-logins (with a separate passwords-database or even virtual users on some ftp- servers), so I think you better go on with your FTP-configuration, but then use a SSL- aware FTP-client to make secured connections to your server, not SFTP. I dont completely understand here - how can I force people with FTP accounts to log in securely? As in - how do I force SSL authenticated logins but still allow authentication to the accounts in Pureftp DB file? thanks in advance, - noah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Dangerous file system / disk problem
On Mon, 7 Jun 2004 13:10:48 +0100 Ben Paley [EMAIL PROTECTED] wrote: This is very scary, but thanks for the advice. I had some more advice (not sure if it went to the list or not) to try setting the second partition as unused (sysid=0), so I might try that first to see whether I can avoid risking destroying everything and making my family hate me. I'll suggest something sacrilegious - beg, borrow or steal a copy of Windows 2000 - it doesn't mind being installed on the second hard disk. Remember - I never said that. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Improper shutdown of system / Fragmentation Problems / Boot logs
I am kinda new to FBSD, still kinda learning stuff. Anyway, when my system boots i see all kinda fragmentation information. How do I correct this? Any good reading material? FreeBSD will defragment itself without any action from the user. However, defragmentation requires some blank space, and (ideally) you should not let any partition get more than 80% full. You can check on that with df -h: [EMAIL PROTECTED]:~ df -h FilesystemSize Used Avail Capacity Mounted on /dev/ad0s2a 248M68M 160M30%/ devfs 1.0K 1.0K 0B 100%/dev /dev/ad0s2g 2.4G 281M 1.9G13%/home /dev/ad0s2e 248M 1.2M 227M 1%/tmp /dev/ad0s2f 8.7G 2.4G 5.6G30%/usr /dev/ad0s2d 248M17M 211M 8%/var The column labeled Capacity tells you the percentage of space being consumed - over 80% would be bad. Note that the devfs uses 100% (on FBSD 5.x, it doesn't exist on 4.x) - that's no problem, it's not a partition and it will always be 100%. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Leaving a server on all day
I'm surprised no one's mentioned this yet, but one way to significantly reduce power consumption is to downclock the processor. Yes, that reduces performance, but chances are you won't even notice it unless you're running the server under a heavy load. You said your network consists of two machines (a laptop and desktop) - that is very far from a heavy load. You said you have a 1.8 GHz Athlon - if you downclocked it 50% you still probably wouldn't notice any change. I have an old machine with a 300 MHz processor, but even that is more than adequate when it's only serving web pages or mail to a single laptop. On most new motherboards, you set the clock speed in the BIOS, but on older machines it requires changing jumper settings. Obviously, doing it in BIOS is much easier. : Yes; spills, flying objects, whatever. Most importantly, it's not on : the floor, and securely on my desk. I deal w/ the noise by keeping the What is so bad with the floor? I've found that when the machine is left on the floor, it sucks in a lot of dust. And the dust coats everything and makes it run hotter. I live in a dusty place, so I periodically have to open the case and blow out the dust with an air compressor. : That reminds me: is a CD/RW a feasible data backup device? I've never used: mine. : : For me, yes it is. Tapes are, or were, too expensive. The CD/RW I Read the FreeBSD Handbook, the section on Raw Data CDs. That's the backup method I use, and it works well. It's also kind of nice that nobody else can read your CDs unless they're using FreeBSD. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Centrino - Made for Microsoft Windows XP?
I recently purchased a new laptop, an IBM X31 ThinkPad, which uses the Centrino processor. I had high expectations for this machine. Alas, my expectations have been shattered. All attempts at installing FreeBSD 5.2.1 quickly end with a crash. Interestingly, I have an old FBSD 4.8 CD - that installs fine. Lest anybody think my 5.2.1 CDR is bad, I went and downloaded it a second time, plus I also tried a network install. Failure every time. Nor is the problem limited to FreeBSD. MEPIS Linux crashes during the install as well. Knoppix Linux installed but dmesg was putting out lots of error messages (for example, it could not mount a journaled ext3 partition, so it mounted as ext2). In the end, I got Knoppix to install and run reliably only by using the older 2.4.26 kernel and by disabling APIC. After doing some Googling and seeing that others were having issues, my suspicion is that Centrino's power management features are to blame. But I could be wrong. So I guess my question is this: Has anybody here gotten FreeBSD 5.2.1 to install on a Centrino laptop? If so, did you need to do anything special to make it work? Any tips, tricks or hints I should try? Or should I just wait for FreeBSD 5.3 to come out and hope it works? Or should I file a PR? If others are not having problems with the Centrino chip, I might to back to IBM and demand that they replace the motherboard, but I tend to think they'll just tell me to reinstall Windows XP and all will be well. There is indeed a sticker on the laptop saying Made for Microsoft Windows XP (well, there was, I ripped the sticker off, but I still can't install FreeBSD). best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
firewall
Dear All, I'm having a hard time configuring a firewall. I ALMOST understand it, but I've run into one problem. I think I don't actually have my /etc/rc.firewall set up properly. Maybe I don't really understand what the ip setting should be, and I've made it the same as my net setting. Anyway, what I can say is that with the configuration I have, I can access my internal (ethernet) network, but ppp is totally blocked, which of course I don't want. Below are the configuration settings I've made, and the results I get. I hope that somebody can help. best regards, Robert Storey FROM /etc/rc.conf: firewall_enable=YES firewall_script=/etc/rc.firewall firewall_type=client FROM /etc/rc.firewall: # set these to your network and netmask and ip net=192.168.0.2 mask=255.255.255.0 ip=192.168.0.2 CONTENT OF /etc/hosts: # ::1 localhost localhost.utopia.com 127.0.0.1 localhost localhost.utopia.com # 192.168.0.3 ibm.utopia.com ibm 192.168.0.2 sonic.utopia.comsonic 192.168.0.1 pro.utopia.com pro OUTPUT OF ipfw -a list: 00100 0 0 allow ip from any to any via lo0 00200 0 0 deny ip from any to 127.0.0.0/8 00300 0 0 deny ip from 127.0.0.0/8 to any 00400 0 0 allow ip from 192.168.0.2 to 192.168.0.0/24 00500 0 0 allow ip from 192.168.0.0/24 to 192.168.0.2 00600 0 0 allow tcp from any to any established 00700 0 0 allow ip from any to any frag 00800 0 0 allow tcp from any to 192.168.0.2 dst-port 25 setup 00900 0 0 allow tcp from 192.168.0.2 to any setup 01000 0 0 deny tcp from any to any setup 01100 0 0 allow udp from 192.168.0.2 to any dst-port 53 keep-state 01200 0 0 allow udp from 192.168.0.2 to any dst-port 123 keep-state 65535 0 0 deny ip from any to any ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall
On Sun, 14 Sep 2003 23:52:40 -0400 Bob Hall [EMAIL PROTECTED] wrote: Could you be more specific about what doesn't work? Have you tried ping and traceroute? nslookup? HTTP? Sometimes when people are having trouble, it turns out that they are having trouble with specific apps, but otherwise can connect successfully. It looks like you're using the CLIENT ruleset from the default rc.firewall. If this firewall is for a LAN, you will have more success with the SIMPLE ruleset. (I made the same mistake the first time I set up a LAN firewall.) Thanks, that was a good suggestion (to use the SIMPLE ruleset). However, I'm still not getting through with PPP. Here is the output of ifconfig when I'm online: [EMAIL PROTECTED]:~ ifconfig vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20c:6eff:fe0a:ca02%vr0 prefixlen 64 scopeid 0x1 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255 ether 00:0c:6e:0a:ca:02 media: Ethernet autoselect (none) status: no carrier lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff00 ppp0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1524 inet 61.227.219.11 -- 168.95.46.33 netmask 0xff00 AND the result of a ping: [EMAIL PROTECTED]:~ ping slashdot.org ping: cannot resolve slashdot.org: Host name lookup failure This is my current configuration in /etc/rc.firewall: # set these to your outside interface network and netmask and ip oif=ppp0 onet=168.95.0.0 omask=255.255.255.255 oip=168.95.0.0 # set these to your inside interface network and netmask and ip iif=vr0 inet=192.168.0.0 imask=255.255.255.0 iip=192.168.0.2 Again, my internal (ethernet) network is accessible, but PPP is completely dead to the world. When I remove the firewall, it works fine, so it's not an issue of PPP incorrectly configured. Hope somebody can help. Again, I confess that I don't know much about writing firewall rules. All I really want is to use the default set of rules called simple. Thanks to all who have replied. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: D-Link DFE-530TX NIC not recognized...
On Sun, 14 Sep 2003 17:49:50 -0400 yo _ [EMAIL PROTECTED] wrote: The DFE-530TX and DFE-530TX+ use different ethernet chipsets. The D-Link I used to have a DFE-530TX. It requires the via-rhine driver (vr in FBSD lingo). regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall
On Mon, 15 Sep 2003 18:56:07 -0400 Bob Hall [EMAIL PROTECTED] wrote: Another poster pointed out, and I seconded, that you need to set up NAT. There was no divert rule in your previous rule list, and you haven't mentioned setting up NAT, so I assume you still haven't done it. Without NAT, your gateway computer will be able to use PPP without your previous firewall, but none of your other computers will be able to connect. Dear Bob, Thanks. Acting on Scott's suggestion, I put this in /etc/rc.conf: natd_enable=YES natd_interface=ppp0 However, I'm still left with the same problem - with the firewall enabled, ppp is blocked. Maybe I should clarify - it's the gateway machine that cannot access ppp. I'm not worried about the other machines on the network gaining access to ppp. Anyway, the internal network is OK even with the firewall enabled, but the firewall is definitely blocking my ppp connection. If I were smarter, I could probably tweak the network settings in /etc/rc.firewall. But all I'm trying to do is use the simple configuration (which so far is not proving to be simple). I'm pretty much out of ideas on this. thanks again, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: firewall
In the continuing saga of my firewall configuration... One kind member of this list suggested I must compile this into my kernel: options IPDIVERT So I did that, and it made a difference though it didn't solve the problem. Previously, whenever I started ppp, if I attempted to ping I would get this error message: [EMAIL PROTECTED]:~ ping slashdot.org ping: cannot resolve slashdot.org: Host name lookup failure Now when I ping, I get no response - no error messages, but no other feedback. I think this is an improvement, but something is still preventing me from getting a response from ppp. To reiterate, this is everything I've done so far: FROM /etc/rc.conf: firewall_enable=YES firewall_script=/etc/rc.firewall firewall_type=simple natd_enable=YES natd_interface=ppp0 FROM /etc/rc.firewall: # set these to your outside interface network and netmask and ip oif=ppp0 onet=168.95.0.0 omask=255.255.255.255 oip=168.95.0.0 # set these to your inside interface network and netmask and ip iif=vr0 inet=192.168.0.0 imask=255.255.255.0 iip=192.168.0.2 Kernel recompile: options IPDIVERT CONTENT OF /etc/hosts: # ::1 localhost localhost.utopia.com 127.0.0.1 localhost localhost.utopia.com # 192.168.0.3 ibm.utopia.com ibm 192.168.0.2 sonic.utopia.comsonic 192.168.0.1 pro.utopia.com pro I also used sysinstall to designate this machine as a gateway. Was that the right thing to do? thanks for all the advice so far, still hoping, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Is FreeBSD up to this job?
On Wed, 17 Sep 2003 12:33:30 -0600 (MDT) Jeremy Pavleck [EMAIL PROTECTED] wrote: Hi gang, I was looking at purchasing a jukebox recently for a poolhall. When all is said and done, I found a refurbished 100 cd jukebox which I thought was really nice, until I heard the price - $4500. This is on par with a lot of older refurbished models, and the price can double for newer ones! So, the gears in my head started turning, and I mentally devised a plan to build my own jukebox that does more then your standard juke for a lot less money. Though I am unfortunately more of a Windows guy, I am thinking of turning to FBSD for this job. My plan is to build a custom jukebox looking enclosure like everyone is used to seeing in bars, poolhalls, etc. In place of the CD changer I'd like to have a full PC (Thinking XP2800, 1GB RAM, 500Gb SATA RAID) built inside, connected to a CD changer that I can control. This way I can offer more then just CDs, but mp3s and videos as well. I'd like to pick up a nice vid card (Say an ATI Radeon 9xxx Pro series with S-Video out) and setup the S-Video side to stream videos/xmms mp3/cd visualizations to 6 TVs spread throughout the place. In place of the normal song selection screen you normally see, I'd like to place a 17 or 19 LCD that only display 4-8 CD covers song lists at a time. It's a clever idea. I'm certainly no expert, but I should think it would be a whole lot cheaper if you could dispense with the physical CD changer and just implement the music with mp3. I'm less sure about video - there might be legal issues with taking copy-protected DVDs and turning them into mpegs. Anyway, the more you do with software and the less with hardware, the less this thing will cost. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mailfilter
Dear All, For awhile now I've been using a Linux/Unix program called Mailfilter, and it is SUPERB. It has solved my problems with the continuous bombardment of Windows viruses that pour into my inbox. Unlike Procmail, Mailfilter deletes the garbage on the mail server, so you don't have to download, which is of major importance if you're on dialup (as I am most of the time). Alas, I have not been able to get Mailfilter to compile on FreeBSD, even though it is claimed to work. It is not in the ports collection (though I wish it was - any developers interested?). Rather, you have to download the source from Sourceforge and compile. Below I've reproduced the part of the make process where the error shows up. If anybody has a suggestion, I'd be grateful. best regards, Robert Making all in src gmake[2]: Entering directory `/root/mailfilter-0.6/src' source='rcfile.cc' object='rcfile.o' libtool=no \ depfile='.deps/rcfile.Po' tmpdepfile='.deps/rcfile.TPo' \ depmode=gcc /usr/local/bin/bash ../depcomp \ g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I../src -DLOCALEDIR=\/usr/local/share/locale\ -I../intl -I/usr/local/include -Wall -g -O2 -c -o rcfile.o `test -f 'rcfile.cc' || echo './'`rcfile.cc rcfile.ll:230: conflicting types for `typedef union YYSTYPE YYSTYPE' rcparser.h:40: previous declaration as `typedef union YYSTYPE YYSTYPE' rcfile.ll:231: conflicting types for `union YYSTYPE yylval' rcparser.h:41: previous declaration as `union YYSTYPE yylval' gmake[2]: *** [rcfile.o] Error 1 gmake[2]: Leaving directory `/root/mailfilter-0.6/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/root/mailfilter-0.6' gmake: *** [all] Error 2 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
anonymous ftp
I'm setting up an anonymous ftp server. I understand that a user named ftp can log in without a password, and that anonymous is an alias for user ftp. What I'm wondering is if it is possible to assign other aliases for ftp, let us say user aardvark or scary.daemon whatever? How would I go about doing that? thanks in advance, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Grub problem
Use the chainloader command to start FBSD, like this: root (hd0,2,a) chainloader +1 boot best regards, Robert On Mon, 02 Feb 2004 01:42:02 -0300 Roy Fokker [EMAIL PROTECTED] wrote: Hi, i have installed in my computer FBSD 5.1, and RH9. The thing is, when i try to get GRUB to boot FBSD, i get the following error message: root (hd0,2,a) Filesystem type unknown, partition type 0xa5 Then, in the GRUB-shell, i get this from auto-completion. Partition num: 2, [BSD sub-partitions immediately follow] BSD Partition num:'a', Filesystem type unknown, partition type 0xa5 BSD Partition num:'b', Filesystem type unknown, partition type 0xa5 BSD Partition num:'d', Filesystem type unknown, partition type 0xa5 BSD Partition num:'e', Filesystem type unknown, partition type 0xa5 BSD Partition num:'f', Filesystem type unknown, partition type 0xa5 And i'm guessing that it is because of this, it then grub kernel /boot/loader ro root=/dev/hda3 Error 17: Cannot mount selected partition This is an extract of my grub.conf. I looked for info about this, and found no other reference. title FreeBSD 5.1 Release root (hd0,2,a) kernel/boot/loader ro root=/dev/hda3 I will appreciate any input. Thanks. Alejandro, from BA, Argentina. _ Nuevo MSN Messenger [1]Una forma rápida y divertida de enviar mensajes References 1. http://g.msn.com/8HMBESAR/2728??PS= ___ [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]
Win200 gateway blocking FBSD html?
I'm trying to set up a FreeBSD client machine for a school. They have never used FBSD or even Linux, they are 100% Windows. They are interested in letting their students gain experience with non-Windows software. So I need to prove to them that FBSD can work, but I've run into a major obstacle. The client machines are connected to a switch, which is connected to a Windows 2000 gateway machine to access the Internet. I set up a FBSD client, and using dhcp it can find the network. I can ping the gateway machine, and even ping the local ISP. I can also use gftp to access some anonymous ftp sites (such as FreeBSD.org) though performance seems slow. The problem - I cannot access any web sites with http. Doesn't matter if I use Konqueror, Mozilla or Lynx. Yet, all the Windows machines on this network can browse the web (using Internet Explorer) without difficulty. I find this very peculiar. Just to be sure that I don't have a misconfigured firewall on the FBSD box, I installed FBSD on my laptop, plugged it into a different network - works fine, I can surf the web. Then I plug it into the school's network, and http doesn't work, but ping and ftp can reach the outside world (though again, it's slow). Is it somehow possible that the Windows gateway only allows Internet Explorer to work? Doesn't seem possible, but what do I know? All suggestions welcome. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Win200 gateway blocking FBSD html?
I'm trying to set up a FreeBSD client machine for a school. They have never used FBSD or even Linux, they are 100% Windows. They are interested in letting their students gain experience with non-Windows software. So I need to prove to them that FBSD can work, but I've run into a major obstacle. The client machines are connected to a switch, which is connected to a Windows 2000 gateway machine to access the Internet. I set up a FBSD client, and using dhcp it can find the network. I can ping the gateway machine, and even ping the local ISP. I can also use gftp to access some anonymous ftp sites (such as FreeBSD.org) though performance seems slow. The problem - I cannot access any web sites with http. Doesn't matter if I use Konqueror, Mozilla or Lynx. Yet, all the Windows machines on this network can browse the web (using Internet Explorer) without difficulty. I find this very peculiar. Just to be sure that I don't have a misconfigured firewall on the FBSD box, I installed FBSD on my laptop, plugged it into a different network - works fine, I can surf the web. Then I plug it into the school's network, and http doesn't work, but ping and ftp can reach the outside world (though again, it's slow). Is it somehow possible that the Windows gateway only allows Internet Explorer to work? Doesn't seem possible, but what do I know? All suggestions welcome. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Win200 gateway blocking FBSD html?
Dear All, Thanks to everyone (8 persons so far) who replied to my question - I greatly appreciate the help. Yes, I believe that the problem must be a Windows proxy server - it's a school, and if I'm not mistaken, a proxy server can be configured to block pornographic web sites (correct me if I'm wrong). I'll have to check this tomorrow, as I'm not at the school right now (it's night here - I'm in Taiwan). Briefly, to answer some of the questions posed... I was wondering, does your mailer hava option to cut the text on or becore char 72? This is a bit difficult to read, but i can answer you question. Sorry, I just fixed that. Thanks for telling me. And Windows clients are set also to get their network settings automatically. This will include those that are managed by dhcp. I assume from what you say that the FreeBSD machine is successfully gaining a valid ip address, netmask, gateway (router) address and is resolving domain names. Yes, the output of ifconfig looks very good. Is there another gateway that you can go out on? Or better yet, replace the the server! Unfortunately, not. Interestingly, I learned that the old gateway (5 years old) was installed by a contractor, and it ran FreeBSD! No one at the school understood how to configure it, and they just replaced it with a nice new shiny Windows 2000 box because they thought it would be easier. Arrgh! More experiments tomorrow. Thanks again, - Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ext2 mount
You must add this line to the kernel and recompile: options EXT2FS regards, Robert On Thu, 19 Feb 2004 19:22:28 +0100 [EMAIL PROTECTED] wrote: How can I mount ext2 under FreeBSD 5.2? I use this command: mount_ext2fs /dev/ad1s3 /mnt and the reply with error: mount_ext2fs: /dev/ad1s3: Operation not supported by device ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wrong Geometry Disk Problem (Seagate ST3200822A - 200 GB)
Yes, I too have encountered the geometry bug a number of times on different machines, and for awhile it put me off to using FreeBSD. Then I discovered that if you just hit g during the partitioning process, it finds the correct geometry and you can continue with the installation. At least, this has worked for me. Nevertheless, I hope the bug will be fixed eventually. It certainly scares away potential FBSD users. regards, Robert On Sun, 22 Feb 2004 12:54:42 -0500 David Markle [EMAIL PROTECTED] wrote: Hello all, I have a problem installing FreeBSD 5.2.1 onto a Seagate Barracuda ST3200822A - 200 GB ATA/100 Hard Drive. Being a bit gun shy from a previous geometry problem mis-install where I almost lost some serious data, I am reluctant to just try things until they work. So here goes... Using the Seagate disk tool, I created a 120 GB NTFS partition and a 200 MB FAT16 partition. Installed Windows XP on the 120 GB part. I want to put FreeBSD on the remaining space (~80 GB). The Seagate HD utility states the following: LBA Sectors are 390,721,968. Standard 512 bytes per sector. XBIOS Physical (and HD Spec Sheet from manufacture) (what BSD FDISK Sees too). C16383 H16 S63 BIOS C24321 H255 S63 When the FreeBSD CD boots and enters sysinstall, I get the usual drive geometry error. I've extensively searched google for some sort of method to calculate the true drive geometry with little success. 1. Is the above BIOS info correct ?? 2. Ultimately, do I want the drive geometry to match up with the LBA sectors ?? 3. Can anyone point me towards something that correctly calculates any drive's TRUE geometry ?? Any help is greatly appreciated... david markle ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Proftp
I've decided to install proftpd from ports since (it is said) to be more robust than the FBSD ftpd daemon. I went to /usr/ports/ftp/proftpd. The port downloaded, compiled, and appeared to install correctly. I edited /etc/rc.conf to make sure that the /usr/local/etc/rc.d/proftpd.sh would run at boot time. I checked file proftpd.conf to make sure it was in standalone mode. However, it does not start. If I manually run the command /usr/local/libexec/proftpd start, I receive this error message: error opening scoreboard: no such file or directory According to the man page, there should be a file called /var/run/run/proftpd/proftpd.scoreboard but I see that it does not exist on my machine. I tried creating it with the touch command, but that doesn't really do anything useful. In fact, I know from running Slackware that this should be a binary file, not an empty file, so I didn't have much hope that this would solve anything. I also tried starting Proftp from /etc/inetd.conf, but that was also unsuccessful. Again, I received the same error about the missing scoreboard. At this point, I'm stumped, so I hope that somebody who has succeeded in getting Proftp working on FBSD has some advice. TIA, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Proftp [SOLVED]
Thanks to those who responded. Manually creating the directory /var/run/proftpd did indeed solve the problem, and yes, the man page is incorrect as it suggests /var/run/run/proftpd. best regards, Robert On Wed, 25 Feb 2004 09:25:19 -0500 Paul Mather [EMAIL PROTECTED] wrote: The problem with the port is that it does not create the default directory in which the scoreboard file is created. The man page that is installed is also apparently incorrect. The correct default directory is /var/run/proftpd. If you create that directory, the port should run happily with the default proftpd.conf file. Alternatively, as someone else suggested, you can explicitly set the scoreboard file to be stored in a known existing directory (e.g., /var/run) via the ScoreboardFile directive in proftpd.conf. You don't need to create the scoreboard file itself. It will be created when proftpd starts up (so long as the directory in which it is supposed to reside exists). Cheers, Paul. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 32 bit on FreeBSD 5.2
I assume you're talking about configuring X for 32-bit color. If that's the case, you need to add a line in the Screen section of /etc/X11/XF86Config like this: DefaultDepth 32 Be sure that your card supports this depth before enabling it. regards, Robert On Tue, 24 Feb 2004 16:14:21 -0800 (PST) Mateusz Rajca [EMAIL PROTECTED] wrote: Hi, How do you setup the 32 bit color option on FreeBSD 5.2. Thanks Mateusz Rajca __ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools ___ [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: Boot and MBR.
The second question I have, is can I put the command startx into my rc.conf file to have it boot directly into the x-server? Any help on these two would be awesome. Thanks. I have not been successfule with that sort of thing. Anyway, I don't think just putting it in rc.conf would do the trick because that just sets a bunch of variables in there. Then the stuff is actually run from rc (and some other places I think) using those variable values set in /etc/defaults/rc.conf and /etc/rc.conf.. I think you might not want your startx to fire off until after you log in anyway.That would mean putting it in .login (if you have a csh or tcsh shell) and that is what didn't work for me, though I didn't try many variations. If you're running the Bash shell, putting startx into file ~/.bash_profile will have the desired effect. Under FBSD, by default there is no .bash_profile file, so just create one for each individual user who wants to start up in X. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hostname in shell (bash)?
I personally like the following one (because no matter where you are, it will show you the working directory as well as who is logged in). Put this into .bashrc... PS1=[EMAIL PROTECTED]:\w export PS1 regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
what is my real address?
I've set up a FreeBSD client at our school. The client gets its address via dhcp from the gateway machine which runs Windows NT (yuch!). There is apparently a proxy server installed which blocks http, but I can get out onto the Internet using ssh to login to another server, from where I run lynx if I want to visit web sites. ftp is not blocked, so I can download if I need to. For run, I would like to run an ftp server on this client machine. For that, I would need to know my real address on the web, but I am not sure how to find this info. If I run ifconfig, it tells me the following: inet addr: 10.0.0.10 Bcast: 10.0.0.31 Mask 255.255.255.224 I can safely assume that 10.0.0.10 is an internal address for this network. I've been pouring through the *BSD documentation I have hoping to find a command that will tell me the address I occupy on the Internet, but so far I haven't found anything. I'm sure the answer is simple, but no joy so far - I'd be grateful if somebody could clue me in. A related question...I do realize that my address could change everytime I fire up the client machine. I'm wondering if I can deal with that by using dyndns? Remember, this would be for an anonymous ftp server, not http. Thanks in advance, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: disk geometry issues during sysinstall of 5.2.1
I have found that if you just hit g, it will report the correct disk geometry and fix the problem without any further intervention. Ideally, it would be better if this disk geometry bug gets fixed, but for the time being, hitting g is a quick and dirty fix that works for most people. I wouldn't just ignore the error message and install - I have indeed messed up my disk geometry that way and had to spend some time getting it back to the correct settings. regards, Robert On Wed, 3 Mar 2004 14:06:04 -0800 Goodleaf, John M [EMAIL PROTECTED] wrote: Also, does it really matter? I've poked around the web and it seems like a lot of folks have encountered this and simply chosen to ignore it. Certainly there doesn't seem to be a definitive answer out there that I've seen. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: what is my real address?
On Wed, 3 Mar 2004 13:13:40 + Matthew Seaman [EMAIL PROTECTED] wrote: If you need to find your external address quickly, then ssh into this other machine and look at the variables that ssh sets in your environment -- I'm assuming that the box you ssh into is running some variety of OpenSSH. eg: % env | grep SSH SSH_CLIENT=81.2.69.219 1483 22 SSH_CONNECTION=81.2.69.219 1483 81.2.69.219 22 SSH_TTY=/dev/ttyp4 SSH_AUTH_SOCK=/tmp/ssh-6kfGMKtW/agent.30744 Thanks Matthew, that works superbly! Running an FTP server through a NAT'ing gateway is not going to be a pleasant experience, even if you were running the NAT gateway on a FreeBSD box where natd's punch_fw functionality would make things a great deal easier for you. FTP is an ancient protocol not designed to cope with the realities of the modern internet. Is it just that I will suffer poor performance, or is there some other reason? I don't actually need hot performance, as this will be a very low-traffic anonymous ftp server. It's more for experiment and education than anything else. I'm trying to get the students to learn something besides Windows. You'd be better off putting a reverse-proxy on your gateway machine. Unfortunately, the gateway machine is running Windows NT. I would love to switch it to FreeBSD, but the school owns it and is unlikely to give their consent. They gave me one (very old) client machine on the network and told me I can do what I like with that. Thanks again for all your help. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ssh
Can machine B ping the other machine? Even if it can, you might still be blocking ssh (port 22) with your firewall (if you've installed a firewall on B). If you do have a firewall, shut it down temporarily and then see if ssh works. regards, Robert On Sun, 14 Mar 2004 10:37:01 -0600 (CST) Eduardo Viruena Silva [EMAIL PROTECTED] wrote: Hello FreeBSD gurus! I have a question for you. I have two computers, both of them running FreeBSD 2.5.1-RELEASE. Let us call them A and B. Computer A receives ssh connections from computers running Linux, Solaris and even Windows; it also receives connections from FreeBSD 4.x and 5.1 but it does not receive ssh connections from B. A ask for password and then it takes a long time to say Operation timmed out Connection to A closed. Enabling sshd in rc.d or using it from inetd makes no difference. Strange, isn't it? Hope you can help me. Thanks in advance: PD. Here you will find what ssh -v A dislays: B:/home/mrspock ssh -v A OpenSSH_3.6.1p1 FreeBSD-20030924, SSH protocols 1.5/2.0, OpenSSL 0x0090703f debug1: Reading configuration data /etc/ssh/ssh_config debug1: Rhosts Authentication disabled, originating port will not be trusted. debug1: Connecting to A.esfm.ipn.mx [148.204.102.61] port 22. debug1: Connection established. debug1: identity file /home/mrspock/.ssh/identity type -1 debug1: identity file /home/mrspock/.ssh/id_rsa type -1 debug1: identity file /home/mrspock/.ssh/id_dsa type -1 debug1: Remote protocol version 1.99, remote software version OpenSSH_3.6.1p1 FreeBSD-20030924 debug1: match: OpenSSH_3.6.1p1 FreeBSD-20030924 pat OpenSSH* debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_3.6.1p1 FreeBSD-20030924 debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: server-client aes128-cbc hmac-md5 none debug1: kex: client-server aes128-cbc hmac-md5 none debug1: SSH2_MSG_KEX_DH_GEX_REQUEST sent debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP debug1: SSH2_MSG_KEX_DH_GEX_INIT sent debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY debug1: Host 'A.esfm.ipn.mx' is known and matches the DSA host key. debug1: Found key in /home/mrspock/.ssh/known_hosts:3 debug1: ssh_dss_verify: signature correct debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: SSH2_MSG_NEWKEYS received debug1: SSH2_MSG_SERVICE_REQUEST sent debug1: SSH2_MSG_SERVICE_ACCEPT received debug1: Authentications that can continue: publickey,password,keyboard-interactive debug1: Next authentication method: publickey debug1: Trying private key: /home/mrspock/.ssh/identity debug1: Trying private key: /home/mrspock/.ssh/id_rsa debug1: Trying private key: /home/mrspock/.ssh/id_dsa debug1: Next authentication method: keyboard-interactive Password: debug1: Authentication succeeded (keyboard-interactive). debug1: channel 0: new [client-session] debug1: Entering interactive session. debug1: channel 0: request pty-req debug1: channel 0: request shell debug1: channel 0: open confirm rwindow 0 rmax 32768 debug1: channel_free: channel 0: client-session, nchannels 1 Read from remote host A.esfm.ipn.mx: Operation timed out Connection to A.esfm.ipn.mx closed. debug1: Transferred: stdin 0, stdout 0, stderr 101 bytes in 326.2 seconds debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.3 debug1: Exit status -1 ___ [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]
bypassing a proxy server
As some of you may recall, I'm engaged in an ongoing saga trying to set up a FreeBSD machine on a school's network. The school is Windows only - the administration knows nothing about FreeBSD (or Linux), and it's up to me to prove to them that FBSD is worth teaching to the students. Due to my lobbying, the school has given me one old computer to play with, and I have installed FreeBSD on it. But there are problems. The biggest is that the gateway machine is Windows 2000 and it's running a proxy server (to keep the students from visiting naughty web sites). So the FreeBSD machine cannot get through to the Internet with http, though the Windows machines can. On the other hand, the FBSD box can get through the gateway with ssh and ftp (though performance is sluggish, even with a T1 line). Furthermore, I want the FreeBSD machine to run an anonymous ftp server. Forgive the crappy drawing (I never claimed to be an artist), but this is how the network looks at the moment (except that there are 10 Windows clients, not 2): |---| |windows| |||--||client | | Win2000 || ||---| T1|proxy server||switch| | gateway || ||---| |||---|--||windows| | |client | | |---| | |-|| | FBSD ftp | | server | |--| The problem is that this doesn't work. People from outside the network can't get through to the FBSD ftp server. Clearly, that Win2000 proxy server is an evil machine. When I last discussed this problem (on this list), Matthew wrote back and offered me a pretty thorough explanation of the problem, which is posted here: http://freebsd.rambler.ru/bsdmail/freebsd-questions_2002/msg34253.html OK, I'm convinced, running a ftp server from a NAT gateway is a disaster. So I'm looking for a way around it. I have an old unused hub, and I've been thinking that this might be a possible solution (sort of like a DMZ?)... |---| |windows| |||--||client | | Win2000 || ||---| T1--HUB---|proxy server||switch| || gateway || ||---| ||||--||windows| | |client | | |---| | ||-| | FBSD ftp | | server | |--| The only problem I see here is I don't know how I'm going to get an address for the ftp server. The Win2000 gateway has a static address, it dishes out addresses to the clients with dhcp. The NAT addresses are of course internal addresses like 10.0.0.12, but the school does own a block of 64 static addresses. If I simply stick a hub in front of the gateway machine, all traffic to the gateway will also be sent to the ftp server - I know that will cause packet collisions, but I can live with the crappy performance because it's a very low traffic environment. My main concern is simply how to assign an address to the ftp server without disconnecting the gateway machine. I'm sorry if I'm asking a dumb question, but I'm a novice when it comes to setting up networks. I haven't found anything on Google that deals with this particular question, and there is nobody around here that I can ask. Any advice is appreciated. Thanks in advance, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount ext2fs
If you need fsck for ext2, you could just book a Knoppix (or maybe Slackware) live CD. No need to install Linux, you should be able to run fsck from the CD, and that will clear the ext2 partition. I will also confirm what the other poster said, the correct syntax for mounting the partition should be: mount_ext2fs /dev/as2s2 /data2 Assuming of course that /dev/ad2s2 is the correct partition, and that /data2 actually exists. Using mount -t ext2fs has never worked for me under FreeBSD, though it is the correct syntax under Linux. regards, Robert other deep routed issues. i had read on the mailing list about marking the CLEAR flag for the partition, and that fsck for ext2fs would be required for that. it would seem if i could get that installed it'd be one step closer to being able to mount these partitions. thnx again. _ Johnny ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
log off with process running
I know this has got to be a basic question, but strangely enough I haven't been able to find the answer anywhere... Suppose I'm at home with a dial-up connection to the Internet. At the school where I work we have a server running FreeBSD with a full-time connection (T1 line). So from home, I log onto the school's server with ssh, and start a process that will run for a long time, maybe something like this: wget ftp://ftp.freebsd.org/pub/bigfile.iso OK, that download might run for hours. I don't want to stay connected for hours, I want to log off and hang up the modem. The question is, how to do so? With the above process running, I can't even get back to the command line to type exit (and wouldn't typing exit kill any process I'm running?). Ditto if I hit ctrl-c. I suppose I could just hang up the modem, but that's not elegant. OK, I'm not a total ignoramus - I suspect that maybe I could put the job in the background by either hitting ctrl-z while it's running, or maybe starting it with the parameter. But if I log out from the server with exit, will that kill the running processes? The answer to this eludes me - I haven't found anything said about this in the various documents I've read about ssh. So what is the elegant solution? regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cannot mount vcd
You don't mount VCDs to play them. A simple command to play a VCD would look something like this: mplayer -vcd 2 This means play starting from track 2. You can of course start from track 1. What's important is that you MUST specify a track, or else mplayer will exit with an error message. Of course, you can throw in a bunch of other options, such as loop playing, zooming, adjusting the brightness, etc: mplayer -loop 0 -brightness 10 -zoom -x 790 -y 570 -vcd 1 See man mplayer for more details about all these options. regards, Robert On Mon, 29 Mar 2004 06:05:47 +0100 (BST) Tadimeti Keshav [EMAIL PROTECTED] wrote: hi all, I am able to mount ordinary data CDs, but not VCDs. Hence cannot watch VCDs with mplayer. Am I missing something? Thanks Tk ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
CUPS
Dear all, Having looked at the mind-boggling amount of configuration information that is in the Handbook, I decided to just install CUPS. I'm very familiar with CUPS, having configured it many times in Linux. So I installed the CUPS daemon, and started it by going to /usr/local/etc/rc.d/ and renaming the sample file to cups.sh. I even did a ./cups.sh start and that worked - that is, my printer reacted by moving the print head, and I could fire up Mozilla and type http://localhost:631; and then reach the CUPS configuration page. My printer is an Epson 24-pin dot-matrix onf /dev/lpt0 - there is a driver for that, so no problem. So that should be enough to make it work - at least that would do the job under Linux. But attempting to print a test page gives me nothing. The Handbook says almost zilch about CUPS other than suggesting that one should look at cups.org for advice. Of course, cups.org has little to say about BSD. So I'm wondering what I did wrong? Any help is appreciated. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS
On Thu, 15 Apr 2004 10:51:30 -0700 Derrick Ryalls [EMAIL PROTECTED] wrote: http://www.freebsddiary.org/cups.php I no longer use CUPS myself, but when I had it setup, I had to make sure the system lp* files where chmod'ed to -x so that the CUPS version would be used instead. The above link suggests moving /usr/local/bin before /usr/bin in your path, but that just doesn't give me warm fuzzy feelings. Thanks for this suggestion, and thanks to the others who wrote back. Unfortunately, I still can't get any output from the printer, but a few interesting things have turned up. First off, I discovered that installing CUPS doesn't create /var/log/cups - you have to make that directory manually. OK, I did that, and now I have an error_log file, which has a few interesting lines of output: I [16/Apr/2004:15:55:35 +0800] Adding start banner page none to job 5. I [16/Apr/2004:15:55:35 +0800] Adding end banner page none to job 5. I [16/Apr/2004:15:55:35 +0800] Job 5 queued on 'Epson' by ''. E [16/Apr/2004:15:55:35 +0800] Unable to convert file 0 to printable format for job 5! I [16/Apr/2004:15:55:35 +0800] Hint: Do you have ESP Ghostscript installed? I [16/Apr/2004:15:55:35 +0800] Hint: Try setting the LogLevel to debug. I [16/Apr/2004:17:24:11 +0800] Listening to 0:631 I [16/Apr/2004:17:24:11 +0800] Loaded configuration file /usr/local/etc/cups/cu : I'm interested in the line that says: Hint: Do you have ESP Ghostscript installed? Well, I do have Ghostscript-gnu installed, which should be crucial (it has all gimp-print, which has all the printer drivers). I also installed cups-base and cups-lpr - I can't see anything else that needs to be installed. Everything looks like it should work, and netstat seems to agree that port 631 is ready and waiting: [EMAIL PROTECTED]:~ netstat -an | more Active Internet connections (including servers) Proto Recv-Q Send-Q Local Address Foreign Address(state) tcp4 0 0 *.631 *.*LISTEN tcp4 0 0 127.0.0.1.25 *.*LISTEN tcp4 0 0 *.22 *.*LISTEN tcp6 0 0 *.22 *.*LISTEN The one thing I see that has me confused - ifconfig now reports the existence of a plip0 device - is that correct? Could that be causing a conflict? After all, the printer is connected on my parallel port: [EMAIL PROTECTED]:~ ifconfig vr0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.0.2 netmask 0xff00 broadcast 192.168.0.255 inet6 fe80::20c:6eff:fe0a:ca02%vr0 prefixlen 64 scopeid 0x1 ether 00:0c:6e:0a:ca:02 media: Ethernet autoselect (none) status: no carrier plip0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 All comments are welcome. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: pppoe ..., newbie
On Fri, 16 Apr 2004 22:43:17 -0400 Rainer [EMAIL PROTECTED] wrote: any pointers would be useful, Dear Ranier, I'll give you below my entire ppp.conf file. There are four things you'll need to change: ISP_NAME MY_FREEBSD_USER_NAME [EMAIL PROTECTED] MY_PASSWORD That ought to do it. Then to start a connection, open an Xterm and type: ppp -background ISP_NAME Of course, for ISP_NAME substitute whatever name you used in the ppp.conf file. Actually, you can use any name you like, it doesn't have to be your ISP's real name, aardvark would be fine, you just have to be consistent. To shut down the connection: killall ppp So without further ado, the ppp.conf file: # # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by [EMAIL PROTECTED] # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $ # default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that device references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # # set device /dev/cuaa1 # set speed 115200 # set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ # \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT set timeout 600# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) ISP_NAME: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # allow users MY_FREEBSD_USER_NAME set device PPPoE:rl0 set authname [EMAIL PROTECTED] set authkey MY_PASSWORD # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set ifaddr 0 0 add default HISADDR# Add a (sticky) default route ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp server
Dear Dave, Both the BSD ftp and proftp have worked for me in the past, though I've never benchmarked them. The other major contender is wu-ftp. regards, Robert On Sun, 18 Apr 2004 18:45:09 -0400 dave [EMAIL PROTECTED] wrote: Hello, I've got a 4.9 system and i'm out looking for an ftp server for it as i do not want to use the base server. I've heard good reviews of pure-ftpd, but i'm getting errors: can not find the ftp account and it won't authenticate. I've also tried proftpd, but although i find it capable i don't like it's slow response, even with identd lookups off. Features that i'm looking for, chroot anonymous users to a specific area, enable both anonymous and real users, virtual user and quota support, band width management, and optional secure communications. Most importantly i need it to work with ipfilter/ipnat. Using the base ftp server on a test box i can connect but i keep getting an error, can not build data connection, this is from a box external to the firewall. Thanks. Dave. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PPP in 5.1
Dear Noir, For me to get kppp working, I did the following: create empty /etc/resolv.conf chmod 640 /etc/resolv.conf create /etc/ppp/options with this content: # Options file for PPPD defaultroute crtscts modem deflate 12,12 predictor1 vj-max-slots 16 user lock idle 600 Then just configure kppp as normal (user name, password, phone number). That's all. best regards, Robert On Sun, 18 Apr 2004 18:40:24 +0100 (BST) Noir [EMAIL PROTECTED] wrote: Hi, I am using PPP from the console mode to connect to my ISP. The command that I use are: Input: ppp set device /dev/cuaa0 set speed 115200 enable dns disable ipv6 # tried both with or without this disable ipv6cp # tried both with or without this set authname user_name # tried both with or without this set authkey pass # tried both with or without this term at atdtphone_number Output: All I get is CARRIER 115200 and the modem hangs-up after a few seconds. I tried the above both in shell and from within KDE 3.1 (xterm). I also tried KPPP (ver. 2.1.2) in KDE 3.1. In KPPP I tried different modes: PPP/ PAP/CHAP/ etc. The KPPP log shows: pppd daemon died unexpectedly. Exit status 1. ppp0--/dev/cuaa0 PAP authentication failed. I also have my p. dns and s. dns in my /etc/resolf.conf file. It's a FBSD5.1. Any kind of help would be greatly appreciated. --Noir. Yahoo! Messenger - Communicate instantly...Ping your friends today! Download Messenger Now http://uk.messenger.yahoo.com/download/index.html ___ [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]
restricting ssh to authorized users
I've been wondering what is the best way to prevent certain users from being able to login with ssh, even though I want to allow them ftp access? The opposite is easy to accomplish - if I put somebody's name in file /etc/ftpusers, that person cannot login with ftp, but they could still login with ssh. But I don't see a file /etc/sshusers, and I'm wondering if there is some equivalent. TIA, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: restricting ssh to authorized users
Thanks Andy, that was easy. Wish all the solutions to my sysadmin questions were so simple. best regards, Robert On Tue, 20 Apr 2004 02:33:05 + Andy Miller [EMAIL PROTECTED] wrote: On Tue, Apr 20, 2004 at 10:25:06AM +0800, Robert Storey wrote: I've been wondering what is the best way to prevent certain users from being able to login with ssh, even though I want to allow them ftp access? The opposite is easy to accomplish - if I put somebody's name in file /etc/ftpusers, that person cannot login with ftp, but they could still login with ssh. But I don't see a file /etc/sshusers, and I'm wondering if there is some equivalent. If you don't want someone to be able to login, you can change their login shell to /sbin/nologin. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CDRom able to play DVD movies
On Tue, 15 Jul 2003 21:58:34 -0500 Chris [EMAIL PROTECTED] wrote: On Tuesday 15 July 2003 09:54 pm, Neu, Benjamin S. wrote: Nope! A cd-rom is built (hardware wise) for CD's not DVD's! I wanted to be sure - someplace, somewhere I heard, that under windows, this could be done. Heh - I musta overheard that from some other users in passing - I was sure that wasn't the case, but in a day where you can purchase software (windows-wize) to boost your internet speed, blah, blah, blah - I just had to ask. Thanks for confirming what I had expected all along. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Sent: Tuesday, July 15, 2003 9:52 PM To: [EMAIL PROTECTED] Subject: CDRom able to play DVD movies Hiya - Is there an app/emulator that will allow my ordinary CD Rom reader to play store bought DVD movies? I think I know the source of your confusion. There is a Windows program (or probably more than one program by now) which lets you pop a DVD into your DVD drive, and it converts the files into a format that you can burn onto CD-R - in other words, it lets you create a pair of VCDs from a single DVD. And of course, VCDs can be played in a normal CD drive. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSDmall - how many CDs?
I'm wondering if anyone bought 5.1 from BSDmall, and can tell me how many CDs are in the set? I sent a message to BSDmall but haven't heard back yet. Their web site has a blurb here... http://www.bsdmall.com/fr51pr.html ...but it really gives no clues as to how many CDs they are selling. I already have the download 2-CD set (bought from a local bookstore) but I'd like to get a more complete set with the entire ports collection. I don't have broadband, so this is a significant issue for me. I know that FreeBSDmall has a 4-CD set, which isn't really complete, but I may have to go with that. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD PowerPak
I recently ordered and received the 4-CD set of FBSD 5.1. I had presumed that this would give me a pretty complete desktop setup. Alas, I was wrong. A lot of very commmon apps are missing, such as Xemacs and Mplayer. It's disappointing. I only have a dialup modem. I don't have broadband and have no hope of getting it where I live, so I was counting on the 4-CD set to fill in the gaps. I noticed on the FreeBSDmall web site that they sell a PowerPak with 10 CDs. This is supposed to be the entire ports collection. Sounds like just what I need - except it's based on FBSD 4.6 which is one year old. So my question - I am wondering if the distfiles in this PowerPak are going to be of much use? Shelling out $40 isn't such a great hardship if the disfiles work as advertised, but I'm going to be more than a little pissed if it generates nothing but error messages. Does anybody know if the PowerPak will work with 5.1? Has anyone actually tried it? TIA, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FBSD PowerPak
I posted a message a few days ago regarding my frustrations to obtain an up-to-date PowerPak for FreeBSD 5.1. Because I don't have broadband, I really would like to have the entire ports collection on CD-R. Unfortunately, the PowerPak sold by FreeBSDmall is version 4.6, a full year (and four versions) out of date. Since I posted that message, one kind member of this list contacted me and offered to attempt to create a homemade PowerPak by downloading the distfiles and burning them to CD-R. So, (forgive the pun) the burning question: Exactly what directory from Freebsd servers should one download to create a PowerPak? Perhaps the distfile directory? The gentlemen who volunteered to do this isn't exactly sure, and I'm pretty clueless. I assume there are no ready-made ISO files for producing a PowerPak, so what would be the best procedure? regards, Robert I recently ordered and received the 4-CD set of FBSD 5.1. I had presumed that this would give me a pretty complete desktop setup. Alas, I was wrong. A lot of very commmon apps are missing, such as Xemacs and Mplayer. It's disappointing. I only have a dialup modem. I don't have broadband and have no hope of getting it where I live, so I was counting on the 4-CD set to fill in the gaps. I noticed on the FreeBSDmall web site that they sell a PowerPak with 10 CDs. This is supposed to be the entire ports collection. Sounds like just what I need - except it's based on FBSD 4.6 which is one year old. So my question - I am wondering if the distfiles in this PowerPak are going to be of much use? Shelling out $40 isn't such a great hardship if the disfiles work as advertised, but I'm going to be more than a little pissed if it generates nothing but error messages. Does anybody know if the PowerPak will work with 5.1? Has anyone actually tried it? TIA, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
killing sendmail, using exim
Sendmail is the default MTA, but I have Exim installed and now would like that to be my mail server. I'd like to be able to kill Sendmail startup permanently, and have Exim start at boot time, but I'm not sure how to do this. I did make an attempt. I edited /etc/rc.conf thus: sendmail_enable=NO and added a line saying exim_enable=YES This does not seem to have worked, as the ps command still reports the presence of Sendmail but nothing about Exim. I've checked to make sure Exim is installed: [EMAIL PROTECTED]:~ which exim /usr/local/sbin/exim I did a grep though the BSD FAQ and the handbook - both had only one sentence mentioning Exim, saying nothing other than it exists. FreeBSD Unleashed wasn't much more enlightening, so any advice will be appreciated. TIA, regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Question
On Wednesday 28 May 2003 01:48, Jerry McAllister wrote: Hello, We are group of boys who have the idea to make a new OS that will use FreeBSD kernel. Can you give us the not compiled kernel of FreeBSD to use it? Naturally, FreeBSD will be as well advertisized in our new operation system. Thank You If you guys really have this much programming talent and ambition, I know many newbies like myself would be grateful if you'd write a few configuration utilities like a configurator for ppp, printing, and firewalls. You could even name it after yourselves. It would certainly take a lot less time than writing a new OS. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: What caused my box to die?
On 29 May 2003 15:49:00 -0400 Adam [EMAIL PROTECTED] wrote: Well, I'm just about done rebuilding my box after a major crash and burn. Now that things are slowing down, I'd like to get some input on what might have caused the crash. I'm wondering if I stumbled on some obscure bug, or maybe a known bug that hasn't ever been fixed. Let me describe the scenario before and after the crash: The things that you describe sound like hardware-induced problems. I was having similar problems last month, and the solution finally was a new motherboard. Dmesg reported hard disk errors, but installing another hard disk didn't solve the problem. The machine would periodically freeze, files would get trashed, etc. Intermittent problems like this are hard to diagnose - the only thing worse than bad hardware is half-bad hardware. I installed a new motherboard, and the problems went away. Of course, your mileage may vary. good luck, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rotating motd
A trivial question, but a question nonetheless! My FreeBSD /etc/motd is a static and rather boring file. I recall that when I used to login to my Slackware machine, it spruced things up a bit by offering some sort of rotating motd, which would spit out a random quote or joke instead of the same ol' static message. Is there a way to simulate this in FreeBSD? Unfortunately, 'man motd' does little more than state the obvious, and describe a method by which to surpress the motd altogether. This, of course, occurs to me as I ssh into my home machine from work! Thanks, ~John As Adam pointed out, fortune is what you want. I assume it's available for FBSD (can't check right now as I'm at a Linux box). I don't think you can run fortune from /etc/motd file. Install the one word command fortune in the run command file for whatever shell you are using. Since I use bash, that's file .bashrc. This will cause fortune to give you a message every time you log in, including every time you open an Xterm. It might drive you crazy after awhile. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
where to put tarball
I'm wondering where is the proper location to put a tarball (containing source code) that I've downloaded and want to untar and compile. In Linux, you generally would put it in /usr/src. I know all the FreeBSD documentation says /usr/local is where all your personalized software should go, but I see that there is no /usr/local/src directory. Of course, I can make a /usr/local/src directory, but my question is: Is that a good idea? Sorry if this sounds like a stupid question, but I thought it would be wise to develop good habits and not install things where they don't belong. TIA, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: dot.bashrc, where is it?
On Tue, 3 Jun 2003 16:04:53 +0200 Didier Wiroth [EMAIL PROTECTED] wrote: For a beginner (coming from a windows world) who doesn't know which shell is better, sorry more adequate, it is easier to have a sample config file, to start learning how to configure you shell! Didier Dear Didier, Here's what I've put in my ~/.bashrc for all users (including root): alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' set -o noclobber While you're at it, here's what I added to ~/.profile for everybody as well: PS1=[EMAIL PROTECTED]:\w export PS1 Let us know if you have any specific questions about what these commands do. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: where to put tarball
On Tue, 3 Jun 2003 09:31:05 -0400 Kliment Andreev [EMAIL PROTECTED] wrote: I'm wondering where is the proper location to put a tarball (containing source code) that I've downloaded and want to untar and compile. In Linux, you generally would put it in /usr/src. I know all the FreeBSD documentation says /usr/local is where all your personalized software I put the tarballs in /tmp. Then I use make which actually compiles/installs software. You can override default install directory. After that, I simply rm -Rf /tmp/tarball. Thanks Kliment. However, I wonder about uninstalling. If I think there's a possibility I'd want to uninstall later, don't I need to preserve the directory for a make uninstall? Or is there some other way to uninstall? regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: booteasy / syslog
On Thu, 5 Jun 2003 00:31:03 +0100 Matthew Ryan [EMAIL PROTECTED] wrote: Hi there, Does anybody know how i can configure booteasy not to remember the last choice i made. I would like it to default to one particular boot (XP in fact), so that my 5 year old does not occasionally find himself looking at a FreeBSD login prompt. Failing that, can anyone recommend an alternative boot manager. GRUB is good. A very informative article about GRUB can be found here: http://www2.linuxjournal.com/lj-issues/issue85/4622.html If you decide to use GRUB, you'll need a few lines in /boot/grub/menu.lst to load FBSD - the following is what I have: title FreeBSD root (hd0,1,a) kernel /boot/loader boot Obviously, the second line will vary depending on which partition you've installed FBSD. And if you've got Windows on the first partition: title Windows rootnoverify (hd0,0) chainloader +1 I suggest you download the GRUB boot floppy and experiment with that before deciding if you want to install it to your MBR. hope this helps, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd.org.tr
On Mon, 16 Jun 2003 13:04:23 +0300 Ozdemircili Ozgur CIV 425 ABS/SGST [EMAIL PROTECTED] wrote: Dear sirs, I have been using Freebsd for like 4 years and am a fan of the operating system.When I checked www.freebsd.org.tr I have gotten a dns error which means it is not registered.Is there any way I can translate your page into Turkish and be a mirror of your site? I have checked the country list in your web page too but couldn`t see Turkey there either. I`ll look forward to hearing from you. Ozgur Ozdemircili Dear Ozgur, It would probably be best to first take a look at this: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/contributing/index.html best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: The Complete FreeBSD, third edition: errata and addenda
Dear Greg, I haven't bought The Complete FreeBSD, but I'm seriously thinking of doing so imminently. However, I've been looking - so far in vain - to see if I could find the Table of Contents and Index online. The O'Reilly web site is supposed to have that, but it doesn't seem to be the case. Anyway, I think it would help your books sales to have that info online, and if you could point us to a link, I'd be grateful. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
boot with GRUB
I recently installed 5.1-RELEASE - I was previously using 5.0. When I had 5.0, I could easily boot FBSD from GRUB using these settings in my Linux's /boot/grub/menu.lst file: title FreeBSD root (hd0,1,a) kernel /boot/loader boot These settings no longer work, and I get an error message that Linux does not recognize this (FBSD's) filesystem. I can boot my FBSD partition by using GAG on a floppy disk, but I'd like to get GRUB (which is installed on the hard disk) to do the job. I'd welcome any suggestions. TIA, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot with GRUB
On 25 Jun 2003 00:12:57 +0200 Christian Laursen [EMAIL PROTECTED] wrote: Robert Storey [EMAIL PROTECTED] writes: I recently installed 5.1-RELEASE - I was previously using 5.0. When I had 5.0, I could easily boot FBSD from GRUB using these settings in my Linux's /boot/grub/menu.lst file: title FreeBSD root (hd0,1,a) kernel /boot/loader boot These settings no longer work, and I get an error message that Linux does not recognize this (FBSD's) filesystem. Is your / filesystem by any chance UFS2? I don't think GRUB can read that yet. UFS1 should be fine though. (It certainly works for me with FreeBSD 5.1) -- Best regards Christian Laursen Dear Christian, I believe you are right, my filesystem is UFS2. Changing the filesystem back to UFS1 is probably more than I'd want to do, so I guess I'll stick with booting using GAG (on a floppy or CDROM) until such time as GRUB acquires the ability to boot UFS2. Thanks for the fast response to my question. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: boot with GRUB - SOLVED
On Tue, 24 Jun 2003 19:52:33 -0500 Dan Nelson [EMAIL PROTECTED] wrote: In the last episode (Jun 25), Robert Storey said: On 25 Jun 2003 00:12:57 +0200 Christian Laursen [EMAIL PROTECTED] wrote: Robert Storey [EMAIL PROTECTED] writes: When I had 5.0, I could easily boot FBSD from GRUB using these settings in my Linux's /boot/grub/menu.lst file: title FreeBSD root (hd0,1,a) kernel /boot/loader boot These settings no longer work, and I get an error message that Linux does not recognize this (FBSD's) filesystem. Another thing to try is chaining to the bootblock on the FreeBSD partition. Use rootnoverify (hd0,1), then chainloader +1, then boot. Dear Dan, Thanks, that worked superbly! regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
4-CD set
I've noticed that the FreeBSD 4-CD set is now available for 5.1-RELEASE from FreeBSDmall.com for $40. I'm willing to order it and support the cause, but nowhere have I been able to find out just what is on the additional two CDs. Is it the ports collection, or source code, or something else? If anyone has previously purchased a 4-CD set, I'd be interested to hear what advantage it offers over the downloadable 2-CD set. TIA, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PPP troubles SOLVED!!!
On Sun, 29 Jun 2003 19:49:20 -0700 (PDT) RexFelis [EMAIL PROTECTED] wrote: Here's what I did. I copied the contents of /etc/ppp from my Linux partition to my Windows partition and then compared each corresponding file to it's freebsd counterpart. And what I found was that my resolv.conf files were different - the DNS nameserver address had been changed under Linux! Although using a Windows FAT32 partition is one way to share data between Linux and FBSD, if you're recompiling your FBSD kernel you might consider adding support for the Linux ext2 filesystem. You need a line like this in your kernel source: options EXT2FS You'll get a quaint warning about how you are about to contaminate your kernel with GPL code. Nevertheless, it will compile fine, and after installing the new kernel you'll be able to mount ext2 and ext3 partitions from FBSD. The advantages of not using FAT32 includes, among other things, allowing you to preserve permissions when moving files between FBSD and Linux. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Seting baclground color in fvwm95?
On Thu, 3 Jul 2003 13:58:47 -0400 stan [EMAIL PROTECTED] wrote: How can I set the background color for a session using fvwm95? xsetroot sets the color, but when the window manmager starts up, it overwrites that change. I fell certain it's a setting in the .fvwm95rc file, but I cna't find any docs on the syntax. I don't know the answer to that particular question, but I can tell you that if you go to the fvwm.org web site and download fvwm-themes, you can make your desktop beautiful with relative ease. The Themes include a built-in tool to change background color, among other things. I found the standard setup for FVWM to be pretty ugly, the Themes makes it look as good as KDE in my opinion. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
[OT] Apple's contribution to OSX
Dear All, First off, apologies for this off-topic post, but I think this is the only place I'm likely to get an intelligent (and well-informed) answer to my question. I tried searching the web, but found a confusing and contradictory bunch of poorly-informed opinions, which wasn't helpful. I'm writing a news article about Apple's contribution to open source. In particular, I'm interested in finding out the following: 1) How much of FreeBSD did Apple actually use in OSX? If I'm not mistaken, the Darwin kernel is not related to FreeBSD in any way (or is that wrong?). Basically, what exactly did Apple gain from FreeBSD? 2) What exactly has Apple contributed back to FreeBSD? (money? equipment? source code?). Nowadays, does Apple still continue to give anything back to the FreeBSD community? 3) How much of OSX today is open source (or shared source)? Can you actually see the OSX source code? Can you use any of it? Because this is off-topic, it might be better if people responded directly to my email address rather than this forum. I can be reached at [EMAIL PROTECTED] I know that I could ask these questions on an OSX forum, but then I'd probably receive 1000 replies from people telling me that OSX is the greatest thing since sliced bread - which, even if true, has nothing to do with the article I'm writing. And yes, I'm running FreeBSD (and Linux) at home, not OSX, but that also has nothing to do with the article. I appreciate any help I can get on this, and as always I'm happy to acknowledge anyone by name in the article for their assistance. thanks in advance and best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Windows X
Dear Chris, I'm sure you'll get a lot of answers to this one, but I'll dive in. First off, I guess you mean Xwindows, not Windows X. Xwindows by itself is basic - you need a window manager to make it look nice. FreeBSD comes with a few good ones. Most people who want bells and whistles use KDE, which is included on the FreeBSD install CD. For each user (maybe you just have one), put a file in their home directory called .xinitrc with this content: exec startkde That will do it. There are other window managers, some of which are might lighter weight (thus faster) than KDE, even if not as pretty. For example, if you wanted fvwm, then file .xinitrc would have this content: exec fvwm This will only work, of course, if you've installed fvwm (it's also on the FreeBSD install CD). By the way, all of the above applies to Linux as well, this is not just a FreeBSD thing. best regards, Robert On Mon, 19 Jul 2004 13:55:05 -0500 Christopher Smith [EMAIL PROTECTED] wrote: I am a new user to FreeBSD. Is Windows X an extremely basic windows program. I loaded your CD that I purchased from Microcenter onto my computer and I was not able to see anything except a very primitive windows program. If this is what is then I'm fine with it, but if there is more how can I get to it? Thank You for you Time, Christopher Smith [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Random Freeze
On Wed, 21 Jul 2004 15:41:56 +0200 Cedric GROSS [EMAIL PROTECTED] wrote: Hello, I'm running an AMD Duron 700 Box with freeBSD 5.2.1 - RELEASE, and sometimes the system freeze so I must reboot. I haven't anything in log. So, What could be the problem ? How could I obtain some clue of the problem (debug flag, something like that..) ? I had this and it turned out to be dust in the slots for add-on cards. Removing the cards, cleaning the terminals and blowing out the dust from the slots, fixed the problem. Overheating will produce the same symptoms. If you're in the northern hemisphere, this is time of year when you have to worry about this. Blowing out dust (pay attention to the cpu fan and power supply fan, which are dust traps) can make the difference. Of course, your problem may have nothing to do with the above. good luck, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: changing card in a reader (revisited)
I guess I missed your first post. One thing I don't see in your posts is any mention of whether or not you're running FBSD 4.x or 5.x. My experience with 4.x is that cards of any type either don't work or work badly. I've had much better luck with 5.x. Aside from drivers, I believe this is due to the devfs which 5.x uses. So if you're using 4.x, consider either upgrading or at least experimenting with the FreeSBIE livecd to see what happens. regards, Robert On Thu, 22 Jul 2004 10:45:29 -1000 [EMAIL PROTECTED] wrote: I guess I lost a lot more than 6 karma points! It's been two days since my last post and I haven't received any more responses. Please permit me to ask if there is anyone reading this list who has this working. Specifically, the ability to replace a card of a different size in a card reader and be able to mount the new card. If I have violated any Kapu or in any other way did a bad. let me know and I will strive to do better in the future. Mahalo Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
implementing spf
I never heard of spf until yesterday, when there was a big discussion about it on Slashdot. The discussion was very political (about Microsoft, Richard Stallman, etc). I don't want to get into any of the politics here, as it's not appropriate for this list. But I am interested in the technology aspect. Specifically: 1) Is the technology useful? 2) How does one implement spf on the server side? 3) How does one implement spf on the client side? I most interested in No. 3 above - specifically, is there anything that I must do as an end-user to make use of spf? Thanks in advance, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: konqueror not responding
Dear Manuel, I've run into similar issues with KDE in the past. You were on the right track, but apparently the one file konquerorrc wasn't the problem. Just delete the entire ~/.kde and then restart KDE. You will then be treated like a new user, and KDE will query for the usual desktop settings (language, theme, etc). That does mean, of course, that you'll lose any customized settings you've already made, but that should be no big deal. regards, Robert On Sat, 31 Jul 2004 11:41:17 +0200 Manuel Astudillo [EMAIL PROTECTED] wrote: Hi, something weird happen to the settings of Konqueror in kde 3.2.3 and everytime I try to access to a web page on the internet the browser freezes. If I try to open local webpages or just use konqueror to browse in my filesystem everything works just ok. If I login using other user then it also works perfectly, so I suspect there is something corrupted in the config files on my current user. Is there any way to remove all the config files and start konqueror from scratch? I already tried in ~/.kde and deleted konquerorrc but it does not help. regards, Manuel Astudillo. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need help configuring XServer
You haven't given us any information about what you've done (or tried to do), so I'll do a little guessing. There are several utilities for configuring X, but xf86cfg (the graphical utility) is most newbie friendly, in my opinion. You can also access it through sysinstall. I have found that it often ends in an error message saying that it didn't configure properly, yet when you startx, it's OK. regards, Robert On Thu, 16 Sep 2004 06:10:52 -0700 (PDT) George Theodo [EMAIL PROTECTED] wrote: Hi all. I am quite new to FreeBSD and I need a little help. I have an ACER TravelMate 2501LC laptop. I installed 4.10 RELEASE version but I have a problem configuring XServer. The specificatios of the display are 14.1/15.0 TFT displaying at 1028x768 XGA or 1400x1050 SXGA+ and the chipset is ATI MOBILITY RADEON 9000 IGP with a shared 64 MB memory. Any help is greatly appreciated. Thank you, George, ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATI AGP card and Xorg
One thing you could try is editing /etc/X11/xorg.conf and substituting vesa for ati. It's not an ideal solution, but the vesa driver often works when nothing else will. You might want to take a look at /usr/X11R6/lib/X11/doc/README.ati, and list all video drivers in /usr/X11R6/lib/modules/drivers/. regards, Robert On Thu, 16 Sep 2004 11:10:44 -0400 John DeStefano [EMAIL PROTECTED] wrote: Trying to take my mind off my server exploit issue... I'm trying to configure an ATI Radeon 9000 64mb AGP video card with Xorg on a FreeBSD5.3beta2 workstation. No matter which config option I choose ('Xorg -configure', 'xorgcfg -textmode', xorgconfig), when I test the generated .conf file, the screen locks up with a bunch of colors and horizontal lines (green on top, blue everywhere else). The mouse cursor moves, but none of the Ctrl+Alt key combos work, and I can't escape the X session or access another virtual console. The Device section generated from 'Xorg -configure' is: Section Device Identifier Card0 Driver ati VendorName ATI Technologies Inc BoardName Radeon RV250 If [Radeon 9000] BusID PCI:3:0:0 Here's any related output I can think of from 'pciconf -lv': [EMAIL PROTECTED]:0:0: class=0x06 card=0x chip=0x01e010de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce2 AGP Controller' class = bridge subclass = HOST-PCI . . . [EMAIL PROTECTED]:0:0: class=0x03 card=0x20021002 chip=0x49661002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc.' device = 'RV250 Radeon 9000/9000 Pro' class = display subclass = VGA [EMAIL PROTECTED]:0:1: class=0x038000 card=0x20031002 chip=0x496e1002 rev=0x01 hdr=0x00 vendor = 'ATI Technologies Inc.' device = 'RV250 Radeon 9000/9000 Pro - Secondary' class = display I thought it might be an AGP/kernel issue, but when I try 'kldload agp' I get back File exists, and when I do 'kldstat -n agp' or 'kldunload' I get No such file. I tried someone else's bare-bones radeon conf file, and I got the same problem as always on test: blue/green garbled screen, mouse moves, can't escape out of locked-up X. I then replaced the radeon Driver entry with vesa in the config. When I tested this, it showed a different garbled screen (grey this time) for a few seconds, then clicked to a normal X-Windows screen, but with a black hourglass outline on the sides. I was able to Ctl+Alt+Backspace out of this as normal, and the console didn't report any warnings or errors. I then moved this config file to /etc/X11/xorg.conf and ran 'startx'. It started fine and looked as described above, with an hourglass outline. When I exited X, there were some errors on the console that were probably just from exiting out of X, and this one: xauth: (argv):1: bad display name my.hostname.com:0 in remove command Any ideas on how to get this card working properly? BTW: I began using FreeBSD5.3beta2 on this machine for its NDIS support for my onboard NIC. Thanks, ~John ___ [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: Trouble installing 4.10 on laptop - cannot find kernel
You ought to consider subscribing to the freebsd-mobile mailing list. This isn't a RTFM reply - that really is a useful list and I'm subscribed to it myself. Also, you can search the freebsd-mobile mailing list (and all the other mailing lists): http://www.freebsd.org/search/search.html#mailinglists Hope this helps. regards, Robert Adam Beachell wrote: I am atempting to install 4.10 on my laptop. After booting from the install CD I get a message stating cannot find kernel. I get this error whether I use the miniinstall or the full 2 disc CD install. Browsing the CDs I can see that the kernel does exist on the disk. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ATI AGP card and Xorg
Sorry John, I apologize for not reading all the to the bottom of your post. The only other thing I'd suggest is playing with xvidtune. I had to do this to get my screen to center properly. The frustrating thing with xvidtune is that it doesn't automatically save the adjustments you make - you have to manually edit xorg.conf - but at least it makes it relatively easy to find the right settings. I will say that FreeBSD really could use a better configuration utility for X, though I realize that the developers have their hands full just trying to get 5.3 out the door. regards, Robert On Thu, 16 Sep 2004 21:12:48 -0400 John DeStefano [EMAIL PROTECTED] wrote: Thanks Robert... but I did try 'vesa' before posting (2nd 3rd paras from bottom of my post below). I'm sure either 'raden' or 'ati' are the way to go, I just can't seem to get either one to work. I also read through the entire README.ati, and found it a bit of a frustrating read when trying to look for answers on 'radeon' drivers for my card... not much relevent info there for the end-user. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mini-itx posting.
If would be fine by me if you posted it here. I'm very interested in getting one of these boxes, I would like to hear the experience of others. regards, Robert On Thu, 16 Sep 2004 23:30:58 -0700 (PDT) borg [EMAIL PROTECTED] wrote: Greetings, I want to post some info on a mini-itx mobo I bought, so other users can benefit from that. can I post that to freebsd-questions@ ? If not what's the right list ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
throttling cpu speed to run cooler
Dear All, I've been looking for a utility to reduce cpu speed to make my laptop run cooler. Ideally, it should reduce cpu speed to about 20% when speed is not needed, and restore speed to 100% when the load requires it. There is such a utility for Linux, called powernowd: http://www.deater.net/john/powernowd.html Using this with Debian, my cpu temperature drops by about 15 degrees Celsius! I'm just wondering if a utility similar to powernowd already exists for FreeBSD? I did search the mailing list archives and found some talk about developing just such a program, but never found out if it was finally done, and what the said package might be called. regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
swap partition encryption
Dear All, I've succeeded in creating an encrypted partition using gbde. I followed the directions in the FBSD Handbook which, among other things, states: Unlike cumbersome encryption methods that encrypt only individual files, gbde transparently encrypts entire file systems. No cleartext ever touches the hard drive's platter. But I wonder if that last sentence is true. What about the swap partition? Is it simply bypassed, or does one need to do something to create an encrypted swap partition? regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Laptops as routers
On Sun, 31 Oct 2004 01:12:19 +0200 Emanuel Strobl [EMAIL PROTECTED] wrote: Am Sonntag, 31. Oktober 2004 00:20 schrieb Paul Hoffman: Greetings again. I'm looking to buy a couple of cheap old laptops to be used as temporary routers. They just need to be able to handle PCMCIA Ethernet cards, not much more (having an Ethernet connector on the motherboard is fine, of course.) I don't want to run XWindows, and I'm sure 64 MB and a 1gig hard drive would suffice. Are there any brands/models I should lean towards? Ones I should avoid? Bad idea IMHO. I'd suggest having a look at http://www.soekris.com/ (net4501 for easiest requirements, better 4801, all in one extendable box) or if you Or else take a look at mini-ITX: http://www.via.com.tw/en/initiatives/spearhead/mini-itx/ regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: swap partition encryption
On Mon, 01 Nov 2004 10:46:35 +0100 Nagilum [EMAIL PROTECTED] wrote: The partition itself is encrypted so it doesn't matter whether the partition contains a regular filesystem, swapfs or is used as database storage device. It's encrypted one layer below. Kind regards, Alex. Thanks Alex, that clarifies things for me. best regards, Robert ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
change log
Hi all, Sorry to be asking such a dumb question, but I'm looking for the changelog for FBSD 5.4 and I haven't been able to find it (even after lots of Googling). Could anybody point me to the correct web page? TIA, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ssh dies
Dear All, An interesting and disturbing problem recently appeared on our server which is running FBSD 5.3. Rather suddenly, all users found themselves locked out because ssh stopped working. We had to send an email to tech support at our hosting service (Netsonic). They said this seems to be happening frequently on many FreeBSD servers (something to do with reaching the limit of ssh connections). They didn't tell us how to solve the problem, but they suggested rebooting, which should return the server under our control. We asked them to reboot and they did, problem solved for now. I'm wondering if anyone knows what is causing this, and if there is a permanent solution? The server was running fine for four months without issues - this just suddenly came out of the blue. TIA, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
slow Ethernet
Dear All, I've noticed that transferring files (using the scp command) between a laptop and a desktop is very slow when using FreeBSD. The laptop is running Linux (Debian). The desktop is dual-boot (Debian and FreeBSD). When I boot FreeBSD and scp files to the laptop, transfer times are very slow. If I reboot the desktop to Debian and transfer files, transfer times are at twice as fast. It can't be hardware problems, since the hardware is identical, it's simply the OS. So my question(s): first, has anybody else seen this? Secondly, does anyone know the actual cause? And finally, is there a fix for it? Any help and suggestions are greatly appreciated. thanks and regards, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]