Re: chroot environment
On Sat, 6 Dec 2003 13:18:13 -0800 Nick Twaddell [EMAIL PROTECTED] wrote: I am trying to setup a chroot environment for some users. I rebuilt the environment inside their userdir, copied all the appropriate binaries, libs, etc. The part I am stumped on, is how do you make it so their account gets chrooted on login. Since chroot can only be executed by root. Some of the docs I found created a shell script that would sudo chroot and run it on login. I am just wondering what everyone else recommends. Thanks Nick Twaddell ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Answer1: security/chrootuid. Answer2: Build jail(8) environment, install sshd, for example, on each jail. Let each user login to the respective account. horio shoichi ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: differance
On Sat, Dec 06, 2003 at 08:07:37PM -0600, Ndo1985 wrote: Can you plz tell me what is differant between FreeBSD-4.9-stable and ver. 5.0-rel#1. There are literally thousands of changes between those releases, too many to list here. Please read the release notes on the website for a summary. does 4.9-stable have the new UFS2? No, that's one of the new features in 5.x. Kris pgp0.pgp Description: PGP signature
Re: Out of pty's
On Sun, 7 Dec 2003 14:42, Justin Burke wrote: * Malcolm Kay ([EMAIL PROTECTED]) wrote: 1. Build and install a new kernel with the line pseudo-device pty 256 in the configuration file. 2. Run the commands I believe this may be out of date. I think the kernel may now produce 256 by default -- I'm on 4.7-STABLE and more than 32 exist for me. More than 32 may exist, but can you actually use them? 96 ptys currently exist on my system, but I can only use 32. The pseudo-device line in my kernel is the default (ie. no numeric value is provided). There is also no numeric value in the relevant line of my kernel config. I would think that if you can't use ptys they don't exist -- but you might still have references to non-existing ptys in /dev/ Are they listed in /etc/ttys? -- apparently this is needed for some applications to know they exist. My check for real existance of ptyq0/ttyq0 was to enter # cat /dev/ttyq0 in one console window and # echo fred /dev/ptyq0 in another. 'fred' then appears in the first window and both commands complete. I would have thought this was pretty strong evidence that at least this master/slave pair actually existed. (I understand that xterm will not find all 256 ptys -- apparently some limitation in xterm -- but should be able to find at least 64.) Malcolm Kay ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which tool for a screenshot?
At Sat, 6 Dec 2003 it looks like Kevin D. Kinsey, DaleCo, S.P. composed: Looks like: 1. Click File menu 2. Click Acquire 3. Select screen shot and follow prompts. In another Unix OS I used to use the following command from a xterm window and it would shoot the whole desktop and save it to the file I named in the command line. import -window root image.jpg I don't seem to have the import command on FreeBSD. -- |--Word-Wrap-At-72-Please--| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ UNIX, A Way Of Life._\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
login_prompt pre-login massage.
Thanks guys I tested creatint /etc/issue but it seems FreeBSD does not support it, but the login_prompt is working. The only problem is that in Linux /etc/issue is displayed only once while login_pormpt is redisplayed after an unsuccesful try. Does anybody know any other solotiuon? On Sat, 6 Dec 2003, Matthew Seaman wrote: On Sat, Dec 06, 2003 at 12:35:31PM +0100, Cordula's Web wrote: In Linux There is a file in /etc named issue which contains the pre-login massage. But it seems there is not such a file in FreeBSD. How can I display a pre-login massage in my FreeBSD box. From login.conf(5): login_prompt string The login prompt given by login(1) Or just create /etc/issue -- it is supported under FreeBSD, just there's no default version supplied with the system. See gettytab(5) for more details. Cheers, Matthew ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Samba with PPTP
Hi I am running samba on a freebsd box (behind NAT, IP = 192.168.1.207) with pptpclient connecting to my company m$2k VPN (tunnel IP = 192.168.0.206). At first, I can ping the fbsd with its hostname (freebsd) from my company. But when I try to net use freebsd /user:xxx *, the net use will fail (err = The network path was not found.) and afterwards I can see that ping will use 192.168.1.207 (which was originally 192.168.0.206). I can ping again if I restart the samba. But everytime when I try to use the netbios name I will get the redirection changed wrongly. So I tried to use IP instead. I can browse \\freebsd and net use my home \\freebsd\ivan sucessfully. But when I try to browse \\freebsd\ivan it will hold for a minute and I will finally get the message \\192.168.0.206\ivan is not accessible. The specified network name is no longer available. Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
The FreeBSD Diary: 2003-11-16 - 2003-12-06
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to [EMAIL PROTECTED] with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives http://www.freebsd.org/search/search.html#mailinglists and/or The FreeBSD Diary http://www.freebsddiary.org/. -- Dan Langille - DVL Software Limited The FreeBSD Diary - http://www.FreeBSDDiary.org/ - practical examples FreshPorts- http://www.FreshPorts.org/ - the place for ports FreshSource - http://www.FreshSource.org/ - the place for source ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which tool for a screenshot?
On Sun, 7 Dec 2003 00:27:40 + (GMT) Bill Schoolcraft [EMAIL PROTECTED] wrote: At Sat, 6 Dec 2003 it looks like Kevin D. Kinsey, DaleCo, S.P. composed: Looks like: 1. Click File menu 2. Click Acquire 3. Select screen shot and follow prompts. In another Unix OS I used to use the following command from a xterm window and it would shoot the whole desktop and save it to the file I named in the command line. import -window root image.jpg I don't seem to have the import command on FreeBSD. I believe it's part of the ImageMagick port: # grep import /usr/ports/graphics/ImageMagick/pkg-plist %%X11%%bin/import %%PORTDOCS%%share/doc/ImageMagick/www/import.html -Chris ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fetch and portinstall
On Sat, Dec 06, 2003 at 10:48:15AM +0300, Sergey 'DoubleF' Zaharchenko wrote: On Sat, 6 Dec 2003 00:09:02 -0700 mike bueide [EMAIL PROTECTED] probably wrote: When I install or upgrade a port, all attempts to an HTTP URL fetch are timing out. Typically I'll just sudo portupgrade a port I wish to install. I am behind a firewall that uses nat and stateful rules. Ftp fetches work just fine. I just would like to speed If that's the only handicap, I'm very surprised to hear that FTP goes through and HTTP doesn't. Maybe your sysadmin disabled HTTP access:)? Yep, my sysadmin (me) does some strange things now and then;). No actually, HTTP is enabled. It looks like I should have been a bit more patient before bothering anyone on this list about my trivial non problem. It turns out that the reason the http fetches were timing out was because of a misconfiguration of the Makefile of the port I was trying to install. The Makefile had these listed as the master sites for the distfile: MASTER_SITES= http://caraldi.com/jbq/numlockx/ \ http://dforce.sh.cvut.cz/~seli/en/numlockx/ after a bit of snooping, the distfile is actually in: http://caraldi.com/jbq/ports/numlockx A manual fetch of this url completed successfully. %fetch http://caraldi.com/jbq/ports/numlockx/numlockx-1.0.tar.gz Receiving numlockx-1.0.tar.gz (34936 bytes): 100% 34936 bytes transferred in 3.2 seconds (10.62 kBps) Changing the Makefile in /usr/ports/x11/numlockx to reflect that valid url causes the port to install successfully. Thanks Horio and Sergey for your input. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
natd ipfw
Good morning! I have 4.9-release. I'm interesting natd and ipfw. My tested box have two interface 172.16.0.10/29 and 195.161.208.210/30. # ifpw list 00500 divert 8668 ip from any to not 172.16.0.8/29 01000 allow ip from any to any # natd -v -a 195.161.208.210 When I ping 195.161.208.130 from machine behind firewall (172.16.0.9) I see. In [ICMP] [ICMP] 172.16.0.9 - 195.161.208.130 8(0) aliased to [ICMP] 172.16.0.9 - 195.161.208.130 8(0) Out [ICMP] [ICMP] 172.16.0.9 - 195.161.208.130 8(0) aliased to [ICMP] 195.161.208.210 - 195.161.208.130 8(0) ICMP packet flow through filter in two place: in ip_in and ip_out. It diverted to natd twice. Why in first it's source address doesn't change, but only in ip_out? If I do following 00500 divert 8668 ip from any to not 172.16.0.8/29 in then natd don't change source address, and ping don't work. I thinked that natd must do NAT whenever and wherever it work. May I be mistaken? Sorry for the trivial question, but I'm not a expert in FreeBSD, I'm only studying. Thank you. -- Lev Klimin mailto:[EMAIL PROTECTED] (8362) 42-15-49 19:37:26 2 2003 . ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
It's very relevant replying me, please
Dear Mr.. My name is Ziad Fazah. Indeed, after having installed Freebsd version 5.1 on my pc, I found out that its kernel had detected all my hardware cards. Meanwhile, on having ended up the installation on my pc, I noticed that by clicking on exit sysinstall and removing my CD in order to reboot the system, the installation itself didn't led me into a graphical environment. Unfortunately, it left me in a shell, wherein it was written Grub. Thus, I do ask you urgently what to do, in the sense of being led into a graphical environment. Moreover, only twice, I managed to get at the login and the password successfully, but afterwards, I couldn't go further. On the other hand, my attempts foiled to get at the graphical environment. Don't you think that it might be a certain mistake of this version? Please, help me. Sincerely, Ziad Fazah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
for understanding correctly -- Up-to-date - Upgread ..
Hi Everybody , I have some questions about FreeBSD in my mind and I have to solve all of them for using FreeBSD - for production server ... I red FreeBSD handbook and another FreeBSD book but I don't understand something 1) Now I'm using FreeBSD 5.1-RELEASE I don't know how offen new release announced but When I want to upgread to new release when it available Which way is true to that ; Binary Update Mechanism to move from release to release ( using freebsd-update-1.4 ports is correct or Do you know any ports ) or Using New release CD and using sysinstall program ... 2) Using and installing programs with ports really easy and really easy to update ports with portupgrade because ports also have patches for vulnerabillity. But I'm watching the list some programs like ssh or sendmail are in base system and I have to track those programs bugs Does it enough to watching Security Advisories from www.freebsd.org and apply patches for up-to-date base system without sync. entire src. Tree ... 3) I know that not like linux FreeBSD is structured that the entire system is avaiable in source form . Does it means When I download or up-to-date the source via CVSup and use make world at this moment I have updated , patched and new binaries FreeBSD ?!! 4) Some books thay said that make world also not a guaranteed process . I want to ask When I have high-profile production server Does it true to use make world ?! Whats the way to protect/up-to-date high-profile production servers ?!!! Thanks , Vahric MUHTARYAN ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: It's very relevant replying me, please
On Sunday 07 December 2003 05:33 am, camuflag wrote: Dear Mr.. My name is Ziad Fazah. Indeed, after having installed Freebsd version 5.1 on my pc, I found out that its kernel had detected all my hardware cards. Meanwhile, on having ended up the installation on my pc, I noticed that by clicking on exit sysinstall and removing my CD in order to reboot the system, the installation itself didn't led me into a graphical environment. Unfortunately, it left me in a shell, wherein it was written Grub. Thus, I do ask you urgently what to do, in the sense of being led into a graphical environment. Moreover, only twice, I managed to get at the login and the password successfully, but afterwards, I couldn't go further. On the other hand, my attempts foiled to get at the graphical environment. Don't you think that it might be a certain mistake of this version? Please, help me. Sincerely, Ziad Fazah Unix by itself is a command line environment (cli). You change this by installing ports such as XFree86. XFree86 is not much better than the cli. You just have 3 cli's on the monitor at one time. You can improve on this by adding Window environments such as Gnome and KDE. The system I use has a resonable fast cpu and quite a bit of memory and I use KDE-3.1.4. While I type this, XFree86 is using 75MB of memory and there are a number of kde processes that are using ~23 MB each. Kmail is using 32 MB. This system has 1048 MB of memory. FreeBSD is content with less but is much happier when you have more memory. If you are going to install XFree86, you need to learn about the port system and X-Windows. They are chapter 4 and 5 in the Handbook. If you aren't comfortable with English, there are other choices off of the main home page at http://www.freebsd.org/. I don't know where to point you because I don't know what computer skills you have. Annelise Anderson has an article called For People New to Both FreeBSD and UNIX. It can be read at http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/. There are also answers to Frequently Asked Question at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: It's very relevant replying me, please
Hi , You can use startx command to switch X envir. Could you send what error message occured after startx ? if you get something like this (EE) No devices detected. Fatal server error: no screens found I think You have a problem to introduce you VGA Card ? Check Xfree version and You can check you card supported from Xfree or Not ? Maybe you need to update your Xfree You can do it with Run pkgdb -F first After that run portupgrade -a Best Luck Vahric -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of camuflag Sent: Sunday, December 07, 2003 3:33 PM To: [EMAIL PROTECTED] Subject: It's very relevant replying me, please Dear Mr.. My name is Ziad Fazah. Indeed, after having installed Freebsd version 5.1 on my pc, I found out that its kernel had detected all my hardware cards. Meanwhile, on having ended up the installation on my pc, I noticed that by clicking on exit sysinstall and removing my CD in order to reboot the system, the installation itself didn't led me into a graphical environment. Unfortunately, it left me in a shell, wherein it was written Grub. Thus, I do ask you urgently what to do, in the sense of being led into a graphical environment. Moreover, only twice, I managed to get at the login and the password successfully, but afterwards, I couldn't go further. On the other hand, my attempts foiled to get at the graphical environment. Don't you think that it might be a certain mistake of this version? Please, help me. Sincerely, Ziad Fazah ___ [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: for understanding correctly -- Up-to-date - Upgread ..
On Sun, Dec 07, 2003 at 01:08:33PM +0200, Vahric MUHTARYAN wrote: 1) Now I'm using FreeBSD 5.1-RELEASE I don't know how offen new release announced but When I want to upgread to new release when it available Which way is true to that ; Binary Update Mechanism to move from release to release ( using freebsd-update-1.4 ports is correct or Do you know any ports ) or Using New release CD and using sysinstall program ... New versions are released approximately every 4 months. 5.2-RELEASE is due in the next few weeks. However, you should subscribe to [EMAIL PROTECTED] or [EMAIL PROTECTED] so you catch any announcements of new security patches. 2) Using and installing programs with ports really easy and really easy to update ports with portupgrade because ports also have patches for vulnerabillity. But I'm watching the list some programs like ssh or sendmail are in base system and I have to track those programs bugs Does it enough to watching Security Advisories from www.freebsd.org and apply patches for up-to-date base system without sync. entire src. Tree ... Yes -- security advisories will contain patches for the base system, and very often it will be possible to apply the patches, recompile just the affected part of the system and install the fixed binaries. Sometimes however it won't, and you have to do a full kernel / world build plus install and reboot. Note that the patches in S.A.s always fix the problem, but don't necessarily update version numbers and so forth, so your system may still appear to be potentially vulnerable to those who know no better. 3) I know that not like linux FreeBSD is structured that the entire system is avaiable in source form . Does it means When I download or up-to-date the source via CVSup and use make world at this moment I have updated , patched and new binaries FreeBSD ?!! FreeBSD (unlike Linux) makes a clear distinction between what is part of the system, and what is externally contributed code -- ie. ports. If you cvsup, recompile and re-install your system then, yes, you will have upgraded to the latest FreeBSD version on whatever branch you choose to track. You will need to update ports and other third party stuff independently of the base system. 4) Some books thay said that make world also not a guaranteed process . I want to ask When I have high-profile production server Does it true to use make world ?! Whats the way to protect/up-to-date high-profile production servers ?!!! For a production server, you should be tracking 4.9-RELEASE. As it's a -RELEASE branch it's been thoroughly tested and known to compile correctly. The only updates you'll get on that branch are security fixes, which are usually fairly small. For production servers, you should consider using a separate build/test box, where you can break things without unpleasant consequences. Once you've got things built correctly and tested throughly, you can mount the /usr/src and /usr/obj directories from the build box onto your production server, and quickly reinstall ad reboot with minimum downtime. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Trouble with USB and Visor on FreeBSD 4.9 Stable
Currently, I'm using two USB devices, a Logitech Trackball and a Handspring Visor. The trackball appears to work fine, but the Visor does not. If I boot without the Visor attempting to sync, only the mouse appears in the boot log; booting with the Visor attempting to sync, displays both. After booting, in either case, usbdevs -dv shows up blank, the trackball works correctly, but the Visor does not. Further, if I attempt to hotsync, usbdevs -dv still appears blank. Shouldn't usbdevs display both devices? Further, if it doesn't, how can I check that FreeBSD is recognizing the devices? Here are some different outputs to help: $ uname -a FreeBSD xxx.xxx.xxx.xxx 4.9-RELEASE FreeBSD 4.9-RELEASE #4: Sun Dec 7 03:39:19 MST 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL i386 $ dmesg (generated when asking the Visor to hotsync during boot; otherwise, the Visor doesn't show up) uhci0: VIA 83C572 USB controller port 0xe000-0xe01f irq 11 at device 20.2 on p ci0 usb0: VIA 83C572 USB controller on uhci0 usb0: USB revision 1.0 uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: VIA 83C572 USB controller port 0xe400-0xe41f irq 11 at device 20.3 on p ci0 usb1: VIA 83C572 USB controller on uhci1 usb1: USB revision 1.0 uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ums0: Logitech Trackball, rev 1.10/2.20, addr 2, iclass 3/1 ums0: 3 buttons and Z dir. ucom0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 3 ucom0: Handspring Inc Handspring Visor, rev 1.00/1.00, addr 3 The kernel config (I've tried this w/ and w/o ohci): # USB support device uhci# UHCI PCI-USB interface #device ohci# OHCI PCI-USB interface device usb # USB Bus (required) device ugen# Generic device uhid# Human Interface Devices device ukbd# Keyboard device ums # Mouse # USB Com devices device ucom device uvisor $ usbdevs -dv (Same regardless of whether the Visor is attempting to hotsync) Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x), VIA(0x), rev 1.00 uhub0 port 1 powered port 2 powered usbd.conf (in case you're wondering, neither coldsync nor pilotlink are working): device Handspring Visor devname ugen[0-9]+ vendor 0x082d product 0x0100 release 0x0100 #attach /usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb #syncing #attach /usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb -f /usr/home/josyoun/.coldsyncrc #initalize attach /usr/local/bin/coldsync -mI -p /dev/${DEVNAME} -t usb -f /usr/home/josyoun/.coldsyncrc #backup #attach /usr/local/bin/coldsync -mb /usr/home/josyoun/.palm -p /dev/${DEVNAME} -t usb -f /usr/home/josyoun/.coldsyncrc device Mouse devname ums[0-9]+ attach /usr/sbin/moused -p /dev/${DEVNAME} -I /var/run/moused.${DEVNAME}.pid ; /usr/sbin/vidcontrol -m on ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CUPS - libpam.so.1 not found
Barry Skidmore [EMAIL PROTECTED] writes: I am running 5.1-RELEASE-p11 and am receiving the following error when the system boots, related to CUPS not being able to start the scheduler: Local package initilization: /usr/libexec/ld-elf.so.1: shared object :libpam.so.1 not found cups unable to start scheduler Doing a Google search I have been unable to find how to install this missing file. Did you perhaps install CUPS from a package? Specifically, a package compiled on -STABLE instead of -CURRENT? -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resolution problems in x and CLI
On Sat, 6 Dec 2003, Minnesota Slinky wrote: Ive got a couple of questions regarding resolutions. First, is there a way to increase/decrease the resolution of the CLI interface? I don't know how to do this, but I'm sure someone here does. My next question refers to xfree86. Part of my log file seems to indicate X is running at 640x480, and another seems to indicate 1024x768. Is there a way I can test this for sure? From an xterm, type xdpyinfo - it will tell you more than you wanted to know, including your screen resolution. HTH. -- Chris Hill [EMAIL PROTECTED] ** [ Busy Expunging | ] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login_prompt pre-login massage.
Please don't top-post. Hossein [EMAIL PROTECTED] writes: Thanks guys I tested creatint /etc/issue but it seems FreeBSD does not support it, but the login_prompt is working. The only problem is that in Linux /etc/issue is displayed only once while login_pormpt is redisplayed after an unsuccesful try. Does anybody know any other solotiuon? /etc/issue works for me. You need to have the gettytab entry contain the if=/etc/issue capability setting, but FreeBSD has done this by default for (at least) several releases now. -- Lowell Gilbert, embedded/networking software engineer, Boston area: resume/CV at http://be-well.ilk.org:8088/~lowell/resume/ username/password public ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Resolution problems in x and CLI
On Sun, Dec 07, 2003 at 11:00:24AM -0500, Chris Hill wrote: On Sat, 6 Dec 2003, Minnesota Slinky wrote: Ive got a couple of questions regarding resolutions. First, is there a way to increase/decrease the resolution of the CLI interface? I don't know how to do this, but I'm sure someone here does. vidcontrol(1) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
Re: natd ipfw
On Sun, Dec 07, 2003 at 01:11:40PM +0300, Lev Klimin wrote: then natd don't change source address, and ping don't work. I thinked that natd must do NAT whenever and wherever it work. May I be mistaken? You may be. I had a problem a few months ago that seemed very similar. In the end I gave up asking questions and switched to ipf/ipnat (which is now working very well) but it does look very much like a bug somewhere to me. Sorry I can't help you any more than that, -lewiz. -- I was so much older then, I'm younger than that now. --Bob Dylan, 1964. -| msn:[EMAIL PROTECTED] | jabber:[EMAIL PROTECTED] | url:www.lewiz.org |- pgp0.pgp Description: PGP signature
Re: Samba with PPTP
On Sunday 07 December 2003 07:36, Ivan Wong wrote: Hi I am running samba on a freebsd box (behind NAT, IP = 192.168.1.207) with pptpclient connecting to my company m$2k VPN (tunnel IP = 192.168.0.206). At first, I can ping the fbsd with its hostname (freebsd) from my company. But when I try to net use freebsd /user:xxx *, the net use will fail (err = The network path was not found.) and afterwards I can see that ping will use 192.168.1.207 (which was originally 192.168.0.206). I can ping again if I restart the samba. But everytime when I try to use the netbios name I will get the redirection changed wrongly. So I tried to use IP instead. I can browse \\freebsd and net use my home \\freebsd\ivan sucessfully. But when I try to browse \\freebsd\ivan it will hold for a minute and I will finally get the message \\192.168.0.206\ivan is not accessible. The specified network name is no longer available. Windows specifies that per subnet you need one domain master. So it won't work until you have a domain master at the other side of the pptp link. Once I made such a configuration working by bi-maping broadcast addresses. It's very ugly, but that was for a test and it did work. -Harry Thank you. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] pgp0.pgp Description: signature
FreeBSD IPFW/IPFILTER sysctl MIB's
Renaud Read your how-to at http://renaud.waldura.com/doc/freebsd/firewall/ and first want to say I can tell from what you wrote that you really know your security subject. The only think lacking, is your IPFW rules are all stateless, you should really address the subject of only using stateful rules [ie: keep state] on all allow rules. I am glad to meet you. All the things below which I cut out of your how-to are MIB's in sysctl, enabling them in the kernel source, or the setup rc.conf, or in sysctl really makes no difference. I have asked this question repeatedly over the months in the FBSD questions list and get no answer so I ran my own test bench tests. The question is, who get access to the packets first, these MIB's or the firewall? Now my test bench tests demonstrate that once IPFW or IPFILTER is enabled either in the kernel source or in the rc.conf to load the module, all these MIBS are for all practical purposes become inactive. I used log-in-vain because it gives log message when it drops an packet and it stops issuing messages when the firewall gets enabled. I am not an accomplished code reader so I could not follow the original FBSD system source code. But it looks like at the very least the firewall code gets access to the packets before the MIB's do, and all the things the MIB's are suppose to do are taken care of by the firewall before the MIB's get their turn at the packets. OR at the very worse the firewall code replaces the code where these MIB's live and they never get there turn at the packets. What is happening at this level of the system is way over my abilities to figure out. It's my conclusions that these MIB's and some others are only effective without an firewall, they are really an poor man's firewall. Now there is no documentation in FBSD that talks about this, the man pages are so cryptic and ambiguous that it's useless, all they say is that these MIB's exist, what good is that? Don't get me started on the poor sub standard quality of FBSD documentation, that's a whole another question. Since these MIB's seem not to cause any harm when used with an firewall I all ways recommend to enable them in sysctl, one can not be to safe. Can you shed any light on this question? Thanks In kernel source options TCP_DROP_SYNFIN # drop TCP packets with SYN+FIN options TCP_RESTRICT_RST# restrict emission of TCP RST options ICMP_BANDLIM# rate limit ICMP replies In rc.conf tcp_drop_synfin=YES tcp_restrict_rst=YES icmp_bmcastecho=NO icmp_drop_redirect=YES icmp_log_redirect=YES sysctl.conf net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.inet.tcp.log_in_vain=1 net.inet.udp.log_in_vain=1 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Which might be the problem ???
Hi list, I've a FreeBSD-4.5 server running tacacs+, exim and popa3d, it's working fine, no problem, but sometimes when I reboot via: name_server# reboot I see this message... Waiting for .. Waiting for .. Waiting for .. Syncing disks 1 2 1 2 1 2 1 3 4 1 1 1 1 (I always see this message but when it give me error is when Syncing disks get too large the string) ...then saids me that message on init. /kernel Mounting root from ufs: /dev/ad0s1a /kernel WARNING: / was not properly dismounted Any clues ??? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: routing, was: Re: blank subject
Charles Swiger [EMAIL PROTECTED] said: Hi, Liquid-- On Dec 6, 2003, at 3:06 AM, [EMAIL PROTECTED] wrote: I'm going to have a static IP - say xx.xx.yy.zz - and a subnet as follows: xx.xx.xx.zz/28 Do you mean, I am switching from a single static IP to a 16-address subnet, or are you going to have both a static IP on one connection AND a /28 subnet over a second connection? Sorry I wasn't clearer on that. I have one corporate DSL connection with a static IP. Along with the static IP, I'll get an additional /28 1. Do I need to inform the ISP of my intentions so that people can actually connect to an IP which is part of my subnet, but behind this router I intend to build? (I didn't think it was necessary until I read 19.2.5 in the handbook - it doesn't seem like it's necessary based on that alone, but it has placed some doubt in my mind). No, your ISP will route IP traffic for the subnet to you. On the other hand, certainly you should talk to your ISP about your network topology if you have any specific issues or questions for them. 2. I currently run my FreeBSD router on a cable connection while waiting for the new ISP to get setup. I use NAT to translate the EXT. IP to the internal ones of my lan. I don't need to run nat for the setup I plan to have do I? No, you don't need NAT for IPs on your new subnet: they are directly Internet routable if you want a buzzword. :-) However, you should spend some time considering security and setting up a firewall. That's what I thought. Again I just needed someone else to say so too for me to be 100% certain. The whole reason for this is in fact security. I plan to do some webhosting, and also, to generate some additional revenue, give out a few accounts for irc bots. You KNOW that can be alot of trouble ;) I'm actually using an openbsd bridged firewall right now, have been for a couple of years and I like it. Firewalling on the FreeBSD box I intend to use as a router will only increase the security. Are there tricks regarding running ipf on the router that I should look into? Sometime later, you might want to consider how to have machines on your new network be able to fail-over to your single-IP connection; and one way of doing so would be to use a NAT gateway of your public IPs from the /28 subnet via your original connection. [The inverse of -unregistered_only.] 3. Finally, I've read (briefly thus far) about routed on FreeBSD. Would this daemon be used in such a way that I don't even need to add static routes for LAN? Yes, but routed is really intended for dynamic routing within an intranet, and is overkill for your situation. Specificly, you would accomplish more by configuring DHCP on your FreeBSD machine and broadcasting the correct default router IP than you would gain by using routed. Ping all of your machines (or use the subnet broadcast address), and do an arp -a to get MAC addrs, then set up host sections to allocate static IPs via DHCP, so your machines can all be network auto-configured even if you rebuild/reinstall the OS on a particular box. I think I'll just add the static routes for now. Sounds much simpler. Besides, with all these IP's, I still only have 6 machines behind this router... route add default gw my.isp.gateway route add net my./28.sub.net Those appear to be the only two route commands needed. Of course, I can only know for sure once I get my connection (sometime next week) and set it all up. In the future I may toy with routed just so I can know how it works. each of my machines will have wireless NIC's so they can interconnect using non-routable addresses and so I can connect to them from my desktop machine locally. Obviously I'm quite a routing nubile... my goal would be to setup routing so that from one machine who's address is in my subnet, I can connect to another machine within my subnet but ensure it's all done locally without going out beyond the router for two reasons: A) My monthly bandwidth is capped, B) It would only go at my internet connection speed, and not the full 10/100mbit of the LAN. Again, this address is not subscribed, so please answer by putting my address in the cc: field. Done. Thanks, and thanks also for the responses. Very helpful :) -- -Chuck -- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba with PPTP
Harald Schmalzbauer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Windows specifies that per subnet you need one domain master. So it won't work until you have a domain master at the other side of the pptp link. Once I made such a configuration working by bi-maping broadcast addresses. It's very ugly, but that was for a test and it did work. There is one domina master in the subnet 192.168.1.0 If I hardcode the mapping freebsd-192.168.0.206, it works. May I know what's the reason? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
home/end keys in pico
Can any tell me how to get pico to recognize these keys. So far I have not been able to figure out how / pico this is possible using bindkey. My last attempt: cat .cshrc bindkey \e[1~ beginning-of-line # Home bindkey \e[4~ end-of-line# End Every other app works and the defaults seem okay: bindkey | tail -3 right - forward-char home - beginning-of-line end- end-of-line so it seems that pico has other ideas on where its gets its key definitions (please God not termcap). Thanks for any help. _ Douglas Denault [EMAIL PROTECTED] Voice: 301-469-8766 Fax: 301-469-0601 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ls and color
On Fri, Dec 05, 2003 at 10:30:59AM -0800, Mike Maltese wrote: Is there a how to on making ls show colors or a web pages. Thanks. Well., there's ls -G, but you could have found that in the man page, right? Of course you don't want to have to type -G every time, right? I have an entry in my .bashrc file alias ls='ls --color=auto' Every time i run ls, it actually runs ls --color=auto. Nice. dan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SCSI--LVD vs SE...
On Sun, 7 Dec 2003 [EMAIL PROTECTED] wrote: Am I understanding this right?... Concerning SCSI, are LVD and SE (single ended) mutually exclusive? Yes, unless a SCSI bridge is used to separate the LVD and SE devices on the same SCSI bus. If any SE device is present on an LVD bus, the entire bus will revert to SE. That is, if I have a system that supports LVD drives, I want to configure those drives for LVD and not SE which would yield a smaller bandwidth? Like 1/2 at best, right? Being configured as LVD should happen automatically as long as everything you connect to the bus is LVD. You can achieve 40MB/sec at best with a Wide SE bus. A Wide LVD bus allows speeds of 80MB/sec up to 320MB/sec depending on the attached controller and devices. Finally, I have a Tyan S2468UNG motherboard with Ultra160 SCSI onboard (dual channel). I'm looking at pairing two Seagate 15K.3 (ST336753LW) drives with this board. Are these a good choice? Would I get better performance from having both drives on the same channel (and so, cable)? or would it be better to put one on channel A and the other on channel B (separate cables)? I doubt you would see much difference putting just two drives on two different Ultra160 channels, but if you have the channels and extra SCSI cables to spare, go ahead and use them. In the future I would like to add a third LVD drive (probably the same model with larger capacity). Again, all on the same channel? or split to second channel? I'm guessing the dual channel approach would yield better performance when writing across separate physical disks. Especially if three drives are involved. Again, on an Ultra160 channel, three new and very fast drives will come close but still will not fully use the available bandwidth. Spreading the drives across two channels can help with contention under very heavy loads, but depending on what you are using this for, you may see no difference at all using two channels rather than one. SCSI is far better at doing multiple devices per channel than IDE. -- Chris Dillon - cdillon(at)wolves.k12.mo.us FreeBSD: The fastest, most open, and most stable OS on the planet - Available for IA32, IA64, PC98, Alpha, and UltraSPARC architectures - x86-64, PowerPC, ARM, MIPS, and S/390 under development - http://www.freebsd.org Q: Because it reverses the logical flow of conversation. A: Why is putting a reply at the top of the message frowned upon? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
It's very important replying my email, please
Dear Sir, My name is Ziad Fazah. Indeed, after having installed Freebsd version 5.1 on my pc, I found out that after having got at startx command, there was something written as an error: (EE) Unable to locate /open config file (EE) Error from xf86HandleConfigFile log file: /var/log/XFree86 Fatal server error: no screens found. Thus, Iam asking you amiably: how can I solve this problem? Besides, Iam running on Redhat version 9.0. Please, tell me what to do in order to work out this matter. In anyway, I shall be awaiting your response as soon as possible, and thanks a lot for everything. Sincerely, Ziad Fazah ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ls and color
On Fri, 05 Dec 2003 13:42:35 -0600, Kevin D. Kinsey, DaleCo, S.P. wrote: Mike Maltese wrote: Well., there's ls -G, but you could have found that in the man page, right? ls is not a web browser. Try www/lynx. if you want to grab a web page, try fetch or ftp/wget. I think the OP meant is there a how-to or a web page on making 'ls' show colors? ls -G is the standard option, as man page says, equivalent to setting CLICOLOR in your environment. Some terminals (under X perhaps) don't handle this environment variable without some tweaking, though, I think. ?? It's up to ls to handle the enviroment variable. CLICOLOR gets set in my .cshrc, and it works fine in xterm (and the console) for me. However, ls does have to lookup how to display the color. The 'xterm' terminal name in 4.x does not have color, so you have to tell xterm use 'xterm-color', which does have it. This amounts to doing something like xterm -tn xterm-color. (I've been using 5.1 lately, so if this was MFC'd recently I wouldn't really know) -- Robin Schoonover (aka End) # # An optimist is someone who believes Schroedinger's cat is half alive. # ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: It's very important replying my email, please
[Send these types of questions to [EMAIL PROTECTED] camuflag wrote: Dear Sir, My name is Ziad Fazah. Indeed, after having installed Freebsd version 5.1 on my pc, I found out that after having got at startx command, there was something written as an error: (EE) Unable to locate /open config file (EE) Error from xf86HandleConfigFile log file: /var/log/XFree86 Fatal server error: no screens found. Thus, Iam asking you amiably: how can I solve this problem? Besides, Iam running on Redhat version 9.0. Please, tell me what to do in order to work out this matter. In anyway, I shall be awaiting your response as soon as possible, and thanks a lot for everything. You have not configured X yet. Use the xf86config program to do so before running X. See the documentation for more information. -- Bill Moran Potential Technologies http://www.potentialtech.com ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Resolution problems in x and CLI
on Dec 2003 22:03:14 -0800 (PST) Minnesota Slinky wrote: Hello all, Ive got a couple of questions regarding resolutions. First, is there a way to increase/decrease the resolution of the CLI interface? Ive got a laptop that only seems to use the center 1/3 of the screen, Im thinking 640x480, where my native resolution is 1024x768. Personally i had to turn on the bios to what was called LCD expansion doesn't effect the real resolution but it does scale the display. I couldn't change the resolution of the console, though it is in general possible. My next question refers to xfree86. Part of my log file seems to indicate X is running at 640x480, and another seems to indicate 1024x768. Is there a way I can test this for sure? Try adding a modes 1024x768 under one of the color depths sections and a default depth to point to that depth. TIA Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 - Hope that helps, Thomas $clever_quote = $quote + $cleverness ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: It's very important replying my email, please
On Sunday 07 December 2003 01:32 pm, camuflag wrote: Dear Sir, My name is Ziad Fazah. Indeed, after having installed Freebsd version 5.1 on my pc, I found out that after having got at startx command, there was something written as an error: (EE) Unable to locate /open config file (EE) Error from xf86HandleConfigFile log file: /var/log/XFree86 Fatal server error: no screens found. You need to run xf86cfg. To learn about it you can man xf86cfg. It will create a /usr/X11R6/lib/X11/XF86Config There are samples such as XF86Config.98 and XF86Config.eg. You have to know which model GeForce you are using and it will then create entries such as Driver nv VendorName NVidia BoardName GeForce4 MX DDR ChipSet GeForce4 MX 440 Kent Thus, Iam asking you amiably: how can I solve this problem? Besides, Iam running on Redhat version 9.0. Please, tell me what to do in order to work out this matter. In anyway, I shall be awaiting your response as soon as possible, and thanks a lot for everything. Sincerely, Ziad Fazah -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Personal IP telephony software for FreeBSD and Windows?
Living in the UK, a happy land of timed phone calls, and with a DSL that can certainly spare 9600bps up and down for a voice channel, I've decided it's time to look into personal IP telephone software. I know there's lots of it about. What I'm looking for is something that's available for *nix and Windows. And which preferably has an open source client on the *nix end, though that's not mandatory. Any ideas? - d. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with FreeBSD.
Hi, Sir: I have a problem with installing some applications in FreeBSD (4.8 Release) on pentium iii 866 computer, such as java run time for linux from SUN, and Solaris 7 for linux from SUN. I got the following message and the installation aborted. # ./so-7-ga-eval-bin-linux-en.bin ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort # I do not understand what the ELF is. Could you help me? Thanks. Regards. shen zhijian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SUNRays
On Sat, Dec 06, 2003 at 10:31:17PM +, Andrew Boothman wrote: cloper wrote: I have a few SUNRay thin clients that I would like to use on something other than Solaris. Has anyone successfully used these under BSD? Does anyone have any ideas what so ever? I've seen an installation of about 30 SunRays before and I seem to remember thinking that they needed specialised software from Sun running under Solaris in order to work. They are *really* thin clients that really only consist of a monitor, mouse and keyboard and rely on their host server for everything else. That's not an architecture that you're going to get FreeBSD to run under I wouldn't think. I'd like to be proved wrong however. Perhaps the rays just provide an X Server or somesuch and you could persuade them to display the output of XFree86 under FreeBSD? I don't know enough detail to say for sure - do some investigating then come back and tell us all! This is true. You will not be able to install anything on SunRay. You need a SunRay server which is a software run on top of Solaris. SunRays are thin clients - CPU, some RAM, I/O devices and ethernet card. They authenticate to the server via MAC address, the session is on the real server and everyting is passed via ethernet cable. There is a software for Windows though, but I can't remember the name, so you could connect your SunRay to Windows server. You can't run FreeBSD on SunRay. Cheers, greg -- Grzegorz Czaplinski gregory at prioris.mini.pw.edu.pl The Power to Serve, Right for the Power Users! - http://www.FreeBSD.org/ Fingerprint: EB77 E19D CFA2 5736 810F 847C A70F A275 2489 469F ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: home/end keys in pico
[EMAIL PROTECTED] wrote: Can any tell me how to get pico to recognize these keys. So far I have not been able to figure out how / pico this is possible using bindkey. My last attempt: cat .cshrc bindkey \e[1~ beginning-of-line # Home bindkey \e[4~ end-of-line# End Every other app works and the defaults seem okay: bindkey | tail -3 right - forward-char home - beginning-of-line end- end-of-line so it seems that pico has other ideas on where its gets its key definitions (please God not termcap). Thanks for any help. _ Douglas Denault [EMAIL PROTECTED] I'm guessing I can't be much help here; dunno much re: terminals. However, I have noted that nano recognized some stuff better than pico via whatever terminal was the PuTTY default. I dunno if that's going to help if you're in CLI, or some Xterm, but it converted me. Besides, nano is just a more modern pico anyway I've even got alias pico nano in my .cshrc. :-) Hopefully, someone with more experience/knowledge re: terminals can get you the real help you need. KDK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which tool for a screenshot?
On Sun, Dec 07, 2003 at 12:27:40AM +, Bill Schoolcraft wrote: At Sat, 6 Dec 2003 it looks like Kevin D. Kinsey, DaleCo, S.P. composed: Looks like: 1. Click File menu 2. Click Acquire 3. Select screen shot and follow prompts. In another Unix OS I used to use the following command from a xterm window and it would shoot the whole desktop and save it to the file I named in the command line. import -window root image.jpg I don't seem to have the import command on FreeBSD. Looks like 'import' is part of ImageMagick: From man import:: AUTHORS John Cristy, ImageMagick Studio LLC, Glenn Randers-Pehrson, ImageMagick Studio LLC. Lives in the /usr/local/bin directory. If you do an % import test.jpeg and then position the + cursor and draw out the rectangle with the left mousebutton, import will capture a JPEG image of thar rectangle. Thanks for the reminder; I'm making notes this time... gary -- |--Word-Wrap-At-72-Please--| Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ UNIX, A Way Of Life._\_v ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NATd question
Hello Everybody, Im on FreeBSD 4.8-R fresh installation. and this is the configuration i will use on my LAN Internet -connected- DSL Router - FreeBSD box - HUB - LAN DSL Router has an IP 192.168.0.1 and the real IP too. FreeBSD box has 2 NIC's My question is: Where and How to sign 2 IPs for 2 NICs? which IP the NIC connected to DSL should sign? Which IP the NIC connected to HUB should sign? Which of these IPs will be as gateway IP the clients will sign? I have read the instructions of freebsd.org, and it says the gateway will be the BSD machine 192.168.0.1 BUT this IP in my LAN is signed to the router automatilcaly. Can someone explain? advise? This machine will be only for this use. Thank you -- Marwan Sultan ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: which tool for a screenshot?
On Sun, Dec 07, 2003 at 12:14:24AM -0800, Chris Pressey wrote: I don't seem to have the import command on FreeBSD. I believe it's part of the ImageMagick port: # grep import /usr/ports/graphics/ImageMagick/pkg-plist %%X11%%bin/import %%PORTDOCS%%share/doc/ImageMagick/www/import.html More ways than you can shake a stick at. I just installed the newest gimp and got lost in exploring :-) gary -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: home/end keys in pico
On Sun, 7 Dec 2003, Kevin D. Kinsey, DaleCo, S.P. wrote: [EMAIL PROTECTED] wrote: [cut pico keybind whine] I'm guessing I can't be much help here; dunno much re: terminals. However, I have noted that nano recognized some stuff better than pico via whatever terminal was the PuTTY default. I dunno if that's going to help if you're in CLI, or some Xterm, but it converted me. Besides, nano is just a more modern pico anyway I've even got alias pico nano in my .cshrc. :-) Hopefully, someone with more experience/knowledge re: terminals can get you the real help you need. hmmm - almost as good as discovering the script command. If nano -i works with pine; this is better than what I was looking for. Thanks. _ Douglas Denault [EMAIL PROTECTED] Voice: 301-469-8766 Fax: 301-469-0601 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with FreeBSD.
ELF is a format for executable binary files. The error means that module is missing. Try locate ld-linux.so.2. I get: locate ld-linux.so.2 /usr/compat/linux/lib/ld-linux.so.2 The module is a part of the linux_base package. If you have linux_base-x.x installed, perhaps it was deleted somehow. Otherwise you need that package/port. On Mon, 8 Dec 2003, Shen Zhijian wrote: Hi, Sir: I have a problem with installing some applications in FreeBSD (4.8 Release) on pentium iii 866 computer, such as java run time for linux from SUN, and Solaris 7 for linux from SUN. I got the following message and the installation aborted. # ./so-7-ga-eval-bin-linux-en.bin ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort # I do not understand what the ELF is. Could you help me? Thanks. Regards. shen zhijian ___ [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]
/dev/ulpt0: Device not configured
I can't figure out how to bind my usb printer to ulpt0, rather than ugen1 as it is now. My physical setup: first usb port: logitech wingman hub second usb port: HP OfficeJet K80xi The hub has an HP 7400c scanjet, and the cable for a camera, with nothing currently connected to the cable. In a previous freebsd install with this same setup, I've downloaded pictures through that cable, haven't tried that yet with this install. Never tried scanning. But back to printing ... Here's my failure indication (besides not printing). I'm using apsfilter to set up my printer. When I try printing a test page I get this: Printing test page... -rw-r--r-- 1 root wheel 3808147 Dec 7 13:56 /tmp/apsfilter320/test_page.aps /usr/local/share/apsfilter/SETUP: line 1: /dev/ulpt0: Device not configured So I guess I have to figure out what Device not configured means, and how to fix it. I'm using the generic kernel supplied with FreeBSDMall's 4.9 CD set # uname -a FreeBSD haiku.krelm.com 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Mon Oct 27 17:51:09 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 All manner of usb is enabled in the generic kernel, /usr/src/sys/i386/conf/GENERIC: # USB support device uhci# UHCI PCI-USB interface device ohci# OHCI PCI-USB interface device usb # USB Bus (required) device ugen# Generic device uhid# Human Interface Devices device ukbd# Keyboard device ulpt# Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device uscanner# Scanners device urio# Diamond Rio MP3 Player # USB Ethernet, requires mii device aue # ADMtek USB ethernet device cue # CATC USB ethernet device kue # Kawasaki LSI USB ethernet Some dmesg output: # dmesg | grep -i ugen ugen0: hp hp scanjet 7400c, rev 1.00/0.01, addr 3 ugen1: Hewlett-Packard OfficeJet K80xi, rev 1.00/1.00, addr 4 # dmesg | grep -i usb uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0x1080-0x109f irq 9 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub1: Texas Instruments UT-USB41 hub, class 9/0, rev 1.00/1.00, addr 2 # dmesg | grep -i ulpt # # dmesg | grep -i lpt lpt0: Printer on ppbus0 lpt0: Interrupt-driven port usbdevs output: # usbdevs -dv Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x), Intel(0x), rev 1.00 uhub0 port 1 addr 2: power 100 mA, config 1, UT-USB41 hub(0x1446), Texas Instruments(0x0451), rev 1.00 uhub1 port 1 addr 3: self powered, config 1, hp scanjet 7400c(0x0801), hp(0x03f0), rev 0.01 ugen0 port 2 powered port 3 powered port 4 powered port 2 addr 4: self powered, config 1, OfficeJet K80xi(0x0811), Hewlett-Packard(0x03f0), rev 1.00 ugen1 At this point let me ask, if a new entry in /etc/usbd.conf turns out to be the solution, would the values shown above for port 2 addr 4 be plugged into that entry? If so, how to translate the rev 1.00 to usbd.conf format? Finally, if that *is* the solution, would anyone care to post their entry for a usb printer? Back to the data: If I unplug the cable from the printer, the console says this, immediately: ugen1: at uhub0 port 2 (addr 4) disconnected ugen1: detached Plugging the cable back in gets this on the console, immediately: ugen1: Hewlett-Packard OfficeJet K80xi, rev 1.00/1.00, addr 4 After disconnecting and connecting the cable, here's what dmesg says, which appears to be a combination of what it said before disconnect/connect, plus the console message just reported: # dmesg | grep -i ugen ugen0: hp hp scanjet 7400c, rev 1.00/0.01, addr 3 ugen1: Hewlett-Packard OfficeJet K80xi, rev 1.00/1.00, addr 4 ugen1: at uhub0 port 2 (addr 4) disconnected ugen1: detached ugen1: Hewlett-Packard OfficeJet K80xi, rev 1.00/1.00, addr 4 The rest of dmesg wrt to usb hasn't changed. Here's my devices: # ll ulpt* unlpt* ugen* crw-rw 1 root operator 114, 0 Nov 26 11:07 ugen0 crw-rw 1 root operator 114, 1 Nov 26 11:07 ugen0.1 crw-rw 1 root operator 114, 10 Nov 26 11:07 ugen0.10 crw-rw 1 root operator 114, 11 Nov 26 11:07 ugen0.11 crw-rw 1 root operator 114, 12 Nov 26 11:07 ugen0.12 crw-rw 1 root operator 114, 13 Nov 26 11:07 ugen0.13 crw-rw 1 root operator 114, 14 Nov 26 11:07 ugen0.14 crw-rw 1 root operator 114, 15 Nov 26 11:07 ugen0.15 crw-rw 1 root operator 114, 2 Nov 26 11:07 ugen0.2 crw-rw 1 root operator 114, 3 Nov 26 11:07 ugen0.3 crw-rw 1 root operator 114, 4 Nov 26 11:07 ugen0.4 crw-rw 1 root operator 114, 5 Nov 26 11:07
RFC1323 extension
From an network security view point, Is it good to disable this in rc.conf? tcp_extensions=NO# No means the RFC1323 extension are disabled # can only be turned off here in rc.conf ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Canon A70 w/ FreeBSD
Has anyone had luck using the Canon PowerShot A70 with FreeBSD stable (4.x)? I notice in the home page for the s10sh drivers (see links below) that this model may not be supported. The FreeBSD maintainer has made some changes, and according to the changelog at: http://www.reynoldsnet.org/s10sh/, the A60 is now supported. However, it's unclear whether it's supported in serial only mode, like the A50, and whether there are problems, as with the A50 (see http://www.kyuzz.org/antirez/s10sh.html) Would i be better off with the SD100 model? I'd rather use the A70 if possible. A70 site: http://www.powershot.com/powershot2/a70-60/specs.html ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Error with man
Hi, Everytime I run man I get the following error... /usr/libexec/ld-elf.so.1: more: Share object has no run-time symbol table Error executingformatting or display command System command exited with status 256 No manual entry for Why is the happening? How can I fix it? Uname -a FreeBSD freebsd51.gdieng.com 5.1-RELEASE FreeBSD #0: Thu Jun 5 02:55:42GMT 2003. Thanks Payne ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canon A70 w/ FreeBSD
On Mon, 8 Dec 2003 09:27 am, Will Yardley wrote: Has anyone had luck using the Canon PowerShot A70 with FreeBSD stable (4.x)? I notice in the home page for the s10sh drivers (see links below) that this model may not be supported. Just buy yourself a compact-flash card reader. All you do is put your card in and plug it into the usb port, and your able to mount it like a hard disk. (: I find this method much simpler and more convenient. Otherwise you might want to checkout the gphoto port. Regards, Jacob __ JacobRhoden -- http://rhoden.id.au ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canon A70 w/ FreeBSD
JacobRhoden wrote: On Mon, 8 Dec 2003 09:27 am, Will Yardley wrote: Has anyone had luck using the Canon PowerShot A70 with FreeBSD stable (4.x)? I notice in the home page for the s10sh drivers (see links below) that this model may not be supported. Just buy yourself a compact-flash card reader. All you do is put your card in and plug it into the usb port, and your able to mount it like a hard disk. (: I find this method much simpler and more convenient. That might be a good option. Otherwise you might want to checkout the gphoto port. Yeah - I've checked that out (and installed it from ports), and it does look like it supports that model. Is the other driver still needed, or will this Just Work (TM), assuming that the usb and umass options are compiled into the kernel? I haven't ever used USB with FreeBSD, so I don't have a lot of experience with dealing with USB in general. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Deinstalling questions....
Is there a way to uninstall a package installed via make make install ??? I mean, when I compile a package it is installed on /usr/local and through a tree, then if I want to uninstall it I have to delete the files one per one... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canon A70 w/ FreeBSD
On Mon, 8 Dec 2003 09:58 am, Will Yardley wrote: Otherwise you might want to checkout the gphoto port. Yeah - I've checked that out (and installed it from ports), and it does look like it supports that model. Is the other driver still needed, or will this Just Work (TM), assuming that the usb and umass options are compiled into the kernel? When you install gphoto2, it installs a whole lot of camera drivers (looks like about 50) in /usr/lib/gphoto2.. it 'just worked' for me (: Occasionally gphoto2 has trouble detecting your camera, but the solution for that for me was to go into /usr/lib/gphoto2 and delete all of the drivers for cameras that i know arent mine. Regards, Jacob Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canon A70 w/ FreeBSD
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, On Sunday 07 December 2003 22:58, Will Yardley wrote: That might be a good option. The only advantage it has really, IMO, is if you get a USB 2 card reader then the uploads will be much quicker. Yeah - I've checked that out (and installed it from ports), and it does look like it supports that model. Is the other driver still needed, or will this Just Work (TM), assuming that the usb and umass options are compiled into the kernel? I'm pretty sure you don't even need umass for photo2. gphoto2 should just work. It's great with my PowerShot A40. - -- Cheers, Chris Howells -- [EMAIL PROTECTED], [EMAIL PROTECTED] Web: http://chrishowells.co.uk, PGP ID: 0x33795A2C KDE/Qt/C++/PHP Developer: http://www.kde.org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/07Q6F8Iu1zN5WiwRAoVfAJkBgJtg5vchQ56HSES45V70YovDyACfWOSI FZCbdJCm+oAl8QiHdZ9GwrE= =vz5d -END PGP SIGNATURE- ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Deinstalling questions....
Xpression wrote: Is there a way to uninstall a package installed via make make install ??? I mean, when I compile a package it is installed on /usr/local and through a tree, then if I want to uninstall it I have to delete the files one per one... take a look at 'man pkg_info' and 'man pkg_delete' ~j -- Yesterday upon the stair I saw a man who wasn't there, he wasn't there again today, oh how i wish he'd go away Rev. Jonathan T. Sage Lighting / Set Designer Professional Web Design [HTTP://theatre.msu.edu] [EMAIL PROTECTED] [See Headers for Contact Info] pgp0.pgp Description: PGP signature
Re: problem with FreeBSD.
--- doug [EMAIL PROTECTED] wrote: ELF is a format for executable binary files. The error means that module is missing. Try locate ld-linux.so.2. I get: locate ld-linux.so.2 /usr/compat/linux/lib/ld-linux.so.2 The module is a part of the linux_base package. If you have linux_base-x.x installed, perhaps it was deleted somehow. Otherwise you need that package/port. On Mon, 8 Dec 2003, Shen Zhijian wrote: Hi, Sir: I have a problem with installing some applications in FreeBSD (4.8 Release) on pentium iii 866 computer, such as java run time for linux from SUN, and Solaris 7 for linux from SUN. I got the following message and the installation aborted. # ./so-7-ga-eval-bin-linux-en.bin ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort # I do not understand what the ELF is. Could you help me? Thanks. Regards. shen zhijian ___ [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] Or you may have also upgraded the linux_base-x.x port on your computer, but did not tell your other ports that rely on it, that you did so. You can fix this by doing a portupgrade -rR linux_base-x.x __ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Canon A70 w/ FreeBSD
On Sun, Dec 07, 2003 at 02:58:31PM -0800, Will Yardley wrote: JacobRhoden wrote: On Mon, 8 Dec 2003 09:27 am, Will Yardley wrote: Has anyone had luck using the Canon PowerShot A70 with FreeBSD stable (4.x)? I notice in the home page for the s10sh drivers (see links below) that this model may not be supported. Just buy yourself a compact-flash card reader. All you do is put your card in and plug it into the usb port, and your able to mount it like a hard disk. (: I find this method much simpler and more convenient. That might be a good option. Otherwise you might want to checkout the gphoto port. Yeah - I've checked that out (and installed it from ports), and it does look like it supports that model. Is the other driver still needed, or will this Just Work (TM), assuming that the usb and umass options are compiled into the kernel? I haven't ever used USB with FreeBSD, so I don't have a lot of experience with dealing with USB in general. I'e got the same general questions as Will Yardley, except that I'd like more on the card reader. I've never used my USB ports--anywhere. If I go down to CompUSA and ask the clerk for a compact-flash card reader, will t come with the cabling? Does the card fit into the m'board? (700MHz Intel-i815, circa 2001). I'm not worried about the software end of things; only the hardware interface. thanks, gary PS: FWIW, we're looking at the Fuji 3800. It has a USB cable; not sure how everything fits together... . -- Gary Kline [EMAIL PROTECTED] www.thought.org Public service Unix ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: running freebsd with sendmail and qpopper
I've given this another try and got much further albeit w/o visible success. Here are my notes interleaved in your instructions. At 09:53 PM 12/3/2003, Steve Bertrand wrote: assume the following: - your domain name is example.com Newbie that I am not certain that my understanding of this is correct. My /etc/rc.conf file has hostname=SwamiSalami.face2interface.domain so this is my fqdn, right? And my domain name is face2interface.domain? That's the way I set up things. - the IP of your mail server is 192.168.0.10 The ip adr of my fbsd box, i.e. the one being configured to act as the mail server for my lan is 192.168.0.7. - your default gateway for your network is 192.168.0.1 Yes, I think. That's the ip adr for my workstation, the box that has the dial up connection w/ windows ics enabled. - your ip of your client computer is 192.168.0.25 I'm going to use my workstation as the client computer, i.e. to do testing. - your mail server name is mail.example.com If my other assumptions are right then this is mail.face2interface.domain - but maybe there is something more to this and I'm ignorant??? - your client computer name is client.example.com delliver.mshome.net - your mail server will back as a qpopper and DNS server for the network Meaning my lan, the local network right? 10 Configure your client machine to check email [snip] 11 Check send email Steve, I get a Diagnostic-Code: SMTP; 550 Host unknown when trying to send an email from the server to the client, i.e. from SwamiSalami.face2interface.domain to [EMAIL PROTECTED] and an error on delliver 'Resolving address for mail.face2interface.domain' when trying to send an email from the client to the server (It goes through the server either way so the server is a client in this test, right?). Although I can ping both boxes from delliver (the client) I can't ping swamisalami from itself, can ping delliver from swamisalami. On the bright side, everything that worked before still works afaik. So how do I start debugging from here? BTW, the only issue I had with the instructions were where one of the kill -HUP `cat` cmds didn't work as is because the cat pid output wasn't right w/o somehow parsing first. If you receive email for this user into the account, then thank god And here I'd thought that email was technology rather than religion. Marty Landman Face 2 Interface Inc 845-679-9387 Sign On Required: Web membership software for your site Make a Website: http://face2interface.com/Home/Demo.shtml ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
option to disable LKM
I am looking for way to disable FBSD ability to use LKM (loadable kernel modules). Just part of security project to tighten up security on my FBSD systems. I looked in LINT kernel source and saw no options ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 4.8 supports ok VIA RHINE III VT6105 ??
Hi, i am using FreeBSD 4.8 with default instalation, FreeBSD detect the interface, but works very slow! Thanks, Exequiel Rivas - Mensaje enviado desde K7-NeT http://www.k7-net.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: option to disable LKM
I don't know if you can do it with a kernel option, you can do a module to disable the load/unload of modules... i have one, if you need it contact me :) Exequiel Rivas - Mensaje enviado desde K7-NeT http://www.k7-net.net ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
usb/sound on a Gigabyte 7s748 Motherboard
Hey People, Was wondering if any of you out there are using this motherboard and have usb working? (sound is a niceity). Motherboard chipset: Sis748 (listed as supported on freebsd.org) (yes usbd is running) Regards, Jacob Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
apcupsd
Are there any users of apcupsd on the list? If so, please respond to me privately. I have a question about recommended UPS's that work well with FreeBSD. Thanks, Barry ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: option to disable LKM
On Sun, Dec 07, 2003 at 07:16:41PM -0500, fbsd_user wrote: I am looking for way to disable FBSD ability to use LKM (loadable kernel modules). man securelevel(8) so e.g. set kern_securelevel=1 in /etc/rc.conf hth, toni -- Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at lieber gar nicht, als dass man verurteile. | Toni Schmidbauer -- Rudolf Steiner| pgp0.pgp Description: PGP signature
Problem with Disk/Partition???
Running 4.9, and when running fsck on a partition craps out with - hivemind# fsck /files ** /dev/da0s1h (NO WRITE) ** Last Mounted on /files ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts ** Phase 5 - Check Cyl groups SUMMARY INFORMATION BAD SALVAGE? no 49133 files, 118859 used, 275644 free (2612 frags, 34129 blocks, 0.7% fragmentation) Any help would be grateful. Thanks hivemind# df -Hi FilesystemSize Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1a 206M80M 110M42%1701 238977% / /dev/da0s1g 6.1G 1.2G 4.4G22% 133557 610633 18% /usr /dev/da0s1e 264M18M 225M 7% 858 316523% /var /dev/da0s1f 264M 506K 243M 0% 19 324910% /tmp /dev/da0s1h 808M 243M 500M33% 49133 149777 25% /files /dev/da0s1d 516M 182M 293M38%1934 614243% /db /dev/ccd0c 54G13G36G27% 32904 65526940% /storage procfs4.1K 4.1K 0B 100% 65 9796% /proc ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with Disk/Partition???
In the last episode (Dec 07), Gerard Samuel said: Running 4.9, and when running fsck on a partition craps out with - hivemind# fsck /files ** /dev/da0s1h (NO WRITE) Any help would be grateful. Thanks hivemind# df -Hi FilesystemSize Used Avail Capacity iused ifree %iused Mounted on /dev/da0s1h 808M 243M 500M33% 49133 149777 25% /files Dismount the filesystem first. But if the system let you mount it, you don't need to run fsck anyway. -- Dan Nelson [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: problem with FreeBSD.
On Mon, 8 Dec 2003 08:57:02 +1300 Shen Zhijian [EMAIL PROTECTED] wrote: Hi, Sir: I have a problem with installing some applications in FreeBSD (4.8 Release) on pentium iii 866 computer, such as java run time for linux from SUN, and Solaris 7 for linux from SUN. I got the following message and the installation aborted. # ./so-7-ga-eval-bin-linux-en.bin ELF interpreter /compat/svr4/lib/ld-linux.so.2 not found Abort # I do not understand what the ELF is. Could you help me? It is a executable binary format or something like that basically what it sounds like here is you don't have linux-base instealled and/or the linux kernel module loaded... to do this just use kldload to load the linux.ko module and possibly linprocfs.ko. To install the linux-base go to /usr/ports/emulators/linux_base/ and do a make make install. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why would drive run at UDMA33? (Segate 80GB)
Hi, I have just purchased a new 80GB drive, howerver i noticed it is running significantly slower than my current 80gb drive. Dmesg says this: ad0: 76319MB ST380021A [155061/16/63] at ata0-master UDMA100 ad2: 76319MB ST380011A [155061/16/63] at ata1-master UDMA33 Why is one running at udma100 and my new one running at udma33? iosys reports it as 4 times slower! Is there any special tuning or kernel option i need to set? The segate website reports the following details aobut it: Model Number:ST380011A Capacity:80 GB Speed:7200 rpm Seek time:8.5 ms avg Interface:Ultra ATA/100 Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why would drive run at UDMA33? (Segate 80GB)
Try 'man atacontrol' Jarrod [EMAIL PROTECTED] On Mon, 8 Dec 2003 16:21:52 +1100 JacobRhoden [EMAIL PROTECTED] wrote: Hi, I have just purchased a new 80GB drive, howerver i noticed it is running significantly slower than my current 80gb drive. Dmesg says this: ad0: 76319MB ST380021A [155061/16/63] at ata0-master UDMA100 ad2: 76319MB ST380011A [155061/16/63] at ata1-master UDMA33 Why is one running at udma100 and my new one running at udma33? iosys reports it as 4 times slower! Is there any special tuning or kernel option i need to set? The segate website reports the following details aobut it: Model Number:ST380011A Capacity:80 GB Speed:7200 rpm Seek time:8.5 ms avg Interface:Ultra ATA/100 Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why would drive run at UDMA33? (Segate 80GB)
Hi, I have just purchased a new 80GB drive, howerver i noticed it is running significantly slower than my current 80gb drive. Dmesg says this: ad0: 76319MB ST380021A [155061/16/63] at ata0-master UDMA100 ad2: 76319MB ST380011A [155061/16/63] at ata1-master UDMA33 Hi Do you by any chance have a cdrom or dvd drive connected on your secondry IDE? If so, this would explain the drop in speed. Try connecting the 2 80G drives as master and slave on the same IDE. Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why would drive run at UDMA33? (Segate 80GB)
JacobRhoden [EMAIL PROTECTED] wrote: I have just purchased a new 80GB drive, howerver i noticed it is running significantly slower than my current 80gb drive. On Mon, 8 Dec 2003 04:38 pm, Jarrod wrote: Try 'man atacontrol' I typed 'man atacontrol' and it didnt seem to help! (grin). Seriously, i had a look and worked out how to list/display the modes of drives, and i am not sure what commands i would type to help fix the speed? I can now show people this though: ATA channel 0: Master: ad0 ST380021A/3.19 ATA/ATAPI rev 5 Slave: acd0 CD-RW 24X10X40/Y.IW ATA/ATAPI rev 0 ATA channel 1: Master: ad2 ST380011A/3.06 ATA/ATAPI rev 6 Slave: no device present (The cable is the right way around, and the drive is the only drive on the cable, thanks for suggestions though). Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why would drive run at UDMA33? (Segate 80GB)
On Dec 7, 2003, at 10:07 PM, JacobRhoden wrote: I typed 'man atacontrol' and it didnt seem to help! (grin). Seriously, i had a look and worked out how to list/display the modes of drives, and i am not sure what commands i would type to help fix the speed? mode Without the two mode arguments, the current transfer modes of both devices are printed. If the mode arguments are given, the ATA driver is asked to change the transfer modes to those given. The ATA driver will reject modes that are not supported by the hardware. Modes are given like ``PIO3'', ``udma2'', ``udma100'', case does not matter. If one of the devices mode should not be changed, use a nonexisting mode as argument (i.e. ``XXX''), and the mode will remain unchanged. Currently supported modes are: BIOSDMA, PIO0 (alias BIOSPIO), PIO1, PIO2, PIO3, PIO4, WDMA2, UDMA2 (alias UDMA33), UDMA4 (alias UDMA66), UDMA5 (alias UDMA100) and UDMA6 (alias UDMA133). So you can type 'atacontrol mode channel mode where mode is one of the options listed' and change the speed, at some potential risk, as the man page warns. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why would drive run at UDMA33? (Segate 80GB)
As some others said, put both the hard drives on the same channel and see what that does, also to change the speeds it is 'atacontrol mode (number of channel ie 0 or 1) UDMA(#) UDMA(#)' if you have 2 things on the same channel. But switch the cd-rw and the hard drive and put the 2 drives on the same channel and you might not have to mess with setting the speeds. and another good command to check what speeds are on the same channel 'atacontrol mode (number of channel)' of course dont use parenthesis on any of that, and if you already know about what i said oh well, spreading my limited knowledge Jarrod [EMAIL PROTECTED] On Mon, 8 Dec 2003 17:07:29 +1100 JacobRhoden [EMAIL PROTECTED] wrote: JacobRhoden [EMAIL PROTECTED] wrote: I have just purchased a new 80GB drive, howerver i noticed it is running significantly slower than my current 80gb drive. On Mon, 8 Dec 2003 04:38 pm, Jarrod wrote: Try 'man atacontrol' I typed 'man atacontrol' and it didnt seem to help! (grin). Seriously, i had a look and worked out how to list/display the modes of drives, and i am not sure what commands i would type to help fix the speed? I can now show people this though: ATA channel 0: Master: ad0 ST380021A/3.19 ATA/ATAPI rev 5 Slave: acd0 CD-RW 24X10X40/Y.IW ATA/ATAPI rev 0 ATA channel 1: Master: ad2 ST380011A/3.06 ATA/ATAPI rev 6 Slave: no device present (The cable is the right way around, and the drive is the only drive on the cable, thanks for suggestions though). Jacob RhodenPhone: +61 3 8344 4478 ITS DivisionEmail: [EMAIL PROTECTED] Melbourne University Mobile: +61 403 788 386 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]