Re: ipfw limit src-addr woes
On Tue, 20 Feb 2007, Julian Elischer wrote: > admin wrote: > > > Wrong: the implied "check-state" done by the "limit" lets the connection > > through (i.e. performs the action) iff there's state recorded for it > > (src-addr+src-port+dst-addr+dst-port). If however it's a SYN packet > > incoming and the number of current states is trying to cross the limit, > > the SYN packet is implicitly dropped and the search terminates. > > > > This is not to say that I completely understand the things going on when > > the connections start building up (different timeouts?) but the above > > conclusion is based on what simulation has shown. The whole ruleset fits > > on one screen, there's an "allow ip from any to any" in the end, so I'm > > pretty sure I'm not crazy :-) > > One thing to keep in mind is that a 'check-state' rule works by effectively > jumping to the rule that did the 'keep-state' and re-executing it.. > (and incrementing its stats). What if the action of the rule that does the 'keep-state' (here a limit src-addr) is a skipto, rather than an allow / fwd / divert etc rule that would terminate the search? Does 're-executing' here imply anything about whether the skipto's conditional branch is or is not taken? I bought into this because admin said that more connections were being allowed than the limit src-addr clause should allow, and I assumed that the skipto branch was not being taken on over-limit packets, and that the following fwd rule (allowing any type of packets including SYN) was being executed, which would account for what he'd said was happening. admin above asserts that my assumption was wrong, and that in a match beyond the limit number of connections for that src/dest address, the setup packet is 'implicitly dropped and the search terminates', and while I can't find that stated as such in ipfw(8), he may be right. Which still doesn't explain why connections from a particular IP beyond his specified limit are allowed to be established, as originally stated. [shrug] Over to the ipfw gurus. Cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Your message to testbed awaits moderator approval
Your mail to 'testbed' with the subject Hello Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://www.wwtld.org/ml/confirm/testbed/6c418c25e3c27104d07a44b1562b96bad969d5d7 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
Hello again Joe, Maybe it depends on what packages you add when running sysinstall? I have 6.2 on a 6Gb Fujitsu drive and it fits nicely. I only pick kernel sources from the packages though. Only problem I've noticed is /usr/obj filling up when making buildworld but a symlink to another drive takes care of that. Joe Vender skrev: On Tuesday 20 February 2007 13:50, Roger Olofsson wrote: Hello Joe, May I suggest a small trick that really makes your life alot easier. Go with the default values when you install the FreeBSD, ie accept the sysinstall generated autos. (Make sure to make / and swap the first partitions though). Now, whenever a partition gets filled up, just do a symlink to another partition. The command is ln -s and is a real lifesaver. Whenever all partitions are full, just stick another HD in the machine and ln -s to that drive. I can't do this. When using the auto defaults, /usr fills up even before the installation is complete. But the suggestion is interesting for handling other slices for an already installed system. Thanks for the suggestion, Roger. Right now, I'm checking into just adding a PCI ATA/100 controller - my system is a 1999 model and uses ATA/33 :-( and upgrading my HDD to a more modern 40 or 80 Mb drive, possibly a Western Digital Caviar SE WD800JB 80GB IDE Ultra ATA100 Hard Drive. I can get the drive for around $45 at newegg.com, and it seems to be well received by customer reviews. Joe ___ 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: FlashPlugin for Mozilla FireFox
В сообщении от Среда 21 февраля 2007 11:50 Warren Liddell написал(a): > Im running FreeBSD 6.2-STABLE an dhave been trying to get flash working in > FireFox to no avail. I have the plugin installed but it made no difference > upon restarting the browser. > > What maybe wrong or may i be missing for it to work ? > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" There are many things you should edit in your configs to make it work. Try searching through this conference, it is very popular question here. I have a direct howto on this problem, but it is in Russian. -- С уважением, Бачило Дмитрий Руководитель отдела системной интеграции ООО "Компания Солинк" -- With Best Regards, Bachilo Dmitry Head of systems integration dept Solink Company Ltd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FlashPlugin for Mozilla FireFox
Im running FreeBSD 6.2-STABLE an dhave been trying to get flash working in FireFox to no avail. I have the plugin installed but it made no difference upon restarting the browser. What maybe wrong or may i be missing for it to work ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to configure mount option for KDE Mediamanager
Hello, I am not able to find how to configure KDE Mediamanager to mount USB removable media without "noexec" option. I have tried to comment lines allowing "noexec" option in /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi and restart hald, however, it seems that KDE has its own policies. I get the point that security is the preference here, however, I am using a encrypted wallet (both win/linux application + data file) on my flash disk and would prefer running it directly from the flash disk, rather then from a separate installation from the hard-drive. Regards, -- Milan Knížek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
highpoint hpt372 raid support, or other options?
I keep running into roadblocks... I'm running fbsd 6.1 release, i386 My HighPoint RocketRAID 1520 (serial ata 2 channel pci raid card) won't provide me with an option to rebuild the raid 1 array after I've inserted the replacement drive (the old one has been pulled for a month or so). Soo... -atacontrol... I tried using atacontrol to addspare in preparation for a rebuild. I get an error when using 'atacontrol addspare ar0 ad6' saying something like "device isn't configured". Yes, I'm sure of the ar0 and ad6 array/device names. Does atacontrol not support this raid card or is there something I can do to get this to work? -highpoint's own management software.. After trying atacontrol I figured I'd give highpoint's driver's a try. They say they support freebsd 6.1 so this shouldn't be an issue right? Well I install their driver, which appears to work fine (the first disk is now da0s1), but then their raid management software won't install. It keeps looking for old version of libraries (which I was apparently able to get around by linking to the current libraries) and now it's giving me the following error: /usr/libexec/ld-elf.so.1: /usr/local/lib/libncurses.so.5: Undefined symbol "__stdoutp" Obviously this is a problem with highpoint's own freebsd support, but is there any way to get around this with FreeBSD 6.x? Has anyone here had any luck with rebuilding an array using an hpt372 card in freebsd? ... So, the basic question: does atacontrol have hardware raid support for this card? I'm trying to rebuild my array without resorting to backin up and reinstalling just to get my raid 1 operational again... and secondly, is there a way to get around the above error with highpoint's raid software? All I'm trying to do is rebuild my array! :( TIA -- Joel [rootrider] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dell laptop + sound - Solved
Thanks Norberto I figured it out, it was a maestro3 driver. Michael --- Norberto Meijome <[EMAIL PROTECTED]> wrote: > On Tue, 20 Feb 2007 16:59:43 -0500 (EST) > Michael S <[EMAIL PROTECTED]> wrote: > > > I am having problems getting sound to work on an > old > > Dell Latitude. I configured the sound card > following > > the handbook, and the driver (snd_ich) loads just > > fine. However I can neither hear anything when > doing > > cat file > /dev/dsp nor can I raise the volume > level > > using the XFCE volume control applet. Any hints? > > Hi Michael, > what card have you got? > > for example, I can see mine with pciconf -lv : > [...] > [EMAIL PROTECTED]:27:0: class=0x040300 card=0x05b71014 > chip=0x26688086 rev=0x03 hdr=0x00 > vendor = 'Intel Corporation' > device = '82801FB/FR/FW/FRW Intel High > DefiNition Audio Controller' > class= multimedia > [...] > > (look for 'class = multimedia' or pcm@ device... > > Also, after loading the snd modules, what does > > cat /dev/sndstat > > show? if the drivers has detected your card > properly, you should get some > info... For example , I get: > > [EMAIL PROTECTED] [Wed Feb 21 11:02:46 2007] > /usr/home/betom > $ cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit) > Installed devices: > pcm0: Controller> at memory 0xb000 irq > 11 kld snd_hda [20070105_0038] (1p/1r/2v channels > duplex default) > > > _ > {Beto|Norberto|Numard} Meijome > > ...using the internet as it was originally > intended... for the further research > of pornography and pipebombs. > > I speak for myself, not my employer. Contents may be > hot. Slippery when wet. > Reading disclaimers makes you go blind. Writing them > is worse. You have been > Warned. > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote access to config FreeBSD server
[mailed and posted] On Feb 20, 2007, at 5:55 PM, Paul Schmehl wrote: --On Monday, February 19, 2007 19:26:02 -0800 satimis <[EMAIL PROTECTED]> wrote: I need GUI browser to connect outside World for searching documents and seeking help. I found elinks not easy to read html website. You can't run a GUI browser without running X. We should clarify for satimis that he only needs to run an X11 server on the machine he is SSHing from. The FreeBSD box does not need to running X11. Personally, I haven't found a good way to work out the minimal X11 installation needed for building and running clients (like Firefox) without ending up building and installing (and thus maintaining) stuff that I don't need (like an X11 server or window managers). If I had a better handle on how to examine dependencies, I could probably do a cleaner installation. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Dell laptop + sound
On Tue, 20 Feb 2007 16:59:43 -0500 (EST) Michael S <[EMAIL PROTECTED]> wrote: > I am having problems getting sound to work on an old > Dell Latitude. I configured the sound card following > the handbook, and the driver (snd_ich) loads just > fine. However I can neither hear anything when doing > cat file > /dev/dsp nor can I raise the volume level > using the XFCE volume control applet. Any hints? Hi Michael, what card have you got? for example, I can see mine with pciconf -lv : [...] [EMAIL PROTECTED]:27:0: class=0x040300 card=0x05b71014 chip=0x26688086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB/FR/FW/FRW Intel High DefiNition Audio Controller' class= multimedia [...] (look for 'class = multimedia' or pcm@ device... Also, after loading the snd modules, what does cat /dev/sndstat show? if the drivers has detected your card properly, you should get some info... For example , I get: [EMAIL PROTECTED] [Wed Feb 21 11:02:46 2007] /usr/home/betom $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit) Installed devices: pcm0: at memory 0xb000 irq 11 kld snd_hda [20070105_0038] (1p/1r/2v channels duplex default) _ {Beto|Norberto|Numard} Meijome ...using the internet as it was originally intended... for the further research of pornography and pipebombs. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote access to config FreeBSD server
--On Monday, February 19, 2007 19:26:02 -0800 satimis <[EMAIL PROTECTED]> wrote: Hi folks, FreeBSD-6.2-amd64 I'm going to install the captioned OS as server, web/mail/database etc., for test purpose and without X. I'm prepared to connect a workstation for fine tuning the server. Can I use a Linux workstation to do the job because I have no FreeBSD workstation here? OR I must run a FreeBSD workstation. If YES, pls advise where can I find relevent steps to do the job. I'll have SSH enabled on the server. You can use anything that can run an ssh client. Even Windows can do that - if you install one. I need GUI browser to connect outside World for searching documents and seeking help. I found elinks not easy to read html website. You can't run a GUI browser without running X. Paul Schmehl ([EMAIL PROTECTED]) Senior Information Security Analyst The University of Texas at Dallas http://www.utdallas.edu/ir/security/
Re: ipfw limit src-addr woes
admin wrote: Wrong: the implied "check-state" done by the "limit" lets the connection through (i.e. performs the action) iff there's state recorded for it (src-addr+src-port+dst-addr+dst-port). If however it's a SYN packet incoming and the number of current states is trying to cross the limit, the SYN packet is implicitly dropped and the search terminates. This is not to say that I completely understand the things going on when the connections start building up (different timeouts?) but the above conclusion is based on what simulation has shown. The whole ruleset fits on one screen, there's an "allow ip from any to any" in the end, so I'm pretty sure I'm not crazy :-) One thing to keep in mind is that a 'check-state' rule works by effectively jumping to the rule that did the 'keep-state' and re-executing it.. (and incrementing its stats). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
PF slowing down file copies
Hello, I have a FreeBSD 6.2 acting as router between two LANs and the internet. I am using PF on it for filtering and I am allowing all the traffic to pass by between the two LANs: pass from $lan0:network to $lan1:network keep state pass from $lan1:network to $lan0:network keep state My problem is that when I copy a file from one network to the other, the first 128KB seems to be copied instantaneously, the second 128KB take more than two minutes and I've seen the third 128KB being copied very rarely. This is using Secure CoPy. If I copy the file to the router and from the router to the other computer, it just works. And it seems people copying files with SMB (Window's protocol) have found the same problem. Any ideas what might be going on? Thanks. -- José Pablo Fernández [EMAIL PROTECTED] PS: My full firewall configuration: # My interfaces. lan0= "re0" lan1= "re1" wan = "fxp0" wan6to4 = "stf0" # My me, me and I. me = "{(" $lan0 ") (" $lan1 ") (" $wan ")}" # Globally accessable services. mi_tcp_services = "{domain ssh http jabber-client sjabber-client jabber-server 5901}" mi_udp_services = "{domain ssh http jabber-client sjabber-client jabber-server}" # LAN-only accessable services. mi_internal_tcp_services = "{ejabberd-admin bacula-fd http-proxy}" mi_internal_udp_services = "{}" # The network. lans = "{" $lan0 $lan1 "}" lans_network = "{" $lan0:network $lan1:network "}" # Hosts that are free to reach the outside world directly. table { plab.bsas.rs.com.ar dejavu.bsas.rs.com.ar } table {} # Available for everybody tcp_for_everybody = "{smtp smtps pop3 pop3s imap imaps}" udp_for_everybody = "{smtp smtps pop3 pop3s imap imaps}" # Making a return of a no-go is better than droping a package because it hides the fact that there's a firewall. set block-policy return # No filtering on lo0. set skip on lo # This will normalize and defragment all packages. Filtering will work better and extrange packets will be droped. scrub in # NAT. nat on $wan from to any -> ($wan) # Port forwarding. See below for the assosiatde passing rules. rdr on $wan proto tcp from any to any port 5901 -> dejavu.bsas.rs.com.ar port vnc # Andres' VNC. Pupeno, 2007-02-12 14:50:02. # Temp port forwarding. # None so far. Pupeno, 2007-02-12 14:50:25. # Block everything in, latter allowing some stuff. #block in # Block RFC1918 (private) from the external card, private addresses in the public internet can't be good. PrivateAddresses = "{ 127.0.0.0/8, 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }" #block in quick on $wan from $PrivateAddresses to any #block out quick on $wan from any to $PrivateAddresses # Let the nated hosts go out. pass on $lans from to any keep state # Let the rest access some other services. pass on $lans proto tcp to any port $tcp_for_everybody keep state pass on $lans proto udp to any port $udp_for_everybody keep state # Let me go out. pass out from $me keep state # Let forwarders pass and more importantly, be synproxied, whatever that is. See above for the assosiated rdr (redirection) rules. pass in proto tcp from any to dejavu.bsas.rs.com.ar port vnc synproxy state # Andres' VNC. Pupeno, 2007-02-12 15:45:16. # Services that should be reached from anywhere (including the LAN). pass in proto tcp to $me port $mi_tcp_services keep state pass in proto udp to $me port $mi_udp_services keep state pass in proto {icmp, icmp6} to $me keep state # Services that should be reached only from the LAN. pass in proto tcp from $lans_network to $me port $mi_internal_tcp_services keep state #pass in proto udp from $lans_network to $me port $mi_internal_udp_services keep state # Enable when there are internal udp services. Pupeno, 2007-01-31 18:17:15. # Allow comunication between the two networks. pass from $lan0:network to $lan1:network keep state pass from $lan1:network to $lan0:network keep state ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which file to request SIOCGIFMAC on?
On 2/20/07, nocturnal <[EMAIL PROTECTED]> wrote: Hi The original plan is to only run it on FreeBSD 5 and higher, actually only 6 by now. It's a program i'm writing for work and at work the most active servers run FreeBSD 6 and are updated frequently. The ones with older versions don't run anything of interest. I am buying a MacBook for personal use though so it would be nice to run it on osx. I wouldn't like to start using another library just to get the hardware address of an interface though, that seems kinda overkill for what should be a simple task. The program is already using libpcap but that is included in FreeBSD by default so you don't have to install it. Do you have any idea of why i'm getting this error from ioctl when i'm doing what the manual says i should do? I am of course running it as root to because the libpcap operations require it. What might help me is to take a look at the source of that libnet_get_hwaddr function in libnet. I'll try that, thank you very much for the tip. So far i've been trying to look at the source for ifconfig to figure out how it gets the hardware address. Of course it uses SIOCGIFMAC but i can't find the socket it opens because i can't find where it uses the maclabel_status function. The problem isn't with the socket type or options. If you debug ifconfig, you'll find out that the ioctl call always returns -1, and the program goes on to the "goto mac_free" line. Take a look at /usr/src/sys/net/if.c, line 1258 Should we deduce that the particular ioctl isn't supported? P.S. I'm forwarding this to freebsd-hackers@ too, so sorry for cross posting Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Chuck Swiger wrote: > On Feb 20, 2007, at 1:10 PM, nocturnal wrote: >> I'm trying to get the ethernet address and from the manuals i >> understand that i need the ifreq structure for this. So i'm trying to >> request SIOCGIFMAC with ioctl on a socket of type SOCK_DGRAM. > > If you're just targetting FreeBSD >= 5.x platforms, your current > approach is reasonable (assuming you can fix whatever the problem is); > if you're targetting other platforms such FreeBSD 4, Dfly, OS X, or SysV > things like Solaris, try installing the libnet port and invoke > libnet_get_hwaddr(). > > ---Chuck > > > ___ -- Pietro Cerutti - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which file to request SIOCGIFMAC on?
On Feb 20, 2007, at 2:33 PM, nocturnal wrote: [ ...looking up one's MAC address... ] I am buying a MacBook for personal use though so it would be nice to run it on osx. I wouldn't like to start using another library just to get the hardware address of an interface though, that seems kinda overkill for what should be a simple task. The program is already using libpcap but that is included in FreeBSD by default so you don't have to install it. I don't think PCAP offers an easy way to get the MAC address of a given interface, short of capturing a packet sent from the host via that particular interface, and then figuring out the right offset to the source/sender MAC based on the datalink type header, which presumably will be DLT_EN10MB (14 bytes in size, IIRC). Do you have any idea of why i'm getting this error from ioctl when i'm doing what the manual says i should do? I am of course running it as root to because the libpcap operations require it. Nope, sorry. I remember trying to make this go myself a while back, and decided that using the libnet call was much easier than figuring out why the SIOCGIFMAC ioctl wasn't working as expected... What might help me is to take a look at the source of that libnet_get_hwaddr function in libnet. I'll try that, thank you very much for the tip. So far i've been trying to look at the source for ifconfig to figure out how it gets the hardware address. Of course it uses SIOCGIFMAC but i can't find the socket it opens because i can't find where it uses the maclabel_status function. Well, you could always invoke and parse the output of ifconfig (or arp), but I can understand wanting to get the information directly without frobbing external programs. :-) -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which file to request SIOCGIFMAC on?
Hi The original plan is to only run it on FreeBSD 5 and higher, actually only 6 by now. It's a program i'm writing for work and at work the most active servers run FreeBSD 6 and are updated frequently. The ones with older versions don't run anything of interest. I am buying a MacBook for personal use though so it would be nice to run it on osx. I wouldn't like to start using another library just to get the hardware address of an interface though, that seems kinda overkill for what should be a simple task. The program is already using libpcap but that is included in FreeBSD by default so you don't have to install it. Do you have any idea of why i'm getting this error from ioctl when i'm doing what the manual says i should do? I am of course running it as root to because the libpcap operations require it. What might help me is to take a look at the source of that libnet_get_hwaddr function in libnet. I'll try that, thank you very much for the tip. So far i've been trying to look at the source for ifconfig to figure out how it gets the hardware address. Of course it uses SIOCGIFMAC but i can't find the socket it opens because i can't find where it uses the maclabel_status function. Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se Chuck Swiger wrote: On Feb 20, 2007, at 1:10 PM, nocturnal wrote: I'm trying to get the ethernet address and from the manuals i understand that i need the ifreq structure for this. So i'm trying to request SIOCGIFMAC with ioctl on a socket of type SOCK_DGRAM. If you're just targetting FreeBSD >= 5.x platforms, your current approach is reasonable (assuming you can fix whatever the problem is); if you're targetting other platforms such FreeBSD 4, Dfly, OS X, or SysV things like Solaris, try installing the libnet port and invoke libnet_get_hwaddr(). ---Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dell laptop + sound
Good day all, I am having problems getting sound to work on an old Dell Latitude. I configured the sound card following the handbook, and the driver (snd_ich) loads just fine. However I can neither hear anything when doing cat file > /dev/dsp nor can I raise the volume level using the XFCE volume control applet. Any hints? Thanks in advance, Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 13:50, Roger Olofsson wrote: > Hello Joe, > > May I suggest a small trick that really makes your life alot easier. Go > with the default values when you install the FreeBSD, ie accept the > sysinstall generated autos. (Make sure to make / and swap the first > partitions though). > > Now, whenever a partition gets filled up, just do a symlink to another > partition. The command is ln -s and is a real lifesaver. Whenever all > partitions are full, just stick another HD in the machine and ln -s to > that drive. > I can't do this. When using the auto defaults, /usr fills up even before the installation is complete. But the suggestion is interesting for handling other slices for an already installed system. Thanks for the suggestion, Roger. Right now, I'm checking into just adding a PCI ATA/100 controller - my system is a 1999 model and uses ATA/33 :-( and upgrading my HDD to a more modern 40 or 80 Mb drive, possibly a Western Digital Caviar SE WD800JB 80GB IDE Ultra ATA100 Hard Drive. I can get the drive for around $45 at newegg.com, and it seems to be well received by customer reviews. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How Do I Surf To My Server?
On Feb 19, 2007, at 12:57 PM, Drew Jenkins wrote: From: Jeffrey Goldberg <[EMAIL PROTECTED]> Can you tell us more about your home set-up? Presumably you have some sort of router doing NAT and DHCP? Tell us about it. I had, but perhaps in a different thread, so forgive me for not putting it here before. I have DHCP, a satellite dish to which both computers are linked. Drew, I did see that earlier message, but it's not the information I'm seeking. You say that both computers are linked to a satellite dish, but I'm asking for information about what is between your computers and the dish. You should have ethernet cables running from each computer to some sort of box. Can you describe that box for us? For the moment (or for the rest of this message, I will refer to it as Box R). Also another point of confusion is that we may be talking about two different DHCP servers. One of them is at your ISPs offices and assigns an IP address (and other stuff) to your home (actually to Box R). It will assign a public IP address like 67.46.93.3 as a non- arbitrary example. The other one (the one that I'm interested in) is on your premises and assigns IP addresses to the two machines. It is what I think Box R is. It will assign addresses like 192.168.1.100 and 192.168.1.101. This Box R is what is giving your server an IP address. And that address may change. You need to give your server a fixed IP address, say 192.168.1.6. This can be done using the sysinstall GUI for network set up. But here is the hitch. You don't want it to have the same IP address as something that Box R might assign. This is why I want you to look at the DHCP configuration on Box R. Maybe Box R gives out IP addresses (DHCP pool) in the range 192.168.1.100-199, or maybe some other range. The IP address that you pick for your server should be on the local net, but not in the DHCP pool. I need more information about box R to be able to tell you how to log on to it. On your local network it probably (but not necessarily) has the IP address 192.168.1.1 or 192.168.0.1 all depending on its default settings. Try pointing a web browser (from one of your two machines) to either of those addresses and see if you get anything. When you get the right address you should be prompted for a username and password. We'll need to know more about the Box R to know what the password is, but a good first guess is always Username: admin, Password: admin. (of course once you do get into Box R change the password to something else). Please keep in mind that all of this is just diagnostic. This information is not guaranteed to lead me to a solution. But it will help in understanding your network. If ifconfig isn't the way to do that, could you specify how? sysinstall is a GUI, so it'll just ask me a question, or I'll have to look on a chart to find what I need, right? Easy, right? ifconfig (or the GUI sysinstall) will be the way to set the IP address of your server. Nothing that I've said contradicts any of the other advice you've received here. But to pick the right IP address it is good to know what Box R's DHCP range is. Also, later on, it may be that some configuring of Box R will be needed for what you are trying to do. So the advice that you are getting is multi-pronged. So far most of the advice you've had has been in the form of "do X and report back here so that we know more about your network". Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Update and install new packages immediate after installation
Jerry McAllister wrote: >> FreeBSD-6.2-amd64 > It is well documented in the handbook, but basically, > > install cvsup from ports: /usr/ports/net/cvsup > > Then run the cvsup for source and ports. You don't need to install cvsup on FreeBSD 6.2 because csup is in the base system. csup is cvsup rewritten in C rather than Modula-3. Works pretty much exactly the same way, reads the same supfiles etc. Apart from using csup instead of cvsup, the rest of the instructions are good. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 13:38, Lowell Gilbert wrote: ... > In a system that tight for space (for running KDE, anyway), I would > just put all the space (aside from some swap) into a single root > partition. The risks of something running away and filling a > partition are much less of an issue than the risks of filling up a > partition with legitimate data and needing to play games to keep > everything installed. > > Greg Lehey has been recommending this approach in his books for at > least a couple of editions now. This is the approach I take with slackware, since I've never had any problems with system hangs/reboots using it. But, what concerns me about this approach when using FreeBSD is that I've had spontaneous reboot problems with FreeBSD. Although I think I've narrowed the solution down to just not using kernel ppp, since I get the reboots using pppd whether or not I've set debug.mpsafenet=0 on my system, there may be other issues involved. With everything under /, a spontaneous reboot might leave the filesystem corrupted and unusable, correct? I cound certainly try it, though, once I know that I've taken care of the rebooting issue for good. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Which file to request SIOCGIFMAC on?
On Feb 20, 2007, at 1:10 PM, nocturnal wrote: I'm trying to get the ethernet address and from the manuals i understand that i need the ifreq structure for this. So i'm trying to request SIOCGIFMAC with ioctl on a socket of type SOCK_DGRAM. If you're just targetting FreeBSD >= 5.x platforms, your current approach is reasonable (assuming you can fix whatever the problem is); if you're targetting other platforms such FreeBSD 4, Dfly, OS X, or SysV things like Solaris, try installing the libnet port and invoke libnet_get_hwaddr(). -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE:Re : Problem with if_bridge and PF
Router = 192.168.150.254/24 <=|---(bridge)---|=> Client = 192.169.150.10/24 vr0 xl0 <---ping=OK-> vr0 : ip: 192.168.150.102/24 xl0 : ip: 192.168.150.103/24 And I have added in my rc.conf lines: cloned_interfaces="bridge0" ifconfig_bridge0="addm xl0 addm vr0 up" - Message d'origine De : Erik Osterholm <[EMAIL PROTECTED]> À : Fab <[EMAIL PROTECTED]> Cc : freebsd-questions@freebsd.org Envoyé le : Mardi, 20 Février 2007, 16h33mn 38s Objet : Re: Problem with if_bridge and PF On Mon, Feb 19, 2007 at 07:05:31PM +, Fab wrote: > Hello all, > > I miss, > > I have created an bridge with freebsd 6.2, I have compiled a new > kernel with if_bridge option. But I cannot ping my second > interface, the tunnel works great because packets can transit > between the two interfaces. > > Someone have an idea for resolve this problem of ping??? > > Thanks. Can you draw out a network diagram, including the bridge, the interfaces on the bridge, and the IPs? The output of ifconfig may also be useful. Erik ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: CUPS printing problem
On Sun, Feb 18, 2007 at 10:04:45PM +, AN wrote: > I am having a problem printing from CUPS. I did a fresh install on 6.2 > release and cups-1.2.7. I am trying to configure for an HP1022. The > install was successful, and I can manage the printer from the web > interface. But, when I try to print a test page, the light on the printer > starts flashing but nothing gets printed. The printer admin page shows > the following: > Description: HP1022 > Location: office > Make and Model: HP LaserJet Series PCL 4/5 CUPS v1.2 > Printer State: idle, accepting jobs, published. > Device URI: socket://10.0.1.222:9100 > IDNameUserSizePages State Control State > HP1022-1 Test Page root18k Unknown stopped > > So, it appears that after I send the job the printer goes into "Stopped" > state. > I checked the logs, and there is something I don't understand. It says: > cupsdAuthorize: No authentication data provided > What does this mean? Where do you set authentication? Is this the cause > of the problem, or a symptom of something else? One thing you need to check is the access rights to the printer device. The device that you want to print to (e.g. /dev/lpt0) needs to belong to the "cups" group (which should exist, along with an unprivileged user named "cups"), and that group needs to have read/write access. If you are using a parallel port printer, add the following to devfs.conf(5) and reboot, or use chown/chmod to correctly set the values: # Give cups printer access own lpt0root:cups permlpt00660 If you are using for instance a USB printer, you need to add the following to your ruleset in devfs.rules(5)and reboot, or use chown/chmod to correctly set the values: add path 'ulpt*' mode 0660 group cups HTH, Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpoefYVGDXuT.pgp Description: PGP signature
Re: Update and install new packages immediate after installation
> Hi folks, > > FreeBSD-6.2-amd64 > > Just finished installing the captioned OS which is now working. There is no > major desktop running on the OS, such as KDE/Gnome/Xfce, as well as some > other necessary applications. I'll erase the OS soon to make another > installation with new partitions arrangement. On the 2nd round I'll also > make the same installation. > > Please advise after installation completed how to read on CVS on the website > to fetch fresh ports and src tree that I need installing further packages > and updating the system. Also how to read about its package management and > how to startup. I expect first to update the system before doing any > further installations and/or customizations. Pointers would be appreciated. > TIA It is well documented in the handbook, but basically, install cvsup from ports: /usr/ports/net/cvsup Then run the cvsup for source and ports. Then do your buildworld, buildkernel and installkernel stuff and reboot. Clean up stuff and then do your installworld Then do the mergemaster-- if this a brand new install that might might not be needed but won't hurt. Now you can install all your other ports. They were updated when you ran the cvsup at the same time as the source if you put both in your cvsup control file (supfile). Just for clarity, I name my supfiles after the version I CVSUP to. SO for 6.2 I call it: supfile62and the contents are as follows. One other thing, You might want to do all the major operations inside of a script session in order to capture messages in case you need to go back and review them. See script(1) The handbook should get you all else that you need. jerry -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- # $FreeBSD: src/share/examples/cvsup/standard-supfile,v 1.23.4.2.2.1 2006/05/06 07:41:03 scottl Exp $ # # cvsup standard-supfile # # If not running X, or invoking cvsup from a non-interactive script, then # run it as follows: # # cvsup -g -L 2 standard-supfile # # eg do: cvsup -g -L 2 supfile62 # *default host=cvsup.FreeBSD.org *default base=/var/db *default prefix=/usr *default tag=RELENG_6_2 *default release=cvs *default delete use-rel-suffix *default compress ## Main Source Tree. # The easiest way to get the main source tree is to use the "src-all" # mega-collection. It includes all of the individual "src-*" collections. src-all ports-all tag=. doc-all tag=. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- This supfile will be the same except for changing the '6_2' string for other cvsups in the future. > > B.R. > satimis > -- > View this message in context: > http://www.nabble.com/Update-and-install-new-packages-immediate-after-installation-tf3252717.html#a9041910 > Sent from the freebsd-questions mailing list archive at Nabble.com. > > ___ > 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: ipfw limit src-addr woes
Ian Smith wrote: On Mon, 19 Feb 2007, admin wrote: > Ian Smith wrote: > > On Mon, 19 Feb 2007, admin wrote: > > > Andre Santos wrote: > > > > On 2/18/07, admin <[EMAIL PROTECTED]> wrote: > > > > > > > >> Hi, I'm trying to use ipfw's limit clause to limit the number of > > > >> connections a single IP can have at the same time in a transparent > > > >> web-proxy environment: > > > >> > > > >> 00350 skipto 401 tcp from x.x.x.x/x,y.y.y.y/y,z.z.z.z/z to any dst-port > > > >> 80 in via if0 setup limit src-addr 10 > > > >> 00401 fwd local.ip.ad.dr,8080 tcp from x.x.x.x/x to any dst-port 80 > > > >> ... the rest fwd... > > > >> > > > >> as I understand the manpage, when the current number of connectiions is > > > >> below 10, the action "skipto" is performed, else, the packet is dropped > > > >> and the search terminates. But... > > > > No, a packet is not dropped on a condition that fails a skipto test. > > > The manpage doesn't make this point clear. You pretty much have to read it all .. several times .. a year. One of the things you note is that each rule is tested until a packet is either allowed or denied by a rule, even until '65535 deny ip from any to any'. > limit {src-addr | src-port | dst-addr | dst-port} N > The firewall will only allow N connections with the same > set of parameters as specified in the rule. Yes, for this rule. It still needs to be applied to an allow or deny (or forward, divert etc, anything that terminates the search). > To limit the number of connections a user can open you can use the > following type of rules: > ipfw add allow tcp from my-net/24 to any setup limit src-addr 10 > ipfw add allow tcp from any to me setup limit src-addr 4 Yes. Notice that these are allow rules, so the search terminates when successfully matched. It is assumed you'll later have rule/s denying what you've not allowed. True, this is not stated with every example. > I'm assuming the packet gets silently dropped when the limit is > overloaded but gets acted upon otherwise due to the stateful "limit" > behaviour (keep-state in disguise). Just do a "skipto" when there's a > state entry and that's it. And that's why the counter grows for > established connections too, even though there's a "setup" modifier. Can't tell without seeing your whole ruleset, but now that you know that the skipto rule has NOT dropped the setup packets that don't match that rule (including those exceeding the src-addr limit), I suspect you'll find another rule has allowed them, on some other condition, later on. Wrong: the implied "check-state" done by the "limit" lets the connection through (i.e. performs the action) iff there's state recorded for it (src-addr+src-port+dst-addr+dst-port). If however it's a SYN packet incoming and the number of current states is trying to cross the limit, the SYN packet is implicitly dropped and the search terminates. This is not to say that I completely understand the things going on when the connections start building up (different timeouts?) but the above conclusion is based on what simulation has shown. The whole ruleset fits on one screen, there's an "allow ip from any to any" in the end, so I'm pretty sure I'm not crazy :-) > As for the problem, it seems to me that all this noise is because of > different timeouts in ipfw and TCP layer/whatever. The dynamic state > entry for a connection expires while netstat -na still show the > connection as ESTABLISHED, or, worse, the state entry is still there but > the corresponding connection is in some half-closed state (FIN_WAIT_2, > CLOSE_WAIT, LAST_ACK). The first case allows many more connections than > "limit", while the second case won't let many good clients connect due > to their buggy browsers not closing connections and letting the count > build up. Could this be it? I don't believe so. They can only have been established in the first place if the setup packet has been, somewhere in your ruleset, allowed. Yup. Then, after setting up the connections, the state times out earlier than the actual connection shown by netstat! Gotta play a bit more with the *_lifetime sysctls... And yes (answering to someone else on the list), net.inet.ip.fw.dyn_keepalive is on: I don't tend to mess with the default values of things I don't understand or care about... only what's absolutely necessary. Here it seems they're allowed (at least the ones from x.x.x.x/x) by the fwd at 401 which has no 'setup' constraint, and will fwd both setup AND established packets from x.x.x.x/x .. other rules, y and z, presumably. Replaying .. trying not to do quite so much in one rule, but given you can't just 'allow' here, since you want to run your fwd rules later: > 00350 skipto 401 tcp from x.x.x.x/x,y.y.y.y/y,z.z.z.z/z to any dst-port \ > 80 in via if0 setup limit src-addr 10 0
Which file to request SIOCGIFMAC on?
Hi I'm trying to get the ethernet address and from the manuals i understand that i need the ifreq structure for this. So i'm trying to request SIOCGIFMAC with ioctl on a socket of type SOCK_DGRAM. Now i couldn't figure out from the manuals which format but i've tried PF_LOCAL, PF_INET and AF_INET. With PF_LOCAL i get the error "Operation not supported" from ioctl but with AF_INET or PF_INET i get "Invalid argument". This is a snippet of code that i use to get the ethernet address. Earlier code has already verified the char *ifname which contains the interface name. [..] int if_socket; struct ifreq ifr; memset(&ifr, 0, sizeof(ifr)); [..] strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); if((if_socket = socket(PF_INET, SOCK_DGRAM, 0)) < 0) { perror("socket: "); exit(-1); } if(ioctl(if_socket, SIOCGIFMAC, &ifr) < 0) { perror("ioctl: SIOCGIFMAC: "); exit(-1); } [..] I know the rest of the code works fine because this is something i'm adding to a working program. Also it's obviously stopping at the ioctl since i get the error "ioctl: SIOCGIFMAC: : Invalid argument". -- Med vänliga hälsningar Stefan Midjich aka nocturnal [Swehack] http://swehack.se ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How Do I Surf To My Server?
Drew Jenkins wrote: > - Original Message > From: Kevin Kinsey <[EMAIL PROTECTED]> > To: Drew Jenkins <[EMAIL PROTECTED]> > Cc: freebsd-questions@freebsd.org > Sent: Monday, February 19, 2007 6:26:07 PM > Subject: Re: How Do I Surf To My Server? > > > >> Use "netstat -anf inet" on the server and see if port 80 or 8080 is >> "LISTENING", and on what address. > > This reports tcp4 listening on 192.168.1.130.80. Nothing on 8080, which would > indicate a problem with my configuration of Zope. try using sockstat -4 That ought to tell you more. -- Best regards, Chris Nothing is ever accomplished by a reasonable man. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is it possible to build sun-jdk-1.5 from the source?
Hello, > > Is it possible to build sun-jdk-1.5 from the source code? > > If yes, how to do that? > > > > To be honest, I would like to avoid to install a binary that requires > > Linux support packages. It's not that I do not like Linux (I have 3 > > Gentoo Linux at my disposal), it's simply that my machine is a FreeBSD > > machine and I would like to keep it as simple as possible. > > Your best bet in that case would be to install the diablo package from > http://www.freebsdfoundation.org/downloads/java.shtml (for me the 6.1 > package works fine on 6.2 and i've seen posts from other people saying > the same.) Then install the sun jdk port, which can use the diablo > package to build. You can then deinstall the diablo jdk. That's exactly what I did and it worked flawlessly. Thanks all of you for the help. ;) Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
Hello Joe, May I suggest a small trick that really makes your life alot easier. Go with the default values when you install the FreeBSD, ie accept the sysinstall generated autos. (Make sure to make / and swap the first partitions though). Now, whenever a partition gets filled up, just do a symlink to another partition. The command is ln -s and is a real lifesaver. Whenever all partitions are full, just stick another HD in the machine and ln -s to that drive. Say f'rinstance that your /var/log gets filled up. Just symlink it to another partition with more space. (Of course when it comes to logs, you should always set these to rotate and newsyslog.conf is your friend.) This works for everything, you can of course change stuff like the mysql-server.sh script to point database folders to different places than default but why bother when a simple symlink does the trick? Now, the next trick I'd recommend is a bit more complicated to setup but it's basically the natural evolution of a symlink on a local machine. If you have another FreeBSD machine in your network, make one a NFS daemon and the other a NFS client and NFS-mount a drive from one machine to the other over the network. You could also use Samba to do this if your other machines aren't FreeBSD. Good luck! Greetings /Roger Joe Vender skrev: I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to install the ports collection and also KDE. I will operate from the KDE environment using FreeBSD as a standalone desktop machine connected to the net via a dialup internet connection. What would be the best sizes for the disk partitions so that I don't run out of space on any of them while also leaving the maximum amount of space possible for the future software to be installed? My partitions will be: / swap /var /tmp /usr as suggested using the auto option during slice creation. I've found that if I use the default sizes that are chosen by the installer using the auto option, the /usr partition fills up before everything is installed and the installation fails. If I remember correctly, the auto feature sets the sizes around the following sizes for my HDD: / ~500MB swap~600MB /var~1300MB /tmp~ 500MB /usr~3GB I've played around with the sizes, reducing /var to around 350Mb, / to around 256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this way, I got FreeBSD installed OK, but I'm considering installing it for a final time and using it exclusively for my desktop after testing various linuxes and FreeBSD and comparing them. So, I would like to get the sizes of FreeBSD's slices optimized. I'm sure there are plenty of people in the user community with a similar usage/size situation who can advise me. Thanks, Joe ___ 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: ssh to VMS - terminal problems
On Tue, Feb 20, 2007 at 07:05:37PM +, Anton Shterenlikht wrote: > On Tue, Feb 20, 2007 at 11:45:17AM -0500, Thomas Dickey wrote: > > On Tue, Feb 20, 2007 at 03:51:57PM +, Anton Shterenlikht wrote: > > > > > If I run ssh from a terminal emulator in xorg, all seems fine. > > > > yes - VMS only knows about DEC-compatible terminals. None of the *BSD > > console emulators do well enough to be usable on VMS. > > > > xterm supports ANSI color, VT220 emulation and UTF-8 > > There's an faq at > > http://invisible-island.net/xterm/xterm.faq.html > > ftp://invisible-island.net/xterm/ > > thanks a lot. > > So, what was pcvt driver designed for? I understood from the man > pages that it is supposed to be compartible with DEC function keys? Most of these drivers are just good enough to run vi (so they can use a termcap written to accommodate a DEC terminal). VMS wants more than just function keys - the terminal has to respond to control sequences that ask what it is, for instance. I see from the show-terminal that it either guessed that it was a VT100, or that it was told that it was. If you capture the output from the host with 'script', you can see what's sent to the terminal. Seeing the replies is harder, but that might provide some clues. Running vttest would show some of the issues (for a 25-line console screen, that would be something like "vttest 25x80.80" to make it workable). That reminds me - Of course VMS thinks you have 24 lines (which makes all of the scrolling not work properly). You can modify that setting (the "page" in the "show term"). There are other likely problems... -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
Joe Vender <[EMAIL PROTECTED]> writes: > I've played around with the sizes, reducing /var to around 350Mb, / to around > 256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this > way, I got FreeBSD installed OK, but I'm considering installing it for a > final time and using it exclusively for my desktop after testing various > linuxes and FreeBSD and comparing them. So, I would like to get the sizes of > FreeBSD's slices optimized. I'm sure there are plenty of people in the user > community with a similar usage/size situation who can advise me. In a system that tight for space (for running KDE, anyway), I would just put all the space (aside from some swap) into a single root partition. The risks of something running away and filling a partition are much less of an issue than the risks of filling up a partition with legitimate data and needing to play games to keep everything installed. Greg Lehey has been recommending this approach in his books for at least a couple of editions now. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xDSL n Dial up connection ??? help
MoonblueZ <[EMAIL PROTECTED]> writes: > -- --- > | ISP 1 | | ISP 2 | > -- --- > || > (DHCP) || (DHCP) > || > - - > Dial up --> | | | | <-- xDSL > - - >\ / > >| router | > > | > | > > > I have some problem here, about how to setting freebsd router which have two > link like topology above. i want the router have automatically detected if > xDSL link has down n swicth the link to dial up automatically. even so was > the reverse if link xDSL has up n dial up is disconnect automatically.. Aside from detecting the status of the DSL link, ppp(8) can handle everything you need. However, figuring out when the link goes down can be tricky; among other things, the techniques available depend on how you interface to the DSL line. You may need some kind of heartbeat -- in the worst case, you might need to set one up yourself using a ping of some upstream router. Good luck. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 10:11, Jerry McAllister wrote: ... > If you are not using a database system like MySQL, your later > scheme is probably good. I might make /var 512 MB, but otherwise > not change much. No, not using a database system. > 6 GB is kind of a small disk for 'modern' times > but you should be able to run OK. You're telling me! It makes me nervous. > You will need to keep your logs > in /var/log cleaned out regularly. Yes, I'll do that. > You could trim / a little more > if you really need to. That is what I make mine, but on a much > bigger disk. You could get by with 160 MB or even a little less. > Making it 128 MB might be cutting things a little close. > > Note that good Seagate and other major brand disks in the 70 GB range > are getting pretty cheap now from places like NewEgg, etc. You might > think about that. That's a good idea. I'll check that out. I wonder, will the newer IDE HDDs have any problems with a motherboard that is a 1999 model? Any suggestions as to a good quality, low priced HDD in the 40-70 Gb range that I could put in my 1999 Compaq Presario 5184? > > Have fun, > > jerry > > > Thanks, > > Joe > > ___ > > 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: Root devices changing on Dell 2950 with dual perc 5
Dan D Niles wrote: I just installed FreeBSD 6.2 on a Dell 2950. I installed it on a raid 1 on the integrated Perc 5i. The root device was /dev/mfid0s2a. Then, I configured a raid 5 device on the Perc 5e. Now, my root device was /dev/mfid1s2a. As a test, I configured an additional raid 1 device on the Perc 5e. Now my root device is /dev/mfid2s2a. How do I get the internal raid device to be /dev/mfid0 and not change every time I add an external raid device? The machine BIOS lists the Perc 5i first, and the Perc BIOS lists the Perc 5i as controller 0 and the Perc 5e as controller 1. Any ideas how to fix this? Thanks, Dan Not a true fix but you could take a look at geom label. It will allow you to label each partition with a static device id. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
On Tuesday 20 February 2007 10:05, Sten Daniel Soersdal wrote: > Perhaps it is possible to reduce / to ~128 mb? boot up and see Right now, I'm running slackware, but if I remember correctly, the / partition contained about 40 to 60 Mb or data. > estimate that you need several mb free and estimate double of > /boot/kernel directory (if you install new kernel you get to keep the > old one, therefore estimate double that directory size). > Swap ... well for a successful crash dump you need as much as swap as > you have memory. I have 312Mb of usable RAM, so I made the swap around double that. > /var can be further reduced to perhaps 512mb or perhaps even less? I wasn't sure how much I'd need in /var, so I didn't want to undersize it too much. But, I don't spool large print jobs, and I set the logs to be trimmed regularly. > > Just a (cluttered) suggestion. > > The cool part about FreeBSD is what you can get away with, just by > symlinking (ln -s) a few folders here and there. After all, it's just > your desktop, right? Agreed. I'm just experimenting and learning at this point. Thanks for the suggestions, Sten. Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ssh to VMS - terminal problems
On Tue, Feb 20, 2007 at 11:45:17AM -0500, Thomas Dickey wrote: > On Tue, Feb 20, 2007 at 03:51:57PM +, Anton Shterenlikht wrote: > > > If I run ssh from a terminal emulator in xorg, all seems fine. > > yes - VMS only knows about DEC-compatible terminals. None of the *BSD > console emulators do well enough to be usable on VMS. > > xterm supports ANSI color, VT220 emulation and UTF-8 > There's an faq at > http://invisible-island.net/xterm/xterm.faq.html > ftp://invisible-island.net/xterm/ thanks a lot. So, what was pcvt driver designed for? I understood from the man pages that it is supposed to be compartible with DEC function keys? anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Root devices changing on Dell 2950 with dual perc 5
I just installed FreeBSD 6.2 on a Dell 2950. I installed it on a raid 1 on the integrated Perc 5i. The root device was /dev/mfid0s2a. Then, I configured a raid 5 device on the Perc 5e. Now, my root device was /dev/mfid1s2a. As a test, I configured an additional raid 1 device on the Perc 5e. Now my root device is /dev/mfid2s2a. How do I get the internal raid device to be /dev/mfid0 and not change every time I add an external raid device? The machine BIOS lists the Perc 5i first, and the Perc BIOS lists the Perc 5i as controller 0 and the Perc 5e as controller 1. Any ideas how to fix this? Thanks, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Mounting a smb share from fstab
-N was the correct option and worked like a charm. Thanks, Grant - From: Vasile C [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 20, 2007 12:31 PM To: Grant Wagner Subject: Re: Mounting a smb share from fstab On 2/20/07, Grant Wagner <[EMAIL PROTECTED] > wrote: Hi Folks, I'm attempting to mount a guest smb share on my server at boot up. I've set up a .nsmbrc file which will get me past a password login if I try to mount it after a log in, and I've added the following line to my fstab file. //[EMAIL PROTECTED]/DataHeap /mnt/server smbfs rw 0 0 Now, since my .nsmbrc file is in my home directory, it's clearly not read during boot up and the whole process pauses waiting for me to input an empty password. Can I somehow add a flag to fstab to tell it it's only a guest account and thus doesn't need a password or perhaps move the .nsmbfs file somewhere where it's picked up at boot time? Any ideas? Grant Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to " [EMAIL PROTECTED]" Hello, I did this a few years ago and I remember there was some flag in fstab , I`m not sure but it was something like : //[EMAIL PROTECTED]/DataHeap /mnt/server smbfs rw,-N 0 0 Hope it helps. -- If UNIX doesn't have the solution you have the wrong problem. UNIX is simple, but it takes a genius to understand it's simplicity. Regards , Vasile C - 8:00? 8:25? 8:40? Find a flick in no time with theYahoo! Search movie showtime shortcut. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Can't upgrade misc/shared-mime-info
Hi all, I'm not sure if this should go to -ports, so I thought I'd start here. As part of a portupgrade, shared-mime-info-0.19 is supposed to be upgraded to -0.20. This is failing w/ a linker error, apparently like this: cc -O -pipe -march=athlon-xp -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -L/usr/local/lib -o update-mime-database update_mime_database- update-mime-database.o -L/usr/local/lib -lxml2 -lglib-2.0 -liconv /usr/local/lib/libxml2.so: undefined reference to `pthread_equal' gmake[1]: *** [update-mime-database] Error 1 gmake[1]: Leaving directory `/usr/ports/misc/shared-mime-info/work/shared-mime-info-0.20' gmake: *** [check-recursive] Error 1 *** Error code 2 Stop in /usr/ports/misc/shared-mime-info. What's bugging me here is that libxml2.so is *not* linked against pthread: # ldd /usr/local/lib/libxml2.so /usr/local/lib/libxml2.so: libz.so.3 => /lib/libz.so.3 (0x282bf000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x282d) libm.so.4 => /lib/libm.so.4 (0x283c) ... although strings shows me that there are nonetheless at least references to pthread_* functions in there: # strings /usr/local/lib/libxml2.so.5 |grep pthread_ pthread_mutex_init pthread_mutex_destroy pthread_mutex_lock pthread_mutex_unlock pthread_cond_init pthread_cond_destroy pthread_self pthread_equal ... I made a point of forcing a recompile of libxml2, making sure that I wasn't defining WITH_THREADS. Still no dice, so what gives? Can anyone tell me: 1) what's going on, and how to fix it? Or 2) what more info could I usefully provide about my system? or 3) that this should definitely go to -ports? :) Thanks! Justin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sun jdk 1.6? Any port?
On Mon, Feb 19, 2007 at 07:21:58PM +0100, Daniel Tourde wrote: > Hello, > > Is there any plan to port Sun JDK 1.6 to FreeBSD? Yes, it's in the works; but the porters have other priorities as well (eg: life). You may try checking the arhives of [EMAIL PROTECTED] and querying there again if you like. > Would it be possible to build it from scratch, without the need for a Java > Linux-based binary JDK. If you've got a FreeBSD binary of jdk-1.5, you'll be able to use it to bootstrap a build of jdk-1.6 (when it comes out). Cheers. -- Jonathan Chen <[EMAIL PROTECTED]> -- "Nyuck, nyuck, nyuck" - Curly ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help needed setting up NATIVE ipv6 connection
--- Björn König <[EMAIL PROTECTED]> wrote: > Add the following line in /etc/rc.conf > > ipv6_enable="YES" > > This is enough to let FreeBSD configure the > interface with IPv6 > automatically using router solicitation. Hmmm...that sounds very nice - just adding that one line and _nothing else_. This system is a server though, so how will that router know to give me the same IP every time ? > >> - if not, assuming I just want to assign a single > ipv6 address to > >> myself (let's say, ::2, since ::1 is the gateway) > what is the ifconfig > >> syntax to add that one ipv6 address to my NIC > (em0) as an alias that > >> will not interfere with the ipv4 address that is > already there ? > > ifconfig_fxp4="inet " > ifconfig_fxp4_alias0="inet " > ifconfig_fxp4_alias1="inet6 1234:1234:1234::2/64" > ifconfig_fxp4_alias2="inet6 1234:1234:1234::3/64" Ok, yes, I think I would like to do it manually like this. I notice you do not have a ipv6 default route statement there - is it not needed ? Do I need to tell my provider that I am taking the /48 they gave me and using it with a /64 like that, or can I just stick in the /64 and it will work fine ? I assume that if I just want to keep things simple I can just put /48 in place of your /64, right ? Thanks a lot. Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ___ 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 upgrade subversion 1.4.2 to 1.4.3 (apache22 db4 support)
Hans Nieser wrote: Hi list, I'm trying to upgrade subversion from 1.4.2 to 1.4.3 (as part of a full system update using 'portupgrade -a') but during compilation it aborts with the following message: You should build `www/apache22' with db4 support to use subversion with it. Please rebuild `www/apache22' with option `WITH_BERKELYDB=(db4|db41|db42)' and try again. (or it suggests disabling db4 entirely with WITHOUT_DBD) Since it doesn't seem like a bad idea to have the DB4 repository backend available I decided to recompile apache22 (version 2.2.4) with DB4 support by adding the following to the MAKE_ARGS list in /usr/local/etc/pkgtools.conf: > 'www/apache22' => 'WITH_BERKELYDB=db42', Problem solved now. I double checked several times, yet somehow I missed that I had written BERKELY instead of BERKELEY ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Need Mesa library in Linux emulation mode = How do I build a Linux library?
On Tuesday 20 February 2007, Lorin Lund wrote: > A program I'm using, which is distributed only in binary form > wants the Mesa library. Do you already have Linux emulation installed? If so, does installing the graphics/linux_dri port solve your problem? That got Secondlife (which uses OpenGL) up and running on my system. -- Kirk Strauser pgp1RvBXT15ve.pgp Description: PGP signature
Mounting a smb share from fstab
Hi Folks, I'm attempting to mount a guest smb share on my server at boot up. I've set up a .nsmbrc file which will get me past a password login if I try to mount it after a log in, and I've added the following line to my fstab file. //[EMAIL PROTECTED]/DataHeap /mnt/server smbfs rw 0 0 Now, since my .nsmbrc file is in my home directory, it's clearly not read during boot up and the whole process pauses waiting for me to input an empty password. Can I somehow add a flag to fstab to tell it it's only a guest account and thus doesn't need a password or perhaps move the .nsmbfs file somewhere where it's picked up at boot time? Any ideas? Grant Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail beta. http://new.mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Mounting a smb share from fstab
Hi Folks, I'm attempting to mount a guest smb share on my server at boot up. I've set up a .nsmbrc file which will get me past a password login if I try to mount it after a log in, and I've added the following line to my fstab file. //[EMAIL PROTECTED]/DataHeap /mnt/server smbfs rw 0 0 Now, since my .nsmbrc file is in my home directory, it's clearly not read during boot up and the whole process pauses waiting for me to input an empty password. Can I somehow add a flag to fstab to tell it it's only a guest account and thus doesn't need a password or perhaps move the .nsmbfs file somewhere where it's picked up at boot time? Any ideas? Grant Finding fabulous fares is fun. Let Yahoo! FareChase search your favorite travel sites to find flight and hotel bargains. http://farechase.yahoo.com/promo-generic-14795097 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Need Mesa library in Linux emulation mode = How do I build a Linux library?
A program I'm using, which is distributed only in binary form wants the Mesa library. So I suppose I have to compile it but it would have to be into a Linux format. Where is development for Linux covered in the documentation? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: snd_envy24 driver for MAudio 2496 sound card in 6.x?
On Tue, 20 Feb 2007 08:44:15 -0800 Oliver Iberien <[EMAIL PROTECTED]> wrote: [...] > Is it necessary to recompile the kernel without sound support, if it > has previously been compiled in? Would this mean compiling it > without device sound? > Yes. Please remove any trace of sound/snd_* within your kernel before using these binary modules. > Does "dump everything" mean use dump, or could they just be copied? > If dump, how is it used? > Copy, overwrite, it's all the same. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot * users :P pgp2xgOafdL0Y.pgp Description: PGP signature
Re: Is it possible to build sun-jdk-1.5 from the source?
Daniel Tourde wrote: > Hello, > > Is it possible to build sun-jdk-1.5 from the source code? > If yes, how to do that? > > To be honest, I would like to avoid to install a binary that requires Linux > support packages. It's not that I do not like Linux (I have 3 Gentoo Linux at > my disposal), it's simply that my machine is a FreeBSD machine and I would > like to keep it as simple as possible. > Your best bet in that case would be to install the diablo package from http://www.freebsdfoundation.org/downloads/java.shtml (for me the 6.1 package works fine on 6.2 and i've seen posts from other people saying the same.) Then install the sun jdk port, which can use the diablo package to build. You can then deinstall the diablo jdk. (personally I just use the diablo package and dont bother recompiling but I'm not an advanced java user, just wanted it for the browser plugin really.) Vince > Daniel > ___ > 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: ssh to VMS - terminal problems
On Tue, Feb 20, 2007 at 03:51:57PM +, Anton Shterenlikht wrote: > If I run ssh from a terminal emulator in xorg, all seems fine. yes - VMS only knows about DEC-compatible terminals. None of the *BSD console emulators do well enough to be usable on VMS. xterm supports ANSI color, VT220 emulation and UTF-8 There's an faq at http://invisible-island.net/xterm/xterm.faq.html ftp://invisible-island.net/xterm/ -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: snd_envy24 driver for MAudio 2496 sound card in 6.x?
On Tuesday 20 February 2007 06:52, Ariff Abdullah wrote: > On Mon, 19 Feb 2007 23:45:15 -0800 > > Oliver Iberien <[EMAIL PROTECTED]> wrote: > > Hello -- Is there some way to get the snd_envy24 driver for this > > card without using 7.0? > > Here: > > http://people.freebsd.org/~ariff/BINARY_MODULES/ Thanks very much for this. A few more questions. The instructions say: 0. _Remove_ _all_ sound support in your kernel! Do this first before anything else! 1. Extract, dump everything into your kernel directory typically "/boot/kernel" 2. kldxref /boot/kernel 3. cp soundcard.h /usr/include/sys/ 4. Reload _ALL_ sound modules, or, reboot. Is it necessary to recompile the kernel without sound support, if it has previously been compiled in? Would this mean compiling it without device sound? Does "dump everything" mean use dump, or could they just be copied? If dump, how is it used? Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Best partitioning scheme for my HDD? Please advise.
Joe Vender wrote: > I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to > install the ports collection and also KDE. I will operate from the KDE > environment using FreeBSD as a standalone desktop machine connected to the > net via a dialup internet connection. What would be the best sizes for the > disk partitions so that I don't run out of space on any of them while also > leaving the maximum amount of space possible for the future software to be > installed? > My partitions will be: > / > swap > /var > /tmp > /usr > > as suggested using the auto option during slice creation. > > I've found that if I use the default sizes that are chosen by the installer > using the auto option, the /usr partition fills up before everything is > installed and the installation fails. If I remember correctly, the auto > feature sets the sizes around the following sizes for my HDD: > / ~500MB > swap ~600MB > /var ~1300MB > /tmp ~ 500MB > /usr ~3GB > Perhaps it is possible to reduce / to ~128 mb? boot up and see estimate that you need several mb free and estimate double of /boot/kernel directory (if you install new kernel you get to keep the old one, therefore estimate double that directory size). Swap ... well for a successful crash dump you need as much as swap as you have memory. /var can be further reduced to perhaps 512mb or perhaps even less? if you do buildworld then /var/tmp/ might be used more. Perhaps you could merge / and /var and symlink /var/tmp with say /usr/tmp ? /tmp can be reduced, you can even remove it completely and use tmpfs for that partition. /usr needs the rest Just a (cluttered) suggestion. The cool part about FreeBSD is what you can get away with, just by symlinking (ln -s) a few folders here and there. After all, it's just your desktop, right? -- Sten Daniel Soersdal ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Connecting Garmin GPSMAP60 to the USB
Hello Guys, I'm trying to get my Garmin GPSMAP60 conected to my desktop through the USB port, and then use gpsman. In gpsman is the port reference pointed to "/dev/ugen0" (also tried "dev/ugen0.1-3", but up to now, without success. The system: FreeBSD mugin.localhost 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Sun Feb 18 22:38:32 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MUGIN i386 The message in "dmesg" when ataching/detaching: ugen0: vendor 0x091e product 0x0003, rev 1.10/0.01, addr 3 ugen0: at uhub0 port 2 (addr 3) disconnected All threads purged from ugen0.3 All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached For my Palm Tungsten it all works perfectly, "dmesg": ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3 ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3 ucom0: at uhub0 port 2 (addr 3) disconnected All threads purged from cuaU0 All threads purged from ttyU0 ucom0: detached The strange part of it is that the Palm Tungsten atachment/detachment had exactly same behavior and messages, until I loaded the "ucom" driver, so I suspect that the "ugen" driver might not be the correct one. The question then is, which one to use? Brgds Harry Jensen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help
By "LTSP", I assume you mean Linux Terminal Server Project. You really should have spelled out what the letters "LTSP" stand for, to save the aggravation of someone who is trying to help you. FreeBSD can run many Linux applications, but you will need to enable Linux support. Please refer to the FreeBSD handbook on how to enable the necessary support. You also need to tell us: 1) What steps you have tried, 2) Whether you have bothered reading the manuals, 3) What error message(s) you are seeing. This is not an LTSP support forum; it's a FreeBSD support forum. We can help you get Linux support enabled, but you really should seek help with LTSP, not here. SC On 2/19/07, mei fitra indra <[EMAIL PROTECTED]> wrote: > can i use LTSP 4.1 on BSD?? > How to install LTSP4.1?? > first step i was success install freeBSD... > the seconde step i don't no what i will do...? > please help me... - Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. ___ 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: Best partitioning scheme for my HDD? Please advise.
On Mon, Feb 19, 2007 at 11:37:12PM -0600, Joe Vender wrote: > I have a 6120MB HDD which will be dedicated to FreeBSD 6.2. I intend to > install the ports collection and also KDE. I will operate from the KDE > environment using FreeBSD as a standalone desktop machine connected to the > net via a dialup internet connection. What would be the best sizes for the > disk partitions so that I don't run out of space on any of them while also > leaving the maximum amount of space possible for the future software to be > installed? > My partitions will be: > / > swap > /var > /tmp > /usr > > as suggested using the auto option during slice creation. > > I've found that if I use the default sizes that are chosen by the installer > using the auto option, the /usr partition fills up before everything is > installed and the installation fails. If I remember correctly, the auto > feature sets the sizes around the following sizes for my HDD: > / ~500MB > swap ~600MB > /var ~1300MB > /tmp ~ 500MB > /usr ~3GB > > > I've played around with the sizes, reducing /var to around 350Mb, / to around > 256Mb, and /tmp to around 256Mb leaving the space gained to /usr. In this > way, I got FreeBSD installed OK, but I'm considering installing it for a > final time and using it exclusively for my desktop after testing various > linuxes and FreeBSD and comparing them. So, I would like to get the sizes of > FreeBSD's slices optimized. I'm sure there are plenty of people in the user > community with a similar usage/size situation who can advise me. If you are not using a database system like MySQL, your later scheme is probably good. I might make /var 512 MB, but otherwise not change much. 6 GB is kind of a small disk for 'modern' times but you should be able to run OK. You will need to keep your logs in /var/log cleaned out regularly. You could trim / a little more if you really need to. That is what I make mine, but on a much bigger disk. You could get by with 160 MB or even a little less. Making it 128 MB might be cutting things a little close. Note that good Seagate and other major brand disks in the 70 GB range are getting pretty cheap now from places like NewEgg, etc. You might think about that. Have fun, jerry > > Thanks, > Joe > ___ > 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]"
ssh to VMS - terminal problems
HI I connect to a VMS box from my FreeBSD laptop via ssh. When I run a full screen text editor (EDIT) my terminal screen behaves unpredictably: cursor jumps from place to place, keystrokes produce characters in unpredictable places, screen menu flows with the text rather than stay at the bottom. Hovewer, if I scroll the offending bit up of down from the screen and back into the screen I can see my changes. I assume the problem lies in some terminal incompartibility. My box is % uname -a 6.2-PRERELEASE FreeBSD #0: Wed Nov 22 09:36:22 GMT 2006 root@:/usr/obj/usr/src/sys/SC i386 % I had exactly the same problem with 6.1. I use sc driver. In a desperate attempt to resolve the problem I tried pcvt driver, but that seems to be faulty and no longer supported, freezes screen and the keyboard. However, I'm not sure if the actual driver has anything to do with my problem. At the moment I use % echo $TERM cons25 % but I tried several other terminals I found in /etc/termcap, including various VT terminals. This is when I tried to use pcvt instead of sc, because I thought that maybe a VT term requires pcvt driver. Does it make any sense? On the other hand I tried to change terminal settings on the VMS box, which are many. At present these look as follows: $ show terminal/full Terminal: _FTA20: Device_Type: VT100 Owner: MEXAS Input:9600 LFfill: 0 Width: 80 Parity: None Output: 9600 CRfill: 0 Page: 24 Terminal Characteristics: InteractiveEcho Type_ahead No Escape Hostsync TTsync Lowercase Tab Wrap Scope No Remote No Eightbit Broadcast No ReadsyncNo FormFulldup No Modem No Local_echo No AutobaudNo Hangup No Brdcstmbx No DMA No Altypeahd Set_speed No CommsyncLine Editing Overstrike editing No Fallback No Dialup Secure server No Disconnect No Pasthru No Syspassword No SIXEL Graphics No Soft Characters No Printer Port Numeric Keypad ANSI_CRT No Regis No Block_mode Advanced_video No Edit_mode DEC_CRTNo DEC_CRT2 No DEC_CRT3No DEC_CRT4No DEC_CRT5No Ansi_Color VMS Style Input Backspace $ I cannot remember which settings I tried and which I did not, but the possible number of combinations is too big to try all. If I run ssh from a terminal emulator in xorg, all seems fine. Perhaps somebody can suggest an option to try or perhaps I'm missing someting alltogeter? thanks anton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update
Hi Colin, I just discovered freebsd-update, and one thing I'm not sure of based on both the freebsd-update website and manpage is whether specifying a branch is necessary after I've recompiled world in the past if no kerberos/crypt related options are present in make.conf overriding the defaults? Is the specification of the branch only necessary if you want to abide by your make.conf overrides, and if you have none, the branch argument is optional? On Jan 21, 2007, at 6:54 PM, Colin Percival wrote: eoghan wrote: Hi I am trying to run the freebsd-update, so as root I do: /usr/local/sbin/freebsd-update fetch And I get: Fetching public key... fetch: http://update.daemonology.net/amd64/6.1/pub.key: Not Found Updates aren't being built for amd64 for the version of FreeBSD Update in the ports tree. If you upgrade to FreeBSD 6.2, you can use the version of FreeBSD Update which it contains (for which amd64 updates are being built). Colin Percival ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions- [EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Deciphering camcontrol - is prefetch enabled?
I have a new set of SCSI drives, all like: da2 at mpt0 bus 0 target 3 lun 0 da2: Fixed Direct Access SCSI-3 device da2: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled da2: 35003MB (71687372 512 byte sectors: 255H 63S/T 4462C) From what I can tell, the only way to adjust parameters on SCSI drives is through camcontrol's modepage option. The output on one of the new disks looks like: $ sudo camcontrol modepage 0:2 -m 8 IC: 0 ABPF: 0 CAP: 0 DISC: 1 SIZE: 0 WCE: 1 MF: 0 RCD: 0 Demand Retention Priority: 0 Write Retention Priority: 0 Disable Pre-fetch Transfer Length: 65535 Minimum Pre-fetch: 0 Maximum Pre-fetch: 65535 Maximum Pre-fetch Ceiling: 65535 I'm pretty sure that "WCE" means "write cache enabled", which is what we want. However, I'm pretty sure I want to enable prefetching, too, since data access on them will often involve a set of concurrent long streaming reads. In that case, wouldn't prefetch reduce contention among the read processes? If so, from looking at the above output, does it seem to be enabled? Since I left my handy "Cryptic SCSI Acronym Dictionary" elsewhere, I don't have any idea what the above is actually trying to tell me. -- Kirk Strauser pgpidQtb95hvA.pgp Description: PGP signature
Re: Problem with if_bridge and PF
On Mon, Feb 19, 2007 at 07:05:31PM +, Fab wrote: > Hello all, > > I miss, > > I have created an bridge with freebsd 6.2, I have compiled a new > kernel with if_bridge option. But I cannot ping my second > interface, the tunnel works great because packets can transit > between the two interfaces. > > Someone have an idea for resolve this problem of ping??? > > Thanks. Can you draw out a network diagram, including the bridge, the interfaces on the bridge, and the IPs? The output of ifconfig may also be useful. Erik ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: snd_envy24 driver for MAudio 2496 sound card in 6.x?
On Mon, 19 Feb 2007 23:45:15 -0800 Oliver Iberien <[EMAIL PROTECTED]> wrote: > Hello -- Is there some way to get the snd_envy24 driver for this > card without using 7.0? > Here: http://people.freebsd.org/~ariff/BINARY_MODULES/ -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot * users :P pgpFkPK2ZzxJh.pgp Description: PGP signature
Re: help needed setting up NATIVE ipv6 connection
Joe Holden schrieb: Arone Silimantia wrote: [...] My provider has given me a /48. They emailed me and told me the following: - IP block is 1234:1234:1234::/48 - gateway is ::1 That is all they told me. So my first instinct was to ifconfig an alias on em0 with inet6, and then add a inet6 default route. BUT, I keep reading that with ipv6 you don't want to manually configure addresses and routes - there is some kind of fancy autoconfigure you can do with your gateway so that you don't need to manually configure the addresses (?) So two questions: - is there indeed some fancy autoconfigure, and I don't need to manually ifconfig and 'route add inet6 default' Add the following line in /etc/rc.conf ipv6_enable="YES" This is enough to let FreeBSD configure the interface with IPv6 automatically using router solicitation. - if not, assuming I just want to assign a single ipv6 address to myself (let's say, ::2, since ::1 is the gateway) what is the ifconfig syntax to add that one ipv6 address to my NIC (em0) as an alias that will not interfere with the ipv4 address that is already there ? ifconfig_fxp4="inet " ifconfig_fxp4_alias0="inet " ifconfig_fxp4_alias1="inet6 1234:1234:1234::2/64" ifconfig_fxp4_alias2="inet6 1234:1234:1234::3/64" Thanks. Think of it in the same way as Static/DHCP v4 works. Static machines have manually assigned addresses, dynamic/moving clients have autoconfigure by dhcp. It works in a similiar way, you will need to configure ip addresses using ifconfig em0 inet6 as normal. Autoconfiguration is not intended to be done by DHCP. There may be a router advertising daemon rtadvd(8) running on the gateway that answers router solicitation requests of hosts in the network. Nevertheless DHCPv6 has been designed to offer IP to requesting clients. Unfortunately there is no DHCPv6 daemon available that implements this feature as far as I know, not even the WIDE-DHCPv6 daemon (net/dhcp6). Regards Björn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Remote access to config FreeBSD server
On Mon, 19 Feb 2007 19:26:02 -0800 (PST) satimis wrote: > I'm going to install the captioned OS as server, web/mail/database etc., for > test purpose and without X. I'm prepared to connect a workstation for fine > tuning the server. Can I use a Linux workstation to do the job because I > have no FreeBSD workstation here? OR I must run a FreeBSD workstation. If > YES, pls advise where can I find relevent steps to do the job. I'll have > SSH enabled on the server. I am not quite sure what your problem is here. You can use any ssh-client on any OS when connecting to the ssh-server of you FreeBSD box. So Linux is fine, but Windows would also be, if you use a real ssh-client for that like PuTTY. Regards Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Virus intercepted
A message you sent to <[EMAIL PROTECTED]> contained Worm.Mydoom.M and has not been delivered. This email has been scanned for viruses! www.netpathway.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is it possible to build sun-jdk-1.5 from the source?
Hello, > On Mon, Feb 19, 2007 at 07:20:45PM +0100, Daniel Tourde wrote: > > Hello, > > > > Is it possible to build sun-jdk-1.5 from the source code? > > If yes, how to do that? > > Yes, use the port. > > > To be honest, I would like to avoid to install a binary that requires > > Linux support packages. It's not that I do not like Linux (I have 3 > > Gentoo Linux at my disposal), it's simply that my machine is a FreeBSD > > machine and I would like to keep it as simple as possible. > > Unfortunately java is written in java so you will have to install a > binary compiler (either linux or freebsd) first to bootstrap. OK. Where could I find the FreeBSD binary? Are you referring to: http://www.freebsdfoundation.org/downloads/java.shtml ? Then, would the binary be replaced by the one compiled or would they be in parallel on my system? Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make in ports not working
On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote: > Hi > > I get the following error when trying to make from the ports tree: > > "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional > (((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < > 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && > ${PKGORIGIN} != "ports-mgmt/pkg_install") || > exists(${LOCALBASE}/sbin/pkg_info)) > "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison > operator should be either == or != > "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional > ((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < > 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && > ${PKGORIGIN} != "ports-mgmt/pkg_install") > "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else > "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator > "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif > "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator > make: fatal errors encountered -- cannot continue > > Any help appreciated > > Also I am not subscribed to the list so reply-all. You forgot to mention which version of FreeBSD you're running, but it's probably an ancient one that is no longer supported. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Virus intercepted
A message you sent to <[EMAIL PROTECTED]> contained Worm.Mydoom.M and has not been delivered. This email has been scanned for viruses! www.netpathway.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How Do I Surf To My Server?
[mailed and posted] On Feb 19, 2007, at 7:15 AM, Drew Jenkins wrote: Right, all at home. I have Pound configured (like on my workhorse), not apache. But how do I determine the IP address of the server? I've never set that up before. What file do I edit? Can you tell us more about your home set-up? Presumably you have some sort of router doing NAT and DHCP? Tell us about it. All I need is something like this: 123.456.78.90:8080/example_site so I can look at said site. If you don't know IP address of your internal server, than chances are that it was assigned via DHCP by your router. For what you want to do, you should probably reconfigure the server with a specific internal IP address instead of having it assigned. Assuming that I've guessed correctly about your set-up: First find out from your router what the the range of the "DHCP pool" is. Look at the DHCP configuration on your router. Then pick an address that is NOT in that range but still part of your local network. Then use sysinstall on your FreeBSD box to give it that IP address. Many of the details depend on details of your set-up which I don't know, so it is hard to be more specific. Cheers, -j -- Jeffrey Goldberghttp://www.goldmark.org/jeff/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Trying to mount Sony Ericsson W810i on FreeBSD 6.2
Hi everyone! I'm trying to mount Sony Ericsson W810i mobile phone on my FreeBSD 6.2 box and this is what I get from messages: Feb 19 22:30:52 Entusiasten kernel: ugen0: Sony Ericsson Sony Ericsson W810, rev 2.00/0.00, addr 2 Feb 19 22:31:16 Entusiasten kernel: ugen0: at uhub1 port 2 (addr 2) disconnected Feb 19 22:31:16 Entusiasten kernel: All threads purged from ugen0.6 Feb 19 22:31:16 Entusiasten kernel: All threads purged from ugen0.4 Feb 19 22:31:16 Entusiasten kernel: All threads purged from ugen0.3 Feb 19 22:31:16 Entusiasten kernel: All threads purged from ugen0.2 Feb 19 22:31:16 Entusiasten kernel: All threads purged from ugen0.1 Feb 19 22:31:16 Entusiasten kernel: All threads purged from ugen0 Feb 19 22:31:16 Entusiasten kernel: ugen0: detached Feb 19 22:31:21 Entusiasten kernel: umass0: Sony Ericsson Sony Ericsson W810, rev 2.00/0.00, addr 2 Feb 19 22:31:21 Entusiasten kernel: umass1: Sony Ericsson Sony Ericsson W810, rev 2.00/0.00, addr 2 Feb 19 22:31:21 Entusiasten kernel: da0 at umass-sim0 bus 0 target 0 lun 0 Feb 19 22:31:21 Entusiasten kernel: da0: Removable Direct Access SCSI-0 device Feb 19 22:31:21 Entusiasten kernel: da0: 1.000MB/s transfers Feb 19 22:31:21 Entusiasten kernel: da0: Attempt to query device size failed: NOT READY, Medium not present Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): Medium not present Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): Unretryable error Feb 19 22:31:21 Entusiasten kernel: Opened disk da0 -> 6 Feb 19 22:31:21 Entusiasten kernel: da1 at umass-sim1 bus 1 target 0 lun 0 Feb 19 22:31:21 Entusiasten kernel: da1: Removable Direct Access SCSI-0 device Feb 19 22:31:21 Entusiasten kernel: da1: 1.000MB/s transfers Feb 19 22:31:21 Entusiasten kernel: da1: Attempt to query device size failed: NOT READY, Medium not present Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): Medium not present Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): Unretryable error Feb 19 22:31:21 Entusiasten kernel: Opened disk da0 -> 6 Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): Medium not present Feb 19 22:31:21 Entusiasten kernel: (da0:umass-sim0:0:0:0): Unretryable error Feb 19 22:31:21 Entusiasten kernel: Opened disk da0 -> 6 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): SCSI Status: Check Condition Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): Medium not present Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): Unretryable error Feb 19 22:31:21 Entusiasten kernel: Opened disk da1 -> 6 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): SCSI Status: Check Condition Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): Medium not present Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): Unretryable error Feb 19 22:31:21 Entusiasten kernel: Opened disk da1 -> 6 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): CAM Status: SCSI Status Error Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): SCSI Status: Check Condition Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): NOT READY asc:3a,0 Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): Medium not present Feb 19 22:31:21 Entusiasten kernel: (da1:umass-sim1:1:0:0): Unretryable error Feb
Re: How Do I Surf To My Server?
On Mon, 19 Feb 2007 07:26:07 -0800 (PST) Drew Jenkins <[EMAIL PROTECTED]> wrote: > Yes, that is a start. I added the domain "mercury.com" (a site I never visit) > and pointed it to 192.168.1.255, the IP address given from the above. I also 192.168.1.255 doesn't look right. in your server, run ifconfig and determine the IP from *that* information. For example, on my laptop: [EMAIL PROTECTED] [Tue Feb 20 10:29:47 2007] ~ $ ifconfig bge0: flags=8843 mtu 1500 options=1b inet 192.168.2.129 netmask 0xff00 broadcast 192.168.2.255 ether 00:16:36:29:e1:36 media: Ethernet autoselect (100baseTX ) status: active the IP assigned to my network card (bge0) is 192.168.2.129 , with a netmask of 255.255.255.0 (0xff00 ), and a broadcast of 192.168.2.255. The only thing you need to access your server from your workstation, if they are in the same LAN (and subnet...;) ) is the IP address. > updated pound to use that address, and was able to get the pound daemon > running. However, I cannot surf to either mercury.com or the IP address. When > I run this command: nmap localhost I discover that no Web ports are open: > neither 80, nor 8080 (Zope), whose daemon is running. nmap 192.168.1.255 > doesn't return any ports, stating it seems the host is down. nmap > 192.168.1.130 the other address returned from your ifconfig command, gives > the same ports as above. Please advise. since you are bothering with nmap...why dont you just scan all your IP space (as in your LAN's IP subnet) and move on? :) btw, you DO have apache running on your server, right? Beto _ {Beto|Norberto|Numard} Meijome It is better to remain silent and be thought a fool, than to speak, and remove all doubt. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Compiler Flags for SPARC64
On Mon, Feb 19, 2007 at 02:14:04PM +0100, Christian Baer wrote: > Hello everybody out there! > > Please excuse my posting this question again on this list, but the last > post on the freebsd-sparc64 didn't help much. There isn't really much > traffic on that list. > > Assuming that gcc when run on sparc64 produces v7 code (for sun4/4c) by > default, I went about trying to improve that as v7 code is known to be a > fair bit slower as v9 (sun4u) code. The improvement can be as much as > 100% for some apps like OpenSSL or OpenSSH. > > I went about trying some Compiler flags. -mcpu=ultrasparc and -mcpu=v9 > both came into mind. However this lead to several problems of programs > not compiling anymore. Most notably was the failure of 'make buildworld'. > > When gcc is told to produce v9 code, it doesn't produce 64bit code (you > have to set -m64 for that), it just uses a few additional commands the > CPU knows, which should make the resulting code faster but no longer > compatible with older CPUs (non-UltraSPARC). This means that there > shouldn't be any problem with pointers that are now "strange" to the > code. But even if I explicitly set the -m32 flag, I still can't make the > world. > > I discussed this in a German newsgroup, where someone told me that the > CPU is set to v9 by default on FreeBSD, as it only supports SPARC64 and > not SPARC32. Although this assumption makes sense, I couldn't find any > evidence to back it up. While some compiler flags are set by default > on some platforms for optimization for that particular CPU, there > doesn't seem to be anything set for sparc64. Additionaly, if the mcpu > were really set to ultrasparc or v9, then setting it again shouldn't > cause buildworld to stop with the error "I don't know what platform this > is." > > Has anyone got any ideas on how to go on with this? You'll have to look at the compiler spec and how it is bootstrapped. FWIW, I don't think there are any secret flags you can set to improve the compiler targetting, as the defaults are already appropriate. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Entering stock sales on 1.8.12 (FreeBSD)
Hi, I am trying to follow the instructions for recording sales of shares at http://svn.gnucash.org/docs/guide/invest-sell1.html but it must refer to some newer version of GnuCash that is not in the ports tree yet. I'm trying to guess the order in which it wants items entered (apparently not the one shown in the example at 8.7.1) with no luck. Is there some older documentation left somewhere? Thanks, Oliver ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Problem with if_bridge and PF
Hello all, I miss, I have created an bridge with freebsd 6.2, I have compiled a new kernel with if_bridge option. But I cannot ping my second interface, the tunnel works great because packets can transit between the two interfaces. Someone have an idea for resolve this problem of ping??? Thanks. ___ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is it possible to build sun-jdk-1.5 from the source?
On Mon, Feb 19, 2007 at 07:20:45PM +0100, Daniel Tourde wrote: > Hello, > > Is it possible to build sun-jdk-1.5 from the source code? > If yes, how to do that? Yes, use the port. > To be honest, I would like to avoid to install a binary that requires Linux > support packages. It's not that I do not like Linux (I have 3 Gentoo Linux at > my disposal), it's simply that my machine is a FreeBSD machine and I would > like to keep it as simple as possible. Unfortunately java is written in java so you will have to install a binary compiler (either linux or freebsd) first to bootstrap. kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Is it possible to build sun-jdk-1.5 from the source?
Hello, Is it possible to build sun-jdk-1.5 from the source code? If yes, how to do that? To be honest, I would like to avoid to install a binary that requires Linux support packages. It's not that I do not like Linux (I have 3 Gentoo Linux at my disposal), it's simply that my machine is a FreeBSD machine and I would like to keep it as simple as possible. Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make installkernel with PORT_MODULES = kqemu-kmod fails
Hello List! I have the following trouble: # cat /etc/make.conf | grep PORTS_MODULES PORTS_MODULES= x11/nvidia-driver emulators/kqemu-kmod running: # cd /usr/src # make buildkernel # make installkernel goes fine for installation of kernel and nvidia-driver, but making kqemu-mod fails. It deinstalls it, then starts to build and finds no gmake, which is required as a dependency - hence it descends to devel/gmake and starts building it. Finally it fails since gmake is already installed -- make deinstall and make reinstall is recommended. When I run: # cd /usr/ports/emulators/kqemu-kmod # make install clean All goes fine - during the dependency test, the gmake is found. What's wrong here? Regards, -- Milan Knížek http://milan-knizek.net/ e-mail knizek {na} volny {v} cz ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make in ports not working
Kris Kennaway wrote: On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote: Hi I get the following error when trying to make from the ports tree: "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional (((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info)) "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional ((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator make: fatal errors encountered -- cannot continue Any help appreciated Also I am not subscribed to the list so reply-all. You forgot to mention which version of FreeBSD you're running, but it's probably an ancient one that is no longer supported. Kris yup ok its an ancient one: su-2.05a# uname -v FreeBSD 4.8-RELEASE : Tue Apr 8 11:35:48 GMT 2003 I am stuck with it (its a virtual server) so is there any way i can get ports working? I just love 'portinstall xyz'! Cheers, Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Enet driver for Marvell
Hello; A while ago, a matter of a few months I inquired of this list regarding installation of FreeBSD v6.0 on ASUS M2N32 WS Pro motherboard. I was not able to set up dual ethenet inter faces as the only option presented by sysinstall when configuring enet interface was fw30 as firewire ethernet emulation. I was advise to upgrade to v6.2 which I have just done. I still do not have more than the fwe interface presented. The response to the original message, I can not find, but I was told that the motherboard was probably one with new Marvell interfaces. Now, I have looked at the features listed on the motherboard package and there it is; 2x Marvell 88E1116 PHY Is there a driver that has to be activated by kernel config setting or what is the status of support for this hardware in FreeBSD? I just looked through the supported hardware/ethernet devices for the i386 architecture and did not find any reference to Marvell. I purchase a cd set of v6.2 cds from FreeBSD Mall (not inplying any criticism, just that it represents a method of contribution to this project). This is frustrating because this machine is supposed to be a production web server. Hardware including dual 15K SCSI drives and adapter has run in the neighborhood of $1000 and it still is not useful for it' intended purpose Any info or advice appreciated Thanks in advance; Jeff K ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
VIA VT6421 and CS5536
Greeting, I am try use motherboard ETX-LX800(http://emea.kontron.com/index.php?id=226&cat=31&productid=1321) with Freebsd OS. There are AMD Geode CPU, CS5536 motherboard chipset and VIA VT6421. I have problem whith boot from flash card CF which are connected by VT6421. System halt on BTX load. There are problem with USB too. When USB is enabled, system halt on loading USB drivers. There is no problem with booting from CD-ROM when USB disabled. Other OS booting without problem too. How can I use this motherboard and CF? May be system must use only BIOS functions for work with this hardware? How? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
help needed setting up NATIVE ipv6 connection
Hello, I am in a datacenter that provides native (not tunneled) ipv6 connectivity. Unfortunately, all of the howtos for FreeBSD are focused on tunneling ipv6 and using gif0, etc. This does not apply to me because I have a real ipv6 connection. Right now things are simple - I have a single ipv4 address, and a single default gateway. Easy. My provider has given me a /48. They emailed me and told me the following: - IP block is 1234:1234:1234::/48 - gateway is ::1 That is all they told me. So my first instinct was to ifconfig an alias on em0 with inet6, and then add a inet6 default route. BUT, I keep reading that with ipv6 you don't want to manually configure addresses and routes - there is some kind of fancy autoconfigure you can do with your gateway so that you don't need to manually configure the addresses (?) So two questions: - is there indeed some fancy autoconfigure, and I don't need to manually ifconfig and 'route add inet6 default' - if not, assuming I just want to assign a single ipv6 address to myself (let's say, ::2, since ::1 is the gateway) what is the ifconfig syntax to add that one ipv6 address to my NIC (em0) as an alias that will not interfere with the ipv4 address that is already there ? Thanks. - Get your own web address. Have a HUGE year through Yahoo! Small Business. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
make in ports not working
Hi I get the following error when trying to make from the ports tree: "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional (((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info)) "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional ((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator make: fatal errors encountered -- cannot continue Any help appreciated Also I am not subscribed to the list so reply-all. Cheers, Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make in ports not working
On Tue, Feb 20, 2007 at 11:57:19AM +1100, Brad Kowalczyk wrote: > Kris Kennaway wrote: > >On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote: > > > >>Hi > >> > >>I get the following error when trying to make from the ports tree: > >> > >>"/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison > >>operator should be either == or != > >>"/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison > >>operator should be either == or != > >>"/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional > >>(((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < > >>600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && > >>${PKGORIGIN} != "ports-mgmt/pkg_install") || > >>exists(${LOCALBASE}/sbin/pkg_info)) > >>"/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison > >>operator should be either == or != > >>"/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison > >>operator should be either == or != > >>"/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional > >>((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < > >>600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && > >>${PKGORIGIN} != "ports-mgmt/pkg_install") > >>"/usr/ports/Mk/bsd.port.mk", line 2308: if-less else > >>"/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator > >>"/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif > >>"/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator > >>"/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif > >>"/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator > >>make: fatal errors encountered -- cannot continue > >> > >>Any help appreciated > >> > >>Also I am not subscribed to the list so reply-all. > > > > > >You forgot to mention which version of FreeBSD you're running, but > >it's probably an ancient one that is no longer supported. > > > >Kris > > > > > > yup ok its an ancient one: > su-2.05a# uname -v > FreeBSD 4.8-RELEASE : Tue Apr 8 11:35:48 GMT 2003 > > I am stuck with it (its a virtual server) so is there any way i can get > ports working? I just love 'portinstall xyz'! FreeBSD 4 is no longer supported in any way by ports, update to 6.2 or make do with out-of-date ports that will never again be updated (you can use the RELEASE_4_EOL tag until you can upgrade the box). Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: make in ports not working
Kris Kennaway wrote: On Tue, Feb 20, 2007 at 11:57:19AM +1100, Brad Kowalczyk wrote: Kris Kennaway wrote: On Tue, Feb 20, 2007 at 10:50:35AM +1100, Brad Kowalczyk wrote: Hi I get the following error when trying to make from the ports tree: "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2292: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2292: Malformed conditional (((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") || exists(${LOCALBASE}/sbin/pkg_info)) "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2293: warning: String comparison operator should be either == or != "/usr/ports/Mk/bsd.port.mk", line 2293: Malformed conditional ((${OSVERSION} < 504105 || (${OSVERSION} >= 60 && ${OSVERSION} < 600103) || (${OSVERSION} >= 70 && ${OSVERSION} < 700012)) && ${PKGORIGIN} != "ports-mgmt/pkg_install") "/usr/ports/Mk/bsd.port.mk", line 2308: if-less else "/usr/ports/Mk/bsd.port.mk", line 2308: Need an operator "/usr/ports/Mk/bsd.port.mk", line 2322: if-less endif "/usr/ports/Mk/bsd.port.mk", line 2322: Need an operator "/usr/ports/Mk/bsd.port.mk", line 5987: if-less endif "/usr/ports/Mk/bsd.port.mk", line 5987: Need an operator make: fatal errors encountered -- cannot continue Any help appreciated Also I am not subscribed to the list so reply-all. You forgot to mention which version of FreeBSD you're running, but it's probably an ancient one that is no longer supported. Kris yup ok its an ancient one: su-2.05a# uname -v FreeBSD 4.8-RELEASE : Tue Apr 8 11:35:48 GMT 2003 I am stuck with it (its a virtual server) so is there any way i can get ports working? I just love 'portinstall xyz'! FreeBSD 4 is no longer supported in any way by ports, update to 6.2 or make do with out-of-date ports that will never again be updated (you can use the RELEASE_4_EOL tag until you can upgrade the box). Kris Thanks for your advice Kris. Unfortunately I just rent the virtual server so I dont think I am going to be able to upgrade the OS. Cheers, Brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Operation not permitted" when mounting floppy or cdrom
Thanks everyone. On 2/19/07, Oliver Fromme <[EMAIL PROTECTED]> wrote: lysergius2001 <[EMAIL PROTECTED]> wrote: > FreeBSD 6.2. Recently installed will not permit user mount of floppy disk, > cdrom, or usb. Works fine as root. Checked devfs.conf, devfs.rules, fstab, > /dev. Nothing seems to make a difference. For ordinary users to be able to mount file systems, three conditions have to be met: -1- sysctl vfs.usermount=1 -2- The user must have read+write access to the device to be mounted. Usually you will solve that via group permissions, e.g. create a group for people who are allowed to mount a certain device, then put those people into that group (via /etc/group), and change the permission modes of the device so that the group can read+write it. -3- The user must own the mount point. Note that read+ write access is not sufficient here, and group rights don't matter -- the user must be the owner of the mount point. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart Any opinions expressed in this message are personal to the author and may not necessarily reflect the opinions of secnetix GmbH & Co KG in any way. FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "C is quirky, flawed, and an enormous success." -- Dennis M. Ritchie. -- Lysergius says, "Stay light, but trust gravity" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ADSL-2 internal modem ?
On Sun, 18 Feb 2007 13:01:51 -0800 "Ted Mittelstaedt" <[EMAIL PROTECTED]> wrote: > From: "Ted Mittelstaedt" <[EMAIL PROTECTED]> > To: "Norberto Meijome" <[EMAIL PROTECTED]>, "Derek Ragona" > <[EMAIL PROTECTED]> Cc: > Subject: Re: ADSL-2 internal modem ? > Date: Sun, 18 Feb 2007 13:01:51 -0800 > X-Mailer: Microsoft Outlook Express 6.00.2800.1807 > > > Get the instructions from your ISP for setting up a bridged modem > with PPP under Windows. Do the same thing for FreeBSD except > use PPPoE under FreeBSD. Thanks Ted - I was wondering whether such thing as an internal PCI ADSL2 modem exists (and is supported by FreeBSD ) - I can easily do the bridged modem connected via ethernet to my BSD box. thanks! _ {Beto|Norberto|Numard} Meijome "I abhor a system designed for the 'user', if that word is a coded pejorative meaning 'stupid and unsophisticated'. Ken Thompson I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How Do I Surf To My Server?
- Original Message From: Kevin Kinsey <[EMAIL PROTECTED]> To: Drew Jenkins <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 6:26:07 PM Subject: Re: How Do I Surf To My Server? >Use "netstat -anf inet" on the server and see if port 80 or 8080 is >"LISTENING", and on what address. This reports tcp4 listening on 192.168.1.130.80. Nothing on 8080, which would indicate a problem with my configuration of Zope. >If the server is LISTENING on the >FBSD box on the correct ports, but nmap doesn't show it, then I would >assume a firewall problem, but I'm not "on the ground" there. Okay, can you give me some suggestions as to how to troubleshoot this? >If you do >see a LISTENING entry, use that interface (assuming it's Ethernet and >one that it accessible from your laptop) as the entry in the laptop's >hosts file. Did that, but I get a "Service is not available." message in the browser (FF). >192.168.1.255 is a broadcast address and should not be used for the >configuration of a webserver (is that what "pound daemon" is? Think so, >can't remember previous mail at this point). Pound is a reverse proxy. It just redirects traffic from one port to another. The actual server is built into Zope. TIA, Drew No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Internet Explorer on FreeBSD
On 2/19/07, Joe Auty <[EMAIL PROTECTED]> wrote: What is the status of getting Xen on FreeBSD? It's a shame that an emulator is required to run Windows on the same architecture. Does Qemu virtualized on x86 hardware? I wish Xen is really working in FreeBSD by now :) -- Regards, -Abdullah Ibn Hamad Al-Marri Arab Portal http://www.WeArab.Net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How Do I Surf To My Server?
- Original Message From: Jeffrey Goldberg <[EMAIL PROTECTED]> To: Drew Jenkins <[EMAIL PROTECTED]> Cc: freebsd-questions@freebsd.org Sent: Monday, February 19, 2007 12:49:22 PM Subject: Re: How Do I Surf To My Server? On Feb 19, 2007, at 7:15 AM, Drew Jenkins wrote: >Can you tell us more about your home set-up? Presumably you have >some sort of router doing NAT and DHCP? Tell us about it. I had, but perhaps in a different thread, so forgive me for not putting it here before. I have DHCP, a satellite dish to which both computers are linked. >If you don't know IP address of your internal server, than chances >are that it was assigned via DHCP by your router. For what you want >to do, you should probably reconfigure the server with a specific >internal IP address instead of having it assigned. I do have the IP address, and no doubt it was assigned. I found it using ifconfig. Is that the correct way to do it? >Assuming that I've guessed correctly about your set-up: >First find out from your router what the the range of the "DHCP pool" >is. Look at the DHCP configuration on your router. Then pick an >address that is NOT in that range but still part of your local >network. Then use sysinstall on your FreeBSD box to give it that IP >address. If ifconfig isn't the way to do that, could you specify how? sysinstall is a GUI, so it'll just ask me a question, or I'll have to look on a chart to find what I need, right? Easy, right? TIA, Drew Don't get soaked. Take a quick peak at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sun jdk 1.6? Any port?
Hello, Is there any plan to port Sun JDK 1.6 to FreeBSD? Would it be possible to build it from scratch, without the need for a Java Linux-based binary JDK. Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How to play MPEG2-TS
Marc Fonvieille wrote: Weird cause the "default" vlc plays fine all TS, as example it's used in France to play TS streams from ADSL TVs. But vlc crashed, for me, when I treid to play files with a filename using non-iso8859-1 chars and spaces. Can you point me to a mpeg2-ts that you can play so I can download and try? The stream I am trying to play is HD, since I see that fwcontrol now can transfer mpeg2-ts to support HDV cameras, I'd like to try what to do with the stream next. vlc core dumps, mplayer gives this output: Playing swan.m2t. TS file format detected. VIDEO MPEG2(pid=17) AUDIO MPA(pid=20) NO SUBS (yet)! PROGRAM N. 1 VIDEO: MPEG2 1440x1080 (aspect 3) 25.000 fps 25000.0 kbps (3125.0 kbyte/s) == Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough VDec: vo config request - 1440 x 1080 (preferred colorspace: Mpeg PES) Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2)) == == Opening audio decoder: [mp3lib] MPEG layer-2, layer-3 AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3) == AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... VDec: vo config request - 1440 x 1080 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 0) Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [xv] 1440x1080 => 1920x1080 Planar YV12 aspect: Warning: no suitable new res found! aspect: Warning: no suitable new res found! aspect: Warning: no suitable new res found! aspect: Warning: no suitable new res found! Selected font is fixed-width. ct: -0.004 2/ 2 ??% ??% ??,?% 0 0 X11 error: BadAlloc (insufficient resources for operation)?,?% 0 0 MPlayer interrupted by signal 6 in module: vo_check_events - MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and won't help unless you provide this information when reporting a possible bug. Thanks, Erik -- Ph: +34.666334818 web: http://www.locolomo.org smime.p7s Description: S/MIME Cryptographic Signature
Re: Is it possible to build sun-jdk-1.5 from the source?
On Mon, Feb 19, 2007 at 08:09:41PM +0100, Daniel Tourde wrote: > Hello, > > > > On Mon, Feb 19, 2007 at 07:20:45PM +0100, Daniel Tourde wrote: > > > Hello, > > > > > > Is it possible to build sun-jdk-1.5 from the source code? > > > If yes, how to do that? > > > > Yes, use the port. > > > > > To be honest, I would like to avoid to install a binary that requires > > > Linux support packages. It's not that I do not like Linux (I have 3 > > > Gentoo Linux at my disposal), it's simply that my machine is a FreeBSD > > > machine and I would like to keep it as simple as possible. > > > > Unfortunately java is written in java so you will have to install a > > binary compiler (either linux or freebsd) first to bootstrap. > > OK. Where could I find the FreeBSD binary? > Are you referring to: http://www.freebsdfoundation.org/downloads/java.shtml ? Or the equivalent diablo port. > Then, would the binary be replaced by the one compiled or would they be in > parallel on my system? They'd both be there. > > Daniel > ___ > 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]"
Connecting Garmin GPSMAP60 to the USB
Hello Guys, I'm trying to get my Garmin GPSMAP60 conected to my desktop through the USB port, and then use gpsman. In gpsman is the port reference pointed to "/dev/ugen0" (also tried "dev/ugen0.1-3", but up to now, without success. The system: FreeBSD mugin.localhost 6.2-RELEASE-p1 FreeBSD 6.2-RELEASE-p1 #0: Sun Feb 18 22:38:32 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MUGIN i386 The message in "dmesg" when ataching/detaching: ugen0: vendor 0x091e product 0x0003, rev 1.10/0.01, addr 3 ugen0: at uhub0 port 2 (addr 3) disconnected All threads purged from ugen0.3 All threads purged from ugen0.2 All threads purged from ugen0.1 All threads purged from ugen0 ugen0: detached For my Palm Tungsten it all works perfectly, "dmesg": ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3 ucom0: Palm, Inc. Palm Handheld, rev 1.00/1.00, addr 3 ucom0: at uhub0 port 2 (addr 3) disconnected All threads purged from cuaU0 All threads purged from ttyU0 ucom0: detached The strange part of it is that the Palm Tungsten atachment/detachment had exactly same behavior and messages, until I loaded the "ucom" driver, so I suspect that the "ugen" driver might not be the correct one. The question then is, which one to use? Brgds Harry Jensen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD and GNUstep + etoile
First of all, let me apologize for the previous emails I sent about this combination on this forum. I was using a webmail and somehow my messages got truncated. That was kind of frustrating. This being said, here is how I succeeded to get FreeBSD + GNUstep + etoile working: First I compiled the necessary packages: cd /usr/ports/x11/gnustep-app make install make distclean This might take quiet a while... ;) Then I added in /etc/csh.cshrc the line: source /usr/local/GNUstep/System/Library/Makefiles/GNUstep.csh and in /etc/profile the line: . /usr/local/GNUstep/System/Library/Makefiles/GNUstep.sh then in ~/.xession: opentool etoile_system There was a little hack that I had to do (this should be corrected soon though), I had to extract from etoile_0+20060917+dfsg.orig.tar.gz the setup.sh script and run it by hand. This script basically creates links where they are needed... And then voila! startx or just login from xdm, you will get etoile working on a GNUstep based system... My first impressions about it: - It's a 0.1 and it shows. However this is very promising - Emacs 23 did not work for me - The GNUstep look and feel is still very present. I did not succeed to change the theme with Camaelon (I did not try hard though...) Daniel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
help
> can i use LTSP 4.1 on BSD?? > How to install LTSP4.1?? > first step i was success install freeBSD... > the seconde step i don't no what i will do...? > please help me... - Check out the all-new Yahoo! Mail beta - Fire up a more powerful email and get things done faster. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Question about FreeBSD 6.2 Release and CUPS
Can someone please tell me the steps I need to do so that I can use CUPS as the printing system on FreeBSD 6.2 Release and so that I can connect to the CUPS server and administer it using the KDE Control Center? I've tried everything I can find using Google to get CUPS working with KDE, but even when I manually configure the server to "Listen localhost:631", the KDE control center shows the server as "localhost:w" and can't connect. Any help would be appreciated. Starting from a new install of FreeBSD 6.2 Release, what packages/ports do I need to (install/not install) and what procedures do I need to perform in order to get CUPS working and configurable via KDE control center? Please specify details. Thanks One last question. Do I need to unset these in sysctl.conf for CUPS administration to work? net.inet.udp.blackhole=1 net.inet.tcp.blackhole=2 With them set, trying to connect to the administration page of CUPS via the web interface timed out and then failed, but when I removed the entries, the connection failed immediately. If I must unset them, is there another way to stealth ports 0 and 1 via firewall settings instead? Joe Vender ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Remote access to config FreeBSD server
Hi folks, FreeBSD-6.2-amd64 I'm going to install the captioned OS as server, web/mail/database etc., for test purpose and without X. I'm prepared to connect a workstation for fine tuning the server. Can I use a Linux workstation to do the job because I have no FreeBSD workstation here? OR I must run a FreeBSD workstation. If YES, pls advise where can I find relevent steps to do the job. I'll have SSH enabled on the server. I need GUI browser to connect outside World for searching documents and seeking help. I found elinks not easy to read html website. TIA B.R. satimis -- View this message in context: http://www.nabble.com/Remote-access-to-config-FreeBSD-server-tf3256509.html#a9053872 Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
jails and mount
Hello I would like to mount and unmount storage devices for backups from inside a jail. I asked this already in October but got no answer. Since I use 6.2 now I even have more questions. Q1)If I unhide a device (i.e external drive) by rule for a jail and I can see it from inside the jail, why can't I mount it from inside the jail? What I tried from inside the jail ... # ls /dev/da0* /dev/da0/dev/da0s1 /dev/da0s1c /dev/da0s1d # mount -t ufs /dev/da0s1d /media/usbdisk /dev/da0s1d: Operation not permitted Q2) By reading man rc.conf(5) ... There are new options like jail__fstab and jail__mount_enable, I tried to use them for a one of my jails, but I don't see any effect. What I tried from outside the jail # cat /etc/fstab.backup /dev/da0s1d /mnt/usbdisk ufs rw,noauto 2 2 # cat /etc/rc.conf | grep jail.backup jail_backup_rootdir="/jails/backup" jail_backup_hostname="backup.example.com" jail_backup_ip="192.168.0.2" jail_backup_mount_enable="YES" Anybody on this list knows more about jails then what manpage and handbook tells? Thanks for any information Alain Wolf ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Asking for help on first installation
On Monday 19 February 2007 14:48, Manfred Frey wrote: > Hi FreeBSD folks, > > I'm a UNIX user for some time but now I'm trying to install my first > FreeBSD system over the internet. I got along with the HW and > pre-installation issues easily, the disk space is allocated, I know what to > install. But I can't connect for download. I'd like to ask for your help. > > On this handbook page > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-media.htm >l > > I arrive at figure Figure 2-27. Set Network Configuration for ed0. See > page > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-post.html > > I don't know what to put in "host", "domain", "IPv4 gateway" and "domain > server". > > My ISP is German Telekom. > I'm using a CompuShack gateway/4-port switch > Connecting to my 3-COMs RJ45 jack > > My computer is 192.168.0.4 > The local gateway is 192.168.0.1 > The subnet mask is 255.255.255.0 > The gateway's internet address changes as it is assigned when connecting. > > Who's host name has to be used ? > I'm logging into Telekom as [EMAIL PROTECTED] . Is "t-online.de" the > required domain ? The installation probes IP numbers like 217.237.151.142 > for the name server. Is that what's needed ? > > I would very much appreciate your help. I also won't need more help :-) > Regards, > Manfred > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" Hi You can use DHCP to get the gateway and DNS addresses automatically. Typically, both should be set with the IP of your router (192.168.0.1). For the hostname and domain name, you don't need to put something in particulat - you would know it if you did - so you can make something up. Firas. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Duplicate emails on freebsd-questions
On 2007-02-19 10:27, Jeffrey Goldberg <[EMAIL PROTECTED]> wrote: >[mailed and posted and cc'ed to grog] >On Feb 19, 2007, at 4:54 AM, Giorgos Keramidas wrote: >> There is a very good reason why it is customary in this mailing list >> to copy the sender when replying. We don't accept email messages >> only from subscribers. This means that some people may post a >> question without even being subscribed to the list. By Reply-To: >> header "hacks", like the one you are describing, the original poster >> may never see your reply. > > Thank you for that explanation. It might be a good idea to add this > to point 6 of section 8 of > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html Noted. I'll prepare a patch and post it to Greg Lehey for a review, after eg. removing "you" and other stuff which doesn't fit with the rest of the section. pgpjRi5T4WEzK.pgp Description: PGP signature
Re: How Do I Surf To My Server?
Drew Jenkins wrote: Will this help? $ ifconfig vr0 And on a Windows Laptop: C:\> more c:\windows\system32\drivers\etc\hosts Yes, that is a start. I added the domain "mercury.com" (a site > I never visit) and pointed it to 192.168.1.255, the IP address given from the above. I also updated pound to use that > address, and was able to get the pound daemon running. However, I cannot surf to either mercury.com or the IP address. When I run this command: nmap localhost I discover that no Web ports are open: neither 80, nor 8080 (Zope), whose daemon is running. nmap 192.168.1.255 doesn't return any ports, stating it seems the host is down. nmap 192.168.1.130 the other address returned from your ifconfig command, gives the same ports as above. Please advise. TIA, Drew Note that "vr0" is simply one interface on *my* machine. You should use "ifconfig" with no arguments to see all interfaces on the FBSD box, and it's probably not PLIP, Loopback, PPP, etc. that you're interested in. Use "netstat -anf inet" on the server and see if port 80 or 8080 is "LISTENING", and on what address. If the server is LISTENING on the FBSD box on the correct ports, but nmap doesn't show it, then I would assume a firewall problem, but I'm not "on the ground" there. If you do see a LISTENING entry, use that interface (assuming it's Ethernet and one that it accessible from your laptop) as the entry in the laptop's hosts file. 192.168.1.255 is a broadcast address and should not be used for the configuration of a webserver (is that what "pound daemon" is? Think so, can't remember previous mail at this point). HTH, KDK -- The full impact of parenthood doesn't hit you until you multiply the number of your kids by thirty-two teeth. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: help needed setting up NATIVE ipv6 connection
Arone Silimantia wrote: Hello, I am in a datacenter that provides native (not tunneled) ipv6 connectivity. Unfortunately, all of the howtos for FreeBSD are focused on tunneling ipv6 and using gif0, etc. This does not apply to me because I have a real ipv6 connection. Right now things are simple - I have a single ipv4 address, and a single default gateway. Easy. My provider has given me a /48. They emailed me and told me the following: - IP block is 1234:1234:1234::/48 - gateway is ::1 That is all they told me. So my first instinct was to ifconfig an alias on em0 with inet6, and then add a inet6 default route. BUT, I keep reading that with ipv6 you don't want to manually configure addresses and routes - there is some kind of fancy autoconfigure you can do with your gateway so that you don't need to manually configure the addresses (?) So two questions: - is there indeed some fancy autoconfigure, and I don't need to manually ifconfig and 'route add inet6 default' - if not, assuming I just want to assign a single ipv6 address to myself (let's say, ::2, since ::1 is the gateway) what is the ifconfig syntax to add that one ipv6 address to my NIC (em0) as an alias that will not interfere with the ipv4 address that is already there ? Thanks. Think of it in the same way as Static/DHCP v4 works. Static machines have manually assigned addresses, dynamic/moving clients have autoconfigure by dhcp. It works in a similiar way, you will need to configure ip addresses using ifconfig em0 inet6 as normal. It is highly recommended to split the /48 into 64's. I can't find the exact literature regarding proper ipv6 address topology. However if you just want to go ahead and configure with a /48, the command would be (for example)1234:1234:1234::2 prefixlen 64 Then for the default route: route add -inet6 default 1234:1234:1234::1 HTH, Joe ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"