can't run /sbin commands
When I first installed FreeBSD I was able to run halt and reboot as su without the full /sbin/reboot command. After adding a new path to PATH, I've been unable to run these commands without specifying the full path. Recently I tried to install acroread 7.0 and the installation complained I didn't have Linux ABI enabled. When I check /etc/rc.conf, I have: linux_enable=YES I noticed that when the system was trying to make install the acroread port, it issued the kldstat command - then gave me the error about not having linux ABI. kldstat can only run if the full path /sbin/kldstat is invoked. Here is the output of echo $PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: /usr/X11R6/bin:/home/Dave/bin:/usr/home/Dave/apache-forrest-0.7/bin My question is with /sbin in the path why do I have to specify /sbin/reboot, /sbin/kldstat etc.? Could this be causing my make install to fail? How can /sbin be in the path and still require a full path declaration for it's commands to work. regards, Dave ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Solved: Xsane: how to set scanning area
Erik Nørgaard wrote: The scanner works, only now it doesn't scan the entire area for negatives (haven't tried ordinary scannings). Only two negatives are scanned instead of three. Same config, same firmware. Any way to solve this? Upgrading sane-backend from version 1.0.15 to 1.0.16 caused the problem, and downgrading solved it, bug report has been sent to sane-project.org Cheers, Erik -- Ph: +34.666334818 web: www.locolomo.org S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt Subject ID: 9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72 Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IE in FreeBSD?
Yuan Jue wrote: Does anybody successfully run Internet Explorer under Wine in FreeBSD? What should I do to get it run? Any suggestion will be appreciated. I recommend qemu emulator too. It's easy to install, you get native platform and it's not that slow (even usable on a 366MHz notebook). When you install your favourite OS on it, you can copy the image around as much as you like and share it with other users in snapshot mode as their changes won't be written back... could go on and on :) -- Regards, Karel Miklav ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Blade Servers w/ SAN backend ... anyone doing this?
On Wed, 2005-Sep-14 15:22:32 -0300, Marc G. Fournier wrote: From what little I've learnt so far, there is an HP Fiber Channel controller that is used to connect the Blade to the SAN, but I can't find anywhere that indicates that there is a FreeBSD driver for it ... A model number, chipset or PCI ID would be helpful here. If it's integrated FC controller then what model blade is it? Also, another thing that was mentioned to me was the ability to 'boot on SAN', instead of having drives in the Blade itself ... is this something that can be done with FreeBSD, and, if so, is there anywhere on the web I can read up on this? Booting is reliant on the BIOS - if the BIOS supports booting off a disk-like device then you can (AFAIK) be sure that FreeBSD will boot. Getting beyond booting depends on the kernel having a suitable driver. -- Peter Jeremy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: can't run /sbin commands
Dave Webster wrote: When I first installed FreeBSD I was able to run halt and reboot as su without the full /sbin/reboot command. After adding a new path to PATH, I've been unable to run these commands without specifying the full path. [...] Here is the output of echo $PATH: /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin: /usr/X11R6/bin:/home/Dave/bin:/usr/home/Dave/apache-forrest-0.7/bin My question is with /sbin in the path why do I have to specify /sbin/reboot, /sbin/kldstat etc.? Could this be causing my make install to fail? How can /sbin be in the path and still require a full path declaration for it's commands to work. The short answer to your question is that if /sbin really were in your path you would be able to run programs from it, therefore /sbin is *not* in your path. (Since you can run commands from /sbin with full path names it can't be file permissions or deleted programs). Either that or something else on you path is somehow messing up your shell big-time, but that seems less likely. You say that the problems started after you changed you path (I assume in your .profile or whatever). So, quite simply, you must have made some kind of mistake. I would suggest going back to the file you edited and starting again. Comment out the PATH specification and add things back one at a time. Assuming a /bin/sh or derivative, you can re-load your file with . filename (for csh derivatives, use source filename). After each change you make, source the changes and see if you can run some innocuous program from /sbin such as kldstat. --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fixing a MBR (and more) that ??? trashed
Gayn Winters wrote: -Original Message- From: Alex Zbyslaw [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 14, 2005 1:59 AM To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Subject: Re: Fixing a MBR (and more) that ??? trashed Gayn Winters wrote: Alex Zbyslaw [mailto:[EMAIL PROTECTED] Why do you think it's not safe to add hard drives? It doesn't seem safe if Windows blows away the multiboot MBR that FreeBSD so carefully made! Windows overwriting the MBR seems to be the reason people recommend loading Windows before loading FreeBSD, which I do. I just never realized that this problem would come back to bite me when I added another disk drive. I know of know reason why it should. I've added disks half a dozen times without blowing away any MBRs. Even the Windows blowing away the MBR is an annoyance, not a disaster since it is easy to rewrite. Whatever pickle you find yourself in seems to have to do with more than just adding a disk or Windows killing your MBR. --Alex I certainly am willing to admit that I'm doing something stupid! The motherboard and its BIOS are also known to be strange. One thing to note is that if I reconfigure (fresh FBSD install), add hardware, and then boot first into FBSD, all is well EXCEPT the boot loader, whose prompt is: F1 ??? F2 FreeBSD F5 Drive 1 Default: F2 If I select F2, then I get FreeBSD. If I select F5 I get Windows! I.e. F5 gives me the same slice as does F1!!! (Drive1 is the extra IDE drive.) I can't blame Windows for this, since it never got booted. Also, if FBSD gets booted first, Windows doesn't (further) corrupt the MBR. Incidentally, rewriting the MBR with boot0cfg -B -o packet /dev/ad1 does not change anything. The F5 option is still there, and it still brings up the Windows that is on slice1. If I add a third IDE drive, the situation also remains the same. In particular, I don't get an F9 option. I know too little about your setup. Are you sure ad1 is your second disk? (There's nothing to stop you booting from any disk whatsoever if you BIOS allows, and many do). When you boot off F2, what does say df show? If you had a FreeBSD MBR on the second disk, then you *ought* to get another F1, F2 etc menu. If you have a third disk, then the second disk would also have an F5 option e.g. DISK1 DISK2 DISK3 F5-DISK2 F5-DISK3 F5-DISK1 There's never anything higher than F5 since there can never be more than 4 slices on a disk (F1-F4), plus F5 for the next disk (if any). --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Problem at first boot
Hello, I'm a new FreeBsd (French) user, and after 3 days of none-working installs, I, now can boot my server with FreeBSD installed on it. The problem is : it ask me to enter the path for the Shell, and I don't know where it is. Here is the message I get when I attempt to boot : Can't exec /bin/sh fot /etc/rc : No such File or directory. Enter full path of Shell or type Enter for /bin/sh If I type Enter, the system tells me that the file can't be found...I don't know how to do!!! I have installed the system as following : Standard installation * / =1GB * /etc =1GB * /bin =1GB * /dev =1GB * swap partition =2GB * /var =6GB Install with FTP passive This server is going to be a proxy server with vpn/ssl solution. Did I make an error while installing, or is there a simple solution to solve my (very very !!!) big problem?? Thanks a lot... -- Julien Fournier [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: Problem at first boot
Julien FOURNIER wrote: Can't exec /bin/sh fot /etc/rc : No such File or directory. Enter full path of Shell or type Enter for /bin/sh If I type Enter, the system tells me that the file can't be found...I don't know how to do!!! I have installed the system as following : Standard installation * / =1GB * /etc =1GB * /bin =1GB * /dev =1GB * swap partition =2GB * /var =6GB Did I make an error while installing, or is there a simple solution to solve my (very very !!!) big problem?? Thanks a lot... -- Julien Fournier Julien I'm no expert on the boot process of FreeBSD but the problem appears to be that your /bin partition has not been mounted. Normally /bin lives in the same partition as / as it contains essential binaries. Normally you could run # mount -a Which will mount all filesystems in /etc/fstab, but because your /etc is on a different partition, presumably it is not already mounted. You have a catch-22. Maybe there is a clever use of the mount command to get the filesystem up (if you know the partition layout) but I suggest you re-install and put /etc, /bin and /dev on the / partition. /var should have its own partition so this is ok. Run the following for a good overview of the filesystem: # man hier Regards Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
bge problem
Hello. I've installed 5.4-STABLE on my IBM Bladecenter HS20 (8677). Each chassis has two network interfaces based on Broadcom. The system found bge0 and bge1 media: Ethernet autoselect (1000baseSX full-duplex) But each of them has no carrier. miibus is built in the kernel but miibus0 isn't defined while booting (nothing about it in dmesg.boot). As I understand miibus is needed only for 10/100 but not for GMII. Can anyone help me to find the problem? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bge problem
Pavel Baleshenko wrote: Can anyone help me to find the problem? Did you plug in a cable? Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: bge problem
sure :) Really it isn't like a real PC. Interface should be enabled for a chassis in management. And it's done. BladeCenter is connected to network of course too. The same configuration works on Linux and Win on other chassises. Pavel Baleshenko wrote: Can anyone help me to find the problem? Did you plug in a cable? Nick. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem at first boot
Your partitioning is not correct. There is no point to put /bin and /etc on their own partitions as they take very small amount of room. I recommend to make another clean install and select Auto option when creating slices Usually separate partitions are recommended for the followind folders: /, /tmp, /usr, /var, /home and swap The purpose of separate partitions are that if one partition gets full then other partitoons have still room and the system can still run. For example if the user downloads files to the home directory, then only /home partition can be filled up but /, /usr, /var and /tmp partitions would still have some room and the system can function correctly. If there would be only one big / partition (totally legal and possible to have) then the user could fill that partiton up and system does not have room for logging and storing temporary files which might introduce unexpected behaviour. Hope this explains the reason of the partitoning (Actually slicing in FreeBSD as there is only one partition containing all the slices) and therefore you can figure out the layout by yourself. -- Rein Julien FOURNIER wrote: Hello, I'm a new FreeBsd (French) user, and after 3 days of none-working installs, I, now can boot my server with FreeBSD installed on it. The problem is : it ask me to enter the path for the Shell, and I don't know where it is. Here is the message I get when I attempt to boot : Can't exec /bin/sh fot /etc/rc : No such File or directory. Enter full path of Shell or type Enter for /bin/sh If I type Enter, the system tells me that the file can't be found...I don't know how to do!!! I have installed the system as following : Standard installation * / =1GB * /etc =1GB * /bin =1GB * /dev =1GB * swap partition =2GB * /var =6GB Install with FTP passive This server is going to be a proxy server with vpn/ssl solution. Did I make an error while installing, or is there a simple solution to solve my (very very !!!) big problem?? Thanks a lot... -- Julien Fournier [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem at first boot
BTW the reason of the booting problem is that kernel mounts / partition and expects to find /bin/sh from there but as the /bin is on separate partiton, then it fails. -- Rein Rein Kadastik wrote: Your partitioning is not correct. There is no point to put /bin and /etc on their own partitions as they take very small amount of room. I recommend to make another clean install and select Auto option when creating slices Usually separate partitions are recommended for the followind folders: /, /tmp, /usr, /var, /home and swap The purpose of separate partitions are that if one partition gets full then other partitoons have still room and the system can still run. For example if the user downloads files to the home directory, then only /home partition can be filled up but /, /usr, /var and /tmp partitions would still have some room and the system can function correctly. If there would be only one big / partition (totally legal and possible to have) then the user could fill that partiton up and system does not have room for logging and storing temporary files which might introduce unexpected behaviour. Hope this explains the reason of the partitoning (Actually slicing in FreeBSD as there is only one partition containing all the slices) and therefore you can figure out the layout by yourself. -- Rein Julien FOURNIER wrote: Hello, I'm a new FreeBsd (French) user, and after 3 days of none-working installs, I, now can boot my server with FreeBSD installed on it. The problem is : it ask me to enter the path for the Shell, and I don't know where it is. Here is the message I get when I attempt to boot : Can't exec /bin/sh fot /etc/rc : No such File or directory. Enter full path of Shell or type Enter for /bin/sh If I type Enter, the system tells me that the file can't be found...I don't know how to do!!! I have installed the system as following : Standard installation * / =1GB * /etc =1GB * /bin =1GB * /dev =1GB * swap partition =2GB * /var =6GB Install with FTP passive This server is going to be a proxy server with vpn/ssl solution. Did I make an error while installing, or is there a simple solution to solve my (very very !!!) big problem?? Thanks a lot... -- Julien Fournier [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
On Wed, Sep 14, 2005 at 12:00:12PM -0400, Grant Peel wrote: Now I am really confused. First of all install ipcalc NOW. Up until this morning I thought I had a good handle on when I need to use the real Netmask and Broadcast. For example, If I have 3 servers, and my upline asigns me a block of 128 addresses, for the first ip used (from this block) on each server, I would need to specify the IP, true netmask and a broadcase. Then, when using more IPs from that block, I would use a 255.255.255.255 netmask and a broadcast equal to the IP. No, a 255.255.255.255 netmask specifies a single host. If your ISP has given you 128 IPs, that is a /25 or netmask 255.255.255.128 as shown : [EMAIL PROTECTED]:~$ ipcalc 192.168.254.0/25 Address: 192.168.254.01100.10101000.1110.0 000 Netmask: 255.255.255.128 = 25 ...1 000 Wildcard: 0.0.0.127...0 111 = Network: 192.168.254.0/25 1100.10101000.1110.0 000 HostMin: 192.168.254.11100.10101000.1110.0 001 HostMax: 192.168.254.126 1100.10101000.1110.0 110 Broadcast: 192.168.254.127 1100.10101000.1110.0 111 Hosts/Net: 126 Class C, Private Internet So all your machines would have the same network and broadcast, and you would make them all use your gateway box as the default route. As you can see, a 255.255.255.255 netmask (/32) is only one host: [EMAIL PROTECTED]:~$ ipcalc 192.168.254.34/32 Address: 192.168.254.34 1100.10101000.1110.00100010 Netmask: 255.255.255.255 = 32 ... Wildcard: 0.0.0.0 ... = Hostroute: 192.168.254.34 1100.10101000.1110.00100010 Hosts/Net: 1 Class C, Private Internet What you need to do is use IP calc to see what the network and broadcast are and set those, although on FreeBSD 4.X (I think anyway, someone correct me if I am wrong) you can just put in your /etc/rc.conf ifconfig_bge0=inet 192.168.254.32/25 or ifconfig_bge0=inet 192.168.254.32 netmask 255.255.255.128 And FreeBSD will work out the network and broadcast for you. Today, I was in this exact position where I was tring to add an (the first one one THAT machine, from that block) IP from a block that is almost completely used up on another server, and the one I was adding it to would not take it. When I tried adding it with a 255.255.255.255 netmask, and a broadcast eaqual to the amount of IPs from that block - it worked. Like I said before, there is only 1 IP in a /32 block, and the broadcast will be either a.b.c.127 or a.b.c.255 depending whether you have the first or second subnet inside that class C. Hope this helps -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Software RAID1
I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. Jason ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Printing with Firefox
I get the same effect in Opera. This seems to happen regardless of the window manager in use; Gnome, fvwm, or xterm. Thanks in advance. Harold When I attempt to either do a printview, or print, using Firefox the program shuts down. My printcap file contains entries that were automatically created by CUPS. Any ideas why the Firefox printing functions are inop? Thanks, Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Upgrade your account today for increased storage; mail forwarding or POP enabled e-mail with automatic virus scanning. Visit http://www.canada.com/email/premiumservices.html for more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... Sever 2: hostname=machine3.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.8 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.9 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.10 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.9 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.10 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.11 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.10 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.11 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.12 netmask 255.255.255.255 ... Server 3, 4 and 5 similar with repeating patterns. So the original question was: When setting up an IP from any given block, do, or should I, need to use the real netmask that my ISP has assinged me (for the first), then, the single host (255) netmask for each of the rest (Again, from a specific IP block? I hope it is because I have hundreds of IPs set up that way. The reason I ask this question (again) is because I have one IP that does not want to work using the above paradigm. That is to say, that it IS the only IP from a specific block, on a particular machine, and it won't take using the real netmask, it will only work using the 255 netmask. Sincerly, -Confused (Grant). - Original Message - From: John Oxley [EMAIL PROTECTED] To: Grant Peel [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 7:55 AM Subject: Re: IPs , Netmasks and Broadcast. On Wed, Sep 14, 2005 at 12:00:12PM -0400, Grant Peel wrote: Now I am really confused. First of all install ipcalc NOW. Up until this morning I thought I had a good handle on when I need to use the real Netmask and Broadcast. For example, If I have 3 servers, and my upline asigns me a block of 128 addresses, for the first ip used (from this block) on each server, I would need to specify the IP, true netmask and a broadcase. Then, when using more IPs from that block, I would use a 255.255.255.255 netmask and a broadcast equal to the IP. No, a 255.255.255.255 netmask specifies a single host. If your ISP has given you 128 IPs, that is a /25 or netmask 255.255.255.128 as shown : [EMAIL PROTECTED]:~$ ipcalc 192.168.254.0/25 Address: 192.168.254.01100.10101000.1110.0 000 Netmask: 255.255.255.128 = 25 ...1 000 Wildcard: 0.0.0.127...0 111 = Network: 192.168.254.0/25 1100.10101000.1110.0 000 HostMin: 192.168.254.11100.10101000.1110.0 001 HostMax: 192.168.254.126 1100.10101000.1110.0 110 Broadcast: 192.168.254.127 1100.10101000.1110.0 111 Hosts/Net: 126 Class C, Private Internet So all your machines would have the same network and broadcast, and you would make them all use your gateway box as the default route. As you can see, a 255.255.255.255 netmask (/32) is only one host: [EMAIL PROTECTED]:~$ ipcalc 192.168.254.34/32 Address: 192.168.254.34 1100.10101000.1110.00100010 Netmask: 255.255.255.255 = 32 ... Wildcard: 0.0.0.0
Re: IPs , Netmasks and Broadcast.
Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. No, this is not what I said. I don't know if anyone else has posted on this since then. But, The next two chunks below represent what I said. jerry Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... - Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... Sever 2: hostname=machine3.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.8 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.9 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.10 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.9 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.10 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.11 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.10 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.11 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.12 netmask 255.255.255.255 ... Server 3, 4 and 5 similar with repeating patterns. So the original question was: When setting up an IP from any given block, do, or should I, need to use the real netmask that my ISP has assinged me (for the first), then, the single host (255) netmask for each of the rest (Again, from a specific IP block? I hope it is because I have hundreds of IPs set up that way. The reason I ask this question (again) is because I have one IP that does not want to work using the above paradigm. That is to say, that it IS the only IP from a specific block, on a particular machine, and it won't take using the real netmask, it will only work using the 255 netmask. Sincerly, -Confused (Grant). - Original Message - From: John Oxley [EMAIL PROTECTED] To: Grant Peel [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 7:55 AM Subject: Re: IPs , Netmasks and Broadcast. On Wed, Sep 14, 2005 at 12:00:12PM -0400, Grant Peel wrote: Now I am really confused. First of all install ipcalc NOW. Up until this morning I thought I had a good handle on when I need to use
Re: IPs , Netmasks and Broadcast.
Jerry, I apologise. Its late in the day for me and the email addresses are blending into one :-) Anyways, so the examples I put together are correct. Good. So I wonder why, the 1 IP I have, won't work with the real netmask, but only with the 255. One more item of note, I see in dmesg that when it tries to apply it, the message: arplookup xxx.xxx.xxx.xxx failed: host is not on local network -Grant P.S. This is a small block, only 30 ips. The other 29, including 1 with the real netmask, is on another machine working fine, right beside the machine I am referencing. - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John Oxley [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 8:56 AM Subject: Re: IPs , Netmasks and Broadcast. Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. No, this is not what I said. I don't know if anyone else has posted on this since then. But, The next two chunks below represent what I said. jerry Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... - Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... Sever 2: hostname=machine3.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.8 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.9 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.10 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.9 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.10 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.11 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.10 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.11 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.12 netmask 255.255.255.255 ... Server 3, 4 and 5 similar with repeating patterns. So the original question was: When setting up an IP from any given block, do, or should I, need to use the real netmask that my ISP has assinged me (for the first), then, the single host (255) netmask for each of the rest (Again, from a specific IP block? I hope it is because I have hundreds of IPs set up that way. The reason I ask this question (again) is because I have
Re: Printing with Firefox
Rem P Roberti wrote: When I attempt to either do a printview, or print, using Firefox the program shuts down. My printcap file contains entries that were automatically created by CUPS. Any ideas why the Firefox printing functions are inop? I solved that problem last night, but I'm not sure how. I was able to print from within Abiword, but Firefox would core-dump. I ended up doing two things, one of which apparently fixed the problem. First, when I ran apsfilter, I made sure a test page printed - then chose to add the new printer definition to my printcap file (before exiting SETUP). Second, in the printcap file, I changed the first line from ps|lp|aps1... to lp|ps|aps1... - since I read somewhere that lp was the real name for the printer. Now I can print. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problems with dual ethernet card
[EMAIL PROTECTED] (Tim Goodaire) writes: On Tue, Sep 13, 2005 at 04:48:21PM -0400, Lowell Gilbert wrote: [EMAIL PROTECTED] (Tim Goodaire) writes: On Tue, Sep 13, 2005 at 03:09:54PM -0300, [EMAIL PROTECTED] wrote: hi Tim, Is it listed here? http://www.freebsd.org/releases/5.4R/hardware-i386.html#ETHERNET No. It doesn't appear to be on that list. The card is an Intel Pro/100 S dual port adapter, and worked well with the eepro100 driver under Linux. So, am I out of luck using this card with FreeBSD? I'm not sure that all Pro/100 cards use the same hardware, but all the ones I've used are under the fxp driver, not dc. And I've got a dual-port here that works fine. I've been trying to read the documentation to figure out what to do about this. Basically, FreeBSD wants to use the dc driver for my card, and it should be using the fxp driver. Should I try and disable the dc driver in /boot/device.hints? I _think_ that this will just keep that driver from loading. Will I have to set up hints for the fxp driver also? I would build a kernel without the driver. And see what happens... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
proftpd + disable reverze UID/GID mapping
Hello *, I am using ProFTPd with MySQL authentication. Is possible to disable UID/GID mapping ? I can log into existing ftp account but when I use for example ftp command 'ls', connection is immediatedly terminated. The reason of termination is, that proftpd is trying to map UID/GID number to user/group names. In proftpd.conf I have: SQLUserInfoftp login password id + 1 as uid 1 as gid path NULL The error is obvious in SQL query ( /var/log/mysql.log ): Query SELECT login, password, id + 1 as uid, 1 as gid, path FROM ftp WHERE (id + 1 as uid = 0) LIMIT Is possible to disable this mapping ? 'PersistentPasswd off' seems doesn`t work. Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
Jerry, I apologise. Its late in the day for me and the email addresses are blending into one :-) Anyways, so the examples I put together are correct. Good. So I wonder why, the 1 IP I have, won't work with the real netmask, but only with the 255. One more item of note, I see in dmesg that when it tries to apply it, the message: Look carefully. I changed one thing in each group. Also, if you have a block of 128, your main mask would probably not be 255.255.2555.0. I think it would be 255.255.255.128. Anyway, all the aliases for any one NIC card must be 255.255.255.255. arplookup xxx.xxx.xxx.xxx failed: host is not on local network Probably because the ifconfig didn't work right with the wrong netmasks. -Grant P.S. This is a small block, only 30 ips. The other 29, including 1 with the real netmask, is on another machine working fine, right beside the machine I am referencing. You will have to calculate the mask somewhat based on the switch/router segment you are on.It is too early for me to think it out. jerry - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John Oxley [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 8:56 AM Subject: Re: IPs , Netmasks and Broadcast. Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. No, this is not what I said. I don't know if anyone else has posted on this since then. But, The next two chunks below represent what I said. jerry Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... - Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... Sever 2: hostname=machine3.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.8 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.9 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.10 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.9 netmask 255.255.255.0 ifconfig_em0_alias3=inet
Re: IPs , Netmasks and Broadcast.
Grant Peel wrote: Jerry, I apologise. Its late in the day for me and the email addresses are blending into one :-) Anyways, so the examples I put together are correct. Good. So I wonder why, the 1 IP I have, won't work with the real netmask, but only with the 255. One more item of note, I see in dmesg that when it tries to apply it, the message: arplookup xxx.xxx.xxx.xxx failed: host is not on local network -Grant P.S. This is a small block, only 30 ips. The other 29, including 1 with the real netmask, is on another machine working fine, right beside the machine I am referencing. - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John Oxley [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 8:56 AM Subject: Re: IPs , Netmasks and Broadcast. Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. No, this is not what I said. I don't know if anyone else has posted on this since then. But, The next two chunks below represent what I said. jerry Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... - Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... Sever 2: hostname=machine3.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.8 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.9 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.10 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.9 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.10 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.11 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.10 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.11 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.12 netmask 255.255.255.255 ... Server 3, 4 and 5 similar with repeating patterns. So the original question was: When setting up an IP from any given block, do, or should I, need to use the real netmask that my ISP has assinged me (for the first), then, the single host (255) netmask for each of the rest (Again, from a specific IP block? I hope it is because I have hundreds of IPs set up that way. The reason I ask this question
new error message from latest xorg-server?
I just updated 6 ports. One was xorg-server-6.8.2_5. Now I get this error message when I try to run wine inside fluxbox. Nothing else has changed. Can someone tell me why? X Error of failed request: BadAlloc (insufficient resources for operation) Major opcode of failed request: 53 (X_CreatePixmap) Serial number of failed request: 12785 Current serial number in output stream: 12787 waiting for X server to shut down FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/mi sc/ refcount is 2, should be 1; fixing. thanks, Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
mksnap_ffs rollback?
Hi, Is it possible in FreeBSD to rollback a snapshot that is done with mksnap_ffs or with mount -o snapshot? It seems that there is no way of doing that in FreeBSD am i right ? --- Omer Faruk Sen http://www.EnderUNIX.ORG Software Development Team @ Turkey http://www.Faruk.NET For Public key: http://www.enderunix.org/ofsen/ofsen.asc First Turkish Qmail book is out! Go check it. Duydunuz mu! Turkiye'nin ilk Qmail kitabi cikti. http://www.acikakademi.com/catalog/qmail/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
Jerry, I see, you changed the real netmask in the second and third group to 255. Hmm, I went through this before, and unless I added 1 ip from each block with the real netmask, the ip wouldnt take. FYI when my ISP sends me a new block, they always give me the network, router, broadcas address etc and I run them through ip calc, and they are always correct. Either way, I better revisit the Handbook/Manpage as it seems that I am asking the same question(s) that I thought were answered 5 years ago... Thanks for the help Jerry, -Grant - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; John Oxley [EMAIL PROTECTED] Sent: Thursday, September 15, 2005 9:31 AM Subject: Re: IPs , Netmasks and Broadcast. Jerry, I apologise. Its late in the day for me and the email addresses are blending into one :-) Anyways, so the examples I put together are correct. Good. So I wonder why, the 1 IP I have, won't work with the real netmask, but only with the 255. One more item of note, I see in dmesg that when it tries to apply it, the message: Look carefully. I changed one thing in each group. Also, if you have a block of 128, your main mask would probably not be 255.255.2555.0. I think it would be 255.255.255.128. Anyway, all the aliases for any one NIC card must be 255.255.255.255. arplookup xxx.xxx.xxx.xxx failed: host is not on local network Probably because the ifconfig didn't work right with the wrong netmasks. -Grant P.S. This is a small block, only 30 ips. The other 29, including 1 with the real netmask, is on another machine working fine, right beside the machine I am referencing. You will have to calculate the mask somewhat based on the switch/router segment you are on.It is too early for me to think it out. jerry - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John Oxley [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 8:56 AM Subject: Re: IPs , Netmasks and Broadcast. Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. No, this is not what I said. I don't know if anyone else has posted on this since then. But, The next two chunks below represent what I said. jerry Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... - Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ...
Re: new error message from latest xorg-server?
On Thu, Sep 15, 2005 at 09:40:22AM -0400, Larry wrote: I just updated 6 ports. One was xorg-server-6.8.2_5. Now I get this error message when I try to run wine inside fluxbox. Nothing else has changed. Can someone tell me why? [error message follows] I had a similar problem, although I was trying to run aterm. I switched to using to xterm for that session; next time I started X, the problem was gone. -- o--{ Will Maier }--o | jabber:[EMAIL PROTECTED] | email:[EMAIL PROTECTED] | | [EMAIL PROTECTED] | [EMAIL PROTECTED] | *--[ BSD Unix: Live Free or Die ]--* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PPP tunnel problem!
Hi, I am using the FreeBSD to become the NAS so that can provide PPPoE and PPP services to the clients which is worked with the Radius. I have successfully started the PPP and PPPoE services and connected to the internet with the authentication of the Radius. However, I face one serious problem. During the time the client was connecting to the internet, if the client unplugs the cable or shut down their PC without disconnection, the tunnel created was still remain in the NAS. This make the client cannot connect to the internet anymore as I set the radius not to allow any duplicated login. May I know is that anyway for the FreeBSD to kill the tunnel automatically when the client unplugs the cable or shutdown the PC without disconnection. I had tried the set timeout in the ppp.conf but I don't think this is the right solution. Please kindly reply. Thanks! Regards Felix ___ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ntp problem :(
Hello, I use a FreeBSD 5.3. I want to synchronize my 2 machines. I tried to connect to a ntp server, but I couldn't. When I type this command ntpdate -v ntp.imag.fr, I have the following message: host found ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ...no server suitable for synchronization found I tried also with adding the server name to ntp.conf and typing this command /etc/rc.d/ntpdate restart, but I have the same message. the ping to ntp.imag.fr responds very good have you some idea? may be perhaps I have a proxy , but I don't know what I must doing to synchronize my machines. Can you help me please? Many thanks, Souha ___ Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger Téléchargez cette version sur http://fr.messenger.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot
I have a 5.4-STABLE server that I've reconfigured to use syslog-ng instead of syslogd. It collects logs from all our servers and sorts them into per-host folders. Our network admin showed me his gentoo machine earlier which uses ccze to colour log files as they scroll up the screen. He wanted a high-res display with our whole network's logs scrolling in the background (as much for the geek-porn factor as the usefulness). After a lot of hacking and patching I managed to get the machine running 1024x768. I installed ccze, then modified syslog-ng.conf to use it as a destination: destination term { program(ccze -r /dev/ttyv7); }; I set syslog-ng to log all remote logs to this destination, and after re-starting syslog-ng to reload the config, it worked fine. However, for some reason way beyond me, it *will not work* after a reboot. I have to restart syslog-ng after a reboot before it will log to the virtual terminal. Here is the startup script I created in /usr/local/etc/rc.d/syslog-ng.sh: (the mountcritremote and cleanvar requirements I copied from the syslogd file - I assume I want devfs to access /dev/ttyv7) #!/bin/sh # # PROVIDE: syslogng # REQUIRE: devfs mountcritremote cleanvar # BEFORE: SERVERS . /etc/rc.subr name=syslogng rcvar=`set_rcvar` required_files=/usr/local/etc/syslog-ng/syslog-ng.conf command=/usr/local/sbin/syslog-ng load_rc_config $name run_rc_command $1 Maybe this is some subtle quirk of the boot process that I haven't understood. Can anybody help? Cheers Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntp problem :(
bannour souha wrote: Hello, I use a FreeBSD 5.3. I want to synchronize my 2 machines. I tried to connect to a ntp server, but I couldn't. When I type this command ntpdate -v ntp.imag.fr, I have the following message: host found ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ...no server suitable for synchronization found I tried also with adding the server name to ntp.conf and typing this command /etc/rc.d/ntpdate restart, but I have the same message. the ping to ntp.imag.fr responds very good have you some idea? may be perhaps I have a proxy , but I don't know what I must doing to synchronize my machines. Can you help me please? Many thanks, Souha the NTP server is not the cause of your problem it seems that *your* machine hasen't a direct access to the Internet. ( no route to host ) -- Cordialement/Regards Frank Bonnet ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
Jason King wrote: I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. I used that tutorial on different machines and it has always worked. Maybe you have to substitute da0 with something else, that depends on your hardware. Can you provide a your dmesg at boot time? bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
On Thu, Sep 15, 2005 at 09:31:20AM -0400, Jerry McAllister wrote: Anyway, all the aliases for any one NIC card must be 255.255.255.255. Not so. All aliases for any one NIC on the same network must be 0x. If you have an alias which is on another network, then the first alias on that network must use that networks netmask and then all the other aliases on the same network use 0x. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html But when you have two different networks on one NIC, I think you may have to do some routing (I'm lucky, I just do the routing on the Cisco switches that all our servers are plugged into :). Have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html Also google for or dual homed or something like that. I can't remember exactly what you have to do because I haven't done it in so long. -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: proftpd + disable reverze UID/GID mapping
Vladimir Dvorak wrote: Hello *, I am using ProFTPd with MySQL authentication. Is possible to disable UID/GID mapping ? I can log into existing ftp account but when I use for example ftp command 'ls', connection is immediatedly terminated. The reason of termination is, that proftpd is trying to map UID/GID number to user/group names. In proftpd.conf I have: SQLUserInfoftp login password id + 1 as uid 1 as gid path NULL The error is obvious in SQL query ( /var/log/mysql.log ): Query SELECT login, password, id + 1 as uid, 1 as gid, path FROM ftp WHERE (id + 1 as uid = 0) LIMIT Is possible to disable this mapping ? 'PersistentPasswd off' seems doesn`t work. Vladimir If there is directory, which has the same uid as user logged in, its ok. Problem occures when this directory has another uid - then proftpd uid/gid subsystem tries to query mysql to find out proper name to uid/gid number. Vladimir ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
On Thu, Sep 15, 2005 at 09:31:20AM -0400, Jerry McAllister wrote: Anyway, all the aliases for any one NIC card must be 255.255.255.255. Not so. All aliases for any one NIC on the same network must be 0x. If you have an alias which is on another network, then the first alias on that network must use that networks netmask and then all the other aliases on the same network use 0x. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-virtual-hosts.html But when you have two different networks on one NIC, I think you may have to do some routing (I'm lucky, I just do the routing on the Cisco switches that all our servers are plugged into :). Well, I think you are getting in to complications that are beyond what the questioner asked. jerry Have a look at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-routing.html Also google for or dual homed or something like that. I can't remember exactly what you have to do because I haven't done it in so long. -John ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: IE in FreeBSD?
My opinion on WINE is that it merely harms people who are writing software for FreeBSD. If I write a wordprocessor for Linux or FreeBSD and try to sell it, why would a customer buy it when he can just use his Microsoft Word under Wine? As a result the existence of these programs discourages interest in native FreeBSD programs, and encourages people not to wholeheartedly switch over to FreeBSD. It also gives an excuse to software developers not to bother writing software for open source development since they can always run it on wine Ted I often hear this said, but I don't think it is true. As far as I can tell, there is essentially no commercial software written for FreeBSD (and very little for Linux) as it stands, and while the FOSS software has improved a great deal, much of that targeted for the desktop is either not good enough or simply does not exist at all. Wine will always be a compromise: some (but with hope, an increasing number of) important programs will work very well, some will perform with limited functionality which may be OK for a few selected tasks, and many or most will not work well enough if they work at all. They will also continue to be difficult to integrate with other desktop programs, even more so than Linux programs which are bad enough already. They simply are not a replacement for native programs unless no alternative exists. Your early proposed solution of running a remote desktop to run the real windows program also does not encourage writers to introduce a FreeBSD program version. Instead of saying run it on Wine, one could always say run it on a remote desktop. Old computers that may well be good enough for such occasional use are very inexpensive. Why then would anyone run a native version? I think that the best way to increase the number of native programs written for or ported to FreeBSD is to increase its market share, particularly on the desktop. The rapid acceptance of desktop-oriented versions of FreeBSD, such as PC-BSD and DesktopBSD, I find very heartening. But as long as the OS has such a small market share, we will have to rely on such non-optimal solutions such as qemu, Wine, CrossOver Office and the like. Sadly, I think this will be the case for the near-term future of a few years at least. It will likely be longer. In the short term, I have work to do that requires windows programs, or at least the function of certain windows programs. Not IE, as the original poster of this thread, but others that are common in the Windows world. I'd like to use a single computer and its tools for this purpose -- the workflow is so much more convenient. As it stands, I cannot turn wholeheartedly to FreeBSD until I can perform the sort of tasks I need to -- I will always need a Windows box for too many things otherwise. And I certainly can't subject my employees to this situation, unless they are Unix heads like me. That's why I started the petition to CodeWeavers to port CrossOver Office to BSD. That product may not be the perfect solution, but it would sure help me a lot with most of the needs I have now. That petition is located at http://www.bsdnexus.com/petition.asp and to date we have nearly 900 signatories. If you have not signed, I would encourage you to do so. Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
Jerry, I see, you changed the real netmask in the second and third group to 255. No, I changed the alias' netmask, not the real one. Hmm, I went through this before, and unless I added 1 ip from each block with the real netmask, the ip wouldnt take. FYI when my ISP sends me a new block, they always give me the network, router, broadcas address etc and I run them through ip calc, and they are always correct. Either way, I better revisit the Handbook/Manpage as it seems that I am asking the same question(s) that I thought were answered 5 years ago... that is always a good idea. jerry Thanks for the help Jerry, -Grant - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: freebsd-questions@freebsd.org; John Oxley [EMAIL PROTECTED] Sent: Thursday, September 15, 2005 9:31 AM Subject: Re: IPs , Netmasks and Broadcast. Jerry, I apologise. Its late in the day for me and the email addresses are blending into one :-) Anyways, so the examples I put together are correct. Good. So I wonder why, the 1 IP I have, won't work with the real netmask, but only with the 255. One more item of note, I see in dmesg that when it tries to apply it, the message: Look carefully. I changed one thing in each group. Also, if you have a block of 128, your main mask would probably not be 255.255.2555.0. I think it would be 255.255.255.128. Anyway, all the aliases for any one NIC card must be 255.255.255.255. arplookup xxx.xxx.xxx.xxx failed: host is not on local network Probably because the ifconfig didn't work right with the wrong netmasks. -Grant P.S. This is a small block, only 30 ips. The other 29, including 1 with the real netmask, is on another machine working fine, right beside the machine I am referencing. You will have to calculate the mask somewhat based on the switch/router segment you are on.It is too early for me to think it out. jerry - Original Message - From: Jerry McAllister [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: John Oxley [EMAIL PROTECTED]; freebsd-questions@freebsd.org Sent: Thursday, September 15, 2005 8:56 AM Subject: Re: IPs , Netmasks and Broadcast. Thanks John, What you are saying make perfect sense based on what I've had to do in the past. Just to clarify ... Lets say I have 5 machines (which I do) And lets say I have 10 blocks of IP address from my upline (which I do) 1.1.1.1/24 2.2.2.2/24 3.3.3.3/24 4.4.4.4/24 ... And, lets say that I need to set up various IPs, from each of the groups above, on all 5 of the servers. To keep the explanation easy to follow, I will put what I might have in rc.conf for each machine, Leaving out the gateway IPs as they are not realevent to the question...my router setting work fine. No, this is not what I said. I don't know if anyone else has posted on this since then. But, The next two chunks below represent what I said. jerry Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.5 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.6 netmask 255.255.255.255 ... Sever 2: hostname=machine2.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.5 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.6 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.7 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.6 netmask 255.255.255.255 ifconfig_em0_alias3=inet 2.2.2.7 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.8 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.7 netmask 255.255.255.255 ifconfig_em0_alias6=inet 3.3.3.8 netmask 255.255.255.255 ifconfig_em0_alias7=inet 3.3.3.9 netmask 255.255.255.255 ... - Sever 1: hostname=machine1.mydomain.com defaultrouter=some ip here ifconfig_em0=inet 1.1.1.2 netmask 255.255.255.0 ifconfig_em0_alias0=inet 1.1.1.3 netmask 255.255.255.255 ifconfig_em0_alias1=inet 1.1.1.4 netmask 255.255.255.255 ... ifconfig_em0_alias2=inet 2.2.2.3 netmask 255.255.255.0 ifconfig_em0_alias3=inet 2.2.2.4 netmask 255.255.255.255 ifconfig_em0_alias4=inet 2.2.2.5 netmask 255.255.255.255 ... ifconfig_em0_alias5=inet 3.3.3.4 netmask 255.255.255.0
Re: mksnap_ffs rollback?
In the last episode (Sep 15), Omer Faruk Sen said: Is it possible in FreeBSD to rollback a snapshot that is done with mksnap_ffs or with mount -o snapshot? It seems that there is no way of doing that in FreeBSD am i right ? Correct. The best you can do is dd or dumprestore the snapshot to a new disk. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
The instructions say to use ad0 and ad1 as the /dev names but those devices don't exist on my server. The device names are da0 and da1. I'd be glad to post anything you wish, but I don't know what the dmesg is, or how I get it. Can you tell me where I can get that information? Jason Andrea Venturoli wrote: Jason King wrote: I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. I used that tutorial on different machines and it has always worked. Maybe you have to substitute da0 with something else, that depends on your hardware. Can you provide a your dmesg at boot time? bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
Grant Peel wrote: Hi All, Now I am really confused. Up until this morning I thought I had a good handle on when I need to use the real Netmask and Broadcast. For example, If I have 3 servers, and my upline asigns me a block of 128 addresses, for the first ip used (from this block) on each server, I would need to specify the IP, true netmask and a broadcase. Then, when using more IPs from that block, I would use a 255.255.255.255 netmask and a broadcast equal to the IP. Google CIDR IP Netmask IP broadcast HTH. Today, I was in this exact position where I was tring to add an (the first one one THAT machine, from that block) IP from a block that is almost completely used up on another server, and the one I was adding it to would not take it. When I tried adding it with a 255.255.255.255 netmask, and a broadcast eaqual to the amount of IPs from that block - it worked. this is on a FreeBSD 4.10 machine. WHich way is correct for 4.7 and higher? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IPs , Netmasks and Broadcast.
Eric Schuele wrote: Grant Peel wrote: Hi All, Now I am really confused. Up until this morning I thought I had a good handle on when I need to use the real Netmask and Broadcast. For example, If I have 3 servers, and my upline asigns me a block of 128 addresses, for the first ip used (from this block) on each server, I would need to specify the IP, true netmask and a broadcase. Then, when using more IPs from that block, I would use a 255.255.255.255 netmask and a broadcast equal to the IP. Google CIDR IP Netmask IP broadcast HTH. Hmmm... I may have had a tad too much coffee this morning. I think I read over your OP too quick and probably have not answered the question properly. Its all good reading... but probably not applicable to your problem. Today, I was in this exact position where I was tring to add an (the first one one THAT machine, from that block) IP from a block that is almost completely used up on another server, and the one I was adding it to would not take it. When I tried adding it with a 255.255.255.255 netmask, and a broadcast eaqual to the amount of IPs from that block - it worked. this is on a FreeBSD 4.10 machine. WHich way is correct for 4.7 and higher? -Grant ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Regards, Eric ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot build eiciel ...
Kiffin Gish [EMAIL PROTECTED] writes: Under the /usr/ports/x11/gnome2-power-tools, everything goes alright until the last dependency for '/usr/ports/sysutils/eiciel' which bails out with the error message: -start- libtool: link: `clipboard.lo' is not a valid libtool object gmake[5]: *** [libgtkmm-2.4.la] Error 1 gmake[5]: Leaving directory `/usr/ports/x11-toolkits/gtkmm24/work/gtkmm-2.6.3/gtk/gtkmm' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/x11-toolkits/gtkmm24/work/gtkmm-2.6.3/gtk/gtkmm' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/gtkmm24/work/gtkmm-2.6.3/gtk' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/x11-toolkits/gtkmm24/work/gtkmm-2.6.3/gtk' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11-toolkits/gtkmm24/work/gtkmm-2.6.3' gmake: *** [all] Error 2 *** Error code 2 Stop in /usr/ports/x11-toolkits/gtkmm24. *** Error code 1 Stop in /usr/ports/sysutils/eiciel. *** Error code 1 Stop in /usr/ports/x11/gnome2-power-tools. -end- Anyone know why this is happening? Works for me on RELENG_5 and recent ports... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot
Ashley Moran wrote: I have a 5.4-STABLE server that I've reconfigured to use syslog-ng instead of syslogd. It collects logs from all our servers and sorts them into per-host folders. Our network admin showed me his gentoo machine earlier which uses ccze to colour log files as they scroll up the screen. He wanted a high-res display with our whole network's logs scrolling in the background (as much for the geek-porn factor as the usefulness). After a lot of hacking and patching I managed to get the machine running 1024x768. I installed ccze, then modified syslog-ng.conf to use it as a destination: destination term { program(ccze -r /dev/ttyv7); }; I set syslog-ng to log all remote logs to this destination, and after re-starting syslog-ng to reload the config, it worked fine. However, for some reason way beyond me, it *will not work* after a reboot. I have to restart syslog-ng after a reboot before it will log to the virtual terminal. Here is the startup script I created in /usr/local/etc/rc.d/syslog-ng.sh: (the mountcritremote and cleanvar requirements I copied from the syslogd file - I assume I want devfs to access /dev/ttyv7) #!/bin/sh # # PROVIDE: syslogng # REQUIRE: devfs mountcritremote cleanvar # BEFORE: SERVERS . /etc/rc.subr name=syslogng rcvar=`set_rcvar` required_files=/usr/local/etc/syslog-ng/syslog-ng.conf command=/usr/local/sbin/syslog-ng load_rc_config $name run_rc_command $1 Maybe this is some subtle quirk of the boot process that I haven't understood. Can anybody help? The requirements like BEFORE: SERVERS are not honoured by scripts in /usr/local/etc/rc.d. Try placing the script in /etc/rc.d calling it say syslogng (i.e. without the .sh). man rc has more info, as would scanning back through the freebsd-rc archives. I believe that work to make scripts in /usr/local/etc/rc.d work more like system scripts will appear sometime in 6.X, though full integration is, I believe, not expected until 7.X. Right now, your syslogng will be being started *after* lots of servers that might expect to talk to it. I assume you put syslogng_enable=YES into /etc/rc.conf? as well as syslogd_enable=NO. (Or, it might work just to change syslogd_program=/path/to/syslogngd and not bother with changing anything else). --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
keeping CPU usage low
Hi, Is there a way to make the kernel HALT the CPU regularly even when it has got runnable processes? Sort of like increasing the idle thread priority? The problem is with one my computers which has a buggy CPU. No matter how many or how powerful fans I install, when there's a CPU usage of 100% for over ~5 minutes it just overheats and crashes the system. If the CPU usage on average never exceeds, say, 80%, the system keeps functioning just fine. Therefore it'd be a shame to throw the cpu out just for this reason. So is it possible to make the kernel always keep CPU usage lower than some value? Maybe without hacking the source? Atis ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot
Alex Zbyslaw wrote: The requirements like BEFORE: SERVERS are not honoured by scripts in /usr/local/etc/rc.d. Try placing the script in /etc/rc.d calling it say syslogng (i.e. without the .sh). The BEFORE: doesn't bother me too much. I don't care enormously if I lose a bit of logging. I just put it in to match syslogd's setup. man rc has more info, as would scanning back through the freebsd-rc archives. I believe that work to make scripts in /usr/local/etc/rc.d work more like system scripts will appear sometime in 6.X, though full integration is, I believe, not expected until 7.X. I've only got a partial handle on the rc process. A lot of it is black magic to me! (aside: I thought Apple's launchd was pencilled in for at least FreeBSD 7 - which would render rc obsolete.) Right now, your syslogng will be being started *after* lots of servers that might expect to talk to it. I assume you put syslogng_enable=YES into /etc/rc.conf? as well as syslogd_enable=NO. (Or, it might work just to change syslogd_program=/path/to/syslogngd and not bother with changing anything else). Yes, syslog-ng is running fine (I'd already configured rc.conf like you say). The problem is that it has a destination set up to pipe to the program ccze, and that pipe doesn't work unless I restart syslog-ng after boot time. I've also tried moving the script into /etc/rc.d and renaming it syslogng. After removing the devfs requirement it boots ok, but still requires a syslog-ng restart. Perhaps the ttyv7 isn't properly created until after all the local rc scripts are run? That's all I can think. I can live with it how it is but it's frustrating that this little thing won't work! I've become obsessed with my logs... I want every machine logged centrally, scanned, summarized and e-mailed on significant events. And our network administrator wants them colour-coded and on display at the back of the office. Perhaps the real problem isn't technical! Thanks for your thoughts anyway. Ashley ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
Andrea Venturoli wrote: I used that tutorial on different machines and it has always worked. Maybe you have to substitute da0 with something else, that depends on your hardware. Can you provide a your dmesg at boot time? bye av. Hi Jason: 1) please do NOT top post (i.e., don't reply @ the top of the email, it makes hell of understanding the thread). I've reordered this reply. Jason King wrote: The instructions say to use ad0 and ad1 as the /dev names but those devices don't exist on my server. The device names are da0 and da1. if you have scsi drives, it'll be da# (direct access #), S/PATA drives = ad# . Hence you *seem* to be using the right command. I'd be glad to post anything you wish, but I don't know what the dmesg is, or how I get it. Can you tell me where I can get that information? Jason 2) man dmesg and, btw, the steps in that howto definitely work...as a guide, just like any how to. there are always tweaks here and there to be done, which is why you should understand the steps rather than following them blindly and expecting them to work in your situation (although the gmirror bootstrap guide you refer to is actually pretty good). Beto ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot
Ashley Moran wrote: Yes, syslog-ng is running fine (I'd already configured rc.conf like you say). The problem is that it has a destination set up to pipe to the program ccze, and that pipe doesn't work unless I restart syslog-ng after boot time. I've also tried moving the script into /etc/rc.d and renaming it syslogng. After removing the devfs requirement it boots ok, but still requires a syslog-ng restart. Ashley, before the restart of syslog-ng, is there any output to ttyv7 at all? Perhaps the ttyv7 isn't properly created until after all the local rc scripts are run? That's all I can think. you may want to edit the syslogng.sh to add some debug lines to see if ttyv7 is up @ that point in time. based on the result of this, you may want to background (sleep? wait and try again?) the launch of syslogng until after the ttyv7 is ready. or figure out in which order things are started and make sure the ttyvs are launched before syslogng good luck, B ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: keeping CPU usage low
On Sep 15, 2005, at 11:36 AM, Atis wrote: Is there a way to make the kernel HALT the CPU regularly even when it has got runnable processes? Sort of like increasing the idle thread priority? The problem is with one my computers which has a buggy CPU. No matter how many or how powerful fans I install, when there's a CPU usage of 100% for over ~5 minutes it just overheats and crashes the system. If your system hardware supports ACPI power management, you might be able to use the powerd/cpufreq stuff to throttle your CPU to a lower speed. You might also try underclocking the CPU in your BIOS and/or or set it to a lower clock divider depending on the details of what your hardware supports. -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Software RAID1
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason King Sent: Thursday, September 15, 2005 5:16 AM To: freebsd-questions@freebsd.org Subject: Software RAID1 I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. Jason ___ Those instructions work fine, but you have to be very careful following them. (See below) An alternate way to use gmirror for software mirroring as is described in http://dannyman.toldme.com/2005/01/24/freebsd-howto-gmirror-system/ These work fine as well. Ralf's instructions, which you quote above, have the advantage of not needing to go into Fixit mode using the 5.4 boot CD (hence it can be executed remotely); however, it takes more typing and more reboots. If you use the latter, note that Ralf uses ATA drives ad0 and ad1, while it looks like you may have da0 and da1. You need to make the appropriate transliteration ad -- da very carefully, especially in the line for the boot loader where ad(1,a) -- da(1,a). This latter paper also outlines how to mirror at the slice, rather than the disk, level. One final hint: if you are playing around with gmirror on the same disks, you can get into a situation where one attempt has left gmirror information on the last sector of your disks. This will confuse gmirror, and you will have to load and use gmirror to clear it out. (or zero the entire disk with dd if=/dev/zero.) Read the man pages on gmirror in any case!!! Best of luck, -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
The instructions say to use ad0 and ad1 as the /dev names but those devices don't exist on my server. The device names are da0 and da1. I'd be glad to post anything you wish, but I don't know what the dmesg is, or how I get it. Can you tell me where I can get that information? ado, ad1adnn are IDE devices. da0, da1dann are SCSI devices. Use whichever you have. jerry Jason Andrea Venturoli wrote: Jason King wrote: I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. I used that tutorial on different machines and it has always worked. Maybe you have to substitute da0 with something else, that depends on your hardware. Can you provide a your dmesg at boot time? bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
FreeBSD 5.4 Custom CD making...
Hi, I wanted to create a custom FreeBSD 5.4, which will include my needed packages, and the partition type(ie / , /var, /usr and the partition size) what I prefix, this will not ask user with sysinstall options, if needed only root password. In short making my own distro. I hope some one have this valuable info.. - How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot
Norberto Meijome wrote: Perhaps the ttyv7 isn't properly created until after all the local rc scripts are run? That's all I can think. you may want to edit the syslogng.sh to add some debug lines to see if ttyv7 is up @ that point in time. based on the result of this, you may want to background (sleep? wait and try again?) the launch of syslogng until after the ttyv7 is ready. or figure out in which order things are started and make sure the ttyvs are launched before syslogng Given that anything in /usr/local/etc will start after anything in /etc, I would really expect a virtual tty to be available. I don't suppose that syslogng is logging an error anywhere? (Not on ttyv7, obviously :-)) --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ntp problem :(
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frank Bonnet Sent: Thursday, September 15, 2005 7:12 AM To: bannour souha Cc: freebsd-questions@freebsd.org Subject: Re: ntp problem :( bannour souha wrote: Hello, I use a FreeBSD 5.3. I want to synchronize my 2 machines. I tried to connect to a ntp server, but I couldn't. When I type this command ntpdate -v ntp.imag.fr, I have the following message: host found ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ntpdate (imag.imag.fr) : No route to host ...no server suitable for synchronization found I tried also with adding the server name to ntp.conf and typing this command /etc/rc.d/ntpdate restart, but I have the same message. the ping to ntp.imag.fr responds very good have you some idea? may be perhaps I have a proxy , but I don't know what I must doing to synchronize my machines. Can you help me please? Many thanks, Souha the NTP server is not the cause of your problem it seems that *your* machine hasen't a direct access to the Internet. ( no route to host ) -- Cordialement/Regards Frank Bonnet Hmm, pinging from here I see that ntp.imag.fr = imag.imag.fr = 129.80.30.1 so if you can ping that address then you have low level connectivity. One possibility is that something in the middle is blocking port 37. First do a traceroute and see what is in your route to ntp.imag.fr. Could one of the hops stop your ntpdate request? E.g. a firewall? Are you sure that the time service is running? Can you get to it from another machine? Does ntp.imag.fr require that you register to use ntp? If so, their firewall would block you until you register. -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
So can I assume that these instructions will work with any device? I realized that I didn't double check this: especially in the line for the boot loader where ad(1,a) -- da(1,a). I didn't double check that. I'll follow through the instructions again and make the correct change this time and we'll see what happens. I don't have a problem until I have to reboot. That is when the instructions want you to dd the first disk then add the first disk to the gm0 mirror. Both commands give me errors. THe dd command right after reboot gives command not allowed. And the gmirror add command give can't access provider. I'll try again and let the list know what happens. Jason Jerry McAllister wrote: The instructions say to use ad0 and ad1 as the /dev names but those devices don't exist on my server. The device names are da0 and da1. I'd be glad to post anything you wish, but I don't know what the dmesg is, or how I get it. Can you tell me where I can get that information? ado, ad1adnn are IDE devices. da0, da1dann are SCSI devices. Use whichever you have. jerry Jason Andrea Venturoli wrote: Jason King wrote: I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. I used that tutorial on different machines and it has always worked. Maybe you have to substitute da0 with something else, that depends on your hardware. Can you provide a your dmesg at boot time? bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
Ok, I made the correction and I'm still getting these errors: mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79 dd: /dev/da0: Operation not permitted mail# gmirror configure -a gm0 mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. You can see from the above what section I am working on. It doesn't make sense to me. I'm following the instructions verbatim. I only created one slice and one partition. Any other ideas? Jason Jerry McAllister wrote: The instructions say to use ad0 and ad1 as the /dev names but those devices don't exist on my server. The device names are da0 and da1. I'd be glad to post anything you wish, but I don't know what the dmesg is, or how I get it. Can you tell me where I can get that information? ado, ad1adnn are IDE devices. da0, da1dann are SCSI devices. Use whichever you have. jerry Jason Andrea Venturoli wrote: Jason King wrote: I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. I used that tutorial on different machines and it has always worked. Maybe you have to substitute da0 with something else, that depends on your hardware. Can you provide a your dmesg at boot time? bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
building/porting linux SIS965L driver
I'm building (or trying to build) an amd64 FreeBSD machine to replace my FreeBSD 4.4 server. I purchased an ASUS Vintage-AE1 MB that uses the following chipsets: Northbridge: SiS760GX Southbridge: SiS965L I've not been able to get the on-board NIC to light up, so I purchased another NIC which works alright. It's bothering me too much that the chipset isn't supported (http://www.freebsd.org/platforms/amd64/motherboards.html) but many of the other ASUS MB chipsets are. This seems like a great machine and I suspect there are plenty more machines that will be using this barebones box as a starting place (of course, I'll be wrong in a year anyways). I've found the linux driver for the on-board NIC and since I've never ported a driver for FreeBSD, I'm trying to figure out how much work it will be to port the driver to FreeBSD-6.0? I've snooped around in the /usr/src/sys/pci/if_sis.c /usr/src/sys/pci/if_sisreg.h 6.0Beta4 files to simply examine the bsd code. To my novice eyes, the files look completely different from the linux drivers and I'm not sure I can takle this myself since I've never done anything like this. Can someone help me through this process, or is this not worth the trouble? Jeff. --- Jeff D. Hamann Forest Informatics, Inc. PO Box 1421 Corvallis, Oregon USA 97339-1421 541-754-1428 [EMAIL PROTECTED] www.forestinformatics.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
Here is the dmesg boot output --- Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III (651.48-MHz 686-class CPU) Origin = GenuineIntel Id = 0x681 Stepping = 1 Features=0x383f9ffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 268173312 (255 MB) avail memory = 252760064 (241 MB) pnpbios: Bad PnP BIOS data checksum npx0: math processor on motherboard npx0: INT 16 interface acpi0: INTEL TR440BXA on motherboard acpi0: Power Button (fixed) Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 24-bit timer at 3.579545MHz port 0x408-0x40b on acpi0 cpu0: ACPI CPU (3 Cx states) on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 isab0: PCI-ISA bridge at device 7.0 on pci0 isa0: ISA bus on isab0 atapci0: Intel PIIX4 UDMA33 controller port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: Intel 82371AB/EB (PIIX4) USB controller port 0xef80-0xef9f irq 5 at device 7.2 on pci0 usb0: Intel 82371AB/EB (PIIX4) USB controller on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: bridge at device 7.3 (no driver attached) fxp0: Intel 82559 Pro/100 Ethernet port 0xef00-0xef3f mem 0xfea0-0xfeaf,0xfebfa000-0xfebfafff irq 7 at device 12.0 on pci0 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:d0:b7:1e:b6:80 fxp1: Intel 82559 Pro/100 Ethernet port 0xee80-0xeebf mem 0xfe80-0xfe8f,0xfebf9000-0xfebf9fff irq 7 at device 13.0 on pci0 miibus1: MII bus on fxp1 inphy1: i82555 10/100 media interface on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:d0:b7:1e:b6:81 pci0: display, VGA at device 14.0 (no driver attached) ahc0: Adaptec 29160B Ultra160 SCSI adapter port 0xe800-0xe8ff mem 0xfebfb000-0xfebfbfff irq 10 at device 15.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs acpi_button0: Sleep Button on acpi0 atkbdc0: Keyboard controller (i8042) port 0x64,0x60 irq 1 on acpi0 atkbd0: AT Keyboard irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: floppy drive controller port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0 fd0: 1440-KB 3.5 drive on fdc0 drive 0 sio0: 16550A-compatible COM port port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio1: 16550A-compatible COM port port 0x2f8-0x2ff irq 3 on acpi0 sio1: type 16550A orm0: ISA Option ROMs at iomem 0xcf800-0xd07ff,0xce800-0xcf7ff,0xc-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: System console at flags 0x100 on isa0 sc0: VGA 16 virtual consoles, flags=0x300 vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounter TSC frequency 651479500 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM CD-224E/1.5A at ata1-master PIO4 Waiting 15 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 3 lun 0 da0: QUANTUM ATLAS10K3_36_SCA 020W Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) da1 at ahc0 bus 0 target 4 lun 0 da1: QUANTUM ATLAS10K3_36_SCA 020W Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) GEOM_MIRROR: Device gm0 created (id=2346568249). GEOM_MIRROR: Device gm0: provider da1 detected. GEOM_MIRROR: Device gm0: provider da1 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. Mounting root from ufs:/dev/da0s1a Pre-seeding PRNG: kickstart . Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart . swapon: adding /dev/da0s1b as swap device Starting file system checks: /dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1a: clean, 16302862 free (67062 frags, 2029475 blocks, 0.4% fragmentation) Setting hostname: mail.govdeals.com. fxp0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500 options=8VLAN_MTU inet 192.168.1.165 netmask 0xff00 broadcast 192.168.1.255 inet6 fe80::2d0:b7ff:fe1e:b680%fxp0 prefixlen 64 tentative scopeid 0x1 ether 00:d0:b7:1e:b6:80 media: Ethernet autoselect (100baseTX full-duplex) status: active lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384 inet 127.0.0.1 netmask 0xff00
Re: Software RAID1
Also, I noticed that this command: sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig /mnt/etc/fstab Doesn't seem to do anything to the fstab file on the second disk. Isn't it suppose to be changing something? Jason Jerry McAllister wrote: The instructions say to use ad0 and ad1 as the /dev names but those devices don't exist on my server. The device names are da0 and da1. I'd be glad to post anything you wish, but I don't know what the dmesg is, or how I get it. Can you tell me where I can get that information? ado, ad1adnn are IDE devices. da0, da1dann are SCSI devices. Use whichever you have. jerry Jason Andrea Venturoli wrote: Jason King wrote: I am having trouble with THESE instructions: http://people.freebsd.org/~rse/mirror/ I'm trying to create a RAID1 system with FreeBSD and the instructions are not working. I'm getting this error: mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. The command is trying to add the first disk /dev/da0 to the mirror gm0. Has anyone else had success at creating a RAID1 mirror on FreeBSD. If so, please let me know how you did it because these instructions are not working at all. I used that tutorial on different machines and it has always worked. Maybe you have to substitute da0 with something else, that depends on your hardware. Can you provide a your dmesg at boot time? bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Software RAID1
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason King Sent: Thursday, September 15, 2005 10:27 AM To: Jerry McAllister Cc: Andrea Venturoli; freebsd-questions@freebsd.org Subject: Re: Software RAID1 Ok, I made the correction and I'm still getting these errors: mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79 dd: /dev/da0: Operation not permitted mail# gmirror configure -a gm0 mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. You can see from the above what section I am working on. It doesn't make sense to me. I'm following the instructions verbatim. I only created one slice and one partition. Any other ideas? Jason Please post the relevant portions of dmesg so that we can see what hardware (disks and controllers) you've got. -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
Appoligies: Waiting 15 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 3 lun 0 da0: QUANTUM ATLAS10K3_36_SCA 020W Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) da1 at ahc0 bus 0 target 4 lun 0 da1: QUANTUM ATLAS10K3_36_SCA 020W Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) GEOM_MIRROR: Device gm0 created (id=2346568249). GEOM_MIRROR: Device gm0: provider da1 detected. GEOM_MIRROR: Device gm0: provider da1 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. Mounting root from ufs:/dev/da0s1a Gayn Winters wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason King Sent: Thursday, September 15, 2005 10:27 AM To: Jerry McAllister Cc: Andrea Venturoli; freebsd-questions@freebsd.org Subject: Re: Software RAID1 Ok, I made the correction and I'm still getting these errors: mail# dd if=/dev/zero of=/dev/da0 bs=512 count=79 dd: /dev/da0: Operation not permitted mail# gmirror configure -a gm0 mail# gmirror insert gm0 /dev/da0 Cannot access provider da0. You can see from the above what section I am working on. It doesn't make sense to me. I'm following the instructions verbatim. I only created one slice and one partition. Any other ideas? Jason Please post the relevant portions of dmesg so that we can see what hardware (disks and controllers) you've got. -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: Software RAID1
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason King Sent: Thursday, September 15, 2005 10:37 AM To: Jerry McAllister Cc: Andrea Venturoli; freebsd-questions@freebsd.org Subject: Re: Software RAID1 Also, I noticed that this command: sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig /mnt/etc/fstab Doesn't seem to do anything to the fstab file on the second disk. Isn't it suppose to be changing something? Jason Yes, and you need to replace ad0 -- da0 -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
Man I'm a moron. That sed command was what was screwing me up. I couldn't see the ad0 until you pointed it out. Thanks so much. I think that's got it...the synchronization is going onright now. Jason Gayn Winters wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jason King Sent: Thursday, September 15, 2005 10:37 AM To: Jerry McAllister Cc: Andrea Venturoli; freebsd-questions@freebsd.org Subject: Re: Software RAID1 Also, I noticed that this command: sed -e 's/dev\/ad0/dev\/mirror\/gm0/g' /mnt/etc/fstab.orig /mnt/etc/fstab Doesn't seem to do anything to the fstab file on the second disk. Isn't it suppose to be changing something? Jason Yes, and you need to replace ad0 -- da0 -gayn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Command not in PATH when just installed?
Hi there, I'm new on this list. I tried looking at the archive, but I didn't know how to formulate my search. Here is my question: I install a package using pkg_add. Then I try running the command, but it doesn't work. I logout, I login, then it works. Is this a FAQ or a setting? Thanks, -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command not in PATH when just installed?
In the last episode (Sep 15), Ugo Bellavance said: I'm new on this list. I tried looking at the archive, but I didn't know how to formulate my search. Here is my question: I install a package using pkg_add. Then I try running the command, but it doesn't work. I logout, I login, then it works. Is this a FAQ or a setting? Some shells cache the command list in PATH for performance. Try running rehash and see if the command appears. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IE in FreeBSD?
On Sep 15, 2005, at 7:23 AM, Frank Jahnke wrote: My opinion on WINE is that it merely harms people who are writing software for FreeBSD. If I write a wordprocessor for Linux or FreeBSD and try to sell it, why would a customer buy it when he can just use his Microsoft Word under Wine? Because it's an industry standard. Unless you come up with a better product and convince the masses to switch, people aren't really as willing to learn new software albeit the fact that it may be better in terms of features/functionality. As a result the existence of these programs discourages interest in native FreeBSD programs, and encourages people not to wholeheartedly switch over to FreeBSD. It also gives an excuse to software developers not to bother writing software for open source development since they can always run it on wine Not true. Running Wine means I don't have to have Windows installed and thus I don't have to dualboot my machine or use a true emulator like vmware, qemu, etc to have to run a copy of Windows on top of FreeBSD. I often hear this said, but I don't think it is true. As far as I can tell, there is essentially no commercial software written for FreeBSD (and very little for Linux) as it stands, and while the FOSS software has improved a great deal, much of that targeted for the desktop is either not good enough or simply does not exist at all. True in some respects, IMHO. Wine will always be a compromise: some (but with hope, an increasing number of) important programs will work very well, some will perform with limited functionality which may be OK for a few selected tasks, and many or most will not work well enough if they work at all. They will also continue to be difficult to integrate with other desktop programs, even more so than Linux programs which are bad enough already. They simply are not a replacement for native programs unless no alternative exists. Very true. That's why I mentioned the fact that installing and running IE is very difficult under Wine. In effect it's so much of a pain in the ass I wouldn't even bother to be honest, but some people need ActiveX, etc like I mentioned before. Your early proposed solution of running a remote desktop to run the real windows program also does not encourage writers to introduce a FreeBSD program version. Instead of saying run it on Wine, one could always say run it on a remote desktop. Old computers that may well be good enough for such occasional use are very inexpensive. Why then would anyone run a native version? Yes. Waste of power and hardware if you ask me because I would rather devote a machine to a greater series of tasks as opposed to running an OS which I don't really need except for a few programs. The purpose of my email previous was not to invoke people's unhappiness and spite against Microsoft; I am in fact very anti- Microsoft (or a better way to phrase it would be pro-Mac/-Unix?) since I believe the Windows is getting more and more bloated as time progresses and is very limiting by design. However, keeping that in mind one must realize that one solution does not fit all problems and as such I don't think it's right to forget that there are many options available in Windows in terms of applications that may be better suited to solving a problem or less time consuming to use. Besides, a lot of people I know don't share our enthusiasm for Unix and will stick by Windows no matter what. Heh. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command not in PATH when just installed?
Dan Nelson wrote: In the last episode (Sep 15), Ugo Bellavance said: I'm new on this list. I tried looking at the archive, but I didn't know how to formulate my search. Here is my question: I install a package using pkg_add. Then I try running the command, but it doesn't work. I logout, I login, then it works. Is this a FAQ or a setting? Some shells cache the command list in PATH for performance. Try running rehash and see if the command appears. That'll do it. To answer your question more specifically (is this a FAQ?)... Not really, but the occasional need for the rehash command is mentioned in the FreeBSD Handbook section on using ports: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html and in the article for new users: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/new-users/index.html Each of which (and of course other handbook sections and articles) may help you get more out of your system. Enjoy! -- Greg Barniskis, Computer Systems Integrator South Central Library System (SCLS) Library Interchange Network (LINK) gregb at scls.lib.wi.us, (608) 266-6348 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command not in PATH when just installed?
Dan Nelson wrote: In the last episode (Sep 15), Ugo Bellavance said: I'm new on this list. I tried looking at the archive, but I didn't know how to formulate my search. Here is my question: I install a package using pkg_add. Then I try running the command, but it doesn't work. I logout, I login, then it works. Is this a FAQ or a setting? Some shells cache the command list in PATH for performance. Try running rehash and see if the command appears. Wow, so quick a response. Thanks! -- Ugo - Please don't send a copy of your reply by e-mail. I read the list. - Please avoid top-posting, long signatures and HTML, and cut the irrelevant parts in your replies. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ntp problem :(
Hmm, pinging from here I see that ntp.imag.fr = imag.imag.fr = 129.80.30.1 so if you can ping that address then you have low level connectivity. One possibility is that something in the middle is Apparently ntpdate is trying to use the IPv6 address that ntp.imag.fr publishes. I don't know how to tell ntpdate to use only IPv4 addresses, so a workaround is to use the IPv4 address directly. ntpdate -v 129.88.30.1 -- Noel Jones ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make release problem
I just did a release snapshot and everything worked except the last steps creating the CD iso files. they simply don't exist. All of the supporting files are in place and I can do a mkisofs and create a bootable working disk. Can someone shed some light on how to get the script working? Here is the last part of make release: Setting up FTP distribution area 0 blocks 0 blocks touch ftp.1 Building CDROM live filesystem image 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks Setting up CDROM boot area touch cdrom.1 Building CDROM disc1 filesystem image 0 blocks 0 blocks Building CDROM disc2 filesystem image touch cdrom.2 Building bootonly CDROM filesystem image touch cdrom.3 Release done TIA Beech -- --- Beech Rintoul - System Administrator - [EMAIL PROTECTED] /\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ --- pgpOWpOiyK4fL.pgp Description: PGP signature
Which CPUTYPE?
I have the following configuration: CPU: AMD Sempron(tm) Processor 3100+ (1800.08-MHz 686-class CPU) Origin = AuthenticAMD Id = 0xfc0 Stepping = 0 Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA, CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2 AMD Features=0xc050NX,AMIE,DSP,3DNow! What CPUTYPE do I define in: - make.conf - kernel config Thankls a lot in advance. -- Kiffin Rex Gish Gouda, The Netherlands ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
NMAP probing of network ports
Hello: How do I cause freeBSD 5.4 to not respond to an nmap inquiry? I have already tried creating a line in rc.firewall that says: ${fwcmd} deny all from any to any ${fwcmd} drop all from any to any I know these are active, since 1) I see them on the screen at startup, and 2) pinging from any computer to any computer results in a timeout. (both of these should drop all TCP packets; but apparently, they cause a RESET message to be sent.) I've also tried adding the following to sysctl.conf: net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 Again, these don't seem to prevent my freeBSD from sending a packet (probably a RESET or UNREACHABLE-HOST ack). Once the person sending the nmap to this machine has the IP, its a simple step for them to ip-flood this machine; or worse. How do I make freeBSD not acknowledge the fingerprint from nmap? Thanks in advance. Harold. Upgrade your account today for increased storage; mail forwarding or POP enabled e-mail with automatic virus scanning. Visit http://www.canada.com/email/premiumservices.html for more information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Can I do this?
Hi, I want to replace a computer running FreeBSD 3.2 with one running FreeBSD 5.3. The 3.2 computer is currently used as a web server and a DNS server. I have installed FreeBSD 5.3 and am currently adding the Apache2.50 port. Once I add the Apache web server and Bind, can I then just copy config files from the old system to the new one? With Apache: can I copy httpd.conf from the old system to the new then move my htdocs directory to the new system? For Bind, could I just copy named.conf from the old system to the new then copy my zone files over to the new system? Thanks, Lisa Casey -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.0/103 - Release Date: 9/15/2005 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NMAP probing of network ports
On Sep 15, 2005, at 11:43 AM, Boris Karloff wrote: Hello: How do I cause freeBSD 5.4 to not respond to an nmap inquiry? I have already tried creating a line in rc.firewall that says: ${fwcmd} deny all from any to any ${fwcmd} drop all from any to any I know these are active, since 1) I see them on the screen at startup, and 2) pinging from any computer to any computer results in a timeout. (both of these should drop all TCP packets; but apparently, they cause a RESET message to be sent.) I've also tried adding the following to sysctl.conf: net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 Again, these don't seem to prevent my freeBSD from sending a packet (probably a RESET or UNREACHABLE-HOST ack). Once the person sending the nmap to this machine has the IP, its a simple step for them to ip-flood this machine; or worse. How do I make freeBSD not acknowledge the fingerprint from nmap? Thanks in advance. Harold. One thing to note is that if you have a listening server, nmap will always get a response regardless of whether or not you want it to because that's how servers function (unless you block the traffic completely which is silly because then no one could connect to your machine from anywhere). As for ICMP traffic, you should block ICMP if you don't want to send ping replies, etc. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I do this?
Hi, I want to replace a computer running FreeBSD 3.2 with one running FreeBSD 5.3. The 3.2 computer is currently used as a web server and a DNS server. I have installed FreeBSD 5.3 and am currently adding the Apache2.50 port. Once I add the Apache web server and Bind, can I then just copy config files from the old system to the new one? With Apache: can I copy httpd.conf from the old system to the new then move my htdocs directory to the new system? For Bind, could I just copy named.conf from the old system to the new then copy my zone files over to the new system? The htdocs and zone files you can copy straight over; the config files for both Bind and Apache will need some fixing. -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I do this?
On Sep 15, 2005, at 11:47 AM, Lisa Casey wrote: Hi, I want to replace a computer running FreeBSD 3.2 with one running FreeBSD 5.3. The 3.2 computer is currently used as a web server and a DNS server. I have installed FreeBSD 5.3 and am currently adding the Apache2.50 port. Once I add the Apache web server and Bind, can I then just copy config files from the old system to the new one? With Apache: can I copy httpd.conf from the old system to the new then move my htdocs directory to the new system? For Bind, could I just copy named.conf from the old system to the new then copy my zone files over to the new system? Thanks, Lisa Casey I would think so if the hardware specs meet the minimum amount at least. As for the config files... if the versions you have running aren't too old, copying the config files would be trivial. Copying directories/files is of course trivial to accomplish, always, when upgrading a system. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make release problem
Beecher Rintoul wrote: I just did a release snapshot and everything worked except the last steps creating the CD iso files. they simply don't exist. All of the supporting files are in place and I can do a mkisofs and create a bootable working disk. Can someone shed some light on how to get the script working? Here is the last part of make release: Setting up FTP distribution area 0 blocks 0 blocks touch ftp.1 Building CDROM live filesystem image 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks 0 blocks Setting up CDROM boot area touch cdrom.1 Building CDROM disc1 filesystem image 0 blocks 0 blocks Building CDROM disc2 filesystem image touch cdrom.2 Building bootonly CDROM filesystem image touch cdrom.3 Release done TIA Beech Did You set MAKE_ISOS like make MAKE_ISOS=YES release? Cheers, Gabor Kovesdan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I do this?
Lisa Casey wrote: Hi, I want to replace a computer running FreeBSD 3.2 with one running FreeBSD 5.3. The 3.2 computer is currently used as a web server and a DNS server. I have installed FreeBSD 5.3 and am currently adding the Apache2.50 port. Once I add the Apache web server and Bind, can I then just copy config files from the old system to the new one? Sure, but see below. With Apache: can I copy httpd.conf from the old system to the new then move my htdocs directory to the new system? Sure, but see below. For Bind, could I just copy named.conf from the old system to the new then copy my zone files over to the new system? Sure, but see below. ... You forgot to ask, will the new server and software work as expected once these files are copied to the new machine's HDD? The answer there is, probably, but it depends. If the name daemon and the httpd daemon are the same version, and the information in the config files (paths, for example) are valid, I don't know of any reason why it shouldn't work. But I wouldn't dare to issue any kind of ironclad guarantee. That's why we have sysadmins ... because things do get a little screwed up sometimes. Good idea to test first ;-) Kevin Kinsey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Command not in PATH when just installed?
depending on your shell, you may need to type rehas - then it will see the command. If you use bash, it should 'just work' On Thu, 2005-09-15 at 12:35 -0400, Ugo Bellavance wrote: Hi there, I'm new on this list. I tried looking at the archive, but I didn't know how to formulate my search. Here is my question: I install a package using pkg_add. Then I try running the command, but it doesn't work. I logout, I login, then it works. Is this a FAQ or a setting? Thanks, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can't run make buildworld
[EMAIL PROTECTED] writes: So I have an odd problem with a FreeBSD box of mine. It's a 6.0 Beta3 box upgraded from 5.4 and it can't seem to run make buildworld and only make buildworld. I can run \ make cleandir make cleanworld even make kernel. I can build other things from the ports tree as well. When I run make buildworld there is no output returned to the screen, I have even left building overnight got nothing, no errors at all. The system does create the following path: /usr/obj/usr/src/tools/build/make_check but that is all the activity I can tell has happened. The system is running FreeBSD 6.0-BETA3 #0 and was compiled on Mon Aug 29th. The system has been cvsup'ed since then. Any ideas or suggestions on where to start troubleshooting this would be appreciated. Pretty odd, indeed. Try truss and ptrace, for a start. And look at top to see what's happening from a wider perspective. When I try to buildworld top just shows make sitting there like so: 34791 root1 80 608K 496K wait 0:00 0.00% make I expect make will sit there as long as I feel like letting it go. I tried truss but I got an error that it couldn't open /proc/somepid ptrace doesn't seem to exist on my system. I was able to use ktrace so I have a ktrace.out file, but I don't really know what I'm looking at when I view it with kdump. What's really extra special weird is that I re-installed the box to 6.0-Beta4 I was able to run make buildworld after I rebooted. Then I cvsup'ed and now I can't buildworld again. Any suggestions where I might find somebody who can look at my ktrace.out file? -Will ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IE in FreeBSD
Sorry I can't continue this as a thread -- I get this as a digest and unless I'm copied, I can't. My opinion on WINE is that it merely harms people who are writing software for FreeBSD. If I write a wordprocessor for Linux or FreeBSD and try to sell it, why would a customer buy it when he can just use his Microsoft Word under Wine? Because it's an industry standard. Unless you come up with a better product and convince the masses to switch, people aren't really as willing to learn new software albeit the fact that it may be better in terms of features/functionality. One thing that is overlooked is that office and other professional software is much, much more than Microsoft Office. How about complete Acrobat, AutoCAD, electronic laboratory notebooks, solids modeling, laboratory information management systems, LabView, and ... and ... FOSS seems to do alright with entertainment software (music, videos, IM, RSS and so forth) but is woefully deficient in so many other areas. I give one practical example in my interview with Dru at http://www.oreillynet.com/pub/wlg/7731 Not true. Running Wine means I don't have to have Windows installed and thus I don't have to dualboot my machine or use a true emulator like vmware, qemu, etc to have to run a copy of Windows on top of FreeBSD. Absolutely. Dual booting is so inconvenient that it simply is not worth it for me. And for workflow reasons I'd really rather run every application from the same desktop. Wine will always be a compromise: some (but with hope, an increasing number of) important programs will work very well, some will perform with limited functionality which may be OK for a few selected tasks, and many or most will not work well enough if they work at all. They will also continue to be difficult to integrate with other desktop programs, even more so than Linux programs which are bad enough already. They simply are not a replacement for native programs unless no alternative exists. Very true. That's why I mentioned the fact that installing and running IE is very difficult under Wine. In effect it's so much of a pain in the ass I wouldn't even bother to be honest, but some people need ActiveX, etc like I mentioned before. Wine is indeed difficult, and it usually requires a lot of futzing with DLLs and such to get acceptable installations. That's once you get the program installed from the source disk in the first place, which is often not trivial. That's the area where CodeWeavers' product can really help. Old computers that may well be good enough for such occasional use are very inexpensive. Why then would anyone run a native version? Yes. Waste of power and hardware if you ask me because I would rather devote a machine to a greater series of tasks as opposed to running an OS which I don't really need except for a few programs. Agreed (again). I use an old PIII with a small monitor for some of these applications. It just seems silly to waste a BSD machine with dual monitors and dual CPUs. The purpose of my email previous was not to invoke people's unhappiness and spite against Microsoft; I am in fact very anti- Microsoft (or a better way to phrase it would be pro-Mac/-Unix?) It does seem like the Mac is a good way to go to get a reasonable form of Unix and a decent selection of commercial software. Unless I can get the software situation improved (like with CrossOver Office), that is really my only option. Frank ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: JDK 1.5 on Freebsd - Best Method?
On Wed, Sep 14, 2005 at 05:58:11PM -0500, J French wrote: I need to install JBoss for some development and want to use FreeBSD but the Java binary issue concerns me. Is the patchset at http://www.eyesbeyond.com/freebsddom/java/jdk15.html robust enough for production? The JDK1.5 patchset is marked as alpha quality only. There is another patchset coming out soon, perhaps in the next month or so; but testing is still going on. How about using the java linux binary in linux compatibility mode? This is definitely sub-par. Java under the Linuxalator just works enough to boot strap the native JDK. Wouldn't recommend it for production usage. Any advice would be greatly appreciated, I don't want to have to go to linux for production. More to the point, how are people using JBoss in production on FreeBSD? With the native JDK1.4.2. Its been around long enough to be considered producation capable. Cheers. -- Jonathan Chen [EMAIL PROTECTED] -- Do not take life too seriously. You will never get out of it alive. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X.org
I'm using FreeBSD 6.0-BETA4 and I'm having some troubles with X.orghttp://X.orgxonfiguration, I have a SiS 630/730 video card and my mouse doesn't work on console. When I launch startx the screen goes blank and the machine reboots. This is my xorg.conf file. Thanks! Section ServerLayout Identifier XFree86 Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/Speedo/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/URW FontPath /usr/X11R6/lib/X11/fonts/freefont FontPath /usr/X11R6/lib/X11/fonts/artwiz-fonts FontPath /usr/X11R6/lib/X11/fonts/koi8-u-gemini FontPath /usr/X11R6/lib/X11/fonts/local/sgi EndSection Section Module Load dbe Load extmod Load glx Load record Load xtrap Load speedo Load type1 EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option XkbRules xorg Option XkbModel pc105 Option XkbLayout es EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol Auto Option Device /dev/sysmouse Option Buttons 5 EndSection Section Monitor #DisplaySize 280 210 # mm Identifier Monitor0 VendorName DWE ModelName Daewoo 531X HorizSync 30.0 - 54.0 VertRefresh 50.0 - 120.0 Option DPMS EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option TurboQueue # [bool] #Option FastVram # [bool] #Option NoHostBus # [bool] #Option ForceCRT2Type # [str] #Option ShadowFB # [bool] #Option Rotate # [str] #Option NoXvideo # [bool] #Option Vesa # [bool] #Option MaxXFBMem # i #Option ForceCRT1 # [bool] #Option DSTN # [bool] #Option XvOnCRT2 # [bool] #Option PanelDelayCompensation # i #Option TVStandard # str #Option UseROMData # [bool] #Option NoInternalModes # [bool] #Option UseOEMData # [bool] #Option BIOSFile # str #Option NoYV12 # [bool] #Option CHTVType # [bool] #Option CHTVOverscan # [bool] #Option CHTVSuperOverscan # [bool] #Option CHTVLumaBandwidthCVBS # i #Option CHTVLumaBandwidthSVIDEO # i #Option CHTVLumaFlickerFilter # i #Option CHTVChromaBandwidth # i #Option CHTVChromaFlickerFilter # i #Option CHTVCVBSColor # [bool] #Option CHTVTextEnhance # i #Option CHTVContrast # i #Option SISTVEdgeEnhance # i #Option SISTVAntiFlicker # i #Option SISTVSaturation # i #Option TVXPosOffset # i #Option TVYPosOffset # i #Option SIS6326TVAntiFlicker # str #Option SIS6326TVEnableYFilter # [bool] #Option SIS6326TVYFilterStrong # [bool] #Option UseColorHWCursor # [bool] #Option ColorHWCursorBlending # [bool] #Option ColorHWCursorBlendThreshold # i #Option RestoreBySetMode # [bool] Identifier Card0 Driver sis VendorName Silicon Integrated Systems [SiS] BoardName SiS630 GUI Accelerator+3D ChipSet SIS630/730 BusID PCI:1:0:0 EndSection Section Screen Identifier Screen0 Device Card0 Monitor Monitor0 DefaultDepth 24 SubSection Display Depth 8 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 15 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 16 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 24 Modes 1024x768 800x600 640x480 EndSubSection EndSection -- --- Guillermo García Rojas Covarrubias Director General SoloBSD http://SoloBSD.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NMAP probing of network ports
On Sep 15, 2005, at 2:43 PM, Boris Karloff wrote: How do I cause freeBSD 5.4 to not respond to an nmap inquiry? I have already tried creating a line in rc.firewall that says: ${fwcmd} deny all from any to any ${fwcmd} drop all from any to any I know these are active, since 1) I see them on the screen at startup, and 2) pinging from any computer to any computer results in a timeout. (both of these should drop all TCP packets; but apparently, they cause a RESET message to be sent.) Apparently indicates a lack of reliable information. You should use tcpdump to see what is really going on. I've also tried adding the following to sysctl.conf: net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 Again, these don't seem to prevent my freeBSD from sending a packet (probably a RESET or UNREACHABLE-HOST ack). Ditto. Please obtain real data. Once the person sending the nmap to this machine has the IP, its a simple step for them to ip-flood this machine; or worse. Yes. Only, someone can issue a denial-of-service attack against an IP without bothering to nmap-scan it, first. Nothing short of upstream intervention by your ISP can prevent a true DoS attack from flooding your inbound pipe's bandwidth. Trying to prevent a DoS is not an especially useful thing to spend lots of time on, you would be better served by creating an effective security policy and setting up an appropriate firewall architecture, including a redundant connection if the cost of downtime justifies the expense. How do I make freeBSD not acknowledge the fingerprint from nmap? Set up a firewall to block access to all ports but the ones you need for internet-reachable services. You can recognize nmap traffic by the TCP option string of WNMTE; you can recognize nmap OS identification and the Xmas scan variants by TCP flag combinations of SE (SYN | ECE), FPU (FIN | PUSH | URG), and FSPU... -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
resize/combine disk partitions
I have three adjacent disk partitions as reported by bsdlabel. ad0s1g /local ad0s1b swap ad0s1h /home /local is at around 107% full all the time and needs to grow. /home is nearly empty ( new machine). What I want to do is combine ad0s1g and h into a new /local and add another disk for /home. I have tried sysinstall disklabel to delete the three partitions g, b, and h then recreate swap and /local. But noo the program says it can't write to the disk. BTW /local and /home were umounted and I was in single user mode. I suppose I could get creative with mount points but I would rather resize/combine the three partitions into two. How can I do that (short of a reinstall)? hal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Software RAID1
Jason King wrote: The instructions say to use ad0 and ad1 as the /dev names but those devices don't exist on my server. The device names are da0 and da1. I'd be glad to post anything you wish, but I don't know what the dmesg is, or how I get it. Can you tell me where I can get that information? Just run dmesg immediately after boot and report its output to the list. This might however not be enough, but is a good starting point. You also forget to mention which os version you are running... bye av. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Mail question
Hello. I'm student from Latvia. I'd like to ask you a question about Postfix mail system under FreeBSD. I have such problem: target is to allow user to change his mail account's password by himself. For example, I set password for his account, and maybe, user doesn't want me to know this password, so he'd like to change it! The question is: HOW? I'm looking forward to hearing from you. -- Best regards, Alexander Bogdanov (GSM: +3716100890). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Can I do this?
Hi, I want to replace a computer running FreeBSD 3.2 with one running FreeBSD 5.3. The 3.2 computer is currently used as a web server and a DNS server. I have installed FreeBSD 5.3 and am currently adding the Apache2.50 port. Once I add the Apache web server and Bind, can I then just copy config files from the old system to the new one? With Apache: can I copy httpd.conf from the old system to the new then move my htdocs directory to the new system? For Bind, could I just copy named.conf from the old system to the new then copy my zone files over to the new system? For the most part, yes. But, you might have to tweak some things. Some system config files have moved.You will want to read up on things before trying this. Note that Apache will probably install in a different place now than that old version did and the startup for utilities is now all in /usr/local/etc/rc.d. In addition, Perl is no longer installed by default. You will have to do it from ports. As long as you are completely redoing the machines, why not go with the most recent release of FreeBSD? That would be 5.4. It is an improvement over 5.3. jerry Thanks, Lisa Casey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
livecd problems - won't mount root
Hello I'm trying to build a web server with FreeBSD 4.11 that runs off of a CD rather than a hard disk. I'm trying to make an iso using livecd 1.2.4b and the install goes well, but when I try to boot the system from the iso I get the mountroot prompt. Here is the fstab file that I put in the live_root install directory prior to the iso generation: # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/acd0c / cd9660 ro,noatime 0 0 /dev/ad0s1f /tmpufs rw 2 2 /dev/ad0s1e /varufs rw 2 2 proc/proc procfs rw 0 0 I would like the hard drive to be used for logfiles, tmp files, etc. But, I would like the rest of the system to boot off of the cdrom, and then keep running off the cdrom image. Is there something I am doing wrong? Thanks, - Jamie The Moon is Waxing Gibbous (93% of Full) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: X.org
On Sep 15, 2005, at 12:40 PM, Guillermo Garcia-Rojas wrote: I'm using FreeBSD 6.0-BETA4 and I'm having some troubles with X.orghttp://X.orgxonfiguration, I have a SiS 630/730 video card and my mouse doesn't work on console. When I launch startx the screen goes blank and the machine reboots. This is my xorg.conf file. Thanks! Section ServerLayout Identifier XFree86 Configured Screen 0 Screen0 0 0 InputDevice Mouse0 CorePointer InputDevice Keyboard0 CoreKeyboard EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb ModulePath /usr/X11R6/lib/modules FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/Speedo/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/ FontPath /usr/X11R6/lib/X11/fonts/100dpi/ FontPath /usr/X11R6/lib/X11/fonts/URW FontPath /usr/X11R6/lib/X11/fonts/freefont FontPath /usr/X11R6/lib/X11/fonts/artwiz-fonts FontPath /usr/X11R6/lib/X11/fonts/koi8-u-gemini FontPath /usr/X11R6/lib/X11/fonts/local/sgi EndSection Section Module Load dbe Load extmod Load glx Load record Load xtrap Load speedo Load type1 EndSection Section InputDevice Identifier Keyboard0 Driver keyboard Option XkbRules xorg Option XkbModel pc105 Option XkbLayout es EndSection Section InputDevice Identifier Mouse0 Driver mouse Option Protocol Auto Option Device /dev/sysmouse Option Buttons 5 EndSection Section Monitor #DisplaySize 280 210 # mm Identifier Monitor0 VendorName DWE ModelName Daewoo 531X HorizSync 30.0 - 54.0 VertRefresh 50.0 - 120.0 Option DPMS EndSection Section Device ### Available Driver options are:- ### Values: i: integer, f: float, bool: True/False, ### string: String, freq: f Hz/kHz/MHz ### [arg]: arg optional #Option SWcursor # [bool] #Option HWcursor # [bool] #Option NoAccel # [bool] #Option TurboQueue # [bool] #Option FastVram # [bool] #Option NoHostBus # [bool] #Option ForceCRT2Type # [str] #Option ShadowFB # [bool] #Option Rotate # [str] #Option NoXvideo # [bool] #Option Vesa # [bool] #Option MaxXFBMem # i #Option ForceCRT1 # [bool] #Option DSTN # [bool] #Option XvOnCRT2 # [bool] #Option PanelDelayCompensation # i #Option TVStandard # str #Option UseROMData # [bool] #Option NoInternalModes # [bool] #Option UseOEMData # [bool] #Option BIOSFile # str #Option NoYV12 # [bool] #Option CHTVType # [bool] #Option CHTVOverscan # [bool] #Option CHTVSuperOverscan # [bool] #Option CHTVLumaBandwidthCVBS # i #Option CHTVLumaBandwidthSVIDEO # i #Option CHTVLumaFlickerFilter # i #Option CHTVChromaBandwidth # i #Option CHTVChromaFlickerFilter # i #Option CHTVCVBSColor # [bool] #Option CHTVTextEnhance # i #Option CHTVContrast # i #Option SISTVEdgeEnhance # i #Option SISTVAntiFlicker # i #Option SISTVSaturation # i #Option TVXPosOffset # i #Option TVYPosOffset # i #Option SIS6326TVAntiFlicker # str #Option SIS6326TVEnableYFilter # [bool] #Option SIS6326TVYFilterStrong # [bool] #Option UseColorHWCursor # [bool] #Option ColorHWCursorBlending # [bool] #Option ColorHWCursorBlendThreshold # i #Option RestoreBySetMode # [bool] Identifier Card0 Driver sis VendorName Silicon Integrated Systems [SiS] BoardName SiS630 GUI Accelerator+3D ChipSet SIS630/730 BusID PCI:1:0:0 EndSection Section Screen Identifier Screen0 Device Card0 Monitor Monitor0 DefaultDepth 24 SubSection Display Depth 8 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 15 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 16 Modes 1024x768 800x600 640x480 EndSubSection SubSection Display Depth 24 Modes 1024x768 800x600 640x480 EndSubSection EndSection -- --- Guillermo García Rojas Covarrubias Director General SoloBSD http://SoloBSD.org What does it say in the Xorg logfile? -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: livecd problems - won't mount root
On Sep 15, 2005, at 4:17 PM, Midnight Oil wrote: Here is the fstab file that I put in the live_root install directory prior to the iso generation: # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/acd0c / cd9660 ro,noatime 0 0 Do you actually have an ISO-9660 filesystem on the CD, or does it contain a BSD label and a UFS filesystem...? -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: livecd problems - won't mount root
On Thu, 15 Sep 2005, Charles Swiger wrote: On Sep 15, 2005, at 4:17 PM, Midnight Oil wrote: Here is the fstab file that I put in the live_root install directory prior to the iso generation: # DeviceMountpoint FStype Options Dump Pass# /dev/ad0s1b noneswapsw 0 0 /dev/acd0c / cd9660 ro,noatime 0 0 Do you actually have an ISO-9660 filesystem on the CD, or does it contain a BSD label and a UFS filesystem...? It's a iso file...here is the command that the script uses to create the iso image: /usr/local/bin/mkisofs -b boot/cdboot -no-emul-boot -c boot/boot.catalog -r -l -L -V LiveCD -o /usr/LiveCD.iso . /usr/local/livecd/log - Jamie -- -Chuck The Moon is Waxing Gibbous (93% of Full) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
problem with ipsec and sendmail
I don't know if this is the right list, but here goes: I'm having trouble with an ipsec implementation. The ipsec part works fine, but now that it's set up, mail does not pass between the machines in question. I have set up ipsec on two machines, both connected to the internet. Machine A is supposed to relay mail to Machine B, but mail just queues on Machine A. sendmail tries to relay the mail, but the connections time out. I'm able to pass mail manually (by telnetting to sendmail on the remote machine and issuing SMTP commands directly) and that works. sendmail also passes mail normally if I take disable ipsec. With ipsec enabled, all of my network tests between Machine A and Machine B succeed (ping, telnet, ssh). Machine A is running FBSD 4.10, B is running 4.8. Simple google searches did not yield any useful information. Please let me know what other details of my implementation you would find pertinent, if any. I wanted to keep the SNR high. Thanks in advance. /-/ What is it called when you're pompous enough to quote yourself, but humble enough to withhold credit? finger://[EMAIL PROTECTED] http://www.ephemeron.org/~bigby/ news://news.ephemeron.org/alt.lemurs /-/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: IE in FreeBSD?
On Wednesday 14 September 2005 11:21 pm, Ted Mittelstaedt wrote: Let's quit beating around the bush, shall we? The only vendor that custom tailors their content to IE and who will not correct gross HTML coding errors on their website and in their products is Microsoft. Everybody else, if you wave cash in front of them and say I will buy your product once you fix these gross html errors your product spews out they will get real interested in fixing them, all the sudden. except the feds, like FEMA... -- Michael W. Holdeman Powered by Gentoo Linux www.gentoo.org | Kernel 2.6.11-ck8 | Win4Lin 5-1-20 netraverse.com | Win4LinPro 6.1.1-03 win4lin.com | | ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: resize/combine disk partitions
hal wrote: I have three adjacent disk partitions as reported by bsdlabel. ad0s1g /local ad0s1b swap ad0s1h /home [snip] would rather resize/combine the three partitions into two. How can I do that (short of a reinstall)? ccd(4) might help (and see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html ) but you will need to backup data from /local and /home Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Which games are good, and easy to install?
On Sat, Sep 10, 2005 at 11:42:29AM -0400, WOB wrote: Other games were client-server based, and it wasn't immediately obvious how to get them running. Free, open-source games are hard to write in the first place, and so they tend to have poor documentation. A few games just core dump, like flightgear. I'm using FreeBSD 6.0-B4. Yeah, well, you're on the bleeding edge, so anything you do it going to be less stable. ;) I've been hooked on Simutrans the past weeks. There's binaries online for Windows, Linux, and BeOS. I'm told the Linux version runs fine under emulation. I find it addicting because I'm a total SimCity / Railroad Tycoon freak, and this has the added dimension of very little documentation. :) -danny -- http://dannyman.toldme.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Mail question
Alexander Bogdanov wrote: Hello. I'm student from Latvia. I'd like to ask you a question about Postfix mail system under FreeBSD. I have such problem: target is to allow user to change his mail account's password by himself. For example, I set password for his account, and maybe, user doesn't want me to know this password, so he'd like to change it! The question is: HOW? I'm looking forward to hearing from you. I'm in the same situation I used /etc/passwd for people with shell accounts, and /usr/local/etc/userdb (courier-imap) for virtual accounts.. any insight on this would be great! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Thinkpad Accelerometer driver new Version 0.5
On Tue, Sep 13, 2005 at 02:14:15PM +0200, [EMAIL PROTECTED] wrote: ok. It's the base of the IBM Active Protection System (APS). At the moment there is NO protection of any kind but you can use it as an input device for X. (I get a slow right drift after heavy use) ... so, you jiggle your computer around to play some sort of game? -d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Trying to colour syslog-ng logs to ttyv7 but won't work after a reboot
Alex Zbyslaw wrote: Norberto Meijome wrote: Perhaps the ttyv7 isn't properly created until after all the local rc scripts are run? That's all I can think. you may want to edit the syslogng.sh to add some debug lines to see if ttyv7 is up @ that point in time. based on the result of this, you may want to background (sleep? wait and try again?) the launch of syslogng until after the ttyv7 is ready. or figure out in which order things are started and make sure the ttyvs are launched before syslogng Given that anything in /usr/local/etc will start after anything in /etc, I would really expect a virtual tty to be available. I don't suppose that syslogng is logging an error anywhere? (Not on ttyv7, obviously :-)) yes, of course. I guess one other thing to do would be to ktrace the actual call to syslogng and figure out what's going on. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to Install kde3 (meta port)
On Mon, 16 May 2005, Gerard Seibert wrote: I am running FreeBSD 5.4. This is a new installation. I am unable to get kde3 (meta port) installed. It hangs after almost a day of compiling. (cd /usr/ports/print/cmpsfont/work/cmpsfont/pfb; /usr/local/bin/type1inst -nolog) *** Error code 127 Link /usr/local/bin/perl to /usr/bin/perl (ln -s /usr/local/bin/perl /usr/bin/perl); type1inst assumes that /usr/bin/perl exists which is not true, at least for 5.4-STABLE, when rebuilding KDE3. (I'm responding to this since I ran into the same problem, but didn't find an answer in Google or by scanning the ports and ports-bugs mailing lists.) Mike Squires UN*X at home since 1986 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]