Re: IPsec How-to
On Thu, 31 Mar 2005 10:36:01 -0400 Monah Baki [EMAIL PROTECTED] spake thus: Hi all, I'm reading the FreeBSD handbook, the vpn over ipsec how-to section, but how do I apply it if I have 1 freebsd machine with 1 NIC, and multiple XP boxes in a LAN. All communications nfs, ftp etc etc to that Freebsd machine must be encrypted. Can it be done? is there any how to for this scenario somewhere? Thank you Hi, Yes it is possible though I won't claim to have done it myself but you would probably be best to start off by looking into a program like racoon or something then set up each machine with the private keys or certificates. I believe XP is pretty easy setup when it comes to IPSec. Good Luck LukeK ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: need your help, thanks!
On Wed, 23 Mar 2005 09:20:21 -0500 yang ning [EMAIL PROTECTED] spake thus: I have tried times and times to download a copy of FreeBSD from your FTP site. However, every time I failed. It seemed to me that the tra nsfering speed is unbearably slow. What's worse, somehow I was black-listed by the administrator.( Maybe because I tried too much times to download from your site. ) I'm using an ADSL line, and usually the speed is fairly quick. In addition, I only happened to such problems in your site. I need your help, many thanks! Faithfully User YangNing -- Are you downloading from a mirror site close to you ? Check the website for a list of mirrors that are close to your area. Good Luck LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS access.
On Tue, 22 Mar 2005 17:02:37 +0900 Michel Bouchet [EMAIL PROTECTED] spake thus: Hello, I am trying to use NFS server on a testing FreeBSD machine. I have been able to share a folder with a linux machine. But if I want the client to have write access to this folder; I have not found a better way than giving world wide write access on this folder. There has to be a better way. But what is it ? Is there a way to map the NFS-Client user to a certain unix user for instance ? Thanks for any tip. Michel man exports should give you a good starting point. HTH LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Appletalk/Samba?
On Wed, 16 Mar 2005 09:09:16 -0500 Tim Simmons [EMAIL PROTECTED] spake thus: Is it possible to set up a FreeBSD server to act as a gateway between an appletalk file server and a group of tcp/ip based windows PCs? What I'm trying to do is enable a group of PCs on the same physical network as the appletalk file server to be able to access files on that server. Windows XP, it would seem, does not support appletalk natively. Please CC any responses to me. Thank you. Not exactly the same as you are trying to do here but I have in the past run both netatalk and samba on the same FBSD machine to share the same FS between apple and winblows clients. Was pretty stable for a couple of years and then I didn't need to do that anymore so I uninstalled netatalk. Can you move the FS to a FBSD box ? If so that would be my suggestion. HTH LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: no route to host - urgent problem
On Thu, 17 Mar 2005 08:20:23 +0100 Laszlo Zsolt Nagy [EMAIL PROTECTED] spake thus: Hi All! I could compile a new kernel (4.8 p27). It logs in to an ADSL line with ppp (tun0 created). But I cannot ping even myself. This is a router, the other device is connected to a local network 172.16.0/20 messiasping 127.0.0.1 ping:sendto:no route to host messiasnetstat -nr Destination Gateway Flags Refs Use NetifExpire 127.0.0.1 127.0.0.1 UH 1 3 lo0 172.16.0/20 link#2 UC 3 0 rl0 I dot see the gateway here (Flags: G) but it should work for 127.0.0.1 without it. ARP is also working, the physical connection is okay on the LAN: messiasarp 172.16.0.26 ? (172.16.0.26) at 00:50:1d:5f:18:20 on rl0 [ethernet] I also tried this: messiasroute add default 172.16.0.1 The default gateway became 172.16.0.1 UGSc rl0. Despite this: messiasping 172.16.0.26 PING 172.16.0.26 (172.16.0.26): 56 data bytes ping: sendto: No route to host named does not work either. It is started but when I start nslookup it says 'No response from server'. Is it a missing 'options' from the kernel config? The same machine was working before with the same setting but a different kernel (GENERIC). Unfortunately, I need to do this within 1 hour. Employees are coming and they will cut my neck Laci check firewall setups HTH -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: connecting a FreeBSD-4.10 to Internet using DSL with static ip address
On Sat, 12 Mar 2005 19:27:51 -0800 Edwin D. Vinas [EMAIL PROTECTED] spake thus: Hello everyone! I have a FreeBSD-4.10 machine and a newly connected DSL with static ip address. The DSL connection setup uses an ADSL modem (SMC7901BRA) which has 1 connection to my phone line and 1 connection to my LAN card using UTP cable. In Windows XP setup, the process of setting up Internet is just as easy as configuring the TCP/IP prpoerties with the static ip address given to me and other details such as gateway, dns, subnet mask etc. My machine has a dual-boot WinXP and FreeBSD-4.10. As I've said above, I can easily connect to the Internet using the WinXP. But, I want to try FreeBSD to connect to the Internet, but it doesn't work. Here's what I did to test if I can connect to Internet via DSL using FreeBSD: 1. Reboot or boot to FreeBSD-4.10 2. Login as root 3. /stand/sysinstall to assign IP address, gateway, and dns 4. Reboot machine to make sure new IP settings take effect 5. Do an ifconfig and see that the IP settings are correct 6. I can ping my own IP address (static IP address of the DSL assigned by my ISP) 7. When I try to ping the ISP's given gateway, I receive ping to: Host is down. 8. Seeing the modem status, the LAN and SYNC signals are up but the DATA is off. I have tried searching the net with FreeBSD+DSL but all I can read is about PPPoE which requires a username and password which I don't have. My DSL account is an always on account with a static IP address and I guess it doesnt have a username/password for connection to the ISP. Does FreeBSD need to detect my DSL modem if it is connected to the NIC using a UTP cable connected to the modem? Here's my setup: [DSL modem]-[DSL Provider] (provides static IP address) | | | [FreeBSD's LAN card] Here's the modem's technical description: https://secure.quicksolve.com.au/catalog/product_info.php?cPath=products_id=2991 http://sg.hardwarezone.com/priceguide/info.php?cid=113id=11104 Does anybody has an experience connecting FreeBSD to a DSL with a static IP address and has similar setup above? Actually my real purpose is to use FreeBSD as LAN gateway using the DSL connection. But I wanna try first connecting the FreeBSD machine as a stand-alone PC which uses the simple setup above. If this setup works, the gateeway setup will surely work too. Thank you very much! Just out of curiosity did your ISP give you a username and passwd ? Did your ISP provide the DSL Modem ? Certainly posting the rc.conf of your freebsd machine will help as might the output of netstat -rn thanks -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SAMBA newbie
On Thu, 10 Mar 2005 18:28:52 + David Larkin [EMAIL PROTECTED] spake thus: I have a FreeBSD 5.3 machine and a Windoze XP box. I am the only user of both. I don't want to share files or act as a full time fileserver. I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup files to the XP box to burn on CD. I used to use anon ftp for this type of thing but found the security a nightmare. I've now installed Samba on the FreeBSD box , but I'm not sure this is a good idea. Can I set up a 'sandbox' directory on my FreeBSD machine where both machines can read and write ? After installing samba and setting the workgroup in smb.conf, i can now see the FREEBSD box in 'view workgroup computers' but clicking on that I am asked for a username/password , which i'm reluctant to give. Any advice ? ___ Hello, If you take a look at the documentation you will find that you have several options, you can encrypt the passwds, you could set up a guest account with no passwd but restrict access to a particular filesystem to think of but two. HTH LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SAMBA newbie
On Thu, 10 Mar 2005 19:19:45 + David Larkin [EMAIL PROTECTED] spake thus: On Thu, 10 Mar 2005 18:59:32 + David Larkin [EMAIL PROTECTED] wrote: On Fri, 11 Mar 2005 02:15:28 +0900 Luke Kearney [EMAIL PROTECTED] wrote: On Thu, 10 Mar 2005 18:28:52 + David Larkin [EMAIL PROTECTED] spake thus: I have a FreeBSD 5.3 machine and a Windoze XP box. I am the only user of both. I don't want to share files or act as a full time fileserver. I simply wish to exchange files ocassionally, e.g. copy FreeBSD backup files to the XP box to burn on CD. I used to use anon ftp for this type of thing but found the security a nightmare. I've now installed Samba on the FreeBSD box , but I'm not sure this is a good idea. Can I set up a 'sandbox' directory on my FreeBSD machine where both machines can read and write ? After installing samba and setting the workgroup in smb.conf, i can now see the FREEBSD box in 'view workgroup computers' but clicking on that I am asked for a username/password , which i'm reluctant to give. Any advice ? ___ Hello, If you take a look at the documentation you will find that you have several options, you can encrypt the passwds, you could set up a guest account with no passwd but restrict access to a particular filesystem to think of but two. HTH LukeK Thanks, I don't want to use any passwords, enrypted or otherwise The guest account sounds interesing. I've commented out the following in smb.conf # This one is useful for people to share files [tmp] comment = Temporary file space path = /tmp read only = no public = yes should this allow everyone on both machines to write to the /tmp directory but not execute anything there ? I still get challenged for a username/password on the XP directory. guest/guest and nobody/nobody both fail OK, I got that to work by changing the line security = user to security = share Is this safe ? I should think that it is not that good an idea to use /tmp unless you have it on it's own partition as otherwise you could potentially allow someone to upload a large file and fill the root partition at which point a few other things might break too. HTH LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Setting hostname - fake and real
On Wed, 9 Mar 2005 08:09:19 + Ben Paley [EMAIL PROTECTED] spake thus: Hello, Is there an easy way to set a fake hostname in rc.conf which will let sendmail send mail to external domains? For ages I've had the line in rc.conf hostname=potato.fake_domain.net (not exactly, but you see what I mean...) and I've had no problems with it at all. Recently I've tried to set up sendmail, only so I can test php or perl scripts that send emails! Sending to localhost works fine, but mail to an external address is returned by the remote domain because it couldn't verify my domain. Very sensible, I could be a spammer. So I edited rc.conf to say hostname=potato.real_domain.net that is, I used the name of a real domain which is registered to me. The domain is hosted on the net, but AFAIK they don't have a machine called potato. Now apache won't start and I get weird errors in other things, like shutting down X even! Can anyone help? Thanks very much, Ben Hello Ben Sounds like you might need some DNS magic here. I am not entirely sure I understand why you would want to use fake dns names. It won't really work properly and if testing scripts that send mail is the goal then a FQDN is probably a good idea. Do you control the DNS for your 'real' domain? If so add your host potato and if possible get a reverse DNS entry to match. For apache and X edit /etc/hosts and put the real information there and your problems should go away. HTH LukeK -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD basic networking
On Tue, 1 Mar 2005 02:24:02 -0800 (PST) rizazoe [EMAIL PROTECTED] spake thus: I'm trying to test FreeBSD Basic networking I've connected my BSDbox to a D-link 624. I'va also connected A WinXP to the Dlink router Both are connected by ethernet cable The trouble is my BSDbox can seem to ping the Winxp but the Winxp can ping my BSD box 192.168.0.1192.168.0.100 Router --- |BSD |--- DLink 624---| Win XP| --- 192.168.0.2 Is it something wrong with my ip address, but aren't they in the same subnet? Do i Have to add ip route or add something to the routed in the FreeBSD box? I' I'm sorry if the question is dumb or annoying but please help can you post the output of the following to assist ? On freebsdifconfig -a On XP from the cmd prompt ipconfig /all thanks -- Luke Kearney [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: how long does it takes you to do a make buildworld
On Mon, 28 Feb 2005 09:23:38 -0500 Kevin A. Pieckiel [EMAIL PROTECTED] spake thus: On Wed, Feb 23, 2005 at 08:05:17PM +, Wouter van Rooij wrote: I'm very curious about how long it took you guys to do a make buildworld. So I thought let's start a topic about it.;-) Between 22 to 26 hours. Pentium classic, 166MHz, 32 MB RAM. When I bumped up the RAM to 48, it cut that down to under a day because it didn't have to swap all the time. I think it was somehwere between 8 and 16 hours then. Oh, on my good system, it takes about 15 mins. Dual P4 3.2 GHz with HT enabled (four virtual procs) 1 GB RAM And I haven't done a recent buildworld on my dual proc Alpha in a while. With 5.3 release on a dual sparc 450 with 1Gb memory it takes about 3 hours give or take. I have a couple of dual PIII 1Ghz and they take between 30 to 50 mins. On a PII 333Mhz about 5hrs. Learnt early on never to try and do it on a tight schedule ;-) HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: USB Printer setup Help
On Tue, 1 Mar 2005 10:50:22 +1000 Warren [EMAIL PROTECTED] spake thus: Could someone direct me to a website where i might be able to setup my new USB Printer so it prints from my BSD box direct plz. -- Yours Sincerely Shinjii http://www.shinji.nq.nu google for Linux printing. You should get a site which has good coverage of setting up CUPS and LPR. If you go to the Linux printing site first you may be able to get a complete PPD for the printer which will help. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: login screen on 5.3
On Tue, 23 Nov 2004 16:05:20 -0700 glen disley [EMAIL PROTECTED] spake thus: I just installed Freebsd5.3. After a long compile process and a few tweeks of Xorg I was able to get a kdm screen prompt. There are only 2 users on the system, one bing root and the other me (Glen). What I don't understand is why on the kdm login screen I see Charlieroot as administrators and Glen as a user. I'm semi familiar with Linux and my root login is only root no other names. No one else has access to the computer other then me and I set it up behind a SMC router with a built in firewall #cat /etc/passwd root:*:0:0:Charlie :/root:/bin/csh SNIP you will find as you go along that when you add users you are asked for the users full name. At some point someone decided that the root users name was charlie. If you have email set up properly now you might have noticed an email from charlie root which is your daily run report. You could change this by editing the passwd file and giving root the name of your choice but unless it bothers you there is little point to it. It is unlikely that you have been attacked if this is the only symptom. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mac Address Spoofing(!)
On , 2004-11-07 at 06:58, eddie dandrades wrote: Hello guys, I've set out to spoof my gateway's mac address so that I can get a new ip address from my cable ISP without having to unplug my modem for 24 hours as they suggested (and is understandable, thats how long their DHCP lease last). I've tried several things, one of which is following the instructions here http://ezine.daemonnews.org/200406/netgraph.html - I also tried doing: ifconfig xl0 hw ether 00:00:00:00:00 to no avail. I'm just wondering if anyone on this list knows of a way to do it successfully or can provide me with a link to some useful documentation. Thanks guys! gabriel Just a thought but many around me have broadband modems from their ISP's and they faced the same problem you describe and their ISP told them to disconnect for 2 to 3 hrs but that is hardly workable. The solution was to reboot the modem. The modem cached the MAC address on the client side not the ISP's DHCP server. Would that work better in your situation rather than trying to spoof MAC addresses ? HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: WiFi 802.11b or g setup
On Mon, 01 Nov 2004 11:31:13 -0700 Lloyd Hayes [EMAIL PROTECTED] spake thus: Somehow or someway, my approach to this problem is completely wrong. Using the various network connection programs, all respond that there is no network connector attached. I put FBSD (for a day) on this box a couple of months ago. The light on the PCMCIA WiFi card did come on then. (Linksys card.) But a network scan still said that there was no network connector attached or present. This time, the light doesn't even come on. I'm beginning to think that the SSH program is a problem source. But I'm am also sure that I am approaching this wrong and need some direction. (I've tried all of the options in the sysinstall network menu.) (100% of my Internet connection is through WiFi services. I travel all year long. When I sometimes go home to Wyoming, my cell phone normally doesn't work there. No phone lines. A wind generator and a gas generator for electricity. Snow gets over 10 feet deep during a normal winter. Travel in the winter is by snowmobile. Antelope, moose, and elk get in my way during the day and wake me up in the night. Usually I don't want to leave there...) Lloyd Hayes Email: [EMAIL PROTECTED] URL: http://TalkingStaff.bravehost.com E-FAX Number: (208) 248-6590 Dick Davies wrote: * Lloyd Hayes [EMAIL PROTECTED] [1057 19:57]: I have several wifi modems. I've read where the Linksys 802.11b seems the most compatable with UNIX type systems. I bought this one recently. I also have the US Robodics 802.11g, Netware 802.11b, and a generic wavelan 802.11b PCMCIA card. I have yet to get any of these to work under a UNIX type system. Obviously there is something here that I don't understand. Anyone have some step-by-step instuctions for this idiot? What have you tried, and what didn't work? It's generally advised not to top post. The first step you have to take is to establish what chipset the wireless card(s) you have are using. From there you can go on to work out the driver and the steps from that point are well published. I believe the prism and orrinoco chipsets are well supported but unfortunately not all board makers use them. For 802.11g it seems to me the best bet is to upgrade to 5.x and make use of cards with the Atheros chipset which appears to be natively supported by FBSD. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ftp mput
On Tue, 26 Oct 2004 09:42:38 +0200 Gert Cuykens [EMAIL PROTECTED] spake thus: when i use the ftp comando mput it displays the file i want to put followed by some options [aq?...] where can i find on the freebsd.org site what does options mean ? the system has an inbuilt manual try something like man ftp or google for it. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
BSD Wireless
Hi List, I am looking to purchase a wireless PCI card for a new machine here at my home. I was wondering if anyone can share sucess or horror stories about the Elecom range of products. I am wanting to use one machine as the access point and one machine as the client. I wasn't planing to deploy a hardware access point though if the consensus is that a hardware access point is the better way to go I could certainly start looking at this. Thanks -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BSD Wireless
On Fri, 22 Oct 2004 22:08:05 -0500 Chris [EMAIL PROTECTED] spake thus: On Friday 22 October 2004 10:03 pm, Andrew L. Gould wrote: On Friday 22 October 2004 08:21 pm, Chris wrote: On Friday 22 October 2004 08:17 pm, Luke Kearney wrote: Hi List, I am looking to purchase a wireless PCI card for a new machine here at my home. I was wondering if anyone can share sucess or horror stories about the Elecom range of products. I am wanting to use one machine as the access point and one machine as the client. I wasn't planing to deploy a hardware access point though if the consensus is that a hardware access point is the better way to go I could certainly start looking at this. Thanks Just read what hardware is supported to date, buy it, then you can't go wrong. Pretty easy, aye? Sadly, no. Vendor's have changed chipsets without changing model numbers or documenting the chipsets used on retail boxes. Further, many of the pci cards that are documented as being compatible with FreeBSD are no longer easy to find. The advantages of a hardware access point include: 1. Access and firewall configuration are done easily via a web browser. 2. They are OS-neutral. For anyone running FreeBSD 5* who needs a new wireless card (pci or pccard), I would suggest looking at the D-Link products that use the Atheros chipset. D-Link is displaying the Atheros logo on the retail boxes, which lowers the risk of a bad purchasing decision. (I'm not an advocate for D-Link or Atheros; but I am in favor of more useful information on retail boxes.) I prefer NetGear - woiks well for me... The whole plan is a bit more complicated by the fact that much of the _known to be supported_ hardware is not available in Japan or sold under different model numbers. One end of the link will be FBSD the other a linux machine so two cards are needed and these must be supported by the respective OS'es. After googling for hours on this the only common thread I can get is that these orinoco or prism chipsets seem to be well supported but there is very little information on the vendors websites to indicate which product uses which chipset. The other thread was that the atheros chipset seemed to be well regarded but before heading off to buy some kit I was *hoping* to hear from someone else on list who has used the elecom cards (specifically the LD-WL5411A/B ) or anything else based on the AR5001X+ chipset and had success with it. Thanks LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Default router in a PPP conection was: [Re:]
On Mon, 18 Oct 2004 23:24:04 -0700 Martin Paredes [EMAIL PROTECTED] spake thus: On Saturday 16 October 2004 08:29, Ming Zhang wrote: I want to know how to set the Default Gateway to be the pppoe server's ip. Or it's impossible? add default HISADDR Another way to do this if for some reason you can't set the default GW using this syntax is to insert a little script in rc.local that sets the default gateway to tun0. This worked well for me. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: parts of ports
On Wed, 01 Sep 2004 16:55:35 +0200 B.Hansson [EMAIL PROTECTED] spake thus: messmate skrev: Hi, is there a way to install only parts of the ports tree to set them up ? The ports tree takes 237M up :( Yes. tar -zxvf ports.tar.gz path/to/port/you/want/to/install That's how I did it. See to it that you have Mk, Templates and such directorys in your /usr/ports dir. Have only 600M hd space available included swap. The purpose is to setup a firewall/router/proxy VERY secured :) m! Thanks in advance for your help. mess-mate There are some who might argue reasonably that the machine is more secure without the power of the ports collection installed. Possible work arounds might include hosting the ports collection on a different server and mounting via nfs when you want to use them then unmounting. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: setup firewall/router/proxy
On Wed, 1 Sep 2004 17:08:04 +0200 messmate [EMAIL PROTECTED] spake thus: Hi, What are the best firewall - routing and proxy packages for FreeBSD ? Have only experience with debian/proxy/masquerading/iptables. Thansks in advance for the help. mess-mate Google is your best pal. Try googling for FreeBSD gateway router/firewall and combinations of the above. You'll get more howto's and pages of advice than you'll ever need. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: opiekeys and IMAP
On Tue, 31 Aug 2004 08:38:46 -0700 Chris [EMAIL PROTECTED] spake thus: Hi all, Having trouble with security features, I think, that I can't seem to resolve. I have a fresh install of 4.10 from FTP and am trying to set up Cyrus IMAP with Squirrelmail front end. I was following the guide at http://www.cse.ucsc.edu/~venkat/tutorial1.html, more for reference to FreeBSD as I've completed this mail setup on Linux a couple of times ( I admit I could have been lucky :P ). So, anyway, I get things installed and configured as I have before and test my IMAP as the 'cyrus' user and that all works. But when I try to log into the 'cyradm' utility to create mailboxes, I get this: %cyradm localhost Password: passwordenter Segmentation fault % with these log entries: (This is when I first start the 'cyradm localhost') Aug 30 16:47:40 vzwmail imapd[13037]: OTP unavailable because can't read/write key database /etc/opiekeys: Permission denied Looks like the user that is running cyradm does not have permission to open it's user db. (and then when I enter my password:) Aug 31 08:13:44 vzwmail imapd[14121]: Could not open db Aug 31 08:13:44 vzwmail imapd[14121]: Could not open db Again here the log seems to suggest that the user - possibly cyradm could not open the user db Aug 31 08:13:44 vzwmail imapd[14121]: no secret in database Aug 31 08:13:44 vzwmail imapd[14121]: badlogin: localhost[::1] DIGEST-MD5 [SASL(-13): user not found: no secret in database] Aug 31 08:13:47 vzwmail /kernel: pid 14120 (perl), uid 60: exited on signal 11 Here are the /etc/opie* Permissions: -rw--- 1 root wheel 466 Aug 30 16:27 opieaccess -rw-r--r-- 1 root wheel 200 Aug 30 16:33 opiekeys If this is where the information is kept then perhaps you would either need to change the permissions here or run your imap program as root which is probably not the optimal setup. I do have some keys made with 'opiepasswd' (I hope I did it right): #cat opiekeys cyrus 0499 vz8252 ff3435334004cd3e Aug 30,2004 16:30:23 #cat opieaccess permit 172.16.0.0 255.255.0.0 (my internal network) Only thing I changed in my imapd.conf was this from install (it was auxprop): sasl_pwcheck_method: saslauthd and I made a passwd for the cyrus user also using saslpasswd2 program I hope this mess all makes sense :) I don't know what to do at this point. I don't understand this opeykeys things very well at all. Any assistance is greatly appreciated! Thanks! Chris Check the permissions out and see what happens. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X configuration problem
On Tue, 17 Aug 2004 01:31:30 -0700 Jay O'Brien [EMAIL PROTECTED] spake thus: Initial 4.10 installation. Trying to configure XFree86. from /stand/sysinstall, select Configure | XFree86. I THINK I've tried every possible combination. I couldn't use the Fully graphical XFree86 configuration tool as the graphic was partially off-screen and the monitor was out of range. I used the textmode tool and the shell- script tool, settling on the shell-script tool. After agreeing that it should write /etc/X11/XF86, and selecting a desktop to use, many different attempts all result in this error: Error mounting /dev/acd0c on /dist: Input/output error (5) And the next screen is: An error occurred while adding the package(s) required by this desktop type. Please change installation media and/or select a different, perhaps simpler, desktop environment and try again. I don't find a /etc/X11/ directory, much less a XF86 file. Video card is ati XPERT 98, monitor is 1280x1024 LCD. A suggestion for what to try next? Jay O'Brien Rio Linda, CA USA Yes, download and burn yourself another install disk or change the media source in the install screen and then make it download the sources from the internet. Sounds like you've got bad media rather than a config that can't be done. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NFS Problem
On Mon, 26 Jul 2004 23:33:36 -0500 V.Nair [EMAIL PROTECTED] spake thus: Hello all, I am running FreeBSD 5.2.1 and am having problems with NFS. I have an NFS server that is also running 5.2.1. The client is able to mount the NFS export and I am able to get a directory listing. However, I am unable to write to the NFS mount from the client, even as root. This is what my relevant /etc/fstab line looks like: taffy:/media /media nfs rw 0 0 Any suggestion would be appreciated. VN have users been mapped to a user on the nfs server itself ? ie: -maproot=UID HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 'su' problem
On Fri, 16 Jul 2004 00:44:20 -0500 Miguel Cardenas [EMAIL PROTECTED] spake thus: Hello list... When I try to run 'su' it does not run and returns a message: su: Sorry. and returns to the shell prompt... I guess it is 'cos some kind of permission... just read the 'su' manpage and it tells about a /etc/pam.conf but the file is not present... should I create it by hand? or there is an utility to add users or something like? Thanx! Is your user a member of the wheel group? HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: gateway questions
On Mon, 12 Jul 2004 07:22:46 + Brett Wiggins [EMAIL PROTECTED] spake thus: Hi all, I have set up an internet gateway for my home network and have run into some problems. I got the gateway workibng by adding the following to my /etc/rc.conf. ipfilter_enable=YES ipnat_enable=YES gateway_enable=YES I can ping the gateway and internet from machines on the home network but I cant browse web pages or use ftp etc. Am I missing something from my config files or do I need to run another program to provide internet services to my network? Brett Hi Brett, To get the best advice you'll need to be a bit more specific with your actually configuration. Can you post your ipnat.conf / ipf.conf and the output of the following: ifconfig -a / netstat -rn HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: How to install GIMP
On Mon, 12 Jul 2004 08:43:18 +0100 Oryx [EMAIL PROTECTED] spake thus: Hi, i'm just wondering how I could install gimp onto my box, I have the package stuff but I don't know how to install it via console (i'm new to freebsd by the way) hope you can help me =) -- - Oryx Hi, As root do cd /usr/ports/graphics/gimp make install that should be just about it I should think. Might be worth reading the handbook's section on ports and also how to cvsup to the latest ports version details are at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/index.html HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound Blaster Live
On Mon, 12 Jul 2004 23:07:32 -0300 Javier Ramirez [EMAIL PROTECTED] spake thus: Hi, I have a problem I have the sound blaster live, and in other system found When I initialize in freeBSD show me this: Sound server informational message: Error while initializing the sound driver: device /dev/dsp can't be opened (No such file or directory) The sound server will continue, using the null output device. and the sound not fount Hi, Have you compiled sound drivers into the kernel? I have the same card and after adding devicepcm to my kernel and creating the devices it works like a charm. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Sound Blaster Live
On Mon, 12 Jul 2004 23:58:22 -0300 Javier Ramirez [EMAIL PROTECTED] spake thus: there is no another way??? no exist module for this card?? On Mon, 2004-07-12 at 23:28, Luke Kearney wrote: On Mon, 12 Jul 2004 23:07:32 -0300 Javier Ramirez [EMAIL PROTECTED] spake thus: Hi, I have a problem I have the sound blaster live, and in other system found When I initialize in freeBSD show me this: Sound server informational message: Error while initializing the sound driver: device /dev/dsp can't be opened (No such file or directory) The sound server will continue, using the null output device. and the sound not fount Hi, Have you compiled sound drivers into the kernel? I have the same card and after adding devicepcm to my kernel and creating the devices it works like a charm. Umm none that I know of but your asking in the right place. Recompiling the kernel is really not too difficult albeit time consuming if you machine is slow. The handbook can walk you through this, I followed the handbook as a newbie and it was very straightforward. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD wireless difficulty
On Sat, 10 Jul 2004 06:34:55 -0500 Douglas Korinke [EMAIL PROTECTED] Did sit in front o' the 'puter and offer us these pearls of wisdom: Hello, I had been having difficulty recently with getting my fbsd 4.9 machine to connect to my linksys home wireless router and because of the problem, had to upgrade to fbsd 5.2.1 and noticed more activity out of my wireless card. The computer is a Toshiba Satellite 2405-S221 with a Avaya Wireless PCMCIA card using the wi drivers to run it. I'm able to associate with the router at home and am able to ping it without a problem but I can not browse webpages and the like. I also have bsd-airtools installed and have used dstumbler, the only problem being is that the program doesn't see my wireless card. Any tips or suggestions? Doug Just at a glance is the router actually preforming NAT for you ? Are you getting an IP address via DHCP or static? If you use the dstumbler command can you see your own WLAN? First pass on your mail suggests that maybe you can connect to the network but cannot get out of it. Personally I use dstumbler to get the network associated then I need to config by hand and add a default route. I use fixed dns servers so that is never an issue but perhaps your situation is different. Can you talk me a bit through the steps you take to be able to ping your wireless router? HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: internet gateway
On Mon, 05 Jul 2004 10:40:58 + Brett Wiggins [EMAIL PROTECTED] spake thus: Hi, I am having some problems setting up an internet gateway for my home network. My gateway machine has two network cards, one connected to my ADSL modem and the other to a switch and my internal network. My gateway machine (FreeBSD) can connect to the internet and it can ping machines on my local network. Machines on my local network run windows. ISP | | ADSL MODEM | | FREEBSD |- MACHINE A MACHINE | | | |---SWITCH--|- MACHINE B | | |- MACHINE C So Far I have recompiled my kernel with the following options added; options IPFIREWALL options IPDIVERT options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=50 options TCP_DROP_SYNFIN I then edited /etc/rc.conf gateway_enable=YES firewall_enable=YES firewall_script=/etc/rc.firewall firewall_type=OPEN firewall_quiet=NO ppp_enable=YES ppp_mode=ddial ppp_nat=YES ppp_profile=netspace ifconfig_rl0=inet 10.0.0.1 Then I edited ppp.conf with the following; nat enable yes nat log yes nat same_ports yes nat unregistered_only yes enable dns That is where I got up to now i'm stuck and don't know what to do next. Any help with this would be great. Brett G'day, http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html http://www.neon1.net/misc/firewall.html I'm afraid I don't know a great deal about using IPFW but it seems to me that ppp.conf is probably not the place to put your NATD rules. man natd gives some good advice on setting this up. I included some links that show how to use IPF and IPNAT to accomplish the task your working on. I personally found them easy enough to read and follow however I am confident that if you google a bit more you will find equally good documentation that focuses on IPFW. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Reading regular DVD's
On Wed, 30 Jun 2004 23:15:33 -0700 SmartServ Hosting [EMAIL PROTECTED] spake thus: dmesg | grep acd acd0: DVDR HL-DT-ST DVDRAM GSA-4082B at ata1-master UDMA33 FreeBSD 5.2-CURRENT When I insert a DVD movie /dev/acd0c doesn't register therefore I cannot use mplayer or anything to view the DVD. forgive the silly question but did you mount the drive? Is the drive readable by your user or are you doing this as root? HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which book should I start?
On Tue, 29 Jun 2004 18:33:50 -0400 Rajamani, Rajarajan (Rajarajan) [EMAIL PROTECTED] spake thus: Hi, I am new to Bsd. I did a lot of research on the net which book should I start with. I got two of them. I can not deside which one should I start. Here are my books:: - The Complet FreeBSD. 4th Edition From O'Reilly, Greg Lehey. - Absolute BSD The ultimate guide to FreeBSD. From Michael Lucas. Thank you for all the advise. Laszlo I would start with Greg's book. I found it invaluable when I was first learning FreeBSD (still use it occasionally). As for buying FreeBSD-5, you can upgrade for free. That's also covered in Greg's book. Above all, the handbook and man are your friends. just my $.02, Beech I have Greg's book and I second Beech's mail as I too found it very invaluable when I installed freeBSD the first time. RR Seems to me that it depends a great deal on which writer you find easiest to follow. If you want a sample of Michael Lucas' style go to Big Scary Daemons on the O'Reilly website. ( www.onlamp.com/bsd). I have Greg's book and it has safely guided me through all the basics. I still refer to it from time to time. Michael's material on the web is also easy to read. If you can afford it I'd get both. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: next question re the Thinkpad.
On Sat, 26 Jun 2004 22:24:47 -0700 Gary Kline [EMAIL PROTECTED] granted us these pearls of wisdom: Is anybody using a Thinkpad among the list? I have found one with the ``SMC 2206 compact USB-Ethernet adapter for connecting to ethernet networks.'' In LINT (4.10) I see SMC 2202USB listed. Can anybody help me? gary I have Thinkpad X30 which runs 4.9-p10 currently and I have had no real issues in setting it up. Mine has inbuilt NIC's though and there were no issues at all in recognising the ethernet or wireless NIC. X was really easy to setup and it's been really reliable since day1. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: File tree replication in FreeBSD
On Sun, 27 Jun 2004 13:48:07 +0400 Kentucky Mandeloid Mo. [EMAIL PROTECTED] spake thus: I'm looking for file replication solution for FreeBSD. I have a task to replicate about 11G of files with 500k total files count. I say replication not mirroring i.e. I need to copy modified files to slaves almost imidiately after the change. Tried to find some ready solution but fails. There is FAM from SGI but it fails to work properly on FreeBSD (it makes silly stat(2) calls). kevent(2) also don't have anough API to watch = 500k files. So I see the only way is to have kernel module that watch kernel calls for file operations. So is there some other points to build a file replication? Can I suggest you investigate rsync ? It will allow you to replicate file trees pretty much on demand across a LAN or indeed the internet should you choose to. Works over SSH so it's nice and secure and if you need virtually instant replication you could conceivably run this from a cron job every N minutes. /usr/ports/net/rsync HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Error doing 'make buildworld'
On Tue, 22 Jun 2004 12:15:15 +0200 LEFEVRE S饕astien [EMAIL PROTECTED] spake thus: Bonjour, J誕i une erreur lorsque je fais un ォ make buildworld サ, que faire ??? mkdep -f .depend -a-DHAVE_CONFIG_H -I/usr/src/gnu/usr.bin/groff/src/utils/tfmtodit/../../../../../../contrib/gr off/src/include -I/usr/src/gnu/usr.bin/groff/src/utils/tfmtodit/../../../src/include -D__FBSDID=__RCSID /usr/src/gnu/usr.bin/groff/src/utils/tfmtodit/../../../../../../contrib/grof f/src/utils/tfmtodit/tfmtodit.cpp echo tfmtodit: /usr/lib/libc.a /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/groff/src/utils/tfmtodit/../../../ src/libs/libgroff/libgroff.a /usr/lib/libm.a .depend echo tfmtodit: /usr/lib/libstdc++.a .depend === gnu/usr.bin/groff/tmac === gnu/usr.bin/groff/contrib === gnu/usr.bin/groff/contrib/mm === gnu/usr.bin/groff/doc === gnu/usr.bin/groff/font === gnu/usr.bin/groff/font/devX100 === gnu/usr.bin/groff/font/devX100-12 === gnu/usr.bin/groff/font/devX75 === gnu/usr.bin/groff/font/devX75-12 === gnu/usr.bin/groff/font/devascii Making R Making I Making B Making BI Making S Making L Making CW Making DESC === gnu/usr.bin/groff/font/devcp1047 Making R Making I Making B Making BI Making S Making L Making CW Making DESC === gnu/usr.bin/groff/font/devdvi cat /usr/src/gnu/usr.bin/groff/font/devdvi/../../../../../contrib/groff/font/dev dvi/DESC.in DESC cat: not found *** Error code 127 Stop in /usr/src/gnu/usr.bin/groff/font/devdvi. *** Error code 1 Stop in /usr/src/gnu/usr.bin/groff/font. *** Error code 1 Stop in /usr/src/gnu/usr.bin/groff. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Merci d誕vance, S饕astien Isn't this an english list? I'd be happy to try and help if I understood the question -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: missing libintl.so.5 ??
On Sat, 19 Jun 2004 22:01:55 -0400 Edward Carmody [EMAIL PROTECTED] spake thus: Hi, I've apparently botched a portupgrade (I think?)...when installing Apache2, I get the following: = [EMAIL PROTECTED] /usr/ports/www/apache2] # make install === apache-2.0.49_1 depends on file: /usr/local/bin/perl5.6.1 - found === apache-2.0.49_1 depends on file: /usr/local/bin/autoconf257 - not found ===Verifying install for /usr/local/bin/autoconf257 in /usr/ports/devel/autoconf257 === Building for autoconf-2.57_1 /libexec/ld-elf.so.1: Shared object libintl.so.5 not found *** Error code 1 Stop in /usr/ports/devel/autoconf257. *** Error code 1 Stop in /usr/ports/www/apache2. = I've googled, and tried upgrading gettext, I still don't have libintl.so.5 on my system: = [EMAIL PROTECTED] /usr/ports/www/apache2] # find / -name libintl* /usr/local/lib/libintl.so.6 /usr/local/lib/libintl.so /usr/local/lib/libintl.a /usr/local/include/libintl.h /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/libintl.gl ibc /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/.libs/libi ntl.so.6 /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/.libs/libi ntl.so /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/.libs/libi ntl.a /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/.libs/libi ntl.lai /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/.libs/libi ntl.la /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/libintl.la /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-runtime/intl/libintl.h /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-tools/intl/.libs/libint l.so.6 /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-tools/intl/.libs/libint l.so /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-tools/intl/.libs/libint l.a /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-tools/intl/.libs/libint l.lai /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-tools/intl/.libs/libint l.la /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-tools/intl/libintl.la /usr/ports/devel/gettext/work/gettext-0.13.1/gettext-tools/intl/libintl.h [EMAIL PROTECTED] /usr/ports/www/apache2] # = I've seen the same complaint about libintl.so.5 while trying to install other ports; I don't know where to go from here. Any help is greatly appreciated. you'll need to upgrade gettext and recursively at that too. umm portupgrade -uR gettext will probably fix your ails. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ImageMagick
Hi, I am trying to install IM from the ports collection and have come across this showstopper. src/contrib.mak:8684: warning: ignoring old commands for target `obj/stp.dev' src/gnudevs.mak:84: warning: overriding commands for target `obj/gdevstp.o' src/contrib.mak:8688: warning: ignoring old commands for target `obj/gdevstp.o' src/gnudevs.mak:94: warning: overriding commands for target `obj/cdj670.dev' src/contrib.mak:8310: warning: ignoring old commands for target `obj/cdj670.dev' src/gnudevs.mak:99: warning: overriding commands for target `obj/cdj850.dev' src/contrib.mak:8313: warning: ignoring old commands for target `obj/cdj850.dev' src/gnudevs.mak:104: warning: overriding commands for target `obj/cdj890.dev' src/contrib.mak:8319: warning: ignoring old commands for target `obj/cdj890.dev' src/gnudevs.mak:109: warning: overriding commands for target `obj/cdj1600.dev' src/contrib.mak:8322: warning: ignoring old commands for target `obj/cdj1600.dev' src/gnudevs.mak:113: warning: overriding commands for target `obj/gdevcd8.o' src/contrib.mak:8326: warning: ignoring old commands for target `obj/gdevcd8.o' src/gnudevs.mak:125: warning: overriding commands for target `obj/cdj880.dev' src/contrib.mak:8316: warning: ignoring old commands for target `obj/cdj880.dev' ./obj/genconf ./obj/devs.tr -h ./obj/gconfxx.h -p %ss -pl -l%ss -pL -L%ss -ol ./obj/ld.tr Can't read ./obj/lvga256.dev. gmake: *** [obj/ld.tr] Error 1 *** Error code 2 So as far as I can tell having run locate.updatedb the referenced file it's complaining about doesn't exist. Can anyone point me in the right direction to get this installed? I have in the past installed this program from ports and had no issues. Thanks in Advance LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DHCP: keep a lease forever?
On Wed, 16 Jun 2004 00:02:32 -0700 (PDT) Dave [EMAIL PROTECTED] spake thus: I got a simple problem. My local IP addresses keep changing (didn't have this problem before until a firmware update), and I don't want them to. I got these spammy winboxes that greedily race for to steal my FreeBSD's lease. I'm using a simple 4-port linksys router here. It's configuration is about useless. Let's say I wanted to be 192.168.1.170 for argument's sake. I turn everything off (router + computers). Set my 'starting IP' to 170. Fire the FreeBSD machine up first, let it get 170. Then I turn the dumb winboxes on, and who cares what they have they arn't important. Like a couple of days later, I'll type ifconfig and suddely I got 172 on my FreeBSD box (192.168.1.172) instead of 170. I could turn DHCP off, but then my dhclient takes really really really long to find the network (but it does find it, eventually). How can I setup a more static system here without the long wait for dhclient? Anything in dhclient.conf I can put in there? I want to disable dhcp, but I need to figure out how to efficiently get the connection going on, and basically, I havn't owned FreeBSD in the pre-dhcp era, so I wouldn't know how. I would think that the best way to do this would be to add a static IP to your rc.conf file. It's pretty simple edit rc.conf and change the line which says ifconfig_yourinterface0=inet 192.168.1.1 netmask 255.255.255.0 changing the address to suit your situation. It might then also help if you alter the DHCP servers address range so that you don't accidentally get conflicts. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Frontpage and jails and possible alternatives
On Thu, 10 Jun 2004 10:38:18 -0400 Bill Moran [EMAIL PROTECTED] granted us these pearls of wisdom: I just learned that if you run Apache+Frontpage, you can't teach Apache to only listen on a single IP address. For some reason, Frontpage causes Apache to always bind to all IP addresses. Somehow, this stupidity doesn't really surprise me too much. The reason I wanted to do this is because I have a machine I want to set jails up on, so I can run multiple instances of Apache. But I didn't want to mess with the existing Apache installation right now. Anyway ... in the long run I've got two choices: 1) Get Apache+Frontpage running in a jail so it will quit fscking up the other stuff I'm trying to do on this machine 2) Find some alternative to frontpage to provide frontpage services that behaves like a proper server. My questions are (respectively): 1) Does anyone have Apache+Frontpage successfully running in a jail? I just thought I'd ask before I spent (wasted?) a lot of time trying to make it work. 2) Can anyone suggest an alternative to Apache+Frontpage? I prefer scp myself (and there are even spiffy GUI scp clients for Windows) but many of these clients _insist_ on using Frontpage, so I _must_ continue to cater to them. TIA for any answers. Sorry if this is off track but one wonders if you need to have clients upload to a production box with FP. Can you set up a staging server so that clients can upload and view content then give them a simple admin page where they can push a button that sets off an rsync script to the production box. Your production machine could have all kinds of jails and fancy stuff but no FP extentions. Any old piece of junk could be pressed into service as a staging box. At least that way you could do away with FP on the production box and apache could be jailed for life. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Wisdom of automating upgrades
On Tue, 8 Jun 2004 23:02:31 +0800 (CST) Stephen Liu [EMAIL PROTECTED] spake thus: Hi folks, This is an interesting topic. On Tue, 8 Jun 2004, Peter Risdon wrote: The main cost of having computers for most companies lies not in software or hardware, but in support. I have been pondering the wisdom of automating the upgrade process, so that sources are cvsup'ed nightly and make buildworld buildkernel etc and portupgrade happen overnight maybe once a week or month - and perhaps every day a security fix is announced. Windows and Mac users are accustomed to automatic software updates on server products as well as desktops, so there is a competitive issue here. I've persuaded a number of companies to switch to FreeBSD and want to ensure the commercial logic of doing so is as complete as possible. cvsup'ing overnight is routine and fine. The make build/install stuff seems a bit more delicate. I'm happy that I have figured out how to automate this, but not _whether_ I should do so. I am of course only considering tracking RELENG_4 at this stage. Ports are perhaps more likely to be problematic (though less likely to be a blocker to remote fixing than a failure to boot). Having said that, deprecation of versions and ports is fairly rare and keeping track of a small group in common use is feasible. I'd be grateful for any input on this. I can picture waking up to find that every machine I administrate is simultaneously *#!$%ed one morning. On the other hand, I like to provide the best value I can for clients and at the moment I have to charge for my time whenever an upgrade is necessary. You may want to have a look at freebsd-update. Its a binary updater, Client/Server config, the server code and info on what it is, is available from http://www.daemonology.net/freebsd-update/ and the client is in ports. Is there a way updating all installed ports automatically wheneven the server/workstation is booted and connected to Internet, similar to ntp synchronizing the clock. B.R. Stephen Liu in theory it should be possible to write a script that runs portupgrade and then run it once at boot time from cron but I have never done it personally. I can see some potential for disaster if it is not done with extreme care. LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fxp0: device timeout with thinkpad r40
On Tue, 8 Jun 2004 17:45:09 +0200 [EMAIL PROTECTED] spake thus: Hey I've found some documented problems with this on google but nothing that really helped me. I have an IBM Thinkpad R40 and finding chipset information for it all the docs say that it's an Ethernet Driver(ya i know) so the best i've got is that it's intergrated into the motherboard. I even have the pdf manual with all hardware specs and all it says is the following: GAU: Intel PRO/Wireless Network Connection 802.11b, 56K14 modem, 10/100 Ethernet, BluetoothTM,15 G3U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in antenna)GDU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet BAU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet BSU: Cisco 802.11b, 56K modem, 10/100 Ethernet B4U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in antenna) 5TU: Cisco 802.11b, 56K modem, 10/100 Ethernet 58U, 5JU, F2U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in antenna) 2QU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet 47U, 24U, 22U, 2JU: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in antenna) 6LU, 3LU: IBM 11a/b Wi-Fi wireless, 56K modem, 10/100 Ethernet 2FU: Intel PRO/Wireless Network Connection 802.11b, 56K modem, 10/100 Ethernet 2SU: Cisco 802.11b, 56K modem, 10/100 Ethernet 27U, 26U: 56K modem, 10/100 Ethernet (Wi-Fi wireless upgradable with built-in antenna) ...which is weird because it also talks a lot about the wlan card which might be causing all of this. Well basically i need some help from someone who got freebsd working on a similar laptop and i would really appriciate it. I have an IBM X30 which has an onboard wireless and onboard ethernet interface. It was no drama to setup at all however I do get device timeouts on the wireless NIC from time to time. Often when trying to cp large files via NFS. What does dmesg tell you about the wlan NIC? HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems mounting my cdrom drive
On Sat, 05 Jun 2004 02:03:29 -0400 Bruce Hunter [EMAIL PROTECTED] spake thus: On Sat, 2004-06-05 at 01:52, Jorge Mario G. wrote: check for /dev/acd0 anyway do it the easy way: #mount /cdrom or trya acd0a Jorge i tried #mount /cdrom and #mount /dev/acd0 nothing worked i get this error cd9660: /dev/acd0: Invalid argument Any other ideas? Bruce From memory mount /cdrom should work just find but what is in your fstab ? do you have a line that refers to your cd rom drive? If not try something like mount /dev/acd0 /mnt as root. Unless you have previously changed the permissions trying to mount anything as a user other than root will not work spectacularly well. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Access Windows share from FreeBSD
On Wed, 2 Jun 2004 10:37:53 -0500 Dustin [EMAIL PROTECTED] spake thus: I'm trying to get access to a shared folder on my XP machine from FreeBSD 4.8. I can ping, but when I run the following: mount_smbfs -I samba.mydomain.com //[EMAIL PROTECTED]/public /smb/public I get the following error: mount_smbfs: vfsload(smbfs): Operation not permitted Any help? ~Dustin try running the cmd as root LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: DNS usage question
On Tue, 1 Jun 2004 02:31:20 -0500 Jay Moore [EMAIL PROTECTED] spake thus: I'm running sendmail on my 5.2.1 system, and have a number of DNSBLs set up in my sendmail configuration. I am not currently running BIND (or any other nameserver), and therefore have configured my system to use one of my ISP's DNS servers. I've noticed that each attempted connection to my mail server now generates a flurry of DNS requests from my mail server to my ISP's DNS server. I'd like to streamline this process, but I don't really want to take on DNS administration. I've heard about caching DNS servers, and tiny DNS, and I wondered if they might suit my needs. Comments, or recommendations?? Thanks, Jay Running bind as a caching only nameserver is pretty trivial and fairly fool proof. Lots of good docs on the web and should only take a few minutes to get configured. Have not had any experience with TinyDNS so can't comment on that one. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ethernet card not coming up on reboot
On Tue, 25 May 2004 20:00:12 -1000 [EMAIL PROTECTED] spake thus: Aloha Eric and Luke I am aware that sysinstall will append to rc.conf. I went ahead and deleted all of the appends and rebooted. The ethernet did not come up on reboot. I had to use sysinstall to get an ip. And yes, it did append to rc.conf again. I will look into setting a static ip but I would like to know why this is happening. I have 3 other boxes that have FreeBSD on them and they don't have this problem. Robert - Original Message - From: Eric Crist [EMAIL PROTECTED] Date: Tuesday, May 25, 2004 7:30 pm Subject: RE: ethernet card not coming up on reboot I have also noticed this issue, but if I have only once instance of theentry in rc.conf, everything works fine. Why not statically define the IP, though? That would be the best situation, IMHO. HTH Eric F Crist President AdTech Integrated Systems, Inc (612) 998-3588 -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Luke Kearney Sent: Tuesday, May 25, 2004 11:42 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: ethernet card not coming up on reboot On Tue, 25 May 2004 17:58:04 -1000 [EMAIL PROTECTED] spake thus: Aloha I have a little annoyance on one of my boxes. The box has an Asus P4P800 mobo with a 2.6GHz P4 and 1GB of DDR-400 Ram. I have FreeBSD 5.2-RC1 loaded on a 120Gig SATA Hard disk. My ouput of uname -a: p4# uname -a FreeBSD p4.hawaii.rr.com 5.2-RC1 FreeBSD 5.2-RC1 #0: Sun Dec 7 22:15:14 GMT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 The mobo has an onboard 3COM 3C940 Gbit LAN controller. This device is recognised during boot as sk0 and uses the SysKonnectPCI driver. The problem is that after a reboot a DHCP address is not assigned to sk0. Here is ifconfig -a after a reboot. p4# ifconfig -a sk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20c:6eff:fe91:dea6%sk0 prefixlen 64 scopeid 0x1 ether 00:0c:6e:91:de:a6 media: Ethernet autoselect (100baseTX full-duplex,flag0,flag1) status: active 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 Here is the output of resolv.conf and rc.conf p4# cat /etc/resolv.conf search hawaii.rr.com nameserver 24.25.227.66 nameserver 24.25.227.33 nameserver 24.25.227.64 p4# cat /etc/rc.conf # -- sysinstall generated deltas -- # Thu May 20 10:05:35 2004 # Created: Thu May 20 10:05:35 2004 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. hostname=p4.hawaii.rr.com ifconfig_sk0=DHCP linux_enable=YES nfs_client_enable=YES sshd_enable=YES usbd_enable=YES # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. # Created: Thu May 20 20:27:06 2004 # -- sysinstall generated deltas -- # Thu May 20 20:27:06 2004 ifconfig_sk0=DHCP hostname=p4.hawaii.rr.com # This file now contains just the overrides from /etc/defaults/rc.conf. # Please make all changes to this file, not to /etc/defaults/rc.conf. # Enable network daemons for user convenience. Notice that there is a second entry in rc.conf relating to sk0. If I enter /stand/sysinstall and choose configure then networking and then interfaces and then chooses DHCP, the fields are all populated with the correct information. I can then exit back to the # and when I then look at ifconfig -a I get some good stuff! p4# ifconfig -a sk0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::20c:6eff:fe91:dea6%sk0 prefixlen 64 scopeid 0x1 inet 192.168.1.103 netmask 0xff00 broadcast 192.168.1.255 ether 00:0c:6e:91:de:a6 media: Ethernet autoselect (100baseTX full-duplex,flag0,flag1) status: active 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 Notice I now have an inet line populated with an IP address. If I now look at rc.conf I get this p4# cat /etc/rc.conf # -- sysinstall generated deltas -- # Thu May 20 10:05:35 2004 # Created: Thu May 20 10:05:35 2004 # Enable network daemons for user convenience. # Please make all changes
Re: ethernet card not coming up on reboot
entry for sk0!! As I stated at the begimming of this epic, this is merely an annoyance. I don't reboot all that often and when I do I usually log in as a normal user. Of course, at that time, I am not able to access the network and have logout and log back in as root in order to use sysinstall. Has anyone run into this before? I have also attached a copy of dmesg if anyone is still reading. :-) Thanks Robert Hi, from my tiny amount of experience each time you use /stand/sysinstall it will append your changes to the existing rc.conf file. In reality that interface only needs to be mentioned once. If you remove all but one of the ifconfig_sk0 lines will the interface obtain it's IP when you reboot? HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ICQ question
On Thu, 13 May 2004 19:42:23 +0800 (CST) Stephen Liu [EMAIL PROTECTED] granted us these pearls of wisdom: Hi Nelis, Has any folk run 'Kxicq' on FreeBSD before. Can I talk to my friend if he runs MSN on Windows? If NO kindly advise what will be the solution. you may want to try Gaim http://gaim.sourceforge.net/ for MSN support and others. /usr/ports/net/gaim Hi Nelis, FreeBSD 5.2 === Tks for your advice. # cd /usr/ports/ # make search name=gaim Port: gaim-0.73 Path: /usr/ports/net/gaim .. But the lastest version is gaim-0.77.tar.gz which has been downloaded to /usr/home/download/ I expect to install gaim-0.77.tar.gz Can I perform as follow; # cd /usr/home/download/ # pkg_add gaim-0.77.tar.gz Or installing the package starting from its tarball # cd /usr/home/download/ # tar zxvf gaim-0.77.tar.gz # cd /usr/home/download/gaim-0.77 # ./configure # make # make install Kindly advise. TIA B.R. Stephen two quick options spring to mind, either (A) cvsup your ports to the latest or (B) install what is there then using portupgrade upgrade to the latest. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail list - problems receiving
On Thu, 13 May 2004 14:43:29 +0200 Gareth Bailey [EMAIL PROTECTED] granted us these pearls of wisdom: I am now using free webmail to post to the list, since for some reason i cannot post to the list from my real email address (freebsd at ubersoft.co.za), i can only receive mail messages. mailq has this to say: {D3EBF4E3377 Sun May 9 16:31:31 [EMAIL PROTECTED] (host mx1.freebsd.org[216.136.204.125] said: 450 Client host rejected: cannot find your hostname, [xxx.x.xx.xx] (in reply to RCPT TO command)) [EMAIL PROTECTED] What should i do? Many thanks Gareth fixing up your reverse dns will clear this up very quickly HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail list - problems receiving
On Thu, 13 May 2004 14:50:43 +0200 Gareth Bailey [EMAIL PROTECTED] granted us these pearls of wisdom: Thanks. Do i need to get my ISP to make this reverse entry? - Gareth On Thu, 13 May 2004 21:38:04 +0900 Luke Kearney [EMAIL PROTECTED] wrote: On Thu, 13 May 2004 14:43:29 +0200 Gareth Bailey [EMAIL PROTECTED] granted us these pearls of wisdom: I am now using free webmail to post to the list, since for some reason i cannot post to the list from my real email address (freebsd at ubersoft.co.za), i can only receive mail messages. mailq has this to say: {D3EBF4E3377 Sun May 9 16:31:31 [EMAIL PROTECTED] (host mx1.freebsd.org[216.136.204.125] said: 450 Client host rejected: cannot find your hostname, [xxx.x.xx.xx] (in reply to RCPT TO command)) [EMAIL PROTECTED] What should i do? Many thanks Gareth fixing up your reverse dns will clear this up very quickly HTH LukeK who's your ISP? If your ISP is ubersoft then it is probably they who would need to do this for you. If your the domain owner and you have been assigned a range of IP's with your internet connectivity service then likely you will have to do this yourself. Did you set up the DNS for this domain? It may be that your provider simply hasn't delegated the reverse zone to your name server for one reason or another. #nslookup 196.31.69.30 Server: localhost.meibin.net Address: 127.0.0.1 *** localhost.meibin.net can't find 196.31.69.30: Non-existent host/domain Sorry you will have to be a bit more specific with us about your setup. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Japanese Input (More Specific)
On Sat, 08 May 2004 12:49:24 -0400 [EMAIL PROTECTED] granted us these pearls of wisdom: Please disregard last question because it is a little too vague. My apologies. The Question [ I would appreciate it very much if someone could provide a step-by-step guide for enabling Japanese input into a terminal window, using a jvim or other japanese enabled vi-like editors. I'm not particular about the server (canna, wnn6, etc.) it just has to work. Also, although i'd prefer to stick with a vi-like editor, i would be ok with an emacs solution as well. ] Some Information [ I'm currently using - FreeBSD 4.9 - Enlightenment 0.16 - i386 Architecture ] http://home.nyc.rr.com/computertaijutsu/jpninpt.html http://redundancy.redundancy.org/fbsd_japanese.html http://tronweb.super-nova.co.jp/jpnimintro.html are the main URL's I used to get it working however there are _so_ many variables. You need to work through this for yourself. A tip if you will is to use Mozilla which seems to live with the JP input better than anything else. My Handicap [ I'm very new, so please, try not to gloss over things (e.g. rather than say go to the ports directory say go to /usr/ports/). I've read documentation that said type abc but never said where. And some that have said the configuration file but gave a path. ] Thank you very much Akbar Nope, your handicap is your inability to google for information. This is not an OS that does everything for you. You have to be prepared to read, try, accept that what you tried didn't work first time, try again, read more. JP input in FreeBSD is once you get it,is not particularly tough but if you won't even google for information then you really are in a tight spot and everything you try to do with Unix will be a chore. There are plenty of good places on the web that will teach you how to do this but in order to be able to get it working correctly you need to understand how a Unix machine deals with Kanji and to understand the relationship between the environment settings and the OS. Be prepared to read more, you will get it eventually. -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd
On Mon, 03 May 2004 20:52:30 -0400 XylonMaster [EMAIL PROTECTED] granted us these pearls of wisdom: I am a begginer in unix and would like to know which freebsd version is considered the most stable and reliable. So far i have the freebsd 4.2 powerpack, but am wondering if the downloaded version of freebsd 5.1, 5.2 will allow me to install freebsd 4.2 third-party software form the 4.2 powerpack edition i have puchased 3 years ago. If out and out stability is what you are after then 4.9 is probably the one you want. 4.2 is a little dated now and is missing some of the new drivers that you might like to have available to you. There is nothing wrong with 5.X it is very slick and has some nice new features but IMHO you might get better mileage from 4.9 to begin with. Dual booting with 4.9 is a piece of cake too. Enjoy LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't get online
On Thu, 15 Apr 2004 06:02:05 -0600 [EMAIL PROTECTED] spake thus: Kevin D. Kinsey, DaleCo, S.P. writes: [EMAIL PROTECTED] wrote: I just installed FreeBSD 5.1, but I can't get online. When I try to ping yahoo, it either hangs or gives me an error message. Can you ping 66.218.71.114? Also, what is the text of the error message? Kevin Kinsey DaleCo, S.P. When I ping www.yahoo.com it says Cannot resolve www.yahoo.com: Host name lookup failure. When I ping 66.218.71.114 I get ping: sendto no route to host. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ooh ok well you don't have _any_ networking setup by the looks of things. Are you on cable or a LAN of some description? If so you will need to give your box some basic information edit /etc/resolve.conf and enter your NS details. Edit rc.conf and add information about IP address and default router and reboot and you should be good to go. Enjoy LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: have i been hacked?
On Wed, 14 Apr 2004 00:51:06 -0400 dave [EMAIL PROTECTED] granted us these pearls of wisdom: Hello, Wondering if a system on my network has been hacked? At approx 12:30 this evening the hard disk went crazy, i have been out of town lately and have not checked any of the machines, when i did the CPU usage was at 15% which on this machine it never gets above 1 maybe 1.5. So i looked, and i had nearly 150 processes on the box, 9 running. When i got the daily run output i noticed the setuid files have changed. Wondering if this box got hacked and if so where to look to confirm this? And if so, what to do? Thanks. Dave. Checking setuid files and devices: ls: Terminated : No such file or directory guardian.davemehler.net setuid diffs: 1,52d0 94240 -r-sr-xr-x 1 root wheel 448384 Jun 4 21:54:47 2003 /bin/rcp 117807 -r-sr-x--- 1 root operator 421832 Jun 4 21:55:39 2003 /sbin/mksnap_ffs 117826 -r-sr-xr-x 1 root wheel 451668 Jun 4 21:55:43 2003 /sbin/ping 117827 -r-sr-xr-x 1 root wheel 463444 Jun 4 21:55:43 2003 /sbin/ping6 117839 -r-sr-x--- 1 root operator 431052 Jun 4 21:55:46 2003 /sbin/shutdown 94338 -r-sr-xr-x 4 root wheel 21608 Jun 4 21:56:31 2003 /usr/bin/at 94338 -r-sr-xr-x 4 root wheel 21608 Jun 4 21:56:31 2003 /usr/bin/atq 94338 -r-sr-xr-x 4 root wheel 21608 Jun 4 21:56:31 2003 /usr/bin/atrm 94338 -r-sr-xr-x 4 root wheel 21608 Jun 4 21:56:31 2003 /usr/bin/batch 94353 -r-sr-xr-x 6 root wheel 17892 Jun 4 21:56:32 2003 /usr/bin/chfn 94353 -r-sr-xr-x 6 root wheel 17892 Jun 4 21:56:32 2003 /usr/bin/chpass 94353 -r-sr-xr-x 6 root wheel 17892 Jun 4 21:56:32 2003 /usr/bin/chsh 94553 -r-sr-xr-x 1 root wheel27072 Jun 4 21:56:56 2003 /usr/bin/crontab 94384 -r-xr-sr-x 1 root kmem 15416 Jun 4 21:56:35 2003 /usr/bin/fstat 94419 -r-sr-xr-x 1 root wheel 7804 Jun 4 21:56:39 2003 /usr/bin/lock 94422 -r-sr-xr-x 1 root wheel 18944 Jun 4 21:56:39 2003 /usr/bin/login 94560 -r-sr-sr-x 1 root daemon 25344 Jun 4 21:57:13 2003 /usr/bin/lpq.bak 94561 -r-sr-sr-x 1 root daemon 29216 Jun 4 21:57:14 2003 /usr/bin/lpr.bak 94562 -r-sr-sr-x 1 root daemon 24108 Jun 4 21:57:14 2003 /usr/bin/lprm.bak 94441 -r-xr-sr-x 1 root kmem 100776 Jun 4 21:56:41 2003 /usr/bin/netstat 94448 -r-sr-xr-x 1 root wheel 4452 Jun 4 21:56:41 2003 /usr/bin/opieinfo 94450 -r-sr-xr-x 1 root wheel11612 Jun 4 21:56:42 2003 /usr/bin/opiepasswd 94452 -r-sr-xr-x 2 root wheel 5920 Jun 4 21:56:42 2003 /usr/bin/passwd 94458 -r-sr-xr-x 1 root wheel11584 Jun 4 21:56:42 2003 /usr/bin/quota 94461 -r-sr-xr-x 1 root wheel11008 Jun 4 21:56:42 2003 /usr/bin/rlogin 94465 -r-sr-xr-x 1 root wheel 8564 Jun 4 21:56:43 2003 /usr/bin/rsh 94478 -r-sr-xr-x 1 root wheel12308 Jun 4 21:56:44 2003 /usr/bin/su 94517 -r-xr-sr-x 1 root kmem 15532 Jun 4 21:56:48 2003 /usr/bin/vmstat 94519 -r-xr-sr-x 1 root tty 10516 Jun 4 21:56:48 2003 /usr/bin/wall 94527 -r-xr-sr-x 1 root tty 8100 Jun 4 21:56:49 2003 /usr/bin/write 94353 -r-sr-xr-x 6 root wheel 17892 Jun 4 21:56:32 2003 /usr/bin/ypchfn 94353 -r-sr-xr-x 6 root wheel 17892 Jun 4 21:56:32 2003 /usr/bin/ypchpass 94353 -r-sr-xr-x 6 root wheel 17892 Jun 4 21:56:32 2003 /usr/bin/ypchsh 94452 -r-sr-xr-x 2 root wheel 5920 Jun 4 21:56:42 2003 /usr/bin/yppasswd 96169 -r-sr-xr-x 1 root wheel 3540 Jun 4 21:55:29 2003 /usr/libexec/pt_chown 96150 -r-xr-sr-x 1 root smmsp 629176 Jun 4 21:57:15 2003 /usr/libexec/sendmail/sendmail 108075 -rwsr-xr-x 1 root daemon8624 Dec 21 18:00:36 2003 /usr/local/bin/lppasswd 73521 -rwsr-xr-x 1 root wheel 285508 May 23 09:27:21 2003 /usr/local/bin/screen 72487 -rws--x--x 1 root wheel 741976 May 23 11:00:24 2003 /usr/local/bin/sperl5.6.1 78399 ---s--x--x 1 root wheel86484 May 23 11:56:11 2003 /usr/local/bin/sudo 77227 -rwxr-sr-x 1 root maildrop 108333 Aug 25 02:17:22 2003 /usr/local/sbin/postdrop 77253 -rwxr-sr-x 1 root maildrop 97362 Aug 25 02:17:23 2003 /usr/local/sbin/postqueue 96371 -r-xr-sr-x 1 root daemon 45704 Jun 4 21:57:13 2003 /usr/sbin/lpc 96274 -r-sr-xr-x 1 root wheel 22448 Jun 4 21:57:00 2003 /usr/sbin/mrinfo 96276 -r-sr-xr-x 1 root wheel 31956 Jun 4 21:57:00 2003 /usr/sbin/mtrace 96418 -r-sr-xr-- 1 root network 367336 Jun 4 21:57:04 2003 /usr/sbin/ppp 96419 -r-sr-x--- 1 root dialer106692 Jun 4 21:57:05 2003 /usr/sbin/pppd 96328 -r-sr-x--- 1 root network14516 Jun 4 21:57:07 2003 /usr/sbin/sliplogin 96337 -r-sr-xr-x 1 root wheel 16288 Jun 4 21:57:09 2003 /usr/sbin/timedc 96338 -r-sr-xr-x 1 root wheel 23392 Jun 4 21:57:09 2003 /usr/sbin/traceroute 96339 -r-sr-xr-x 1 root wheel 16788 Jun 4 21:57:09 2003
Re: help with installing qmail webmail on FBSD
On Tue, 6 Apr 2004 09:04:50 -0400 (EDT) Brent Bailey [EMAIL PROTECTED] spake thus: hello, Im in the middle of a re-structuring the email server for a large company. They want to have a webmail interface so that they can access thier email remotly or from abroad. My question is that currently they are using a windows imail server (uhg) I want to move them to a unix platform using FBSD with qmail, sqwebmail, etc ...as well all the nice system utilities that can work with qmail... 1. Can 1 FBSD box after a default install (without compiling the kernel) handle 50,000 users using webmail smtp pop3 ? Do you really expect that much concurrent usage? I'd be thinking to break it up a little. how bout breaking up inbound vs outbound just for a start. I'd be tempted to have a machine that only send, one that receives and delivers and one different one that serves webmail. 2. If i were to move say the IMAP process the webmail interface to a second FBSD box ...how would you go about configuring qmail smtp pop3 to use the second FBSD box for webmail requesets? I cannot see any reason to break up pop3 and imap between different machines unless you intend to run some kind of common storage between them all which seems like more work than its worth. I know this is kinda out of the realm of the list (questions on qmail) however in the past this list has been the best resourse for any question concerning Freebsd...if anyone knows of a better place to ask these questions id be most thankful :-) ANY help is very appreciated take a look at Matt Simpsons toaster page I think if you throw a few extra dollars at the one box you might even get away with one. http://matt.simerson.net/computing/mail/ HTH -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: XFree86 Install Monitor and Card for Sony Laptop?
On Tue, 6 Apr 2004 21:15:09 -0400 Craig Booth [EMAIL PROTECTED] spake thus: During the initial SYSINSTALL setup of Xfree86 on my Sony VAIO PCG-FRV27 laptop under FreeBSD 4.9, the setup goes through the configuration menus, then says it failed and do I want to try again. I exited SYSINSTALL and ran the config option on XFree86, finding out that the generated log shows that its erroring out on the Monitor/Video Card initialization. I can't find a monitor in the database that matches my ATI Radion IGP345M PCI monitor, and none of the display settings specifically match my 800/600 60 hz + 1028/768 60 hz setting. One display setting had 800/600 76 hz + 1028/768 60 hz setting, and that was the closest one so I tried it. I also tried VGA as the monitor, but it stilled failed. What monitor, card and display settings should use? Sony should have specification information on their website, note down specifically the vert and horizontal frequencies and the graphic adaptor make and model and you should be OK to go. It is unlikely that you will get the settings correct first time without this exact information. HTH LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Hardware problems or Software problems
On Wed, 24 Mar 2004 10:28:33 -0800 (PST) Denis R. [EMAIL PROTECTED] spake thus: Luke, I know that would be coincidental, but you know what your running CPU temp is (check your BIOS)? OS freeze-ups sometimes occur due to inadequate cooling of the CPU. Also maybe your computer is close to a heat source? Are you using the same computer case? What is your power supply rated at? Do you have a Radeon video card with its own power connector? Denis skip I have a server which recently died on me. I believed that the problem was likely the memory as the machine would reboot of its own accord initially when accessing via samba or NFS. ...I installed a new ASUS P4800 motherboard with a celeron 2.20ghz chip and brandnew 512mb memory. /skip Thanks for that input, I took a look at the cpu temp info in the bios and it seems stable at around 35deg C or 93deg F. A quick check of the data sheet on intels website seems to indicate that this processor can function up to a maximum of 70deg C so I am left wondering if this CPU throws out double the heat under load. I am using the same case as the previous machine. The ac unit is not old and should be good to go for a bit longer. The machine itself sits near another machine that is on permanently but apart from other computers no heat source is nearby. Would a faulty disk not leave any messages in the logs and simply lock up on occaision ? I get no read/write errors just a machine lockup. Again, any thoughts are appreciated. LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Hardware problems or Software problems
Hello, I have a server which recently died on me. I believed that the problem was likely the memory as the machine would reboot of its own accord initially when accessing via samba or NFS. Then I noticed that it would reboot when under no load. Given that the motherboard and CPU etc was pushing three years old it seemed like a good opportunity to upgrade to some newer kit I had. I installed a new ASUS P4800 motherboard with a celeron 2.20ghz chip and brandnew 512mb memory. Now again whilst under no load at all it will freeze. The only original parts are the HDD's. My difficulty is that nothing is left in the logs or on std out. If it is the disks I will reluctantly replace but I cannot see why disks would cause a reboot and leave nothing logged such as a time out or anything. Are there any specific commands I can issue during start up to increase the verbosity of logging to try to capture the root cause for this ? Any assistance is appreciated. LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: tell sendmail to use a different dns server?
On Tue, 23 Mar 2004 22:30:32 +0800 Zhang Weiwu [EMAIL PROTECTED] granted us these pearls of wisdom: Zhang Weiwu wrote: Zhang Weiwu wrote: Hello. I'm using the dns service on a router box. This router does provide dns service, on which every computer in the LAN has a local domain name (computername.our.lan) Now the built in dns server's function is limited; it does not relay MX type of record. Thus sending mail using sendmail always get hostname lookup failure. 1. If I change my name server address in resolv.conf to use my ISP's dns server, I cannot access lan computers using local hostnames. 2. If I use our dns server, I cannot send mails through sendmail. So what should I do? Can I ask sendmail to use ISP's dns server, while the rest programs use local dns server? I just realized I can do this in resolve.conf: # our LAN's dns server nameserver 192.168.0.1 # ISP nameserver 202.101.103.54 Hope this is the best method. But this works on my notebook but not on my desktop computer, both 5.2 RELEASE dino is my desktop computer: dino# cat /etc/resolv.conf search realss nameserver 192.168.0.138 nameserver 202.101.103.54 dino# host -t mx hotmail.com Host not found, try again. thinkpad is my notebook: thinkpad# cat /etc/resolv.conf search realss nameserver 192.168.0.138 nameserver 202.101.103.54 thinkpad# host -t mx hotmail.com hotmail.com mail is handled (pri=5) by mx4.hotmail.com hotmail.com mail is handled (pri=5) by mx1.hotmail.com hotmail.com mail is handled (pri=5) by mx2.hotmail.com hotmail.com mail is handled (pri=5) by mx3.hotmail.com your other option has been to run a split view of your dns so that internal clients can get an internal view being able to resolve each other and outsiders can only see your external hosts. I believe bind 9.X can accomplish this. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: /sbin/natd doesn't start
On Tue, 23 Mar 2004 15:43:07 +0100 (CET) C. Kukulies [EMAIL PROTECTED] granted us these pearls of wisdom: I have natd_enable in /etc/rc.conf but natd doesn't start at boot time. I also put /sbin/natd -n tun0 into /etc/rc.local to no avail. This is 5.2.1R. Any clues? -- Chris Christoph P. U. Kukulies kuku_at_physik.rwth-aachen.de Do you have a natd.conf file ? Is there a rule in your firewall diverting to NATD ? What ppp and nat combination are you using. If you seriously expect a half way decent reply or suggestion you need to be a bit more specific about your setup. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: cvsup not working
On Mon, 23 Feb 2004 06:25:42 -0700 [EMAIL PROTECTED] granted us these pearls of wisdom: FreeBSD fixer.com 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Sun Feb 22 14:47:02 GMT 2004 root@:/usr/src/sys/i386/compile/VILLATV i386 I am having a problem with cvsup version 16. I used it about a month ao with no problem. I have now tried it several times with no success. I even reinstalled the entire operating system twice. I activate my modum and type cvsup supfile. The box appears and I click the go tab. It goes wild for about 30 to 40 seconds downloading 40 to 50 files. This is okay. After that, it just dies. This is the problem. I don't understand why it dies. I have an external modem and after it dies, sometimes the transfer lights on the modum blink and sometimes theres no light at all. After it dies, it will go until it times out (15 to 20 minutes). I have FreeBSD 5.1. I installed the cvsup package off the 1st cdrom. I created 'cvsup' in the /usr/local/etc directory. I put my supfile under cvsup. I have csh, so I typed 'setenv CVS ROOT=/usr/local/etc/cvsup', which seems to work. The supfile I use is *default host=cvsup5.freebsd.org *default prefix=/usr *default base=/usr/local/etc/cvsup *default tag-. *default release=cvs *default delete use-rel-suffix compress ports-all I don't remember my first supfile, I thinks it like the above. Also I learned that if something in the supfile isn't perfect, it won't work. Please analyze and let me know whats wrong. Thanks in advance. greg try /usr/share/examples/cvsup/ A quick look at the documentation there should set you straight. Good Luck LK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail on FreeBSD
On Mon, 23 Feb 2004 17:20:56 +0530 somatic [EMAIL PROTECTED] granted us these pearls of wisdom: Hi, I was wondering if there was a web based system to check mail on a freebsd system.I wanted to setup a mail system for all users on the intranet.I have successfully installed sendmail and can send and receive mail on the system.(using pine).But how do i go about setting up a system for external lan users without them telnetting into the system?.Would i need a pop3 server? Thanks, akshay. Hi, you have a number of options open to you, you can try a POP3 installation, you could get adventurous and go for IMAP. A Webmail setup is also one way to deal with your situation. You could even get really carried away and install all of the above. A quick check in the ports dir and qpopper is available as is solidpop3d and a number of others. I guess the trick is for you to work out which one suits your situation best. FWIW webmail can be a bit cumbersome at times your users might prefer POP3 or IMAP. Good Luck LK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
filenames get corrupted - Samba v3 - FBSD 4.9
Hello, I have a problem where users who connect to my FBSD fileserver running samba get their filenames corrupted. The users upload files with doublebyte character filenames ( japanese ) and when they browse the files from their computers ( win2k mostly ) the file names are unreadable. How can I solve this problem, I have never encountered it before. I am used to not being able to read the filenames from the cmd line and can work around that without too much difficulty but this fn corruption is new. Can anyone point me in the right direction here ? I would prefer not to have to change the environment to a japanese environment if i don't need to. Thanks LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Move to insert here mail server? WAS Re: Sending mail gets 'Relaying Denied' from off network.
On Wed, 18 Feb 2004 00:26:47 -0600 Eric F Crist [EMAIL PROTECTED] granted us these pearls of wisdom: OK, I'm tired of trying to configure sendmail. I think I give up. I've hear postfix and qmail recommendations the most. I need a mail server that can do a couple of things for me: 1) Host multiple domains on the same server 2) Easy user management and control (quotas?) 3) I NEED MY SPAM ASSASSIN 3) Webmail recommendation for this mail server. 4) Your love and support with what I choose... ;) Sendmail, since I've used it heavily, has become too much of a burden for me. Please reply with a 'vote' and possibly and howtos or 'change-over' instructions. If you all recall, I've failed this once before. http://www.tnpi.biz/internet/mail/toaster/ is a favourite of mine and if I can install it you can too :-), pretty bullet proof and easy to manage not to mention scaleable. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with someone port scanning me
On Thu, 12 Feb 2004 11:12:53 -0500 Dragoncrest [EMAIL PROTECTED] granted us these pearls of wisdom: For the past couple of days I've had someone on our lan port scanning my box. Not sure what's up with that, but I'm curious if there's a way to log what IP address this is coming from. I don't have IPFW enabled yet as I haven't had the time to configure it at this point as it's currently behind the company firewall on our T3. Is there a way to log where it's coming from? Or is that already being logged somewhere? I wonder if you might get some benefit from a couple of simple IPF rules and a quick portsentry install. /etc/ipf.rules pass in log on interface0 from any to any pass out log on interface0 from IP to any with the appropriate startup would give you a good idea of the IP address the scan is comming from. Whether your DHCP server admin will tell you who that address is is a different matter. HTH LK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: chrooted ssh/scp
On Mon, 2 Feb 2004 10:02:32 -0600 Michael Clark [EMAIL PROTECTED] granted us these pearls of wisdom: sshd2 will do this and if you read the license I believe it is legal to use for most users. Else you can use sudo to make a ssh chroot. google groups has some explainations of how to do this. Michael Clark Nemschoff Chairs Inc mclark at nemschoff dot com CompTIA A+, MCP Voice: (920) 457 7726 x294 Fax: (920) 453 6594 -Original Message- From: Lowell Gilbert [mailto:[EMAIL PROTECTED] Sent: Monday, February 02, 2004 8:11 AM To: Evan Sayer Cc: [EMAIL PROTECTED] Subject: Re: chrooted ssh/scp Evan Sayer [EMAIL PROTECTED] writes: Does anyone know how to make it so that users can ssh in and get a normal shell or scp in and get or send files but only within their own home directories via chroot? The commercial ssh server has that capability built in, but the free ones don't, last I checked. You should be able to hook up jail(8) or chroot(8) to the account itself, though... excuse me if this seems off topic but a quick check over at ssh.com revealed no obvious links to a downloadable version that would not require a license. Pray tell where I might find the binaries. I would like to give sshd2 a run and see if it might fix a problem that has been nagging at me for a bit. TIA LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Where are the startup scripts?
On Wed, 28 Jan 2004 20:54:41 -0700 (MST) KURT BUFF [EMAIL PROTECTED] granted us these pearls of wisdom: Bit of a newb question here: I've got a pretty standard install of postfix, and am trying to follow the directions in this web page: http://advosys.ca/papers/postfix-instance.html Everything is pretty crystalline until I get to the line that says: To create a startup script for the second instance, either edit your existing Postfix startup script and add the above command (postfix -c /etc/postfix-out start) after the existing postfix start command, or copy the existing startup script to a new name and change the copy. The author goes on with examples from Redhat and Debian, but I am not sure where to place the above command. I'm leaning toward putting it in /etc/rc.conf, but that just doesn't quite feel right. Nor does just sticking the line in /etc/rc. Help much appreciated. Kurt I would be inclined to examine /usr/local/etc/rc.d/ and stuff something in there or in rc.local See how you go with those two for starters. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Default route problem
On Wed, 28 Jan 2004 12:54:08 +1100 Martin and Belinda Richardson [EMAIL PROTECTED] granted us these pearls of wisdom: Hi everyone, I am having a problem with a gateway I am building for a friend. I have initially set the box up on my home network and have set this box to use my gateway temporarily while I fetch some ports etc. Now that I have removed it from my network, and edited /etc/rc.conf to set it up to act as a gateway, it STILL sets the default route to my old gateway. I cant find any config file that says add default route or anything. I have not set defaultroute in /etc/rc.conf, and it is set to NO in /etc/defaults/rc.conf! If I use /stand/sysinstall to configure the interface, I notice that there is a value already there for the ipV4 gateway (my gateway). deleting this here does not work. There must be a file somewhere that I have not seen causing me the trouble. Please help! AFAIK the only place you need to make changes is /etc/rc.conf then either reboot or sh /etc/netstart and you should be good to go. You could manually add that route though whilst the machine is up, # route add default 192.168.X.X and that should be OK too. what is the output of netstat -rn ? HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Default route problem
On Wed, 28 Jan 2004 16:00:07 +1100 Martin and Belinda Richardson [EMAIL PROTECTED] granted us these pearls of wisdom: Hi Luke, thanks for the reply. I would have thought that rc.conf was the place to look, but maybe not the only place... Here is a copy of netstat -rn Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default192.168.55.8 UGSc10vx0 127.0.0.1 127.0.0.1 UH 02lo0 192.168.55 link#1 UC 10vx0 192.168.55.1 00:a0:24:b3:c9:b6 UHLW2 3840lo0 in the bootup display (not available from DMESG), it says it is adding a default route, just as if you were doing it manually. I know it is no problem to route delete default and this works fine, but all it takes is a reboot, and Im back to square one! The person I am building the gateway for is not un*x savvy, and he justs wants something that sits quietly in the corner. Sooner or later he will probably reboot... Thanks again. Cheers, Martin -Original Message- From: Luke Kearney [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 January 2004 12:54 PM To: Martin and Belinda Richardson Cc: [EMAIL PROTECTED] Subject: Re: Default route problem On Wed, 28 Jan 2004 12:54:08 +1100 Martin and Belinda Richardson [EMAIL PROTECTED] granted us these pearls of wisdom: Hi everyone, I am having a problem with a gateway I am building for a friend. I have initially set the box up on my home network and have set this box to use my gateway temporarily while I fetch some ports etc. Now that I have removed it from my network, and edited /etc/rc.conf to set it up to act as a gateway, it STILL sets the default route to my old gateway. I cant find any config file that says add default route or anything. I have not set defaultroute in /etc/rc.conf, and it is set to NO in /etc/defaults/rc.conf! If I use /stand/sysinstall to configure the interface, I notice that there is a value already there for the ipV4 gateway (my gateway). deleting this here does not work. There must be a file somewhere that I have not seen causing me the trouble. Please help! AFAIK the only place you need to make changes is /etc/rc.conf then either reboot or sh /etc/netstart and you should be good to go. You could manually add that route though whilst the machine is up, # route add default 192.168.X.X and that should be OK too. what is the output of netstat -rn ? HTH LukeK --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.564 / Virus Database: 356 - Release Date: 19/01/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.564 / Virus Database: 356 - Release Date: 19/01/2004 ok well without knowing more of the specifics of your network topology it is a bit hard to give very specific advice however the line in rc.conf which controls the default route is defaultrouter=192.168.55.9 --- if that is actually your gateway. I have had some difficulties with machines with multiple NIC's and have in the past resorted to altering routing information via rc.local rather than rc.conf I am 99.% confident that rc.conf is the only place to specify your gateways unless you wanna hack everything via rc.local I get the picture with the reboots, there is one other thing you might try and that is to specify the default gateway as an interface rather than an IP address. eg:- route add default -interface tun0 this is what i did via rc.local and it hasn't missed a beat yet. I believe that rc.local runs after rc.conf and is executed line by line so in the worst case you could try route delete default route add default -interface vx0 HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cups
On Mon, 22 Dec 2003 20:13:36 +1030 Malcolm Kay [EMAIL PROTECTED] spake thus: On Mon, 22 Dec 2003 17:12, Luke Kearney wrote: Hello, I am having a troublesome time with CUPS and printing to an Epson PM-740DU inkjet printer. I have set up cups and it works to a degree. I can print test pages like there is no tomorrow but I cannot print from desktop applications let alone from any of the networked machines via samba. The client machines can browse and add the printer but they cannot print to it. I am using a fairly generic PPD for the printer as I could not find one for BSD in the ports and linuxprinting.org didn't offer much joy. I understand that the printer is roughly equivalent to the Stylus Photo 780 ( max dpi 2880x720 , 6 colours ). When trying to print a txt file from the cmd line I get lpr: lp: unknown printer lpr is looking for the default printer named 'lp'. It seems you don't have one ;) /etc/printcap shows tamachi: $ cat /etc/printcap # This file was automatically generated by cupsd(8) from the # /usr/local/etc/cups/printers.conf file. All changes to this file # will be lost. # written for pips780 pm780c|EPSON PM780C:\ As it stands you will need to nominate the specific printer each time it's used. # lpr -P pm780c or # lp -d pm780c To make it use this printer by default you must give it 'lp' as one of its names as in: lp|pm780c|EPSON PM780C:\ :sd=/var/spool/lpd/pm780c:\ :mx#0:\ :sh:\ :lp=/dev/ulpt0:\ :if=/usr/local/libexec/pips780/filter780.rev:\ :lf=/var/log/lpd-errs: # pips780 end actually having installed the pips780 file from ports I ran the setup script to get this into printcap. If I modify the printer via the CUPS interface it scraps all of the above and replaces it with one line which is the name I gave the printer in the setup. Malcolm Kay Thanks for the tip. I followed your suggestion and added the lp to the beginning of the printcap file and now it does spit out paper but the only text it outputs is Abort trap Does anyone have a recommendation for a howto written for printing newbies like me ? When sending a printjob from say opera there is no output whatsoever and no error log so I don't even have the luxury of trying to interpret logs for errors. TIA LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD. Should I buy or download?
On Mon, 22 Dec 2003 04:05:09 + SB [EMAIL PROTECTED] spake thus: Hi there, Is it best to buy a boxed FreeBSD? or download it? Steven. As others have pointed out this really depends on your BW but thinking a little past that buying the disk sets does contribute financially to the project and having them on hand when you are not able to download from the net is kinda handy. I think the distro is pretty reasonable compared to a winblows license so it's up to you. HTH -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Cups
Hello, I am having a troublesome time with CUPS and printing to an Epson PM-740DU inkjet printer. I have set up cups and it works to a degree. I can print test pages like there is no tomorrow but I cannot print from desktop applications let alone from any of the networked machines via samba. The client machines can browse and add the printer but they cannot print to it. I am using a fairly generic PPD for the printer as I could not find one for BSD in the ports and linuxprinting.org didn't offer much joy. I understand that the printer is roughly equivalent to the Stylus Photo 780 ( max dpi 2880x720 , 6 colours ). When trying to print a txt file from the cmd line I get lpr: lp: unknown printer /etc/printcap shows tamachi: $ cat /etc/printcap # This file was automatically generated by cupsd(8) from the # /usr/local/etc/cups/printers.conf file. All changes to this file # will be lost. # written for pips780 pm780c|EPSON PM780C:\ :sd=/var/spool/lpd/pm780c:\ :mx#0:\ :sh:\ :lp=/dev/ulpt0:\ :if=/usr/local/libexec/pips780/filter780.rev:\ :lf=/var/log/lpd-errs: # pips780 end actually having installed the pips780 file from ports I ran the setup script to get this into printcap. If I modify the printer via the CUPS interface it scraps all of the above and replaces it with one line which is the name I gave the printer in the setup. Appreciate any tips or links to howtos that are similar to my situation here. Regards -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re:
On Wed, 10 Dec 2003 15:57:08 -0800 Joel Crane [EMAIL PROTECTED] granted us these pearls of wisdom: hi, i am kind of a newbie to FreeBSD so i have some questions... I have an older 4/86 laptop that currently has nothing but dos on it. I want to install FreeBSD on this machine but without windows i can't get on the internet to download freeBSD. I have a newer desktpo machine that i will have to download the files with. Then i will Laplink them over to my laptop and setup FBSD from there. Will this work? And secondly, How do i download the files?! Clicking on them in my browser does not help. Thanks! Hi, As far as I can see you have a multitude of options available to you. You should contemplate one of two options :- An FTP install if you have sufficient bandwidth or patience. You can create bootable floppy disks from files on the FreeBSD ftp server and then work through the install OR Download an ISO image and make a bootable CD from this and install accordingly. You did not say whether your laptop has either a floppy drive or CD drive that can be booted from. To download an ISO image you might want to investigate using an FTP client program SmartFTP comes to mind as a simple but effective tool at a great price ( $00.00 ). Before doing all of this I do suggest that you take a very close look at your hardware and compare it against the list of known supported devices. Assuming you want a machine that is good for something other than CLI practice that is. The other option you have and one you might like to seriously consider is to buy a copy of The Complete FreeBSD or FreeBSD unleashed both of which come with a CD Rom containing the OS and pretty comprehensive step by step instructions to get you up and running. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Ooops - Re: while I have your attention... Names, copyright and IPv6
On Mon, 24 Nov 2003 12:43:11 +1100 paul van den bergen [EMAIL PROTECTED] granted us these pearls of wisdom: as usual, there has been a bit of a misunderstanding... being a loosely typed language, Engliosh is difficult to communicate in :-0 Names, addresses and DNS are obviously different things. I understand where IPv6 addresses come from (sort of). I understand (sort of) how IPv6 works for DNS records relating names to IPv6 addresses what I was really asking is: in the IPv4 world, name brokers sell names that are then related to IPv4 addresses. Legality of the name choice etc. is generally owner onus... Is there a similar sort of (or coincident) naming authority for IPv6 based names? example. if I operate a network, boxen1.example.org, boxen2.example.org, etc., as an IPv4 address space and a second coincident network, boxen1.example6.org, boxen2.example6.org, etc., as an IPv6 based address space, where does the authority to allocate the IPv6-network based names reside? the technical side of it is clear... someone somewhere needs to keep a track of the names... anyway, this is straying somewhat from the core subject matter of this list... On Mon, 24 Nov 2003 11:30 am, Cordula's Web wrote: how does this all work under IPv6? is the IPv6 domain name allocation as fully fledged as teh IPv4 services? I.e. are there and what are the restrictions on who can set up a name broker service for IPv6? what are the likely gottchas? I don't know for sure here, so please take this with a grain of salt: IPv6 addresses are represented by instead of A records in DNS nameservers. Right now, I think that you can only point .org (and other [cc]TLD) nameservers to nameservers residing on an IPv4 address [anyone correct me if I'm wrong here]. But you could always configure your nameservers (let's say ns1.bergen.org, ns2.bergen.org) to return IPv6 addresses to some names, by adding records to them. But since IPv6 names are not (yet) globally routed on the Internet, this will have local meaning only (e.g. on an intranet). Generally speaking: IPv4 and IPv6 addresses are _never_ allocated by name brokers or DNS systems. They reside at a much lower level, which has nothing to do with _names_. If you connect to the Internet, your upstream provider(s) will assign to you IPv4 address blocks automatically. You would normally not be able to influence this, because it is deeply intertwined with the routing protocols that all network operators use to transmit data on the Internet. You may ask how network operators get their IP address blocks. Check out IANA: http://www.iana.org/ especially: http://www.iana.org/ipaddress/ip-addresses.htm AFAIK domain names have little to do with your choice of IPV4 or IPV6. There can be only one registered owner of any given domain name and that domain name space could be either v4 or v6 at the discretion of the owner. LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: a good way to save a keystroke?
On Sat, 22 Nov 2003 09:44:30 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 09:11 PM 11/21/2003, Kevin D. Kinsey, DaleCo, S.P. wrote: Which shell are you using? C shell. Maybe I should switch to Bash? I mostly ssh in using my user acct and then have at least one screen session where I su to root. However to the extent that I'd like to write shell scripts that are consistent for account that may use different shells, if that even makes sense, than maybe backticks are the way to go. Just as an aside to this particular thread. I am sure I read somewhere that it is usually best to write scripts for sh , ie /bin/sh as many of the others are located in /usr/something which when the file system is not stable may or may not be accessible. man sh would be your friend here and quite often shell scripts that are run from cron are written with this shell in mind. good luck LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: hostnames and interfaces
On Thu, 20 Nov 2003 20:42:33 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 08:17 PM 11/20/2003, paul van den bergen wrote: to expand on this, there is a potential many to many relationship here between host names and IP addresses (strickly speaking that is what dns etc sees?) how dose BSD define this? how does one define this using BSD? Hey, sounds like you understand things so well you see the void in the forest. As a newbie I'm still just trying to keep my head from twisting off at long enough intervals to define some of the questions. Like, given I have 5 boxes - 1 fbsd 4 windoz though maybe that proportion will change in a time :) - and each has their own ip adr and I have two apaches installed does that mean I can setup a max of 5 different domain level websites on my intranet? Or 10? Or infinite (well, this is reality I hope so...) The daemons are afoot, my ponderings do not affect them. Hi, Let me see if I can shed some light on this issue for you. To the best of my knowledge a FBSD system can have only one hostname however it can have as many aliases as you wish. The setup of aliases is acheived via DNS rather than assigning hostnames per interface. Where you have multiple machines you would assign multiple hostnames whether they be from different domains or not. $ host mail.meibin.net mail.meibin.net is a nickname for kyoto.meibin.net kyoto.meibin.net has address 220.111.132.28 per the above the actual host name for the system is kyoto, it's FQDN is kyoto.meibin.net and it has the alias of mail.meibin.net rather than the host name of mail.meibin.net . Apache and loads of other software support virtual hosting and defining a name in an apache configuration has little to do with the actual underlying system hostname. That being said virtual hosts don't work well if DNS was not set correctly for them. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Samba question
On Sun, 16 Nov 2003 21:08:12 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 02:23 PM 11/16/2003, Derrick Ryalls wrote: CUPS is mentioned in the logs, and you don't seem to know what it is, so do you have a line similar to: printing = cups No, good point. I have ;printing = bsd so that was commented out. Also, did you define guest in smb.conf and did you create the acct with smbpasswd -a No. Now I did rebooted. Same symptom, i.e. windoz explorer tells me \\Swamisalami is not accessible. ... The account is not authorized to log in from this station. One thing I notice is that nmbd is running but smbd isn't (ps -ax|grep mbd). Is this normal behavior? more /var/log/dmesg.today|grep mbd yields nothing; looking at /var/log/log.nmbd the line Packet send failed to 192.168.0.255(137) ERRNO=No route to host sticks out like a sore thumb. I gather that lil' devil tried probing port 137 on lan ip 192.168.0.255. That node doesn't exist; my dns comes from a win xp box called delliver with ip 192.168.0.1 and dial up using win ics. Yet for some reason samba looked at a non-existent ip on the lan; also it reported no route to host. Finally when I do a find computer on win xp for swamisalami it find two. One's just that, the other is that parenthetically labelled Samba Server. Neither is accessible. Finally when I look for my fbsd box by ip adr on win find computer it now finds it - also not accessible. Looks like I did something right and something wrong. (stating the painfully obvious). Let me ask a couple of really silly questions. Did you actually set up a user account ? Is there a line in your smb.conf that refers to listening interfaces and are they the correct interfaces/addresses ? One thing I notice is that nmbd is running but smbd isn't (ps -ax|grep mbd). Is this normal behavior? more /var/log/dmesg.today|grep mbd yields nothing; looking at /var/log/log.nmbd the line most definately not normal behaviour. smbd should be spawing a process as root ie the master process and then one process per user so if you cannot see smbd running then I cannot see how you can hope to connect sucessfully. nmbd is the netbios name daemon so if that is running you should be able to see the computer but without smbd you cannot connect. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: apache install problem
On Thu, 13 Nov 2003 12:21:23 -0500 Marty Landman [EMAIL PROTECTED] spake thus: I just installed Apache2 and not sure how to proceed, if I'm doing things wrong from here or there is some other problem: $ which apachectl /usr/local/sbin/apachectl $ apachectl start httpd: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName (13)Permission denied: make_sock: could not bind to address [::]:80 no listening sockets available, shutting down Unable to open logs mate, what does the log message say ? (13)Permission denied: make_sock: could not bind to address [::]:80 one of two things spring to mind, the apache start is not being run by root or you have something else listening on that port. what you need to do next is this, make sure you are root when you execute the apachectl commands, if that still doesn't work then *as* root execute #sockstat -4 | grep 80 and post the output HTH LK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: crontab
On Wed, 12 Nov 2003 15:13:34 -0600 Darryl Hoar [EMAIL PROTECTED] granted us these pearls of wisdom: Greetings, I am running 4.7 and want to use cron to run a command. when I look in /var/cron/tabs, there is not a file for root. If I do a crontab -e its blank. I thought there was a template already, with example commented out. Do I have to create this file from scratch ? thanks, -D from scratch, all users start with blank crontabs. enjoy LK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No route to host
On Sun, 09 Nov 2003 01:57:35 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: I'm new to FreeBSD and have the 4.8 mini-iso installed. Have tried to install the nic and can ping my ip and localhost ok, but when I try to ping other boxes on my LAN get ping: sendto: No route to host An ifconfig shows ep0 UP and RUNNING; ipfw list replies Protocol not available. FWIW I also tried pinging the FreeBSD box from two other (Windoz) boxes on the LAN. Hmm take a quick peek at your routing table - chances are you have not told the machine much about your network # netstat -rn If the correct information is not there then something like # route add default -interface ep0 ( or better yet if you have a router ) # route add default 192.168.1.1 -- where this is the address of the router If you can see the correct routing information the next likely culprit is the firewall. Try turning off the firewall for starters. HTH Lukek ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No route to host
On Sun, 09 Nov 2003 09:49:54 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 03:00 AM 11/9/2003, you wrote: If the correct information is not there then something like # route add default -interface ep0 Ok I did this (there's no router). Now I can still ping my own ip and localhost as before and when I try pinging another node on the lan it seems to hang, i.e. PING 192.168.0.1 (192.168.0.1): 56 data bytes until ^c out of it. Ok so I let it sit like that for a couple of minutes and after interrupting it got back 600 packets transmitted, 0 packets received, 100% packet loss If you can see the correct routing information the next likely culprit is the firewall. Try turning off the firewall for starters. #ipfw disable firewall #ping 192.168.0.1 ^C 7 packets transmitted, 0 packets received, 100% packet loss # Hmm, any other ideas? 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 please make a rough ascii sketch of your network and post the output to the following :- netstat -rn ifconfig -a in your rc.conf firewall_enable=yes HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: No route to host
On Sun, 09 Nov 2003 12:21:09 -0500 Marty Landman [EMAIL PROTECTED] granted us these pearls of wisdom: At 09:53 AM 11/9/2003, Luke Kearney wrote: please make a rough ascii sketch of your network and post the output to the following :- netstat -rn ifconfig -a in your rc.conf firewall_enable=yes Ok, I edited rc.conf and rebooted; when trying to ping myself by ip or as localhost got Permission denied so I then did ipfw disable firewall and was able to do those two pings. And when trying to then ping some other nodes again got No route to host. my local area network: 192.168.0.1 (win-xp) 192.168.0.150 (win-95) 192.168.7.7 (freebsd-4.8/mini) 192.168.0.3 (win-98) 192.168.0.160 (win-95) these five boxes each have a nic and all connect to a switch. #netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.7 link#1 UC 1 0 ep0 192.168.7.7 00:20:af:4d:24:b7 UHLW0 1 lo0 Internet6: Destination Gateway Flags Netif Expire ::1::1UH lo0 fe80::%ep0/64 link#1 UC ep0 fe80::220:afff:fe4d:24b7%ep0 00:20:af:4d:24:b7 UHL lo0 fe80::%lo0/64 fe80::1%lo0Uc lo0 fe80::1%lo0 link#4 UHLlo0 ff01::/32::1 Ulo0 ff02::%ep0/32 link#1 UC ep0 ff02::%lo0/32::1UC lo0 #ifconfig -a ep0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.7.7 netmask 0xff00 broadcast 192.168.7.255 inet6 fe80::220:afff:fe4d:24b7%ep0 prefixlen 64 scopeid 0x1 ether 00:20:af:4d:24:b7 media: Ethernet 10baseT/UTP lp0: flags=8810POINTOPOINT,SIMPLEX,MULTICAST mtu 1500 faith0: flags=8002BROADCAST,MULTICAST mtu 1500 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%Lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff00 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552 Hey Luke, wanna hear something funny? I didn't want to take 20 minutes to write all this so I spent an hour and a half instead trying to mount a floppy and then copy the output from these commands onto it so I could then copy paste the verbiage onto my email from a windows box. Didn't get it working though. 8^} OK I think I see the problem. Your winblows machines are on a different network to the FBSD machine. Change FBSD to 192.168.0.7 and all should be just fine. There is no route to host for the other machines because as far as FBSD is concerned the other machines should be on a different wire. BTW in your rc.conf firewall_enable=yes the above was a typo on my part. should have been enable=no. Nevertheless I think once you re-ip you will be pinging away quite nicely. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation problem
On Sun, 9 Nov 2003 07:39:01 +0500 [EMAIL PROTECTED] granted us these pearls of wisdom: When I try to boot from CD-ROM to install my FreeBSD 4.6 my computer stops to work. I do: 1) Booting from CD-ROM 2) Skip kernel configuration. 3) Then I see: [...something before...] plip0:PLIP network interface on ppbus0 ad0: READ command timeout tag=0 serv=0 - resetting ata0: resetting devices [That is all. Now he stops.] On primary master I have my HDD only. When I disconnect HDD from motherboard installer loads correctly. When I change HDD pisition from PrimaryMaster to Secondary Master I see: [bla bla bla] ata1: reseting devices And when I turn my HDD off in BIOS options, all works :( I have: HDD: Maxtor 6Y080P0 Motherboard: GA - 8SG800 BIOS: Award Modular BIOS v6.00PG F5 I am sorry for my terrible Enlish. I hope you understand my problem. How can I solve it? try setting your drives to a different mode in the bios I suspect it is the ATA-100 setting that is causing your problems. HTH LK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: upgrade named
On Thu, 6 Nov 2003 08:13:07 -0500 Arnason, Arni [EMAIL PROTECTED] granted us these pearls of wisdom: 8.3.3 is in /usr/sbin 9 went into /usr/local/sbin modified rc.conf to point to the new binary named_program=/usr/local/sbin/named but I'm still stuck with 8.3.3 ps shows my named up and running but a which named still points to my 8.3.3 version doesn't make sense to me, should be working any ideas? Arni -Original Message- From: Wes Zuber [mailto:[EMAIL PROTECTED] Sent: Wednesday, 05 November, 2003 14:46 To: Jonathan Chen Cc: '[EMAIL PROTECTED]'; Arnason, Arni Subject: Re: upgrade named We had the same issue. The named binary on our 8.3.3 set up was in /usr/local/bin When we installed 9 that went into /usr/sbin I suspect that you are just calling the old binary. --Wes On Nov 5, 2003, at 11:35 AM, Jonathan Chen wrote: On Wed, Nov 05, 2003 at 11:38:55AM -0500, Arnason, Arni wrote: I've been trying to upgrade named to version 9 but seem to be missing something Currently have: FreeBSD 4.6.2 with named 8.3.3 downloaded, configured and installed version 9 - updated rc.conf to point to the new location, rebooted and I'm still running 8.3.3 I've got the same setup and it works fine. What's in your /etc/rc.conf and what's the output of ps ax | grep named? -- Jonathan Chen [EMAIL PROTECTED] Yes, I would not mind betting that you have not updated your locate DB and that it is still point to the older version. what does named -v give you ? HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: lan bandwidth issue
On Thu, 06 Nov 2003 01:15:00 +0100 Alex de Kruijff [EMAIL PROTECTED] granted us these pearls of wisdom: On Wed, Nov 05, 2003 at 04:25:12AM -0700, silent slim wrote: From: Alex de Kruijff [EMAIL PROTECTED] To: silent slim [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: lan bandwidth issue Date: Wed, 05 Nov 2003 02:52:47 +0100 On Tue, Nov 04, 2003 at 01:13:34PM -0700, silent slim wrote: This has gotta be a software issue... it seems logically impossible for it to be otherwise. I have my windows box running off a nat on my fbsd box, it transmits to my isp at a max of about 160k down 70k up. Transfering files between the two boxes can be done at a max of 1.6M down and 130k up. Hense its physcially impossible for it to be a hardware problem. This is all quite annoying as both boxes are connected by http://www.startech.com/ststore/itemdetail.cfm?tab=bProductID=ST100Stopbar=topbara.htm 10/100 nics and a 50' crossover cable. Anyone have any ideas on what is causing this issue and how it could possibly be resolved? Right now I don't have much to go on. What problem do you have? i'd like the network to go at 100Mbps since both cards could be able too and the current speeds are laughable. Most network cards still realy heavly on you computer CPU. There for you souldn't expert 10MBps out of it. Secondly, how do you transfer your data? If you use Samba then you should also expect a loss in speed, and you might consider switching to ftp. -- Alex It is also worth remembering that very few hdd can actually write data at 100Mbps. Older motherboards often have ultra33 disk controllers etc etc. how many processes are writing to and reading from the same disk (s) ? One lesson I learnt was that you cannot underestimate the value of a good NIC. I don't want to start any religious wars but I had used realtek based NICs for the longest time and when I changed to 3Com I noticed a full 2Mbps increase in speed on the same hardware. Having said all of that when copying a large file - say 700mb I can copy from windows to FBSD (both using 3Com) via a samba share and it takes about 6mins per file, the same file between FBSD and FBSD via another FBSD router takes only 2 2.5 mins over rsync so as Alex mentioned perhaps the way you are transferring files has something to do with it. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
XFree86 config problems
Hi, I am having a devil of a time getting an ATi Radeon 7500/64Mb to work properly with my monitor ( a sony lcd monitor ). X will start but the amount of flicker on the screen is unbearable. At times the whole screen looks like it is under a couple of mm of water. My X config as follows: # Section Module # This loads the DBE extension module. Loaddbe # Double buffer extension # This loads the miscellaneous extensions module, and disables # initialisation of the XFree86-DGA extension within that module. SubSection extmod Optionomit xfree86-dga # don't initialise the DGA extension EndSubSection # This loads the Type1 and FreeType font modules Loadtype1 Loadspeedo #Loadfreetype #Loadxtt # This loads the GLX module #Load glx # This loads the DRI module Load dri EndSection # ** # Files section. This allows default font and rgb paths to be set # ** Section Files # The location of the RGB database. Note, this is the name of the # file minus the extension (like .txt or .db). There is normally # no need to change the default. RgbPath /usr/X11R6/lib/X11/rgb # Multiple FontPath entries are allowed (which are concatenated together), # as well as specifying multiple comma-separated entries in one FontPath # command (or a combination of both methods) # # If you don't have a floating point coprocessor and emacs, Mosaic or other # programs take long to start up, try moving the Type1 and Speedo directory # to the end of this list (or comment them out). # FontPath /usr/X11R6/lib/X11/fonts/local/ FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/100dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/Speedo/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/TrueType/ #FontPath /usr/X11R6/lib/X11/fonts/freefont/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ # The module search path. The default path is shown here. #ModulePath /usr/X11R6/lib/modules EndSection # ** # Server flags section. # ** Section ServerFlags # Uncomment this to cause a core dump at the spot where a signal is # received. This may leave the console in an unusable state, but may # provide a better stack trace in the core dump to aid in debugging #Option NoTrapSignals # Uncomment this to disable the CrtlAltFn VT switch sequence # (where n is 1 through 12). This allows clients to receive these key # events. #Option DontVTSwitch # Uncomment this to disable the CrtlAltBS server abort sequence # This allows clients to receive this key event. #Option DontZap # Uncomment this to disable the CrtlAltKP_+/KP_- mode switching # sequences. This allows clients to receive these key events. #Option Dont Zoom # Uncomment this to disable tuning with the xvidtune client. With # it the client can still run and fetch card and monitor attributes, # but it will not be allowed to change them. If it tries it will # receive a protocol error. #Option DisableVidModeExtension # Uncomment this to enable the use of a non-local xvidtune client. #Option AllowNonLocalXvidtune # Uncomment this to disable dynamically modifying the input device # (mouse and keyboard) settings. #Option DisableModInDev # Uncomment this to enable the use of a non-local client to # change the keyboard or mouse settings (currently only xset). #Option AllowNonLocalModInDev EndSection # ** # Input devices # ** # ** # Core keyboard's InputDevice section # ** Section InputDevice Identifier Keyboard1 Driver Keyboard # For most OSs the protocol can be omitted (it defaults to Standard). # When using XQUEUE (only for SVR3 and SVR4, but not Solaris), # uncomment the following line. #Option Protocol Xqueue Option AutoRepeat 500 30 # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) #Option Xleds 1 2 3 #Option LeftAlt Meta #Option RightAltModeShift # To customise the XKB settings to suit your keyboard, modify the # lines below (which are the defaults). For example, for a non-U.S. # keyboard, you will probably want to use: #Option XkbModelpc102 # If you have a US Microsoft Natural keyboard, you can use: #Option
Re: SNMP help
On Thu, 30 Oct 2003 15:14:12 -0800 (PST) [EMAIL PROTECTED] granted us these pearls of wisdom: In the last episode (Oct 30), Ronnie Clark said: Thanks all for the suggestions. I have the port installed, but how doDaemoncontrol I configure this beast to work with OpenView? I have looked at the online docs for the port, but it is all jibberish to this newbie. Anyone have a simple to follow doc or set of guidelines to setup net-snmp to be monitored by Openview? There shouldn't be any configuration needed. By default, net-snmp will output stats for network interfaces, disk usage, CPU load, memory/swap usage, and active processes. How to get all that stuff monitored by OpenView I have no idea. If it is anything like Compaq's Inside Manager, you should only need to set the SNMP community string in the FreeBSD SMNP Deamon. How this is done I am not sure. There should be a way for you to set the read only and full controll community strings. Then just add the server like you would any other server in Open View. you will need to setup your snmpd.conf file properly with the appropriate community strings and acl's. The should be a tool to assist with this. I installed from source so my conf file is /usr/local/share/snmp/snmpd.conf but your might be under /usr/local/etc there should be a script that was installed to help with config - I just cannot remember what it is called, a search on the snmpd home page might reveal some more clues. HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Wireless setups
Hi There, I have recently installed 4.8R on my IBM Thinkpad notebook which fortunately includes a wireless NIC. The nic is recognised as wi0 for which I am grateful as Linux did not recognise the card first time around. Now I often move between networks and having to set the wepkey and ssid etc etc by hand will become very tiresome very quickly. I was wondering if any one can point me in the direction of a better way to set these. I am guessing that this will still have to be done after the boot but what do people use ? I was able to get the interface up and ping other hosts so no problems there but can this NIC be set for dhcp rather than having to go through the grief of setting everything manually ? Any pointers or links to howto are much appreciated. Thanks in Advance LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPF and Routing
Hi There, Yes I have read it several times. I have set up an ipnat.conf file that looks a lot like this bimap192.168.1.10 - 10.0.0.3 bimap192.168.1.11 - 10.0.0.4 and so on and so forth I need to ensure that each internal address gets the same external address each time. I have aliased all of the external addresses to the external interface so I was wondering if this would work or did there need to be additional physical interfaces for this to work properly. I am thinking that there would be no need to have multiple interfaces but I am wondering if it is indeed all that simple. The reason for static NAT is that each internal client needs to connect to a remote VPN server which requires one unique IP for each address ( broken damned M$ VPN server ). Mapping static is not a great problem given that each internal client will get it's address via DHCP. Does this make sense ? TIA LukeK On Tue, 7 Oct 2003 18:23:00 +0800 Michael Lee [EMAIL PROTECTED] granted us these pearls of wisdom: Hi, Have you checked the How-to of ipf ? Mapping Many Addresses Into a Pool of Addresses. http://www.obfuscation.org/ipf/ipf-howto.html#TOC_31 - Original Message - From: Luke Kearney [EMAIL PROTECTED] To: FreeBSD Questions [EMAIL PROTECTED] Sent: Tuesday, October 07, 2003 10:12 AM Subject: IPF and Routing Hello, I have question regarding IPNat and routing. The situation is that I need to setup a network where each machine gets a unique global IP address from behind a firewall which performs NAT. I have 16 addresses so my question is can I alias 14 addresses to the primary nic and then config each private address to map directly to one global address or have I missed something fundamental about this ? Any advice is appreciated. TIA LukeK ___ [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: Wireless setups
On 19 Oct 2003 21:53:15 -0400 Lowell Gilbert [EMAIL PROTECTED] spake thus: Luke Kearney [EMAIL PROTECTED] writes: Hi There, I have recently installed 4.8R on my IBM Thinkpad notebook which fortunately includes a wireless NIC. The nic is recognised as wi0 for which I am grateful as Linux did not recognise the card first time around. Now I often move between networks and having to set the wepkey and ssid etc etc by hand will become very tiresome very quickly. I was wondering if any one can point me in the direction of a better way to set these. I am guessing that this will still have to be done after the boot but what do people use ? I was able to get the interface up and ping other hosts so no problems there but can this NIC be set for dhcp rather than having to go through the grief of setting everything manually ? Doesn't WEP have to be configured *before* you can communicate with the DHCP server in the first place? Hi, You are of course absolutely correct, so I am kinda wondering how to manage this. Without connecting using the correct WEP it is a bit tough to get an IP. Again, any insights into this are appreciated. Thanks -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPNAT/Slow TCP/Pings fine/4.8-REL (fwd)
On Wed, 15 Oct 2003 09:09:26 -0500 Larry Rosenman [EMAIL PROTECTED] granted us these pearls of wisdom: --On Wednesday, October 15, 2003 10:03:35 -0400 Lowell Gilbert [EMAIL PROTECTED] wrote: Larry Rosenman [EMAIL PROTECTED] writes: I was trying(!) to help a friend out, and built a 4.8-REL box to play Router/NAT and it's ALMOST working. I can't seem to telnet/surf from NAT'd addresses, but PING works fine. You can ping to the same addresses that you can't telnet to? On inside machines? yes. I.E. from 192.168.30.53 I can ping 207.158.72.11, and telnet to 207.158.72.11. While that telnet is up, I can log on to the FreeBSD box, see the translation in ipnat -l, telnet to 207.158.72.11, and see the session in 207.158.72.11's netstat, but I can't do anything useful on the session from the 192.168.30.53 box. LER G'Day, What are the firewall rules like ? Has IPFilter been set to pass all ? ( or ipfw in case your using that instead )? Do you get name resolution if you query an external server via nslookup ? Just for kicks try enabling ipfilter with a ruleset like "" pass in log from any to any "" HTH LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Logging SCP / SFTP
Hi List, Can anyone point me in the right direction here ? I would like to log all scp/sftp transfers to and from a certain machine and cannot find any logical method to do so. TIA LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NAT and PPPoE problems
Hi, From my casual observation your rc.conf has a spelling error in it, you have gatway_enable=yes should of course be gateway_enable=yes. Sorry if you had picked it up earlier. This is one of my favourites for setting up a router http://lantech.geekvenue.net/chucktips/jason/chuck/1031194375/index_html as is http://www.schlacter.net/public/FreeBSD-STABLE_and_IPFILTER.html or http://renaud.waldura.com/doc/freebsd/firewall/ Good luck with that one LukeK On Sun, 12 Oct 2003 18:16:34 -0700 (PDT) Sean Noonan [EMAIL PROTECTED] granted us these pearls of wisdom: Hi Folks, I've used NAT with FreeBSD for years now, but recently had to change my ISP. My new ISP, SBC, uses PPPoE (yuck). I've finally got PPPoE working, but am having a heck of a time getting NAT to work with it. I'm tracking STABLE and cvsup'd, etc, about two weeks ago to 4.9-PRERELEASE. Here's my config: /etc/ppp/ppp.conf: default: # PPP over Ethernet set log phase tun command set device PPPoE:dc0 set mru 1492 set mtu 1492 set ctsrts off set cd off set redial 0 0 set dial set login # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set ifaddr 67.116.219.246/0 67.116.219.254/0 add default HISADDR# Add a (sticky) default route enable lqr enable dns SBC: set authname [EMAIL PROTECTED] set authkey mypassword /etc/rc.conf: ez_ipupdate_enable=YES firewall_enable=YES firewall_type=open firewall_logging=YES gatway_enable=YES gif_interfaces=gif0 # gifconfig_gif0=67.112.141.75 67.52.144.191 hostname=sean-noonan.kicks-ass.net ifconfig_xl0=inet 192.168.6.1 netmask 255.255.255.0 ipsec_enable=YES kern_securelevel_enable=NO linux_enable=YES lpd_endable=YES moused_enable=YES moused_flags=-3 moused_type=auto named_enable=NO #natd_enable=YES #natd_interface=dc0 network_interfaces=xl0 dc0 gif0 tun0 lo0 nfs_reserved_port_only=YES nfs_server_enable=YES nisdomainname=NO ppp_enable=YES ppp_mode=ddial ppp_nat=YES ppp_profile=SBC saver=logo sendmail_enable=YES sshd_enable=YES syslogd_enable=YES tcp_extensions=YES xntpd_enable=YES output of ifconfig -a: xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet 192.168.6.1 netmask 0xff00 broadcast 192.168.6.255 inet6 fe80::2a0:24ff:fed8:4738%xl0 prefixlen 64 scopeid 0x1 ether 00:a0:24:d8:47:38 media: Ethernet autoselect (100baseTX full-duplex) status: active dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 inet6 fe80::204:5aff:fe45:5aa8%dc0 prefixlen 64 scopeid 0x2 ether 00:04:5a:45:5a:a8 media: Ethernet autoselect (100baseTX full-duplex) status: active 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 0x4 inet 127.0.0.1 netmask 0xff00 ppp0: flags=8010POINTOPOINT,MULTICAST mtu 1500 sl0: flags=c010POINTOPOINT,LINK2,MULTICAST mtu 552 faith0: flags=8002BROADCAST,MULTICAST mtu 1500 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492 inet 67.121.201.208 -- 67.121.203.254 netmask 0x Opened by PID 57 output of netstat -rn: Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire default67.121.203.254 UGSc4 30 tun0 67.121.203.254 67.121.201.208 UH 50 tun0 127.0.0.1 127.0.0.1 UH 00lo0 192.168.6 link#1 UC 10xl0 192.168.6.200:0c:76:51:77:7e UHLW00xl0 1079 The RFC1918 PC is using 192.168.6.2 for its IP address and 192.168.6.1 for its default gateway. The RFC1918 PC can successfully ping the gateway's internal and external interfaces, but nothing beyond. Adding an ipfw rule like: ipfw add 1 allow log ip from any to any shows ping traffic betwen the inside interface of the gateway and the RFC1918 PC, but nothing else. I've tried several ways of involking NAT, including via the ppp.conf file, via the command-line, and via rc.conf (the current flavor). None seem to work. Anybody have an ideas on how to proceed?? TIA, --Sean Noonan. ___ [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: Oct 11 10:09:54 ahab inetd[644]: ftp/tcp: bind: Address already in use
Hi, You might check out sockstat -4 or netstat -na |grep LISTEN to give you some idea of what program is trying to listen on that port. AFAIK I think running proftp as a standalone daemon was the preferred method rather than through inetd but that is just my $00.02 worth On Sat, 11 Oct 2003 11:38:13 -0700 jason dictos [EMAIL PROTECTED] granted us these pearls of wisdom: Oct 11 10:09:54 ahab inetd[644]: ftp/tcp: bind: Address already in use Oct 11 10:19:54 ahab inetd[644]: ftp/tcp: bind: Address already in use Oct 11 10:29:54 ahab inetd[644]: ftp/tcp: bind: Address already in use Oct 11 10:39:54 ahab inetd[644]: ftp/tcp: bind: Address already in use Oct 11 10:49:54 ahab inetd[644]: ftp/tcp: bind: Address already in use Oct 11 10:59:54 ahab inetd[644]: ftp/tcp: bind: Address already in use Oct 11 11:09:54 ahab inetd[644]: ftp/tcp: bind: Address already in use Anyone know what these mean? I assume there's some deamon that inetd is continually trying to re-start? Here's my ftp line: ftp stream tcp nowait root/usr/local/libexec/proftpd proftpd Ideas? -Jason ___ [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]
snmpd
Hi, I was wondering if anyone can tell me where snmpd keeps it pid file ? I cannot find it under /var/run and there is not much said about it in the documentation. TIA LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 250GB filesystems?
On Mon, 13 Oct 2003 05:14:24 + (GMT) Kris Kirby [EMAIL PROTECTED] spake thus: Is it possible to make a single filesystem on a 250GB drive? [im not on questions, so please cc me] -- Kris Kirby, KE4AHR [EMAIL PROTECTED] TGIFreeBSD IM: 'KrisBSD' Yes, 250Gb and bigger if you have the disk space available to you. Cheers LukeK -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ADSL modem ip addresses
Hi, You need a single machine with two nics to setup as a firewall machine. You should not require a second IP address. If you google for howtos on setting up FreeBSD as a gateway machine/sharing cable/sharing adsl etc etc you will find heaps of easy to follow articles. Furthermore, if your provider will give you a choice then the hardware IMHO of choice is a DSL bridge. Run PPPoE from the FreeBSD machine. FWIW I went from having /29 to a single address and there was a little initial pain in getting the NAT/routing setup appropriately but after pulling out lots of hair it finally works. Whilst on the subject, the kind of stress and overhead that PPPoE puts on a FreeBSD machine is negligible. I have a fibre connection which at times hits 70Mb and the machine ( a lazy PII 300 w 256Mb of RAM ) never gets above 15% CPU usage. So any old machine you have lying around in bits will probably do very nicely. HTH LukeK On Fri, 10 Oct 2003 23:29:08 +0930 Ian Moore [EMAIL PROTECTED] spake thus: Hi, I'm organising an ADSL connection and I'm a bit confused about our options. We need to provide web, ssh and mail access to our network for users from home across the Internet with an ADSL connection. I figure the best way to do this is to setup a new machine to act as a firewall and run a web server sendmail on this box. (or I have seen something about using socket to divert these services to our existing server which has a private address). The firewall would have a NIC with a private IP address to connect to the rest of our network. What's the best way then to connect it to the ADSL line? Do we have a second NIC in the firewall machine with a real IP address connected to an ADSL modem and use ppp -natd on that interface? Does that mean we'd need 2 static IP addresses - one for the firewall one for the modem? (We really don't want to pay for 2 addresses) Or can we use a USB connection instead - are there FBSD drivers for ADSL modems? I can't see any in the supported hardware list. Or do we use a combined modem/router device to do the nat firewalling and have it redirect mail, web ssh access to our main server? (is that possible or do such devices not allow access into the network from the 'net?) Cheers, Ian ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Luke Kearney [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ADSL modem ip addresses
On Fri, 10 Oct 2003 11:41:01 -0400 liquid [EMAIL PROTECTED] granted us these pearls of wisdom: -Original Message- From: [EMAIL PROTECTED] [mailto:owner-freebsd- [EMAIL PROTECTED] On Behalf Of Ian Moore Sent: October 10, 2003 9:59 AM To: freebsd-questions Subject: ADSL modem ip addresses Hi, I'm organising an ADSL connection and I'm a bit confused about our options. We need to provide web, ssh and mail access to our network for users from home across the Internet with an ADSL connection. I figure the best way to do this is to setup a new machine to act as a firewall and run a web server sendmail on this box. (or I have seen something about using socket to divert these services to our existing server which has a private address). It's not a wise move to run the services on the same machine as your firewall. You can setup an openbsd machine to serve as your firewall on a very inexpensive old machine, running it as a gateway as well. You can then forward specific ports (80, 25, 110 in your case) to your services machine running either in a DMZ or behind the firewall. Regarding the whole diverting issue, I encourage you to google dual homed hosts I had some pretty favourites on my windows machine but I lost them all when a hard drive died or I'd have some good ones for you. The firewall would have a NIC with a private IP address to connect to the rest of our network. What's the best way then to connect it to the ADSL line? Do we have a second NIC in the firewall machine with a real IP address connected to an ADSL modem and use ppp -natd on that interface? Does that mean we'd need 2 static IP addresses - one for the firewall one for the modem? (We really don't want to pay for 2 addresses) If you use pppoe, you can run ppp -ddial -quiet on startup by including that in rc.conf. Checkout /etc/defaults/rc.conf. I setup a machine to act as a gateway/firewall for 5 PC's on a 3mbit dsl line once... on a P120 and it ran flawlessly. You don't need two IP's. Your modem *shouldn't* have to have an IP. If it does, it's because it also acts as a router and hence does the pppoe auth. I suppose you can use that as a router instead.. it's your network ;) I like the flexibility my router provides me however. It's remarkably easy to setup as well. Again I don't have any links right now off-hand, but if you search for pppoe + freebsd + ipnat or something you'll find some very good tutorials. There was this one for a cable connection I used as a guide the first time, and just followed the steps from other sources for setting up PPPoE. Or can we use a USB connection instead - are there FBSD drivers for ADSL modems? I can't see any in the supported hardware list. AFAIK, there is no support (yet?) for a usb modem. I don't like them anyway - I keep my apples with my apples, my oranges with... you guessed it, the oranges. ADSL = network related stuff = runs on Ethernet. Or do we use a combined modem/router device to do the nat firewalling and have it redirect mail, web ssh access to our main server? (is that possible or do such devices not allow access into the network from the 'net?) by default they will not. As I said they work, but I'm not sure the devices that are a modem + router built-in will also include firewalling. Actually quite a few of the SOHO DSL routers I've seen do include simple firewalling but often enough they are only configurable via a browser and have a kind of all or nothing stance. For fine granular control over the firewall it is hard to beat FBSD and IPFilter / IPFW for the price - it just doesn't come with a pretty web interface ( not that you couldn't build one if you had the time or the energy I suppose. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
IPF and Routing
Hello, I have question regarding IPNat and routing. The situation is that I need to setup a network where each machine gets a unique global IP address from behind a firewall which performs NAT. I have 16 addresses so my question is can I alias 14 addresses to the primary nic and then config each private address to map directly to one global address or have I missed something fundamental about this ? Any advice is appreciated. TIA LukeK ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD4.5 release supports bigLBA( over 136GB HDD)?
Currently using 250gb drives here without any difficulties. Good Luck LK On Sat, 4 Oct 2003 00:37:41 -0500 kitsune [EMAIL PROTECTED] granted us these pearls of wisdom: On Fri, 3 Oct 2003 22:46:42 +0900 topaz [EMAIL PROTECTED] wrote: Dear Sirs I have been using FreeBSD4.5 as a File server. I like to use 200GB IDE HDD(WD 2000) with FreeBSD4.5. BIOS supports bigLBA. Does FreeBSD4.5 support big LBA/ If not, which release of FreeBSD can support bigLBA? Currently using a 160GB here with out problems. ___ [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]